2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.4.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.5.4'
274 PACKAGE_STRING
='wxWidgets 2.5.4'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_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.4 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.5.4:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-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-stdpaths use wxStandardPaths class
930 --enable-stopwatch use wxStopWatch class
931 --enable-streams use wxStream etc classes
932 --enable-sysoptions use wxSystemOptions
933 --enable-textbuf use wxTextBuffer class
934 --enable-textfile use wxTextFile class
935 --enable-timer use wxTimer class
936 --enable-unicode compile wxString with Unicode support
937 --enable-sound use wxSound class
938 --enable-mediactrl use wxMediaCtrl class
939 --enable-wxprintfv use wxWidgets implementation of vprintf
()
940 --enable-zipstream use wxZip streams
941 --enable-url use wxURL class
942 --enable-protocol use wxProtocol class
943 --enable-protocol-http HTTP support
in wxProtocol
944 --enable-protocol-ftp FTP support
in wxProtocol
945 --enable-protocol-file FILE support
in wxProtocol
946 --enable-threads use threads
947 --enable-docview use document view architecture
948 --enable-help use
help subsystem
949 --enable-mshtmlhelp use MS HTML Help
(win32
)
950 --enable-html use wxHTML sub
-library
951 --enable-htmlhelp use wxHTML
-based help
952 --enable-xrc use XRC resources sub
-library
953 --enable-constraints use layout
-constraints system
954 --enable-printarch use printing architecture
955 --enable-mdi use multiple document interface architecture
956 --enable-mdidoc use docview architecture with MDI
957 --enable-loggui use standard GUI logger
958 --enable-logwin use wxLogWindow
959 --enable-logdialog use wxLogDialog
960 --enable-webkit use wxWebKitCtrl
(Mac
)
961 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
962 --enable-prologio not available
; see contrib
963 --enable-resources not available
; see contrib
964 --enable-clipboard use wxClipboard class
965 --enable-dnd use Drag
'n'Drop classes
966 --enable-metafile use win32 metafiles
967 --enable-controls use all usual controls
968 --enable-accel use accelerators
969 --enable-button use wxButton class
970 --enable-bmpbutton use wxBitmapButton class
971 --enable-calendar use wxCalendarCtrl class
972 --enable-caret use wxCaret class
973 --enable-checkbox use wxCheckBox class
974 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
975 --enable-choice use wxChoice class
976 --enable-choicebook use wxChoicebook class
977 --enable-combobox use wxComboBox class
978 --enable-datepick use wxDatePickerCtrl class
979 --enable-display use wxDisplay class
980 --enable-gauge use wxGauge class
981 --enable-grid use wxGrid class
982 --enable-imaglist use wxImageList class
983 --enable-listbook use wxListbook class
984 --enable-listbox use wxListBox class
985 --enable-listctrl use wxListCtrl class
986 --enable-notebook use wxNotebook class
987 --enable-radiobox use wxRadioBox class
988 --enable-radiobtn use wxRadioButton class
989 --enable-sash use wxSashWindow class
990 --enable-scrollbar use wxScrollBar class and scrollable windows
991 --enable-slider use wxSlider class
992 --enable-spinbtn use wxSpinButton class
993 --enable-spinctrl use wxSpinCtrl class
994 --enable-splitter use wxSplitterWindow class
995 --enable-statbmp use wxStaticBitmap class
996 --enable-statbox use wxStaticBox class
997 --enable-statline use wxStaticLine class
998 --enable-stattext use wxStaticText class
999 --enable-statusbar use wxStatusBar class
1000 --enable-tabdialog use wxTabControl class
1001 --enable-textctrl use wxTextCtrl class
1002 --enable-togglebtn use wxToggleButton class
1003 --enable-toolbar use wxToolBar class
1004 --enable-tbarnative use native wxToolBar class
1005 --enable-tbarsmpl use wxToolBarSimple class
1006 --enable-treectrl use wxTreeCtrl class
1007 --enable-tipwindow use wxTipWindow class
1008 --enable-popupwin use wxPopUpWindow class
1009 --enable-commondlg use all common dialogs
1010 --enable-choicedlg use wxChoiceDialog
1011 --enable-coldlg use wxColourDialog
1012 --enable-filedlg use wxFileDialog
1013 --enable-finddlg use wxFindReplaceDialog
1014 --enable-fontdlg use wxFontDialog
1015 --enable-dirdlg use wxDirDialog
1016 --enable-msgdlg use wxMessageDialog
1017 --enable-numberdlg use wxNumberEntryDialog
1018 --enable-splash use wxSplashScreen
1019 --enable-textdlg use wxTextDialog
1020 --enable-tipdlg use startup tips
1021 --enable-progressdlg use wxProgressDialog
1022 --enable-wizarddlg use wxWizard
1023 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1024 --enable-miniframe use wxMiniFrame class
1025 --enable-tooltips use wxToolTip class
1026 --enable-splines use spline drawing code
1027 --enable-validators use wxValidator and derived classes
1028 --enable-busyinfo use wxBusyInfo
1029 --enable-joystick use wxJoystick
1030 --enable-metafiles use wxMetaFile
(Windows only
)
1031 --enable-dragimage use wxDragImage
1032 --enable-accessibility enable accessibility support
1033 --enable-palette use wxPalette class
1034 --enable-image use wxImage class
1035 --enable-gif use gif images
(GIF
file format
)
1036 --enable-pcx use pcx images
(PCX
file format
)
1037 --enable-iff use iff images
(IFF
file format
)
1038 --enable-pnm use pnm images
(PNM
file format
)
1039 --enable-xpm use xpm images
(XPM
file format
)
1040 --enable-icocur use Windows ICO and CUR formats
1041 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1042 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1043 --disable-largefile omit support
for large files
1044 --disable-gtktest do not try to compile and run a
test GTK
+ program
1045 --disable-gtktest Do not try to compile and run a
test GTK program
1046 --disable-sdltest Do not try to compile and run a
test SDL program
1047 --enable-omf use OMF object format
(OS
/2)
1048 --disable-precomp-headers
1049 don
't use precompiled headers even if compiler can
1052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1055 --with-motif use Motif/Lesstif
1056 --with-mac use Mac OS X
1057 --with-cocoa use Cocoa
1058 --with-wine use Wine
1059 --with-msw use MS-Windows
1060 --with-pm use OS/2 Presentation Manager
1061 --with-mgl use SciTech MGL
1062 --with-microwin use MicroWindows
1064 --with-libpng use libpng (PNG image format)
1065 --with-libjpeg use libjpeg (JPEG file format)
1066 --with-libtiff use libtiff (TIFF file format)
1067 --with-libxpm use libxpm (XPM file format)
1068 --with-libmspack use libmspack (CHM help files loading)
1069 --with-sdl use SDL for audio on Unix
1070 --with-gnomeprint use GNOME print for printing under Unix
1071 --with-opengl use OpenGL (or Mesa)
1072 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1073 --with-regex enable support for wxRegEx class
1074 --with-zlib use zlib for LZW compression
1075 --with-odbc use the IODBC and wxODBC classes
1076 --with-expat enable XML support using expat parser
1077 --with-flavour=NAME specify a name to identify this build
1078 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1079 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1080 --with-x use the X Window System
1081 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1082 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1083 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1084 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1085 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1087 Some influential environment variables:
1088 CC C compiler command
1089 CFLAGS C compiler flags
1090 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1091 nonstandard directory <lib dir>
1092 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1093 headers in a nonstandard directory <include dir>
1095 CXX C++ compiler command
1096 CXXFLAGS C++ compiler flags
1097 CXXCPP C++ preprocessor
1099 Use these variables to override the choices made by `configure' or to
help
1100 it to
find libraries and programs with nonstandard names
/locations.
1102 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1106 if test "$ac_init_help" = "recursive"; then
1107 # If there are subdirs, report their specific --help.
1109 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1110 test -d $ac_dir || continue
1113 if test "$ac_dir" != .
; then
1114 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1115 # A "../" for each directory in $ac_dir_suffix.
1116 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1118 ac_dir_suffix
= ac_top_builddir
=
1122 .
) # No --srcdir option. We are building in place.
1124 if test -z "$ac_top_builddir"; then
1127 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1129 [\\/]* | ?
:[\\/]* ) # Absolute path.
1130 ac_srcdir
=$srcdir$ac_dir_suffix;
1131 ac_top_srcdir
=$srcdir ;;
1133 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1134 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1137 # Do not use `cd foo && pwd` to compute absolute paths, because
1138 # the directories may not exist.
1140 .
) ac_abs_builddir
="$ac_dir";;
1143 .
) ac_abs_builddir
=`pwd`;;
1144 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1145 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1148 case $ac_abs_builddir in
1149 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1151 case ${ac_top_builddir}.
in
1152 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1153 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1154 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1157 case $ac_abs_builddir in
1158 .
) ac_abs_srcdir
=$ac_srcdir;;
1161 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1162 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1163 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1166 case $ac_abs_builddir in
1167 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1169 case $ac_top_srcdir in
1170 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1171 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1172 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1177 # Check for guested configure; otherwise get Cygnus style configure.
1178 if test -f $ac_srcdir/configure.gnu
; then
1180 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1181 elif test -f $ac_srcdir/configure
; then
1183 $SHELL $ac_srcdir/configure
--help=recursive
1184 elif test -f $ac_srcdir/configure.ac
||
1185 test -f $ac_srcdir/configure.
in; then
1187 $ac_configure --help
1189 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1195 test -n "$ac_init_help" && exit 0
1196 if $ac_init_version; then
1198 wxWidgets configure
2.5.4
1199 generated by GNU Autoconf
2.59
1201 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1202 This configure
script is free software
; the Free Software Foundation
1203 gives unlimited permission to copy
, distribute and modify it.
1209 This file contains any messages produced by compilers while
1210 running configure, to aid debugging if configure makes a mistake.
1212 It was created by wxWidgets $as_me 2.5.4, which was
1213 generated by GNU Autoconf 2.59. Invocation command line was
1224 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1225 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1226 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1227 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1228 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1230 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1231 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1233 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1234 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1235 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1236 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1237 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1238 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1239 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1247 test -z "$as_dir" && as_dir
=.
1248 echo "PATH: $as_dir"
1263 # Keep a trace of the command line.
1264 # Strip out --no-create and --no-recursion so they do not pile up.
1265 # Strip out --silent because we don't want to record it for future runs.
1266 # Also quote any args containing shell meta-characters.
1267 # Make two passes to allow for proper duplicate-argument suppression.
1272 ac_must_keep_next
=false
1278 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1279 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280 | -silent | --silent | --silen | --sile | --sil)
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1286 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1288 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1289 if test $ac_must_keep_next = true
; then
1290 ac_must_keep_next
=false
# Got value, back to normal.
1293 *=* | --config-cache | -C | -disable-* | --disable-* \
1294 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1295 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1296 | -with-* | --with-* | -without-* | --without-* | --x)
1297 case "$ac_configure_args0 " in
1298 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1301 -* ) ac_must_keep_next
=true
;;
1304 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1305 # Get rid of the leading space.
1311 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1312 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1314 # When interrupted or exit'd, cleanup temporary files, and complete
1315 # config.log. We remove comments because anyway the quotes in there
1316 # would cause problems or look ugly.
1317 # WARNING: Be sure not to use single quotes in there, as some shells,
1318 # such as our DU 5.0 friend, will then `close' the trap.
1319 trap 'exit_status=$?
1320 # Save into config.log some information that might help in debugging.
1325 ## ---------------- ##
1326 ## Cache variables. ##
1327 ## ---------------- ##
1330 # The following way of writing the cache mishandles newlines in values,
1333 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1336 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1348 ## ----------------- ##
1349 ## Output variables. ##
1350 ## ----------------- ##
1353 for ac_var in $ac_subst_vars
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
1360 if test -n "$ac_subst_files"; then
1367 for ac_var in $ac_subst_files
1369 eval ac_val=$`echo $ac_var`
1370 echo "$ac_var='"'"'$ac_val'"'"'"
1375 if test -s confdefs.h; then
1382 sed "/^$/d" confdefs.h | sort
1385 test "$ac_signal" != 0 &&
1386 echo "$as_me: caught signal $ac_signal"
1387 echo "$as_me: exit $exit_status"
1389 rm -f core *.core &&
1390 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1393 for ac_signal
in 1 2 13 15; do
1394 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1398 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1399 rm -rf conftest
* confdefs.h
1400 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1403 # Predefined preprocessor variables.
1405 cat >>confdefs.h
<<_ACEOF
1406 #define PACKAGE_NAME "$PACKAGE_NAME"
1410 cat >>confdefs.h
<<_ACEOF
1411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1415 cat >>confdefs.h
<<_ACEOF
1416 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1420 cat >>confdefs.h
<<_ACEOF
1421 #define PACKAGE_STRING "$PACKAGE_STRING"
1425 cat >>confdefs.h
<<_ACEOF
1426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1430 # Let the site file select an alternate cache file if it wants to.
1431 # Prefer explicitly selected file to automatically selected ones.
1432 if test -z "$CONFIG_SITE"; then
1433 if test "x$prefix" != xNONE
; then
1434 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1436 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1439 for ac_site_file
in $CONFIG_SITE; do
1440 if test -r "$ac_site_file"; then
1441 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1442 echo "$as_me: loading site script $ac_site_file" >&6;}
1443 sed 's/^/| /' "$ac_site_file" >&5
1448 if test -r "$cache_file"; then
1449 # Some versions of bash will fail to source /dev/null (special
1450 # files actually), so we avoid doing that.
1451 if test -f "$cache_file"; then
1452 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1453 echo "$as_me: loading cache $cache_file" >&6;}
1455 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1456 *) . .
/$cache_file;;
1460 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1461 echo "$as_me: creating cache $cache_file" >&6;}
1465 # Check that the precious variables saved in the cache have kept the same
1467 ac_cache_corrupted
=false
1468 for ac_var
in `(set) 2>&1 |
1469 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1470 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1471 eval ac_new_set
=\
$ac_env_${ac_var}_set
1472 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1473 eval ac_new_val
="\$ac_env_${ac_var}_value"
1474 case $ac_old_set,$ac_new_set in
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1478 ac_cache_corrupted
=: ;;
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1482 ac_cache_corrupted
=: ;;
1485 if test "x$ac_old_val" != "x$ac_new_val"; then
1486 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1487 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1488 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1489 echo "$as_me: former value: $ac_old_val" >&2;}
1490 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1491 echo "$as_me: current value: $ac_new_val" >&2;}
1492 ac_cache_corrupted
=:
1495 # Pass precious variables to config.status.
1496 if test "$ac_new_set" = set; then
1498 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1499 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1500 *) ac_arg
=$ac_var=$ac_new_val ;;
1502 case " $ac_configure_args " in
1503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1504 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1508 if $ac_cache_corrupted; then
1509 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1510 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1511 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1512 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1513 { (exit 1); exit 1; }; }
1517 ac_cpp
='$CPP $CPPFLAGS'
1518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1552 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1553 if test -f $ac_dir/install-sh; then
1555 ac_install_sh
="$ac_aux_dir/install-sh -c"
1557 elif test -f $ac_dir/install.sh
; then
1559 ac_install_sh
="$ac_aux_dir/install.sh -c"
1561 elif test -f $ac_dir/shtool
; then
1563 ac_install_sh
="$ac_aux_dir/shtool install -c"
1567 if test -z "$ac_aux_dir"; then
1568 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1569 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1570 { (exit 1); exit 1; }; }
1572 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1573 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1574 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1576 # Make sure we can run config.sub.
1577 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1578 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1579 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1580 { (exit 1); exit 1; }; }
1582 echo "$as_me:$LINENO: checking build system type" >&5
1583 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1584 if test "${ac_cv_build+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1587 ac_cv_build_alias
=$build_alias
1588 test -z "$ac_cv_build_alias" &&
1589 ac_cv_build_alias
=`$ac_config_guess`
1590 test -z "$ac_cv_build_alias" &&
1591 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1592 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1593 { (exit 1); exit 1; }; }
1594 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1595 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1596 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1597 { (exit 1); exit 1; }; }
1600 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1601 echo "${ECHO_T}$ac_cv_build" >&6
1603 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1604 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1605 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1608 echo "$as_me:$LINENO: checking host system type" >&5
1609 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1610 if test "${ac_cv_host+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1613 ac_cv_host_alias
=$host_alias
1614 test -z "$ac_cv_host_alias" &&
1615 ac_cv_host_alias
=$ac_cv_build_alias
1616 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1622 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1623 echo "${ECHO_T}$ac_cv_host" >&6
1625 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1626 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1627 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1630 echo "$as_me:$LINENO: checking target system type" >&5
1631 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1632 if test "${ac_cv_target+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 ac_cv_target_alias
=$target_alias
1636 test "x$ac_cv_target_alias" = "x" &&
1637 ac_cv_target_alias
=$ac_cv_host_alias
1638 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1639 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1640 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1641 { (exit 1); exit 1; }; }
1644 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1645 echo "${ECHO_T}$ac_cv_target" >&6
1646 target
=$ac_cv_target
1647 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1648 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1649 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1652 # The aliases save the names the user supplied, while $host etc.
1653 # will get canonicalized.
1654 test -n "$target_alias" &&
1655 test "$program_prefix$program_suffix$program_transform_name" = \
1657 program_prefix
=${target_alias}-
1661 wx_major_version_number
=2
1662 wx_minor_version_number
=5
1664 wx_subrelease_number
=2
1666 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1667 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1668 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1670 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1686 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1692 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1700 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1702 DEFAULT_wxUSE_COCOA
=0
1706 DEFAULT_wxUSE_MICROWIN
=0
1707 DEFAULT_wxUSE_MOTIF
=0
1712 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1713 DEFAULT_DEFAULT_wxUSE_GTK
=0
1714 DEFAULT_DEFAULT_wxUSE_MAC
=0
1715 DEFAULT_DEFAULT_wxUSE_MGL
=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1718 DEFAULT_DEFAULT_wxUSE_MSW
=0
1719 DEFAULT_DEFAULT_wxUSE_PM
=0
1720 DEFAULT_DEFAULT_wxUSE_X11
=0
1725 SAMPLES_RPATH_POSTLINK
=
1730 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1731 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1733 cat >>confdefs.h
<<\_ACEOF
1740 cat >>confdefs.h
<<\_ACEOF
1745 if test "x$TMP" = "xalpha"; then
1747 cat >>confdefs.h
<<\_ACEOF
1752 DEFAULT_DEFAULT_wxUSE_GTK
=1
1754 *-*-gnu* | *-*-k*bsd
*-gnu )
1757 if test "x$TMP" = "xalpha"; then
1759 cat >>confdefs.h
<<\_ACEOF
1764 DEFAULT_DEFAULT_wxUSE_GTK
=1
1766 *-*-irix5* | *-*-irix6* )
1769 cat >>confdefs.h
<<\_ACEOF
1773 cat >>confdefs.h
<<\_ACEOF
1777 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1783 cat >>confdefs.h
<<\_ACEOF
1787 cat >>confdefs.h
<<\_ACEOF
1788 #define __SOLARIS__ 1
1791 cat >>confdefs.h
<<\_ACEOF
1795 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1796 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1802 cat >>confdefs.h
<<\_ACEOF
1806 cat >>confdefs.h
<<\_ACEOF
1810 cat >>confdefs.h
<<\_ACEOF
1814 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1819 cat >>confdefs.h
<<\_ACEOF
1820 #define __FREEBSD__ 1
1823 cat >>confdefs.h
<<\_ACEOF
1827 DEFAULT_DEFAULT_wxUSE_GTK
=1
1832 cat >>confdefs.h
<<\_ACEOF
1833 #define __OPENBSD__ 1
1836 cat >>confdefs.h
<<\_ACEOF
1840 DEFAULT_DEFAULT_wxUSE_GTK
=1
1845 cat >>confdefs.h
<<\_ACEOF
1846 #define __NETBSD__ 1
1849 cat >>confdefs.h
<<\_ACEOF
1853 DEFAULT_DEFAULT_wxUSE_GTK
=1
1858 cat >>confdefs.h
<<\_ACEOF
1862 cat >>confdefs.h
<<\_ACEOF
1866 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1867 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1872 cat >>confdefs.h
<<\_ACEOF
1876 cat >>confdefs.h
<<\_ACEOF
1880 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1885 cat >>confdefs.h
<<\_ACEOF
1889 cat >>confdefs.h
<<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1900 cat >>confdefs.h
<<\_ACEOF
1904 cat >>confdefs.h
<<\_ACEOF
1908 cat >>confdefs.h
<<\_ACEOF
1912 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1919 cat >>confdefs.h
<<\_ACEOF
1920 #define __UNIXWARE__ 1
1925 *-*-cygwin* | *-*-mingw32* )
1929 DEFAULT_DEFAULT_wxUSE_MSW
=1
1935 cat >>confdefs.h
<<\_ACEOF
1940 DEFAULT_DEFAULT_wxUSE_MGL
=1
1941 LIBS
="$LIBS -lstdc++"
1944 *-pc-os2_emx | *-pc-os2-emx )
1945 cat >>confdefs.h
<<\_ACEOF
1950 cat >>confdefs.h
<<\_ACEOF
1955 DEFAULT_DEFAULT_wxUSE_PM
=1
1957 LDFLAGS
="$LDFLAGS -Zcrtdll"
1958 ac_executable_extensions
=".exe"
1959 export ac_executable_extensions
1963 for ac_dir
in $PATH; do
1965 if test -z "$ac_TEMP_PATH"; then
1966 ac_TEMP_PATH
="$ac_dir"
1968 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1971 export PATH
="$ac_TEMP_PATH"
1979 cat >>confdefs.h
<<\_ACEOF
1983 cat >>confdefs.h
<<\_ACEOF
1984 #define __DARWIN__ 1
1987 cat >>confdefs.h
<<\_ACEOF
1988 #define TARGET_CARBON 1
1991 DEFAULT_DEFAULT_wxUSE_MAC
=1
1993 powerpc
-apple-macos* )
1995 ac_cv_c_bigendian
=yes
1997 DEFAULT_DEFAULT_wxUSE_MAC
=1
2002 cat >>confdefs.h
<<\_ACEOF
2009 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2010 echo "$as_me: error: unknown system type ${host}." >&2;}
2011 { (exit 1); exit 1; }; }
2017 wx_arg_cache_file
="configarg.cache"
2018 echo "loading argument cache $wx_arg_cache_file"
2019 rm -f ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}
2025 if test $DEBUG_CONFIGURE = 1; then
2026 DEFAULT_wxUSE_UNIVERSAL
=no
2027 DEFAULT_wxUSE_STL
=no
2029 DEFAULT_wxUSE_NANOX
=no
2031 DEFAULT_wxUSE_THREADS
=yes
2033 DEFAULT_wxUSE_SHARED
=yes
2034 DEFAULT_wxUSE_OPTIMISE
=no
2035 DEFAULT_wxUSE_PROFILE
=no
2036 DEFAULT_wxUSE_NO_DEPS
=no
2037 DEFAULT_wxUSE_NO_RTTI
=no
2038 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2039 DEFAULT_wxUSE_RPATH
=yes
2040 DEFAULT_wxUSE_PERMISSIVE
=no
2041 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2042 DEFAULT_wxUSE_DEBUG_INFO
=yes
2043 DEFAULT_wxUSE_DEBUG_GDB
=yes
2044 DEFAULT_wxUSE_MEM_TRACING
=no
2045 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2046 DEFAULT_wxUSE_DMALLOC
=no
2047 DEFAULT_wxUSE_APPLE_IEEE
=no
2049 DEFAULT_wxUSE_EXCEPTIONS
=no
2050 DEFAULT_wxUSE_LOG
=yes
2051 DEFAULT_wxUSE_LOGWINDOW
=no
2052 DEFAULT_wxUSE_LOGGUI
=no
2053 DEFAULT_wxUSE_LOGDIALOG
=no
2055 DEFAULT_wxUSE_GUI
=yes
2056 DEFAULT_wxUSE_CONTROLS
=no
2058 DEFAULT_wxUSE_REGEX
=no
2059 DEFAULT_wxUSE_XML
=no
2060 DEFAULT_wxUSE_EXPAT
=no
2061 DEFAULT_wxUSE_ZLIB
=no
2062 DEFAULT_wxUSE_LIBPNG
=no
2063 DEFAULT_wxUSE_LIBJPEG
=no
2064 DEFAULT_wxUSE_LIBTIFF
=no
2065 DEFAULT_wxUSE_LIBXPM
=no
2066 DEFAULT_wxUSE_LIBMSPACK
=no
2067 DEFAULT_wxUSE_LIBSDL
=no
2068 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2069 DEFAULT_wxUSE_ODBC
=no
2070 DEFAULT_wxUSE_OPENGL
=no
2072 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2073 DEFAULT_wxUSE_STACKWALKER
=no
2074 DEFAULT_wxUSE_DEBUGREPORT
=no
2075 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2076 DEFAULT_wxUSE_STD_IOSTREAM
=no
2077 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2078 DEFAULT_wxUSE_DATETIME
=no
2079 DEFAULT_wxUSE_TIMER
=no
2080 DEFAULT_wxUSE_STOPWATCH
=no
2081 DEFAULT_wxUSE_FILE
=no
2082 DEFAULT_wxUSE_FFILE
=no
2083 DEFAULT_wxUSE_STDPATHS
=no
2084 DEFAULT_wxUSE_TEXTBUFFER
=no
2085 DEFAULT_wxUSE_TEXTFILE
=no
2086 DEFAULT_wxUSE_SOUND
=no
2087 DEFAULT_wxUSE_MEDIACTRL
=no
2088 DEFAULT_wxUSE_DIRECTSHOW
=no
2089 DEFAULT_wxUSE_INTL
=no
2090 DEFAULT_wxUSE_CONFIG
=no
2091 DEFAULT_wxUSE_FONTMAP
=no
2092 DEFAULT_wxUSE_STREAMS
=no
2093 DEFAULT_wxUSE_SOCKETS
=no
2094 DEFAULT_wxUSE_OLE
=no
2095 DEFAULT_wxUSE_DATAOBJ
=no
2096 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2097 DEFAULT_wxUSE_JOYSTICK
=no
2098 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2099 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2100 DEFAULT_wxUSE_LONGLONG
=no
2101 DEFAULT_wxUSE_GEOMETRY
=no
2103 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2104 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2105 DEFAULT_wxUSE_POSTSCRIPT
=no
2107 DEFAULT_wxUSE_CLIPBOARD
=no
2108 DEFAULT_wxUSE_TOOLTIPS
=no
2109 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2110 DEFAULT_wxUSE_DRAGIMAGE
=no
2111 DEFAULT_wxUSE_SPLINES
=no
2113 DEFAULT_wxUSE_MDI
=no
2114 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2115 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2116 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2118 DEFAULT_wxUSE_RESOURCES
=no
2119 DEFAULT_wxUSE_CONSTRAINTS
=no
2120 DEFAULT_wxUSE_IPC
=no
2121 DEFAULT_wxUSE_HELP
=no
2122 DEFAULT_wxUSE_MS_HTML_HELP
=no
2123 DEFAULT_wxUSE_WXHTML_HELP
=no
2124 DEFAULT_wxUSE_TREELAYOUT
=no
2125 DEFAULT_wxUSE_METAFILE
=no
2126 DEFAULT_wxUSE_MIMETYPE
=no
2127 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2128 DEFAULT_wxUSE_PROTOCOL
=no
2129 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2130 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2131 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2132 DEFAULT_wxUSE_URL
=no
2134 DEFAULT_wxUSE_COMMONDLGS
=no
2135 DEFAULT_wxUSE_CHOICEDLG
=no
2136 DEFAULT_wxUSE_COLOURDLG
=no
2137 DEFAULT_wxUSE_DIRDLG
=no
2138 DEFAULT_wxUSE_FILEDLG
=no
2139 DEFAULT_wxUSE_FINDREPLDLG
=no
2140 DEFAULT_wxUSE_FONTDLG
=no
2141 DEFAULT_wxUSE_MSGDLG
=no
2142 DEFAULT_wxUSE_NUMBERDLG
=no
2143 DEFAULT_wxUSE_TEXTDLG
=no
2144 DEFAULT_wxUSE_SPLASH
=no
2145 DEFAULT_wxUSE_STARTUP_TIPS
=no
2146 DEFAULT_wxUSE_PROGRESSDLG
=no
2147 DEFAULT_wxUSE_WIZARDDLG
=no
2149 DEFAULT_wxUSE_MENUS
=no
2150 DEFAULT_wxUSE_MINIFRAME
=no
2151 DEFAULT_wxUSE_HTML
=no
2152 DEFAULT_wxUSE_XRC
=no
2153 DEFAULT_wxUSE_WEBKIT
=no
2154 DEFAULT_wxUSE_FILESYSTEM
=no
2155 DEFAULT_wxUSE_FS_INET
=no
2156 DEFAULT_wxUSE_FS_ZIP
=no
2157 DEFAULT_wxUSE_BUSYINFO
=no
2158 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2159 DEFAULT_wxUSE_ZIPSTREAM
=no
2160 DEFAULT_wxUSE_VALIDATORS
=no
2162 DEFAULT_wxUSE_ACCEL
=no
2163 DEFAULT_wxUSE_BUTTON
=no
2164 DEFAULT_wxUSE_BMPBUTTON
=no
2165 DEFAULT_wxUSE_CALCTRL
=no
2166 DEFAULT_wxUSE_CARET
=no
2167 DEFAULT_wxUSE_CHECKBOX
=no
2168 DEFAULT_wxUSE_CHECKLST
=no
2169 DEFAULT_wxUSE_CHOICE
=no
2170 DEFAULT_wxUSE_CHOICEBOOK
=no
2171 DEFAULT_wxUSE_COMBOBOX
=no
2172 DEFAULT_wxUSE_DATEPICKCTRL
=no
2173 DEFAULT_wxUSE_DISPLAY
=no
2174 DEFAULT_wxUSE_GAUGE
=no
2175 DEFAULT_wxUSE_GRID
=no
2176 DEFAULT_wxUSE_IMAGLIST
=no
2177 DEFAULT_wxUSE_LISTBOOK
=no
2178 DEFAULT_wxUSE_LISTBOX
=no
2179 DEFAULT_wxUSE_LISTCTRL
=no
2180 DEFAULT_wxUSE_NOTEBOOK
=no
2181 DEFAULT_wxUSE_RADIOBOX
=no
2182 DEFAULT_wxUSE_RADIOBTN
=no
2183 DEFAULT_wxUSE_SASH
=no
2184 DEFAULT_wxUSE_SCROLLBAR
=no
2185 DEFAULT_wxUSE_SLIDER
=no
2186 DEFAULT_wxUSE_SPINBTN
=no
2187 DEFAULT_wxUSE_SPINCTRL
=no
2188 DEFAULT_wxUSE_SPLITTER
=no
2189 DEFAULT_wxUSE_STATBMP
=no
2190 DEFAULT_wxUSE_STATBOX
=no
2191 DEFAULT_wxUSE_STATLINE
=no
2192 DEFAULT_wxUSE_STATTEXT
=no
2193 DEFAULT_wxUSE_STATUSBAR
=yes
2194 DEFAULT_wxUSE_TABDIALOG
=no
2195 DEFAULT_wxUSE_TEXTCTRL
=no
2196 DEFAULT_wxUSE_TOGGLEBTN
=no
2197 DEFAULT_wxUSE_TOOLBAR
=no
2198 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2199 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2200 DEFAULT_wxUSE_TREECTRL
=no
2201 DEFAULT_wxUSE_POPUPWIN
=no
2202 DEFAULT_wxUSE_TIPWINDOW
=no
2204 DEFAULT_wxUSE_UNICODE
=no
2205 DEFAULT_wxUSE_UNICODE_MSLU
=no
2206 DEFAULT_wxUSE_WCSRTOMBS
=no
2208 DEFAULT_wxUSE_PALETTE
=no
2209 DEFAULT_wxUSE_IMAGE
=no
2210 DEFAULT_wxUSE_GIF
=no
2211 DEFAULT_wxUSE_PCX
=no
2212 DEFAULT_wxUSE_PNM
=no
2213 DEFAULT_wxUSE_IFF
=no
2214 DEFAULT_wxUSE_XPM
=no
2215 DEFAULT_wxUSE_ICO_CUR
=no
2216 DEFAULT_wxUSE_ACCESSIBILITY
=no
2218 DEFAULT_wxUSE_MONOLITHIC
=no
2219 DEFAULT_wxUSE_PLUGINS
=no
2220 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2222 DEFAULT_wxUSE_UNIVERSAL
=no
2223 DEFAULT_wxUSE_STL
=no
2225 DEFAULT_wxUSE_NANOX
=no
2227 DEFAULT_wxUSE_THREADS
=yes
2229 DEFAULT_wxUSE_SHARED
=yes
2230 DEFAULT_wxUSE_OPTIMISE
=yes
2231 DEFAULT_wxUSE_PROFILE
=no
2232 DEFAULT_wxUSE_NO_DEPS
=no
2233 DEFAULT_wxUSE_NO_RTTI
=no
2234 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2235 DEFAULT_wxUSE_RPATH
=yes
2236 DEFAULT_wxUSE_PERMISSIVE
=no
2237 DEFAULT_wxUSE_DEBUG_FLAG
=no
2238 DEFAULT_wxUSE_DEBUG_INFO
=no
2239 DEFAULT_wxUSE_DEBUG_GDB
=no
2240 DEFAULT_wxUSE_MEM_TRACING
=no
2241 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2242 DEFAULT_wxUSE_DMALLOC
=no
2243 DEFAULT_wxUSE_APPLE_IEEE
=yes
2245 DEFAULT_wxUSE_EXCEPTIONS
=yes
2246 DEFAULT_wxUSE_LOG
=yes
2247 DEFAULT_wxUSE_LOGWINDOW
=yes
2248 DEFAULT_wxUSE_LOGGUI
=yes
2249 DEFAULT_wxUSE_LOGDIALOG
=yes
2251 DEFAULT_wxUSE_GUI
=yes
2253 DEFAULT_wxUSE_REGEX
=yes
2254 DEFAULT_wxUSE_XML
=yes
2255 DEFAULT_wxUSE_EXPAT
=yes
2256 DEFAULT_wxUSE_ZLIB
=yes
2257 DEFAULT_wxUSE_LIBPNG
=yes
2258 DEFAULT_wxUSE_LIBJPEG
=yes
2259 DEFAULT_wxUSE_LIBTIFF
=yes
2260 DEFAULT_wxUSE_LIBXPM
=yes
2261 DEFAULT_wxUSE_LIBMSPACK
=yes
2262 DEFAULT_wxUSE_LIBSDL
=no
2263 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2264 DEFAULT_wxUSE_ODBC
=no
2265 DEFAULT_wxUSE_OPENGL
=no
2267 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2268 DEFAULT_wxUSE_STACKWALKER
=yes
2269 DEFAULT_wxUSE_DEBUGREPORT
=yes
2270 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2271 DEFAULT_wxUSE_STD_IOSTREAM
=no
2272 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2273 DEFAULT_wxUSE_DATETIME
=yes
2274 DEFAULT_wxUSE_TIMER
=yes
2275 DEFAULT_wxUSE_STOPWATCH
=yes
2276 DEFAULT_wxUSE_FILE
=yes
2277 DEFAULT_wxUSE_FFILE
=yes
2278 DEFAULT_wxUSE_STDPATHS
=yes
2279 DEFAULT_wxUSE_TEXTBUFFER
=yes
2280 DEFAULT_wxUSE_TEXTFILE
=yes
2281 DEFAULT_wxUSE_SOUND
=yes
2282 DEFAULT_wxUSE_MEDIACTRL
=no
2283 DEFAULT_wxUSE_DIRECTSHOW
=no
2284 DEFAULT_wxUSE_INTL
=yes
2285 DEFAULT_wxUSE_CONFIG
=yes
2286 DEFAULT_wxUSE_FONTMAP
=yes
2287 DEFAULT_wxUSE_STREAMS
=yes
2288 DEFAULT_wxUSE_SOCKETS
=yes
2289 DEFAULT_wxUSE_OLE
=yes
2290 DEFAULT_wxUSE_DATAOBJ
=yes
2291 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2292 DEFAULT_wxUSE_JOYSTICK
=yes
2293 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2294 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2295 DEFAULT_wxUSE_LONGLONG
=yes
2296 DEFAULT_wxUSE_GEOMETRY
=yes
2298 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2299 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2300 DEFAULT_wxUSE_POSTSCRIPT
=yes
2302 DEFAULT_wxUSE_CLIPBOARD
=yes
2303 DEFAULT_wxUSE_TOOLTIPS
=yes
2304 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2305 DEFAULT_wxUSE_DRAGIMAGE
=yes
2306 DEFAULT_wxUSE_SPLINES
=yes
2308 DEFAULT_wxUSE_MDI
=yes
2309 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2310 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2311 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2313 DEFAULT_wxUSE_RESOURCES
=no
2314 DEFAULT_wxUSE_CONSTRAINTS
=yes
2315 DEFAULT_wxUSE_IPC
=yes
2316 DEFAULT_wxUSE_HELP
=yes
2317 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2318 DEFAULT_wxUSE_WXHTML_HELP
=yes
2319 DEFAULT_wxUSE_TREELAYOUT
=yes
2320 DEFAULT_wxUSE_METAFILE
=yes
2321 DEFAULT_wxUSE_MIMETYPE
=yes
2322 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2323 DEFAULT_wxUSE_PROTOCOL
=yes
2324 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2325 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2326 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2327 DEFAULT_wxUSE_URL
=yes
2329 DEFAULT_wxUSE_COMMONDLGS
=yes
2330 DEFAULT_wxUSE_CHOICEDLG
=yes
2331 DEFAULT_wxUSE_COLOURDLG
=yes
2332 DEFAULT_wxUSE_DIRDLG
=yes
2333 DEFAULT_wxUSE_FILEDLG
=yes
2334 DEFAULT_wxUSE_FINDREPLDLG
=yes
2335 DEFAULT_wxUSE_FONTDLG
=yes
2336 DEFAULT_wxUSE_MSGDLG
=yes
2337 DEFAULT_wxUSE_NUMBERDLG
=yes
2338 DEFAULT_wxUSE_TEXTDLG
=yes
2339 DEFAULT_wxUSE_SPLASH
=yes
2340 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2341 DEFAULT_wxUSE_PROGRESSDLG
=yes
2342 DEFAULT_wxUSE_WIZARDDLG
=yes
2344 DEFAULT_wxUSE_MENUS
=yes
2345 DEFAULT_wxUSE_MINIFRAME
=yes
2346 DEFAULT_wxUSE_HTML
=yes
2347 DEFAULT_wxUSE_XRC
=yes
2348 DEFAULT_wxUSE_WEBKIT
=yes
2349 DEFAULT_wxUSE_FILESYSTEM
=yes
2350 DEFAULT_wxUSE_FS_INET
=yes
2351 DEFAULT_wxUSE_FS_ZIP
=yes
2352 DEFAULT_wxUSE_BUSYINFO
=yes
2353 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2354 DEFAULT_wxUSE_ZIPSTREAM
=yes
2355 DEFAULT_wxUSE_VALIDATORS
=yes
2357 DEFAULT_wxUSE_ACCEL
=yes
2358 DEFAULT_wxUSE_BUTTON
=yes
2359 DEFAULT_wxUSE_BMPBUTTON
=yes
2360 DEFAULT_wxUSE_CALCTRL
=yes
2361 DEFAULT_wxUSE_CARET
=yes
2362 DEFAULT_wxUSE_CHECKBOX
=yes
2363 DEFAULT_wxUSE_CHECKLST
=yes
2364 DEFAULT_wxUSE_CHOICE
=yes
2365 DEFAULT_wxUSE_CHOICEBOOK
=yes
2366 DEFAULT_wxUSE_COMBOBOX
=yes
2367 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2368 DEFAULT_wxUSE_DISPLAY
=yes
2369 DEFAULT_wxUSE_GAUGE
=yes
2370 DEFAULT_wxUSE_GRID
=yes
2371 DEFAULT_wxUSE_IMAGLIST
=yes
2372 DEFAULT_wxUSE_LISTBOOK
=yes
2373 DEFAULT_wxUSE_LISTBOX
=yes
2374 DEFAULT_wxUSE_LISTCTRL
=yes
2375 DEFAULT_wxUSE_NOTEBOOK
=yes
2376 DEFAULT_wxUSE_RADIOBOX
=yes
2377 DEFAULT_wxUSE_RADIOBTN
=yes
2378 DEFAULT_wxUSE_SASH
=yes
2379 DEFAULT_wxUSE_SCROLLBAR
=yes
2380 DEFAULT_wxUSE_SLIDER
=yes
2381 DEFAULT_wxUSE_SPINBTN
=yes
2382 DEFAULT_wxUSE_SPINCTRL
=yes
2383 DEFAULT_wxUSE_SPLITTER
=yes
2384 DEFAULT_wxUSE_STATBMP
=yes
2385 DEFAULT_wxUSE_STATBOX
=yes
2386 DEFAULT_wxUSE_STATLINE
=yes
2387 DEFAULT_wxUSE_STATTEXT
=yes
2388 DEFAULT_wxUSE_STATUSBAR
=yes
2389 DEFAULT_wxUSE_TABDIALOG
=no
2390 DEFAULT_wxUSE_TEXTCTRL
=yes
2391 DEFAULT_wxUSE_TOGGLEBTN
=yes
2392 DEFAULT_wxUSE_TOOLBAR
=yes
2393 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2394 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2395 DEFAULT_wxUSE_TREECTRL
=yes
2396 DEFAULT_wxUSE_POPUPWIN
=yes
2397 DEFAULT_wxUSE_TIPWINDOW
=yes
2399 DEFAULT_wxUSE_UNICODE
=no
2400 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2401 DEFAULT_wxUSE_WCSRTOMBS
=no
2403 DEFAULT_wxUSE_PALETTE
=yes
2404 DEFAULT_wxUSE_IMAGE
=yes
2405 DEFAULT_wxUSE_GIF
=yes
2406 DEFAULT_wxUSE_PCX
=yes
2407 DEFAULT_wxUSE_IFF
=no
2408 DEFAULT_wxUSE_PNM
=yes
2409 DEFAULT_wxUSE_XPM
=yes
2410 DEFAULT_wxUSE_ICO_CUR
=yes
2411 DEFAULT_wxUSE_ACCESSIBILITY
=no
2413 DEFAULT_wxUSE_MONOLITHIC
=no
2414 DEFAULT_wxUSE_PLUGINS
=no
2415 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2417 DEFAULT_wxUSE_GTK2
=yes
2422 for toolkit
in `echo $ALL_TOOLKITS`; do
2423 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2424 if test "x$LINE" != "x" ; then
2425 has_toolkit_in_cache
=1
2426 eval "DEFAULT_$LINE"
2427 eval "CACHE_$toolkit=1"
2434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2435 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2437 # Check whether --enable-gui or --disable-gui was given.
2438 if test "${enable_gui+set}" = set; then
2439 enableval
="$enable_gui"
2441 if test "$enableval" = yes; then
2442 ac_cv_use_gui
='wxUSE_GUI=yes'
2444 ac_cv_use_gui
='wxUSE_GUI=no'
2449 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x
; then
2451 eval "DEFAULT_$LINE"
2456 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2460 eval "$ac_cv_use_gui"
2461 if test "$no_cache" != 1; then
2462 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2465 if test "$wxUSE_GUI" = yes; then
2466 echo "$as_me:$LINENO: result: yes" >&5
2467 echo "${ECHO_T}yes" >&6
2469 echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2476 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2478 # Check whether --enable-monolithic or --disable-monolithic was given.
2479 if test "${enable_monolithic+set}" = set; then
2480 enableval
="$enable_monolithic"
2482 if test "$enableval" = yes; then
2483 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2485 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2490 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2491 if test "x$LINE" != x
; then
2492 eval "DEFAULT_$LINE"
2497 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2501 eval "$ac_cv_use_monolithic"
2502 if test "$no_cache" != 1; then
2503 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2506 if test "$wxUSE_MONOLITHIC" = yes; then
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2510 echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2517 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2519 # Check whether --enable-plugins or --disable-plugins was given.
2520 if test "${enable_plugins+set}" = set; then
2521 enableval
="$enable_plugins"
2523 if test "$enableval" = yes; then
2524 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2526 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2531 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x
; then
2533 eval "DEFAULT_$LINE"
2538 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2542 eval "$ac_cv_use_plugins"
2543 if test "$no_cache" != 1; then
2544 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2547 if test "$wxUSE_PLUGINS" = yes; then
2548 echo "$as_me:$LINENO: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2556 if test "$wxUSE_GUI" = "yes"; then
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2561 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2563 # Check whether --enable-universal or --disable-universal was given.
2564 if test "${enable_universal+set}" = set; then
2565 enableval
="$enable_universal"
2567 if test "$enableval" = yes; then
2568 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2570 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2575 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x
; then
2577 eval "DEFAULT_$LINE"
2582 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2586 eval "$ac_cv_use_universal"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2591 if test "$wxUSE_UNIVERSAL" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2600 # Check whether --with-gtk or --without-gtk was given.
2601 if test "${with_gtk+set}" = set; then
2603 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2606 # Check whether --with-motif or --without-motif was given.
2607 if test "${with_motif+set}" = set; then
2608 withval
="$with_motif"
2609 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2612 # Check whether --with-mac or --without-mac was given.
2613 if test "${with_mac+set}" = set; then
2615 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2618 # Check whether --with-cocoa or --without-cocoa was given.
2619 if test "${with_cocoa+set}" = set; then
2620 withval
="$with_cocoa"
2621 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2624 # Check whether --with-wine or --without-wine was given.
2625 if test "${with_wine+set}" = set; then
2626 withval
="$with_wine"
2627 wxUSE_WINE
="$withval" CACHE_WINE
=1
2630 # Check whether --with-msw or --without-msw was given.
2631 if test "${with_msw+set}" = set; then
2633 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2636 # Check whether --with-pm or --without-pm was given.
2637 if test "${with_pm+set}" = set; then
2639 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2642 # Check whether --with-mgl or --without-mgl was given.
2643 if test "${with_mgl+set}" = set; then
2645 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2648 # Check whether --with-microwin or --without-microwin was given.
2649 if test "${with_microwin+set}" = set; then
2650 withval
="$with_microwin"
2651 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2654 # Check whether --with-x11 or --without-x11 was given.
2655 if test "${with_x11+set}" = set; then
2657 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2664 # Check whether --enable-nanox or --disable-nanox was given.
2665 if test "${enable_nanox+set}" = set; then
2666 enableval
="$enable_nanox"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2671 ac_cv_use_nanox
='wxUSE_NANOX=no'
2676 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x
; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2687 eval "$ac_cv_use_nanox"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2692 if test "$wxUSE_NANOX" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2704 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2706 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2707 if test "${enable_gtk2+set}" = set; then
2708 enableval
="$enable_gtk2"
2710 if test "$enableval" = yes; then
2711 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2713 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2718 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x
; then
2720 eval "DEFAULT_$LINE"
2725 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2729 eval "$ac_cv_use_gtk2"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2734 if test "$wxUSE_GTK2" = yes; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2745 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2747 # Check whether --enable-gpe or --disable-gpe was given.
2748 if test "${enable_gpe+set}" = set; then
2749 enableval
="$enable_gpe"
2751 if test "$enableval" = yes; then
2752 ac_cv_use_gpe
='wxUSE_GPE=yes'
2754 ac_cv_use_gpe
='wxUSE_GPE=no'
2759 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x
; then
2761 eval "DEFAULT_$LINE"
2766 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2770 eval "$ac_cv_use_gpe"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2775 if test "$wxUSE_GPE" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2785 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2786 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2789 # Check whether --with-libpng or --without-libpng was given.
2790 if test "${with_libpng+set}" = set; then
2791 withval
="$with_libpng"
2793 if test "$withval" = yes; then
2794 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2795 elif test "$withval" = no
; then
2796 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2797 elif test "$withval" = sys
; then
2798 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2799 elif test "$withval" = builtin; then
2800 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2803 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2804 { (exit 1); exit 1; }; }
2809 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2810 if test "x$LINE" != x
; then
2811 eval "DEFAULT_$LINE"
2816 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2820 eval "$ac_cv_use_libpng"
2821 if test "$no_cache" != 1; then
2822 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2825 if test "$wxUSE_LIBPNG" = yes; then
2826 echo "$as_me:$LINENO: result: yes" >&5
2827 echo "${ECHO_T}yes" >&6
2828 elif test "$wxUSE_LIBPNG" = no
; then
2829 echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6
2831 elif test "$wxUSE_LIBPNG" = sys
; then
2832 echo "$as_me:$LINENO: result: system version" >&5
2833 echo "${ECHO_T}system version" >&6
2834 elif test "$wxUSE_LIBPNG" = builtin; then
2835 echo "$as_me:$LINENO: result: builtin version" >&5
2836 echo "${ECHO_T}builtin version" >&6
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2844 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2845 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2848 # Check whether --with-libjpeg or --without-libjpeg was given.
2849 if test "${with_libjpeg+set}" = set; then
2850 withval
="$with_libjpeg"
2852 if test "$withval" = yes; then
2853 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2854 elif test "$withval" = no
; then
2855 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2856 elif test "$withval" = sys
; then
2857 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2858 elif test "$withval" = builtin; then
2859 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2868 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x
; then
2870 eval "DEFAULT_$LINE"
2875 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2879 eval "$ac_cv_use_libjpeg"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2884 if test "$wxUSE_LIBJPEG" = yes; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2887 elif test "$wxUSE_LIBJPEG" = no
; then
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 elif test "$wxUSE_LIBJPEG" = sys
; then
2891 echo "$as_me:$LINENO: result: system version" >&5
2892 echo "${ECHO_T}system version" >&6
2893 elif test "$wxUSE_LIBJPEG" = builtin; then
2894 echo "$as_me:$LINENO: result: builtin version" >&5
2895 echo "${ECHO_T}builtin version" >&6
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2903 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2904 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2907 # Check whether --with-libtiff or --without-libtiff was given.
2908 if test "${with_libtiff+set}" = set; then
2909 withval
="$with_libtiff"
2911 if test "$withval" = yes; then
2912 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2913 elif test "$withval" = no
; then
2914 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2915 elif test "$withval" = sys
; then
2916 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2917 elif test "$withval" = builtin; then
2918 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2927 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x
; then
2929 eval "DEFAULT_$LINE"
2934 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2938 eval "$ac_cv_use_libtiff"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2943 if test "$wxUSE_LIBTIFF" = yes; then
2944 echo "$as_me:$LINENO: result: yes" >&5
2945 echo "${ECHO_T}yes" >&6
2946 elif test "$wxUSE_LIBTIFF" = no
; then
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2949 elif test "$wxUSE_LIBTIFF" = sys
; then
2950 echo "$as_me:$LINENO: result: system version" >&5
2951 echo "${ECHO_T}system version" >&6
2952 elif test "$wxUSE_LIBTIFF" = builtin; then
2953 echo "$as_me:$LINENO: result: builtin version" >&5
2954 echo "${ECHO_T}builtin version" >&6
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2962 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2963 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2966 # Check whether --with-libxpm or --without-libxpm was given.
2967 if test "${with_libxpm+set}" = set; then
2968 withval
="$with_libxpm"
2970 if test "$withval" = yes; then
2971 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2972 elif test "$withval" = no
; then
2973 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2974 elif test "$withval" = sys
; then
2975 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2976 elif test "$withval" = builtin; then
2977 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2986 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2997 eval "$ac_cv_use_libxpm"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3002 if test "$wxUSE_LIBXPM" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 elif test "$wxUSE_LIBXPM" = no
; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 elif test "$wxUSE_LIBXPM" = sys
; then
3009 echo "$as_me:$LINENO: result: system version" >&5
3010 echo "${ECHO_T}system version" >&6
3011 elif test "$wxUSE_LIBXPM" = builtin; then
3012 echo "$as_me:$LINENO: result: builtin version" >&5
3013 echo "${ECHO_T}builtin version" >&6
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3021 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3022 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3025 # Check whether --with-libmspack or --without-libmspack was given.
3026 if test "${with_libmspack+set}" = set; then
3027 withval
="$with_libmspack"
3029 if test "$withval" = yes; then
3030 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3032 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3037 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x
; then
3039 eval "DEFAULT_$LINE"
3044 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3048 eval "$ac_cv_use_libmspack"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3053 if test "$wxUSE_LIBMSPACK" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3062 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3063 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3066 # Check whether --with-sdl or --without-sdl was given.
3067 if test "${with_sdl+set}" = set; then
3070 if test "$withval" = yes; then
3071 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3073 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3078 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3079 if test "x$LINE" != x
; then
3080 eval "DEFAULT_$LINE"
3085 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3089 eval "$ac_cv_use_sdl"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3094 if test "$wxUSE_LIBSDL" = yes; then
3095 echo "$as_me:$LINENO: result: yes" >&5
3096 echo "${ECHO_T}yes" >&6
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3103 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3104 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3107 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3108 if test "${with_gnomeprint+set}" = set; then
3109 withval
="$with_gnomeprint"
3111 if test "$withval" = yes; then
3112 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3114 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3119 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x
; then
3121 eval "DEFAULT_$LINE"
3126 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3130 eval "$ac_cv_use_gnomeprint"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3135 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3144 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3145 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3148 # Check whether --with-opengl or --without-opengl was given.
3149 if test "${with_opengl+set}" = set; then
3150 withval
="$with_opengl"
3152 if test "$withval" = yes; then
3153 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3155 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3160 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x
; then
3162 eval "DEFAULT_$LINE"
3167 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3171 eval "$ac_cv_use_opengl"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3176 if test "$wxUSE_OPENGL" = yes; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3188 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3189 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3192 # Check whether --with-dmalloc or --without-dmalloc was given.
3193 if test "${with_dmalloc+set}" = set; then
3194 withval
="$with_dmalloc"
3196 if test "$withval" = yes; then
3197 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3199 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3204 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x
; then
3206 eval "DEFAULT_$LINE"
3211 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3215 eval "$ac_cv_use_dmalloc"
3216 if test "$no_cache" != 1; then
3217 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3220 if test "$wxUSE_DMALLOC" = yes; then
3221 echo "$as_me:$LINENO: result: yes" >&5
3222 echo "${ECHO_T}yes" >&6
3224 echo "$as_me:$LINENO: result: no" >&5
3225 echo "${ECHO_T}no" >&6
3229 echo "$as_me:$LINENO: checking for --with-regex" >&5
3230 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3233 # Check whether --with-regex or --without-regex was given.
3234 if test "${with_regex+set}" = set; then
3235 withval
="$with_regex"
3237 if test "$withval" = yes; then
3238 ac_cv_use_regex
='wxUSE_REGEX=yes'
3239 elif test "$withval" = no
; then
3240 ac_cv_use_regex
='wxUSE_REGEX=no'
3241 elif test "$withval" = sys
; then
3242 ac_cv_use_regex
='wxUSE_REGEX=sys'
3243 elif test "$withval" = builtin; then
3244 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3246 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3247 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3248 { (exit 1); exit 1; }; }
3253 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x
; then
3255 eval "DEFAULT_$LINE"
3260 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3264 eval "$ac_cv_use_regex"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3269 if test "$wxUSE_REGEX" = yes; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6
3272 elif test "$wxUSE_REGEX" = no
; then
3273 echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6
3275 elif test "$wxUSE_REGEX" = sys
; then
3276 echo "$as_me:$LINENO: result: system version" >&5
3277 echo "${ECHO_T}system version" >&6
3278 elif test "$wxUSE_REGEX" = builtin; then
3279 echo "$as_me:$LINENO: result: builtin version" >&5
3280 echo "${ECHO_T}builtin version" >&6
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3288 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3289 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3292 # Check whether --with-zlib or --without-zlib was given.
3293 if test "${with_zlib+set}" = set; then
3294 withval
="$with_zlib"
3296 if test "$withval" = yes; then
3297 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3298 elif test "$withval" = no
; then
3299 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3300 elif test "$withval" = sys
; then
3301 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3302 elif test "$withval" = builtin; then
3303 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3307 { (exit 1); exit 1; }; }
3312 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x
; then
3314 eval "DEFAULT_$LINE"
3319 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3323 eval "$ac_cv_use_zlib"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3328 if test "$wxUSE_ZLIB" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330 echo "${ECHO_T}yes" >&6
3331 elif test "$wxUSE_ZLIB" = no
; then
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3334 elif test "$wxUSE_ZLIB" = sys
; then
3335 echo "$as_me:$LINENO: result: system version" >&5
3336 echo "${ECHO_T}system version" >&6
3337 elif test "$wxUSE_ZLIB" = builtin; then
3338 echo "$as_me:$LINENO: result: builtin version" >&5
3339 echo "${ECHO_T}builtin version" >&6
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3347 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3348 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3351 # Check whether --with-odbc or --without-odbc was given.
3352 if test "${with_odbc+set}" = set; then
3353 withval
="$with_odbc"
3355 if test "$withval" = yes; then
3356 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3357 elif test "$withval" = no
; then
3358 ac_cv_use_odbc
='wxUSE_ODBC=no'
3359 elif test "$withval" = sys
; then
3360 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3361 elif test "$withval" = builtin; then
3362 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3364 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3365 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3366 { (exit 1); exit 1; }; }
3371 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x
; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3382 eval "$ac_cv_use_odbc"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_ODBC" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3390 elif test "$wxUSE_ODBC" = no
; then
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 elif test "$wxUSE_ODBC" = sys
; then
3394 echo "$as_me:$LINENO: result: system version" >&5
3395 echo "${ECHO_T}system version" >&6
3396 elif test "$wxUSE_ODBC" = builtin; then
3397 echo "$as_me:$LINENO: result: builtin version" >&5
3398 echo "${ECHO_T}builtin version" >&6
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3406 echo "$as_me:$LINENO: checking for --with-expat" >&5
3407 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3410 # Check whether --with-expat or --without-expat was given.
3411 if test "${with_expat+set}" = set; then
3412 withval
="$with_expat"
3414 if test "$withval" = yes; then
3415 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3416 elif test "$withval" = no
; then
3417 ac_cv_use_expat
='wxUSE_EXPAT=no'
3418 elif test "$withval" = sys
; then
3419 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3420 elif test "$withval" = builtin; then
3421 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3423 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3424 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3425 { (exit 1); exit 1; }; }
3430 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x
; then
3432 eval "DEFAULT_$LINE"
3437 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3441 eval "$ac_cv_use_expat"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3446 if test "$wxUSE_EXPAT" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3449 elif test "$wxUSE_EXPAT" = no
; then
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 elif test "$wxUSE_EXPAT" = sys
; then
3453 echo "$as_me:$LINENO: result: system version" >&5
3454 echo "${ECHO_T}system version" >&6
3455 elif test "$wxUSE_EXPAT" = builtin; then
3456 echo "$as_me:$LINENO: result: builtin version" >&5
3457 echo "${ECHO_T}builtin version" >&6
3459 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3460 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3461 { (exit 1); exit 1; }; }
3468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3469 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3471 # Check whether --enable-shared or --disable-shared was given.
3472 if test "${enable_shared+set}" = set; then
3473 enableval
="$enable_shared"
3475 if test "$enableval" = yes; then
3476 ac_cv_use_shared
='wxUSE_SHARED=yes'
3478 ac_cv_use_shared
='wxUSE_SHARED=no'
3483 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3494 eval "$ac_cv_use_shared"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3499 if test "$wxUSE_SHARED" = yes; then
3500 echo "$as_me:$LINENO: result: yes" >&5
3501 echo "${ECHO_T}yes" >&6
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3510 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3512 # Check whether --enable-optimise or --disable-optimise was given.
3513 if test "${enable_optimise+set}" = set; then
3514 enableval
="$enable_optimise"
3516 if test "$enableval" = yes; then
3517 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3519 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3524 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x
; then
3526 eval "DEFAULT_$LINE"
3531 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3535 eval "$ac_cv_use_optimise"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3540 if test "$wxUSE_OPTIMISE" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3551 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3553 # Check whether --enable-debug or --disable-debug was given.
3554 if test "${enable_debug+set}" = set; then
3555 enableval
="$enable_debug"
3557 if test "$enableval" = yes; then
3558 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3560 ac_cv_use_debug
='wxUSE_DEBUG=no'
3565 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x
; then
3567 eval "DEFAULT_$LINE"
3572 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3576 eval "$ac_cv_use_debug"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3581 if test "$wxUSE_DEBUG" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3592 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3594 # Check whether --enable-stl or --disable-stl was given.
3595 if test "${enable_stl+set}" = set; then
3596 enableval
="$enable_stl"
3598 if test "$enableval" = yes; then
3599 ac_cv_use_stl
='wxUSE_STL=yes'
3601 ac_cv_use_stl
='wxUSE_STL=no'
3606 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x
; then
3608 eval "DEFAULT_$LINE"
3613 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3617 eval "$ac_cv_use_stl"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3622 if test "$wxUSE_STL" = yes; then
3623 echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6
3626 echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3630 if test "$USE_OS2" = "1"; then
3633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3634 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3636 # Check whether --enable-omf or --disable-omf was given.
3637 if test "${enable_omf+set}" = set; then
3638 enableval
="$enable_omf"
3640 if test "$enableval" = yes; then
3641 ac_cv_use_omf
='wxUSE_OMF=yes'
3643 ac_cv_use_omf
='wxUSE_OMF=no'
3648 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3649 if test "x$LINE" != x
; then
3650 eval "DEFAULT_$LINE"
3655 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3659 eval "$ac_cv_use_omf"
3660 if test "$no_cache" != 1; then
3661 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3664 if test "$wxUSE_OMF" = yes; then
3665 echo "$as_me:$LINENO: result: yes" >&5
3666 echo "${ECHO_T}yes" >&6
3668 echo "$as_me:$LINENO: result: no" >&5
3669 echo "${ECHO_T}no" >&6
3674 if test "$wxUSE_DEBUG" = "yes"; then
3675 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3676 DEFAULT_wxUSE_DEBUG_INFO
=yes
3678 elif test "$wxUSE_DEBUG" = "no"; then
3679 DEFAULT_wxUSE_DEBUG_FLAG
=no
3680 DEFAULT_wxUSE_DEBUG_INFO
=no
3686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3687 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3689 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3690 if test "${enable_debug_flag+set}" = set; then
3691 enableval
="$enable_debug_flag"
3693 if test "$enableval" = yes; then
3694 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3696 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3701 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x
; then
3703 eval "DEFAULT_$LINE"
3708 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3712 eval "$ac_cv_use_debug_flag"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3717 if test "$wxUSE_DEBUG_FLAG" = yes; then
3718 echo "$as_me:$LINENO: result: yes" >&5
3719 echo "${ECHO_T}yes" >&6
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3728 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3730 # Check whether --enable-debug_info or --disable-debug_info was given.
3731 if test "${enable_debug_info+set}" = set; then
3732 enableval
="$enable_debug_info"
3734 if test "$enableval" = yes; then
3735 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3737 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3742 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x
; then
3744 eval "DEFAULT_$LINE"
3749 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3753 eval "$ac_cv_use_debug_info"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3758 if test "$wxUSE_DEBUG_INFO" = yes; then
3759 echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3769 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3771 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3772 if test "${enable_debug_gdb+set}" = set; then
3773 enableval
="$enable_debug_gdb"
3775 if test "$enableval" = yes; then
3776 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3778 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3783 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3784 if test "x$LINE" != x
; then
3785 eval "DEFAULT_$LINE"
3790 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3794 eval "$ac_cv_use_debug_gdb"
3795 if test "$no_cache" != 1; then
3796 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3799 if test "$wxUSE_DEBUG_GDB" = yes; then
3800 echo "$as_me:$LINENO: result: yes" >&5
3801 echo "${ECHO_T}yes" >&6
3803 echo "$as_me:$LINENO: result: no" >&5
3804 echo "${ECHO_T}no" >&6
3809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3810 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3812 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3813 if test "${enable_debug_cntxt+set}" = set; then
3814 enableval
="$enable_debug_cntxt"
3816 if test "$enableval" = yes; then
3817 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3819 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3824 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x
; then
3826 eval "DEFAULT_$LINE"
3831 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3835 eval "$ac_cv_use_debug_cntxt"
3836 if test "$no_cache" != 1; then
3837 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3840 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3841 echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6
3844 echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6
3850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3851 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3853 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3854 if test "${enable_mem_tracing+set}" = set; then
3855 enableval
="$enable_mem_tracing"
3857 if test "$enableval" = yes; then
3858 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3860 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3865 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3866 if test "x$LINE" != x
; then
3867 eval "DEFAULT_$LINE"
3872 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3876 eval "$ac_cv_use_mem_tracing"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3881 if test "$wxUSE_MEM_TRACING" = yes; then
3882 echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
3891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3892 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3894 # Check whether --enable-profile or --disable-profile was given.
3895 if test "${enable_profile+set}" = set; then
3896 enableval
="$enable_profile"
3898 if test "$enableval" = yes; then
3899 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3901 ac_cv_use_profile
='wxUSE_PROFILE=no'
3906 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3907 if test "x$LINE" != x
; then
3908 eval "DEFAULT_$LINE"
3913 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3917 eval "$ac_cv_use_profile"
3918 if test "$no_cache" != 1; then
3919 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3922 if test "$wxUSE_PROFILE" = yes; then
3923 echo "$as_me:$LINENO: result: yes" >&5
3924 echo "${ECHO_T}yes" >&6
3926 echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6
3932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3933 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3935 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3936 if test "${enable_no_rtti+set}" = set; then
3937 enableval
="$enable_no_rtti"
3939 if test "$enableval" = yes; then
3940 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3942 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3947 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x
; then
3949 eval "DEFAULT_$LINE"
3954 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3958 eval "$ac_cv_use_no_rtti"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3963 if test "$wxUSE_NO_RTTI" = yes; then
3964 echo "$as_me:$LINENO: result: yes" >&5
3965 echo "${ECHO_T}yes" >&6
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3974 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3976 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3977 if test "${enable_no_exceptions+set}" = set; then
3978 enableval
="$enable_no_exceptions"
3980 if test "$enableval" = yes; then
3981 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3983 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3988 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x
; then
3990 eval "DEFAULT_$LINE"
3995 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3999 eval "$ac_cv_use_no_exceptions"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4004 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4005 echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6
4008 echo "$as_me:$LINENO: result: no" >&5
4009 echo "${ECHO_T}no" >&6
4014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4015 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4017 # Check whether --enable-permissive or --disable-permissive was given.
4018 if test "${enable_permissive+set}" = set; then
4019 enableval
="$enable_permissive"
4021 if test "$enableval" = yes; then
4022 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4024 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4029 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x
; then
4031 eval "DEFAULT_$LINE"
4036 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4040 eval "$ac_cv_use_permissive"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4045 if test "$wxUSE_PERMISSIVE" = yes; then
4046 echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4056 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4058 # Check whether --enable-no_deps or --disable-no_deps was given.
4059 if test "${enable_no_deps+set}" = set; then
4060 enableval
="$enable_no_deps"
4062 if test "$enableval" = yes; then
4063 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4065 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4070 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x
; then
4072 eval "DEFAULT_$LINE"
4077 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4081 eval "$ac_cv_use_no_deps"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4086 if test "$wxUSE_NO_DEPS" = yes; then
4087 echo "$as_me:$LINENO: result: yes" >&5
4088 echo "${ECHO_T}yes" >&6
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4100 # Check whether --enable-compat22 or --disable-compat22 was given.
4101 if test "${enable_compat22+set}" = set; then
4102 enableval
="$enable_compat22"
4104 if test "$enableval" = yes; then
4105 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4107 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4112 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x
; then
4114 eval "DEFAULT_$LINE"
4119 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4123 eval "$ac_cv_use_compat22"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4128 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4137 enablestring
=disable
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4141 # Check whether --enable-compat24 or --disable-compat24 was given.
4142 if test "${enable_compat24+set}" = set; then
4143 enableval
="$enable_compat24"
4145 if test "$enableval" = yes; then
4146 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4148 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4153 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x
; then
4155 eval "DEFAULT_$LINE"
4160 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4164 eval "$ac_cv_use_compat24"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4169 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4181 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4183 # Check whether --enable-rpath or --disable-rpath was given.
4184 if test "${enable_rpath+set}" = set; then
4185 enableval
="$enable_rpath"
4187 if test "$enableval" = yes; then
4188 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4190 ac_cv_use_rpath
='wxUSE_RPATH=no'
4195 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x
; then
4197 eval "DEFAULT_$LINE"
4202 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4206 eval "$ac_cv_use_rpath"
4207 if test "$no_cache" != 1; then
4208 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4211 if test "$wxUSE_RPATH" = yes; then
4212 echo "$as_me:$LINENO: result: yes" >&5
4213 echo "${ECHO_T}yes" >&6
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4225 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4227 # Check whether --enable-intl or --disable-intl was given.
4228 if test "${enable_intl+set}" = set; then
4229 enableval
="$enable_intl"
4231 if test "$enableval" = yes; then
4232 ac_cv_use_intl
='wxUSE_INTL=yes'
4234 ac_cv_use_intl
='wxUSE_INTL=no'
4239 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x
; then
4241 eval "DEFAULT_$LINE"
4246 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4250 eval "$ac_cv_use_intl"
4251 if test "$no_cache" != 1; then
4252 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4255 if test "$wxUSE_INTL" = yes; then
4256 echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6
4259 echo "$as_me:$LINENO: result: no" >&5
4260 echo "${ECHO_T}no" >&6
4265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4266 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4268 # Check whether --enable-config or --disable-config was given.
4269 if test "${enable_config+set}" = set; then
4270 enableval
="$enable_config"
4272 if test "$enableval" = yes; then
4273 ac_cv_use_config
='wxUSE_CONFIG=yes'
4275 ac_cv_use_config
='wxUSE_CONFIG=no'
4280 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4281 if test "x$LINE" != x
; then
4282 eval "DEFAULT_$LINE"
4287 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4291 eval "$ac_cv_use_config"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4296 if test "$wxUSE_CONFIG" = yes; then
4297 echo "$as_me:$LINENO: result: yes" >&5
4298 echo "${ECHO_T}yes" >&6
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4308 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4310 # Check whether --enable-protocols or --disable-protocols was given.
4311 if test "${enable_protocols+set}" = set; then
4312 enableval
="$enable_protocols"
4314 if test "$enableval" = yes; then
4315 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4317 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4322 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4323 if test "x$LINE" != x
; then
4324 eval "DEFAULT_$LINE"
4329 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4333 eval "$ac_cv_use_protocols"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4338 if test "$wxUSE_PROTOCOL" = yes; then
4339 echo "$as_me:$LINENO: result: yes" >&5
4340 echo "${ECHO_T}yes" >&6
4342 echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6
4348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4349 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4351 # Check whether --enable-ftp or --disable-ftp was given.
4352 if test "${enable_ftp+set}" = set; then
4353 enableval
="$enable_ftp"
4355 if test "$enableval" = yes; then
4356 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4358 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4363 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x
; then
4365 eval "DEFAULT_$LINE"
4370 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4374 eval "$ac_cv_use_ftp"
4375 if test "$no_cache" != 1; then
4376 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4379 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4380 echo "$as_me:$LINENO: result: yes" >&5
4381 echo "${ECHO_T}yes" >&6
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4392 # Check whether --enable-http or --disable-http was given.
4393 if test "${enable_http+set}" = set; then
4394 enableval
="$enable_http"
4396 if test "$enableval" = yes; then
4397 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4399 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4404 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x
; then
4406 eval "DEFAULT_$LINE"
4411 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4415 eval "$ac_cv_use_http"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4420 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4421 echo "$as_me:$LINENO: result: yes" >&5
4422 echo "${ECHO_T}yes" >&6
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4431 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4433 # Check whether --enable-fileproto or --disable-fileproto was given.
4434 if test "${enable_fileproto+set}" = set; then
4435 enableval
="$enable_fileproto"
4437 if test "$enableval" = yes; then
4438 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4440 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4445 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x
; then
4447 eval "DEFAULT_$LINE"
4452 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4456 eval "$ac_cv_use_fileproto"
4457 if test "$no_cache" != 1; then
4458 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4461 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4462 echo "$as_me:$LINENO: result: yes" >&5
4463 echo "${ECHO_T}yes" >&6
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4474 # Check whether --enable-sockets or --disable-sockets was given.
4475 if test "${enable_sockets+set}" = set; then
4476 enableval
="$enable_sockets"
4478 if test "$enableval" = yes; then
4479 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4481 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4486 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x
; then
4488 eval "DEFAULT_$LINE"
4493 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4497 eval "$ac_cv_use_sockets"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4502 if test "$wxUSE_SOCKETS" = yes; then
4503 echo "$as_me:$LINENO: result: yes" >&5
4504 echo "${ECHO_T}yes" >&6
4506 echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6
4512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4515 # Check whether --enable-ole or --disable-ole was given.
4516 if test "${enable_ole+set}" = set; then
4517 enableval
="$enable_ole"
4519 if test "$enableval" = yes; then
4520 ac_cv_use_ole
='wxUSE_OLE=yes'
4522 ac_cv_use_ole
='wxUSE_OLE=no'
4527 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x
; then
4529 eval "DEFAULT_$LINE"
4534 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4538 eval "$ac_cv_use_ole"
4539 if test "$no_cache" != 1; then
4540 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4543 if test "$wxUSE_OLE" = yes; then
4544 echo "$as_me:$LINENO: result: yes" >&5
4545 echo "${ECHO_T}yes" >&6
4547 echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6
4553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4554 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4556 # Check whether --enable-dataobj or --disable-dataobj was given.
4557 if test "${enable_dataobj+set}" = set; then
4558 enableval
="$enable_dataobj"
4560 if test "$enableval" = yes; then
4561 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4563 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4568 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4569 if test "x$LINE" != x
; then
4570 eval "DEFAULT_$LINE"
4575 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4579 eval "$ac_cv_use_dataobj"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4584 if test "$wxUSE_DATAOBJ" = yes; then
4585 echo "$as_me:$LINENO: result: yes" >&5
4586 echo "${ECHO_T}yes" >&6
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4598 # Check whether --enable-ipc or --disable-ipc was given.
4599 if test "${enable_ipc+set}" = set; then
4600 enableval
="$enable_ipc"
4602 if test "$enableval" = yes; then
4603 ac_cv_use_ipc
='wxUSE_IPC=yes'
4605 ac_cv_use_ipc
='wxUSE_IPC=no'
4610 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4611 if test "x$LINE" != x
; then
4612 eval "DEFAULT_$LINE"
4617 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4621 eval "$ac_cv_use_ipc"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4626 if test "$wxUSE_IPC" = yes; then
4627 echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4640 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4641 if test "${enable_apple_ieee+set}" = set; then
4642 enableval
="$enable_apple_ieee"
4644 if test "$enableval" = yes; then
4645 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4647 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4652 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x
; then
4654 eval "DEFAULT_$LINE"
4659 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4663 eval "$ac_cv_use_apple_ieee"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4668 if test "$wxUSE_APPLE_IEEE" = yes; then
4669 echo "$as_me:$LINENO: result: yes" >&5
4670 echo "${ECHO_T}yes" >&6
4672 echo "$as_me:$LINENO: result: no" >&5
4673 echo "${ECHO_T}no" >&6
4678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4679 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4681 # Check whether --enable-arcstream or --disable-arcstream was given.
4682 if test "${enable_arcstream+set}" = set; then
4683 enableval
="$enable_arcstream"
4685 if test "$enableval" = yes; then
4686 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4688 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4693 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x
; then
4695 eval "DEFAULT_$LINE"
4700 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4704 eval "$ac_cv_use_arcstream"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4709 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4710 echo "$as_me:$LINENO: result: yes" >&5
4711 echo "${ECHO_T}yes" >&6
4713 echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6
4719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4720 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4722 # Check whether --enable-backtrace or --disable-backtrace was given.
4723 if test "${enable_backtrace+set}" = set; then
4724 enableval
="$enable_backtrace"
4726 if test "$enableval" = yes; then
4727 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4729 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4734 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x
; then
4736 eval "DEFAULT_$LINE"
4741 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4745 eval "$ac_cv_use_backtrace"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4750 if test "$wxUSE_STACKWALKER" = yes; then
4751 echo "$as_me:$LINENO: result: yes" >&5
4752 echo "${ECHO_T}yes" >&6
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4763 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4764 if test "${enable_catch_segvs+set}" = set; then
4765 enableval
="$enable_catch_segvs"
4767 if test "$enableval" = yes; then
4768 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4770 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4775 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x
; then
4777 eval "DEFAULT_$LINE"
4782 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4786 eval "$ac_cv_use_catch_segvs"
4787 if test "$no_cache" != 1; then
4788 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4791 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4792 echo "$as_me:$LINENO: result: yes" >&5
4793 echo "${ECHO_T}yes" >&6
4795 echo "$as_me:$LINENO: result: no" >&5
4796 echo "${ECHO_T}no" >&6
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4804 # Check whether --enable-cmdline or --disable-cmdline was given.
4805 if test "${enable_cmdline+set}" = set; then
4806 enableval
="$enable_cmdline"
4808 if test "$enableval" = yes; then
4809 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4811 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4816 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x
; then
4818 eval "DEFAULT_$LINE"
4823 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4827 eval "$ac_cv_use_cmdline"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4832 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834 echo "${ECHO_T}yes" >&6
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4845 # Check whether --enable-datetime or --disable-datetime was given.
4846 if test "${enable_datetime+set}" = set; then
4847 enableval
="$enable_datetime"
4849 if test "$enableval" = yes; then
4850 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4852 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4857 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x
; then
4859 eval "DEFAULT_$LINE"
4864 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4868 eval "$ac_cv_use_datetime"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4873 if test "$wxUSE_DATETIME" = yes; then
4874 echo "$as_me:$LINENO: result: yes" >&5
4875 echo "${ECHO_T}yes" >&6
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4886 # Check whether --enable-debugreport or --disable-debugreport was given.
4887 if test "${enable_debugreport+set}" = set; then
4888 enableval
="$enable_debugreport"
4890 if test "$enableval" = yes; then
4891 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4893 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4898 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x
; then
4900 eval "DEFAULT_$LINE"
4905 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4909 eval "$ac_cv_use_debugreport"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4914 if test "$wxUSE_DEBUGREPORT" = yes; then
4915 echo "$as_me:$LINENO: result: yes" >&5
4916 echo "${ECHO_T}yes" >&6
4918 echo "$as_me:$LINENO: result: no" >&5
4919 echo "${ECHO_T}no" >&6
4924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4927 # Check whether --enable-dialupman or --disable-dialupman was given.
4928 if test "${enable_dialupman+set}" = set; then
4929 enableval
="$enable_dialupman"
4931 if test "$enableval" = yes; then
4932 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4934 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4939 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x
; then
4941 eval "DEFAULT_$LINE"
4946 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4950 eval "$ac_cv_use_dialupman"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4955 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4956 echo "$as_me:$LINENO: result: yes" >&5
4957 echo "${ECHO_T}yes" >&6
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4968 # Check whether --enable-dynlib or --disable-dynlib was given.
4969 if test "${enable_dynlib+set}" = set; then
4970 enableval
="$enable_dynlib"
4972 if test "$enableval" = yes; then
4973 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4975 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4980 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x
; then
4982 eval "DEFAULT_$LINE"
4987 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4991 eval "$ac_cv_use_dynlib"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4996 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5009 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5010 if test "${enable_dynamicloader+set}" = set; then
5011 enableval
="$enable_dynamicloader"
5013 if test "$enableval" = yes; then
5014 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5016 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5021 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x
; then
5023 eval "DEFAULT_$LINE"
5028 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5032 eval "$ac_cv_use_dynamicloader"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5037 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5050 # Check whether --enable-exceptions or --disable-exceptions was given.
5051 if test "${enable_exceptions+set}" = set; then
5052 enableval
="$enable_exceptions"
5054 if test "$enableval" = yes; then
5055 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5057 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5062 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x
; then
5064 eval "DEFAULT_$LINE"
5069 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5073 eval "$ac_cv_use_exceptions"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5078 if test "$wxUSE_EXCEPTIONS" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5091 # Check whether --enable-ffile or --disable-ffile was given.
5092 if test "${enable_ffile+set}" = set; then
5093 enableval
="$enable_ffile"
5095 if test "$enableval" = yes; then
5096 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5098 ac_cv_use_ffile
='wxUSE_FFILE=no'
5103 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x
; then
5105 eval "DEFAULT_$LINE"
5110 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5114 eval "$ac_cv_use_ffile"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5119 if test "$wxUSE_FFILE" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5132 # Check whether --enable-file or --disable-file was given.
5133 if test "${enable_file+set}" = set; then
5134 enableval
="$enable_file"
5136 if test "$enableval" = yes; then
5137 ac_cv_use_file
='wxUSE_FILE=yes'
5139 ac_cv_use_file
='wxUSE_FILE=no'
5144 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x
; then
5146 eval "DEFAULT_$LINE"
5151 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5155 eval "$ac_cv_use_file"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5160 if test "$wxUSE_FILE" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5173 # Check whether --enable-filesystem or --disable-filesystem was given.
5174 if test "${enable_filesystem+set}" = set; then
5175 enableval
="$enable_filesystem"
5177 if test "$enableval" = yes; then
5178 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5180 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5185 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x
; then
5187 eval "DEFAULT_$LINE"
5192 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5196 eval "$ac_cv_use_filesystem"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5201 if test "$wxUSE_FILESYSTEM" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5214 # Check whether --enable-fontmap or --disable-fontmap was given.
5215 if test "${enable_fontmap+set}" = set; then
5216 enableval
="$enable_fontmap"
5218 if test "$enableval" = yes; then
5219 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5221 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5226 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x
; then
5228 eval "DEFAULT_$LINE"
5233 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5237 eval "$ac_cv_use_fontmap"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5242 if test "$wxUSE_FONTMAP" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5255 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5256 if test "${enable_fs_inet+set}" = set; then
5257 enableval
="$enable_fs_inet"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5262 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5267 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x
; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5278 eval "$ac_cv_use_fs_inet"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_FS_INET" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5296 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5297 if test "${enable_fs_zip+set}" = set; then
5298 enableval
="$enable_fs_zip"
5300 if test "$enableval" = yes; then
5301 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5303 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5308 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x
; then
5310 eval "DEFAULT_$LINE"
5315 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5319 eval "$ac_cv_use_fs_zip"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_FS_ZIP" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5337 # Check whether --enable-geometry or --disable-geometry was given.
5338 if test "${enable_geometry+set}" = set; then
5339 enableval
="$enable_geometry"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5344 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5349 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x
; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5360 eval "$ac_cv_use_geometry"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5365 if test "$wxUSE_GEOMETRY" = yes; then
5366 echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5378 # Check whether --enable-log or --disable-log was given.
5379 if test "${enable_log+set}" = set; then
5380 enableval
="$enable_log"
5382 if test "$enableval" = yes; then
5383 ac_cv_use_log
='wxUSE_LOG=yes'
5385 ac_cv_use_log
='wxUSE_LOG=no'
5390 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x
; then
5392 eval "DEFAULT_$LINE"
5397 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5401 eval "$ac_cv_use_log"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5406 if test "$wxUSE_LOG" = yes; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5410 echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6
5416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5419 # Check whether --enable-longlong or --disable-longlong was given.
5420 if test "${enable_longlong+set}" = set; then
5421 enableval
="$enable_longlong"
5423 if test "$enableval" = yes; then
5424 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5426 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5431 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x
; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5442 eval "$ac_cv_use_longlong"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5447 if test "$wxUSE_LONGLONG" = yes; then
5448 echo "$as_me:$LINENO: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5451 echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5460 # Check whether --enable-mimetype or --disable-mimetype was given.
5461 if test "${enable_mimetype+set}" = set; then
5462 enableval
="$enable_mimetype"
5464 if test "$enableval" = yes; then
5465 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5467 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5472 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x
; then
5474 eval "DEFAULT_$LINE"
5479 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5483 eval "$ac_cv_use_mimetype"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5488 if test "$wxUSE_MIMETYPE" = yes; then
5489 echo "$as_me:$LINENO: result: yes" >&5
5490 echo "${ECHO_T}yes" >&6
5492 echo "$as_me:$LINENO: result: no" >&5
5493 echo "${ECHO_T}no" >&6
5498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5501 # Check whether --enable-mslu or --disable-mslu was given.
5502 if test "${enable_mslu+set}" = set; then
5503 enableval
="$enable_mslu"
5505 if test "$enableval" = yes; then
5506 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5508 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5513 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x
; then
5515 eval "DEFAULT_$LINE"
5520 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5524 eval "$ac_cv_use_mslu"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5529 if test "$wxUSE_UNICODE_MSLU" = yes; then
5530 echo "$as_me:$LINENO: result: yes" >&5
5531 echo "${ECHO_T}yes" >&6
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5542 # Check whether --enable-snglinst or --disable-snglinst was given.
5543 if test "${enable_snglinst+set}" = set; then
5544 enableval
="$enable_snglinst"
5546 if test "$enableval" = yes; then
5547 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5549 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5554 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x
; then
5556 eval "DEFAULT_$LINE"
5561 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5565 eval "$ac_cv_use_snglinst"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5570 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5571 echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5583 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5584 if test "${enable_std_iostreams+set}" = set; then
5585 enableval
="$enable_std_iostreams"
5587 if test "$enableval" = yes; then
5588 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5590 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5595 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x
; then
5597 eval "DEFAULT_$LINE"
5602 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5606 eval "$ac_cv_use_std_iostreams"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5611 if test "$wxUSE_STD_IOSTREAM" = yes; then
5612 echo "$as_me:$LINENO: result: yes" >&5
5613 echo "${ECHO_T}yes" >&6
5615 echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6
5621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5624 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5625 if test "${enable_stdpaths+set}" = set; then
5626 enableval
="$enable_stdpaths"
5628 if test "$enableval" = yes; then
5629 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5631 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5636 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x
; then
5638 eval "DEFAULT_$LINE"
5643 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5647 eval "$ac_cv_use_stdpaths"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5652 if test "$wxUSE_STDPATHS" = yes; then
5653 echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5665 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5666 if test "${enable_stopwatch+set}" = set; then
5667 enableval
="$enable_stopwatch"
5669 if test "$enableval" = yes; then
5670 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5672 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5677 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x
; then
5679 eval "DEFAULT_$LINE"
5684 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5688 eval "$ac_cv_use_stopwatch"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5693 if test "$wxUSE_STOPWATCH" = yes; then
5694 echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5706 # Check whether --enable-streams or --disable-streams was given.
5707 if test "${enable_streams+set}" = set; then
5708 enableval
="$enable_streams"
5710 if test "$enableval" = yes; then
5711 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5713 ac_cv_use_streams
='wxUSE_STREAMS=no'
5718 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x
; then
5720 eval "DEFAULT_$LINE"
5725 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5729 eval "$ac_cv_use_streams"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5734 if test "$wxUSE_STREAMS" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5747 # Check whether --enable-system_options or --disable-system_options was given.
5748 if test "${enable_system_options+set}" = set; then
5749 enableval
="$enable_system_options"
5751 if test "$enableval" = yes; then
5752 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5754 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5759 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x
; then
5761 eval "DEFAULT_$LINE"
5766 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5770 eval "$ac_cv_use_system_options"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5775 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5788 # Check whether --enable-textbuf or --disable-textbuf was given.
5789 if test "${enable_textbuf+set}" = set; then
5790 enableval
="$enable_textbuf"
5792 if test "$enableval" = yes; then
5793 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5795 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5800 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x
; then
5802 eval "DEFAULT_$LINE"
5807 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5811 eval "$ac_cv_use_textbuf"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5816 if test "$wxUSE_TEXTBUFFER" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5829 # Check whether --enable-textfile or --disable-textfile was given.
5830 if test "${enable_textfile+set}" = set; then
5831 enableval
="$enable_textfile"
5833 if test "$enableval" = yes; then
5834 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5836 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5841 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x
; then
5843 eval "DEFAULT_$LINE"
5848 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5852 eval "$ac_cv_use_textfile"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5857 if test "$wxUSE_TEXTFILE" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5870 # Check whether --enable-timer or --disable-timer was given.
5871 if test "${enable_timer+set}" = set; then
5872 enableval
="$enable_timer"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_timer
='wxUSE_TIMER=yes'
5877 ac_cv_use_timer
='wxUSE_TIMER=no'
5882 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x
; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5893 eval "$ac_cv_use_timer"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5898 if test "$wxUSE_TIMER" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5911 # Check whether --enable-unicode or --disable-unicode was given.
5912 if test "${enable_unicode+set}" = set; then
5913 enableval
="$enable_unicode"
5915 if test "$enableval" = yes; then
5916 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5918 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5923 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x
; then
5925 eval "DEFAULT_$LINE"
5930 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5934 eval "$ac_cv_use_unicode"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5939 if test "$wxUSE_UNICODE" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5952 # Check whether --enable-sound or --disable-sound was given.
5953 if test "${enable_sound+set}" = set; then
5954 enableval
="$enable_sound"
5956 if test "$enableval" = yes; then
5957 ac_cv_use_sound
='wxUSE_SOUND=yes'
5959 ac_cv_use_sound
='wxUSE_SOUND=no'
5964 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x
; then
5966 eval "DEFAULT_$LINE"
5971 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5975 eval "$ac_cv_use_sound"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5980 if test "$wxUSE_SOUND" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5993 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5994 if test "${enable_mediactrl+set}" = set; then
5995 enableval
="$enable_mediactrl"
5997 if test "$enableval" = yes; then
5998 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6000 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6005 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x
; then
6007 eval "DEFAULT_$LINE"
6012 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6016 eval "$ac_cv_use_mediactrl"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_MEDIACTRL" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6034 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6035 if test "${enable_wxprintfv+set}" = set; then
6036 enableval
="$enable_wxprintfv"
6038 if test "$enableval" = yes; then
6039 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6041 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6046 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x
; then
6048 eval "DEFAULT_$LINE"
6053 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6057 eval "$ac_cv_use_wxprintfv"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6062 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6075 # Check whether --enable-zipstream or --disable-zipstream was given.
6076 if test "${enable_zipstream+set}" = set; then
6077 enableval
="$enable_zipstream"
6079 if test "$enableval" = yes; then
6080 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6082 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6087 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x
; then
6089 eval "DEFAULT_$LINE"
6094 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6098 eval "$ac_cv_use_zipstream"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6103 if test "$wxUSE_ZIPSTREAM" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6117 # Check whether --enable-url or --disable-url was given.
6118 if test "${enable_url+set}" = set; then
6119 enableval
="$enable_url"
6121 if test "$enableval" = yes; then
6122 ac_cv_use_url
='wxUSE_URL=yes'
6124 ac_cv_use_url
='wxUSE_URL=no'
6129 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x
; then
6131 eval "DEFAULT_$LINE"
6136 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6140 eval "$ac_cv_use_url"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6145 if test "$wxUSE_URL" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6158 # Check whether --enable-protocol or --disable-protocol was given.
6159 if test "${enable_protocol+set}" = set; then
6160 enableval
="$enable_protocol"
6162 if test "$enableval" = yes; then
6163 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6165 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6170 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x
; then
6172 eval "DEFAULT_$LINE"
6177 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6181 eval "$ac_cv_use_protocol"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6186 if test "$wxUSE_PROTOCOL" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6199 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6200 if test "${enable_protocol_http+set}" = set; then
6201 enableval
="$enable_protocol_http"
6203 if test "$enableval" = yes; then
6204 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6206 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6211 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x
; then
6213 eval "DEFAULT_$LINE"
6218 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6222 eval "$ac_cv_use_protocol_http"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6227 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6240 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6241 if test "${enable_protocol_ftp+set}" = set; then
6242 enableval
="$enable_protocol_ftp"
6244 if test "$enableval" = yes; then
6245 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6247 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6252 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x
; then
6254 eval "DEFAULT_$LINE"
6259 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6263 eval "$ac_cv_use_protocol_ftp"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6268 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6281 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6282 if test "${enable_protocol_file+set}" = set; then
6283 enableval
="$enable_protocol_file"
6285 if test "$enableval" = yes; then
6286 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6288 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6293 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x
; then
6295 eval "DEFAULT_$LINE"
6300 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6304 eval "$ac_cv_use_protocol_file"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6309 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6325 # Check whether --enable-threads or --disable-threads was given.
6326 if test "${enable_threads+set}" = set; then
6327 enableval
="$enable_threads"
6329 if test "$enableval" = yes; then
6330 ac_cv_use_threads
='wxUSE_THREADS=yes'
6332 ac_cv_use_threads
='wxUSE_THREADS=no'
6337 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6338 if test "x$LINE" != x
; then
6339 eval "DEFAULT_$LINE"
6344 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6348 eval "$ac_cv_use_threads"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6353 if test "$wxUSE_THREADS" = yes; then
6354 echo "$as_me:$LINENO: result: yes" >&5
6355 echo "${ECHO_T}yes" >&6
6357 echo "$as_me:$LINENO: result: no" >&5
6358 echo "${ECHO_T}no" >&6
6362 if test "$wxUSE_GUI" = "yes"; then
6367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6368 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6370 # Check whether --enable-docview or --disable-docview was given.
6371 if test "${enable_docview+set}" = set; then
6372 enableval
="$enable_docview"
6374 if test "$enableval" = yes; then
6375 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6377 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6382 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x
; then
6384 eval "DEFAULT_$LINE"
6389 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6393 eval "$ac_cv_use_docview"
6394 if test "$no_cache" != 1; then
6395 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6398 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 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
6408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6409 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6411 # Check whether --enable-help or --disable-help was given.
6412 if test "${enable_help+set}" = set; then
6413 enableval
="$enable_help"
6415 if test "$enableval" = yes; then
6416 ac_cv_use_help
='wxUSE_HELP=yes'
6418 ac_cv_use_help
='wxUSE_HELP=no'
6423 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6424 if test "x$LINE" != x
; then
6425 eval "DEFAULT_$LINE"
6430 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6434 eval "$ac_cv_use_help"
6435 if test "$no_cache" != 1; then
6436 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6439 if test "$wxUSE_HELP" = yes; then
6440 echo "$as_me:$LINENO: result: yes" >&5
6441 echo "${ECHO_T}yes" >&6
6443 echo "$as_me:$LINENO: result: no" >&5
6444 echo "${ECHO_T}no" >&6
6449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6450 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6452 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6453 if test "${enable_mshtmlhelp+set}" = set; then
6454 enableval
="$enable_mshtmlhelp"
6456 if test "$enableval" = yes; then
6457 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6459 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6464 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x
; then
6466 eval "DEFAULT_$LINE"
6471 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6475 eval "$ac_cv_use_mshtmlhelp"
6476 if test "$no_cache" != 1; then
6477 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6480 if test "$wxUSE_MS_HTML_HELP" = yes; then
6481 echo "$as_me:$LINENO: result: yes" >&5
6482 echo "${ECHO_T}yes" >&6
6484 echo "$as_me:$LINENO: result: no" >&5
6485 echo "${ECHO_T}no" >&6
6490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6493 # Check whether --enable-html or --disable-html was given.
6494 if test "${enable_html+set}" = set; then
6495 enableval
="$enable_html"
6497 if test "$enableval" = yes; then
6498 ac_cv_use_html
='wxUSE_HTML=yes'
6500 ac_cv_use_html
='wxUSE_HTML=no'
6505 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6506 if test "x$LINE" != x
; then
6507 eval "DEFAULT_$LINE"
6512 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6516 eval "$ac_cv_use_html"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6521 if test "$wxUSE_HTML" = yes; then
6522 echo "$as_me:$LINENO: result: yes" >&5
6523 echo "${ECHO_T}yes" >&6
6525 echo "$as_me:$LINENO: result: no" >&5
6526 echo "${ECHO_T}no" >&6
6531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6532 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6534 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6535 if test "${enable_htmlhelp+set}" = set; then
6536 enableval
="$enable_htmlhelp"
6538 if test "$enableval" = yes; then
6539 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6541 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6546 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6547 if test "x$LINE" != x
; then
6548 eval "DEFAULT_$LINE"
6553 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6557 eval "$ac_cv_use_htmlhelp"
6558 if test "$no_cache" != 1; then
6559 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6562 if test "$wxUSE_WXHTML_HELP" = yes; then
6563 echo "$as_me:$LINENO: result: yes" >&5
6564 echo "${ECHO_T}yes" >&6
6566 echo "$as_me:$LINENO: result: no" >&5
6567 echo "${ECHO_T}no" >&6
6572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6573 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6575 # Check whether --enable-xrc or --disable-xrc was given.
6576 if test "${enable_xrc+set}" = set; then
6577 enableval
="$enable_xrc"
6579 if test "$enableval" = yes; then
6580 ac_cv_use_xrc
='wxUSE_XRC=yes'
6582 ac_cv_use_xrc
='wxUSE_XRC=no'
6587 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x
; then
6589 eval "DEFAULT_$LINE"
6594 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6598 eval "$ac_cv_use_xrc"
6599 if test "$no_cache" != 1; then
6600 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6603 if test "$wxUSE_XRC" = yes; then
6604 echo "$as_me:$LINENO: result: yes" >&5
6605 echo "${ECHO_T}yes" >&6
6607 echo "$as_me:$LINENO: result: no" >&5
6608 echo "${ECHO_T}no" >&6
6613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6614 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6616 # Check whether --enable-constraints or --disable-constraints was given.
6617 if test "${enable_constraints+set}" = set; then
6618 enableval
="$enable_constraints"
6620 if test "$enableval" = yes; then
6621 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6623 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6628 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x
; then
6630 eval "DEFAULT_$LINE"
6635 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6639 eval "$ac_cv_use_constraints"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6644 if test "$wxUSE_CONSTRAINTS" = yes; then
6645 echo "$as_me:$LINENO: result: yes" >&5
6646 echo "${ECHO_T}yes" >&6
6648 echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6
6654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6657 # Check whether --enable-printarch or --disable-printarch was given.
6658 if test "${enable_printarch+set}" = set; then
6659 enableval
="$enable_printarch"
6661 if test "$enableval" = yes; then
6662 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6664 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6669 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x
; then
6671 eval "DEFAULT_$LINE"
6676 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6680 eval "$ac_cv_use_printarch"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6685 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687 echo "${ECHO_T}yes" >&6
6689 echo "$as_me:$LINENO: result: no" >&5
6690 echo "${ECHO_T}no" >&6
6695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6696 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6698 # Check whether --enable-mdi or --disable-mdi was given.
6699 if test "${enable_mdi+set}" = set; then
6700 enableval
="$enable_mdi"
6702 if test "$enableval" = yes; then
6703 ac_cv_use_mdi
='wxUSE_MDI=yes'
6705 ac_cv_use_mdi
='wxUSE_MDI=no'
6710 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x
; then
6712 eval "DEFAULT_$LINE"
6717 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6721 eval "$ac_cv_use_mdi"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6726 if test "$wxUSE_MDI" = yes; then
6727 echo "$as_me:$LINENO: result: yes" >&5
6728 echo "${ECHO_T}yes" >&6
6730 echo "$as_me:$LINENO: result: no" >&5
6731 echo "${ECHO_T}no" >&6
6736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6739 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6740 if test "${enable_mdidoc+set}" = set; then
6741 enableval
="$enable_mdidoc"
6743 if test "$enableval" = yes; then
6744 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6746 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6751 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x
; then
6753 eval "DEFAULT_$LINE"
6758 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6762 eval "$ac_cv_use_mdidoc"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6767 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6768 echo "$as_me:$LINENO: result: yes" >&5
6769 echo "${ECHO_T}yes" >&6
6771 echo "$as_me:$LINENO: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6780 # Check whether --enable-loggui or --disable-loggui was given.
6781 if test "${enable_loggui+set}" = set; then
6782 enableval
="$enable_loggui"
6784 if test "$enableval" = yes; then
6785 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6787 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6792 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x
; then
6794 eval "DEFAULT_$LINE"
6799 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6803 eval "$ac_cv_use_loggui"
6804 if test "$no_cache" != 1; then
6805 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6808 if test "$wxUSE_LOGGUI" = yes; then
6809 echo "$as_me:$LINENO: result: yes" >&5
6810 echo "${ECHO_T}yes" >&6
6812 echo "$as_me:$LINENO: result: no" >&5
6813 echo "${ECHO_T}no" >&6
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6821 # Check whether --enable-logwin or --disable-logwin was given.
6822 if test "${enable_logwin+set}" = set; then
6823 enableval
="$enable_logwin"
6825 if test "$enableval" = yes; then
6826 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6828 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6833 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x
; then
6835 eval "DEFAULT_$LINE"
6840 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6844 eval "$ac_cv_use_logwin"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6849 if test "$wxUSE_LOGWINDOW" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6862 # Check whether --enable-logdialog or --disable-logdialog was given.
6863 if test "${enable_logdialog+set}" = set; then
6864 enableval
="$enable_logdialog"
6866 if test "$enableval" = yes; then
6867 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6869 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6874 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x
; then
6876 eval "DEFAULT_$LINE"
6881 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6885 eval "$ac_cv_use_logdialog"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6890 if test "$wxUSE_LOGDIALOG" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6903 # Check whether --enable-webkit or --disable-webkit was given.
6904 if test "${enable_webkit+set}" = set; then
6905 enableval
="$enable_webkit"
6907 if test "$enableval" = yes; then
6908 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6910 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6915 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x
; then
6917 eval "DEFAULT_$LINE"
6922 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6926 eval "$ac_cv_use_webkit"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6931 if test "$wxUSE_WEBKIT" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6945 # Check whether --enable-postscript or --disable-postscript was given.
6946 if test "${enable_postscript+set}" = set; then
6947 enableval
="$enable_postscript"
6949 if test "$enableval" = yes; then
6950 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6952 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6957 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x
; then
6959 eval "DEFAULT_$LINE"
6964 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6968 eval "$ac_cv_use_postscript"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6973 if test "$wxUSE_POSTSCRIPT" = yes; then
6974 echo "$as_me:$LINENO: result: yes" >&5
6975 echo "${ECHO_T}yes" >&6
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6989 # Check whether --enable-prologio or --disable-prologio was given.
6990 if test "${enable_prologio+set}" = set; then
6991 enableval
="$enable_prologio"
6993 if test "$enableval" = yes; then
6994 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6996 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7001 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7002 if test "x$LINE" != x
; then
7003 eval "DEFAULT_$LINE"
7008 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7012 eval "$ac_cv_use_prologio"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7017 if test "$wxUSE_PROLOGIO" = yes; then
7018 echo "$as_me:$LINENO: result: yes" >&5
7019 echo "${ECHO_T}yes" >&6
7021 echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6
7027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7030 # Check whether --enable-resources or --disable-resources was given.
7031 if test "${enable_resources+set}" = set; then
7032 enableval
="$enable_resources"
7034 if test "$enableval" = yes; then
7035 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7037 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7042 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7043 if test "x$LINE" != x
; then
7044 eval "DEFAULT_$LINE"
7049 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7053 eval "$ac_cv_use_resources"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7058 if test "$wxUSE_RESOURCES" = yes; then
7059 echo "$as_me:$LINENO: result: yes" >&5
7060 echo "${ECHO_T}yes" >&6
7062 echo "$as_me:$LINENO: result: no" >&5
7063 echo "${ECHO_T}no" >&6
7070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7073 # Check whether --enable-clipboard or --disable-clipboard was given.
7074 if test "${enable_clipboard+set}" = set; then
7075 enableval
="$enable_clipboard"
7077 if test "$enableval" = yes; then
7078 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7080 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7085 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x
; then
7087 eval "DEFAULT_$LINE"
7092 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7096 eval "$ac_cv_use_clipboard"
7097 if test "$no_cache" != 1; then
7098 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7101 if test "$wxUSE_CLIPBOARD" = yes; then
7102 echo "$as_me:$LINENO: result: yes" >&5
7103 echo "${ECHO_T}yes" >&6
7105 echo "$as_me:$LINENO: result: no" >&5
7106 echo "${ECHO_T}no" >&6
7111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7112 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7114 # Check whether --enable-dnd or --disable-dnd was given.
7115 if test "${enable_dnd+set}" = set; then
7116 enableval
="$enable_dnd"
7118 if test "$enableval" = yes; then
7119 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7121 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7126 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7127 if test "x$LINE" != x
; then
7128 eval "DEFAULT_$LINE"
7133 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7137 eval "$ac_cv_use_dnd"
7138 if test "$no_cache" != 1; then
7139 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7142 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7143 echo "$as_me:$LINENO: result: yes" >&5
7144 echo "${ECHO_T}yes" >&6
7146 echo "$as_me:$LINENO: result: no" >&5
7147 echo "${ECHO_T}no" >&6
7152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7155 # Check whether --enable-metafile or --disable-metafile was given.
7156 if test "${enable_metafile+set}" = set; then
7157 enableval
="$enable_metafile"
7159 if test "$enableval" = yes; then
7160 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7162 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7167 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x
; then
7169 eval "DEFAULT_$LINE"
7174 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7178 eval "$ac_cv_use_metafile"
7179 if test "$no_cache" != 1; then
7180 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7183 if test "$wxUSE_METAFILE" = yes; then
7184 echo "$as_me:$LINENO: result: yes" >&5
7185 echo "${ECHO_T}yes" >&6
7187 echo "$as_me:$LINENO: result: no" >&5
7188 echo "${ECHO_T}no" >&6
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7199 # Check whether --enable-controls or --disable-controls was given.
7200 if test "${enable_controls+set}" = set; then
7201 enableval
="$enable_controls"
7203 if test "$enableval" = yes; then
7204 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7206 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7211 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x
; then
7213 eval "DEFAULT_$LINE"
7218 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7222 eval "$ac_cv_use_controls"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7227 if test "$wxUSE_CONTROLS" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7236 if test "$wxUSE_CONTROLS" = "yes"; then
7237 DEFAULT_wxUSE_ACCEL
=yes
7238 DEFAULT_wxUSE_BMPBUTTON
=yes
7239 DEFAULT_wxUSE_BUTTON
=yes
7240 DEFAULT_wxUSE_CALCTRL
=yes
7241 DEFAULT_wxUSE_CARET
=yes
7242 DEFAULT_wxUSE_COMBOBOX
=yes
7243 DEFAULT_wxUSE_CHECKBOX
=yes
7244 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7245 DEFAULT_wxUSE_CHOICE
=yes
7246 DEFAULT_wxUSE_CHOICEBOOK
=yes
7247 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7248 DEFAULT_wxUSE_GAUGE
=yes
7249 DEFAULT_wxUSE_GRID
=yes
7250 DEFAULT_wxUSE_IMAGLIST
=yes
7251 DEFAULT_wxUSE_LISTBOOK
=yes
7252 DEFAULT_wxUSE_LISTBOX
=yes
7253 DEFAULT_wxUSE_LISTCTRL
=yes
7254 DEFAULT_wxUSE_NOTEBOOK
=yes
7255 DEFAULT_wxUSE_RADIOBOX
=yes
7256 DEFAULT_wxUSE_RADIOBTN
=yes
7257 DEFAULT_wxUSE_SASH
=yes
7258 DEFAULT_wxUSE_SCROLLBAR
=yes
7259 DEFAULT_wxUSE_SLIDER
=yes
7260 DEFAULT_wxUSE_SPINBTN
=yes
7261 DEFAULT_wxUSE_SPINCTRL
=yes
7262 DEFAULT_wxUSE_SPLITTER
=yes
7263 DEFAULT_wxUSE_STATBMP
=yes
7264 DEFAULT_wxUSE_STATBOX
=yes
7265 DEFAULT_wxUSE_STATLINE
=yes
7266 DEFAULT_wxUSE_STATUSBAR
=yes
7267 DEFAULT_wxUSE_TAB_DIALOG
=yes
7268 DEFAULT_wxUSE_TOGGLEBTN
=yes
7269 DEFAULT_wxUSE_TOOLBAR
=yes
7270 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7271 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7272 DEFAULT_wxUSE_TOOLTIPS
=yes
7273 DEFAULT_wxUSE_TREECTRL
=yes
7274 DEFAULT_wxUSE_POPUPWIN
=yes
7275 DEFAULT_wxUSE_TIPWINDOW
=yes
7276 elif test "$wxUSE_CONTROLS" = "no"; then
7277 DEFAULT_wxUSE_ACCEL
=no
7278 DEFAULT_wxUSE_BMPBUTTON
=no
7279 DEFAULT_wxUSE_BUTTON
=no
7280 DEFAULT_wxUSE_CALCTRL
=no
7281 DEFAULT_wxUSE_CARET
=no
7282 DEFAULT_wxUSE_COMBOBOX
=no
7283 DEFAULT_wxUSE_CHECKBOX
=no
7284 DEFAULT_wxUSE_CHECKLISTBOX
=no
7285 DEFAULT_wxUSE_CHOICE
=no
7286 DEFAULT_wxUSE_CHOICEBOOK
=no
7287 DEFAULT_wxUSE_DATEPICKCTRL
=no
7288 DEFAULT_wxUSE_GAUGE
=no
7289 DEFAULT_wxUSE_GRID
=no
7290 DEFAULT_wxUSE_IMAGLIST
=no
7291 DEFAULT_wxUSE_LISTBOOK
=no
7292 DEFAULT_wxUSE_LISTBOX
=no
7293 DEFAULT_wxUSE_LISTCTRL
=no
7294 DEFAULT_wxUSE_NOTEBOOK
=no
7295 DEFAULT_wxUSE_RADIOBOX
=no
7296 DEFAULT_wxUSE_RADIOBTN
=no
7297 DEFAULT_wxUSE_SASH
=no
7298 DEFAULT_wxUSE_SCROLLBAR
=no
7299 DEFAULT_wxUSE_SLIDER
=no
7300 DEFAULT_wxUSE_SPINBTN
=no
7301 DEFAULT_wxUSE_SPINCTRL
=no
7302 DEFAULT_wxUSE_SPLITTER
=no
7303 DEFAULT_wxUSE_STATBMP
=no
7304 DEFAULT_wxUSE_STATBOX
=no
7305 DEFAULT_wxUSE_STATLINE
=no
7306 DEFAULT_wxUSE_STATUSBAR
=no
7307 DEFAULT_wxUSE_TAB_DIALOG
=no
7308 DEFAULT_wxUSE_TOGGLEBTN
=no
7309 DEFAULT_wxUSE_TOOLBAR
=no
7310 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7311 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7312 DEFAULT_wxUSE_TOOLTIPS
=no
7313 DEFAULT_wxUSE_TREECTRL
=no
7314 DEFAULT_wxUSE_POPUPWIN
=no
7315 DEFAULT_wxUSE_TIPWINDOW
=no
7320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7321 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7323 # Check whether --enable-accel or --disable-accel was given.
7324 if test "${enable_accel+set}" = set; then
7325 enableval
="$enable_accel"
7327 if test "$enableval" = yes; then
7328 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7330 ac_cv_use_accel
='wxUSE_ACCEL=no'
7335 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x
; then
7337 eval "DEFAULT_$LINE"
7342 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7346 eval "$ac_cv_use_accel"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7351 if test "$wxUSE_ACCEL" = yes; then
7352 echo "$as_me:$LINENO: result: yes" >&5
7353 echo "${ECHO_T}yes" >&6
7355 echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6
7361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7362 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7364 # Check whether --enable-button or --disable-button was given.
7365 if test "${enable_button+set}" = set; then
7366 enableval
="$enable_button"
7368 if test "$enableval" = yes; then
7369 ac_cv_use_button
='wxUSE_BUTTON=yes'
7371 ac_cv_use_button
='wxUSE_BUTTON=no'
7376 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x
; then
7378 eval "DEFAULT_$LINE"
7383 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7387 eval "$ac_cv_use_button"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7392 if test "$wxUSE_BUTTON" = yes; then
7393 echo "$as_me:$LINENO: result: yes" >&5
7394 echo "${ECHO_T}yes" >&6
7396 echo "$as_me:$LINENO: result: no" >&5
7397 echo "${ECHO_T}no" >&6
7402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7405 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7406 if test "${enable_bmpbutton+set}" = set; then
7407 enableval
="$enable_bmpbutton"
7409 if test "$enableval" = yes; then
7410 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7412 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7417 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x
; then
7419 eval "DEFAULT_$LINE"
7424 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7428 eval "$ac_cv_use_bmpbutton"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7433 if test "$wxUSE_BMPBUTTON" = yes; then
7434 echo "$as_me:$LINENO: result: yes" >&5
7435 echo "${ECHO_T}yes" >&6
7437 echo "$as_me:$LINENO: result: no" >&5
7438 echo "${ECHO_T}no" >&6
7443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7446 # Check whether --enable-calendar or --disable-calendar was given.
7447 if test "${enable_calendar+set}" = set; then
7448 enableval
="$enable_calendar"
7450 if test "$enableval" = yes; then
7451 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7453 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7458 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x
; then
7460 eval "DEFAULT_$LINE"
7465 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7469 eval "$ac_cv_use_calendar"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7474 if test "$wxUSE_CALCTRL" = yes; then
7475 echo "$as_me:$LINENO: result: yes" >&5
7476 echo "${ECHO_T}yes" >&6
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7487 # Check whether --enable-caret or --disable-caret was given.
7488 if test "${enable_caret+set}" = set; then
7489 enableval
="$enable_caret"
7491 if test "$enableval" = yes; then
7492 ac_cv_use_caret
='wxUSE_CARET=yes'
7494 ac_cv_use_caret
='wxUSE_CARET=no'
7499 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x
; then
7501 eval "DEFAULT_$LINE"
7506 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7510 eval "$ac_cv_use_caret"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7515 if test "$wxUSE_CARET" = yes; then
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7519 echo "$as_me:$LINENO: result: no" >&5
7520 echo "${ECHO_T}no" >&6
7525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7528 # Check whether --enable-checkbox or --disable-checkbox was given.
7529 if test "${enable_checkbox+set}" = set; then
7530 enableval
="$enable_checkbox"
7532 if test "$enableval" = yes; then
7533 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7535 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7540 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x
; then
7542 eval "DEFAULT_$LINE"
7547 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7551 eval "$ac_cv_use_checkbox"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7556 if test "$wxUSE_CHECKBOX" = yes; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7560 echo "$as_me:$LINENO: result: no" >&5
7561 echo "${ECHO_T}no" >&6
7566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7569 # Check whether --enable-checklst or --disable-checklst was given.
7570 if test "${enable_checklst+set}" = set; then
7571 enableval
="$enable_checklst"
7573 if test "$enableval" = yes; then
7574 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7576 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7581 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7582 if test "x$LINE" != x
; then
7583 eval "DEFAULT_$LINE"
7588 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7592 eval "$ac_cv_use_checklst"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7597 if test "$wxUSE_CHECKLST" = yes; then
7598 echo "$as_me:$LINENO: result: yes" >&5
7599 echo "${ECHO_T}yes" >&6
7601 echo "$as_me:$LINENO: result: no" >&5
7602 echo "${ECHO_T}no" >&6
7607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7610 # Check whether --enable-choice or --disable-choice was given.
7611 if test "${enable_choice+set}" = set; then
7612 enableval
="$enable_choice"
7614 if test "$enableval" = yes; then
7615 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7617 ac_cv_use_choice
='wxUSE_CHOICE=no'
7622 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x
; then
7624 eval "DEFAULT_$LINE"
7629 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7633 eval "$ac_cv_use_choice"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7638 if test "$wxUSE_CHOICE" = yes; then
7639 echo "$as_me:$LINENO: result: yes" >&5
7640 echo "${ECHO_T}yes" >&6
7642 echo "$as_me:$LINENO: result: no" >&5
7643 echo "${ECHO_T}no" >&6
7648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7651 # Check whether --enable-choicebook or --disable-choicebook was given.
7652 if test "${enable_choicebook+set}" = set; then
7653 enableval
="$enable_choicebook"
7655 if test "$enableval" = yes; then
7656 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7658 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7663 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x
; then
7665 eval "DEFAULT_$LINE"
7670 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7674 eval "$ac_cv_use_choicebook"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7679 if test "$wxUSE_CHOICEBOOK" = yes; then
7680 echo "$as_me:$LINENO: result: yes" >&5
7681 echo "${ECHO_T}yes" >&6
7683 echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6
7689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7692 # Check whether --enable-combobox or --disable-combobox was given.
7693 if test "${enable_combobox+set}" = set; then
7694 enableval
="$enable_combobox"
7696 if test "$enableval" = yes; then
7697 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7699 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7704 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x
; then
7706 eval "DEFAULT_$LINE"
7711 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7715 eval "$ac_cv_use_combobox"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7720 if test "$wxUSE_COMBOBOX" = yes; then
7721 echo "$as_me:$LINENO: result: yes" >&5
7722 echo "${ECHO_T}yes" >&6
7724 echo "$as_me:$LINENO: result: no" >&5
7725 echo "${ECHO_T}no" >&6
7730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7733 # Check whether --enable-datepick or --disable-datepick was given.
7734 if test "${enable_datepick+set}" = set; then
7735 enableval
="$enable_datepick"
7737 if test "$enableval" = yes; then
7738 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7740 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7745 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7746 if test "x$LINE" != x
; then
7747 eval "DEFAULT_$LINE"
7752 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7756 eval "$ac_cv_use_datepick"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7761 if test "$wxUSE_DATEPICKCTRL" = yes; then
7762 echo "$as_me:$LINENO: result: yes" >&5
7763 echo "${ECHO_T}yes" >&6
7765 echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6
7771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7774 # Check whether --enable-display or --disable-display was given.
7775 if test "${enable_display+set}" = set; then
7776 enableval
="$enable_display"
7778 if test "$enableval" = yes; then
7779 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7781 ac_cv_use_display
='wxUSE_DISPLAY=no'
7786 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x
; then
7788 eval "DEFAULT_$LINE"
7793 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7797 eval "$ac_cv_use_display"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7802 if test "$wxUSE_DISPLAY" = yes; then
7803 echo "$as_me:$LINENO: result: yes" >&5
7804 echo "${ECHO_T}yes" >&6
7806 echo "$as_me:$LINENO: result: no" >&5
7807 echo "${ECHO_T}no" >&6
7812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7815 # Check whether --enable-gauge or --disable-gauge was given.
7816 if test "${enable_gauge+set}" = set; then
7817 enableval
="$enable_gauge"
7819 if test "$enableval" = yes; then
7820 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7822 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7827 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x
; then
7829 eval "DEFAULT_$LINE"
7834 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7838 eval "$ac_cv_use_gauge"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7843 if test "$wxUSE_GAUGE" = yes; then
7844 echo "$as_me:$LINENO: result: yes" >&5
7845 echo "${ECHO_T}yes" >&6
7847 echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6
7853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7856 # Check whether --enable-grid or --disable-grid was given.
7857 if test "${enable_grid+set}" = set; then
7858 enableval
="$enable_grid"
7860 if test "$enableval" = yes; then
7861 ac_cv_use_grid
='wxUSE_GRID=yes'
7863 ac_cv_use_grid
='wxUSE_GRID=no'
7868 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x
; then
7870 eval "DEFAULT_$LINE"
7875 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7879 eval "$ac_cv_use_grid"
7880 if test "$no_cache" != 1; then
7881 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7884 if test "$wxUSE_GRID" = yes; then
7885 echo "$as_me:$LINENO: result: yes" >&5
7886 echo "${ECHO_T}yes" >&6
7888 echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6
7894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7895 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7897 # Check whether --enable-imaglist or --disable-imaglist was given.
7898 if test "${enable_imaglist+set}" = set; then
7899 enableval
="$enable_imaglist"
7901 if test "$enableval" = yes; then
7902 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7904 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7909 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7910 if test "x$LINE" != x
; then
7911 eval "DEFAULT_$LINE"
7916 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7920 eval "$ac_cv_use_imaglist"
7921 if test "$no_cache" != 1; then
7922 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7925 if test "$wxUSE_IMAGLIST" = yes; then
7926 echo "$as_me:$LINENO: result: yes" >&5
7927 echo "${ECHO_T}yes" >&6
7929 echo "$as_me:$LINENO: result: no" >&5
7930 echo "${ECHO_T}no" >&6
7935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7936 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7938 # Check whether --enable-listbook or --disable-listbook was given.
7939 if test "${enable_listbook+set}" = set; then
7940 enableval
="$enable_listbook"
7942 if test "$enableval" = yes; then
7943 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7945 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7950 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7951 if test "x$LINE" != x
; then
7952 eval "DEFAULT_$LINE"
7957 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7961 eval "$ac_cv_use_listbook"
7962 if test "$no_cache" != 1; then
7963 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7966 if test "$wxUSE_LISTBOOK" = yes; then
7967 echo "$as_me:$LINENO: result: yes" >&5
7968 echo "${ECHO_T}yes" >&6
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7979 # Check whether --enable-listbox or --disable-listbox was given.
7980 if test "${enable_listbox+set}" = set; then
7981 enableval
="$enable_listbox"
7983 if test "$enableval" = yes; then
7984 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7986 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7991 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x
; then
7993 eval "DEFAULT_$LINE"
7998 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8002 eval "$ac_cv_use_listbox"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8007 if test "$wxUSE_LISTBOX" = yes; then
8008 echo "$as_me:$LINENO: result: yes" >&5
8009 echo "${ECHO_T}yes" >&6
8011 echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6
8017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8020 # Check whether --enable-listctrl or --disable-listctrl was given.
8021 if test "${enable_listctrl+set}" = set; then
8022 enableval
="$enable_listctrl"
8024 if test "$enableval" = yes; then
8025 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8027 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8032 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x
; then
8034 eval "DEFAULT_$LINE"
8039 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8043 eval "$ac_cv_use_listctrl"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8048 if test "$wxUSE_LISTCTRL" = yes; then
8049 echo "$as_me:$LINENO: result: yes" >&5
8050 echo "${ECHO_T}yes" >&6
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8061 # Check whether --enable-notebook or --disable-notebook was given.
8062 if test "${enable_notebook+set}" = set; then
8063 enableval
="$enable_notebook"
8065 if test "$enableval" = yes; then
8066 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8068 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8073 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x
; then
8075 eval "DEFAULT_$LINE"
8080 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8084 eval "$ac_cv_use_notebook"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8089 if test "$wxUSE_NOTEBOOK" = yes; then
8090 echo "$as_me:$LINENO: result: yes" >&5
8091 echo "${ECHO_T}yes" >&6
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8102 # Check whether --enable-radiobox or --disable-radiobox was given.
8103 if test "${enable_radiobox+set}" = set; then
8104 enableval
="$enable_radiobox"
8106 if test "$enableval" = yes; then
8107 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8109 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8114 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x
; then
8116 eval "DEFAULT_$LINE"
8121 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8125 eval "$ac_cv_use_radiobox"
8126 if test "$no_cache" != 1; then
8127 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8130 if test "$wxUSE_RADIOBOX" = yes; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8134 echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8143 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8144 if test "${enable_radiobtn+set}" = set; then
8145 enableval
="$enable_radiobtn"
8147 if test "$enableval" = yes; then
8148 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8150 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8155 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x
; then
8157 eval "DEFAULT_$LINE"
8162 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8166 eval "$ac_cv_use_radiobtn"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8171 if test "$wxUSE_RADIOBTN" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8184 # Check whether --enable-sash or --disable-sash was given.
8185 if test "${enable_sash+set}" = set; then
8186 enableval
="$enable_sash"
8188 if test "$enableval" = yes; then
8189 ac_cv_use_sash
='wxUSE_SASH=yes'
8191 ac_cv_use_sash
='wxUSE_SASH=no'
8196 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x
; then
8198 eval "DEFAULT_$LINE"
8203 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8207 eval "$ac_cv_use_sash"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8212 if test "$wxUSE_SASH" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8225 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8226 if test "${enable_scrollbar+set}" = set; then
8227 enableval
="$enable_scrollbar"
8229 if test "$enableval" = yes; then
8230 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8232 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8237 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x
; then
8239 eval "DEFAULT_$LINE"
8244 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8248 eval "$ac_cv_use_scrollbar"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8253 if test "$wxUSE_SCROLLBAR" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8266 # Check whether --enable-slider or --disable-slider was given.
8267 if test "${enable_slider+set}" = set; then
8268 enableval
="$enable_slider"
8270 if test "$enableval" = yes; then
8271 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8273 ac_cv_use_slider
='wxUSE_SLIDER=no'
8278 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x
; then
8280 eval "DEFAULT_$LINE"
8285 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8289 eval "$ac_cv_use_slider"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8294 if test "$wxUSE_SLIDER" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8307 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8308 if test "${enable_spinbtn+set}" = set; then
8309 enableval
="$enable_spinbtn"
8311 if test "$enableval" = yes; then
8312 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8314 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8319 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x
; then
8321 eval "DEFAULT_$LINE"
8326 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8330 eval "$ac_cv_use_spinbtn"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8335 if test "$wxUSE_SPINBTN" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8348 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8349 if test "${enable_spinctrl+set}" = set; then
8350 enableval
="$enable_spinctrl"
8352 if test "$enableval" = yes; then
8353 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8355 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8360 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x
; then
8362 eval "DEFAULT_$LINE"
8367 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8371 eval "$ac_cv_use_spinctrl"
8372 if test "$no_cache" != 1; then
8373 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8376 if test "$wxUSE_SPINCTRL" = yes; then
8377 echo "$as_me:$LINENO: result: yes" >&5
8378 echo "${ECHO_T}yes" >&6
8380 echo "$as_me:$LINENO: result: no" >&5
8381 echo "${ECHO_T}no" >&6
8386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8387 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8389 # Check whether --enable-splitter or --disable-splitter was given.
8390 if test "${enable_splitter+set}" = set; then
8391 enableval
="$enable_splitter"
8393 if test "$enableval" = yes; then
8394 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8396 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8401 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8402 if test "x$LINE" != x
; then
8403 eval "DEFAULT_$LINE"
8408 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8412 eval "$ac_cv_use_splitter"
8413 if test "$no_cache" != 1; then
8414 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8417 if test "$wxUSE_SPLITTER" = yes; then
8418 echo "$as_me:$LINENO: result: yes" >&5
8419 echo "${ECHO_T}yes" >&6
8421 echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6
8427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8430 # Check whether --enable-statbmp or --disable-statbmp was given.
8431 if test "${enable_statbmp+set}" = set; then
8432 enableval
="$enable_statbmp"
8434 if test "$enableval" = yes; then
8435 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8437 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8442 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8443 if test "x$LINE" != x
; then
8444 eval "DEFAULT_$LINE"
8449 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8453 eval "$ac_cv_use_statbmp"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8458 if test "$wxUSE_STATBMP" = yes; then
8459 echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6
8462 echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6
8468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8471 # Check whether --enable-statbox or --disable-statbox was given.
8472 if test "${enable_statbox+set}" = set; then
8473 enableval
="$enable_statbox"
8475 if test "$enableval" = yes; then
8476 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8478 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8483 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x
; then
8485 eval "DEFAULT_$LINE"
8490 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8494 eval "$ac_cv_use_statbox"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8499 if test "$wxUSE_STATBOX" = yes; then
8500 echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6
8503 echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6
8509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8512 # Check whether --enable-statline or --disable-statline was given.
8513 if test "${enable_statline+set}" = set; then
8514 enableval
="$enable_statline"
8516 if test "$enableval" = yes; then
8517 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8519 ac_cv_use_statline
='wxUSE_STATLINE=no'
8524 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8525 if test "x$LINE" != x
; then
8526 eval "DEFAULT_$LINE"
8531 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8535 eval "$ac_cv_use_statline"
8536 if test "$no_cache" != 1; then
8537 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8540 if test "$wxUSE_STATLINE" = yes; then
8541 echo "$as_me:$LINENO: result: yes" >&5
8542 echo "${ECHO_T}yes" >&6
8544 echo "$as_me:$LINENO: result: no" >&5
8545 echo "${ECHO_T}no" >&6
8550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8553 # Check whether --enable-stattext or --disable-stattext was given.
8554 if test "${enable_stattext+set}" = set; then
8555 enableval
="$enable_stattext"
8557 if test "$enableval" = yes; then
8558 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8560 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8565 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8566 if test "x$LINE" != x
; then
8567 eval "DEFAULT_$LINE"
8572 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8576 eval "$ac_cv_use_stattext"
8577 if test "$no_cache" != 1; then
8578 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8581 if test "$wxUSE_STATTEXT" = yes; then
8582 echo "$as_me:$LINENO: result: yes" >&5
8583 echo "${ECHO_T}yes" >&6
8585 echo "$as_me:$LINENO: result: no" >&5
8586 echo "${ECHO_T}no" >&6
8591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8594 # Check whether --enable-statusbar or --disable-statusbar was given.
8595 if test "${enable_statusbar+set}" = set; then
8596 enableval
="$enable_statusbar"
8598 if test "$enableval" = yes; then
8599 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8601 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8606 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x
; then
8608 eval "DEFAULT_$LINE"
8613 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8617 eval "$ac_cv_use_statusbar"
8618 if test "$no_cache" != 1; then
8619 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8622 if test "$wxUSE_STATUSBAR" = yes; then
8623 echo "$as_me:$LINENO: result: yes" >&5
8624 echo "${ECHO_T}yes" >&6
8626 echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6
8632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8635 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8636 if test "${enable_tabdialog+set}" = set; then
8637 enableval
="$enable_tabdialog"
8639 if test "$enableval" = yes; then
8640 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8642 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8647 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x
; then
8649 eval "DEFAULT_$LINE"
8654 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8658 eval "$ac_cv_use_tabdialog"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8663 if test "$wxUSE_TABDIALOG" = yes; then
8664 echo "$as_me:$LINENO: result: yes" >&5
8665 echo "${ECHO_T}yes" >&6
8667 echo "$as_me:$LINENO: result: no" >&5
8668 echo "${ECHO_T}no" >&6
8673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8676 # Check whether --enable-textctrl or --disable-textctrl was given.
8677 if test "${enable_textctrl+set}" = set; then
8678 enableval
="$enable_textctrl"
8680 if test "$enableval" = yes; then
8681 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8683 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8688 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8689 if test "x$LINE" != x
; then
8690 eval "DEFAULT_$LINE"
8695 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8699 eval "$ac_cv_use_textctrl"
8700 if test "$no_cache" != 1; then
8701 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8704 if test "$wxUSE_TEXTCTRL" = yes; then
8705 echo "$as_me:$LINENO: result: yes" >&5
8706 echo "${ECHO_T}yes" >&6
8708 echo "$as_me:$LINENO: result: no" >&5
8709 echo "${ECHO_T}no" >&6
8714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8717 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8718 if test "${enable_togglebtn+set}" = set; then
8719 enableval
="$enable_togglebtn"
8721 if test "$enableval" = yes; then
8722 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8724 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8729 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x
; then
8731 eval "DEFAULT_$LINE"
8736 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8740 eval "$ac_cv_use_togglebtn"
8741 if test "$no_cache" != 1; then
8742 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8745 if test "$wxUSE_TOGGLEBTN" = yes; then
8746 echo "$as_me:$LINENO: result: yes" >&5
8747 echo "${ECHO_T}yes" >&6
8749 echo "$as_me:$LINENO: result: no" >&5
8750 echo "${ECHO_T}no" >&6
8755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8758 # Check whether --enable-toolbar or --disable-toolbar was given.
8759 if test "${enable_toolbar+set}" = set; then
8760 enableval
="$enable_toolbar"
8762 if test "$enableval" = yes; then
8763 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8765 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8770 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8771 if test "x$LINE" != x
; then
8772 eval "DEFAULT_$LINE"
8777 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8781 eval "$ac_cv_use_toolbar"
8782 if test "$no_cache" != 1; then
8783 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8786 if test "$wxUSE_TOOLBAR" = yes; then
8787 echo "$as_me:$LINENO: result: yes" >&5
8788 echo "${ECHO_T}yes" >&6
8790 echo "$as_me:$LINENO: result: no" >&5
8791 echo "${ECHO_T}no" >&6
8796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8797 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8799 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8800 if test "${enable_tbarnative+set}" = set; then
8801 enableval
="$enable_tbarnative"
8803 if test "$enableval" = yes; then
8804 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8806 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8811 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8812 if test "x$LINE" != x
; then
8813 eval "DEFAULT_$LINE"
8818 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8822 eval "$ac_cv_use_tbarnative"
8823 if test "$no_cache" != 1; then
8824 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8827 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8828 echo "$as_me:$LINENO: result: yes" >&5
8829 echo "${ECHO_T}yes" >&6
8831 echo "$as_me:$LINENO: result: no" >&5
8832 echo "${ECHO_T}no" >&6
8837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8840 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8841 if test "${enable_tbarsmpl+set}" = set; then
8842 enableval
="$enable_tbarsmpl"
8844 if test "$enableval" = yes; then
8845 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8847 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8852 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8853 if test "x$LINE" != x
; then
8854 eval "DEFAULT_$LINE"
8859 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8863 eval "$ac_cv_use_tbarsmpl"
8864 if test "$no_cache" != 1; then
8865 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8868 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8869 echo "$as_me:$LINENO: result: yes" >&5
8870 echo "${ECHO_T}yes" >&6
8872 echo "$as_me:$LINENO: result: no" >&5
8873 echo "${ECHO_T}no" >&6
8878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8881 # Check whether --enable-treectrl or --disable-treectrl was given.
8882 if test "${enable_treectrl+set}" = set; then
8883 enableval
="$enable_treectrl"
8885 if test "$enableval" = yes; then
8886 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8888 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8893 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x
; then
8895 eval "DEFAULT_$LINE"
8900 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8904 eval "$ac_cv_use_treectrl"
8905 if test "$no_cache" != 1; then
8906 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8909 if test "$wxUSE_TREECTRL" = yes; then
8910 echo "$as_me:$LINENO: result: yes" >&5
8911 echo "${ECHO_T}yes" >&6
8913 echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6
8919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8920 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8922 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8923 if test "${enable_tipwindow+set}" = set; then
8924 enableval
="$enable_tipwindow"
8926 if test "$enableval" = yes; then
8927 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8929 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8934 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8935 if test "x$LINE" != x
; then
8936 eval "DEFAULT_$LINE"
8941 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8945 eval "$ac_cv_use_tipwindow"
8946 if test "$no_cache" != 1; then
8947 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8950 if test "$wxUSE_TIPWINDOW" = yes; then
8951 echo "$as_me:$LINENO: result: yes" >&5
8952 echo "${ECHO_T}yes" >&6
8954 echo "$as_me:$LINENO: result: no" >&5
8955 echo "${ECHO_T}no" >&6
8960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8963 # Check whether --enable-popupwin or --disable-popupwin was given.
8964 if test "${enable_popupwin+set}" = set; then
8965 enableval
="$enable_popupwin"
8967 if test "$enableval" = yes; then
8968 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8970 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8975 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8976 if test "x$LINE" != x
; then
8977 eval "DEFAULT_$LINE"
8982 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8986 eval "$ac_cv_use_popupwin"
8987 if test "$no_cache" != 1; then
8988 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8991 if test "$wxUSE_POPUPWIN" = yes; then
8992 echo "$as_me:$LINENO: result: yes" >&5
8993 echo "${ECHO_T}yes" >&6
8995 echo "$as_me:$LINENO: result: no" >&5
8996 echo "${ECHO_T}no" >&6
9003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9006 # Check whether --enable-commondlg or --disable-commondlg was given.
9007 if test "${enable_commondlg+set}" = set; then
9008 enableval
="$enable_commondlg"
9010 if test "$enableval" = yes; then
9011 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9013 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9018 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9019 if test "x$LINE" != x
; then
9020 eval "DEFAULT_$LINE"
9025 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9029 eval "$ac_cv_use_commondlg"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9034 if test "$wxUSE_COMMONDLGS" = yes; then
9035 echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9047 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9048 if test "${enable_choicedlg+set}" = set; then
9049 enableval
="$enable_choicedlg"
9051 if test "$enableval" = yes; then
9052 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9054 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9059 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9060 if test "x$LINE" != x
; then
9061 eval "DEFAULT_$LINE"
9066 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9070 eval "$ac_cv_use_choicedlg"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9075 if test "$wxUSE_CHOICEDLG" = yes; then
9076 echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6
9079 echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6
9085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9088 # Check whether --enable-coldlg or --disable-coldlg was given.
9089 if test "${enable_coldlg+set}" = set; then
9090 enableval
="$enable_coldlg"
9092 if test "$enableval" = yes; then
9093 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9095 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9100 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9101 if test "x$LINE" != x
; then
9102 eval "DEFAULT_$LINE"
9107 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9111 eval "$ac_cv_use_coldlg"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9116 if test "$wxUSE_COLOURDLG" = yes; then
9117 echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6
9120 echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6
9126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9129 # Check whether --enable-filedlg or --disable-filedlg was given.
9130 if test "${enable_filedlg+set}" = set; then
9131 enableval
="$enable_filedlg"
9133 if test "$enableval" = yes; then
9134 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9136 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9141 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9142 if test "x$LINE" != x
; then
9143 eval "DEFAULT_$LINE"
9148 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9152 eval "$ac_cv_use_filedlg"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9157 if test "$wxUSE_FILEDLG" = yes; then
9158 echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6
9161 echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6
9167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9170 # Check whether --enable-finddlg or --disable-finddlg was given.
9171 if test "${enable_finddlg+set}" = set; then
9172 enableval
="$enable_finddlg"
9174 if test "$enableval" = yes; then
9175 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9177 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9182 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9183 if test "x$LINE" != x
; then
9184 eval "DEFAULT_$LINE"
9189 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9193 eval "$ac_cv_use_finddlg"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9198 if test "$wxUSE_FINDREPLDLG" = yes; then
9199 echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6
9202 echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6
9208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9211 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9212 if test "${enable_fontdlg+set}" = set; then
9213 enableval
="$enable_fontdlg"
9215 if test "$enableval" = yes; then
9216 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9218 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9223 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9224 if test "x$LINE" != x
; then
9225 eval "DEFAULT_$LINE"
9230 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9234 eval "$ac_cv_use_fontdlg"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9239 if test "$wxUSE_FONTDLG" = yes; then
9240 echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6
9243 echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6
9249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9252 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9253 if test "${enable_dirdlg+set}" = set; then
9254 enableval
="$enable_dirdlg"
9256 if test "$enableval" = yes; then
9257 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9259 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9264 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9265 if test "x$LINE" != x
; then
9266 eval "DEFAULT_$LINE"
9271 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9275 eval "$ac_cv_use_dirdlg"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9280 if test "$wxUSE_DIRDLG" = yes; then
9281 echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6
9284 echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6
9290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9293 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9294 if test "${enable_msgdlg+set}" = set; then
9295 enableval
="$enable_msgdlg"
9297 if test "$enableval" = yes; then
9298 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9300 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9305 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9306 if test "x$LINE" != x
; then
9307 eval "DEFAULT_$LINE"
9312 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9316 eval "$ac_cv_use_msgdlg"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9321 if test "$wxUSE_MSGDLG" = yes; then
9322 echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6
9325 echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6
9331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9334 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9335 if test "${enable_numberdlg+set}" = set; then
9336 enableval
="$enable_numberdlg"
9338 if test "$enableval" = yes; then
9339 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9341 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9346 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9347 if test "x$LINE" != x
; then
9348 eval "DEFAULT_$LINE"
9353 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9357 eval "$ac_cv_use_numberdlg"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9362 if test "$wxUSE_NUMBERDLG" = yes; then
9363 echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6
9366 echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6
9372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9375 # Check whether --enable-splash or --disable-splash was given.
9376 if test "${enable_splash+set}" = set; then
9377 enableval
="$enable_splash"
9379 if test "$enableval" = yes; then
9380 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9382 ac_cv_use_splash
='wxUSE_SPLASH=no'
9387 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9388 if test "x$LINE" != x
; then
9389 eval "DEFAULT_$LINE"
9394 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9398 eval "$ac_cv_use_splash"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9403 if test "$wxUSE_SPLASH" = yes; then
9404 echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6
9407 echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6
9413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9416 # Check whether --enable-textdlg or --disable-textdlg was given.
9417 if test "${enable_textdlg+set}" = set; then
9418 enableval
="$enable_textdlg"
9420 if test "$enableval" = yes; then
9421 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9423 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9428 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9429 if test "x$LINE" != x
; then
9430 eval "DEFAULT_$LINE"
9435 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9439 eval "$ac_cv_use_textdlg"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9444 if test "$wxUSE_TEXTDLG" = yes; then
9445 echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6
9448 echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6
9454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9457 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9458 if test "${enable_tipdlg+set}" = set; then
9459 enableval
="$enable_tipdlg"
9461 if test "$enableval" = yes; then
9462 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9464 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9469 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9470 if test "x$LINE" != x
; then
9471 eval "DEFAULT_$LINE"
9476 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9480 eval "$ac_cv_use_tipdlg"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9485 if test "$wxUSE_STARTUP_TIPS" = yes; then
9486 echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6
9489 echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6
9495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9498 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9499 if test "${enable_progressdlg+set}" = set; then
9500 enableval
="$enable_progressdlg"
9502 if test "$enableval" = yes; then
9503 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9505 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9510 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9511 if test "x$LINE" != x
; then
9512 eval "DEFAULT_$LINE"
9517 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9521 eval "$ac_cv_use_progressdlg"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9526 if test "$wxUSE_PROGRESSDLG" = yes; then
9527 echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6
9530 echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6
9536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9539 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9540 if test "${enable_wizarddlg+set}" = set; then
9541 enableval
="$enable_wizarddlg"
9543 if test "$enableval" = yes; then
9544 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9546 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9551 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9552 if test "x$LINE" != x
; then
9553 eval "DEFAULT_$LINE"
9558 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9562 eval "$ac_cv_use_wizarddlg"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9567 if test "$wxUSE_WIZARDDLG" = yes; then
9568 echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6
9571 echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6
9579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9580 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9582 # Check whether --enable-menus or --disable-menus was given.
9583 if test "${enable_menus+set}" = set; then
9584 enableval
="$enable_menus"
9586 if test "$enableval" = yes; then
9587 ac_cv_use_menus
='wxUSE_MENUS=yes'
9589 ac_cv_use_menus
='wxUSE_MENUS=no'
9594 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x
; then
9596 eval "DEFAULT_$LINE"
9601 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9605 eval "$ac_cv_use_menus"
9606 if test "$no_cache" != 1; then
9607 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9610 if test "$wxUSE_MENUS" = yes; then
9611 echo "$as_me:$LINENO: result: yes" >&5
9612 echo "${ECHO_T}yes" >&6
9614 echo "$as_me:$LINENO: result: no" >&5
9615 echo "${ECHO_T}no" >&6
9620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9621 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9623 # Check whether --enable-miniframe or --disable-miniframe was given.
9624 if test "${enable_miniframe+set}" = set; then
9625 enableval
="$enable_miniframe"
9627 if test "$enableval" = yes; then
9628 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9630 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9635 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x
; then
9637 eval "DEFAULT_$LINE"
9642 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9646 eval "$ac_cv_use_miniframe"
9647 if test "$no_cache" != 1; then
9648 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9651 if test "$wxUSE_MINIFRAME" = yes; then
9652 echo "$as_me:$LINENO: result: yes" >&5
9653 echo "${ECHO_T}yes" >&6
9655 echo "$as_me:$LINENO: result: no" >&5
9656 echo "${ECHO_T}no" >&6
9661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9664 # Check whether --enable-tooltips or --disable-tooltips was given.
9665 if test "${enable_tooltips+set}" = set; then
9666 enableval
="$enable_tooltips"
9668 if test "$enableval" = yes; then
9669 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9671 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9676 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x
; then
9678 eval "DEFAULT_$LINE"
9683 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9687 eval "$ac_cv_use_tooltips"
9688 if test "$no_cache" != 1; then
9689 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9692 if test "$wxUSE_TOOLTIPS" = yes; then
9693 echo "$as_me:$LINENO: result: yes" >&5
9694 echo "${ECHO_T}yes" >&6
9696 echo "$as_me:$LINENO: result: no" >&5
9697 echo "${ECHO_T}no" >&6
9702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9703 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9705 # Check whether --enable-splines or --disable-splines was given.
9706 if test "${enable_splines+set}" = set; then
9707 enableval
="$enable_splines"
9709 if test "$enableval" = yes; then
9710 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9712 ac_cv_use_splines
='wxUSE_SPLINES=no'
9717 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x
; then
9719 eval "DEFAULT_$LINE"
9724 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9728 eval "$ac_cv_use_splines"
9729 if test "$no_cache" != 1; then
9730 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9733 if test "$wxUSE_SPLINES" = yes; then
9734 echo "$as_me:$LINENO: result: yes" >&5
9735 echo "${ECHO_T}yes" >&6
9737 echo "$as_me:$LINENO: result: no" >&5
9738 echo "${ECHO_T}no" >&6
9743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9744 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9746 # Check whether --enable-validators or --disable-validators was given.
9747 if test "${enable_validators+set}" = set; then
9748 enableval
="$enable_validators"
9750 if test "$enableval" = yes; then
9751 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9753 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9758 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x
; then
9760 eval "DEFAULT_$LINE"
9765 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9769 eval "$ac_cv_use_validators"
9770 if test "$no_cache" != 1; then
9771 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9774 if test "$wxUSE_VALIDATORS" = yes; then
9775 echo "$as_me:$LINENO: result: yes" >&5
9776 echo "${ECHO_T}yes" >&6
9778 echo "$as_me:$LINENO: result: no" >&5
9779 echo "${ECHO_T}no" >&6
9784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9785 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9787 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9788 if test "${enable_busyinfo+set}" = set; then
9789 enableval
="$enable_busyinfo"
9791 if test "$enableval" = yes; then
9792 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9794 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9799 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x
; then
9801 eval "DEFAULT_$LINE"
9806 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9810 eval "$ac_cv_use_busyinfo"
9811 if test "$no_cache" != 1; then
9812 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9815 if test "$wxUSE_BUSYINFO" = yes; then
9816 echo "$as_me:$LINENO: result: yes" >&5
9817 echo "${ECHO_T}yes" >&6
9819 echo "$as_me:$LINENO: result: no" >&5
9820 echo "${ECHO_T}no" >&6
9825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9828 # Check whether --enable-joystick or --disable-joystick was given.
9829 if test "${enable_joystick+set}" = set; then
9830 enableval
="$enable_joystick"
9832 if test "$enableval" = yes; then
9833 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9835 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9840 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x
; then
9842 eval "DEFAULT_$LINE"
9847 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9851 eval "$ac_cv_use_joystick"
9852 if test "$no_cache" != 1; then
9853 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9856 if test "$wxUSE_JOYSTICK" = yes; then
9857 echo "$as_me:$LINENO: result: yes" >&5
9858 echo "${ECHO_T}yes" >&6
9860 echo "$as_me:$LINENO: result: no" >&5
9861 echo "${ECHO_T}no" >&6
9866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9867 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9869 # Check whether --enable-metafile or --disable-metafile was given.
9870 if test "${enable_metafile+set}" = set; then
9871 enableval
="$enable_metafile"
9873 if test "$enableval" = yes; then
9874 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9876 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9881 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x
; then
9883 eval "DEFAULT_$LINE"
9888 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9892 eval "$ac_cv_use_metafile"
9893 if test "$no_cache" != 1; then
9894 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9897 if test "$wxUSE_METAFILE" = yes; then
9898 echo "$as_me:$LINENO: result: yes" >&5
9899 echo "${ECHO_T}yes" >&6
9901 echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6
9907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9910 # Check whether --enable-dragimage or --disable-dragimage was given.
9911 if test "${enable_dragimage+set}" = set; then
9912 enableval
="$enable_dragimage"
9914 if test "$enableval" = yes; then
9915 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9917 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9922 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x
; then
9924 eval "DEFAULT_$LINE"
9929 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9933 eval "$ac_cv_use_dragimage"
9934 if test "$no_cache" != 1; then
9935 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9938 if test "$wxUSE_DRAGIMAGE" = yes; then
9939 echo "$as_me:$LINENO: result: yes" >&5
9940 echo "${ECHO_T}yes" >&6
9942 echo "$as_me:$LINENO: result: no" >&5
9943 echo "${ECHO_T}no" >&6
9948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9951 # Check whether --enable-accessibility or --disable-accessibility was given.
9952 if test "${enable_accessibility+set}" = set; then
9953 enableval
="$enable_accessibility"
9955 if test "$enableval" = yes; then
9956 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9958 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9963 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x
; then
9965 eval "DEFAULT_$LINE"
9970 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9974 eval "$ac_cv_use_accessibility"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9979 if test "$wxUSE_ACCESSIBILITY" = yes; then
9980 echo "$as_me:$LINENO: result: yes" >&5
9981 echo "${ECHO_T}yes" >&6
9983 echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9994 # Check whether --enable-palette or --disable-palette was given.
9995 if test "${enable_palette+set}" = set; then
9996 enableval
="$enable_palette"
9998 if test "$enableval" = yes; then
9999 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10001 ac_cv_use_palette
='wxUSE_PALETTE=no'
10006 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x
; then
10008 eval "DEFAULT_$LINE"
10013 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10017 eval "$ac_cv_use_palette"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10022 if test "$wxUSE_PALETTE" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10033 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10035 # Check whether --enable-image or --disable-image was given.
10036 if test "${enable_image+set}" = set; then
10037 enableval
="$enable_image"
10039 if test "$enableval" = yes; then
10040 ac_cv_use_image
='wxUSE_IMAGE=yes'
10042 ac_cv_use_image
='wxUSE_IMAGE=no'
10047 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10048 if test "x$LINE" != x
; then
10049 eval "DEFAULT_$LINE"
10054 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10058 eval "$ac_cv_use_image"
10059 if test "$no_cache" != 1; then
10060 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10063 if test "$wxUSE_IMAGE" = yes; then
10064 echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6
10067 echo "$as_me:$LINENO: result: no" >&5
10068 echo "${ECHO_T}no" >&6
10073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10076 # Check whether --enable-gif or --disable-gif was given.
10077 if test "${enable_gif+set}" = set; then
10078 enableval
="$enable_gif"
10080 if test "$enableval" = yes; then
10081 ac_cv_use_gif
='wxUSE_GIF=yes'
10083 ac_cv_use_gif
='wxUSE_GIF=no'
10088 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x
; then
10090 eval "DEFAULT_$LINE"
10095 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10099 eval "$ac_cv_use_gif"
10100 if test "$no_cache" != 1; then
10101 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10104 if test "$wxUSE_GIF" = yes; then
10105 echo "$as_me:$LINENO: result: yes" >&5
10106 echo "${ECHO_T}yes" >&6
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10117 # Check whether --enable-pcx or --disable-pcx was given.
10118 if test "${enable_pcx+set}" = set; then
10119 enableval
="$enable_pcx"
10121 if test "$enableval" = yes; then
10122 ac_cv_use_pcx
='wxUSE_PCX=yes'
10124 ac_cv_use_pcx
='wxUSE_PCX=no'
10129 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10130 if test "x$LINE" != x
; then
10131 eval "DEFAULT_$LINE"
10136 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10140 eval "$ac_cv_use_pcx"
10141 if test "$no_cache" != 1; then
10142 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10145 if test "$wxUSE_PCX" = yes; then
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10149 echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10158 # Check whether --enable-iff or --disable-iff was given.
10159 if test "${enable_iff+set}" = set; then
10160 enableval
="$enable_iff"
10162 if test "$enableval" = yes; then
10163 ac_cv_use_iff
='wxUSE_IFF=yes'
10165 ac_cv_use_iff
='wxUSE_IFF=no'
10170 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x
; then
10172 eval "DEFAULT_$LINE"
10177 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10181 eval "$ac_cv_use_iff"
10182 if test "$no_cache" != 1; then
10183 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10186 if test "$wxUSE_IFF" = yes; then
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10190 echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6
10196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10199 # Check whether --enable-pnm or --disable-pnm was given.
10200 if test "${enable_pnm+set}" = set; then
10201 enableval
="$enable_pnm"
10203 if test "$enableval" = yes; then
10204 ac_cv_use_pnm
='wxUSE_PNM=yes'
10206 ac_cv_use_pnm
='wxUSE_PNM=no'
10211 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10212 if test "x$LINE" != x
; then
10213 eval "DEFAULT_$LINE"
10218 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10222 eval "$ac_cv_use_pnm"
10223 if test "$no_cache" != 1; then
10224 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10227 if test "$wxUSE_PNM" = yes; then
10228 echo "$as_me:$LINENO: result: yes" >&5
10229 echo "${ECHO_T}yes" >&6
10231 echo "$as_me:$LINENO: result: no" >&5
10232 echo "${ECHO_T}no" >&6
10237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10238 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10240 # Check whether --enable-xpm or --disable-xpm was given.
10241 if test "${enable_xpm+set}" = set; then
10242 enableval
="$enable_xpm"
10244 if test "$enableval" = yes; then
10245 ac_cv_use_xpm
='wxUSE_XPM=yes'
10247 ac_cv_use_xpm
='wxUSE_XPM=no'
10252 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10253 if test "x$LINE" != x
; then
10254 eval "DEFAULT_$LINE"
10259 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10263 eval "$ac_cv_use_xpm"
10264 if test "$no_cache" != 1; then
10265 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10268 if test "$wxUSE_XPM" = yes; then
10269 echo "$as_me:$LINENO: result: yes" >&5
10270 echo "${ECHO_T}yes" >&6
10272 echo "$as_me:$LINENO: result: no" >&5
10273 echo "${ECHO_T}no" >&6
10278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10279 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10281 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10282 if test "${enable_ico_cur+set}" = set; then
10283 enableval
="$enable_ico_cur"
10285 if test "$enableval" = yes; then
10286 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10288 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10293 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10294 if test "x$LINE" != x
; then
10295 eval "DEFAULT_$LINE"
10300 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10304 eval "$ac_cv_use_ico_cur"
10305 if test "$no_cache" != 1; then
10306 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10309 if test "$wxUSE_ICO_CUR" = yes; then
10310 echo "$as_me:$LINENO: result: yes" >&5
10311 echo "${ECHO_T}yes" >&6
10313 echo "$as_me:$LINENO: result: no" >&5
10314 echo "${ECHO_T}no" >&6
10322 # Check whether --with-flavour or --without-flavour was given.
10323 if test "${with_flavour+set}" = set; then
10324 withval
="$with_flavour"
10325 WX_FLAVOUR
="$withval"
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10334 # Check whether --enable-official_build or --disable-official_build was given.
10335 if test "${enable_official_build+set}" = set; then
10336 enableval
="$enable_official_build"
10338 if test "$enableval" = yes; then
10339 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10341 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10346 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x
; then
10348 eval "DEFAULT_$LINE"
10353 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10357 eval "$ac_cv_use_official_build"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10362 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10370 # Check whether --enable-vendor or --disable-vendor was given.
10371 if test "${enable_vendor+set}" = set; then
10372 enableval
="$enable_vendor"
10373 VENDOR
="$enableval"
10375 if test "x$VENDOR" = "x"; then
10382 echo "saving argument cache $wx_arg_cache_file"
10383 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10387 echo "$as_me:$LINENO: checking for toolkit" >&5
10388 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10390 # In Wine, we need to default to MSW, not GTK or MOTIF
10391 if test "$wxUSE_WINE" = "yes"; then
10392 DEFAULT_DEFAULT_wxUSE_GTK
=0
10393 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10394 DEFAULT_DEFAULT_wxUSE_MSW
=1
10398 if test "$wxUSE_GUI" = "yes"; then
10400 if test "$USE_BEOS" = 1; then
10401 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10402 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10403 { (exit 1); exit 1; }; }
10406 if test "$TOOLKIT_GIVEN" = 1; then
10407 for toolkit
in `echo $ALL_TOOLKITS`; do
10409 eval "value=\$${var}"
10410 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10413 for toolkit
in `echo $ALL_TOOLKITS`; do
10414 if test "$has_toolkit_in_cache" != 1; then
10415 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10417 var
=DEFAULT_wxUSE_
$toolkit
10419 eval "wxUSE_$toolkit=\$${var}"
10423 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10424 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10425 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10428 *-pc-os2_emx | *-pc-os2-emx )
10429 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10432 case "$NUM_TOOLKITS" in
10436 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10437 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10438 { (exit 1); exit 1; }; }
10441 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10442 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10443 { (exit 1); exit 1; }; }
10446 for toolkit
in `echo $ALL_TOOLKITS`; do
10448 eval "value=\$${var}"
10449 if test "x$value" != x
; then
10450 cache_var
=CACHE_
$toolkit
10451 eval "cache=\$${cache_var}"
10452 if test "$cache" = 1; then
10453 echo "$var=$value" >> ${wx_arg_cache_file}
10455 if test "$value" = 1; then
10456 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10457 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10458 echo "${ECHO_T}$toolkit_echo" >&6
10463 if test "x$host_alias" != "x"; then
10464 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10465 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10467 echo "$as_me:$LINENO: result: base only" >&5
10468 echo "${ECHO_T}base only" >&6
10473 doesnt_want_win32
=0
10476 if test "$wxUSE_MSW" = 1 ; then
10479 doesnt_want_win32
=1
10487 if test "$wxUSE_WINE" = "yes"; then
10492 LDFLAGS_GUI
="-mwindows"
10495 if test "$wants_win32" = 1 ; then
10498 cat >>confdefs.h
<<\_ACEOF
10499 #define __WIN32__ 1
10502 cat >>confdefs.h
<<\_ACEOF
10503 #define __WIN95__ 1
10506 cat >>confdefs.h
<<\_ACEOF
10507 #define __WINDOWS__ 1
10510 cat >>confdefs.h
<<\_ACEOF
10511 #define __GNUWIN32__ 1
10514 cat >>confdefs.h
<<\_ACEOF
10518 cat >>confdefs.h
<<\_ACEOF
10519 #define WINVER 0x0400
10523 if test "$doesnt_want_win32" = 1 ; then
10528 if test "$USE_UNIX" = 1 ; then
10530 cat >>confdefs.h
<<\_ACEOF
10537 cat >confcache
<<\_ACEOF
10538 # This file is a shell script that caches the results of configure
10539 # tests run on this system so they can be shared between configure
10540 # scripts and configure runs, see configure's option --config-cache.
10541 # It is not useful on other systems. If it contains results you don't
10542 # want to keep, you may remove or edit it.
10544 # config.status only pays attention to the cache file if you give it
10545 # the --recheck option to rerun configure.
10547 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10548 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10549 # following values.
10553 # The following way of writing the cache mishandles newlines in values,
10554 # but we know of no workaround that is simple, portable, and efficient.
10555 # So, don't put newlines in cache variables' values.
10556 # Ultrix sh set writes to stderr and can't be redirected directly,
10557 # and sets the high bit in the cache file unless we assign to the vars.
10560 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10562 # `set' does not quote correctly, so add quotes (double-quote
10563 # substitution turns \\\\ into \\, and sed turns \\ into \).
10566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10569 # `set' quotes correctly as required by POSIX, so do not add quotes.
10571 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10580 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10582 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10583 if test -w $cache_file; then
10584 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10585 cat confcache
>$cache_file
10587 echo "not updating unwritable cache $cache_file"
10592 if test "$build" != "$host" ; then
10593 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10595 CXX
=$host_alias-c++
10597 RANLIB
=$host_alias-ranlib
10598 DLLTOOL
=$host_alias-dlltool
10599 RESCOMP
=$host_alias-windres
10600 STRIP
=$host_alias-strip
10601 elif test "x$CC" '!=' "x"; then
10602 echo "You set CC, I assume you know what you are doing."
10604 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10605 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10606 { (exit 1); exit 1; }; }
10612 ac_cpp
='$CPP $CPPFLAGS'
10613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10616 if test -n "$ac_tool_prefix"; then
10617 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10618 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10619 echo "$as_me:$LINENO: checking for $ac_word" >&5
10620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10621 if test "${ac_cv_prog_CC+set}" = set; then
10622 echo $ECHO_N "(cached) $ECHO_C" >&6
10624 if test -n "$CC"; then
10625 ac_cv_prog_CC
="$CC" # Let the user override the test.
10627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10628 for as_dir
in $PATH
10631 test -z "$as_dir" && as_dir
=.
10632 for ac_exec_ext
in '' $ac_executable_extensions; do
10633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10634 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10644 if test -n "$CC"; then
10645 echo "$as_me:$LINENO: result: $CC" >&5
10646 echo "${ECHO_T}$CC" >&6
10648 echo "$as_me:$LINENO: result: no" >&5
10649 echo "${ECHO_T}no" >&6
10653 if test -z "$ac_cv_prog_CC"; then
10655 # Extract the first word of "gcc", so it can be a program name with args.
10656 set dummy gcc
; ac_word
=$2
10657 echo "$as_me:$LINENO: checking for $ac_word" >&5
10658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10659 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10660 echo $ECHO_N "(cached) $ECHO_C" >&6
10662 if test -n "$ac_ct_CC"; then
10663 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10666 for as_dir
in $PATH
10669 test -z "$as_dir" && as_dir
=.
10670 for ac_exec_ext
in '' $ac_executable_extensions; do
10671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10672 ac_cv_prog_ac_ct_CC
="gcc"
10673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10681 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10682 if test -n "$ac_ct_CC"; then
10683 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10684 echo "${ECHO_T}$ac_ct_CC" >&6
10686 echo "$as_me:$LINENO: result: no" >&5
10687 echo "${ECHO_T}no" >&6
10692 CC
="$ac_cv_prog_CC"
10695 if test -z "$CC"; then
10696 if test -n "$ac_tool_prefix"; then
10697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10698 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10699 echo "$as_me:$LINENO: checking for $ac_word" >&5
10700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10701 if test "${ac_cv_prog_CC+set}" = set; then
10702 echo $ECHO_N "(cached) $ECHO_C" >&6
10704 if test -n "$CC"; then
10705 ac_cv_prog_CC
="$CC" # Let the user override the test.
10707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10708 for as_dir
in $PATH
10711 test -z "$as_dir" && as_dir
=.
10712 for ac_exec_ext
in '' $ac_executable_extensions; do
10713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10714 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10724 if test -n "$CC"; then
10725 echo "$as_me:$LINENO: result: $CC" >&5
10726 echo "${ECHO_T}$CC" >&6
10728 echo "$as_me:$LINENO: result: no" >&5
10729 echo "${ECHO_T}no" >&6
10733 if test -z "$ac_cv_prog_CC"; then
10735 # Extract the first word of "cc", so it can be a program name with args.
10736 set dummy cc
; ac_word
=$2
10737 echo "$as_me:$LINENO: checking for $ac_word" >&5
10738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10739 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10742 if test -n "$ac_ct_CC"; then
10743 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10746 for as_dir
in $PATH
10749 test -z "$as_dir" && as_dir
=.
10750 for ac_exec_ext
in '' $ac_executable_extensions; do
10751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10752 ac_cv_prog_ac_ct_CC
="cc"
10753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10761 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10762 if test -n "$ac_ct_CC"; then
10763 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10764 echo "${ECHO_T}$ac_ct_CC" >&6
10766 echo "$as_me:$LINENO: result: no" >&5
10767 echo "${ECHO_T}no" >&6
10772 CC
="$ac_cv_prog_CC"
10776 if test -z "$CC"; then
10777 # Extract the first word of "cc", so it can be a program name with args.
10778 set dummy cc
; ac_word
=$2
10779 echo "$as_me:$LINENO: checking for $ac_word" >&5
10780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10781 if test "${ac_cv_prog_CC+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10784 if test -n "$CC"; then
10785 ac_cv_prog_CC
="$CC" # Let the user override the test.
10787 ac_prog_rejected
=no
10788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10789 for as_dir
in $PATH
10792 test -z "$as_dir" && as_dir
=.
10793 for ac_exec_ext
in '' $ac_executable_extensions; do
10794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10796 ac_prog_rejected
=yes
10800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10806 if test $ac_prog_rejected = yes; then
10807 # We found a bogon in the path, so make sure we never use it.
10808 set dummy
$ac_cv_prog_CC
10810 if test $# != 0; then
10811 # We chose a different compiler from the bogus one.
10812 # However, it has the same basename, so the bogon will be chosen
10813 # first if we set CC to just the basename; use the full file name.
10815 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10821 if test -n "$CC"; then
10822 echo "$as_me:$LINENO: result: $CC" >&5
10823 echo "${ECHO_T}$CC" >&6
10825 echo "$as_me:$LINENO: result: no" >&5
10826 echo "${ECHO_T}no" >&6
10830 if test -z "$CC"; then
10831 if test -n "$ac_tool_prefix"; then
10834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10835 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10836 echo "$as_me:$LINENO: checking for $ac_word" >&5
10837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10838 if test "${ac_cv_prog_CC+set}" = set; then
10839 echo $ECHO_N "(cached) $ECHO_C" >&6
10841 if test -n "$CC"; then
10842 ac_cv_prog_CC
="$CC" # Let the user override the test.
10844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10845 for as_dir
in $PATH
10848 test -z "$as_dir" && as_dir
=.
10849 for ac_exec_ext
in '' $ac_executable_extensions; do
10850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10851 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10861 if test -n "$CC"; then
10862 echo "$as_me:$LINENO: result: $CC" >&5
10863 echo "${ECHO_T}$CC" >&6
10865 echo "$as_me:$LINENO: result: no" >&5
10866 echo "${ECHO_T}no" >&6
10869 test -n "$CC" && break
10872 if test -z "$CC"; then
10876 # Extract the first word of "$ac_prog", so it can be a program name with args.
10877 set dummy
$ac_prog; ac_word
=$2
10878 echo "$as_me:$LINENO: checking for $ac_word" >&5
10879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10880 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 if test -n "$ac_ct_CC"; then
10884 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10887 for as_dir
in $PATH
10890 test -z "$as_dir" && as_dir
=.
10891 for ac_exec_ext
in '' $ac_executable_extensions; do
10892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10893 ac_cv_prog_ac_ct_CC
="$ac_prog"
10894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10902 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10903 if test -n "$ac_ct_CC"; then
10904 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10905 echo "${ECHO_T}$ac_ct_CC" >&6
10907 echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6
10911 test -n "$ac_ct_CC" && break
10920 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10921 See \`config.log' for more details." >&5
10922 echo "$as_me: error: no acceptable C compiler found in \$PATH
10923 See \`config.log' for more details." >&2;}
10924 { (exit 1); exit 1; }; }
10926 # Provide some information about the compiler.
10927 echo "$as_me:$LINENO:" \
10928 "checking for C compiler version" >&5
10929 ac_compiler
=`set X $ac_compile; echo $2`
10930 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10931 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); }
10935 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10936 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }
10940 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10941 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); }
10946 cat >conftest.
$ac_ext <<_ACEOF
10949 cat confdefs.h
>>conftest.
$ac_ext
10950 cat >>conftest.
$ac_ext <<_ACEOF
10951 /* end confdefs.h. */
10961 ac_clean_files_save
=$ac_clean_files
10962 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10963 # Try to create an executable without -o first, disregard a.out.
10964 # It will help us diagnose broken compilers, and finding out an intuition
10966 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10967 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10968 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10969 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10970 (eval $ac_link_default) 2>&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); }; then
10974 # Find the output, starting from the most likely. This scheme is
10975 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10978 # Be careful to initialize this variable, since it used to be cached.
10979 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10981 # b.out is created by i960 compilers.
10982 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10984 test -f "$ac_file" || continue
10986 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10989 # This is the source file.
10992 # We found the default executable, but exeext='' is most
10996 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10997 # FIXME: I believe we export ac_cv_exeext for Libtool,
10998 # but it would be cool to find out if it's true. Does anybody
10999 # maintain Libtool? --akim.
11000 export ac_cv_exeext
11007 echo "$as_me: failed program was:" >&5
11008 sed 's/^/| /' conftest.
$ac_ext >&5
11010 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11011 See \`config.log' for more details." >&5
11012 echo "$as_me: error: C compiler cannot create executables
11013 See \`config.log' for more details." >&2;}
11014 { (exit 77); exit 77; }; }
11017 ac_exeext
=$ac_cv_exeext
11018 echo "$as_me:$LINENO: result: $ac_file" >&5
11019 echo "${ECHO_T}$ac_file" >&6
11021 # Check the compiler produces executables we can run. If not, either
11022 # the compiler is broken, or we cross compile.
11023 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11024 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11025 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11026 # If not cross compiling, check that we can run a simple program.
11027 if test "$cross_compiling" != yes; then
11028 if { ac_try
='./$ac_file'
11029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11030 (eval $ac_try) 2>&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }; }; then
11036 if test "$cross_compiling" = maybe
; then
11037 cross_compiling
=yes
11039 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11040 If you meant to cross compile, use \`--host'.
11041 See \`config.log' for more details." >&5
11042 echo "$as_me: error: cannot run C compiled programs.
11043 If you meant to cross compile, use \`--host'.
11044 See \`config.log' for more details." >&2;}
11045 { (exit 1); exit 1; }; }
11049 echo "$as_me:$LINENO: result: yes" >&5
11050 echo "${ECHO_T}yes" >&6
11052 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11053 ac_clean_files
=$ac_clean_files_save
11054 # Check the compiler produces executables we can run. If not, either
11055 # the compiler is broken, or we cross compile.
11056 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11057 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11058 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11059 echo "${ECHO_T}$cross_compiling" >&6
11061 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11062 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11064 (eval $ac_link) 2>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); }; then
11068 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11069 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11070 # work properly (i.e., refer to `conftest.exe'), while it won't with
11072 for ac_file
in conftest.exe conftest conftest.
*; do
11073 test -f "$ac_file" || continue
11075 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11076 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11077 export ac_cv_exeext
11083 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11084 See \`config.log' for more details." >&5
11085 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11086 See \`config.log' for more details." >&2;}
11087 { (exit 1); exit 1; }; }
11090 rm -f conftest
$ac_cv_exeext
11091 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11092 echo "${ECHO_T}$ac_cv_exeext" >&6
11094 rm -f conftest.
$ac_ext
11095 EXEEXT
=$ac_cv_exeext
11097 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11098 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11099 if test "${ac_cv_objext+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11102 cat >conftest.
$ac_ext <<_ACEOF
11105 cat confdefs.h
>>conftest.
$ac_ext
11106 cat >>conftest.
$ac_ext <<_ACEOF
11107 /* end confdefs.h. */
11117 rm -f conftest.o conftest.obj
11118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119 (eval $ac_compile) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; then
11123 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11125 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11126 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.
$ac_ext >&5
11134 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11135 See \`config.log' for more details." >&5
11136 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11137 See \`config.log' for more details." >&2;}
11138 { (exit 1); exit 1; }; }
11141 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11143 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11144 echo "${ECHO_T}$ac_cv_objext" >&6
11145 OBJEXT
=$ac_cv_objext
11147 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11148 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11149 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11150 echo $ECHO_N "(cached) $ECHO_C" >&6
11152 cat >conftest.
$ac_ext <<_ACEOF
11155 cat confdefs.h
>>conftest.
$ac_ext
11156 cat >>conftest.
$ac_ext <<_ACEOF
11157 /* end confdefs.h. */
11170 rm -f conftest.
$ac_objext
11171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11172 (eval $ac_compile) 2>conftest.er1
11174 grep -v '^ *+' conftest.er1
>conftest.err
11176 cat conftest.err
>&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } &&
11179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11181 (eval $ac_try) 2>&5
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); }; } &&
11185 { ac_try
='test -s conftest.$ac_objext'
11186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11187 (eval $ac_try) 2>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; }; then
11191 ac_compiler_gnu
=yes
11193 echo "$as_me: failed program was:" >&5
11194 sed 's/^/| /' conftest.
$ac_ext >&5
11198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11199 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11202 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11203 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11204 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11205 ac_test_CFLAGS
=${CFLAGS+set}
11206 ac_save_CFLAGS
=$CFLAGS
11208 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11209 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11210 if test "${ac_cv_prog_cc_g+set}" = set; then
11211 echo $ECHO_N "(cached) $ECHO_C" >&6
11213 cat >conftest.
$ac_ext <<_ACEOF
11216 cat confdefs.h
>>conftest.
$ac_ext
11217 cat >>conftest.
$ac_ext <<_ACEOF
11218 /* end confdefs.h. */
11228 rm -f conftest.
$ac_objext
11229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11230 (eval $ac_compile) 2>conftest.er1
11232 grep -v '^ *+' conftest.er1
>conftest.err
11234 cat conftest.err
>&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); } &&
11237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; } &&
11243 { ac_try
='test -s conftest.$ac_objext'
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245 (eval $ac_try) 2>&5
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); }; }; then
11249 ac_cv_prog_cc_g
=yes
11251 echo "$as_me: failed program was:" >&5
11252 sed 's/^/| /' conftest.
$ac_ext >&5
11256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11258 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11259 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11260 if test "$ac_test_CFLAGS" = set; then
11261 CFLAGS
=$ac_save_CFLAGS
11262 elif test $ac_cv_prog_cc_g = yes; then
11263 if test "$GCC" = yes; then
11269 if test "$GCC" = yes; then
11275 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11276 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11277 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 ac_cv_prog_cc_stdc
=no
11282 cat >conftest.
$ac_ext <<_ACEOF
11285 cat confdefs.h
>>conftest.
$ac_ext
11286 cat >>conftest.
$ac_ext <<_ACEOF
11287 /* end confdefs.h. */
11288 #include <stdarg.h>
11290 #include <sys/types.h>
11291 #include <sys/stat.h>
11292 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11293 struct buf { int x; };
11294 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11295 static char *e (p, i)
11301 static char *f (char * (*g) (char **, int), char **p, ...)
11306 s = g (p, va_arg (v,int));
11311 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11312 function prototypes and stuff, but not '\xHH' hex character constants.
11313 These don't provoke an error unfortunately, instead are silently treated
11314 as 'x'. The following induces an error, until -std1 is added to get
11315 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11316 array size at least. It's necessary to write '\x00'==0 to get something
11317 that's true only with -std1. */
11318 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11320 int test (int i, double x);
11321 struct s1 {int (*f) (int a);};
11322 struct s2 {int (*f) (double a);};
11323 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11329 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11334 # Don't try gcc -ansi; that turns off useful extensions and
11335 # breaks some systems' header files.
11336 # AIX -qlanglvl=ansi
11337 # Ultrix and OSF/1 -std1
11338 # HP-UX 10.20 and later -Ae
11339 # HP-UX older versions -Aa -D_HPUX_SOURCE
11340 # SVR4 -Xc -D__EXTENSIONS__
11341 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11343 CC
="$ac_save_CC $ac_arg"
11344 rm -f conftest.
$ac_objext
11345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11346 (eval $ac_compile) 2>conftest.er1
11348 grep -v '^ *+' conftest.er1
>conftest.err
11350 cat conftest.err
>&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); } &&
11353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11355 (eval $ac_try) 2>&5
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); }; } &&
11359 { ac_try
='test -s conftest.$ac_objext'
11360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11361 (eval $ac_try) 2>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; }; then
11365 ac_cv_prog_cc_stdc
=$ac_arg
11368 echo "$as_me: failed program was:" >&5
11369 sed 's/^/| /' conftest.
$ac_ext >&5
11372 rm -f conftest.err conftest.
$ac_objext
11374 rm -f conftest.
$ac_ext conftest.
$ac_objext
11379 case "x$ac_cv_prog_cc_stdc" in
11381 echo "$as_me:$LINENO: result: none needed" >&5
11382 echo "${ECHO_T}none needed" >&6 ;;
11384 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11385 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11386 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11389 # Some people use a C++ compiler to compile C. Since we use `exit',
11390 # in C++ we need to declare it. In case someone uses the same compiler
11391 # for both compiling C and C++ we need to have the C++ compiler decide
11392 # the declaration of exit, since it's the most demanding environment.
11393 cat >conftest.
$ac_ext <<_ACEOF
11394 #ifndef __cplusplus
11398 rm -f conftest.
$ac_objext
11399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11400 (eval $ac_compile) 2>conftest.er1
11402 grep -v '^ *+' conftest.er1
>conftest.err
11404 cat conftest.err
>&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); } &&
11407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 (eval $ac_try) 2>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; } &&
11413 { ac_try
='test -s conftest.$ac_objext'
11414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11415 (eval $ac_try) 2>&5
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); }; }; then
11419 for ac_declaration
in \
11421 'extern "C" void std::exit (int) throw (); using std::exit;' \
11422 'extern "C" void std::exit (int); using std::exit;' \
11423 'extern "C" void exit (int) throw ();' \
11424 'extern "C" void exit (int);' \
11427 cat >conftest.
$ac_ext <<_ACEOF
11430 cat confdefs.h
>>conftest.
$ac_ext
11431 cat >>conftest.
$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11434 #include <stdlib.h>
11443 rm -f conftest.
$ac_objext
11444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11445 (eval $ac_compile) 2>conftest.er1
11447 grep -v '^ *+' conftest.er1
>conftest.err
11449 cat conftest.err
>&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } &&
11452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; } &&
11458 { ac_try
='test -s conftest.$ac_objext'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.
$ac_ext >&5
11471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11472 cat >conftest.
$ac_ext <<_ACEOF
11475 cat confdefs.h
>>conftest.
$ac_ext
11476 cat >>conftest.
$ac_ext <<_ACEOF
11477 /* end confdefs.h. */
11487 rm -f conftest.
$ac_objext
11488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489 (eval $ac_compile) 2>conftest.er1
11491 grep -v '^ *+' conftest.er1
>conftest.err
11493 cat conftest.err
>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; } &&
11502 { ac_try
='test -s conftest.$ac_objext'
11503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11504 (eval $ac_try) 2>&5
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; }; then
11510 echo "$as_me: failed program was:" >&5
11511 sed 's/^/| /' conftest.
$ac_ext >&5
11514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11517 if test -n "$ac_declaration"; then
11518 echo '#ifdef __cplusplus' >>confdefs.h
11519 echo $ac_declaration >>confdefs.h
11520 echo '#endif' >>confdefs.h
11524 echo "$as_me: failed program was:" >&5
11525 sed 's/^/| /' conftest.
$ac_ext >&5
11528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11530 ac_cpp
='$CPP $CPPFLAGS'
11531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11535 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11536 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11537 if test "${wx_cv_c_exto+set}" = set; then
11538 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 cat >conftest.
$ac_ext <<_ACEOF
11543 cat confdefs.h
>>conftest.
$ac_ext
11544 cat >>conftest.
$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11555 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11557 (eval $ac_compile) 2>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; then
11561 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11563 conftest.
$ac_ext.o
)
11564 wx_cv_c_exto
="-ext o"
11571 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11572 See \`config.log' for more details." >&5
11573 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11574 See \`config.log' for more details." >&2;}
11575 { (exit 1); exit 1; }; }
11579 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11582 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11583 echo "${ECHO_T}$wx_cv_c_exto" >&6
11584 if test "x$wx_cv_c_exto" '!=' "x"; then
11585 if test "c" = "c"; then
11586 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11588 if test "c" = "cxx"; then
11589 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11593 if test "x$wx_cv_c_exto" '!=' "x"; then
11594 unset ac_cv_prog_cc_g
11595 ac_test_CFLAGS
=${CFLAGS+set}
11596 ac_save_CFLAGS
=$CFLAGS
11598 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11599 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11600 if test "${ac_cv_prog_cc_g+set}" = set; then
11601 echo $ECHO_N "(cached) $ECHO_C" >&6
11603 cat >conftest.
$ac_ext <<_ACEOF
11606 cat confdefs.h
>>conftest.
$ac_ext
11607 cat >>conftest.
$ac_ext <<_ACEOF
11608 /* end confdefs.h. */
11618 rm -f conftest.
$ac_objext
11619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11620 (eval $ac_compile) 2>conftest.er1
11622 grep -v '^ *+' conftest.er1
>conftest.err
11624 cat conftest.err
>&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); } &&
11627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; } &&
11633 { ac_try
='test -s conftest.$ac_objext'
11634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635 (eval $ac_try) 2>&5
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }; }; then
11639 ac_cv_prog_cc_g
=yes
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.
$ac_ext >&5
11646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11648 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11649 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11650 if test "$ac_test_CFLAGS" = set; then
11651 CFLAGS
=$ac_save_CFLAGS
11652 elif test $ac_cv_prog_cc_g = yes; then
11653 if test "$GCC" = yes; then
11659 if test "$GCC" = yes; then
11668 ac_cpp
='$CPP $CPPFLAGS'
11669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11673 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11674 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11675 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 cat >conftest.
$ac_ext <<_ACEOF
11681 cat confdefs.h
>>conftest.
$ac_ext
11682 cat >>conftest.
$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11696 rm -f conftest.
$ac_objext
11697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11698 (eval $ac_compile) 2>conftest.er1
11700 grep -v '^ *+' conftest.er1
>conftest.err
11702 cat conftest.err
>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); } &&
11705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; } &&
11711 { ac_try
='test -s conftest.$ac_objext'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; }; then
11717 bakefile_compiler_mwerks
=yes
11719 echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.
$ac_ext >&5
11722 bakefile_compiler_mwerks
=no
11724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11725 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11728 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11729 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11731 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11733 ac_cpp
='$CPP $CPPFLAGS'
11734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11740 ac_cpp
='$CPP $CPPFLAGS'
11741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11745 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11746 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11747 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11748 echo $ECHO_N "(cached) $ECHO_C" >&6
11750 cat >conftest.
$ac_ext <<_ACEOF
11753 cat confdefs.h
>>conftest.
$ac_ext
11754 cat >>conftest.
$ac_ext <<_ACEOF
11755 /* end confdefs.h. */
11768 rm -f conftest.
$ac_objext
11769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11770 (eval $ac_compile) 2>conftest.er1
11772 grep -v '^ *+' conftest.er1
>conftest.err
11774 cat conftest.err
>&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); } &&
11777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; } &&
11783 { ac_try
='test -s conftest.$ac_objext'
11784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11785 (eval $ac_try) 2>&5
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); }; }; then
11789 wx_compiler_xlc
=yes
11791 echo "$as_me: failed program was:" >&5
11792 sed 's/^/| /' conftest.
$ac_ext >&5
11796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11797 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11800 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11801 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11803 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11805 ac_cpp
='$CPP $CPPFLAGS'
11806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11813 ac_cpp
='$CPP $CPPFLAGS'
11814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11817 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11818 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11819 # On Suns, sometimes $CPP names a directory.
11820 if test -n "$CPP" && test -d "$CPP"; then
11823 if test -z "$CPP"; then
11824 if test "${ac_cv_prog_CPP+set}" = set; then
11825 echo $ECHO_N "(cached) $ECHO_C" >&6
11827 # Double quotes because CPP needs to be expanded
11828 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11830 ac_preproc_ok
=false
11831 for ac_c_preproc_warn_flag
in '' yes
11833 # Use a header file that comes with gcc, so configuring glibc
11834 # with a fresh cross-compiler works.
11835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11836 # <limits.h> exists even on freestanding compilers.
11837 # On the NeXT, cc -E runs the code through the compiler's parser,
11838 # not just through cpp. "Syntax error" is here to catch this case.
11839 cat >conftest.
$ac_ext <<_ACEOF
11842 cat confdefs.h
>>conftest.
$ac_ext
11843 cat >>conftest.
$ac_ext <<_ACEOF
11844 /* end confdefs.h. */
11846 # include <limits.h>
11848 # include <assert.h>
11852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11853 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11855 grep -v '^ *+' conftest.er1
>conftest.err
11857 cat conftest.err
>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } >/dev
/null
; then
11860 if test -s conftest.err
; then
11861 ac_cpp_err
=$ac_c_preproc_warn_flag
11862 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11869 if test -z "$ac_cpp_err"; then
11872 echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.
$ac_ext >&5
11875 # Broken: fails on valid input.
11878 rm -f conftest.err conftest.
$ac_ext
11880 # OK, works on sane cases. Now check whether non-existent headers
11881 # can be detected and how.
11882 cat >conftest.
$ac_ext <<_ACEOF
11885 cat confdefs.h
>>conftest.
$ac_ext
11886 cat >>conftest.
$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11888 #include <ac_nonexistent.h>
11890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11893 grep -v '^ *+' conftest.er1
>conftest.err
11895 cat conftest.err
>&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } >/dev
/null
; then
11898 if test -s conftest.err
; then
11899 ac_cpp_err
=$ac_c_preproc_warn_flag
11900 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11907 if test -z "$ac_cpp_err"; then
11908 # Broken: success on invalid input.
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.
$ac_ext >&5
11914 # Passes both tests.
11918 rm -f conftest.err conftest.
$ac_ext
11921 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11922 rm -f conftest.err conftest.
$ac_ext
11923 if $ac_preproc_ok; then
11928 ac_cv_prog_CPP
=$CPP
11931 CPP
=$ac_cv_prog_CPP
11933 ac_cv_prog_CPP
=$CPP
11935 echo "$as_me:$LINENO: result: $CPP" >&5
11936 echo "${ECHO_T}$CPP" >&6
11937 ac_preproc_ok
=false
11938 for ac_c_preproc_warn_flag
in '' yes
11940 # Use a header file that comes with gcc, so configuring glibc
11941 # with a fresh cross-compiler works.
11942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943 # <limits.h> exists even on freestanding compilers.
11944 # On the NeXT, cc -E runs the code through the compiler's parser,
11945 # not just through cpp. "Syntax error" is here to catch this case.
11946 cat >conftest.
$ac_ext <<_ACEOF
11949 cat confdefs.h
>>conftest.
$ac_ext
11950 cat >>conftest.
$ac_ext <<_ACEOF
11951 /* end confdefs.h. */
11953 # include <limits.h>
11955 # include <assert.h>
11959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11960 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11962 grep -v '^ *+' conftest.er1
>conftest.err
11964 cat conftest.err
>&5
11965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 (exit $ac_status); } >/dev
/null
; then
11967 if test -s conftest.err
; then
11968 ac_cpp_err
=$ac_c_preproc_warn_flag
11969 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11976 if test -z "$ac_cpp_err"; then
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.
$ac_ext >&5
11982 # Broken: fails on valid input.
11985 rm -f conftest.err conftest.
$ac_ext
11987 # OK, works on sane cases. Now check whether non-existent headers
11988 # can be detected and how.
11989 cat >conftest.
$ac_ext <<_ACEOF
11992 cat confdefs.h
>>conftest.
$ac_ext
11993 cat >>conftest.
$ac_ext <<_ACEOF
11994 /* end confdefs.h. */
11995 #include <ac_nonexistent.h>
11997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11998 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12000 grep -v '^ *+' conftest.er1
>conftest.err
12002 cat conftest.err
>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); } >/dev
/null
; then
12005 if test -s conftest.err
; then
12006 ac_cpp_err
=$ac_c_preproc_warn_flag
12007 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12014 if test -z "$ac_cpp_err"; then
12015 # Broken: success on invalid input.
12018 echo "$as_me: failed program was:" >&5
12019 sed 's/^/| /' conftest.
$ac_ext >&5
12021 # Passes both tests.
12025 rm -f conftest.err conftest.
$ac_ext
12028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12029 rm -f conftest.err conftest.
$ac_ext
12030 if $ac_preproc_ok; then
12033 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12034 See \`config.log' for more details." >&5
12035 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12036 See \`config.log' for more details." >&2;}
12037 { (exit 1); exit 1; }; }
12041 ac_cpp
='$CPP $CPPFLAGS'
12042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12047 echo "$as_me:$LINENO: checking for egrep" >&5
12048 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12049 if test "${ac_cv_prog_egrep+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12053 then ac_cv_prog_egrep
='grep -E'
12054 else ac_cv_prog_egrep
='egrep'
12057 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12058 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12059 EGREP
=$ac_cv_prog_egrep
12062 if test $ac_cv_c_compiler_gnu = yes; then
12063 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12064 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12065 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 ac_pattern
="Autoconf.*'x'"
12069 cat >conftest.
$ac_ext <<_ACEOF
12072 cat confdefs.h
>>conftest.
$ac_ext
12073 cat >>conftest.
$ac_ext <<_ACEOF
12074 /* end confdefs.h. */
12078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12079 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12080 ac_cv_prog_gcc_traditional
=yes
12082 ac_cv_prog_gcc_traditional
=no
12087 if test $ac_cv_prog_gcc_traditional = no
; then
12088 cat >conftest.
$ac_ext <<_ACEOF
12091 cat confdefs.h
>>conftest.
$ac_ext
12092 cat >>conftest.
$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12094 #include <termio.h>
12097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12098 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12099 ac_cv_prog_gcc_traditional
=yes
12105 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12106 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12107 if test $ac_cv_prog_gcc_traditional = yes; then
12108 CC
="$CC -traditional"
12116 ac_cpp
='$CXXCPP $CPPFLAGS'
12117 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12118 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12119 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12122 CXXFLAGS
=${CXXFLAGS:=}
12124 ac_cpp
='$CXXCPP $CPPFLAGS'
12125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12128 if test -n "$ac_tool_prefix"; then
12129 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12132 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12133 echo "$as_me:$LINENO: checking for $ac_word" >&5
12134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12135 if test "${ac_cv_prog_CXX+set}" = set; then
12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12138 if test -n "$CXX"; then
12139 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12142 for as_dir
in $PATH
12145 test -z "$as_dir" && as_dir
=.
12146 for ac_exec_ext
in '' $ac_executable_extensions; do
12147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12148 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 CXX
=$ac_cv_prog_CXX
12158 if test -n "$CXX"; then
12159 echo "$as_me:$LINENO: result: $CXX" >&5
12160 echo "${ECHO_T}$CXX" >&6
12162 echo "$as_me:$LINENO: result: no" >&5
12163 echo "${ECHO_T}no" >&6
12166 test -n "$CXX" && break
12169 if test -z "$CXX"; then
12171 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12173 # Extract the first word of "$ac_prog", so it can be a program name with args.
12174 set dummy
$ac_prog; ac_word
=$2
12175 echo "$as_me:$LINENO: checking for $ac_word" >&5
12176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12177 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 if test -n "$ac_ct_CXX"; then
12181 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12184 for as_dir
in $PATH
12187 test -z "$as_dir" && as_dir
=.
12188 for ac_exec_ext
in '' $ac_executable_extensions; do
12189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12190 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12199 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12200 if test -n "$ac_ct_CXX"; then
12201 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12202 echo "${ECHO_T}$ac_ct_CXX" >&6
12204 echo "$as_me:$LINENO: result: no" >&5
12205 echo "${ECHO_T}no" >&6
12208 test -n "$ac_ct_CXX" && break
12210 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12216 # Provide some information about the compiler.
12217 echo "$as_me:$LINENO:" \
12218 "checking for C++ compiler version" >&5
12219 ac_compiler
=`set X $ac_compile; echo $2`
12220 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12221 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }
12225 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12226 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }
12230 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12231 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }
12236 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12237 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12238 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12239 echo $ECHO_N "(cached) $ECHO_C" >&6
12241 cat >conftest.
$ac_ext <<_ACEOF
12244 cat confdefs.h
>>conftest.
$ac_ext
12245 cat >>conftest.
$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12259 rm -f conftest.
$ac_objext
12260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12261 (eval $ac_compile) 2>conftest.er1
12263 grep -v '^ *+' conftest.er1
>conftest.err
12265 cat conftest.err
>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); } &&
12268 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; } &&
12274 { ac_try
='test -s conftest.$ac_objext'
12275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 (eval $ac_try) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); }; }; then
12280 ac_compiler_gnu
=yes
12282 echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.
$ac_ext >&5
12287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12288 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12291 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12292 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12293 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12294 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12295 ac_save_CXXFLAGS
=$CXXFLAGS
12297 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12298 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12299 if test "${ac_cv_prog_cxx_g+set}" = set; then
12300 echo $ECHO_N "(cached) $ECHO_C" >&6
12302 cat >conftest.
$ac_ext <<_ACEOF
12305 cat confdefs.h
>>conftest.
$ac_ext
12306 cat >>conftest.
$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12317 rm -f conftest.
$ac_objext
12318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12319 (eval $ac_compile) 2>conftest.er1
12321 grep -v '^ *+' conftest.er1
>conftest.err
12323 cat conftest.err
>&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); } &&
12326 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12328 (eval $ac_try) 2>&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; } &&
12332 { ac_try
='test -s conftest.$ac_objext'
12333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12334 (eval $ac_try) 2>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); }; }; then
12338 ac_cv_prog_cxx_g
=yes
12340 echo "$as_me: failed program was:" >&5
12341 sed 's/^/| /' conftest.
$ac_ext >&5
12343 ac_cv_prog_cxx_g
=no
12345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12347 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12348 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12349 if test "$ac_test_CXXFLAGS" = set; then
12350 CXXFLAGS
=$ac_save_CXXFLAGS
12351 elif test $ac_cv_prog_cxx_g = yes; then
12352 if test "$GXX" = yes; then
12358 if test "$GXX" = yes; then
12364 for ac_declaration
in \
12366 'extern "C" void std::exit (int) throw (); using std::exit;' \
12367 'extern "C" void std::exit (int); using std::exit;' \
12368 'extern "C" void exit (int) throw ();' \
12369 'extern "C" void exit (int);' \
12372 cat >conftest.
$ac_ext <<_ACEOF
12375 cat confdefs.h
>>conftest.
$ac_ext
12376 cat >>conftest.
$ac_ext <<_ACEOF
12377 /* end confdefs.h. */
12379 #include <stdlib.h>
12388 rm -f conftest.
$ac_objext
12389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12390 (eval $ac_compile) 2>conftest.er1
12392 grep -v '^ *+' conftest.er1
>conftest.err
12394 cat conftest.err
>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } &&
12397 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12399 (eval $ac_try) 2>&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; } &&
12403 { ac_try
='test -s conftest.$ac_objext'
12404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12405 (eval $ac_try) 2>&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); }; }; then
12411 echo "$as_me: failed program was:" >&5
12412 sed 's/^/| /' conftest.
$ac_ext >&5
12416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12417 cat >conftest.
$ac_ext <<_ACEOF
12420 cat confdefs.h
>>conftest.
$ac_ext
12421 cat >>conftest.
$ac_ext <<_ACEOF
12422 /* end confdefs.h. */
12432 rm -f conftest.
$ac_objext
12433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12434 (eval $ac_compile) 2>conftest.er1
12436 grep -v '^ *+' conftest.er1
>conftest.err
12438 cat conftest.err
>&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } &&
12441 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try
='test -s conftest.$ac_objext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.
$ac_ext >&5
12459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12462 if test -n "$ac_declaration"; then
12463 echo '#ifdef __cplusplus' >>confdefs.h
12464 echo $ac_declaration >>confdefs.h
12465 echo '#endif' >>confdefs.h
12469 ac_cpp
='$CXXCPP $CPPFLAGS'
12470 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12471 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12472 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12474 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12475 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12476 if test "${wx_cv_cxx_exto+set}" = set; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 cat >conftest.
$ac_ext <<_ACEOF
12482 cat confdefs.h
>>conftest.
$ac_ext
12483 cat >>conftest.
$ac_ext <<_ACEOF
12484 /* end confdefs.h. */
12494 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12496 (eval $ac_compile) 2>&5
12498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 (exit $ac_status); }; then
12500 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12502 conftest.
$ac_ext.o
)
12503 wx_cv_cxx_exto
="-ext o"
12510 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12511 See \`config.log' for more details." >&5
12512 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12513 See \`config.log' for more details." >&2;}
12514 { (exit 1); exit 1; }; }
12518 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12521 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12522 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12523 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12524 if test "cxx" = "c"; then
12525 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12527 if test "cxx" = "cxx"; then
12528 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12532 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12533 unset ac_cv_prog_cxx_g
12534 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12535 ac_save_CXXFLAGS
=$CXXFLAGS
12537 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12538 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12539 if test "${ac_cv_prog_cxx_g+set}" = set; then
12540 echo $ECHO_N "(cached) $ECHO_C" >&6
12542 cat >conftest.
$ac_ext <<_ACEOF
12545 cat confdefs.h
>>conftest.
$ac_ext
12546 cat >>conftest.
$ac_ext <<_ACEOF
12547 /* end confdefs.h. */
12557 rm -f conftest.
$ac_objext
12558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12559 (eval $ac_compile) 2>conftest.er1
12561 grep -v '^ *+' conftest.er1
>conftest.err
12563 cat conftest.err
>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } &&
12566 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12568 (eval $ac_try) 2>&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); }; } &&
12572 { ac_try
='test -s conftest.$ac_objext'
12573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12574 (eval $ac_try) 2>&5
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); }; }; then
12578 ac_cv_prog_cxx_g
=yes
12580 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.
$ac_ext >&5
12583 ac_cv_prog_cxx_g
=no
12585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12587 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12588 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12589 if test "$ac_test_CXXFLAGS" = set; then
12590 CXXFLAGS
=$ac_save_CXXFLAGS
12591 elif test $ac_cv_prog_cxx_g = yes; then
12592 if test "$GXX" = yes; then
12598 if test "$GXX" = yes; then
12607 ac_cpp
='$CXXCPP $CPPFLAGS'
12608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12612 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12613 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12614 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12617 cat >conftest.
$ac_ext <<_ACEOF
12620 cat confdefs.h
>>conftest.
$ac_ext
12621 cat >>conftest.
$ac_ext <<_ACEOF
12622 /* end confdefs.h. */
12635 rm -f conftest.
$ac_objext
12636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12637 (eval $ac_compile) 2>conftest.er1
12639 grep -v '^ *+' conftest.er1
>conftest.err
12641 cat conftest.err
>&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } &&
12644 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12646 (eval $ac_try) 2>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; } &&
12650 { ac_try
='test -s conftest.$ac_objext'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; }; then
12656 bakefile_compiler_mwerks
=yes
12658 echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.
$ac_ext >&5
12661 bakefile_compiler_mwerks
=no
12663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12664 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12667 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12668 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12670 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12672 ac_cpp
='$CXXCPP $CPPFLAGS'
12673 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12674 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12675 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12679 ac_cpp
='$CXXCPP $CPPFLAGS'
12680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12684 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12685 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12686 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12687 echo $ECHO_N "(cached) $ECHO_C" >&6
12689 cat >conftest.
$ac_ext <<_ACEOF
12692 cat confdefs.h
>>conftest.
$ac_ext
12693 cat >>conftest.
$ac_ext <<_ACEOF
12694 /* end confdefs.h. */
12707 rm -f conftest.
$ac_objext
12708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12709 (eval $ac_compile) 2>conftest.er1
12711 grep -v '^ *+' conftest.er1
>conftest.err
12713 cat conftest.err
>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); } &&
12716 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; } &&
12722 { ac_try
='test -s conftest.$ac_objext'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; }; then
12728 wx_compiler_xlc
=yes
12730 echo "$as_me: failed program was:" >&5
12731 sed 's/^/| /' conftest.
$ac_ext >&5
12735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12736 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12739 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12740 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12742 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12744 ac_cpp
='$CXXCPP $CPPFLAGS'
12745 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12746 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12747 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12752 ac_cpp
='$CPP $CPPFLAGS'
12753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12758 if test -n "$ac_tool_prefix"; then
12759 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12760 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12761 echo "$as_me:$LINENO: checking for $ac_word" >&5
12762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12763 if test "${ac_cv_prog_RANLIB+set}" = set; then
12764 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 if test -n "$RANLIB"; then
12767 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12770 for as_dir
in $PATH
12773 test -z "$as_dir" && as_dir
=.
12774 for ac_exec_ext
in '' $ac_executable_extensions; do
12775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12776 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12785 RANLIB
=$ac_cv_prog_RANLIB
12786 if test -n "$RANLIB"; then
12787 echo "$as_me:$LINENO: result: $RANLIB" >&5
12788 echo "${ECHO_T}$RANLIB" >&6
12790 echo "$as_me:$LINENO: result: no" >&5
12791 echo "${ECHO_T}no" >&6
12795 if test -z "$ac_cv_prog_RANLIB"; then
12796 ac_ct_RANLIB
=$RANLIB
12797 # Extract the first word of "ranlib", so it can be a program name with args.
12798 set dummy ranlib
; ac_word
=$2
12799 echo "$as_me:$LINENO: checking for $ac_word" >&5
12800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12801 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12804 if test -n "$ac_ct_RANLIB"; then
12805 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12808 for as_dir
in $PATH
12811 test -z "$as_dir" && as_dir
=.
12812 for ac_exec_ext
in '' $ac_executable_extensions; do
12813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12814 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12821 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12824 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12825 if test -n "$ac_ct_RANLIB"; then
12826 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12827 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12829 echo "$as_me:$LINENO: result: no" >&5
12830 echo "${ECHO_T}no" >&6
12833 RANLIB
=$ac_ct_RANLIB
12835 RANLIB
="$ac_cv_prog_RANLIB"
12839 # Extract the first word of "ar", so it can be a program name with args.
12840 set dummy
ar; ac_word
=$2
12841 echo "$as_me:$LINENO: checking for $ac_word" >&5
12842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12843 if test "${ac_cv_prog_AR+set}" = set; then
12844 echo $ECHO_N "(cached) $ECHO_C" >&6
12846 if test -n "$AR"; then
12847 ac_cv_prog_AR
="$AR" # Let the user override the test.
12849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12850 for as_dir
in $PATH
12853 test -z "$as_dir" && as_dir
=.
12854 for ac_exec_ext
in '' $ac_executable_extensions; do
12855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12866 if test -n "$AR"; then
12867 echo "$as_me:$LINENO: result: $AR" >&5
12868 echo "${ECHO_T}$AR" >&6
12870 echo "$as_me:$LINENO: result: no" >&5
12871 echo "${ECHO_T}no" >&6
12874 if test "x$AR" = "x" ; then
12875 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12876 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12877 { (exit 1); exit 1; }; }
12880 # Find a good install program. We prefer a C program (faster),
12881 # so one script is as good as another. But avoid the broken or
12882 # incompatible versions:
12883 # SysV /etc/install, /usr/sbin/install
12884 # SunOS /usr/etc/install
12885 # IRIX /sbin/install
12887 # AmigaOS /C/install, which installs bootblocks on floppy discs
12888 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12889 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12890 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12891 # OS/2's system install, which has a completely different semantic
12892 # ./install, which can be erroneously created by make from ./install.sh.
12893 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12894 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12895 if test -z "$INSTALL"; then
12896 if test "${ac_cv_path_install+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12900 for as_dir
in $PATH
12903 test -z "$as_dir" && as_dir
=.
12904 # Account for people who put trailing slashes in PATH elements.
12906 .
/ | .
// | /cC
/* | \
12907 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12908 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12911 # OSF1 and SCO ODT 3.0 have their own names for install.
12912 # Don't use installbsd from OSF since it installs stuff as root
12914 for ac_prog
in ginstall scoinst
install; do
12915 for ac_exec_ext
in '' $ac_executable_extensions; do
12916 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12917 if test $ac_prog = install &&
12918 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12919 # AIX install. It has an incompatible calling convention.
12921 elif test $ac_prog = install &&
12922 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12923 # program-specific install script used by HP pwplus--don't use.
12926 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12938 if test "${ac_cv_path_install+set}" = set; then
12939 INSTALL
=$ac_cv_path_install
12941 # As a last resort, use the slow shell script. We don't cache a
12942 # path for INSTALL within a source directory, because that will
12943 # break other packages using the cache if that directory is
12944 # removed, or if the path is relative.
12945 INSTALL
=$ac_install_sh
12948 echo "$as_me:$LINENO: result: $INSTALL" >&5
12949 echo "${ECHO_T}$INSTALL" >&6
12951 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12952 # It thinks the first close brace ends the variable substitution.
12953 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12955 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12957 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12963 ?
:* ) # Drive letter, considered as absolute.
12966 INSTALL
=`pwd`/${INSTALL} ;;
12972 powerpc
-*-darwin* )
12973 INSTALL_PROGRAM
="cp -fp"
12974 INSTALL_DATA
="cp -fp"
12980 # Extract the first word of "strip", so it can be a program name with args.
12981 set dummy strip
; ac_word
=$2
12982 echo "$as_me:$LINENO: checking for $ac_word" >&5
12983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12984 if test "${ac_cv_prog_STRIP+set}" = set; then
12985 echo $ECHO_N "(cached) $ECHO_C" >&6
12987 if test -n "$STRIP"; then
12988 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12991 for as_dir
in $PATH
12994 test -z "$as_dir" && as_dir
=.
12995 for ac_exec_ext
in '' $ac_executable_extensions; do
12996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12997 ac_cv_prog_STRIP
="strip"
12998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13004 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13007 STRIP
=$ac_cv_prog_STRIP
13008 if test -n "$STRIP"; then
13009 echo "$as_me:$LINENO: result: $STRIP" >&5
13010 echo "${ECHO_T}$STRIP" >&6
13012 echo "$as_me:$LINENO: result: no" >&5
13013 echo "${ECHO_T}no" >&6
13017 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13018 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13019 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13023 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13024 egrep -s GNU
> /dev
/null
); then
13025 wx_cv_prog_makeisgnu
="yes"
13027 wx_cv_prog_makeisgnu
="no"
13031 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13032 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13034 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13042 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13043 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13044 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13045 if test "${wx_cv_prog_makevpath+set}" = set; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13049 cat - << EOF > confMake
13055 if test ! -d sub
; then
13058 echo dummy
> sub
/file
13059 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13061 rm -f sub
/file check final_file confMake
13063 if test "$RESULT" = 0; then
13064 wx_cv_prog_makevpath
="yes"
13066 wx_cv_prog_makevpath
="no"
13070 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13071 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13073 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13074 { { echo "$as_me:$LINENO: error:
13075 You need a make-utility that is able to use the variable
13077 If your version of make does not support VPATH correctly,
13078 please install GNU-make (possibly as gmake), and start
13079 configure with the following command:
13080 export MAKE=gmake; ./configure for sh-type shells
13081 setenv MAKE gmake; ./configure for csh-type shells
13082 Also please do remember to use gmake in this case every time
13083 you are trying to compile.
13085 echo "$as_me: error:
13086 You need a make-utility that is able to use the variable
13088 If your version of make does not support VPATH correctly,
13089 please install GNU-make (possibly as gmake), and start
13090 configure with the following command:
13091 export MAKE=gmake; ./configure for sh-type shells
13092 setenv MAKE gmake; ./configure for csh-type shells
13093 Also please do remember to use gmake in this case every time
13094 you are trying to compile.
13096 { (exit 1); exit 1; }; }
13098 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13099 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13101 if test "$LN_S" = "ln -s"; then
13102 echo "$as_me:$LINENO: result: yes" >&5
13103 echo "${ECHO_T}yes" >&6
13105 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13106 echo "${ECHO_T}no, using $LN_S" >&6
13111 if test "x$XLCXX" = "xyes"; then
13112 CXXFLAGS
="$CXXFLAGS -qunique"
13117 powerpc
-*-darwin* )
13118 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13119 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13120 cat >conftest.
$ac_ext <<_ACEOF
13123 cat confdefs.h
>>conftest.
$ac_ext
13124 cat >>conftest.
$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13130 #ifndef __POWERPC__
13131 choke me for lack of PowerPC
13138 rm -f conftest.
$ac_objext
13139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13140 (eval $ac_compile) 2>conftest.er1
13142 grep -v '^ *+' conftest.er1
>conftest.err
13144 cat conftest.err
>&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); } &&
13147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13149 (eval $ac_try) 2>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); }; } &&
13153 { ac_try
='test -s conftest.$ac_objext'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; }; then
13159 echo "$as_me:$LINENO: result: yes" >&5
13160 echo "${ECHO_T}yes" >&6
13162 echo "$as_me: failed program was:" >&5
13163 sed 's/^/| /' conftest.
$ac_ext >&5
13165 echo "$as_me:$LINENO: result: no" >&5
13166 echo "${ECHO_T}no" >&6
13167 cat >>confdefs.h
<<\_ACEOF
13168 #define __POWERPC__ 1
13173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13174 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13175 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13176 cat >conftest.
$ac_ext <<_ACEOF
13179 cat confdefs.h
>>conftest.
$ac_ext
13180 cat >>conftest.
$ac_ext <<_ACEOF
13181 /* end confdefs.h. */
13182 #include <CoreFoundation/CFBase.h>
13192 rm -f conftest.
$ac_objext
13193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13194 (eval $ac_compile) 2>conftest.er1
13196 grep -v '^ *+' conftest.er1
>conftest.err
13198 cat conftest.err
>&5
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); } &&
13201 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203 (eval $ac_try) 2>&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); }; } &&
13207 { ac_try
='test -s conftest.$ac_objext'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; }; then
13213 echo "$as_me:$LINENO: result: yes" >&5
13214 echo "${ECHO_T}yes" >&6
13216 echo "$as_me: failed program was:" >&5
13217 sed 's/^/| /' conftest.
$ac_ext >&5
13219 echo "$as_me:$LINENO: result: no" >&5
13220 echo "${ECHO_T}no" >&6
13221 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13222 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13223 cat >conftest.
$ac_ext <<_ACEOF
13226 cat confdefs.h
>>conftest.
$ac_ext
13227 cat >>conftest.
$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13229 #define __CF_USE_FRAMEWORK_INCLUDES__
13230 #include <CoreFoundation/CFBase.h>
13240 rm -f conftest.
$ac_objext
13241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13242 (eval $ac_compile) 2>conftest.er1
13244 grep -v '^ *+' conftest.er1
>conftest.err
13246 cat conftest.err
>&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } &&
13249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try
='test -s conftest.$ac_objext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 echo "$as_me:$LINENO: result: yes" >&5
13262 echo "${ECHO_T}yes" >&6
13263 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13265 echo "$as_me: failed program was:" >&5
13266 sed 's/^/| /' conftest.
$ac_ext >&5
13268 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13269 See \`config.log' for more details." >&5
13270 echo "$as_me: error: no. CoreFoundation not available.
13271 See \`config.log' for more details." >&2;}
13272 { (exit 1); exit 1; }; }
13275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13284 *-pc-os2_emx | *-pc-os2-emx )
13285 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13286 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13287 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13288 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 ac_check_lib_save_LIBS
=$LIBS
13292 LIBS
="-lcExt $LIBS"
13293 cat >conftest.
$ac_ext <<_ACEOF
13296 cat confdefs.h
>>conftest.
$ac_ext
13297 cat >>conftest.
$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13300 /* Override any gcc2 internal prototype to avoid an error. */
13304 /* We use char because int might match the return type of a gcc2
13305 builtin and then its argument prototype would still apply. */
13315 rm -f conftest.
$ac_objext conftest
$ac_exeext
13316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13317 (eval $ac_link) 2>conftest.er1
13319 grep -v '^ *+' conftest.er1
>conftest.err
13321 cat conftest.err
>&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); } &&
13324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13326 (eval $ac_try) 2>&5
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); }; } &&
13330 { ac_try
='test -s conftest$ac_exeext'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; }; then
13336 ac_cv_lib_cExt_drand48
=yes
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.
$ac_ext >&5
13341 ac_cv_lib_cExt_drand48
=no
13343 rm -f conftest.err conftest.
$ac_objext \
13344 conftest
$ac_exeext conftest.
$ac_ext
13345 LIBS
=$ac_check_lib_save_LIBS
13347 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13348 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13349 if test $ac_cv_lib_cExt_drand48 = yes; then
13350 LIBS
="$LIBS -lcExt"
13354 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13356 echo "$as_me:$LINENO: checking for gcc version" >&5
13357 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
13358 if test "${wx_cv_gccversion+set}" = set; then
13359 echo $ECHO_N "(cached) $ECHO_C" >&6
13362 if test "$cross_compiling" = yes; then
13363 wx_cv_gccversion
="EMX2"
13366 cat >conftest.
$ac_ext <<_ACEOF
13369 cat confdefs.h
>>conftest.
$ac_ext
13370 cat >>conftest.
$ac_ext <<_ACEOF
13371 /* end confdefs.h. */
13377 FILE *f=fopen("conftestval", "w");
13382 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13384 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13394 rm -f conftest
$ac_exeext
13395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13396 (eval $ac_link) 2>&5
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; }; then
13405 wx_cv_gccversion
=`cat conftestval`
13407 echo "$as_me: program exited with status $ac_status" >&5
13408 echo "$as_me: failed program was:" >&5
13409 sed 's/^/| /' conftest.
$ac_ext >&5
13411 ( exit $ac_status )
13412 wx_cv_gccversion
="EMX2"
13414 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13418 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13419 echo "${ECHO_T}$wx_cv_gccversion" >&6
13420 if test "$wx_cv_gccversion" = "EMX2"; then
13421 LIBS
="$LIBS -lstdcpp"
13422 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13424 if test "$wx_cv_gccversion" = "EMX3"; then
13425 LIBS
="$LIBS -lstdcxx"
13426 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13428 LIBS
="$LIBS -lstdc++"
13431 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13432 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13433 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13437 if test "$wxUSE_OMF" = "yes"; then
13438 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK -Zlinker /PMTYPE:PM"
13446 ac_cpp
='$CXXCPP $CPPFLAGS'
13447 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13448 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13449 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13452 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13453 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13454 if test "${ac_cv_string_strcasecmp+set}" = set; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 cat >conftest.
$ac_ext <<_ACEOF
13461 cat confdefs.h
>>conftest.
$ac_ext
13462 cat >>conftest.
$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13465 #include <string.h>
13471 strcasecmp("foo", "bar");
13477 rm -f conftest.
$ac_objext conftest
$ac_exeext
13478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13479 (eval $ac_link) 2>conftest.er1
13481 grep -v '^ *+' conftest.er1
>conftest.err
13483 cat conftest.err
>&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } &&
13486 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13488 (eval $ac_try) 2>&5
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); }; } &&
13492 { ac_try
='test -s conftest$ac_exeext'
13493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13494 (eval $ac_try) 2>&5
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); }; }; then
13498 ac_cv_string_strcasecmp
=yes
13500 echo "$as_me: failed program was:" >&5
13501 sed 's/^/| /' conftest.
$ac_ext >&5
13503 ac_cv_string_strcasecmp
=no
13506 rm -f conftest.err conftest.
$ac_objext \
13507 conftest
$ac_exeext conftest.
$ac_ext
13510 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13511 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13513 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13514 cat >>confdefs.h
<<\_ACEOF
13515 #define HAVE_STRCASECMP_IN_STRING_H 1
13519 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13520 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13521 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13522 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 cat >conftest.
$ac_ext <<_ACEOF
13528 cat confdefs.h
>>conftest.
$ac_ext
13529 cat >>conftest.
$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13532 #include <strings.h>
13538 strcasecmp("foo", "bar");
13544 rm -f conftest.
$ac_objext conftest
$ac_exeext
13545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13546 (eval $ac_link) 2>conftest.er1
13548 grep -v '^ *+' conftest.er1
>conftest.err
13550 cat conftest.err
>&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } &&
13553 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; } &&
13559 { ac_try
='test -s conftest$ac_exeext'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; }; then
13565 ac_cv_strings_strcasecmp
=yes
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.
$ac_ext >&5
13570 ac_cv_strings_strcasecmp
=no
13573 rm -f conftest.err conftest.
$ac_objext \
13574 conftest
$ac_exeext conftest.
$ac_ext
13577 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13578 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13580 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13581 cat >>confdefs.h
<<\_ACEOF
13582 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13586 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13587 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13588 { (exit 1); exit 1; }; }
13593 ac_cpp
='$CPP $CPPFLAGS'
13594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13602 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13603 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13604 if test "${ac_cv_header_stdc+set}" = set; then
13605 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 cat >conftest.
$ac_ext <<_ACEOF
13610 cat confdefs.h
>>conftest.
$ac_ext
13611 cat >>conftest.
$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13613 #include <stdlib.h>
13614 #include <stdarg.h>
13615 #include <string.h>
13626 rm -f conftest.
$ac_objext
13627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13628 (eval $ac_compile) 2>conftest.er1
13630 grep -v '^ *+' conftest.er1
>conftest.err
13632 cat conftest.err
>&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); } &&
13635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13637 (eval $ac_try) 2>&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); }; } &&
13641 { ac_try
='test -s conftest.$ac_objext'
13642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13643 (eval $ac_try) 2>&5
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 (exit $ac_status); }; }; then
13647 ac_cv_header_stdc
=yes
13649 echo "$as_me: failed program was:" >&5
13650 sed 's/^/| /' conftest.
$ac_ext >&5
13652 ac_cv_header_stdc
=no
13654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13656 if test $ac_cv_header_stdc = yes; then
13657 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13658 cat >conftest.
$ac_ext <<_ACEOF
13661 cat confdefs.h
>>conftest.
$ac_ext
13662 cat >>conftest.
$ac_ext <<_ACEOF
13663 /* end confdefs.h. */
13664 #include <string.h>
13667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13668 $EGREP "memchr" >/dev
/null
2>&1; then
13671 ac_cv_header_stdc
=no
13677 if test $ac_cv_header_stdc = yes; then
13678 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13679 cat >conftest.
$ac_ext <<_ACEOF
13682 cat confdefs.h
>>conftest.
$ac_ext
13683 cat >>conftest.
$ac_ext <<_ACEOF
13684 /* end confdefs.h. */
13685 #include <stdlib.h>
13688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13689 $EGREP "free" >/dev
/null
2>&1; then
13692 ac_cv_header_stdc
=no
13698 if test $ac_cv_header_stdc = yes; then
13699 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13700 if test "$cross_compiling" = yes; then
13703 cat >conftest.
$ac_ext <<_ACEOF
13706 cat confdefs.h
>>conftest.
$ac_ext
13707 cat >>conftest.
$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13710 #if ((' ' & 0x0FF) == 0x020)
13711 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13712 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13714 # define ISLOWER(c) \
13715 (('a' <= (c) && (c) <= 'i') \
13716 || ('j' <= (c) && (c) <= 'r') \
13717 || ('s' <= (c) && (c) <= 'z'))
13718 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13721 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13726 for (i = 0; i < 256; i++)
13727 if (XOR (islower (i), ISLOWER (i))
13728 || toupper (i) != TOUPPER (i))
13733 rm -f conftest
$ac_exeext
13734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13735 (eval $ac_link) 2>&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; }; then
13746 echo "$as_me: program exited with status $ac_status" >&5
13747 echo "$as_me: failed program was:" >&5
13748 sed 's/^/| /' conftest.
$ac_ext >&5
13750 ( exit $ac_status )
13751 ac_cv_header_stdc
=no
13753 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13757 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13758 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13759 if test $ac_cv_header_stdc = yes; then
13761 cat >>confdefs.h
<<\_ACEOF
13762 #define STDC_HEADERS 1
13767 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13777 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13778 inttypes.h stdint.h unistd.h
13780 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13781 echo "$as_me:$LINENO: checking for $ac_header" >&5
13782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 cat >conftest.
$ac_ext <<_ACEOF
13789 cat confdefs.h
>>conftest.
$ac_ext
13790 cat >>conftest.
$ac_ext <<_ACEOF
13791 /* end confdefs.h. */
13792 $ac_includes_default
13794 #include <$ac_header>
13796 rm -f conftest.
$ac_objext
13797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13798 (eval $ac_compile) 2>conftest.er1
13800 grep -v '^ *+' conftest.er1
>conftest.err
13802 cat conftest.err
>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } &&
13805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13807 (eval $ac_try) 2>&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); }; } &&
13811 { ac_try
='test -s conftest.$ac_objext'
13812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 (eval $ac_try) 2>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }; }; then
13817 eval "$as_ac_Header=yes"
13819 echo "$as_me: failed program was:" >&5
13820 sed 's/^/| /' conftest.
$ac_ext >&5
13822 eval "$as_ac_Header=no"
13824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13829 cat >>confdefs.h
<<_ACEOF
13830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13839 for ac_header
in stdlib.h
13841 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13843 echo "$as_me:$LINENO: checking for $ac_header" >&5
13844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13851 # Is the header compilable?
13852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13854 cat >conftest.
$ac_ext <<_ACEOF
13857 cat confdefs.h
>>conftest.
$ac_ext
13858 cat >>conftest.
$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 $ac_includes_default
13861 #include <$ac_header>
13863 rm -f conftest.
$ac_objext
13864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13865 (eval $ac_compile) 2>conftest.er1
13867 grep -v '^ *+' conftest.er1
>conftest.err
13869 cat conftest.err
>&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); } &&
13872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13874 (eval $ac_try) 2>&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); }; } &&
13878 { ac_try
='test -s conftest.$ac_objext'
13879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13880 (eval $ac_try) 2>&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); }; }; then
13884 ac_header_compiler
=yes
13886 echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.
$ac_ext >&5
13889 ac_header_compiler
=no
13891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13893 echo "${ECHO_T}$ac_header_compiler" >&6
13895 # Is the header present?
13896 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13897 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13898 cat >conftest.
$ac_ext <<_ACEOF
13901 cat confdefs.h
>>conftest.
$ac_ext
13902 cat >>conftest.
$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13904 #include <$ac_header>
13906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13907 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13909 grep -v '^ *+' conftest.er1
>conftest.err
13911 cat conftest.err
>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } >/dev
/null
; then
13914 if test -s conftest.err
; then
13915 ac_cpp_err
=$ac_c_preproc_warn_flag
13916 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13923 if test -z "$ac_cpp_err"; then
13924 ac_header_preproc
=yes
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.
$ac_ext >&5
13929 ac_header_preproc
=no
13931 rm -f conftest.err conftest.
$ac_ext
13932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13933 echo "${ECHO_T}$ac_header_preproc" >&6
13935 # So? What about this header?
13936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13938 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13939 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13941 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13942 ac_header_preproc
=yes
13945 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13946 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13947 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13948 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13950 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13951 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13952 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13956 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13959 ## ----------------------------------------- ##
13960 ## Report this to wx-dev@lists.wxwidgets.org ##
13961 ## ----------------------------------------- ##
13964 sed "s/^/$as_me: WARNING: /" >&2
13967 echo "$as_me:$LINENO: checking for $ac_header" >&5
13968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13972 eval "$as_ac_Header=\$ac_header_preproc"
13974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13979 cat >>confdefs.h
<<_ACEOF
13980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13988 for ac_header
in malloc.h
13990 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13992 echo "$as_me:$LINENO: checking for $ac_header" >&5
13993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14000 # Is the header compilable?
14001 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14003 cat >conftest.
$ac_ext <<_ACEOF
14006 cat confdefs.h
>>conftest.
$ac_ext
14007 cat >>conftest.
$ac_ext <<_ACEOF
14008 /* end confdefs.h. */
14009 $ac_includes_default
14010 #include <$ac_header>
14012 rm -f conftest.
$ac_objext
14013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14014 (eval $ac_compile) 2>conftest.er1
14016 grep -v '^ *+' conftest.er1
>conftest.err
14018 cat conftest.err
>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); } &&
14021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; } &&
14027 { ac_try
='test -s conftest.$ac_objext'
14028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029 (eval $ac_try) 2>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; }; then
14033 ac_header_compiler
=yes
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.
$ac_ext >&5
14038 ac_header_compiler
=no
14040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14042 echo "${ECHO_T}$ac_header_compiler" >&6
14044 # Is the header present?
14045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14047 cat >conftest.
$ac_ext <<_ACEOF
14050 cat confdefs.h
>>conftest.
$ac_ext
14051 cat >>conftest.
$ac_ext <<_ACEOF
14052 /* end confdefs.h. */
14053 #include <$ac_header>
14055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14058 grep -v '^ *+' conftest.er1
>conftest.err
14060 cat conftest.err
>&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); } >/dev
/null
; then
14063 if test -s conftest.err
; then
14064 ac_cpp_err
=$ac_c_preproc_warn_flag
14065 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14072 if test -z "$ac_cpp_err"; then
14073 ac_header_preproc
=yes
14075 echo "$as_me: failed program was:" >&5
14076 sed 's/^/| /' conftest.
$ac_ext >&5
14078 ac_header_preproc
=no
14080 rm -f conftest.err conftest.
$ac_ext
14081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14082 echo "${ECHO_T}$ac_header_preproc" >&6
14084 # So? What about this header?
14085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14091 ac_header_preproc
=yes
14094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14108 ## ----------------------------------------- ##
14109 ## Report this to wx-dev@lists.wxwidgets.org ##
14110 ## ----------------------------------------- ##
14113 sed "s/^/$as_me: WARNING: /" >&2
14116 echo "$as_me:$LINENO: checking for $ac_header" >&5
14117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 eval "$as_ac_Header=\$ac_header_preproc"
14123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14128 cat >>confdefs.h
<<_ACEOF
14129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14137 for ac_header
in unistd.h
14139 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14141 echo "$as_me:$LINENO: checking for $ac_header" >&5
14142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14149 # Is the header compilable?
14150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14152 cat >conftest.
$ac_ext <<_ACEOF
14155 cat confdefs.h
>>conftest.
$ac_ext
14156 cat >>conftest.
$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14158 $ac_includes_default
14159 #include <$ac_header>
14161 rm -f conftest.
$ac_objext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14163 (eval $ac_compile) 2>conftest.er1
14165 grep -v '^ *+' conftest.er1
>conftest.err
14167 cat conftest.err
>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); } &&
14170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14172 (eval $ac_try) 2>&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); }; } &&
14176 { ac_try
='test -s conftest.$ac_objext'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; }; then
14182 ac_header_compiler
=yes
14184 echo "$as_me: failed program was:" >&5
14185 sed 's/^/| /' conftest.
$ac_ext >&5
14187 ac_header_compiler
=no
14189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14191 echo "${ECHO_T}$ac_header_compiler" >&6
14193 # Is the header present?
14194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14196 cat >conftest.
$ac_ext <<_ACEOF
14199 cat confdefs.h
>>conftest.
$ac_ext
14200 cat >>conftest.
$ac_ext <<_ACEOF
14201 /* end confdefs.h. */
14202 #include <$ac_header>
14204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14207 grep -v '^ *+' conftest.er1
>conftest.err
14209 cat conftest.err
>&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); } >/dev
/null
; then
14212 if test -s conftest.err
; then
14213 ac_cpp_err
=$ac_c_preproc_warn_flag
14214 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14221 if test -z "$ac_cpp_err"; then
14222 ac_header_preproc
=yes
14224 echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.
$ac_ext >&5
14227 ac_header_preproc
=no
14229 rm -f conftest.err conftest.
$ac_ext
14230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14231 echo "${ECHO_T}$ac_header_preproc" >&6
14233 # So? What about this header?
14234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14240 ac_header_preproc
=yes
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14257 ## ----------------------------------------- ##
14258 ## Report this to wx-dev@lists.wxwidgets.org ##
14259 ## ----------------------------------------- ##
14262 sed "s/^/$as_me: WARNING: /" >&2
14265 echo "$as_me:$LINENO: checking for $ac_header" >&5
14266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14268 echo $ECHO_N "(cached) $ECHO_C" >&6
14270 eval "$as_ac_Header=\$ac_header_preproc"
14272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14277 cat >>confdefs.h
<<_ACEOF
14278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14286 for ac_header
in wchar.h
14288 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14290 echo "$as_me:$LINENO: checking for $ac_header" >&5
14291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14293 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14298 # Is the header compilable?
14299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14301 cat >conftest.
$ac_ext <<_ACEOF
14304 cat confdefs.h
>>conftest.
$ac_ext
14305 cat >>conftest.
$ac_ext <<_ACEOF
14306 /* end confdefs.h. */
14307 $ac_includes_default
14308 #include <$ac_header>
14310 rm -f conftest.
$ac_objext
14311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14312 (eval $ac_compile) 2>conftest.er1
14314 grep -v '^ *+' conftest.er1
>conftest.err
14316 cat conftest.err
>&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); } &&
14319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14321 (eval $ac_try) 2>&5
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); }; } &&
14325 { ac_try
='test -s conftest.$ac_objext'
14326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14327 (eval $ac_try) 2>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; }; then
14331 ac_header_compiler
=yes
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.
$ac_ext >&5
14336 ac_header_compiler
=no
14338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14340 echo "${ECHO_T}$ac_header_compiler" >&6
14342 # Is the header present?
14343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14345 cat >conftest.
$ac_ext <<_ACEOF
14348 cat confdefs.h
>>conftest.
$ac_ext
14349 cat >>conftest.
$ac_ext <<_ACEOF
14350 /* end confdefs.h. */
14351 #include <$ac_header>
14353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14356 grep -v '^ *+' conftest.er1
>conftest.err
14358 cat conftest.err
>&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); } >/dev
/null
; then
14361 if test -s conftest.err
; then
14362 ac_cpp_err
=$ac_c_preproc_warn_flag
14363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14370 if test -z "$ac_cpp_err"; then
14371 ac_header_preproc
=yes
14373 echo "$as_me: failed program was:" >&5
14374 sed 's/^/| /' conftest.
$ac_ext >&5
14376 ac_header_preproc
=no
14378 rm -f conftest.err conftest.
$ac_ext
14379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14380 echo "${ECHO_T}$ac_header_preproc" >&6
14382 # So? What about this header?
14383 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14389 ac_header_preproc
=yes
14392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14406 ## ----------------------------------------- ##
14407 ## Report this to wx-dev@lists.wxwidgets.org ##
14408 ## ----------------------------------------- ##
14411 sed "s/^/$as_me: WARNING: /" >&2
14414 echo "$as_me:$LINENO: checking for $ac_header" >&5
14415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14417 echo $ECHO_N "(cached) $ECHO_C" >&6
14419 eval "$as_ac_Header=\$ac_header_preproc"
14421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14426 cat >>confdefs.h
<<_ACEOF
14427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14435 if test "$ac_cv_header_wchar_h" != "yes"; then
14437 for ac_header
in wcstr.h
14439 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14441 echo "$as_me:$LINENO: checking for $ac_header" >&5
14442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14444 echo $ECHO_N "(cached) $ECHO_C" >&6
14446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14449 # Is the header compilable?
14450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14452 cat >conftest.
$ac_ext <<_ACEOF
14455 cat confdefs.h
>>conftest.
$ac_ext
14456 cat >>conftest.
$ac_ext <<_ACEOF
14457 /* end confdefs.h. */
14458 $ac_includes_default
14459 #include <$ac_header>
14461 rm -f conftest.
$ac_objext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14463 (eval $ac_compile) 2>conftest.er1
14465 grep -v '^ *+' conftest.er1
>conftest.err
14467 cat conftest.err
>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); } &&
14470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; } &&
14476 { ac_try
='test -s conftest.$ac_objext'
14477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478 (eval $ac_try) 2>&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; }; then
14482 ac_header_compiler
=yes
14484 echo "$as_me: failed program was:" >&5
14485 sed 's/^/| /' conftest.
$ac_ext >&5
14487 ac_header_compiler
=no
14489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14491 echo "${ECHO_T}$ac_header_compiler" >&6
14493 # Is the header present?
14494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14496 cat >conftest.
$ac_ext <<_ACEOF
14499 cat confdefs.h
>>conftest.
$ac_ext
14500 cat >>conftest.
$ac_ext <<_ACEOF
14501 /* end confdefs.h. */
14502 #include <$ac_header>
14504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14505 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14507 grep -v '^ *+' conftest.er1
>conftest.err
14509 cat conftest.err
>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } >/dev
/null
; then
14512 if test -s conftest.err
; then
14513 ac_cpp_err
=$ac_c_preproc_warn_flag
14514 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14521 if test -z "$ac_cpp_err"; then
14522 ac_header_preproc
=yes
14524 echo "$as_me: failed program was:" >&5
14525 sed 's/^/| /' conftest.
$ac_ext >&5
14527 ac_header_preproc
=no
14529 rm -f conftest.err conftest.
$ac_ext
14530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14531 echo "${ECHO_T}$ac_header_preproc" >&6
14533 # So? What about this header?
14534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14540 ac_header_preproc
=yes
14543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14557 ## ----------------------------------------- ##
14558 ## Report this to wx-dev@lists.wxwidgets.org ##
14559 ## ----------------------------------------- ##
14562 sed "s/^/$as_me: WARNING: /" >&2
14565 echo "$as_me:$LINENO: checking for $ac_header" >&5
14566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
14570 eval "$as_ac_Header=\$ac_header_preproc"
14572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14577 cat >>confdefs.h
<<_ACEOF
14578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14588 for ac_header
in fnmatch.h
14590 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14592 echo "$as_me:$LINENO: checking for $ac_header" >&5
14593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14595 echo $ECHO_N "(cached) $ECHO_C" >&6
14597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14600 # Is the header compilable?
14601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14603 cat >conftest.
$ac_ext <<_ACEOF
14606 cat confdefs.h
>>conftest.
$ac_ext
14607 cat >>conftest.
$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609 $ac_includes_default
14610 #include <$ac_header>
14612 rm -f conftest.
$ac_objext
14613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14614 (eval $ac_compile) 2>conftest.er1
14616 grep -v '^ *+' conftest.er1
>conftest.err
14618 cat conftest.err
>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } &&
14621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; } &&
14627 { ac_try
='test -s conftest.$ac_objext'
14628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14629 (eval $ac_try) 2>&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); }; }; then
14633 ac_header_compiler
=yes
14635 echo "$as_me: failed program was:" >&5
14636 sed 's/^/| /' conftest.
$ac_ext >&5
14638 ac_header_compiler
=no
14640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14642 echo "${ECHO_T}$ac_header_compiler" >&6
14644 # Is the header present?
14645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14647 cat >conftest.
$ac_ext <<_ACEOF
14650 cat confdefs.h
>>conftest.
$ac_ext
14651 cat >>conftest.
$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14653 #include <$ac_header>
14655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14656 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14658 grep -v '^ *+' conftest.er1
>conftest.err
14660 cat conftest.err
>&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); } >/dev
/null
; then
14663 if test -s conftest.err
; then
14664 ac_cpp_err
=$ac_c_preproc_warn_flag
14665 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14672 if test -z "$ac_cpp_err"; then
14673 ac_header_preproc
=yes
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.
$ac_ext >&5
14678 ac_header_preproc
=no
14680 rm -f conftest.err conftest.
$ac_ext
14681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14682 echo "${ECHO_T}$ac_header_preproc" >&6
14684 # So? What about this header?
14685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14691 ac_header_preproc
=yes
14694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14708 ## ----------------------------------------- ##
14709 ## Report this to wx-dev@lists.wxwidgets.org ##
14710 ## ----------------------------------------- ##
14713 sed "s/^/$as_me: WARNING: /" >&2
14716 echo "$as_me:$LINENO: checking for $ac_header" >&5
14717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14719 echo $ECHO_N "(cached) $ECHO_C" >&6
14721 eval "$as_ac_Header=\$ac_header_preproc"
14723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14728 cat >>confdefs.h
<<_ACEOF
14729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14737 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14739 for ac_func
in fnmatch
14741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14742 echo "$as_me:$LINENO: checking for $ac_func" >&5
14743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14744 if eval "test \"\${$as_ac_var+set}\" = set"; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14747 cat >conftest.
$ac_ext <<_ACEOF
14750 cat confdefs.h
>>conftest.
$ac_ext
14751 cat >>conftest.
$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14755 #define $ac_func innocuous_$ac_func
14757 /* System header to define __stub macros and hopefully few prototypes,
14758 which can conflict with char $ac_func (); below.
14759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14760 <limits.h> exists even on freestanding compilers. */
14763 # include <limits.h>
14765 # include <assert.h>
14770 /* Override any gcc2 internal prototype to avoid an error. */
14775 /* We use char because int might match the return type of a gcc2
14776 builtin and then its argument prototype would still apply. */
14778 /* The GNU C library defines this for functions which it implements
14779 to always fail with ENOSYS. Some functions are actually named
14780 something starting with __ and the normal name is an alias. */
14781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14784 char (*f) () = $ac_func;
14793 return f != $ac_func;
14798 rm -f conftest.
$ac_objext conftest
$ac_exeext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800 (eval $ac_link) 2>conftest.er1
14802 grep -v '^ *+' conftest.er1
>conftest.err
14804 cat conftest.err
>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; } &&
14813 { ac_try
='test -s conftest$ac_exeext'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; }; then
14819 eval "$as_ac_var=yes"
14821 echo "$as_me: failed program was:" >&5
14822 sed 's/^/| /' conftest.
$ac_ext >&5
14824 eval "$as_ac_var=no"
14826 rm -f conftest.err conftest.
$ac_objext \
14827 conftest
$ac_exeext conftest.
$ac_ext
14829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14831 if test `eval echo '${'$as_ac_var'}'` = yes; then
14832 cat >>confdefs.h
<<_ACEOF
14833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14842 for ac_header
in langinfo.h
14844 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14846 echo "$as_me:$LINENO: checking for $ac_header" >&5
14847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14854 # Is the header compilable?
14855 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14856 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14857 cat >conftest.
$ac_ext <<_ACEOF
14860 cat confdefs.h
>>conftest.
$ac_ext
14861 cat >>conftest.
$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14863 $ac_includes_default
14864 #include <$ac_header>
14866 rm -f conftest.
$ac_objext
14867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14868 (eval $ac_compile) 2>conftest.er1
14870 grep -v '^ *+' conftest.er1
>conftest.err
14872 cat conftest.err
>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } &&
14875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; } &&
14881 { ac_try
='test -s conftest.$ac_objext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; }; then
14887 ac_header_compiler
=yes
14889 echo "$as_me: failed program was:" >&5
14890 sed 's/^/| /' conftest.
$ac_ext >&5
14892 ac_header_compiler
=no
14894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14896 echo "${ECHO_T}$ac_header_compiler" >&6
14898 # Is the header present?
14899 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14900 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14901 cat >conftest.
$ac_ext <<_ACEOF
14904 cat confdefs.h
>>conftest.
$ac_ext
14905 cat >>conftest.
$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14907 #include <$ac_header>
14909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14910 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14912 grep -v '^ *+' conftest.er1
>conftest.err
14914 cat conftest.err
>&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); } >/dev
/null
; then
14917 if test -s conftest.err
; then
14918 ac_cpp_err
=$ac_c_preproc_warn_flag
14919 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14926 if test -z "$ac_cpp_err"; then
14927 ac_header_preproc
=yes
14929 echo "$as_me: failed program was:" >&5
14930 sed 's/^/| /' conftest.
$ac_ext >&5
14932 ac_header_preproc
=no
14934 rm -f conftest.err conftest.
$ac_ext
14935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14936 echo "${ECHO_T}$ac_header_preproc" >&6
14938 # So? What about this header?
14939 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14941 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14942 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14944 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14945 ac_header_preproc
=yes
14948 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14949 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14950 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14951 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14952 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14953 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14954 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14955 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14958 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14959 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14962 ## ----------------------------------------- ##
14963 ## Report this to wx-dev@lists.wxwidgets.org ##
14964 ## ----------------------------------------- ##
14967 sed "s/^/$as_me: WARNING: /" >&2
14970 echo "$as_me:$LINENO: checking for $ac_header" >&5
14971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14975 eval "$as_ac_Header=\$ac_header_preproc"
14977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14982 cat >>confdefs.h
<<_ACEOF
14983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14992 *-pc-os2_emx | *-pc-os2-emx )
14993 if test $ac_cv_header_langinfo_h = "yes" \
14994 -a \
( "$wx_cv_gccversion" = "EMX2" \
14995 -o "$wx_cv_gccversion" = "EMX3" \
14996 -o "$wx_cv_gccversion" = "Innotek5" \
); then
14997 LIBS
="$LIBS -lintl"
15002 if test "$wxUSE_GUI" = "yes"; then
15003 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15005 for ac_header
in X
11/Xlib.h
15007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15009 echo "$as_me:$LINENO: checking for $ac_header" >&5
15010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15012 echo $ECHO_N "(cached) $ECHO_C" >&6
15014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15017 # Is the header compilable?
15018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15020 cat >conftest.
$ac_ext <<_ACEOF
15023 cat confdefs.h
>>conftest.
$ac_ext
15024 cat >>conftest.
$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15026 $ac_includes_default
15027 #include <$ac_header>
15029 rm -f conftest.
$ac_objext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15031 (eval $ac_compile) 2>conftest.er1
15033 grep -v '^ *+' conftest.er1
>conftest.err
15035 cat conftest.err
>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; } &&
15044 { ac_try
='test -s conftest.$ac_objext'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; }; then
15050 ac_header_compiler
=yes
15052 echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.
$ac_ext >&5
15055 ac_header_compiler
=no
15057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15058 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15059 echo "${ECHO_T}$ac_header_compiler" >&6
15061 # Is the header present?
15062 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15063 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15064 cat >conftest.
$ac_ext <<_ACEOF
15067 cat confdefs.h
>>conftest.
$ac_ext
15068 cat >>conftest.
$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15070 #include <$ac_header>
15072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15075 grep -v '^ *+' conftest.er1
>conftest.err
15077 cat conftest.err
>&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); } >/dev
/null
; then
15080 if test -s conftest.err
; then
15081 ac_cpp_err
=$ac_c_preproc_warn_flag
15082 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15089 if test -z "$ac_cpp_err"; then
15090 ac_header_preproc
=yes
15092 echo "$as_me: failed program was:" >&5
15093 sed 's/^/| /' conftest.
$ac_ext >&5
15095 ac_header_preproc
=no
15097 rm -f conftest.err conftest.
$ac_ext
15098 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15099 echo "${ECHO_T}$ac_header_preproc" >&6
15101 # So? What about this header?
15102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15104 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15105 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15107 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15108 ac_header_preproc
=yes
15111 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15112 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15113 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15114 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15115 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15116 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15117 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15118 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15120 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15121 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15122 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15125 ## ----------------------------------------- ##
15126 ## Report this to wx-dev@lists.wxwidgets.org ##
15127 ## ----------------------------------------- ##
15130 sed "s/^/$as_me: WARNING: /" >&2
15133 echo "$as_me:$LINENO: checking for $ac_header" >&5
15134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15138 eval "$as_ac_Header=\$ac_header_preproc"
15140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15145 cat >>confdefs.h
<<_ACEOF
15146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15154 for ac_header
in X
11/XKBlib.h
15156 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15157 echo "$as_me:$LINENO: checking for $ac_header" >&5
15158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15160 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 cat >conftest.
$ac_ext <<_ACEOF
15165 cat confdefs.h
>>conftest.
$ac_ext
15166 cat >>conftest.
$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15169 #if HAVE_X11_XLIB_H
15170 #include <X11/Xlib.h>
15174 #include <$ac_header>
15176 rm -f conftest.
$ac_objext
15177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15178 (eval $ac_compile) 2>conftest.er1
15180 grep -v '^ *+' conftest.er1
>conftest.err
15182 cat conftest.err
>&5
15183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15184 (exit $ac_status); } &&
15185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15187 (eval $ac_try) 2>&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); }; } &&
15191 { ac_try
='test -s conftest.$ac_objext'
15192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193 (eval $ac_try) 2>&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; }; then
15197 eval "$as_ac_Header=yes"
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.
$ac_ext >&5
15202 eval "$as_ac_Header=no"
15204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15209 cat >>confdefs.h
<<_ACEOF
15210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15221 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15222 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15223 if test "${ac_cv_c_const+set}" = set; then
15224 echo $ECHO_N "(cached) $ECHO_C" >&6
15226 cat >conftest.
$ac_ext <<_ACEOF
15229 cat confdefs.h
>>conftest.
$ac_ext
15230 cat >>conftest.
$ac_ext <<_ACEOF
15231 /* end confdefs.h. */
15236 /* FIXME: Include the comments suggested by Paul. */
15237 #ifndef __cplusplus
15238 /* Ultrix mips cc rejects this. */
15239 typedef int charset[2];
15241 /* SunOS 4.1.1 cc rejects this. */
15242 char const *const *ccp;
15244 /* NEC SVR4.0.2 mips cc rejects this. */
15245 struct point {int x, y;};
15246 static struct point const zero = {0,0};
15247 /* AIX XL C 1.02.0.0 rejects this.
15248 It does not let you subtract one const X* pointer from another in
15249 an arm of an if-expression whose if-part is not a constant
15251 const char *g = "string";
15252 ccp = &g + (g ? g-g : 0);
15253 /* HPUX 7.0 cc rejects these. */
15256 ccp = (char const *const *) p;
15257 { /* SCO 3.2v4 cc rejects this. */
15259 char const *s = 0 ? (char *) 0 : (char const *) 0;
15263 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15264 int x[] = {25, 17};
15265 const int *foo = &x[0];
15268 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15269 typedef const int *iptr;
15273 { /* AIX XL C 1.02.0.0 rejects this saying
15274 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15275 struct s { int j; const int *ap[3]; };
15276 struct s *b; b->j = 5;
15278 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15279 const int foo = 10;
15287 rm -f conftest.
$ac_objext
15288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15289 (eval $ac_compile) 2>conftest.er1
15291 grep -v '^ *+' conftest.er1
>conftest.err
15293 cat conftest.err
>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; } &&
15302 { ac_try
='test -s conftest.$ac_objext'
15303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15304 (eval $ac_try) 2>&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); }; }; then
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.
$ac_ext >&5
15315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15317 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15318 echo "${ECHO_T}$ac_cv_c_const" >&6
15319 if test $ac_cv_c_const = no
; then
15321 cat >>confdefs.h
<<\_ACEOF
15327 echo "$as_me:$LINENO: checking for inline" >&5
15328 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15329 if test "${ac_cv_c_inline+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15333 for ac_kw
in inline __inline__ __inline
; do
15334 cat >conftest.
$ac_ext <<_ACEOF
15337 cat confdefs.h
>>conftest.
$ac_ext
15338 cat >>conftest.
$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340 #ifndef __cplusplus
15342 static $ac_kw foo_t static_foo () {return 0; }
15343 $ac_kw foo_t foo () {return 0; }
15347 rm -f conftest.
$ac_objext
15348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15349 (eval $ac_compile) 2>conftest.er1
15351 grep -v '^ *+' conftest.er1
>conftest.err
15353 cat conftest.err
>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); } &&
15356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15358 (eval $ac_try) 2>&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); }; } &&
15362 { ac_try
='test -s conftest.$ac_objext'
15363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15364 (eval $ac_try) 2>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); }; }; then
15368 ac_cv_c_inline
=$ac_kw; break
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.
$ac_ext >&5
15374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15378 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15379 echo "${ECHO_T}$ac_cv_c_inline" >&6
15382 case $ac_cv_c_inline in
15385 case $ac_cv_c_inline in
15387 *) ac_val
=$ac_cv_c_inline;;
15389 cat >>confdefs.h
<<_ACEOF
15390 #ifndef __cplusplus
15391 #define inline $ac_val
15398 echo "$as_me:$LINENO: checking for char" >&5
15399 echo $ECHO_N "checking for char... $ECHO_C" >&6
15400 if test "${ac_cv_type_char+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15403 cat >conftest.
$ac_ext <<_ACEOF
15406 cat confdefs.h
>>conftest.
$ac_ext
15407 cat >>conftest.
$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15409 $ac_includes_default
15421 rm -f conftest.
$ac_objext
15422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15423 (eval $ac_compile) 2>conftest.er1
15425 grep -v '^ *+' conftest.er1
>conftest.err
15427 cat conftest.err
>&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); } &&
15430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; } &&
15436 { ac_try
='test -s conftest.$ac_objext'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; }; then
15442 ac_cv_type_char
=yes
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.
$ac_ext >&5
15449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15451 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15452 echo "${ECHO_T}$ac_cv_type_char" >&6
15454 echo "$as_me:$LINENO: checking size of char" >&5
15455 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15456 if test "${ac_cv_sizeof_char+set}" = set; then
15457 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 if test "$ac_cv_type_char" = yes; then
15460 # The cast to unsigned long works around a bug in the HP C Compiler
15461 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15462 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15463 # This bug is HP SR number 8606223364.
15464 if test "$cross_compiling" = yes; then
15465 # Depending upon the size, compute the lo and hi bounds.
15466 cat >conftest.
$ac_ext <<_ACEOF
15469 cat confdefs.h
>>conftest.
$ac_ext
15470 cat >>conftest.
$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 $ac_includes_default
15476 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15483 rm -f conftest.
$ac_objext
15484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15485 (eval $ac_compile) 2>conftest.er1
15487 grep -v '^ *+' conftest.er1
>conftest.err
15489 cat conftest.err
>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } &&
15492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; } &&
15498 { ac_try
='test -s conftest.$ac_objext'
15499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15500 (eval $ac_try) 2>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; }; then
15506 cat >conftest.
$ac_ext <<_ACEOF
15509 cat confdefs.h
>>conftest.
$ac_ext
15510 cat >>conftest.
$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15512 $ac_includes_default
15516 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15523 rm -f conftest.
$ac_objext
15524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15525 (eval $ac_compile) 2>conftest.er1
15527 grep -v '^ *+' conftest.er1
>conftest.err
15529 cat conftest.err
>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15544 ac_hi
=$ac_mid; break
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.
$ac_ext >&5
15549 ac_lo
=`expr $ac_mid + 1`
15550 if test $ac_lo -le $ac_mid; then
15554 ac_mid
=`expr 2 '*' $ac_mid + 1`
15556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15559 echo "$as_me: failed program was:" >&5
15560 sed 's/^/| /' conftest.
$ac_ext >&5
15562 cat >conftest.
$ac_ext <<_ACEOF
15565 cat confdefs.h
>>conftest.
$ac_ext
15566 cat >>conftest.
$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 $ac_includes_default
15572 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15579 rm -f conftest.
$ac_objext
15580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15581 (eval $ac_compile) 2>conftest.er1
15583 grep -v '^ *+' conftest.er1
>conftest.err
15585 cat conftest.err
>&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); } &&
15588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; } &&
15594 { ac_try
='test -s conftest.$ac_objext'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; }; then
15602 cat >conftest.
$ac_ext <<_ACEOF
15605 cat confdefs.h
>>conftest.
$ac_ext
15606 cat >>conftest.
$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 $ac_includes_default
15612 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15619 rm -f conftest.
$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>conftest.er1
15623 grep -v '^ *+' conftest.er1
>conftest.err
15625 cat conftest.err
>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; } &&
15634 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15640 ac_lo
=$ac_mid; break
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.
$ac_ext >&5
15645 ac_hi
=`expr '(' $ac_mid ')' - 1`
15646 if test $ac_mid -le $ac_hi; then
15650 ac_mid
=`expr 2 '*' $ac_mid`
15652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.
$ac_ext >&5
15660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15663 # Binary search between lo and hi bounds.
15664 while test "x$ac_lo" != "x$ac_hi"; do
15665 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15666 cat >conftest.
$ac_ext <<_ACEOF
15669 cat confdefs.h
>>conftest.
$ac_ext
15670 cat >>conftest.
$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15672 $ac_includes_default
15676 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15683 rm -f conftest.
$ac_objext
15684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15685 (eval $ac_compile) 2>conftest.er1
15687 grep -v '^ *+' conftest.er1
>conftest.err
15689 cat conftest.err
>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } &&
15692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; } &&
15698 { ac_try
='test -s conftest.$ac_objext'
15699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15700 (eval $ac_try) 2>&5
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); }; }; then
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.
$ac_ext >&5
15709 ac_lo
=`expr '(' $ac_mid ')' + 1`
15711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15714 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15715 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15716 See \`config.log' for more details." >&5
15717 echo "$as_me: error: cannot compute sizeof (char), 77
15718 See \`config.log' for more details." >&2;}
15719 { (exit 1); exit 1; }; } ;;
15722 if test "$cross_compiling" = yes; then
15723 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15724 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15725 { (exit 1); exit 1; }; }
15727 cat >conftest.
$ac_ext <<_ACEOF
15730 cat confdefs.h
>>conftest.
$ac_ext
15731 cat >>conftest.
$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15733 $ac_includes_default
15734 long longval () { return (long) (sizeof (char)); }
15735 unsigned long ulongval () { return (long) (sizeof (char)); }
15737 #include <stdlib.h>
15742 FILE *f = fopen ("conftest.val", "w");
15745 if (((long) (sizeof (char))) < 0)
15747 long i = longval ();
15748 if (i != ((long) (sizeof (char))))
15750 fprintf (f, "%ld\n", i);
15754 unsigned long i = ulongval ();
15755 if (i != ((long) (sizeof (char))))
15757 fprintf (f, "%lu\n", i);
15759 exit (ferror (f) || fclose (f) != 0);
15765 rm -f conftest
$ac_exeext
15766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15767 (eval $ac_link) 2>&5
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; }; then
15776 ac_cv_sizeof_char
=`cat conftest.val`
15778 echo "$as_me: program exited with status $ac_status" >&5
15779 echo "$as_me: failed program was:" >&5
15780 sed 's/^/| /' conftest.
$ac_ext >&5
15782 ( exit $ac_status )
15783 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15784 See \`config.log' for more details." >&5
15785 echo "$as_me: error: cannot compute sizeof (char), 77
15786 See \`config.log' for more details." >&2;}
15787 { (exit 1); exit 1; }; }
15789 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15794 ac_cv_sizeof_char
=0
15797 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15798 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15799 cat >>confdefs.h
<<_ACEOF
15800 #define SIZEOF_CHAR $ac_cv_sizeof_char
15804 echo "$as_me:$LINENO: checking for short" >&5
15805 echo $ECHO_N "checking for short... $ECHO_C" >&6
15806 if test "${ac_cv_type_short+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15809 cat >conftest.
$ac_ext <<_ACEOF
15812 cat confdefs.h
>>conftest.
$ac_ext
15813 cat >>conftest.
$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15815 $ac_includes_default
15821 if (sizeof (short))
15827 rm -f conftest.
$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>conftest.er1
15831 grep -v '^ *+' conftest.er1
>conftest.err
15833 cat conftest.err
>&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } &&
15836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15838 (eval $ac_try) 2>&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); }; } &&
15842 { ac_try
='test -s conftest.$ac_objext'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; }; then
15848 ac_cv_type_short
=yes
15850 echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.
$ac_ext >&5
15853 ac_cv_type_short
=no
15855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15857 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15858 echo "${ECHO_T}$ac_cv_type_short" >&6
15860 echo "$as_me:$LINENO: checking size of short" >&5
15861 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15862 if test "${ac_cv_sizeof_short+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15865 if test "$ac_cv_type_short" = yes; then
15866 # The cast to unsigned long works around a bug in the HP C Compiler
15867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15869 # This bug is HP SR number 8606223364.
15870 if test "$cross_compiling" = yes; then
15871 # Depending upon the size, compute the lo and hi bounds.
15872 cat >conftest.
$ac_ext <<_ACEOF
15875 cat confdefs.h
>>conftest.
$ac_ext
15876 cat >>conftest.
$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15878 $ac_includes_default
15882 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15889 rm -f conftest.
$ac_objext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15891 (eval $ac_compile) 2>conftest.er1
15893 grep -v '^ *+' conftest.er1
>conftest.err
15895 cat conftest.err
>&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try
='test -s conftest.$ac_objext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15912 cat >conftest.
$ac_ext <<_ACEOF
15915 cat confdefs.h
>>conftest.
$ac_ext
15916 cat >>conftest.
$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918 $ac_includes_default
15922 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15929 rm -f conftest.
$ac_objext
15930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15931 (eval $ac_compile) 2>conftest.er1
15933 grep -v '^ *+' conftest.er1
>conftest.err
15935 cat conftest.err
>&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); } &&
15938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15940 (eval $ac_try) 2>&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); }; } &&
15944 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15950 ac_hi
=$ac_mid; break
15952 echo "$as_me: failed program was:" >&5
15953 sed 's/^/| /' conftest.
$ac_ext >&5
15955 ac_lo
=`expr $ac_mid + 1`
15956 if test $ac_lo -le $ac_mid; then
15960 ac_mid
=`expr 2 '*' $ac_mid + 1`
15962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.
$ac_ext >&5
15968 cat >conftest.
$ac_ext <<_ACEOF
15971 cat confdefs.h
>>conftest.
$ac_ext
15972 cat >>conftest.
$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 $ac_includes_default
15978 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15985 rm -f conftest.
$ac_objext
15986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15987 (eval $ac_compile) 2>conftest.er1
15989 grep -v '^ *+' conftest.er1
>conftest.err
15991 cat conftest.err
>&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); } &&
15994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996 (eval $ac_try) 2>&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }; } &&
16000 { ac_try
='test -s conftest.$ac_objext'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; }; then
16008 cat >conftest.
$ac_ext <<_ACEOF
16011 cat confdefs.h
>>conftest.
$ac_ext
16012 cat >>conftest.
$ac_ext <<_ACEOF
16013 /* end confdefs.h. */
16014 $ac_includes_default
16018 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16025 rm -f conftest.
$ac_objext
16026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16027 (eval $ac_compile) 2>conftest.er1
16029 grep -v '^ *+' conftest.er1
>conftest.err
16031 cat conftest.err
>&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } &&
16034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; } &&
16040 { ac_try
='test -s conftest.$ac_objext'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; }; then
16046 ac_lo
=$ac_mid; break
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.
$ac_ext >&5
16051 ac_hi
=`expr '(' $ac_mid ')' - 1`
16052 if test $ac_mid -le $ac_hi; then
16056 ac_mid
=`expr 2 '*' $ac_mid`
16058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16061 echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.
$ac_ext >&5
16066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16069 # Binary search between lo and hi bounds.
16070 while test "x$ac_lo" != "x$ac_hi"; do
16071 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16072 cat >conftest.
$ac_ext <<_ACEOF
16075 cat confdefs.h
>>conftest.
$ac_ext
16076 cat >>conftest.
$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16078 $ac_includes_default
16082 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16089 rm -f conftest.
$ac_objext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16091 (eval $ac_compile) 2>conftest.er1
16093 grep -v '^ *+' conftest.er1
>conftest.err
16095 cat conftest.err
>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; } &&
16104 { ac_try
='test -s conftest.$ac_objext'
16105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16106 (eval $ac_try) 2>&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; }; then
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.
$ac_ext >&5
16115 ac_lo
=`expr '(' $ac_mid ')' + 1`
16117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16120 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16121 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16122 See \`config.log' for more details." >&5
16123 echo "$as_me: error: cannot compute sizeof (short), 77
16124 See \`config.log' for more details." >&2;}
16125 { (exit 1); exit 1; }; } ;;
16128 if test "$cross_compiling" = yes; then
16129 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16130 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16131 { (exit 1); exit 1; }; }
16133 cat >conftest.
$ac_ext <<_ACEOF
16136 cat confdefs.h
>>conftest.
$ac_ext
16137 cat >>conftest.
$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16139 $ac_includes_default
16140 long longval () { return (long) (sizeof (short)); }
16141 unsigned long ulongval () { return (long) (sizeof (short)); }
16143 #include <stdlib.h>
16148 FILE *f = fopen ("conftest.val", "w");
16151 if (((long) (sizeof (short))) < 0)
16153 long i = longval ();
16154 if (i != ((long) (sizeof (short))))
16156 fprintf (f, "%ld\n", i);
16160 unsigned long i = ulongval ();
16161 if (i != ((long) (sizeof (short))))
16163 fprintf (f, "%lu\n", i);
16165 exit (ferror (f) || fclose (f) != 0);
16171 rm -f conftest
$ac_exeext
16172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16173 (eval $ac_link) 2>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16178 (eval $ac_try) 2>&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); }; }; then
16182 ac_cv_sizeof_short
=`cat conftest.val`
16184 echo "$as_me: program exited with status $ac_status" >&5
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.
$ac_ext >&5
16188 ( exit $ac_status )
16189 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16190 See \`config.log' for more details." >&5
16191 echo "$as_me: error: cannot compute sizeof (short), 77
16192 See \`config.log' for more details." >&2;}
16193 { (exit 1); exit 1; }; }
16195 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16200 ac_cv_sizeof_short
=0
16203 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16204 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16205 cat >>confdefs.h
<<_ACEOF
16206 #define SIZEOF_SHORT $ac_cv_sizeof_short
16210 echo "$as_me:$LINENO: checking for void *" >&5
16211 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16212 if test "${ac_cv_type_void_p+set}" = set; then
16213 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 cat >conftest.
$ac_ext <<_ACEOF
16218 cat confdefs.h
>>conftest.
$ac_ext
16219 cat >>conftest.
$ac_ext <<_ACEOF
16220 /* end confdefs.h. */
16221 $ac_includes_default
16227 if (sizeof (void *))
16233 rm -f conftest.
$ac_objext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16237 grep -v '^ *+' conftest.er1
>conftest.err
16239 cat conftest.err
>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try
='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 ac_cv_type_void_p
=yes
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.
$ac_ext >&5
16259 ac_cv_type_void_p
=no
16261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16263 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16264 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16266 echo "$as_me:$LINENO: checking size of void *" >&5
16267 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16268 if test "${ac_cv_sizeof_void_p+set}" = set; then
16269 echo $ECHO_N "(cached) $ECHO_C" >&6
16271 if test "$ac_cv_type_void_p" = yes; then
16272 # The cast to unsigned long works around a bug in the HP C Compiler
16273 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16274 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16275 # This bug is HP SR number 8606223364.
16276 if test "$cross_compiling" = yes; then
16277 # Depending upon the size, compute the lo and hi bounds.
16278 cat >conftest.
$ac_ext <<_ACEOF
16281 cat confdefs.h
>>conftest.
$ac_ext
16282 cat >>conftest.
$ac_ext <<_ACEOF
16283 /* end confdefs.h. */
16284 $ac_includes_default
16288 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16295 rm -f conftest.
$ac_objext
16296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16297 (eval $ac_compile) 2>conftest.er1
16299 grep -v '^ *+' conftest.er1
>conftest.err
16301 cat conftest.err
>&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } &&
16304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16306 (eval $ac_try) 2>&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); }; } &&
16310 { ac_try
='test -s conftest.$ac_objext'
16311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16312 (eval $ac_try) 2>&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; }; then
16318 cat >conftest.
$ac_ext <<_ACEOF
16321 cat confdefs.h
>>conftest.
$ac_ext
16322 cat >>conftest.
$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16324 $ac_includes_default
16328 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16335 rm -f conftest.
$ac_objext
16336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16337 (eval $ac_compile) 2>conftest.er1
16339 grep -v '^ *+' conftest.er1
>conftest.err
16341 cat conftest.err
>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } &&
16344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; } &&
16350 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16356 ac_hi
=$ac_mid; break
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.
$ac_ext >&5
16361 ac_lo
=`expr $ac_mid + 1`
16362 if test $ac_lo -le $ac_mid; then
16366 ac_mid
=`expr 2 '*' $ac_mid + 1`
16368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.
$ac_ext >&5
16374 cat >conftest.
$ac_ext <<_ACEOF
16377 cat confdefs.h
>>conftest.
$ac_ext
16378 cat >>conftest.
$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16380 $ac_includes_default
16384 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16391 rm -f conftest.
$ac_objext
16392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16393 (eval $ac_compile) 2>conftest.er1
16395 grep -v '^ *+' conftest.er1
>conftest.err
16397 cat conftest.err
>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } &&
16400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402 (eval $ac_try) 2>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; } &&
16406 { ac_try
='test -s conftest.$ac_objext'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; }; then
16414 cat >conftest.
$ac_ext <<_ACEOF
16417 cat confdefs.h
>>conftest.
$ac_ext
16418 cat >>conftest.
$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16420 $ac_includes_default
16424 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16431 rm -f conftest.
$ac_objext
16432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16433 (eval $ac_compile) 2>conftest.er1
16435 grep -v '^ *+' conftest.er1
>conftest.err
16437 cat conftest.err
>&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } &&
16440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; } &&
16446 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16452 ac_lo
=$ac_mid; break
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.
$ac_ext >&5
16457 ac_hi
=`expr '(' $ac_mid ')' - 1`
16458 if test $ac_mid -le $ac_hi; then
16462 ac_mid
=`expr 2 '*' $ac_mid`
16464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.
$ac_ext >&5
16472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16475 # Binary search between lo and hi bounds.
16476 while test "x$ac_lo" != "x$ac_hi"; do
16477 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16478 cat >conftest.
$ac_ext <<_ACEOF
16481 cat confdefs.h
>>conftest.
$ac_ext
16482 cat >>conftest.
$ac_ext <<_ACEOF
16483 /* end confdefs.h. */
16484 $ac_includes_default
16488 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16495 rm -f conftest.
$ac_objext
16496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16497 (eval $ac_compile) 2>conftest.er1
16499 grep -v '^ *+' conftest.er1
>conftest.err
16501 cat conftest.err
>&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); } &&
16504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506 (eval $ac_try) 2>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; } &&
16510 { ac_try
='test -s conftest.$ac_objext'
16511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512 (eval $ac_try) 2>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); }; }; then
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.
$ac_ext >&5
16521 ac_lo
=`expr '(' $ac_mid ')' + 1`
16523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16526 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16527 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16528 See \`config.log' for more details." >&5
16529 echo "$as_me: error: cannot compute sizeof (void *), 77
16530 See \`config.log' for more details." >&2;}
16531 { (exit 1); exit 1; }; } ;;
16534 if test "$cross_compiling" = yes; then
16535 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16536 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16537 { (exit 1); exit 1; }; }
16539 cat >conftest.
$ac_ext <<_ACEOF
16542 cat confdefs.h
>>conftest.
$ac_ext
16543 cat >>conftest.
$ac_ext <<_ACEOF
16544 /* end confdefs.h. */
16545 $ac_includes_default
16546 long longval () { return (long) (sizeof (void *)); }
16547 unsigned long ulongval () { return (long) (sizeof (void *)); }
16549 #include <stdlib.h>
16554 FILE *f = fopen ("conftest.val", "w");
16557 if (((long) (sizeof (void *))) < 0)
16559 long i = longval ();
16560 if (i != ((long) (sizeof (void *))))
16562 fprintf (f, "%ld\n", i);
16566 unsigned long i = ulongval ();
16567 if (i != ((long) (sizeof (void *))))
16569 fprintf (f, "%lu\n", i);
16571 exit (ferror (f) || fclose (f) != 0);
16577 rm -f conftest
$ac_exeext
16578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16579 (eval $ac_link) 2>&5
16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16584 (eval $ac_try) 2>&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16588 ac_cv_sizeof_void_p
=`cat conftest.val`
16590 echo "$as_me: program exited with status $ac_status" >&5
16591 echo "$as_me: failed program was:" >&5
16592 sed 's/^/| /' conftest.
$ac_ext >&5
16594 ( exit $ac_status )
16595 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16596 See \`config.log' for more details." >&5
16597 echo "$as_me: error: cannot compute sizeof (void *), 77
16598 See \`config.log' for more details." >&2;}
16599 { (exit 1); exit 1; }; }
16601 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16606 ac_cv_sizeof_void_p
=0
16609 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16610 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16611 cat >>confdefs.h
<<_ACEOF
16612 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16616 echo "$as_me:$LINENO: checking for int" >&5
16617 echo $ECHO_N "checking for int... $ECHO_C" >&6
16618 if test "${ac_cv_type_int+set}" = set; then
16619 echo $ECHO_N "(cached) $ECHO_C" >&6
16621 cat >conftest.
$ac_ext <<_ACEOF
16624 cat confdefs.h
>>conftest.
$ac_ext
16625 cat >>conftest.
$ac_ext <<_ACEOF
16626 /* end confdefs.h. */
16627 $ac_includes_default
16639 rm -f conftest.
$ac_objext
16640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16641 (eval $ac_compile) 2>conftest.er1
16643 grep -v '^ *+' conftest.er1
>conftest.err
16645 cat conftest.err
>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } &&
16648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; } &&
16654 { ac_try
='test -s conftest.$ac_objext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.
$ac_ext >&5
16667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16669 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16670 echo "${ECHO_T}$ac_cv_type_int" >&6
16672 echo "$as_me:$LINENO: checking size of int" >&5
16673 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16674 if test "${ac_cv_sizeof_int+set}" = set; then
16675 echo $ECHO_N "(cached) $ECHO_C" >&6
16677 if test "$ac_cv_type_int" = yes; then
16678 # The cast to unsigned long works around a bug in the HP C Compiler
16679 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16680 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16681 # This bug is HP SR number 8606223364.
16682 if test "$cross_compiling" = yes; then
16683 # Depending upon the size, compute the lo and hi bounds.
16684 cat >conftest.
$ac_ext <<_ACEOF
16687 cat confdefs.h
>>conftest.
$ac_ext
16688 cat >>conftest.
$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16690 $ac_includes_default
16694 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16701 rm -f conftest.
$ac_objext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16703 (eval $ac_compile) 2>conftest.er1
16705 grep -v '^ *+' conftest.er1
>conftest.err
16707 cat conftest.err
>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; } &&
16716 { ac_try
='test -s conftest.$ac_objext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16724 cat >conftest.
$ac_ext <<_ACEOF
16727 cat confdefs.h
>>conftest.
$ac_ext
16728 cat >>conftest.
$ac_ext <<_ACEOF
16729 /* end confdefs.h. */
16730 $ac_includes_default
16734 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16741 rm -f conftest.
$ac_objext
16742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16743 (eval $ac_compile) 2>conftest.er1
16745 grep -v '^ *+' conftest.er1
>conftest.err
16747 cat conftest.err
>&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); } &&
16750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16752 (eval $ac_try) 2>&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); }; } &&
16756 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16762 ac_hi
=$ac_mid; break
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.
$ac_ext >&5
16767 ac_lo
=`expr $ac_mid + 1`
16768 if test $ac_lo -le $ac_mid; then
16772 ac_mid
=`expr 2 '*' $ac_mid + 1`
16774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.
$ac_ext >&5
16780 cat >conftest.
$ac_ext <<_ACEOF
16783 cat confdefs.h
>>conftest.
$ac_ext
16784 cat >>conftest.
$ac_ext <<_ACEOF
16785 /* end confdefs.h. */
16786 $ac_includes_default
16790 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16797 rm -f conftest.
$ac_objext
16798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16799 (eval $ac_compile) 2>conftest.er1
16801 grep -v '^ *+' conftest.er1
>conftest.err
16803 cat conftest.err
>&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); } &&
16806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16808 (eval $ac_try) 2>&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); }; } &&
16812 { ac_try
='test -s conftest.$ac_objext'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; }; then
16820 cat >conftest.
$ac_ext <<_ACEOF
16823 cat confdefs.h
>>conftest.
$ac_ext
16824 cat >>conftest.
$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 $ac_includes_default
16830 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16837 rm -f conftest.
$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>conftest.er1
16841 grep -v '^ *+' conftest.er1
>conftest.err
16843 cat conftest.err
>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; } &&
16852 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16858 ac_lo
=$ac_mid; break
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.
$ac_ext >&5
16863 ac_hi
=`expr '(' $ac_mid ')' - 1`
16864 if test $ac_mid -le $ac_hi; then
16868 ac_mid
=`expr 2 '*' $ac_mid`
16870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.
$ac_ext >&5
16878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16881 # Binary search between lo and hi bounds.
16882 while test "x$ac_lo" != "x$ac_hi"; do
16883 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16884 cat >conftest.
$ac_ext <<_ACEOF
16887 cat confdefs.h
>>conftest.
$ac_ext
16888 cat >>conftest.
$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 $ac_includes_default
16894 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16901 rm -f conftest.
$ac_objext
16902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16903 (eval $ac_compile) 2>conftest.er1
16905 grep -v '^ *+' conftest.er1
>conftest.err
16907 cat conftest.err
>&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } &&
16910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16912 (eval $ac_try) 2>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); }; } &&
16916 { ac_try
='test -s conftest.$ac_objext'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; }; then
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.
$ac_ext >&5
16927 ac_lo
=`expr '(' $ac_mid ')' + 1`
16929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16932 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16933 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16934 See \`config.log' for more details." >&5
16935 echo "$as_me: error: cannot compute sizeof (int), 77
16936 See \`config.log' for more details." >&2;}
16937 { (exit 1); exit 1; }; } ;;
16940 if test "$cross_compiling" = yes; then
16941 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16942 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16943 { (exit 1); exit 1; }; }
16945 cat >conftest.
$ac_ext <<_ACEOF
16948 cat confdefs.h
>>conftest.
$ac_ext
16949 cat >>conftest.
$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951 $ac_includes_default
16952 long longval () { return (long) (sizeof (int)); }
16953 unsigned long ulongval () { return (long) (sizeof (int)); }
16955 #include <stdlib.h>
16960 FILE *f = fopen ("conftest.val", "w");
16963 if (((long) (sizeof (int))) < 0)
16965 long i = longval ();
16966 if (i != ((long) (sizeof (int))))
16968 fprintf (f, "%ld\n", i);
16972 unsigned long i = ulongval ();
16973 if (i != ((long) (sizeof (int))))
16975 fprintf (f, "%lu\n", i);
16977 exit (ferror (f) || fclose (f) != 0);
16983 rm -f conftest
$ac_exeext
16984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16985 (eval $ac_link) 2>&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16990 (eval $ac_try) 2>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); }; }; then
16994 ac_cv_sizeof_int
=`cat conftest.val`
16996 echo "$as_me: program exited with status $ac_status" >&5
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.
$ac_ext >&5
17000 ( exit $ac_status )
17001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17002 See \`config.log' for more details." >&5
17003 echo "$as_me: error: cannot compute sizeof (int), 77
17004 See \`config.log' for more details." >&2;}
17005 { (exit 1); exit 1; }; }
17007 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17015 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17016 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17017 cat >>confdefs.h
<<_ACEOF
17018 #define SIZEOF_INT $ac_cv_sizeof_int
17022 echo "$as_me:$LINENO: checking for long" >&5
17023 echo $ECHO_N "checking for long... $ECHO_C" >&6
17024 if test "${ac_cv_type_long+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17027 cat >conftest.
$ac_ext <<_ACEOF
17030 cat confdefs.h
>>conftest.
$ac_ext
17031 cat >>conftest.
$ac_ext <<_ACEOF
17032 /* end confdefs.h. */
17033 $ac_includes_default
17045 rm -f conftest.
$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17049 grep -v '^ *+' conftest.er1
>conftest.err
17051 cat conftest.err
>&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; } &&
17060 { ac_try
='test -s conftest.$ac_objext'
17061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17062 (eval $ac_try) 2>&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); }; }; then
17066 ac_cv_type_long
=yes
17068 echo "$as_me: failed program was:" >&5
17069 sed 's/^/| /' conftest.
$ac_ext >&5
17073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17075 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17076 echo "${ECHO_T}$ac_cv_type_long" >&6
17078 echo "$as_me:$LINENO: checking size of long" >&5
17079 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17080 if test "${ac_cv_sizeof_long+set}" = set; then
17081 echo $ECHO_N "(cached) $ECHO_C" >&6
17083 if test "$ac_cv_type_long" = yes; then
17084 # The cast to unsigned long works around a bug in the HP C Compiler
17085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17087 # This bug is HP SR number 8606223364.
17088 if test "$cross_compiling" = yes; then
17089 # Depending upon the size, compute the lo and hi bounds.
17090 cat >conftest.
$ac_ext <<_ACEOF
17093 cat confdefs.h
>>conftest.
$ac_ext
17094 cat >>conftest.
$ac_ext <<_ACEOF
17095 /* end confdefs.h. */
17096 $ac_includes_default
17100 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17107 rm -f conftest.
$ac_objext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17109 (eval $ac_compile) 2>conftest.er1
17111 grep -v '^ *+' conftest.er1
>conftest.err
17113 cat conftest.err
>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } &&
17116 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17118 (eval $ac_try) 2>&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; } &&
17122 { ac_try
='test -s conftest.$ac_objext'
17123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17124 (eval $ac_try) 2>&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); }; }; then
17130 cat >conftest.
$ac_ext <<_ACEOF
17133 cat confdefs.h
>>conftest.
$ac_ext
17134 cat >>conftest.
$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 $ac_includes_default
17140 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17147 rm -f conftest.
$ac_objext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17149 (eval $ac_compile) 2>conftest.er1
17151 grep -v '^ *+' conftest.er1
>conftest.err
17153 cat conftest.err
>&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } &&
17156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; } &&
17162 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17168 ac_hi
=$ac_mid; break
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.
$ac_ext >&5
17173 ac_lo
=`expr $ac_mid + 1`
17174 if test $ac_lo -le $ac_mid; then
17178 ac_mid
=`expr 2 '*' $ac_mid + 1`
17180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.
$ac_ext >&5
17186 cat >conftest.
$ac_ext <<_ACEOF
17189 cat confdefs.h
>>conftest.
$ac_ext
17190 cat >>conftest.
$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17192 $ac_includes_default
17196 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17203 rm -f conftest.
$ac_objext
17204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17205 (eval $ac_compile) 2>conftest.er1
17207 grep -v '^ *+' conftest.er1
>conftest.err
17209 cat conftest.err
>&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } &&
17212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; } &&
17218 { ac_try
='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17226 cat >conftest.
$ac_ext <<_ACEOF
17229 cat confdefs.h
>>conftest.
$ac_ext
17230 cat >>conftest.
$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 $ac_includes_default
17236 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17243 rm -f conftest.
$ac_objext
17244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17245 (eval $ac_compile) 2>conftest.er1
17247 grep -v '^ *+' conftest.er1
>conftest.err
17249 cat conftest.err
>&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); } &&
17252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; } &&
17258 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17264 ac_lo
=$ac_mid; break
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.
$ac_ext >&5
17269 ac_hi
=`expr '(' $ac_mid ')' - 1`
17270 if test $ac_mid -le $ac_hi; then
17274 ac_mid
=`expr 2 '*' $ac_mid`
17276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17279 echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.
$ac_ext >&5
17284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17287 # Binary search between lo and hi bounds.
17288 while test "x$ac_lo" != "x$ac_hi"; do
17289 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17290 cat >conftest.
$ac_ext <<_ACEOF
17293 cat confdefs.h
>>conftest.
$ac_ext
17294 cat >>conftest.
$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 $ac_includes_default
17300 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17307 rm -f conftest.
$ac_objext
17308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17309 (eval $ac_compile) 2>conftest.er1
17311 grep -v '^ *+' conftest.er1
>conftest.err
17313 cat conftest.err
>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try
='test -s conftest.$ac_objext'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; }; then
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.
$ac_ext >&5
17333 ac_lo
=`expr '(' $ac_mid ')' + 1`
17335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17338 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17339 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17340 See \`config.log' for more details." >&5
17341 echo "$as_me: error: cannot compute sizeof (long), 77
17342 See \`config.log' for more details." >&2;}
17343 { (exit 1); exit 1; }; } ;;
17346 if test "$cross_compiling" = yes; then
17347 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17348 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17349 { (exit 1); exit 1; }; }
17351 cat >conftest.
$ac_ext <<_ACEOF
17354 cat confdefs.h
>>conftest.
$ac_ext
17355 cat >>conftest.
$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17357 $ac_includes_default
17358 long longval () { return (long) (sizeof (long)); }
17359 unsigned long ulongval () { return (long) (sizeof (long)); }
17361 #include <stdlib.h>
17366 FILE *f = fopen ("conftest.val", "w");
17369 if (((long) (sizeof (long))) < 0)
17371 long i = longval ();
17372 if (i != ((long) (sizeof (long))))
17374 fprintf (f, "%ld\n", i);
17378 unsigned long i = ulongval ();
17379 if (i != ((long) (sizeof (long))))
17381 fprintf (f, "%lu\n", i);
17383 exit (ferror (f) || fclose (f) != 0);
17389 rm -f conftest
$ac_exeext
17390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17391 (eval $ac_link) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; }; then
17400 ac_cv_sizeof_long
=`cat conftest.val`
17402 echo "$as_me: program exited with status $ac_status" >&5
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.
$ac_ext >&5
17406 ( exit $ac_status )
17407 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17408 See \`config.log' for more details." >&5
17409 echo "$as_me: error: cannot compute sizeof (long), 77
17410 See \`config.log' for more details." >&2;}
17411 { (exit 1); exit 1; }; }
17413 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17418 ac_cv_sizeof_long
=0
17421 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17422 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17423 cat >>confdefs.h
<<_ACEOF
17424 #define SIZEOF_LONG $ac_cv_sizeof_long
17428 echo "$as_me:$LINENO: checking for size_t" >&5
17429 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17430 if test "${ac_cv_type_size_t+set}" = set; then
17431 echo $ECHO_N "(cached) $ECHO_C" >&6
17433 cat >conftest.
$ac_ext <<_ACEOF
17436 cat confdefs.h
>>conftest.
$ac_ext
17437 cat >>conftest.
$ac_ext <<_ACEOF
17438 /* end confdefs.h. */
17439 $ac_includes_default
17445 if (sizeof (size_t))
17451 rm -f conftest.
$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453 (eval $ac_compile) 2>conftest.er1
17455 grep -v '^ *+' conftest.er1
>conftest.err
17457 cat conftest.err
>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); } &&
17460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try
='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17472 ac_cv_type_size_t
=yes
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.
$ac_ext >&5
17477 ac_cv_type_size_t
=no
17479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17481 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17482 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17484 echo "$as_me:$LINENO: checking size of size_t" >&5
17485 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17486 if test "${ac_cv_sizeof_size_t+set}" = set; then
17487 echo $ECHO_N "(cached) $ECHO_C" >&6
17489 if test "$ac_cv_type_size_t" = yes; then
17490 # The cast to unsigned long works around a bug in the HP C Compiler
17491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17493 # This bug is HP SR number 8606223364.
17494 if test "$cross_compiling" = yes; then
17495 # Depending upon the size, compute the lo and hi bounds.
17496 cat >conftest.
$ac_ext <<_ACEOF
17499 cat confdefs.h
>>conftest.
$ac_ext
17500 cat >>conftest.
$ac_ext <<_ACEOF
17501 /* end confdefs.h. */
17502 $ac_includes_default
17506 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17513 rm -f conftest.
$ac_objext
17514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17515 (eval $ac_compile) 2>conftest.er1
17517 grep -v '^ *+' conftest.er1
>conftest.err
17519 cat conftest.err
>&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); } &&
17522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17524 (eval $ac_try) 2>&5
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); }; } &&
17528 { ac_try
='test -s conftest.$ac_objext'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17536 cat >conftest.
$ac_ext <<_ACEOF
17539 cat confdefs.h
>>conftest.
$ac_ext
17540 cat >>conftest.
$ac_ext <<_ACEOF
17541 /* end confdefs.h. */
17542 $ac_includes_default
17546 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17553 rm -f conftest.
$ac_objext
17554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17555 (eval $ac_compile) 2>conftest.er1
17557 grep -v '^ *+' conftest.er1
>conftest.err
17559 cat conftest.err
>&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } &&
17562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564 (eval $ac_try) 2>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; } &&
17568 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17574 ac_hi
=$ac_mid; break
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.
$ac_ext >&5
17579 ac_lo
=`expr $ac_mid + 1`
17580 if test $ac_lo -le $ac_mid; then
17584 ac_mid
=`expr 2 '*' $ac_mid + 1`
17586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.
$ac_ext >&5
17592 cat >conftest.
$ac_ext <<_ACEOF
17595 cat confdefs.h
>>conftest.
$ac_ext
17596 cat >>conftest.
$ac_ext <<_ACEOF
17597 /* end confdefs.h. */
17598 $ac_includes_default
17602 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17609 rm -f conftest.
$ac_objext
17610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17611 (eval $ac_compile) 2>conftest.er1
17613 grep -v '^ *+' conftest.er1
>conftest.err
17615 cat conftest.err
>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); } &&
17618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; } &&
17624 { ac_try
='test -s conftest.$ac_objext'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; }; then
17632 cat >conftest.
$ac_ext <<_ACEOF
17635 cat confdefs.h
>>conftest.
$ac_ext
17636 cat >>conftest.
$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17638 $ac_includes_default
17642 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17649 rm -f conftest.
$ac_objext
17650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17651 (eval $ac_compile) 2>conftest.er1
17653 grep -v '^ *+' conftest.er1
>conftest.err
17655 cat conftest.err
>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; } &&
17664 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17670 ac_lo
=$ac_mid; break
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.
$ac_ext >&5
17675 ac_hi
=`expr '(' $ac_mid ')' - 1`
17676 if test $ac_mid -le $ac_hi; then
17680 ac_mid
=`expr 2 '*' $ac_mid`
17682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17685 echo "$as_me: failed program was:" >&5
17686 sed 's/^/| /' conftest.
$ac_ext >&5
17690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17693 # Binary search between lo and hi bounds.
17694 while test "x$ac_lo" != "x$ac_hi"; do
17695 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17696 cat >conftest.
$ac_ext <<_ACEOF
17699 cat confdefs.h
>>conftest.
$ac_ext
17700 cat >>conftest.
$ac_ext <<_ACEOF
17701 /* end confdefs.h. */
17702 $ac_includes_default
17706 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17713 rm -f conftest.
$ac_objext
17714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17715 (eval $ac_compile) 2>conftest.er1
17717 grep -v '^ *+' conftest.er1
>conftest.err
17719 cat conftest.err
>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } &&
17722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; } &&
17728 { ac_try
='test -s conftest.$ac_objext'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; }; then
17736 echo "$as_me: failed program was:" >&5
17737 sed 's/^/| /' conftest.
$ac_ext >&5
17739 ac_lo
=`expr '(' $ac_mid ')' + 1`
17741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17744 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17745 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17746 See \`config.log' for more details." >&5
17747 echo "$as_me: error: cannot compute sizeof (size_t), 77
17748 See \`config.log' for more details." >&2;}
17749 { (exit 1); exit 1; }; } ;;
17752 if test "$cross_compiling" = yes; then
17753 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17754 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17755 { (exit 1); exit 1; }; }
17757 cat >conftest.
$ac_ext <<_ACEOF
17760 cat confdefs.h
>>conftest.
$ac_ext
17761 cat >>conftest.
$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17763 $ac_includes_default
17764 long longval () { return (long) (sizeof (size_t)); }
17765 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17767 #include <stdlib.h>
17772 FILE *f = fopen ("conftest.val", "w");
17775 if (((long) (sizeof (size_t))) < 0)
17777 long i = longval ();
17778 if (i != ((long) (sizeof (size_t))))
17780 fprintf (f, "%ld\n", i);
17784 unsigned long i = ulongval ();
17785 if (i != ((long) (sizeof (size_t))))
17787 fprintf (f, "%lu\n", i);
17789 exit (ferror (f) || fclose (f) != 0);
17795 rm -f conftest
$ac_exeext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17797 (eval $ac_link) 2>&5
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; }; then
17806 ac_cv_sizeof_size_t
=`cat conftest.val`
17808 echo "$as_me: program exited with status $ac_status" >&5
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.
$ac_ext >&5
17812 ( exit $ac_status )
17813 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17814 See \`config.log' for more details." >&5
17815 echo "$as_me: error: cannot compute sizeof (size_t), 77
17816 See \`config.log' for more details." >&2;}
17817 { (exit 1); exit 1; }; }
17819 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17824 ac_cv_sizeof_size_t
=0
17827 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17828 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17829 cat >>confdefs.h
<<_ACEOF
17830 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17837 echo "$as_me:$LINENO: checking for long long" >&5
17838 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17839 if test "${ac_cv_type_long_long+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17842 cat >conftest.
$ac_ext <<_ACEOF
17845 cat confdefs.h
>>conftest.
$ac_ext
17846 cat >>conftest.
$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 $ac_includes_default
17852 if ((long long *) 0)
17854 if (sizeof (long long))
17860 rm -f conftest.
$ac_objext
17861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17862 (eval $ac_compile) 2>conftest.er1
17864 grep -v '^ *+' conftest.er1
>conftest.err
17866 cat conftest.err
>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); } &&
17869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; } &&
17875 { ac_try
='test -s conftest.$ac_objext'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; }; then
17881 ac_cv_type_long_long
=yes
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.
$ac_ext >&5
17886 ac_cv_type_long_long
=no
17888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17890 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17891 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17893 echo "$as_me:$LINENO: checking size of long long" >&5
17894 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17895 if test "${ac_cv_sizeof_long_long+set}" = set; then
17896 echo $ECHO_N "(cached) $ECHO_C" >&6
17898 if test "$ac_cv_type_long_long" = yes; then
17899 # The cast to unsigned long works around a bug in the HP C Compiler
17900 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17901 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17902 # This bug is HP SR number 8606223364.
17903 if test "$cross_compiling" = yes; then
17904 # Depending upon the size, compute the lo and hi bounds.
17905 cat >conftest.
$ac_ext <<_ACEOF
17908 cat confdefs.h
>>conftest.
$ac_ext
17909 cat >>conftest.
$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 $ac_includes_default
17915 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17922 rm -f conftest.
$ac_objext
17923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17924 (eval $ac_compile) 2>conftest.er1
17926 grep -v '^ *+' conftest.er1
>conftest.err
17928 cat conftest.err
>&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); } &&
17931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17933 (eval $ac_try) 2>&5
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); }; } &&
17937 { ac_try
='test -s conftest.$ac_objext'
17938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17939 (eval $ac_try) 2>&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); }; }; then
17945 cat >conftest.
$ac_ext <<_ACEOF
17948 cat confdefs.h
>>conftest.
$ac_ext
17949 cat >>conftest.
$ac_ext <<_ACEOF
17950 /* end confdefs.h. */
17951 $ac_includes_default
17955 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17962 rm -f conftest.
$ac_objext
17963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17964 (eval $ac_compile) 2>conftest.er1
17966 grep -v '^ *+' conftest.er1
>conftest.err
17968 cat conftest.err
>&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); } &&
17971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; } &&
17977 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17983 ac_hi
=$ac_mid; break
17985 echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.
$ac_ext >&5
17988 ac_lo
=`expr $ac_mid + 1`
17989 if test $ac_lo -le $ac_mid; then
17993 ac_mid
=`expr 2 '*' $ac_mid + 1`
17995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.
$ac_ext >&5
18001 cat >conftest.
$ac_ext <<_ACEOF
18004 cat confdefs.h
>>conftest.
$ac_ext
18005 cat >>conftest.
$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 $ac_includes_default
18011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18018 rm -f conftest.
$ac_objext
18019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18020 (eval $ac_compile) 2>conftest.er1
18022 grep -v '^ *+' conftest.er1
>conftest.err
18024 cat conftest.err
>&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try
='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18041 cat >conftest.
$ac_ext <<_ACEOF
18044 cat confdefs.h
>>conftest.
$ac_ext
18045 cat >>conftest.
$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 $ac_includes_default
18051 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18058 rm -f conftest.
$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>conftest.er1
18062 grep -v '^ *+' conftest.er1
>conftest.err
18064 cat conftest.err
>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; } &&
18073 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18079 ac_lo
=$ac_mid; break
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.
$ac_ext >&5
18084 ac_hi
=`expr '(' $ac_mid ')' - 1`
18085 if test $ac_mid -le $ac_hi; then
18089 ac_mid
=`expr 2 '*' $ac_mid`
18091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.
$ac_ext >&5
18099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18102 # Binary search between lo and hi bounds.
18103 while test "x$ac_lo" != "x$ac_hi"; do
18104 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18105 cat >conftest.
$ac_ext <<_ACEOF
18108 cat confdefs.h
>>conftest.
$ac_ext
18109 cat >>conftest.
$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111 $ac_includes_default
18115 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18122 rm -f conftest.
$ac_objext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18124 (eval $ac_compile) 2>conftest.er1
18126 grep -v '^ *+' conftest.er1
>conftest.err
18128 cat conftest.err
>&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } &&
18131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18133 (eval $ac_try) 2>&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); }; } &&
18137 { ac_try
='test -s conftest.$ac_objext'
18138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 (eval $ac_try) 2>&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; }; then
18145 echo "$as_me: failed program was:" >&5
18146 sed 's/^/| /' conftest.
$ac_ext >&5
18148 ac_lo
=`expr '(' $ac_mid ')' + 1`
18150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18153 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18154 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18155 See \`config.log' for more details." >&5
18156 echo "$as_me: error: cannot compute sizeof (long long), 77
18157 See \`config.log' for more details." >&2;}
18158 { (exit 1); exit 1; }; } ;;
18161 if test "$cross_compiling" = yes; then
18162 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18163 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18164 { (exit 1); exit 1; }; }
18166 cat >conftest.
$ac_ext <<_ACEOF
18169 cat confdefs.h
>>conftest.
$ac_ext
18170 cat >>conftest.
$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 $ac_includes_default
18173 long longval () { return (long) (sizeof (long long)); }
18174 unsigned long ulongval () { return (long) (sizeof (long long)); }
18176 #include <stdlib.h>
18181 FILE *f = fopen ("conftest.val", "w");
18184 if (((long) (sizeof (long long))) < 0)
18186 long i = longval ();
18187 if (i != ((long) (sizeof (long long))))
18189 fprintf (f, "%ld\n", i);
18193 unsigned long i = ulongval ();
18194 if (i != ((long) (sizeof (long long))))
18196 fprintf (f, "%lu\n", i);
18198 exit (ferror (f) || fclose (f) != 0);
18204 rm -f conftest
$ac_exeext
18205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18206 (eval $ac_link) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; }; then
18215 ac_cv_sizeof_long_long
=`cat conftest.val`
18217 echo "$as_me: program exited with status $ac_status" >&5
18218 echo "$as_me: failed program was:" >&5
18219 sed 's/^/| /' conftest.
$ac_ext >&5
18221 ( exit $ac_status )
18222 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18223 See \`config.log' for more details." >&5
18224 echo "$as_me: error: cannot compute sizeof (long long), 77
18225 See \`config.log' for more details." >&2;}
18226 { (exit 1); exit 1; }; }
18228 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18233 ac_cv_sizeof_long_long
=0
18236 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18237 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18238 cat >>confdefs.h
<<_ACEOF
18239 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18245 echo "$as_me:$LINENO: checking for long long" >&5
18246 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18247 if test "${ac_cv_type_long_long+set}" = set; then
18248 echo $ECHO_N "(cached) $ECHO_C" >&6
18250 cat >conftest.
$ac_ext <<_ACEOF
18253 cat confdefs.h
>>conftest.
$ac_ext
18254 cat >>conftest.
$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18256 $ac_includes_default
18260 if ((long long *) 0)
18262 if (sizeof (long long))
18268 rm -f conftest.
$ac_objext
18269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18270 (eval $ac_compile) 2>conftest.er1
18272 grep -v '^ *+' conftest.er1
>conftest.err
18274 cat conftest.err
>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } &&
18277 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; } &&
18283 { ac_try
='test -s conftest.$ac_objext'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; }; then
18289 ac_cv_type_long_long
=yes
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.
$ac_ext >&5
18294 ac_cv_type_long_long
=no
18296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18298 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18299 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18301 echo "$as_me:$LINENO: checking size of long long" >&5
18302 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18303 if test "${ac_cv_sizeof_long_long+set}" = set; then
18304 echo $ECHO_N "(cached) $ECHO_C" >&6
18306 if test "$ac_cv_type_long_long" = yes; then
18307 # The cast to unsigned long works around a bug in the HP C Compiler
18308 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18310 # This bug is HP SR number 8606223364.
18311 if test "$cross_compiling" = yes; then
18312 # Depending upon the size, compute the lo and hi bounds.
18313 cat >conftest.
$ac_ext <<_ACEOF
18316 cat confdefs.h
>>conftest.
$ac_ext
18317 cat >>conftest.
$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 $ac_includes_default
18323 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18330 rm -f conftest.
$ac_objext
18331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18332 (eval $ac_compile) 2>conftest.er1
18334 grep -v '^ *+' conftest.er1
>conftest.err
18336 cat conftest.err
>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); } &&
18339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; } &&
18345 { ac_try
='test -s conftest.$ac_objext'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; }; then
18353 cat >conftest.
$ac_ext <<_ACEOF
18356 cat confdefs.h
>>conftest.
$ac_ext
18357 cat >>conftest.
$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 $ac_includes_default
18363 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18370 rm -f conftest.
$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18374 grep -v '^ *+' conftest.er1
>conftest.err
18376 cat conftest.err
>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18381 (eval $ac_try) 2>&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }; } &&
18385 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18391 ac_hi
=$ac_mid; break
18393 echo "$as_me: failed program was:" >&5
18394 sed 's/^/| /' conftest.
$ac_ext >&5
18396 ac_lo
=`expr $ac_mid + 1`
18397 if test $ac_lo -le $ac_mid; then
18401 ac_mid
=`expr 2 '*' $ac_mid + 1`
18403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18406 echo "$as_me: failed program was:" >&5
18407 sed 's/^/| /' conftest.
$ac_ext >&5
18409 cat >conftest.
$ac_ext <<_ACEOF
18412 cat confdefs.h
>>conftest.
$ac_ext
18413 cat >>conftest.
$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 $ac_includes_default
18419 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18426 rm -f conftest.
$ac_objext
18427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18428 (eval $ac_compile) 2>conftest.er1
18430 grep -v '^ *+' conftest.er1
>conftest.err
18432 cat conftest.err
>&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); } &&
18435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 (eval $ac_try) 2>&5
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; } &&
18441 { ac_try
='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18449 cat >conftest.
$ac_ext <<_ACEOF
18452 cat confdefs.h
>>conftest.
$ac_ext
18453 cat >>conftest.
$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 $ac_includes_default
18459 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18466 rm -f conftest.
$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 (eval $ac_compile) 2>conftest.er1
18470 grep -v '^ *+' conftest.er1
>conftest.err
18472 cat conftest.err
>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } &&
18475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18487 ac_lo
=$ac_mid; break
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.
$ac_ext >&5
18492 ac_hi
=`expr '(' $ac_mid ')' - 1`
18493 if test $ac_mid -le $ac_hi; then
18497 ac_mid
=`expr 2 '*' $ac_mid`
18499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.
$ac_ext >&5
18507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18510 # Binary search between lo and hi bounds.
18511 while test "x$ac_lo" != "x$ac_hi"; do
18512 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18513 cat >conftest.
$ac_ext <<_ACEOF
18516 cat confdefs.h
>>conftest.
$ac_ext
18517 cat >>conftest.
$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18519 $ac_includes_default
18523 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18530 rm -f conftest.
$ac_objext
18531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18532 (eval $ac_compile) 2>conftest.er1
18534 grep -v '^ *+' conftest.er1
>conftest.err
18536 cat conftest.err
>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } &&
18539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541 (eval $ac_try) 2>&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); }; } &&
18545 { ac_try
='test -s conftest.$ac_objext'
18546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18547 (eval $ac_try) 2>&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); }; }; then
18553 echo "$as_me: failed program was:" >&5
18554 sed 's/^/| /' conftest.
$ac_ext >&5
18556 ac_lo
=`expr '(' $ac_mid ')' + 1`
18558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18561 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18562 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18563 See \`config.log' for more details." >&5
18564 echo "$as_me: error: cannot compute sizeof (long long), 77
18565 See \`config.log' for more details." >&2;}
18566 { (exit 1); exit 1; }; } ;;
18569 if test "$cross_compiling" = yes; then
18570 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18571 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18572 { (exit 1); exit 1; }; }
18574 cat >conftest.
$ac_ext <<_ACEOF
18577 cat confdefs.h
>>conftest.
$ac_ext
18578 cat >>conftest.
$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 $ac_includes_default
18581 long longval () { return (long) (sizeof (long long)); }
18582 unsigned long ulongval () { return (long) (sizeof (long long)); }
18584 #include <stdlib.h>
18589 FILE *f = fopen ("conftest.val", "w");
18592 if (((long) (sizeof (long long))) < 0)
18594 long i = longval ();
18595 if (i != ((long) (sizeof (long long))))
18597 fprintf (f, "%ld\n", i);
18601 unsigned long i = ulongval ();
18602 if (i != ((long) (sizeof (long long))))
18604 fprintf (f, "%lu\n", i);
18606 exit (ferror (f) || fclose (f) != 0);
18612 rm -f conftest
$ac_exeext
18613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18614 (eval $ac_link) 2>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 ac_cv_sizeof_long_long
=`cat conftest.val`
18625 echo "$as_me: program exited with status $ac_status" >&5
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.
$ac_ext >&5
18629 ( exit $ac_status )
18630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18631 See \`config.log' for more details." >&5
18632 echo "$as_me: error: cannot compute sizeof (long long), 77
18633 See \`config.log' for more details." >&2;}
18634 { (exit 1); exit 1; }; }
18636 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18641 ac_cv_sizeof_long_long
=0
18644 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18645 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18646 cat >>confdefs.h
<<_ACEOF
18647 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18651 if test "$ac_cv_sizeof_long_long" != "0"; then
18652 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18656 echo "$as_me:$LINENO: checking for long long" >&5
18657 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18658 if test "${ac_cv_type_long_long+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 cat >conftest.
$ac_ext <<_ACEOF
18664 cat confdefs.h
>>conftest.
$ac_ext
18665 cat >>conftest.
$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 $ac_includes_default
18671 if ((long long *) 0)
18673 if (sizeof (long long))
18679 rm -f conftest.
$ac_objext
18680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18681 (eval $ac_compile) 2>conftest.er1
18683 grep -v '^ *+' conftest.er1
>conftest.err
18685 cat conftest.err
>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } &&
18688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; } &&
18694 { ac_try
='test -s conftest.$ac_objext'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; }; then
18700 ac_cv_type_long_long
=yes
18702 echo "$as_me: failed program was:" >&5
18703 sed 's/^/| /' conftest.
$ac_ext >&5
18705 ac_cv_type_long_long
=no
18707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18709 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18710 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18712 echo "$as_me:$LINENO: checking size of long long" >&5
18713 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18714 if test "${ac_cv_sizeof_long_long+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18717 if test "$ac_cv_type_long_long" = yes; then
18718 # The cast to unsigned long works around a bug in the HP C Compiler
18719 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18720 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18721 # This bug is HP SR number 8606223364.
18722 if test "$cross_compiling" = yes; then
18723 # Depending upon the size, compute the lo and hi bounds.
18724 cat >conftest.
$ac_ext <<_ACEOF
18727 cat confdefs.h
>>conftest.
$ac_ext
18728 cat >>conftest.
$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18730 $ac_includes_default
18734 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18741 rm -f conftest.
$ac_objext
18742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18743 (eval $ac_compile) 2>conftest.er1
18745 grep -v '^ *+' conftest.er1
>conftest.err
18747 cat conftest.err
>&5
18748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 (exit $ac_status); } &&
18750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752 (eval $ac_try) 2>&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); }; } &&
18756 { ac_try
='test -s conftest.$ac_objext'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; }; then
18764 cat >conftest.
$ac_ext <<_ACEOF
18767 cat confdefs.h
>>conftest.
$ac_ext
18768 cat >>conftest.
$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 $ac_includes_default
18774 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18781 rm -f conftest.
$ac_objext
18782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18783 (eval $ac_compile) 2>conftest.er1
18785 grep -v '^ *+' conftest.er1
>conftest.err
18787 cat conftest.err
>&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } &&
18790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; } &&
18796 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18802 ac_hi
=$ac_mid; break
18804 echo "$as_me: failed program was:" >&5
18805 sed 's/^/| /' conftest.
$ac_ext >&5
18807 ac_lo
=`expr $ac_mid + 1`
18808 if test $ac_lo -le $ac_mid; then
18812 ac_mid
=`expr 2 '*' $ac_mid + 1`
18814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.
$ac_ext >&5
18820 cat >conftest.
$ac_ext <<_ACEOF
18823 cat confdefs.h
>>conftest.
$ac_ext
18824 cat >>conftest.
$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18826 $ac_includes_default
18830 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18837 rm -f conftest.
$ac_objext
18838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18839 (eval $ac_compile) 2>conftest.er1
18841 grep -v '^ *+' conftest.er1
>conftest.err
18843 cat conftest.err
>&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); } &&
18846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; } &&
18852 { ac_try
='test -s conftest.$ac_objext'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; }; then
18860 cat >conftest.
$ac_ext <<_ACEOF
18863 cat confdefs.h
>>conftest.
$ac_ext
18864 cat >>conftest.
$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18877 rm -f conftest.
$ac_objext
18878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18879 (eval $ac_compile) 2>conftest.er1
18881 grep -v '^ *+' conftest.er1
>conftest.err
18883 cat conftest.err
>&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } &&
18886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18888 (eval $ac_try) 2>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; } &&
18892 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18898 ac_lo
=$ac_mid; break
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.
$ac_ext >&5
18903 ac_hi
=`expr '(' $ac_mid ')' - 1`
18904 if test $ac_mid -le $ac_hi; then
18908 ac_mid
=`expr 2 '*' $ac_mid`
18910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.
$ac_ext >&5
18918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18921 # Binary search between lo and hi bounds.
18922 while test "x$ac_lo" != "x$ac_hi"; do
18923 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18924 cat >conftest.
$ac_ext <<_ACEOF
18927 cat confdefs.h
>>conftest.
$ac_ext
18928 cat >>conftest.
$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18930 $ac_includes_default
18934 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18941 rm -f conftest.
$ac_objext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943 (eval $ac_compile) 2>conftest.er1
18945 grep -v '^ *+' conftest.er1
>conftest.err
18947 cat conftest.err
>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } &&
18950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; } &&
18956 { ac_try
='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.
$ac_ext >&5
18967 ac_lo
=`expr '(' $ac_mid ')' + 1`
18969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18972 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18973 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18974 See \`config.log' for more details." >&5
18975 echo "$as_me: error: cannot compute sizeof (long long), 77
18976 See \`config.log' for more details." >&2;}
18977 { (exit 1); exit 1; }; } ;;
18980 if test "$cross_compiling" = yes; then
18981 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18982 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18983 { (exit 1); exit 1; }; }
18985 cat >conftest.
$ac_ext <<_ACEOF
18988 cat confdefs.h
>>conftest.
$ac_ext
18989 cat >>conftest.
$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 $ac_includes_default
18992 long longval () { return (long) (sizeof (long long)); }
18993 unsigned long ulongval () { return (long) (sizeof (long long)); }
18995 #include <stdlib.h>
19000 FILE *f = fopen ("conftest.val", "w");
19003 if (((long) (sizeof (long long))) < 0)
19005 long i = longval ();
19006 if (i != ((long) (sizeof (long long))))
19008 fprintf (f, "%ld\n", i);
19012 unsigned long i = ulongval ();
19013 if (i != ((long) (sizeof (long long))))
19015 fprintf (f, "%lu\n", i);
19017 exit (ferror (f) || fclose (f) != 0);
19023 rm -f conftest
$ac_exeext
19024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19025 (eval $ac_link) 2>&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; }; then
19034 ac_cv_sizeof_long_long
=`cat conftest.val`
19036 echo "$as_me: program exited with status $ac_status" >&5
19037 echo "$as_me: failed program was:" >&5
19038 sed 's/^/| /' conftest.
$ac_ext >&5
19040 ( exit $ac_status )
19041 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19042 See \`config.log' for more details." >&5
19043 echo "$as_me: error: cannot compute sizeof (long long), 77
19044 See \`config.log' for more details." >&2;}
19045 { (exit 1); exit 1; }; }
19047 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19052 ac_cv_sizeof_long_long
=0
19055 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19056 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19057 cat >>confdefs.h
<<_ACEOF
19058 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19064 echo "$as_me:$LINENO: checking for wchar_t" >&5
19065 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19066 if test "${ac_cv_type_wchar_t+set}" = set; then
19067 echo $ECHO_N "(cached) $ECHO_C" >&6
19069 cat >conftest.
$ac_ext <<_ACEOF
19072 cat confdefs.h
>>conftest.
$ac_ext
19073 cat >>conftest.
$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19076 /* DJGPP only has fake wchar_t: */
19078 # error "fake wchar_t"
19080 #ifdef HAVE_WCHAR_H
19082 # include <stddef.h>
19084 # include <wchar.h>
19086 #ifdef HAVE_STDLIB_H
19087 # include <stdlib.h>
19098 if (sizeof (wchar_t))
19104 rm -f conftest.
$ac_objext
19105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19106 (eval $ac_compile) 2>conftest.er1
19108 grep -v '^ *+' conftest.er1
>conftest.err
19110 cat conftest.err
>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } &&
19113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; } &&
19119 { ac_try
='test -s conftest.$ac_objext'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; }; then
19125 ac_cv_type_wchar_t
=yes
19127 echo "$as_me: failed program was:" >&5
19128 sed 's/^/| /' conftest.
$ac_ext >&5
19130 ac_cv_type_wchar_t
=no
19132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19134 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19135 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19137 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19138 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19139 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 if test "$ac_cv_type_wchar_t" = yes; then
19143 # The cast to unsigned long works around a bug in the HP C Compiler
19144 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19145 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19146 # This bug is HP SR number 8606223364.
19147 if test "$cross_compiling" = yes; then
19148 # Depending upon the size, compute the lo and hi bounds.
19149 cat >conftest.
$ac_ext <<_ACEOF
19152 cat confdefs.h
>>conftest.
$ac_ext
19153 cat >>conftest.
$ac_ext <<_ACEOF
19154 /* end confdefs.h. */
19156 /* DJGPP only has fake wchar_t: */
19158 # error "fake wchar_t"
19160 #ifdef HAVE_WCHAR_H
19162 # include <stddef.h>
19164 # include <wchar.h>
19166 #ifdef HAVE_STDLIB_H
19167 # include <stdlib.h>
19176 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19183 rm -f conftest.
$ac_objext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19185 (eval $ac_compile) 2>conftest.er1
19187 grep -v '^ *+' conftest.er1
>conftest.err
19189 cat conftest.err
>&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } &&
19192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; } &&
19198 { ac_try
='test -s conftest.$ac_objext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19206 cat >conftest.
$ac_ext <<_ACEOF
19209 cat confdefs.h
>>conftest.
$ac_ext
19210 cat >>conftest.
$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19213 /* DJGPP only has fake wchar_t: */
19215 # error "fake wchar_t"
19217 #ifdef HAVE_WCHAR_H
19219 # include <stddef.h>
19221 # include <wchar.h>
19223 #ifdef HAVE_STDLIB_H
19224 # include <stdlib.h>
19233 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19240 rm -f conftest.
$ac_objext
19241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19242 (eval $ac_compile) 2>conftest.er1
19244 grep -v '^ *+' conftest.er1
>conftest.err
19246 cat conftest.err
>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; } &&
19255 { ac_try
='test -s conftest.$ac_objext'
19256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19257 (eval $ac_try) 2>&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); }; }; then
19261 ac_hi
=$ac_mid; break
19263 echo "$as_me: failed program was:" >&5
19264 sed 's/^/| /' conftest.
$ac_ext >&5
19266 ac_lo
=`expr $ac_mid + 1`
19267 if test $ac_lo -le $ac_mid; then
19271 ac_mid
=`expr 2 '*' $ac_mid + 1`
19273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.
$ac_ext >&5
19279 cat >conftest.
$ac_ext <<_ACEOF
19282 cat confdefs.h
>>conftest.
$ac_ext
19283 cat >>conftest.
$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19286 /* DJGPP only has fake wchar_t: */
19288 # error "fake wchar_t"
19290 #ifdef HAVE_WCHAR_H
19292 # include <stddef.h>
19294 # include <wchar.h>
19296 #ifdef HAVE_STDLIB_H
19297 # include <stdlib.h>
19306 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19313 rm -f conftest.
$ac_objext
19314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19315 (eval $ac_compile) 2>conftest.er1
19317 grep -v '^ *+' conftest.er1
>conftest.err
19319 cat conftest.err
>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
19322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try
='test -s conftest.$ac_objext'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19336 cat >conftest.
$ac_ext <<_ACEOF
19339 cat confdefs.h
>>conftest.
$ac_ext
19340 cat >>conftest.
$ac_ext <<_ACEOF
19341 /* end confdefs.h. */
19343 /* DJGPP only has fake wchar_t: */
19345 # error "fake wchar_t"
19347 #ifdef HAVE_WCHAR_H
19349 # include <stddef.h>
19351 # include <wchar.h>
19353 #ifdef HAVE_STDLIB_H
19354 # include <stdlib.h>
19363 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19370 rm -f conftest.
$ac_objext
19371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19372 (eval $ac_compile) 2>conftest.er1
19374 grep -v '^ *+' conftest.er1
>conftest.err
19376 cat conftest.err
>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } &&
19379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; } &&
19385 { ac_try
='test -s conftest.$ac_objext'
19386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19387 (eval $ac_try) 2>&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); }; }; then
19391 ac_lo
=$ac_mid; break
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.
$ac_ext >&5
19396 ac_hi
=`expr '(' $ac_mid ')' - 1`
19397 if test $ac_mid -le $ac_hi; then
19401 ac_mid
=`expr 2 '*' $ac_mid`
19403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.
$ac_ext >&5
19411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19414 # Binary search between lo and hi bounds.
19415 while test "x$ac_lo" != "x$ac_hi"; do
19416 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19417 cat >conftest.
$ac_ext <<_ACEOF
19420 cat confdefs.h
>>conftest.
$ac_ext
19421 cat >>conftest.
$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19424 /* DJGPP only has fake wchar_t: */
19426 # error "fake wchar_t"
19428 #ifdef HAVE_WCHAR_H
19430 # include <stddef.h>
19432 # include <wchar.h>
19434 #ifdef HAVE_STDLIB_H
19435 # include <stdlib.h>
19444 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19451 rm -f conftest.
$ac_objext
19452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19453 (eval $ac_compile) 2>conftest.er1
19455 grep -v '^ *+' conftest.er1
>conftest.err
19457 cat conftest.err
>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); } &&
19460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; } &&
19466 { ac_try
='test -s conftest.$ac_objext'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; }; then
19474 echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.
$ac_ext >&5
19477 ac_lo
=`expr '(' $ac_mid ')' + 1`
19479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19482 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19483 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19484 See \`config.log' for more details." >&5
19485 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19486 See \`config.log' for more details." >&2;}
19487 { (exit 1); exit 1; }; } ;;
19490 if test "$cross_compiling" = yes; then
19491 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19492 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19493 { (exit 1); exit 1; }; }
19495 cat >conftest.
$ac_ext <<_ACEOF
19498 cat confdefs.h
>>conftest.
$ac_ext
19499 cat >>conftest.
$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19502 /* DJGPP only has fake wchar_t: */
19504 # error "fake wchar_t"
19506 #ifdef HAVE_WCHAR_H
19508 # include <stddef.h>
19510 # include <wchar.h>
19512 #ifdef HAVE_STDLIB_H
19513 # include <stdlib.h>
19519 long longval () { return (long) (sizeof (wchar_t)); }
19520 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19522 #include <stdlib.h>
19527 FILE *f = fopen ("conftest.val", "w");
19530 if (((long) (sizeof (wchar_t))) < 0)
19532 long i = longval ();
19533 if (i != ((long) (sizeof (wchar_t))))
19535 fprintf (f, "%ld\n", i);
19539 unsigned long i = ulongval ();
19540 if (i != ((long) (sizeof (wchar_t))))
19542 fprintf (f, "%lu\n", i);
19544 exit (ferror (f) || fclose (f) != 0);
19550 rm -f conftest
$ac_exeext
19551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19552 (eval $ac_link) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19563 echo "$as_me: program exited with status $ac_status" >&5
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.
$ac_ext >&5
19567 ( exit $ac_status )
19568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19569 See \`config.log' for more details." >&5
19570 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19571 See \`config.log' for more details." >&2;}
19572 { (exit 1); exit 1; }; }
19574 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19579 ac_cv_sizeof_wchar_t
=0
19582 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19583 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19584 cat >>confdefs.h
<<_ACEOF
19585 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19590 echo "$as_me:$LINENO: checking for va_copy" >&5
19591 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19592 if test "${wx_cv_func_va_copy+set}" = set; then
19593 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 cat >conftest.
$ac_ext <<_ACEOF
19598 #include <stdarg.h>
19599 void foo(char *f, ...)
19613 rm -f conftest.
$ac_objext conftest
$ac_exeext
19614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19615 (eval $ac_link) 2>conftest.er1
19617 grep -v '^ *+' conftest.er1
>conftest.err
19619 cat conftest.err
>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; } &&
19628 { ac_try
='test -s conftest$ac_exeext'
19629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19630 (eval $ac_try) 2>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 wx_cv_func_va_copy
=yes
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.
$ac_ext >&5
19639 wx_cv_func_va_copy
=no
19642 rm -f conftest.err conftest.
$ac_objext \
19643 conftest
$ac_exeext conftest.
$ac_ext
19647 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19648 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19650 if test $wx_cv_func_va_copy = "yes"; then
19651 cat >>confdefs.h
<<\_ACEOF
19652 #define HAVE_VA_COPY 1
19656 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19657 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19658 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19659 echo $ECHO_N "(cached) $ECHO_C" >&6
19662 if test "$cross_compiling" = yes; then
19663 wx_cv_type_va_list_lvalue
=yes
19666 cat >conftest.
$ac_ext <<_ACEOF
19668 #include <stdarg.h>
19669 int foo(char *f, ...)
19674 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19682 return foo("hi", 17);
19685 rm -f conftest
$ac_exeext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19687 (eval $ac_link) 2>&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19696 wx_cv_type_va_list_lvalue
=yes
19698 echo "$as_me: program exited with status $ac_status" >&5
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.
$ac_ext >&5
19702 ( exit $ac_status )
19703 wx_cv_type_va_list_lvalue
=no
19705 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19710 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19711 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19713 if test $wx_cv_type_va_list_lvalue != "yes"; then
19714 cat >>confdefs.h
<<\_ACEOF
19715 #define VA_LIST_IS_ARRAY 1
19721 # Check whether --enable-largefile or --disable-largefile was given.
19722 if test "${enable_largefile+set}" = set; then
19723 enableval
="$enable_largefile"
19726 if test "$enable_largefile" != no
; then
19729 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19730 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19731 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19735 cat >conftest.
$ac_ext <<_ACEOF
19738 cat confdefs.h
>>conftest.
$ac_ext
19739 cat >>conftest.
$ac_ext <<_ACEOF
19740 /* end confdefs.h. */
19741 #define _FILE_OFFSET_BITS 64
19742 #include <sys/types.h>
19747 unsigned int field: sizeof(off_t) == 8;
19754 rm -f conftest.
$ac_objext
19755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19756 (eval $ac_compile) 2>conftest.er1
19758 grep -v '^ *+' conftest.er1
>conftest.err
19760 cat conftest.err
>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } &&
19763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try
='test -s conftest.$ac_objext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19775 ac_cv_sys_file_offset_bits
=64
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.
$ac_ext >&5
19780 ac_cv_sys_file_offset_bits
=no
19782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19786 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19787 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19789 if test "$ac_cv_sys_file_offset_bits" != no
; then
19791 cat >>confdefs.h
<<_ACEOF
19792 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19797 if test "x$wx_largefile" != "xyes"; then
19799 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19800 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19801 if test "${ac_cv_sys_large_files+set}" = set; then
19802 echo $ECHO_N "(cached) $ECHO_C" >&6
19805 cat >conftest.
$ac_ext <<_ACEOF
19808 cat confdefs.h
>>conftest.
$ac_ext
19809 cat >>conftest.
$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19811 #define _LARGE_FILES 1
19812 #include <sys/types.h>
19817 unsigned int field: sizeof(off_t) == 8;
19824 rm -f conftest.
$ac_objext
19825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19826 (eval $ac_compile) 2>conftest.er1
19828 grep -v '^ *+' conftest.er1
>conftest.err
19830 cat conftest.err
>&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); } &&
19833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try
='test -s conftest.$ac_objext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19845 ac_cv_sys_large_files
=1
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.
$ac_ext >&5
19850 ac_cv_sys_large_files
=no
19852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19856 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19857 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19859 if test "$ac_cv_sys_large_files" != no
; then
19861 cat >>confdefs.h
<<_ACEOF
19862 #define _LARGE_FILES $ac_cv_sys_large_files
19869 echo "$as_me:$LINENO: checking if large file support is available" >&5
19870 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19871 if test "x$wx_largefile" = "xyes"; then
19872 cat >>confdefs.h
<<\_ACEOF
19873 #define HAVE_LARGEFILE_SUPPORT 1
19877 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19878 echo "${ECHO_T}$wx_largefile" >&6
19882 if test "x$wx_largefile" = "xyes"; then
19883 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19884 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19886 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
19888 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19889 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19890 if test "${ac_cv_sys_largefile_source+set}" = set; then
19891 echo $ECHO_N "(cached) $ECHO_C" >&6
19894 ac_cv_sys_largefile_source
=no
19895 cat >conftest.
$ac_ext <<_ACEOF
19898 cat confdefs.h
>>conftest.
$ac_ext
19899 cat >>conftest.
$ac_ext <<_ACEOF
19900 /* end confdefs.h. */
19910 rm -f conftest.
$ac_objext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19912 (eval $ac_compile) 2>conftest.er1
19914 grep -v '^ *+' conftest.er1
>conftest.err
19916 cat conftest.err
>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } &&
19919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try
='test -s conftest.$ac_objext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.
$ac_ext >&5
19937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19938 cat >conftest.
$ac_ext <<_ACEOF
19941 cat confdefs.h
>>conftest.
$ac_ext
19942 cat >>conftest.
$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 #define _LARGEFILE_SOURCE 1
19954 rm -f conftest.
$ac_objext
19955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19956 (eval $ac_compile) 2>conftest.er1
19958 grep -v '^ *+' conftest.er1
>conftest.err
19960 cat conftest.err
>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); } &&
19963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try
='test -s conftest.$ac_objext'
19970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19971 (eval $ac_try) 2>&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; }; then
19975 ac_cv_sys_largefile_source
=1; break
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.
$ac_ext >&5
19981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19985 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19986 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
19987 if test "$ac_cv_sys_largefile_source" != no
; then
19989 cat >>confdefs.h
<<_ACEOF
19990 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19996 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19997 # in glibc 2.1.3, but that breaks too many other things.
19998 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
19999 echo "$as_me:$LINENO: checking for fseeko" >&5
20000 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20001 if test "${ac_cv_func_fseeko+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20004 cat >conftest.
$ac_ext <<_ACEOF
20007 cat confdefs.h
>>conftest.
$ac_ext
20008 cat >>conftest.
$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20014 return fseeko && fseeko (stdin, 0, 0);
20019 rm -f conftest.
$ac_objext conftest
$ac_exeext
20020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20021 (eval $ac_link) 2>conftest.er1
20023 grep -v '^ *+' conftest.er1
>conftest.err
20025 cat conftest.err
>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); } &&
20028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try
='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_func_fseeko
=yes
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.
$ac_ext >&5
20045 ac_cv_func_fseeko
=no
20047 rm -f conftest.err conftest.
$ac_objext \
20048 conftest
$ac_exeext conftest.
$ac_ext
20050 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20051 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20052 if test $ac_cv_func_fseeko = yes; then
20054 cat >>confdefs.h
<<\_ACEOF
20055 #define HAVE_FSEEKO 1
20060 if test "$ac_cv_sys_largefile_source" != no
; then
20061 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20063 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20066 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20067 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20068 if test "${ac_cv_c_bigendian+set}" = set; then
20069 echo $ECHO_N "(cached) $ECHO_C" >&6
20071 ac_cv_c_bigendian
=unknown
20072 # See if sys/param.h defines the BYTE_ORDER macro.
20073 cat >conftest.
$ac_ext <<_ACEOF
20076 cat confdefs.h
>>conftest.
$ac_ext
20077 cat >>conftest.
$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 #include <sys/types.h>
20080 #include <sys/param.h>
20085 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20086 bogus endian macros
20092 rm -f conftest.
$ac_objext
20093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20094 (eval $ac_compile) 2>conftest.er1
20096 grep -v '^ *+' conftest.er1
>conftest.err
20098 cat conftest.err
>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } &&
20101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; } &&
20107 { ac_try
='test -s conftest.$ac_objext'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; }; then
20113 # It does; now see whether it defined to BIG_ENDIAN or not.
20114 cat >conftest.
$ac_ext <<_ACEOF
20117 cat confdefs.h
>>conftest.
$ac_ext
20118 cat >>conftest.
$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 #include <sys/types.h>
20121 #include <sys/param.h>
20126 #if BYTE_ORDER != BIG_ENDIAN
20133 rm -f conftest.
$ac_objext
20134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20135 (eval $ac_compile) 2>conftest.er1
20137 grep -v '^ *+' conftest.er1
>conftest.err
20139 cat conftest.err
>&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); } &&
20142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144 (eval $ac_try) 2>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); }; } &&
20148 { ac_try
='test -s conftest.$ac_objext'
20149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150 (eval $ac_try) 2>&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; }; then
20154 ac_cv_c_bigendian
=yes
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.
$ac_ext >&5
20159 ac_cv_c_bigendian
=no
20161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.
$ac_ext >&5
20167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20168 if test $ac_cv_c_bigendian = unknown
; then
20169 if test "$cross_compiling" = yes; then
20170 ac_cv_c_bigendian
=unknown
20172 cat >conftest.
$ac_ext <<_ACEOF
20175 cat confdefs.h
>>conftest.
$ac_ext
20176 cat >>conftest.
$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20179 /* Are we little or big endian? From Harbison&Steele. */
20183 char c[sizeof (long)];
20186 exit (u.c[sizeof (long) - 1] == 1);
20189 rm -f conftest
$ac_exeext
20190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20191 (eval $ac_link) 2>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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
=no
20202 echo "$as_me: program exited with status $ac_status" >&5
20203 echo "$as_me: failed program was:" >&5
20204 sed 's/^/| /' conftest.
$ac_ext >&5
20206 ( exit $ac_status )
20207 ac_cv_c_bigendian
=yes
20209 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20213 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20214 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20215 if test $ac_cv_c_bigendian = unknown
; then
20216 { 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
20217 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;}
20219 if test $ac_cv_c_bigendian = yes; then
20220 cat >>confdefs.h
<<\_ACEOF
20221 #define WORDS_BIGENDIAN 1
20228 ac_cpp
='$CXXCPP $CPPFLAGS'
20229 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20230 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20231 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20232 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20233 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20234 if test -z "$CXXCPP"; then
20235 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20236 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 # Double quotes because CXXCPP needs to be expanded
20239 for CXXCPP
in "$CXX -E" "/lib/cpp"
20241 ac_preproc_ok
=false
20242 for ac_cxx_preproc_warn_flag
in '' yes
20244 # Use a header file that comes with gcc, so configuring glibc
20245 # with a fresh cross-compiler works.
20246 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20247 # <limits.h> exists even on freestanding compilers.
20248 # On the NeXT, cc -E runs the code through the compiler's parser,
20249 # not just through cpp. "Syntax error" is here to catch this case.
20250 cat >conftest.
$ac_ext <<_ACEOF
20253 cat confdefs.h
>>conftest.
$ac_ext
20254 cat >>conftest.
$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20257 # include <limits.h>
20259 # include <assert.h>
20263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20264 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20266 grep -v '^ *+' conftest.er1
>conftest.err
20268 cat conftest.err
>&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } >/dev
/null
; then
20271 if test -s conftest.err
; then
20272 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20273 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20280 if test -z "$ac_cpp_err"; then
20283 echo "$as_me: failed program was:" >&5
20284 sed 's/^/| /' conftest.
$ac_ext >&5
20286 # Broken: fails on valid input.
20289 rm -f conftest.err conftest.
$ac_ext
20291 # OK, works on sane cases. Now check whether non-existent headers
20292 # can be detected and how.
20293 cat >conftest.
$ac_ext <<_ACEOF
20296 cat confdefs.h
>>conftest.
$ac_ext
20297 cat >>conftest.
$ac_ext <<_ACEOF
20298 /* end confdefs.h. */
20299 #include <ac_nonexistent.h>
20301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20304 grep -v '^ *+' conftest.er1
>conftest.err
20306 cat conftest.err
>&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } >/dev
/null
; then
20309 if test -s conftest.err
; then
20310 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20311 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20318 if test -z "$ac_cpp_err"; then
20319 # Broken: success on invalid input.
20322 echo "$as_me: failed program was:" >&5
20323 sed 's/^/| /' conftest.
$ac_ext >&5
20325 # Passes both tests.
20329 rm -f conftest.err conftest.
$ac_ext
20332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20333 rm -f conftest.err conftest.
$ac_ext
20334 if $ac_preproc_ok; then
20339 ac_cv_prog_CXXCPP
=$CXXCPP
20342 CXXCPP
=$ac_cv_prog_CXXCPP
20344 ac_cv_prog_CXXCPP
=$CXXCPP
20346 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20347 echo "${ECHO_T}$CXXCPP" >&6
20348 ac_preproc_ok
=false
20349 for ac_cxx_preproc_warn_flag
in '' yes
20351 # Use a header file that comes with gcc, so configuring glibc
20352 # with a fresh cross-compiler works.
20353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20354 # <limits.h> exists even on freestanding compilers.
20355 # On the NeXT, cc -E runs the code through the compiler's parser,
20356 # not just through cpp. "Syntax error" is here to catch this case.
20357 cat >conftest.
$ac_ext <<_ACEOF
20360 cat confdefs.h
>>conftest.
$ac_ext
20361 cat >>conftest.
$ac_ext <<_ACEOF
20362 /* end confdefs.h. */
20364 # include <limits.h>
20366 # include <assert.h>
20370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20371 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20373 grep -v '^ *+' conftest.er1
>conftest.err
20375 cat conftest.err
>&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } >/dev
/null
; then
20378 if test -s conftest.err
; then
20379 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20380 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20387 if test -z "$ac_cpp_err"; then
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.
$ac_ext >&5
20393 # Broken: fails on valid input.
20396 rm -f conftest.err conftest.
$ac_ext
20398 # OK, works on sane cases. Now check whether non-existent headers
20399 # can be detected and how.
20400 cat >conftest.
$ac_ext <<_ACEOF
20403 cat confdefs.h
>>conftest.
$ac_ext
20404 cat >>conftest.
$ac_ext <<_ACEOF
20405 /* end confdefs.h. */
20406 #include <ac_nonexistent.h>
20408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20409 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20411 grep -v '^ *+' conftest.er1
>conftest.err
20413 cat conftest.err
>&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } >/dev
/null
; then
20416 if test -s conftest.err
; then
20417 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20418 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20425 if test -z "$ac_cpp_err"; then
20426 # Broken: success on invalid input.
20429 echo "$as_me: failed program was:" >&5
20430 sed 's/^/| /' conftest.
$ac_ext >&5
20432 # Passes both tests.
20436 rm -f conftest.err conftest.
$ac_ext
20439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20440 rm -f conftest.err conftest.
$ac_ext
20441 if $ac_preproc_ok; then
20444 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20445 See \`config.log' for more details." >&5
20446 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20447 See \`config.log' for more details." >&2;}
20448 { (exit 1); exit 1; }; }
20452 ac_cpp
='$CXXCPP $CPPFLAGS'
20453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20462 ac_cpp
='$CXXCPP $CPPFLAGS'
20463 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20464 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20465 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20469 for ac_header
in iostream
20471 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20473 echo "$as_me:$LINENO: checking for $ac_header" >&5
20474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20476 echo $ECHO_N "(cached) $ECHO_C" >&6
20478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20481 # Is the header compilable?
20482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20484 cat >conftest.
$ac_ext <<_ACEOF
20487 cat confdefs.h
>>conftest.
$ac_ext
20488 cat >>conftest.
$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 $ac_includes_default
20491 #include <$ac_header>
20493 rm -f conftest.
$ac_objext
20494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20495 (eval $ac_compile) 2>conftest.er1
20497 grep -v '^ *+' conftest.er1
>conftest.err
20499 cat conftest.err
>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); } &&
20502 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; } &&
20508 { ac_try
='test -s conftest.$ac_objext'
20509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20510 (eval $ac_try) 2>&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); }; }; then
20514 ac_header_compiler
=yes
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.
$ac_ext >&5
20519 ac_header_compiler
=no
20521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20523 echo "${ECHO_T}$ac_header_compiler" >&6
20525 # Is the header present?
20526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20528 cat >conftest.
$ac_ext <<_ACEOF
20531 cat confdefs.h
>>conftest.
$ac_ext
20532 cat >>conftest.
$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 #include <$ac_header>
20536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20537 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20539 grep -v '^ *+' conftest.er1
>conftest.err
20541 cat conftest.err
>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } >/dev
/null
; then
20544 if test -s conftest.err
; then
20545 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20546 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20553 if test -z "$ac_cpp_err"; then
20554 ac_header_preproc
=yes
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.
$ac_ext >&5
20559 ac_header_preproc
=no
20561 rm -f conftest.err conftest.
$ac_ext
20562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20563 echo "${ECHO_T}$ac_header_preproc" >&6
20565 # So? What about this header?
20566 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20572 ac_header_preproc
=yes
20575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20589 ## ----------------------------------------- ##
20590 ## Report this to wx-dev@lists.wxwidgets.org ##
20591 ## ----------------------------------------- ##
20594 sed "s/^/$as_me: WARNING: /" >&2
20597 echo "$as_me:$LINENO: checking for $ac_header" >&5
20598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20602 eval "$as_ac_Header=\$ac_header_preproc"
20604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20609 cat >>confdefs.h
<<_ACEOF
20610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20618 if test "$ac_cv_header_iostream" = "yes" ; then
20621 cat >>confdefs.h
<<\_ACEOF
20622 #define wxUSE_IOSTREAMH 1
20628 ac_cpp
='$CPP $CPPFLAGS'
20629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20636 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20637 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20638 if test "${wx_cv_cpp_bool+set}" = set; then
20639 echo $ECHO_N "(cached) $ECHO_C" >&6
20645 ac_cpp
='$CXXCPP $CPPFLAGS'
20646 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20647 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20648 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20651 cat >conftest.
$ac_ext <<_ACEOF
20654 cat confdefs.h
>>conftest.
$ac_ext
20655 cat >>conftest.
$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20671 rm -f conftest.
$ac_objext
20672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20673 (eval $ac_compile) 2>conftest.er1
20675 grep -v '^ *+' conftest.er1
>conftest.err
20677 cat conftest.err
>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); } &&
20680 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20682 (eval $ac_try) 2>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); }; } &&
20686 { ac_try
='test -s conftest.$ac_objext'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; }; then
20696 echo "$as_me: failed program was:" >&5
20697 sed 's/^/| /' conftest.
$ac_ext >&5
20704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20707 ac_cpp
='$CPP $CPPFLAGS'
20708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20714 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20715 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20717 if test "$wx_cv_cpp_bool" = "yes"; then
20718 cat >>confdefs.h
<<\_ACEOF
20719 #define HAVE_BOOL 1
20726 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20727 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20728 if test "${wx_cv_explicit+set}" = set; then
20729 echo $ECHO_N "(cached) $ECHO_C" >&6
20735 ac_cpp
='$CXXCPP $CPPFLAGS'
20736 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20741 cat >conftest.
$ac_ext <<_ACEOF
20744 cat confdefs.h
>>conftest.
$ac_ext
20745 cat >>conftest.
$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20748 class Foo { public: explicit Foo(int) {} };
20760 rm -f conftest.
$ac_objext
20761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20762 (eval $ac_compile) 2>conftest.er1
20764 grep -v '^ *+' conftest.er1
>conftest.err
20766 cat conftest.err
>&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } &&
20769 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20771 (eval $ac_try) 2>&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); }; } &&
20775 { ac_try
='test -s conftest.$ac_objext'
20776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20777 (eval $ac_try) 2>&5
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); }; }; then
20782 cat >conftest.
$ac_ext <<_ACEOF
20785 cat confdefs.h
>>conftest.
$ac_ext
20786 cat >>conftest.
$ac_ext <<_ACEOF
20787 /* end confdefs.h. */
20789 class Foo { public: explicit Foo(int) {} };
20790 static void TakeFoo(const Foo& foo) { }
20803 rm -f conftest.
$ac_objext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20805 (eval $ac_compile) 2>conftest.er1
20807 grep -v '^ *+' conftest.er1
>conftest.err
20809 cat conftest.err
>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try
='test -s conftest.$ac_objext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.
$ac_ext >&5
20832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20835 echo "$as_me: failed program was:" >&5
20836 sed 's/^/| /' conftest.
$ac_ext >&5
20841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20844 ac_cpp
='$CPP $CPPFLAGS'
20845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20851 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20852 echo "${ECHO_T}$wx_cv_explicit" >&6
20854 if test "$wx_cv_explicit" = "yes"; then
20855 cat >>confdefs.h
<<\_ACEOF
20856 #define HAVE_EXPLICIT 1
20862 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20863 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20864 if test "${ac_cv_cxx_const_cast+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20870 ac_cpp
='$CXXCPP $CPPFLAGS'
20871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20875 cat >conftest.
$ac_ext <<_ACEOF
20878 cat confdefs.h
>>conftest.
$ac_ext
20879 cat >>conftest.
$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20885 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20890 rm -f conftest.
$ac_objext
20891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20892 (eval $ac_compile) 2>conftest.er1
20894 grep -v '^ *+' conftest.er1
>conftest.err
20896 cat conftest.err
>&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } &&
20899 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; } &&
20905 { ac_try
='test -s conftest.$ac_objext'
20906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 (eval $ac_try) 2>&5
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); }; }; then
20911 ac_cv_cxx_const_cast
=yes
20913 echo "$as_me: failed program was:" >&5
20914 sed 's/^/| /' conftest.
$ac_ext >&5
20916 ac_cv_cxx_const_cast
=no
20918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20920 ac_cpp
='$CPP $CPPFLAGS'
20921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20927 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20928 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20929 if test "$ac_cv_cxx_const_cast" = yes; then
20931 cat >>confdefs.h
<<\_ACEOF
20932 #define HAVE_CONST_CAST
20937 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20938 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20939 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20945 ac_cpp
='$CXXCPP $CPPFLAGS'
20946 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20947 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20948 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20950 cat >conftest.
$ac_ext <<_ACEOF
20953 cat confdefs.h
>>conftest.
$ac_ext
20954 cat >>conftest.
$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 #include <typeinfo>
20957 class Base { public : Base () {} virtual void f () = 0;};
20958 class Derived : public Base { public : Derived () {} virtual void f () {} };
20959 class Unrelated { public : Unrelated () {} };
20960 int g (Unrelated&) { return 0; }
20965 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
20970 rm -f conftest.
$ac_objext
20971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20972 (eval $ac_compile) 2>conftest.er1
20974 grep -v '^ *+' conftest.er1
>conftest.err
20976 cat conftest.err
>&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } &&
20979 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20981 (eval $ac_try) 2>&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); }; } &&
20985 { ac_try
='test -s conftest.$ac_objext'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20991 ac_cv_cxx_reinterpret_cast
=yes
20993 echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.
$ac_ext >&5
20996 ac_cv_cxx_reinterpret_cast
=no
20998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21000 ac_cpp
='$CPP $CPPFLAGS'
21001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21007 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21008 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21009 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21011 cat >>confdefs.h
<<\_ACEOF
21012 #define HAVE_REINTERPRET_CAST
21017 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21018 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21019 if test "${ac_cv_cxx_static_cast+set}" = set; then
21020 echo $ECHO_N "(cached) $ECHO_C" >&6
21025 ac_cpp
='$CXXCPP $CPPFLAGS'
21026 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21030 cat >conftest.
$ac_ext <<_ACEOF
21033 cat confdefs.h
>>conftest.
$ac_ext
21034 cat >>conftest.
$ac_ext <<_ACEOF
21035 /* end confdefs.h. */
21036 #include <typeinfo>
21037 class Base { public : Base () {} virtual void f () = 0; };
21038 class Derived : public Base { public : Derived () {} virtual void f () {} };
21039 int g (Derived&) { return 0; }
21044 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21049 rm -f conftest.
$ac_objext
21050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21051 (eval $ac_compile) 2>conftest.er1
21053 grep -v '^ *+' conftest.er1
>conftest.err
21055 cat conftest.err
>&5
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); } &&
21058 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; } &&
21064 { ac_try
='test -s conftest.$ac_objext'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; }; then
21070 ac_cv_cxx_static_cast
=yes
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.
$ac_ext >&5
21075 ac_cv_cxx_static_cast
=no
21077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21079 ac_cpp
='$CPP $CPPFLAGS'
21080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21086 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21087 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21088 if test "$ac_cv_cxx_static_cast" = yes; then
21090 cat >>confdefs.h
<<\_ACEOF
21091 #define HAVE_STATIC_CAST
21097 if test "$wxUSE_STL" = "yes"; then
21099 ac_cpp
='$CXXCPP $CPPFLAGS'
21100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21105 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21106 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21107 cat >conftest.
$ac_ext <<_ACEOF
21110 cat confdefs.h
>>conftest.
$ac_ext
21111 cat >>conftest.
$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21114 #include <functional>
21115 #include <algorithm>
21121 std::vector<int> moo;
21122 std::list<int> foo;
21123 std::vector<int>::iterator it =
21124 std::find_if(moo.begin(), moo.end(),
21125 std::bind2nd(std::less<int>(), 3));
21130 rm -f conftest.
$ac_objext
21131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21132 (eval $ac_compile) 2>conftest.er1
21134 grep -v '^ *+' conftest.er1
>conftest.err
21136 cat conftest.err
>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } &&
21139 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21141 (eval $ac_try) 2>&5
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); }; } &&
21145 { ac_try
='test -s conftest.$ac_objext'
21146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21147 (eval $ac_try) 2>&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); }; }; then
21151 echo "$as_me:$LINENO: result: yes" >&5
21152 echo "${ECHO_T}yes" >&6
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.
$ac_ext >&5
21157 echo "$as_me:$LINENO: result: no" >&5
21158 echo "${ECHO_T}no" >&6
21159 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21160 echo "$as_me: error: Basic STL functionality missing" >&2;}
21161 { (exit 1); exit 1; }; }
21163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21165 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21166 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21167 cat >conftest.
$ac_ext <<_ACEOF
21170 cat confdefs.h
>>conftest.
$ac_ext
21171 cat >>conftest.
$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21182 rm -f conftest.
$ac_objext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21184 (eval $ac_compile) 2>conftest.er1
21186 grep -v '^ *+' conftest.er1
>conftest.err
21188 cat conftest.err
>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21197 { ac_try
='test -s conftest.$ac_objext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 echo "$as_me:$LINENO: result: yes" >&5
21204 echo "${ECHO_T}yes" >&6
21205 cat >>confdefs.h
<<\_ACEOF
21206 #define HAVE_STD_WSTRING 1
21210 echo "$as_me: failed program was:" >&5
21211 sed 's/^/| /' conftest.
$ac_ext >&5
21213 echo "$as_me:$LINENO: result: no" >&5
21214 echo "${ECHO_T}no" >&6
21216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21218 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21219 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21220 cat >conftest.
$ac_ext <<_ACEOF
21223 cat confdefs.h
>>conftest.
$ac_ext
21224 cat >>conftest.
$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21230 std::string foo, bar;
21232 foo.compare(1, 1, bar);
21233 foo.compare(1, 1, bar, 1, 1);
21235 foo.compare(1, 1, "");
21236 foo.compare(1, 1, "", 2);
21241 rm -f conftest.
$ac_objext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21243 (eval $ac_compile) 2>conftest.er1
21245 grep -v '^ *+' conftest.er1
>conftest.err
21247 cat conftest.err
>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try
='test -s conftest.$ac_objext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 echo "$as_me:$LINENO: result: yes" >&5
21263 echo "${ECHO_T}yes" >&6
21264 cat >>confdefs.h
<<\_ACEOF
21265 #define HAVE_STD_STRING_COMPARE 1
21269 echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.
$ac_ext >&5
21272 echo "$as_me:$LINENO: result: no" >&5
21273 echo "${ECHO_T}no" >&6
21275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21277 if test "${ac_cv_header_hash_map+set}" = set; then
21278 echo "$as_me:$LINENO: checking for hash_map" >&5
21279 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21280 if test "${ac_cv_header_hash_map+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21283 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21284 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21286 # Is the header compilable?
21287 echo "$as_me:$LINENO: checking hash_map usability" >&5
21288 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21289 cat >conftest.
$ac_ext <<_ACEOF
21292 cat confdefs.h
>>conftest.
$ac_ext
21293 cat >>conftest.
$ac_ext <<_ACEOF
21294 /* end confdefs.h. */
21295 $ac_includes_default
21296 #include <hash_map>
21298 rm -f conftest.
$ac_objext
21299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21300 (eval $ac_compile) 2>conftest.er1
21302 grep -v '^ *+' conftest.er1
>conftest.err
21304 cat conftest.err
>&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); } &&
21307 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; } &&
21313 { ac_try
='test -s conftest.$ac_objext'
21314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21315 (eval $ac_try) 2>&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; }; then
21319 ac_header_compiler
=yes
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.
$ac_ext >&5
21324 ac_header_compiler
=no
21326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21328 echo "${ECHO_T}$ac_header_compiler" >&6
21330 # Is the header present?
21331 echo "$as_me:$LINENO: checking hash_map presence" >&5
21332 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21333 cat >conftest.
$ac_ext <<_ACEOF
21336 cat confdefs.h
>>conftest.
$ac_ext
21337 cat >>conftest.
$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21339 #include <hash_map>
21341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21342 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21344 grep -v '^ *+' conftest.er1
>conftest.err
21346 cat conftest.err
>&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } >/dev
/null
; then
21349 if test -s conftest.err
; then
21350 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21351 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21358 if test -z "$ac_cpp_err"; then
21359 ac_header_preproc
=yes
21361 echo "$as_me: failed program was:" >&5
21362 sed 's/^/| /' conftest.
$ac_ext >&5
21364 ac_header_preproc
=no
21366 rm -f conftest.err conftest.
$ac_ext
21367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21368 echo "${ECHO_T}$ac_header_preproc" >&6
21370 # So? What about this header?
21371 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21373 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21374 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21375 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21376 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21377 ac_header_preproc
=yes
21380 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21381 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21382 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21383 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21384 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21385 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21386 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21387 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21388 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21389 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21390 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21391 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21394 ## ----------------------------------------- ##
21395 ## Report this to wx-dev@lists.wxwidgets.org ##
21396 ## ----------------------------------------- ##
21399 sed "s/^/$as_me: WARNING: /" >&2
21402 echo "$as_me:$LINENO: checking for hash_map" >&5
21403 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21404 if test "${ac_cv_header_hash_map+set}" = set; then
21405 echo $ECHO_N "(cached) $ECHO_C" >&6
21407 ac_cv_header_hash_map
=$ac_header_preproc
21409 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21410 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21413 if test $ac_cv_header_hash_map = yes; then
21414 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21415 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21416 cat >conftest.
$ac_ext <<_ACEOF
21419 cat confdefs.h
>>conftest.
$ac_ext
21420 cat >>conftest.
$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 #include <hash_map>
21423 #include <hash_set>
21427 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21428 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21433 rm -f conftest.
$ac_objext
21434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21435 (eval $ac_compile) 2>conftest.er1
21437 grep -v '^ *+' conftest.er1
>conftest.err
21439 cat conftest.err
>&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); } &&
21442 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21444 (eval $ac_try) 2>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; } &&
21448 { ac_try
='test -s conftest.$ac_objext'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; }; then
21454 echo "$as_me:$LINENO: result: yes" >&5
21455 echo "${ECHO_T}yes" >&6
21456 cat >>confdefs.h
<<\_ACEOF
21457 #define HAVE_HASH_MAP 1
21460 cat >>confdefs.h
<<\_ACEOF
21461 #define HAVE_STD_HASH_MAP 1
21465 echo "$as_me: failed program was:" >&5
21466 sed 's/^/| /' conftest.
$ac_ext >&5
21468 echo "$as_me:$LINENO: result: no" >&5
21469 echo "${ECHO_T}no" >&6
21471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21477 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21478 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21479 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21480 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21481 echo $ECHO_N "(cached) $ECHO_C" >&6
21483 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21484 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21486 # Is the header compilable?
21487 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21488 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21489 cat >conftest.
$ac_ext <<_ACEOF
21492 cat confdefs.h
>>conftest.
$ac_ext
21493 cat >>conftest.
$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 $ac_includes_default
21496 #include <ext/hash_map>
21498 rm -f conftest.
$ac_objext
21499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21500 (eval $ac_compile) 2>conftest.er1
21502 grep -v '^ *+' conftest.er1
>conftest.err
21504 cat conftest.err
>&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } &&
21507 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; } &&
21513 { ac_try
='test -s conftest.$ac_objext'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; }; then
21519 ac_header_compiler
=yes
21521 echo "$as_me: failed program was:" >&5
21522 sed 's/^/| /' conftest.
$ac_ext >&5
21524 ac_header_compiler
=no
21526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21528 echo "${ECHO_T}$ac_header_compiler" >&6
21530 # Is the header present?
21531 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21532 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21533 cat >conftest.
$ac_ext <<_ACEOF
21536 cat confdefs.h
>>conftest.
$ac_ext
21537 cat >>conftest.
$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21539 #include <ext/hash_map>
21541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21542 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21544 grep -v '^ *+' conftest.er1
>conftest.err
21546 cat conftest.err
>&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } >/dev
/null
; then
21549 if test -s conftest.err
; then
21550 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21551 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21558 if test -z "$ac_cpp_err"; then
21559 ac_header_preproc
=yes
21561 echo "$as_me: failed program was:" >&5
21562 sed 's/^/| /' conftest.
$ac_ext >&5
21564 ac_header_preproc
=no
21566 rm -f conftest.err conftest.
$ac_ext
21567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21568 echo "${ECHO_T}$ac_header_preproc" >&6
21570 # So? What about this header?
21571 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21573 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21574 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21575 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21576 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21577 ac_header_preproc
=yes
21580 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21581 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21582 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21583 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21584 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21585 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21586 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21587 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21588 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21589 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21590 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21591 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21594 ## ----------------------------------------- ##
21595 ## Report this to wx-dev@lists.wxwidgets.org ##
21596 ## ----------------------------------------- ##
21599 sed "s/^/$as_me: WARNING: /" >&2
21602 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21603 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21604 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21605 echo $ECHO_N "(cached) $ECHO_C" >&6
21607 ac_cv_header_ext_hash_map
=$ac_header_preproc
21609 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21610 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21613 if test $ac_cv_header_ext_hash_map = yes; then
21614 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21615 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21616 cat >conftest.
$ac_ext <<_ACEOF
21619 cat confdefs.h
>>conftest.
$ac_ext
21620 cat >>conftest.
$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 #include <ext/hash_map>
21623 #include <ext/hash_set>
21627 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21628 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21633 rm -f conftest.
$ac_objext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21635 (eval $ac_compile) 2>conftest.er1
21637 grep -v '^ *+' conftest.er1
>conftest.err
21639 cat conftest.err
>&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; } &&
21648 { ac_try
='test -s conftest.$ac_objext'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; }; then
21654 echo "$as_me:$LINENO: result: yes" >&5
21655 echo "${ECHO_T}yes" >&6
21656 cat >>confdefs.h
<<\_ACEOF
21657 #define HAVE_EXT_HASH_MAP 1
21660 cat >>confdefs.h
<<\_ACEOF
21661 #define HAVE_GNU_CXX_HASH_MAP 1
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.
$ac_ext >&5
21668 echo "$as_me:$LINENO: result: no" >&5
21669 echo "${ECHO_T}no" >&6
21671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21678 ac_cpp
='$CPP $CPPFLAGS'
21679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21687 /usr/local/include \
21689 /usr/Motif-2.1/include \
21690 /usr/Motif-1.2/include \
21691 /usr/include/Motif1.2 \
21692 /opt/xpm/include/X11 \
21693 /opt/GBxpm/include/ \
21694 /opt/GBxpm/X11/include/ \
21697 /usr/openwin/include \
21701 /usr/X11R6/include \
21702 /usr/X11R6.4/include \
21703 /usr/X11R5/include \
21704 /usr/X11R4/include \
21706 /usr/include/X11R6 \
21707 /usr/include/X11R5 \
21708 /usr/include/X11R4 \
21710 /usr/local/X11R6/include \
21711 /usr/local/X11R5/include \
21712 /usr/local/X11R4/include \
21714 /usr/local/include/X11R6 \
21715 /usr/local/include/X11R5 \
21716 /usr/local/include/X11R4 \
21720 /usr/local/X11/include \
21721 /usr/local/include/X11 \
21723 /usr/X386/include \
21724 /usr/x386/include \
21725 /usr/XFree86/include/X11 \
21727 X:/XFree86/include \
21728 X:/XFree86/include/X11 \
21731 /usr/local/include/gtk \
21732 /usr/include/glib \
21733 /usr/local/include/glib \
21736 /usr/local/include/qt \
21738 /usr/local/arm/3.3.2/include \
21740 /usr/include/windows \
21741 /usr/include/wine \
21742 /usr/local/include/wine \
21744 /usr/unsupported/include \
21745 /usr/athena/include \
21746 /usr/local/x11r5/include \
21747 /usr/lpp/Xamples/include \
21749 /usr/openwin/share/include"
21751 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21754 cat >confcache
<<\_ACEOF
21755 # This file is a shell script that caches the results of configure
21756 # tests run on this system so they can be shared between configure
21757 # scripts and configure runs, see configure's option --config-cache.
21758 # It is not useful on other systems. If it contains results you don't
21759 # want to keep, you may remove or edit it.
21761 # config.status only pays attention to the cache file if you give it
21762 # the --recheck option to rerun configure.
21764 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21765 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21766 # following values.
21770 # The following way of writing the cache mishandles newlines in values,
21771 # but we know of no workaround that is simple, portable, and efficient.
21772 # So, don't put newlines in cache variables' values.
21773 # Ultrix sh set writes to stderr and can't be redirected directly,
21774 # and sets the high bit in the cache file unless we assign to the vars.
21777 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21779 # `set' does not quote correctly, so add quotes (double-quote
21780 # substitution turns \\\\ into \\, and sed turns \\ into \).
21783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21786 # `set' quotes correctly as required by POSIX, so do not add quotes.
21788 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21795 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21797 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21799 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21800 if test -w $cache_file; then
21801 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21802 cat confcache
>$cache_file
21804 echo "not updating unwritable cache $cache_file"
21809 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21810 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21811 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21812 if test "${wx_cv_lib_glibc21+set}" = set; then
21813 echo $ECHO_N "(cached) $ECHO_C" >&6
21816 cat >conftest.
$ac_ext <<_ACEOF
21819 cat confdefs.h
>>conftest.
$ac_ext
21820 cat >>conftest.
$ac_ext <<_ACEOF
21821 /* end confdefs.h. */
21822 #include <features.h>
21827 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21828 #error not glibc2.1
21835 rm -f conftest.
$ac_objext
21836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21837 (eval $ac_compile) 2>conftest.er1
21839 grep -v '^ *+' conftest.er1
>conftest.err
21841 cat conftest.err
>&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } &&
21844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21846 (eval $ac_try) 2>&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); }; } &&
21850 { ac_try
='test -s conftest.$ac_objext'
21851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21852 (eval $ac_try) 2>&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); }; }; then
21857 wx_cv_lib_glibc21
=yes
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.
$ac_ext >&5
21864 wx_cv_lib_glibc21
=no
21868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21871 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21872 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21873 if test "$wx_cv_lib_glibc21" = "yes"; then
21874 cat >>confdefs.h
<<\_ACEOF
21875 #define wxHAVE_GLIBC2 1
21881 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21882 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21883 cat >>confdefs.h
<<\_ACEOF
21884 #define _GNU_SOURCE 1
21892 if test "$wxUSE_REGEX" != "no"; then
21893 cat >>confdefs.h
<<\_ACEOF
21894 #define wxUSE_REGEX 1
21898 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21899 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21900 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21901 wxUSE_REGEX
=builtin
21904 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21905 if test "${ac_cv_header_regex_h+set}" = set; then
21906 echo "$as_me:$LINENO: checking for regex.h" >&5
21907 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21908 if test "${ac_cv_header_regex_h+set}" = set; then
21909 echo $ECHO_N "(cached) $ECHO_C" >&6
21911 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21912 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21914 # Is the header compilable?
21915 echo "$as_me:$LINENO: checking regex.h usability" >&5
21916 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21917 cat >conftest.
$ac_ext <<_ACEOF
21920 cat confdefs.h
>>conftest.
$ac_ext
21921 cat >>conftest.
$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21926 rm -f conftest.
$ac_objext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21928 (eval $ac_compile) 2>conftest.er1
21930 grep -v '^ *+' conftest.er1
>conftest.err
21932 cat conftest.err
>&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937 (eval $ac_try) 2>&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); }; } &&
21941 { ac_try
='test -s conftest.$ac_objext'
21942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 (eval $ac_try) 2>&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; }; then
21947 ac_header_compiler
=yes
21949 echo "$as_me: failed program was:" >&5
21950 sed 's/^/| /' conftest.
$ac_ext >&5
21952 ac_header_compiler
=no
21954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21956 echo "${ECHO_T}$ac_header_compiler" >&6
21958 # Is the header present?
21959 echo "$as_me:$LINENO: checking regex.h presence" >&5
21960 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
21961 cat >conftest.
$ac_ext <<_ACEOF
21964 cat confdefs.h
>>conftest.
$ac_ext
21965 cat >>conftest.
$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21972 grep -v '^ *+' conftest.er1
>conftest.err
21974 cat conftest.err
>&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } >/dev
/null
; then
21977 if test -s conftest.err
; then
21978 ac_cpp_err
=$ac_c_preproc_warn_flag
21979 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21986 if test -z "$ac_cpp_err"; then
21987 ac_header_preproc
=yes
21989 echo "$as_me: failed program was:" >&5
21990 sed 's/^/| /' conftest.
$ac_ext >&5
21992 ac_header_preproc
=no
21994 rm -f conftest.err conftest.
$ac_ext
21995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21996 echo "${ECHO_T}$ac_header_preproc" >&6
21998 # So? What about this header?
21999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22001 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22002 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22003 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22004 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22005 ac_header_preproc
=yes
22008 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22009 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22010 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22011 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22012 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22013 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22014 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22015 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22016 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22017 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22018 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22019 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22022 ## ----------------------------------------- ##
22023 ## Report this to wx-dev@lists.wxwidgets.org ##
22024 ## ----------------------------------------- ##
22027 sed "s/^/$as_me: WARNING: /" >&2
22030 echo "$as_me:$LINENO: checking for regex.h" >&5
22031 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22032 if test "${ac_cv_header_regex_h+set}" = set; then
22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22035 ac_cv_header_regex_h
=$ac_header_preproc
22037 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22038 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22041 if test $ac_cv_header_regex_h = yes; then
22043 for ac_func
in regcomp
22045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22046 echo "$as_me:$LINENO: checking for $ac_func" >&5
22047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22048 if eval "test \"\${$as_ac_var+set}\" = set"; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22051 cat >conftest.
$ac_ext <<_ACEOF
22054 cat confdefs.h
>>conftest.
$ac_ext
22055 cat >>conftest.
$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22059 #define $ac_func innocuous_$ac_func
22061 /* System header to define __stub macros and hopefully few prototypes,
22062 which can conflict with char $ac_func (); below.
22063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22064 <limits.h> exists even on freestanding compilers. */
22067 # include <limits.h>
22069 # include <assert.h>
22074 /* Override any gcc2 internal prototype to avoid an error. */
22079 /* We use char because int might match the return type of a gcc2
22080 builtin and then its argument prototype would still apply. */
22082 /* The GNU C library defines this for functions which it implements
22083 to always fail with ENOSYS. Some functions are actually named
22084 something starting with __ and the normal name is an alias. */
22085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22088 char (*f) () = $ac_func;
22097 return f != $ac_func;
22102 rm -f conftest.
$ac_objext conftest
$ac_exeext
22103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22104 (eval $ac_link) 2>conftest.er1
22106 grep -v '^ *+' conftest.er1
>conftest.err
22108 cat conftest.err
>&5
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); } &&
22111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22113 (eval $ac_try) 2>&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); }; } &&
22117 { ac_try
='test -s conftest$ac_exeext'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; }; then
22123 eval "$as_ac_var=yes"
22125 echo "$as_me: failed program was:" >&5
22126 sed 's/^/| /' conftest.
$ac_ext >&5
22128 eval "$as_ac_var=no"
22130 rm -f conftest.err conftest.
$ac_objext \
22131 conftest
$ac_exeext conftest.
$ac_ext
22133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22135 if test `eval echo '${'$as_ac_var'}'` = yes; then
22136 cat >>confdefs.h
<<_ACEOF
22137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22147 if test "x$ac_cv_func_regcomp" != "xyes"; then
22148 if test "$wxUSE_REGEX" = "sys" ; then
22149 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22150 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22151 { (exit 1); exit 1; }; }
22153 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22154 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22155 wxUSE_REGEX
=builtin
22159 cat >>confdefs.h
<<\_ACEOF
22160 #define WX_NO_REGEX_ADVANCED 1
22169 if test "$wxUSE_ZLIB" != "no" ; then
22170 cat >>confdefs.h
<<\_ACEOF
22171 #define wxUSE_ZLIB 1
22175 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22176 if test "$USE_DARWIN" = 1; then
22177 system_zlib_h_ok
="yes"
22179 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22180 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22181 if test "${ac_cv_header_zlib_h+set}" = set; then
22182 echo $ECHO_N "(cached) $ECHO_C" >&6
22184 if test "$cross_compiling" = yes; then
22185 unset ac_cv_header_zlib_h
22188 cat >conftest.
$ac_ext <<_ACEOF
22191 cat confdefs.h
>>conftest.
$ac_ext
22192 cat >>conftest.
$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22200 FILE *f=fopen("conftestval", "w");
22203 ZLIB_VERSION[0] == '1' &&
22204 (ZLIB_VERSION[2] > '1' ||
22205 (ZLIB_VERSION[2] == '1' &&
22206 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22211 rm -f conftest
$ac_exeext
22212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22213 (eval $ac_link) 2>&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22218 (eval $ac_try) 2>&5
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); }; }; then
22222 ac_cv_header_zlib_h
=`cat conftestval`
22224 echo "$as_me: program exited with status $ac_status" >&5
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.
$ac_ext >&5
22228 ( exit $ac_status )
22229 ac_cv_header_zlib_h
=no
22231 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22235 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22236 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22237 if test "${ac_cv_header_zlib_h+set}" = set; then
22238 echo "$as_me:$LINENO: checking for zlib.h" >&5
22239 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22240 if test "${ac_cv_header_zlib_h+set}" = set; then
22241 echo $ECHO_N "(cached) $ECHO_C" >&6
22243 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22244 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22246 # Is the header compilable?
22247 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22248 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22249 cat >conftest.
$ac_ext <<_ACEOF
22252 cat confdefs.h
>>conftest.
$ac_ext
22253 cat >>conftest.
$ac_ext <<_ACEOF
22254 /* end confdefs.h. */
22255 $ac_includes_default
22258 rm -f conftest.
$ac_objext
22259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22260 (eval $ac_compile) 2>conftest.er1
22262 grep -v '^ *+' conftest.er1
>conftest.err
22264 cat conftest.err
>&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } &&
22267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269 (eval $ac_try) 2>&5
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); }; } &&
22273 { ac_try
='test -s conftest.$ac_objext'
22274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22275 (eval $ac_try) 2>&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; }; then
22279 ac_header_compiler
=yes
22281 echo "$as_me: failed program was:" >&5
22282 sed 's/^/| /' conftest.
$ac_ext >&5
22284 ac_header_compiler
=no
22286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22288 echo "${ECHO_T}$ac_header_compiler" >&6
22290 # Is the header present?
22291 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22292 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22293 cat >conftest.
$ac_ext <<_ACEOF
22296 cat confdefs.h
>>conftest.
$ac_ext
22297 cat >>conftest.
$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22304 grep -v '^ *+' conftest.er1
>conftest.err
22306 cat conftest.err
>&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); } >/dev
/null
; then
22309 if test -s conftest.err
; then
22310 ac_cpp_err
=$ac_c_preproc_warn_flag
22311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22318 if test -z "$ac_cpp_err"; then
22319 ac_header_preproc
=yes
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.
$ac_ext >&5
22324 ac_header_preproc
=no
22326 rm -f conftest.err conftest.
$ac_ext
22327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22328 echo "${ECHO_T}$ac_header_preproc" >&6
22330 # So? What about this header?
22331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22333 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22334 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22335 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22336 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22337 ac_header_preproc
=yes
22340 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22341 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22342 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22343 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22344 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22345 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22346 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22347 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22348 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22349 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22350 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22351 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22354 ## ----------------------------------------- ##
22355 ## Report this to wx-dev@lists.wxwidgets.org ##
22356 ## ----------------------------------------- ##
22359 sed "s/^/$as_me: WARNING: /" >&2
22362 echo "$as_me:$LINENO: checking for zlib.h" >&5
22363 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22364 if test "${ac_cv_header_zlib_h+set}" = set; then
22365 echo $ECHO_N "(cached) $ECHO_C" >&6
22367 ac_cv_header_zlib_h
=$ac_header_preproc
22369 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22370 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22376 system_zlib_h_ok
=$ac_cv_header_zlib_h
22379 if test "$system_zlib_h_ok" = "yes"; then
22380 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22381 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22382 if test "${ac_cv_lib_z_deflate+set}" = set; then
22383 echo $ECHO_N "(cached) $ECHO_C" >&6
22385 ac_check_lib_save_LIBS
=$LIBS
22387 cat >conftest.
$ac_ext <<_ACEOF
22390 cat confdefs.h
>>conftest.
$ac_ext
22391 cat >>conftest.
$ac_ext <<_ACEOF
22392 /* end confdefs.h. */
22394 /* Override any gcc2 internal prototype to avoid an error. */
22398 /* We use char because int might match the return type of a gcc2
22399 builtin and then its argument prototype would still apply. */
22409 rm -f conftest.
$ac_objext conftest
$ac_exeext
22410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22411 (eval $ac_link) 2>conftest.er1
22413 grep -v '^ *+' conftest.er1
>conftest.err
22415 cat conftest.err
>&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); } &&
22418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22420 (eval $ac_try) 2>&5
22422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423 (exit $ac_status); }; } &&
22424 { ac_try
='test -s conftest$ac_exeext'
22425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22426 (eval $ac_try) 2>&5
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); }; }; then
22430 ac_cv_lib_z_deflate
=yes
22432 echo "$as_me: failed program was:" >&5
22433 sed 's/^/| /' conftest.
$ac_ext >&5
22435 ac_cv_lib_z_deflate
=no
22437 rm -f conftest.err conftest.
$ac_objext \
22438 conftest
$ac_exeext conftest.
$ac_ext
22439 LIBS
=$ac_check_lib_save_LIBS
22441 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22442 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22443 if test $ac_cv_lib_z_deflate = yes; then
22449 if test "x$ZLIB_LINK" = "x" ; then
22450 if test "$wxUSE_ZLIB" = "sys" ; then
22451 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22452 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22453 { (exit 1); exit 1; }; }
22455 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22456 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22467 if test "$wxUSE_LIBPNG" != "no" ; then
22468 cat >>confdefs.h
<<\_ACEOF
22469 #define wxUSE_LIBPNG 1
22473 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22474 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22475 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22479 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22480 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22481 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22482 wxUSE_LIBPNG
=builtin
22485 if test "$wxUSE_MGL" != 1 ; then
22486 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22487 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22488 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22489 if test "${ac_cv_header_png_h+set}" = set; then
22490 echo $ECHO_N "(cached) $ECHO_C" >&6
22492 if test "$cross_compiling" = yes; then
22493 unset ac_cv_header_png_h
22496 cat >conftest.
$ac_ext <<_ACEOF
22499 cat confdefs.h
>>conftest.
$ac_ext
22500 cat >>conftest.
$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22508 FILE *f=fopen("conftestval", "w");
22511 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22516 rm -f conftest
$ac_exeext
22517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22518 (eval $ac_link) 2>&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22523 (eval $ac_try) 2>&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); }; }; then
22527 ac_cv_header_png_h
=`cat conftestval`
22529 echo "$as_me: program exited with status $ac_status" >&5
22530 echo "$as_me: failed program was:" >&5
22531 sed 's/^/| /' conftest.
$ac_ext >&5
22533 ( exit $ac_status )
22534 ac_cv_header_png_h
=no
22536 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22540 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22541 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22542 if test "${ac_cv_header_png_h+set}" = set; then
22543 echo "$as_me:$LINENO: checking for png.h" >&5
22544 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22545 if test "${ac_cv_header_png_h+set}" = set; then
22546 echo $ECHO_N "(cached) $ECHO_C" >&6
22548 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22549 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22551 # Is the header compilable?
22552 echo "$as_me:$LINENO: checking png.h usability" >&5
22553 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22554 cat >conftest.
$ac_ext <<_ACEOF
22557 cat confdefs.h
>>conftest.
$ac_ext
22558 cat >>conftest.
$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 $ac_includes_default
22563 rm -f conftest.
$ac_objext
22564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22565 (eval $ac_compile) 2>conftest.er1
22567 grep -v '^ *+' conftest.er1
>conftest.err
22569 cat conftest.err
>&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); } &&
22572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; } &&
22578 { ac_try
='test -s conftest.$ac_objext'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; }; then
22584 ac_header_compiler
=yes
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.
$ac_ext >&5
22589 ac_header_compiler
=no
22591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22593 echo "${ECHO_T}$ac_header_compiler" >&6
22595 # Is the header present?
22596 echo "$as_me:$LINENO: checking png.h presence" >&5
22597 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22598 cat >conftest.
$ac_ext <<_ACEOF
22601 cat confdefs.h
>>conftest.
$ac_ext
22602 cat >>conftest.
$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22607 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22609 grep -v '^ *+' conftest.er1
>conftest.err
22611 cat conftest.err
>&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); } >/dev
/null
; then
22614 if test -s conftest.err
; then
22615 ac_cpp_err
=$ac_c_preproc_warn_flag
22616 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22623 if test -z "$ac_cpp_err"; then
22624 ac_header_preproc
=yes
22626 echo "$as_me: failed program was:" >&5
22627 sed 's/^/| /' conftest.
$ac_ext >&5
22629 ac_header_preproc
=no
22631 rm -f conftest.err conftest.
$ac_ext
22632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22633 echo "${ECHO_T}$ac_header_preproc" >&6
22635 # So? What about this header?
22636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22638 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22639 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22640 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22641 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22642 ac_header_preproc
=yes
22645 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22646 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22647 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22648 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22649 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22650 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22651 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22652 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22653 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22654 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22655 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22656 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22659 ## ----------------------------------------- ##
22660 ## Report this to wx-dev@lists.wxwidgets.org ##
22661 ## ----------------------------------------- ##
22664 sed "s/^/$as_me: WARNING: /" >&2
22667 echo "$as_me:$LINENO: checking for png.h" >&5
22668 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22669 if test "${ac_cv_header_png_h+set}" = set; then
22670 echo $ECHO_N "(cached) $ECHO_C" >&6
22672 ac_cv_header_png_h
=$ac_header_preproc
22674 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22675 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22681 if test "$ac_cv_header_png_h" = "yes"; then
22682 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22683 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22684 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22685 echo $ECHO_N "(cached) $ECHO_C" >&6
22687 ac_check_lib_save_LIBS
=$LIBS
22688 LIBS
="-lpng -lz -lm $LIBS"
22689 cat >conftest.
$ac_ext <<_ACEOF
22692 cat confdefs.h
>>conftest.
$ac_ext
22693 cat >>conftest.
$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22696 /* Override any gcc2 internal prototype to avoid an error. */
22700 /* We use char because int might match the return type of a gcc2
22701 builtin and then its argument prototype would still apply. */
22702 char png_check_sig ();
22711 rm -f conftest.
$ac_objext conftest
$ac_exeext
22712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22713 (eval $ac_link) 2>conftest.er1
22715 grep -v '^ *+' conftest.er1
>conftest.err
22717 cat conftest.err
>&5
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); } &&
22720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22722 (eval $ac_try) 2>&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); }; } &&
22726 { ac_try
='test -s conftest$ac_exeext'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; }; then
22732 ac_cv_lib_png_png_check_sig
=yes
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.
$ac_ext >&5
22737 ac_cv_lib_png_png_check_sig
=no
22739 rm -f conftest.err conftest.
$ac_objext \
22740 conftest
$ac_exeext conftest.
$ac_ext
22741 LIBS
=$ac_check_lib_save_LIBS
22743 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22744 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22745 if test $ac_cv_lib_png_png_check_sig = yes; then
22746 PNG_LINK
=" -lpng -lz"
22751 if test "x$PNG_LINK" = "x" ; then
22752 if test "$wxUSE_LIBPNG" = "sys" ; then
22753 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22754 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22755 { (exit 1); exit 1; }; }
22757 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22758 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22759 wxUSE_LIBPNG
=builtin
22767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
22772 if test "$wxUSE_LIBJPEG" != "no" ; then
22773 cat >>confdefs.h
<<\_ACEOF
22774 #define wxUSE_LIBJPEG 1
22778 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22779 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22780 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22784 if test "$wxUSE_MGL" != 1 ; then
22785 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22786 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22787 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22788 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22791 cat >conftest.
$ac_ext <<_ACEOF
22794 cat confdefs.h
>>conftest.
$ac_ext
22795 cat >>conftest.
$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22798 #undef HAVE_STDLIB_H
22800 #include <jpeglib.h>
22811 rm -f conftest.
$ac_objext
22812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22813 (eval $ac_compile) 2>conftest.er1
22815 grep -v '^ *+' conftest.er1
>conftest.err
22817 cat conftest.err
>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } &&
22820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22822 (eval $ac_try) 2>&5
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); }; } &&
22826 { ac_try
='test -s conftest.$ac_objext'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; }; then
22832 ac_cv_header_jpeglib_h
=yes
22834 echo "$as_me: failed program was:" >&5
22835 sed 's/^/| /' conftest.
$ac_ext >&5
22837 ac_cv_header_jpeglib_h
=no
22840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22844 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22845 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22847 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22848 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22849 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22850 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22851 echo $ECHO_N "(cached) $ECHO_C" >&6
22853 ac_check_lib_save_LIBS
=$LIBS
22854 LIBS
="-ljpeg $LIBS"
22855 cat >conftest.
$ac_ext <<_ACEOF
22858 cat confdefs.h
>>conftest.
$ac_ext
22859 cat >>conftest.
$ac_ext <<_ACEOF
22860 /* end confdefs.h. */
22862 /* Override any gcc2 internal prototype to avoid an error. */
22866 /* We use char because int might match the return type of a gcc2
22867 builtin and then its argument prototype would still apply. */
22868 char jpeg_read_header ();
22872 jpeg_read_header ();
22877 rm -f conftest.
$ac_objext conftest
$ac_exeext
22878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22879 (eval $ac_link) 2>conftest.er1
22881 grep -v '^ *+' conftest.er1
>conftest.err
22883 cat conftest.err
>&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } &&
22886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; } &&
22892 { ac_try
='test -s conftest$ac_exeext'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 ac_cv_lib_jpeg_jpeg_read_header
=yes
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.
$ac_ext >&5
22903 ac_cv_lib_jpeg_jpeg_read_header
=no
22905 rm -f conftest.err conftest.
$ac_objext \
22906 conftest
$ac_exeext conftest.
$ac_ext
22907 LIBS
=$ac_check_lib_save_LIBS
22909 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22910 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22911 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22912 JPEG_LINK
=" -ljpeg"
22917 if test "x$JPEG_LINK" = "x" ; then
22918 if test "$wxUSE_LIBJPEG" = "sys" ; then
22919 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22920 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22921 { (exit 1); exit 1; }; }
22923 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22924 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22925 wxUSE_LIBJPEG
=builtin
22936 TIFF_PREREQ_LINKS
=-lm
22937 if test "$wxUSE_LIBTIFF" != "no" ; then
22938 cat >>confdefs.h
<<\_ACEOF
22939 #define wxUSE_LIBTIFF 1
22943 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22944 if test "$wxUSE_LIBJPEG" = "sys"; then
22945 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22947 if test "$wxUSE_ZLIB" = "sys"; then
22948 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22950 if test "${ac_cv_header_tiffio_h+set}" = set; then
22951 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22952 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22953 if test "${ac_cv_header_tiffio_h+set}" = set; then
22954 echo $ECHO_N "(cached) $ECHO_C" >&6
22956 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22957 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22959 # Is the header compilable?
22960 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
22961 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
22962 cat >conftest.
$ac_ext <<_ACEOF
22965 cat confdefs.h
>>conftest.
$ac_ext
22966 cat >>conftest.
$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22968 $ac_includes_default
22969 #include <tiffio.h>
22971 rm -f conftest.
$ac_objext
22972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22973 (eval $ac_compile) 2>conftest.er1
22975 grep -v '^ *+' conftest.er1
>conftest.err
22977 cat conftest.err
>&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } &&
22980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; } &&
22986 { ac_try
='test -s conftest.$ac_objext'
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; }; then
22992 ac_header_compiler
=yes
22994 echo "$as_me: failed program was:" >&5
22995 sed 's/^/| /' conftest.
$ac_ext >&5
22997 ac_header_compiler
=no
22999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23001 echo "${ECHO_T}$ac_header_compiler" >&6
23003 # Is the header present?
23004 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23005 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23006 cat >conftest.
$ac_ext <<_ACEOF
23009 cat confdefs.h
>>conftest.
$ac_ext
23010 cat >>conftest.
$ac_ext <<_ACEOF
23011 /* end confdefs.h. */
23012 #include <tiffio.h>
23014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23015 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23017 grep -v '^ *+' conftest.er1
>conftest.err
23019 cat conftest.err
>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } >/dev
/null
; then
23022 if test -s conftest.err
; then
23023 ac_cpp_err
=$ac_c_preproc_warn_flag
23024 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23031 if test -z "$ac_cpp_err"; then
23032 ac_header_preproc
=yes
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.
$ac_ext >&5
23037 ac_header_preproc
=no
23039 rm -f conftest.err conftest.
$ac_ext
23040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23041 echo "${ECHO_T}$ac_header_preproc" >&6
23043 # So? What about this header?
23044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23046 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23047 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23048 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23049 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23050 ac_header_preproc
=yes
23053 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23054 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23055 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23056 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23057 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23058 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23059 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23060 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23062 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23063 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23064 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23067 ## ----------------------------------------- ##
23068 ## Report this to wx-dev@lists.wxwidgets.org ##
23069 ## ----------------------------------------- ##
23072 sed "s/^/$as_me: WARNING: /" >&2
23075 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23076 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23077 if test "${ac_cv_header_tiffio_h+set}" = set; then
23078 echo $ECHO_N "(cached) $ECHO_C" >&6
23080 ac_cv_header_tiffio_h
=$ac_header_preproc
23082 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23083 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23086 if test $ac_cv_header_tiffio_h = yes; then
23088 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23089 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23090 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23091 echo $ECHO_N "(cached) $ECHO_C" >&6
23093 ac_check_lib_save_LIBS
=$LIBS
23094 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23095 cat >conftest.
$ac_ext <<_ACEOF
23098 cat confdefs.h
>>conftest.
$ac_ext
23099 cat >>conftest.
$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23102 /* Override any gcc2 internal prototype to avoid an error. */
23106 /* We use char because int might match the return type of a gcc2
23107 builtin and then its argument prototype would still apply. */
23117 rm -f conftest.
$ac_objext conftest
$ac_exeext
23118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23119 (eval $ac_link) 2>conftest.er1
23121 grep -v '^ *+' conftest.er1
>conftest.err
23123 cat conftest.err
>&5
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); } &&
23126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23128 (eval $ac_try) 2>&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); }; } &&
23132 { ac_try
='test -s conftest$ac_exeext'
23133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23134 (eval $ac_try) 2>&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; }; then
23138 ac_cv_lib_tiff_TIFFError
=yes
23140 echo "$as_me: failed program was:" >&5
23141 sed 's/^/| /' conftest.
$ac_ext >&5
23143 ac_cv_lib_tiff_TIFFError
=no
23145 rm -f conftest.err conftest.
$ac_objext \
23146 conftest
$ac_exeext conftest.
$ac_ext
23147 LIBS
=$ac_check_lib_save_LIBS
23149 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23150 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23151 if test $ac_cv_lib_tiff_TIFFError = yes; then
23152 TIFF_LINK
=" -ltiff"
23161 if test "x$TIFF_LINK" = "x" ; then
23162 if test "$wxUSE_LIBTIFF" = "sys" ; then
23163 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23164 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23165 { (exit 1); exit 1; }; }
23167 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23168 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23169 wxUSE_LIBTIFF
=builtin
23178 if test "$wxUSE_EXPAT" != "no"; then
23180 cat >>confdefs.h
<<\_ACEOF
23181 #define wxUSE_EXPAT 1
23184 cat >>confdefs.h
<<\_ACEOF
23185 #define wxUSE_XML 1
23189 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23190 if test "${ac_cv_header_expat_h+set}" = set; then
23191 echo "$as_me:$LINENO: checking for expat.h" >&5
23192 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23193 if test "${ac_cv_header_expat_h+set}" = set; then
23194 echo $ECHO_N "(cached) $ECHO_C" >&6
23196 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23197 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23199 # Is the header compilable?
23200 echo "$as_me:$LINENO: checking expat.h usability" >&5
23201 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23202 cat >conftest.
$ac_ext <<_ACEOF
23205 cat confdefs.h
>>conftest.
$ac_ext
23206 cat >>conftest.
$ac_ext <<_ACEOF
23207 /* end confdefs.h. */
23208 $ac_includes_default
23211 rm -f conftest.
$ac_objext
23212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23213 (eval $ac_compile) 2>conftest.er1
23215 grep -v '^ *+' conftest.er1
>conftest.err
23217 cat conftest.err
>&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } &&
23220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23222 (eval $ac_try) 2>&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; } &&
23226 { ac_try
='test -s conftest.$ac_objext'
23227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228 (eval $ac_try) 2>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; }; then
23232 ac_header_compiler
=yes
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.
$ac_ext >&5
23237 ac_header_compiler
=no
23239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23241 echo "${ECHO_T}$ac_header_compiler" >&6
23243 # Is the header present?
23244 echo "$as_me:$LINENO: checking expat.h presence" >&5
23245 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23246 cat >conftest.
$ac_ext <<_ACEOF
23249 cat confdefs.h
>>conftest.
$ac_ext
23250 cat >>conftest.
$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23255 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23257 grep -v '^ *+' conftest.er1
>conftest.err
23259 cat conftest.err
>&5
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); } >/dev
/null
; then
23262 if test -s conftest.err
; then
23263 ac_cpp_err
=$ac_c_preproc_warn_flag
23264 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23271 if test -z "$ac_cpp_err"; then
23272 ac_header_preproc
=yes
23274 echo "$as_me: failed program was:" >&5
23275 sed 's/^/| /' conftest.
$ac_ext >&5
23277 ac_header_preproc
=no
23279 rm -f conftest.err conftest.
$ac_ext
23280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23281 echo "${ECHO_T}$ac_header_preproc" >&6
23283 # So? What about this header?
23284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23286 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23287 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23288 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23289 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23290 ac_header_preproc
=yes
23293 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23294 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23295 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23296 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23297 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23298 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23299 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23300 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23301 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23302 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23303 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23304 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23307 ## ----------------------------------------- ##
23308 ## Report this to wx-dev@lists.wxwidgets.org ##
23309 ## ----------------------------------------- ##
23312 sed "s/^/$as_me: WARNING: /" >&2
23315 echo "$as_me:$LINENO: checking for expat.h" >&5
23316 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23317 if test "${ac_cv_header_expat_h+set}" = set; then
23318 echo $ECHO_N "(cached) $ECHO_C" >&6
23320 ac_cv_header_expat_h
=$ac_header_preproc
23322 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23323 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23326 if test $ac_cv_header_expat_h = yes; then
23331 if test "x$found_expat_h" = "x1"; then
23332 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23333 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23334 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23341 ac_cpp
='$CXXCPP $CPPFLAGS'
23342 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23346 cat >conftest.
$ac_ext <<_ACEOF
23349 cat confdefs.h
>>conftest.
$ac_ext
23350 cat >>conftest.
$ac_ext <<_ACEOF
23351 /* end confdefs.h. */
23361 rm -f conftest.
$ac_objext
23362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23363 (eval $ac_compile) 2>conftest.er1
23365 grep -v '^ *+' conftest.er1
>conftest.err
23367 cat conftest.err
>&5
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); } &&
23370 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23372 (eval $ac_try) 2>&5
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; } &&
23376 { ac_try
='test -s conftest.$ac_objext'
23377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23378 (eval $ac_try) 2>&5
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); }; }; then
23382 wx_cv_expat_is_not_broken
=yes
23384 echo "$as_me: failed program was:" >&5
23385 sed 's/^/| /' conftest.
$ac_ext >&5
23387 wx_cv_expat_is_not_broken
=no
23390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23392 ac_cpp
='$CPP $CPPFLAGS'
23393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23400 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23401 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23402 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23403 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23404 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23405 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23406 echo $ECHO_N "(cached) $ECHO_C" >&6
23408 ac_check_lib_save_LIBS
=$LIBS
23409 LIBS
="-lexpat $LIBS"
23410 cat >conftest.
$ac_ext <<_ACEOF
23413 cat confdefs.h
>>conftest.
$ac_ext
23414 cat >>conftest.
$ac_ext <<_ACEOF
23415 /* end confdefs.h. */
23417 /* Override any gcc2 internal prototype to avoid an error. */
23421 /* We use char because int might match the return type of a gcc2
23422 builtin and then its argument prototype would still apply. */
23423 char XML_ParserCreate ();
23427 XML_ParserCreate ();
23432 rm -f conftest.
$ac_objext conftest
$ac_exeext
23433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23434 (eval $ac_link) 2>conftest.er1
23436 grep -v '^ *+' conftest.er1
>conftest.err
23438 cat conftest.err
>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); } &&
23441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23443 (eval $ac_try) 2>&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); }; } &&
23447 { ac_try
='test -s conftest$ac_exeext'
23448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23449 (eval $ac_try) 2>&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; }; then
23453 ac_cv_lib_expat_XML_ParserCreate
=yes
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.
$ac_ext >&5
23458 ac_cv_lib_expat_XML_ParserCreate
=no
23460 rm -f conftest.err conftest.
$ac_objext \
23461 conftest
$ac_exeext conftest.
$ac_ext
23462 LIBS
=$ac_check_lib_save_LIBS
23464 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23465 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23466 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23467 EXPAT_LINK
=" -lexpat"
23472 if test "x$EXPAT_LINK" = "x" ; then
23473 if test "$wxUSE_EXPAT" = "sys" ; then
23474 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23475 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23476 { (exit 1); exit 1; }; }
23478 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23479 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23480 wxUSE_EXPAT
=builtin
23486 if test "$wxUSE_EXPAT" = "builtin" ; then
23489 subdirs
="$subdirs src/expat"
23496 if test "$wxUSE_LIBMSPACK" != "no"; then
23497 if test "${ac_cv_header_mspack_h+set}" = set; then
23498 echo "$as_me:$LINENO: checking for mspack.h" >&5
23499 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23500 if test "${ac_cv_header_mspack_h+set}" = set; then
23501 echo $ECHO_N "(cached) $ECHO_C" >&6
23503 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23504 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23506 # Is the header compilable?
23507 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23508 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23509 cat >conftest.
$ac_ext <<_ACEOF
23512 cat confdefs.h
>>conftest.
$ac_ext
23513 cat >>conftest.
$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23515 $ac_includes_default
23516 #include <mspack.h>
23518 rm -f conftest.
$ac_objext
23519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23520 (eval $ac_compile) 2>conftest.er1
23522 grep -v '^ *+' conftest.er1
>conftest.err
23524 cat conftest.err
>&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); } &&
23527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23529 (eval $ac_try) 2>&5
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); }; } &&
23533 { ac_try
='test -s conftest.$ac_objext'
23534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535 (eval $ac_try) 2>&5
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); }; }; then
23539 ac_header_compiler
=yes
23541 echo "$as_me: failed program was:" >&5
23542 sed 's/^/| /' conftest.
$ac_ext >&5
23544 ac_header_compiler
=no
23546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23548 echo "${ECHO_T}$ac_header_compiler" >&6
23550 # Is the header present?
23551 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23552 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23553 cat >conftest.
$ac_ext <<_ACEOF
23556 cat confdefs.h
>>conftest.
$ac_ext
23557 cat >>conftest.
$ac_ext <<_ACEOF
23558 /* end confdefs.h. */
23559 #include <mspack.h>
23561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23564 grep -v '^ *+' conftest.er1
>conftest.err
23566 cat conftest.err
>&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); } >/dev
/null
; then
23569 if test -s conftest.err
; then
23570 ac_cpp_err
=$ac_c_preproc_warn_flag
23571 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23578 if test -z "$ac_cpp_err"; then
23579 ac_header_preproc
=yes
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.
$ac_ext >&5
23584 ac_header_preproc
=no
23586 rm -f conftest.err conftest.
$ac_ext
23587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23588 echo "${ECHO_T}$ac_header_preproc" >&6
23590 # So? What about this header?
23591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23593 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23594 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23595 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23596 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23597 ac_header_preproc
=yes
23600 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23601 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23602 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23603 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23604 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23605 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23606 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23607 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23608 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23609 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23610 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23611 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23614 ## ----------------------------------------- ##
23615 ## Report this to wx-dev@lists.wxwidgets.org ##
23616 ## ----------------------------------------- ##
23619 sed "s/^/$as_me: WARNING: /" >&2
23622 echo "$as_me:$LINENO: checking for mspack.h" >&5
23623 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23624 if test "${ac_cv_header_mspack_h+set}" = set; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23627 ac_cv_header_mspack_h
=$ac_header_preproc
23629 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23630 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23633 if test $ac_cv_header_mspack_h = yes; then
23638 if test "x$found_mspack_h" = "x1"; then
23639 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23640 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23641 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23644 ac_check_lib_save_LIBS
=$LIBS
23645 LIBS
="-lmspack $LIBS"
23646 cat >conftest.
$ac_ext <<_ACEOF
23649 cat confdefs.h
>>conftest.
$ac_ext
23650 cat >>conftest.
$ac_ext <<_ACEOF
23651 /* end confdefs.h. */
23653 /* Override any gcc2 internal prototype to avoid an error. */
23657 /* We use char because int might match the return type of a gcc2
23658 builtin and then its argument prototype would still apply. */
23659 char mspack_create_chm_decompressor ();
23663 mspack_create_chm_decompressor ();
23668 rm -f conftest.
$ac_objext conftest
$ac_exeext
23669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23670 (eval $ac_link) 2>conftest.er1
23672 grep -v '^ *+' conftest.er1
>conftest.err
23674 cat conftest.err
>&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); } &&
23677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; } &&
23683 { ac_try
='test -s conftest$ac_exeext'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.
$ac_ext >&5
23694 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23696 rm -f conftest.err conftest.
$ac_objext \
23697 conftest
$ac_exeext conftest.
$ac_ext
23698 LIBS
=$ac_check_lib_save_LIBS
23700 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23701 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23702 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23703 MSPACK_LINK
=" -lmspack"
23707 if test "x$MSPACK_LINK" = "x" ; then
23712 if test "$wxUSE_LIBMSPACK" != "no"; then
23713 cat >>confdefs.h
<<\_ACEOF
23714 #define wxUSE_LIBMSPACK 1
23728 if test "$USE_WIN32" = 1 ; then
23730 for ac_header
in w32api.h
23732 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23734 echo "$as_me:$LINENO: checking for $ac_header" >&5
23735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23737 echo $ECHO_N "(cached) $ECHO_C" >&6
23739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23742 # Is the header compilable?
23743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23745 cat >conftest.
$ac_ext <<_ACEOF
23748 cat confdefs.h
>>conftest.
$ac_ext
23749 cat >>conftest.
$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23751 $ac_includes_default
23752 #include <$ac_header>
23754 rm -f conftest.
$ac_objext
23755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23756 (eval $ac_compile) 2>conftest.er1
23758 grep -v '^ *+' conftest.er1
>conftest.err
23760 cat conftest.err
>&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); } &&
23763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23765 (eval $ac_try) 2>&5
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); }; } &&
23769 { ac_try
='test -s conftest.$ac_objext'
23770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771 (eval $ac_try) 2>&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); }; }; then
23775 ac_header_compiler
=yes
23777 echo "$as_me: failed program was:" >&5
23778 sed 's/^/| /' conftest.
$ac_ext >&5
23780 ac_header_compiler
=no
23782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23784 echo "${ECHO_T}$ac_header_compiler" >&6
23786 # Is the header present?
23787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23789 cat >conftest.
$ac_ext <<_ACEOF
23792 cat confdefs.h
>>conftest.
$ac_ext
23793 cat >>conftest.
$ac_ext <<_ACEOF
23794 /* end confdefs.h. */
23795 #include <$ac_header>
23797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23798 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23800 grep -v '^ *+' conftest.er1
>conftest.err
23802 cat conftest.err
>&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); } >/dev
/null
; then
23805 if test -s conftest.err
; then
23806 ac_cpp_err
=$ac_c_preproc_warn_flag
23807 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23814 if test -z "$ac_cpp_err"; then
23815 ac_header_preproc
=yes
23817 echo "$as_me: failed program was:" >&5
23818 sed 's/^/| /' conftest.
$ac_ext >&5
23820 ac_header_preproc
=no
23822 rm -f conftest.err conftest.
$ac_ext
23823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23824 echo "${ECHO_T}$ac_header_preproc" >&6
23826 # So? What about this header?
23827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23833 ac_header_preproc
=yes
23836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23850 ## ----------------------------------------- ##
23851 ## Report this to wx-dev@lists.wxwidgets.org ##
23852 ## ----------------------------------------- ##
23855 sed "s/^/$as_me: WARNING: /" >&2
23858 echo "$as_me:$LINENO: checking for $ac_header" >&5
23859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23861 echo $ECHO_N "(cached) $ECHO_C" >&6
23863 eval "$as_ac_Header=\$ac_header_preproc"
23865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23870 cat >>confdefs.h
<<_ACEOF
23871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23878 if test "${ac_cv_header_windows_h+set}" = set; then
23879 echo "$as_me:$LINENO: checking for windows.h" >&5
23880 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23881 if test "${ac_cv_header_windows_h+set}" = set; then
23882 echo $ECHO_N "(cached) $ECHO_C" >&6
23884 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23885 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23887 # Is the header compilable?
23888 echo "$as_me:$LINENO: checking windows.h usability" >&5
23889 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23890 cat >conftest.
$ac_ext <<_ACEOF
23893 cat confdefs.h
>>conftest.
$ac_ext
23894 cat >>conftest.
$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23896 $ac_includes_default
23897 #include <windows.h>
23899 rm -f conftest.
$ac_objext
23900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23901 (eval $ac_compile) 2>conftest.er1
23903 grep -v '^ *+' conftest.er1
>conftest.err
23905 cat conftest.err
>&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); } &&
23908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23910 (eval $ac_try) 2>&5
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); }; } &&
23914 { ac_try
='test -s conftest.$ac_objext'
23915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23916 (eval $ac_try) 2>&5
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; }; then
23920 ac_header_compiler
=yes
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.
$ac_ext >&5
23925 ac_header_compiler
=no
23927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23929 echo "${ECHO_T}$ac_header_compiler" >&6
23931 # Is the header present?
23932 echo "$as_me:$LINENO: checking windows.h presence" >&5
23933 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23934 cat >conftest.
$ac_ext <<_ACEOF
23937 cat confdefs.h
>>conftest.
$ac_ext
23938 cat >>conftest.
$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23940 #include <windows.h>
23942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23945 grep -v '^ *+' conftest.er1
>conftest.err
23947 cat conftest.err
>&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } >/dev
/null
; then
23950 if test -s conftest.err
; then
23951 ac_cpp_err
=$ac_c_preproc_warn_flag
23952 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23959 if test -z "$ac_cpp_err"; then
23960 ac_header_preproc
=yes
23962 echo "$as_me: failed program was:" >&5
23963 sed 's/^/| /' conftest.
$ac_ext >&5
23965 ac_header_preproc
=no
23967 rm -f conftest.err conftest.
$ac_ext
23968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23969 echo "${ECHO_T}$ac_header_preproc" >&6
23971 # So? What about this header?
23972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23974 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23975 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23976 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23977 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23978 ac_header_preproc
=yes
23981 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23982 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23983 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23984 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23985 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23986 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23987 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23988 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23989 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23990 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23991 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23992 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23995 ## ----------------------------------------- ##
23996 ## Report this to wx-dev@lists.wxwidgets.org ##
23997 ## ----------------------------------------- ##
24000 sed "s/^/$as_me: WARNING: /" >&2
24003 echo "$as_me:$LINENO: checking for windows.h" >&5
24004 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24005 if test "${ac_cv_header_windows_h+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24008 ac_cv_header_windows_h
=$ac_header_preproc
24010 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24011 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24014 if test $ac_cv_header_windows_h = yes; then
24018 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24019 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24020 { (exit 1); exit 1; }; }
24026 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24028 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24029 LIBS
="$LIBS -loleacc"
24034 LIBS
="$LIBS -lkernel32 -luser32"
24035 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24038 if test "$wxUSE_ODBC" = "sys" ; then
24041 if test "$wxUSE_ODBC" = "yes" ; then
24042 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24043 cat >>confdefs.h
<<\_ACEOF
24044 #define wxUSE_ODBC 1
24049 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24050 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24052 WIN32INSTALL
=win32install
24055 if test "$wxUSE_GUI" = "yes"; then
24065 if test "$wxUSE_COCOA" = 1 ; then
24066 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24067 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24068 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24069 wxUSE_PRINTING_ARCHITECTURE
=no
24071 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24072 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24073 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24074 wxUSE_DRAG_AND_DROP
=no
24076 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24077 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24078 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24083 if test "$wxUSE_MSW" = 1 ; then
24089 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24093 if test "$wxUSE_GTK" = 1; then
24094 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24095 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24097 gtk_version_cached
=1
24098 if test "${wx_cv_lib_gtk+set}" = set; then
24099 echo $ECHO_N "(cached) $ECHO_C" >&6
24102 gtk_version_cached
=0
24103 echo "$as_me:$LINENO: result: " >&5
24104 echo "${ECHO_T}" >&6
24107 if test "$wxUSE_THREADS" = "yes"; then
24108 GTK_MODULES
=gthread
24112 if test "x$wxUSE_GTK2" = "xyes"; then
24113 # Check whether --enable-gtktest or --disable-gtktest was given.
24114 if test "${enable_gtktest+set}" = set; then
24115 enableval
="$enable_gtktest"
24121 pkg_config_args
=gtk
+-2.0
24122 for module
in .
$GTK_MODULES
24126 pkg_config_args
="$pkg_config_args gthread-2.0"
24133 # Extract the first word of "pkg-config", so it can be a program name with args.
24134 set dummy pkg
-config; ac_word
=$2
24135 echo "$as_me:$LINENO: checking for $ac_word" >&5
24136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24137 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24140 case $PKG_CONFIG in
24142 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24146 for as_dir
in $PATH
24149 test -z "$as_dir" && as_dir
=.
24150 for ac_exec_ext
in '' $ac_executable_extensions; do
24151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24152 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24159 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24163 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24165 if test -n "$PKG_CONFIG"; then
24166 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24167 echo "${ECHO_T}$PKG_CONFIG" >&6
24169 echo "$as_me:$LINENO: result: no" >&5
24170 echo "${ECHO_T}no" >&6
24174 if test x
$PKG_CONFIG != xno
; then
24175 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24178 echo "*** pkg-config too old; version 0.7 or better required."
24186 min_gtk_version
=2.0.0
24187 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24188 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24190 if test x
$PKG_CONFIG != xno
; then
24191 ## don't try to run the test against uninstalled libtool libs
24192 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24193 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24197 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24204 if test x
"$no_gtk" = x
; then
24205 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24206 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24207 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24208 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24209 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24211 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24213 if test "x$enable_gtktest" = "xyes" ; then
24214 ac_save_CFLAGS
="$CFLAGS"
24215 ac_save_LIBS
="$LIBS"
24216 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24217 LIBS
="$GTK_LIBS $LIBS"
24219 if test "$cross_compiling" = yes; then
24220 echo $ac_n "cross compiling; assumed OK... $ac_c"
24222 cat >conftest.
$ac_ext <<_ACEOF
24225 cat confdefs.h
>>conftest.
$ac_ext
24226 cat >>conftest.
$ac_ext <<_ACEOF
24227 /* end confdefs.h. */
24229 #include <gtk/gtk.h>
24231 #include <stdlib.h>
24236 int major, minor, micro;
24239 system ("touch conf.gtktest");
24241 /* HP/UX 9 (%@#!) writes to sscanf strings */
24242 tmp_version = g_strdup("$min_gtk_version");
24243 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24244 printf("%s, bad version string\n", "$min_gtk_version");
24248 if ((gtk_major_version != $gtk_config_major_version) ||
24249 (gtk_minor_version != $gtk_config_minor_version) ||
24250 (gtk_micro_version != $gtk_config_micro_version))
24252 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24253 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24254 gtk_major_version, gtk_minor_version, gtk_micro_version);
24255 printf ("*** was found! If pkg-config was correct, then it is best\n");
24256 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24257 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24258 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24259 printf("*** required on your system.\n");
24260 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24261 printf("*** to point to the correct configuration files\n");
24263 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24264 (gtk_minor_version != GTK_MINOR_VERSION) ||
24265 (gtk_micro_version != GTK_MICRO_VERSION))
24267 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24268 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24269 printf("*** library (version %d.%d.%d)\n",
24270 gtk_major_version, gtk_minor_version, gtk_micro_version);
24274 if ((gtk_major_version > major) ||
24275 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24276 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24282 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24283 gtk_major_version, gtk_minor_version, gtk_micro_version);
24284 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24285 major, minor, micro);
24286 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24288 printf("*** If you have already installed a sufficiently new version, this error\n");
24289 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24290 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24291 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24292 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24293 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24294 printf("*** so that the correct libraries are found at run-time))\n");
24301 rm -f conftest
$ac_exeext
24302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24303 (eval $ac_link) 2>&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; }; then
24314 echo "$as_me: program exited with status $ac_status" >&5
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.
$ac_ext >&5
24318 ( exit $ac_status )
24321 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24323 CFLAGS
="$ac_save_CFLAGS"
24324 LIBS
="$ac_save_LIBS"
24327 if test "x$no_gtk" = x
; then
24328 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24329 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24332 echo "$as_me:$LINENO: result: no" >&5
24333 echo "${ECHO_T}no" >&6
24334 if test "$PKG_CONFIG" = "no" ; then
24335 echo "*** A new enough version of pkg-config was not found."
24336 echo "*** See http://pkgconfig.sourceforge.net"
24338 if test -f conf.gtktest
; then
24341 echo "*** Could not run GTK+ test program, checking why..."
24342 ac_save_CFLAGS
="$CFLAGS"
24343 ac_save_LIBS
="$LIBS"
24344 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24345 LIBS
="$LIBS $GTK_LIBS"
24346 cat >conftest.
$ac_ext <<_ACEOF
24349 cat confdefs.h
>>conftest.
$ac_ext
24350 cat >>conftest.
$ac_ext <<_ACEOF
24351 /* end confdefs.h. */
24353 #include <gtk/gtk.h>
24359 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24364 rm -f conftest.
$ac_objext conftest
$ac_exeext
24365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24366 (eval $ac_link) 2>conftest.er1
24368 grep -v '^ *+' conftest.er1
>conftest.err
24370 cat conftest.err
>&5
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); } &&
24373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24375 (eval $ac_try) 2>&5
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); }; } &&
24379 { ac_try
='test -s conftest$ac_exeext'
24380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24381 (eval $ac_try) 2>&5
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); }; }; then
24385 echo "*** The test program compiled, but did not run. This usually means"
24386 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24387 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24388 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24389 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24390 echo "*** is required on your system"
24392 echo "*** If you have an old version installed, it is best to remove it, although"
24393 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24395 echo "$as_me: failed program was:" >&5
24396 sed 's/^/| /' conftest.
$ac_ext >&5
24398 echo "*** The test program failed to compile or link. See the file config.log for the"
24399 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24401 rm -f conftest.err conftest.
$ac_objext \
24402 conftest
$ac_exeext conftest.
$ac_ext
24403 CFLAGS
="$ac_save_CFLAGS"
24404 LIBS
="$ac_save_LIBS"
24417 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24418 if test "${with_gtk_prefix+set}" = set; then
24419 withval
="$with_gtk_prefix"
24420 gtk_config_prefix
="$withval"
24422 gtk_config_prefix
=""
24425 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24426 if test "${with_gtk_exec_prefix+set}" = set; then
24427 withval
="$with_gtk_exec_prefix"
24428 gtk_config_exec_prefix
="$withval"
24430 gtk_config_exec_prefix
=""
24432 # Check whether --enable-gtktest or --disable-gtktest was given.
24433 if test "${enable_gtktest+set}" = set; then
24434 enableval
="$enable_gtktest"
24440 for module
in .
$GTK_MODULES
24444 gtk_config_args
="$gtk_config_args gthread"
24449 if test x
$gtk_config_exec_prefix != x
; then
24450 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24451 if test x
${GTK_CONFIG+set} != xset
; then
24452 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24455 if test x
$gtk_config_prefix != x
; then
24456 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24457 if test x
${GTK_CONFIG+set} != xset
; then
24458 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24462 # Extract the first word of "gtk-config", so it can be a program name with args.
24463 set dummy gtk
-config; ac_word
=$2
24464 echo "$as_me:$LINENO: checking for $ac_word" >&5
24465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24466 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24469 case $GTK_CONFIG in
24471 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24475 for as_dir
in $PATH
24478 test -z "$as_dir" && as_dir
=.
24479 for ac_exec_ext
in '' $ac_executable_extensions; do
24480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24481 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24488 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24492 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24494 if test -n "$GTK_CONFIG"; then
24495 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24496 echo "${ECHO_T}$GTK_CONFIG" >&6
24498 echo "$as_me:$LINENO: result: no" >&5
24499 echo "${ECHO_T}no" >&6
24502 min_gtk_version
=1.2.7
24503 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24504 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24506 if test "$GTK_CONFIG" = "no" ; then
24509 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24510 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24511 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24512 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24513 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24515 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24517 if test "x$enable_gtktest" = "xyes" ; then
24518 ac_save_CFLAGS
="$CFLAGS"
24519 ac_save_LIBS
="$LIBS"
24520 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24521 LIBS
="$GTK_LIBS $LIBS"
24523 if test "$cross_compiling" = yes; then
24524 echo $ac_n "cross compiling; assumed OK... $ac_c"
24526 cat >conftest.
$ac_ext <<_ACEOF
24529 cat confdefs.h
>>conftest.
$ac_ext
24530 cat >>conftest.
$ac_ext <<_ACEOF
24531 /* end confdefs.h. */
24533 #include <gtk/gtk.h>
24535 #include <stdlib.h>
24540 int major, minor, micro;
24543 system ("touch conf.gtktest");
24545 /* HP/UX 9 (%@#!) writes to sscanf strings */
24546 tmp_version = g_strdup("$min_gtk_version");
24547 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24548 printf("%s, bad version string\n", "$min_gtk_version");
24552 if ((gtk_major_version != $gtk_config_major_version) ||
24553 (gtk_minor_version != $gtk_config_minor_version) ||
24554 (gtk_micro_version != $gtk_config_micro_version))
24556 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24557 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24558 gtk_major_version, gtk_minor_version, gtk_micro_version);
24559 printf ("*** was found! If gtk-config was correct, then it is best\n");
24560 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24561 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24562 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24563 printf("*** required on your system.\n");
24564 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24565 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24566 printf("*** before re-running configure\n");
24568 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24569 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24570 (gtk_minor_version != GTK_MINOR_VERSION) ||
24571 (gtk_micro_version != GTK_MICRO_VERSION))
24573 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24574 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24575 printf("*** library (version %d.%d.%d)\n",
24576 gtk_major_version, gtk_minor_version, gtk_micro_version);
24578 #endif /* defined (GTK_MAJOR_VERSION) ... */
24581 if ((gtk_major_version > major) ||
24582 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24583 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24589 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24590 gtk_major_version, gtk_minor_version, gtk_micro_version);
24591 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24592 major, minor, micro);
24593 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24595 printf("*** If you have already installed a sufficiently new version, this error\n");
24596 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24597 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24598 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24599 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24600 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24601 printf("*** so that the correct libraries are found at run-time))\n");
24608 rm -f conftest
$ac_exeext
24609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24610 (eval $ac_link) 2>&5
24612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24615 (eval $ac_try) 2>&5
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); }; }; then
24621 echo "$as_me: program exited with status $ac_status" >&5
24622 echo "$as_me: failed program was:" >&5
24623 sed 's/^/| /' conftest.
$ac_ext >&5
24625 ( exit $ac_status )
24628 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24630 CFLAGS
="$ac_save_CFLAGS"
24631 LIBS
="$ac_save_LIBS"
24634 if test "x$no_gtk" = x
; then
24635 echo "$as_me:$LINENO: result: yes" >&5
24636 echo "${ECHO_T}yes" >&6
24637 wx_cv_lib_gtk
=1.2.7
24639 echo "$as_me:$LINENO: result: no" >&5
24640 echo "${ECHO_T}no" >&6
24641 if test "$GTK_CONFIG" = "no" ; then
24642 echo "*** The gtk-config script installed by GTK could not be found"
24643 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24644 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24645 echo "*** full path to gtk-config."
24647 if test -f conf.gtktest
; then
24650 echo "*** Could not run GTK test program, checking why..."
24651 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24652 LIBS
="$LIBS $GTK_LIBS"
24653 cat >conftest.
$ac_ext <<_ACEOF
24656 cat confdefs.h
>>conftest.
$ac_ext
24657 cat >>conftest.
$ac_ext <<_ACEOF
24658 /* end confdefs.h. */
24660 #include <gtk/gtk.h>
24666 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24671 rm -f conftest.
$ac_objext conftest
$ac_exeext
24672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24673 (eval $ac_link) 2>conftest.er1
24675 grep -v '^ *+' conftest.er1
>conftest.err
24677 cat conftest.err
>&5
24678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24679 (exit $ac_status); } &&
24680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24682 (eval $ac_try) 2>&5
24684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24685 (exit $ac_status); }; } &&
24686 { ac_try
='test -s conftest$ac_exeext'
24687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24688 (eval $ac_try) 2>&5
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); }; }; then
24692 echo "*** The test program compiled, but did not run. This usually means"
24693 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24694 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24695 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24696 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24697 echo "*** is required on your system"
24699 echo "*** If you have an old version installed, it is best to remove it, although"
24700 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24702 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24703 echo "*** came with the system with the command"
24705 echo "*** rpm --erase --nodeps gtk gtk-devel"
24707 echo "$as_me: failed program was:" >&5
24708 sed 's/^/| /' conftest.
$ac_ext >&5
24710 echo "*** The test program failed to compile or link. See the file config.log for the"
24711 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24712 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24713 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24715 rm -f conftest.err conftest.
$ac_objext \
24716 conftest
$ac_exeext conftest.
$ac_ext
24717 CFLAGS
="$ac_save_CFLAGS"
24718 LIBS
="$ac_save_LIBS"
24730 if test -z "$wx_cv_lib_gtk"; then
24732 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24733 if test "${with_gtk_prefix+set}" = set; then
24734 withval
="$with_gtk_prefix"
24735 gtk_config_prefix
="$withval"
24737 gtk_config_prefix
=""
24740 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24741 if test "${with_gtk_exec_prefix+set}" = set; then
24742 withval
="$with_gtk_exec_prefix"
24743 gtk_config_exec_prefix
="$withval"
24745 gtk_config_exec_prefix
=""
24747 # Check whether --enable-gtktest or --disable-gtktest was given.
24748 if test "${enable_gtktest+set}" = set; then
24749 enableval
="$enable_gtktest"
24755 for module
in .
$GTK_MODULES
24759 gtk_config_args
="$gtk_config_args gthread"
24764 if test x
$gtk_config_exec_prefix != x
; then
24765 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24766 if test x
${GTK_CONFIG+set} != xset
; then
24767 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24770 if test x
$gtk_config_prefix != x
; then
24771 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24772 if test x
${GTK_CONFIG+set} != xset
; then
24773 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24777 # Extract the first word of "gtk-config", so it can be a program name with args.
24778 set dummy gtk
-config; ac_word
=$2
24779 echo "$as_me:$LINENO: checking for $ac_word" >&5
24780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24781 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24782 echo $ECHO_N "(cached) $ECHO_C" >&6
24784 case $GTK_CONFIG in
24786 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24790 for as_dir
in $PATH
24793 test -z "$as_dir" && as_dir
=.
24794 for ac_exec_ext
in '' $ac_executable_extensions; do
24795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24796 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24803 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24807 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24809 if test -n "$GTK_CONFIG"; then
24810 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24811 echo "${ECHO_T}$GTK_CONFIG" >&6
24813 echo "$as_me:$LINENO: result: no" >&5
24814 echo "${ECHO_T}no" >&6
24817 min_gtk_version
=1.2.3
24818 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24819 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24821 if test "$GTK_CONFIG" = "no" ; then
24824 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24825 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24826 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24827 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24828 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24830 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24832 if test "x$enable_gtktest" = "xyes" ; then
24833 ac_save_CFLAGS
="$CFLAGS"
24834 ac_save_LIBS
="$LIBS"
24835 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24836 LIBS
="$GTK_LIBS $LIBS"
24838 if test "$cross_compiling" = yes; then
24839 echo $ac_n "cross compiling; assumed OK... $ac_c"
24841 cat >conftest.
$ac_ext <<_ACEOF
24844 cat confdefs.h
>>conftest.
$ac_ext
24845 cat >>conftest.
$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24848 #include <gtk/gtk.h>
24850 #include <stdlib.h>
24855 int major, minor, micro;
24858 system ("touch conf.gtktest");
24860 /* HP/UX 9 (%@#!) writes to sscanf strings */
24861 tmp_version = g_strdup("$min_gtk_version");
24862 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24863 printf("%s, bad version string\n", "$min_gtk_version");
24867 if ((gtk_major_version != $gtk_config_major_version) ||
24868 (gtk_minor_version != $gtk_config_minor_version) ||
24869 (gtk_micro_version != $gtk_config_micro_version))
24871 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24872 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24873 gtk_major_version, gtk_minor_version, gtk_micro_version);
24874 printf ("*** was found! If gtk-config was correct, then it is best\n");
24875 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24876 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24877 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24878 printf("*** required on your system.\n");
24879 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24880 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24881 printf("*** before re-running configure\n");
24883 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24884 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24885 (gtk_minor_version != GTK_MINOR_VERSION) ||
24886 (gtk_micro_version != GTK_MICRO_VERSION))
24888 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24889 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24890 printf("*** library (version %d.%d.%d)\n",
24891 gtk_major_version, gtk_minor_version, gtk_micro_version);
24893 #endif /* defined (GTK_MAJOR_VERSION) ... */
24896 if ((gtk_major_version > major) ||
24897 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24898 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24904 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24905 gtk_major_version, gtk_minor_version, gtk_micro_version);
24906 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24907 major, minor, micro);
24908 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24910 printf("*** If you have already installed a sufficiently new version, this error\n");
24911 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24912 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24913 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24914 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24915 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24916 printf("*** so that the correct libraries are found at run-time))\n");
24923 rm -f conftest
$ac_exeext
24924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24925 (eval $ac_link) 2>&5
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24930 (eval $ac_try) 2>&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); }; }; then
24936 echo "$as_me: program exited with status $ac_status" >&5
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.
$ac_ext >&5
24940 ( exit $ac_status )
24943 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24945 CFLAGS
="$ac_save_CFLAGS"
24946 LIBS
="$ac_save_LIBS"
24949 if test "x$no_gtk" = x
; then
24950 echo "$as_me:$LINENO: result: yes" >&5
24951 echo "${ECHO_T}yes" >&6
24952 wx_cv_lib_gtk
=1.2.3
24954 echo "$as_me:$LINENO: result: no" >&5
24955 echo "${ECHO_T}no" >&6
24956 if test "$GTK_CONFIG" = "no" ; then
24957 echo "*** The gtk-config script installed by GTK could not be found"
24958 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24959 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24960 echo "*** full path to gtk-config."
24962 if test -f conf.gtktest
; then
24965 echo "*** Could not run GTK test program, checking why..."
24966 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24967 LIBS
="$LIBS $GTK_LIBS"
24968 cat >conftest.
$ac_ext <<_ACEOF
24971 cat confdefs.h
>>conftest.
$ac_ext
24972 cat >>conftest.
$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24975 #include <gtk/gtk.h>
24981 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24986 rm -f conftest.
$ac_objext conftest
$ac_exeext
24987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24988 (eval $ac_link) 2>conftest.er1
24990 grep -v '^ *+' conftest.er1
>conftest.err
24992 cat conftest.err
>&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); } &&
24995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24997 (eval $ac_try) 2>&5
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); }; } &&
25001 { ac_try
='test -s conftest$ac_exeext'
25002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25003 (eval $ac_try) 2>&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); }; }; then
25007 echo "*** The test program compiled, but did not run. This usually means"
25008 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25009 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25010 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25011 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25012 echo "*** is required on your system"
25014 echo "*** If you have an old version installed, it is best to remove it, although"
25015 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25017 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25018 echo "*** came with the system with the command"
25020 echo "*** rpm --erase --nodeps gtk gtk-devel"
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.
$ac_ext >&5
25025 echo "*** The test program failed to compile or link. See the file config.log for the"
25026 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25027 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25028 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25030 rm -f conftest.err conftest.
$ac_objext \
25031 conftest
$ac_exeext conftest.
$ac_ext
25032 CFLAGS
="$ac_save_CFLAGS"
25033 LIBS
="$ac_save_LIBS"
25047 if test -z "$wx_cv_lib_gtk"; then
25050 wx_cv_cflags_gtk
=$GTK_CFLAGS
25051 wx_cv_libs_gtk
=$GTK_LIBS
25058 if test "$gtk_version_cached" = 1; then
25059 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25060 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25063 case "$wx_cv_lib_gtk" in
25072 *) { { echo "$as_me:$LINENO: error:
25073 Please check that gtk-config is in path, the directory
25074 where GTK+ libraries are installed (returned by
25075 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25076 equivalent variable and GTK+ is version 1.2.3 or above.
25078 echo "$as_me: error:
25079 Please check that gtk-config is in path, the directory
25080 where GTK+ libraries are installed (returned by
25081 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25082 equivalent variable and GTK+ is version 1.2.3 or above.
25084 { (exit 1); exit 1; }; }
25088 if test "$WXGTK20" = 1; then
25089 save_CFLAGS
="$CFLAGS"
25091 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25092 LIBS
="$LIBS $GTK_LIBS"
25095 for ac_func
in pango_font_family_is_monospace
25097 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25098 echo "$as_me:$LINENO: checking for $ac_func" >&5
25099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25100 if eval "test \"\${$as_ac_var+set}\" = set"; then
25101 echo $ECHO_N "(cached) $ECHO_C" >&6
25103 cat >conftest.
$ac_ext <<_ACEOF
25106 cat confdefs.h
>>conftest.
$ac_ext
25107 cat >>conftest.
$ac_ext <<_ACEOF
25108 /* end confdefs.h. */
25109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25111 #define $ac_func innocuous_$ac_func
25113 /* System header to define __stub macros and hopefully few prototypes,
25114 which can conflict with char $ac_func (); below.
25115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25116 <limits.h> exists even on freestanding compilers. */
25119 # include <limits.h>
25121 # include <assert.h>
25126 /* Override any gcc2 internal prototype to avoid an error. */
25131 /* We use char because int might match the return type of a gcc2
25132 builtin and then its argument prototype would still apply. */
25134 /* The GNU C library defines this for functions which it implements
25135 to always fail with ENOSYS. Some functions are actually named
25136 something starting with __ and the normal name is an alias. */
25137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25140 char (*f) () = $ac_func;
25149 return f != $ac_func;
25154 rm -f conftest.
$ac_objext conftest
$ac_exeext
25155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25156 (eval $ac_link) 2>conftest.er1
25158 grep -v '^ *+' conftest.er1
>conftest.err
25160 cat conftest.err
>&5
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); } &&
25163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25165 (eval $ac_try) 2>&5
25167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25168 (exit $ac_status); }; } &&
25169 { ac_try
='test -s conftest$ac_exeext'
25170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25171 (eval $ac_try) 2>&5
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); }; }; then
25175 eval "$as_ac_var=yes"
25177 echo "$as_me: failed program was:" >&5
25178 sed 's/^/| /' conftest.
$ac_ext >&5
25180 eval "$as_ac_var=no"
25182 rm -f conftest.err conftest.
$ac_objext \
25183 conftest
$ac_exeext conftest.
$ac_ext
25185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25187 if test `eval echo '${'$as_ac_var'}'` = yes; then
25188 cat >>confdefs.h
<<_ACEOF
25189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25196 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25197 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25198 cat >conftest.
$ac_ext <<_ACEOF
25201 cat confdefs.h
>>conftest.
$ac_ext
25202 cat >>conftest.
$ac_ext <<_ACEOF
25203 /* end confdefs.h. */
25205 #include <gtk/gtk.h>
25211 #if !GTK_CHECK_VERSION(2,4,0)
25212 #error "Not GTK+ 2.4"
25219 rm -f conftest.
$ac_objext
25220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25221 (eval $ac_compile) 2>conftest.er1
25223 grep -v '^ *+' conftest.er1
>conftest.err
25225 cat conftest.err
>&5
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); } &&
25228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; } &&
25234 { ac_try
='test -s conftest.$ac_objext'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; }; then
25241 cat >>confdefs.h
<<\_ACEOF
25242 #define __WXGTK24__ 1
25245 echo "$as_me:$LINENO: result: yes" >&5
25246 echo "${ECHO_T}yes" >&6
25249 echo "$as_me: failed program was:" >&5
25250 sed 's/^/| /' conftest.
$ac_ext >&5
25253 echo "$as_me:$LINENO: result: no" >&5
25254 echo "${ECHO_T}no" >&6
25257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25259 CFLAGS
="$save_CFLAGS"
25262 if test "$wxUSE_UNICODE" = "yes"; then
25263 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25264 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25269 if test "$USE_DARWIN" != 1; then
25271 for ac_func
in poll
25273 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25274 echo "$as_me:$LINENO: checking for $ac_func" >&5
25275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25276 if eval "test \"\${$as_ac_var+set}\" = set"; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25279 cat >conftest.
$ac_ext <<_ACEOF
25282 cat confdefs.h
>>conftest.
$ac_ext
25283 cat >>conftest.
$ac_ext <<_ACEOF
25284 /* end confdefs.h. */
25285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25287 #define $ac_func innocuous_$ac_func
25289 /* System header to define __stub macros and hopefully few prototypes,
25290 which can conflict with char $ac_func (); below.
25291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25292 <limits.h> exists even on freestanding compilers. */
25295 # include <limits.h>
25297 # include <assert.h>
25302 /* Override any gcc2 internal prototype to avoid an error. */
25307 /* We use char because int might match the return type of a gcc2
25308 builtin and then its argument prototype would still apply. */
25310 /* The GNU C library defines this for functions which it implements
25311 to always fail with ENOSYS. Some functions are actually named
25312 something starting with __ and the normal name is an alias. */
25313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25316 char (*f) () = $ac_func;
25325 return f != $ac_func;
25330 rm -f conftest.
$ac_objext conftest
$ac_exeext
25331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25332 (eval $ac_link) 2>conftest.er1
25334 grep -v '^ *+' conftest.er1
>conftest.err
25336 cat conftest.err
>&5
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); } &&
25339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; } &&
25345 { ac_try
='test -s conftest$ac_exeext'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; }; then
25351 eval "$as_ac_var=yes"
25353 echo "$as_me: failed program was:" >&5
25354 sed 's/^/| /' conftest.
$ac_ext >&5
25356 eval "$as_ac_var=no"
25358 rm -f conftest.err conftest.
$ac_objext \
25359 conftest
$ac_exeext conftest.
$ac_ext
25361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25363 if test `eval echo '${'$as_ac_var'}'` = yes; then
25364 cat >>confdefs.h
<<_ACEOF
25365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25373 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25374 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25376 AFMINSTALL
=afminstall
25380 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25381 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25382 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25385 ac_check_lib_save_LIBS
=$LIBS
25387 cat >conftest.
$ac_ext <<_ACEOF
25390 cat confdefs.h
>>conftest.
$ac_ext
25391 cat >>conftest.
$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25394 /* Override any gcc2 internal prototype to avoid an error. */
25398 /* We use char because int might match the return type of a gcc2
25399 builtin and then its argument prototype would still apply. */
25400 char gdk_im_open ();
25409 rm -f conftest.
$ac_objext conftest
$ac_exeext
25410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25411 (eval $ac_link) 2>conftest.er1
25413 grep -v '^ *+' conftest.er1
>conftest.err
25415 cat conftest.err
>&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); } &&
25418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25420 (eval $ac_try) 2>&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); }; } &&
25424 { ac_try
='test -s conftest$ac_exeext'
25425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25426 (eval $ac_try) 2>&5
25428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25429 (exit $ac_status); }; }; then
25430 ac_cv_lib_gdk_gdk_im_open
=yes
25432 echo "$as_me: failed program was:" >&5
25433 sed 's/^/| /' conftest.
$ac_ext >&5
25435 ac_cv_lib_gdk_gdk_im_open
=no
25437 rm -f conftest.err conftest.
$ac_objext \
25438 conftest
$ac_exeext conftest.
$ac_ext
25439 LIBS
=$ac_check_lib_save_LIBS
25441 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25442 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25443 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25444 cat >>confdefs.h
<<\_ACEOF
25452 if test "$wxUSE_GPE" = "yes"; then
25453 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25454 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25457 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25459 for ac_extension
in a so sl dylib
; do
25460 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25461 ac_find_libraries
=$ac_dir
25467 if test "$ac_find_libraries" != "" ; then
25469 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25471 if test $result = 0; then
25474 ac_path_to_link
=" -L$ac_find_libraries"
25477 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25479 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25480 echo "${ECHO_T}found at $ac_find_libraries" >&6
25482 echo "$as_me:$LINENO: result: not found" >&5
25483 echo "${ECHO_T}not found" >&6
25489 if test "$wxUSE_MGL" = 1; then
25490 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25491 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25492 if test "x$MGL_ROOT" = x
; then
25493 echo "$as_me:$LINENO: result: not found" >&5
25494 echo "${ECHO_T}not found" >&6
25495 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25496 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25497 { (exit 1); exit 1; }; }
25499 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25500 echo "${ECHO_T}$MGL_ROOT" >&6
25503 echo "$as_me:$LINENO: checking for libmgl location" >&5
25504 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25507 if test "x$wxUSE_SHARED" = xyes
; then
25508 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25510 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25514 mgl_os_candidates
="dos32/dj2"
25517 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25518 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25519 { (exit 1); exit 1; }; }
25525 for mgl_os_i
in $mgl_os_candidates ; do
25526 if test "x$mgl_os" = x
; then
25527 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25528 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
25529 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
25534 if test "x$mgl_lib_type" = x
; then
25535 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
25536 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
25537 mgl_lib_type
=release
25544 if test "x$mgl_os" = x
; then
25545 echo "$as_me:$LINENO: result: not found" >&5
25546 echo "${ECHO_T}not found" >&6
25547 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25548 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25549 { (exit 1); exit 1; }; }
25551 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25552 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25554 wxUSE_UNIVERSAL
="yes"
25556 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
25557 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25559 AFMINSTALL
=afminstall
25564 if test "$wxUSE_MICROWIN" = 1; then
25565 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25566 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25567 if test "x$MICROWINDOWS" = x
; then
25568 echo "$as_me:$LINENO: result: not found" >&5
25569 echo "${ECHO_T}not found" >&6
25570 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25571 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25572 { (exit 1); exit 1; }; }
25574 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25575 echo "${ECHO_T}$MICROWINDOWS" >&6
25578 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
25579 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25580 echo "${ECHO_T}MicroWindows' libraries found." >&6
25582 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25583 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25584 { (exit 1); exit 1; }; }
25587 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
25588 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25590 wxUSE_UNIVERSAL
="yes"
25592 AFMINSTALL
=afminstall
25594 GUIDIST
=MICROWIN_DIST
25596 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25599 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25601 if test "x$ac_path_x_has_been_run" != xyes
; then
25602 echo "$as_me:$LINENO: checking for X" >&5
25603 echo $ECHO_N "checking for X... $ECHO_C" >&6
25605 ac_path_x_has_been_run
=yes
25607 # Check whether --with-x or --without-x was given.
25608 if test "${with_x+set}" = set; then
25612 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25613 if test "x$with_x" = xno
; then
25614 # The user explicitly disabled X.
25617 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25618 # Both variables are already set.
25621 if test "${ac_cv_have_x+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 # One or both of the vars are not set, and there is no cached value.
25625 ac_x_includes
=no ac_x_libraries
=no
25626 rm -fr conftest.dir
25627 if mkdir conftest.dir
; then
25629 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25630 cat >Imakefile
<<'_ACEOF'
25632 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25634 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25635 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25636 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25637 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25638 for ac_extension
in a so sl
; do
25639 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25640 test -f $ac_im_libdir/libX11.
$ac_extension; then
25641 ac_im_usrlibdir
=$ac_im_libdir; break
25644 # Screen out bogus values from the imake configuration. They are
25645 # bogus both because they are the default anyway, and because
25646 # using them would break gcc on systems where it needs fixed includes.
25647 case $ac_im_incroot in
25649 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25651 case $ac_im_usrlibdir in
25652 /usr
/lib
| /lib
) ;;
25653 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25657 rm -fr conftest.dir
25660 # Standard set of common directories for X headers.
25661 # Check X11 before X11Rn because it is often a symlink to the current release.
25673 /usr/local/X11/include
25674 /usr/local/X11R6/include
25675 /usr/local/X11R5/include
25676 /usr/local/X11R4/include
25678 /usr/local/include/X11
25679 /usr/local/include/X11R6
25680 /usr/local/include/X11R5
25681 /usr/local/include/X11R4
25685 /usr/XFree86/include/X11
25689 /usr/unsupported/include
25690 /usr/athena/include
25691 /usr/local/x11r5/include
25692 /usr/lpp/Xamples/include
25694 /usr/openwin/include
25695 /usr/openwin/share/include'
25697 if test "$ac_x_includes" = no
; then
25698 # Guess where to find include files, by looking for a specified header file.
25699 # First, try using that file with no special directory specified.
25700 cat >conftest.
$ac_ext <<_ACEOF
25703 cat confdefs.h
>>conftest.
$ac_ext
25704 cat >>conftest.
$ac_ext <<_ACEOF
25705 /* end confdefs.h. */
25706 #include <X11/Intrinsic.h>
25708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25709 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25711 grep -v '^ *+' conftest.er1
>conftest.err
25713 cat conftest.err
>&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } >/dev
/null
; then
25716 if test -s conftest.err
; then
25717 ac_cpp_err
=$ac_c_preproc_warn_flag
25718 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25725 if test -z "$ac_cpp_err"; then
25726 # We can compile using X headers with no special include directory.
25729 echo "$as_me: failed program was:" >&5
25730 sed 's/^/| /' conftest.
$ac_ext >&5
25732 for ac_dir
in $ac_x_header_dirs; do
25733 if test -r "$ac_dir/X11/Intrinsic.h"; then
25734 ac_x_includes
=$ac_dir
25739 rm -f conftest.err conftest.
$ac_ext
25740 fi # $ac_x_includes = no
25742 if test "$ac_x_libraries" = no
; then
25743 # Check for the libraries.
25744 # See if we find them without any special options.
25745 # Don't add to $LIBS permanently.
25748 cat >conftest.
$ac_ext <<_ACEOF
25751 cat confdefs.h
>>conftest.
$ac_ext
25752 cat >>conftest.
$ac_ext <<_ACEOF
25753 /* end confdefs.h. */
25754 #include <X11/Intrinsic.h>
25763 rm -f conftest.
$ac_objext conftest
$ac_exeext
25764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25765 (eval $ac_link) 2>conftest.er1
25767 grep -v '^ *+' conftest.er1
>conftest.err
25769 cat conftest.err
>&5
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); } &&
25772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; } &&
25778 { ac_try
='test -s conftest$ac_exeext'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; }; then
25785 # We can link X programs with no special library path.
25788 echo "$as_me: failed program was:" >&5
25789 sed 's/^/| /' conftest.
$ac_ext >&5
25792 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25794 # Don't even attempt the hair of trying to link an X program!
25795 for ac_extension
in a so sl
; do
25796 if test -r $ac_dir/libXt.
$ac_extension; then
25797 ac_x_libraries
=$ac_dir
25803 rm -f conftest.err conftest.
$ac_objext \
25804 conftest
$ac_exeext conftest.
$ac_ext
25805 fi # $ac_x_libraries = no
25807 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
25808 # Didn't find X anywhere. Cache the known absence of X.
25809 ac_cv_have_x
="have_x=no"
25811 # Record where we found X for the cache.
25812 ac_cv_have_x
="have_x=yes \
25813 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25818 eval "$ac_cv_have_x"
25821 if test "$have_x" != yes; then
25822 echo "$as_me:$LINENO: result: $have_x" >&5
25823 echo "${ECHO_T}$have_x" >&6
25826 # If each of the values was on the command line, it overrides each guess.
25827 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25828 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25829 # Update the cache value to reflect the command line values.
25830 ac_cv_have_x
="have_x=yes \
25831 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25832 # It might be that x_includes is empty (headers are found in the
25833 # standard search path. Then output the corresponding message
25834 ac_out_x_includes
=$x_includes
25835 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
25836 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
25837 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
25841 if test "$no_x" = yes; then
25842 # Not all programs may use this symbol, but it does not hurt to define it.
25844 cat >>confdefs.h
<<\_ACEOF
25845 #define X_DISPLAY_MISSING 1
25848 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25850 if test -n "$x_includes"; then
25851 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25854 # It would also be nice to do this for all -L options, not just this one.
25855 if test -n "$x_libraries"; then
25856 X_LIBS
="$X_LIBS -L$x_libraries"
25857 # For Solaris; some versions of Sun CC require a space after -R and
25858 # others require no space. Words are not sufficient . . . .
25859 case `(uname -sr) 2>/dev/null` in
25861 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25862 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25863 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25864 cat >conftest.
$ac_ext <<_ACEOF
25867 cat confdefs.h
>>conftest.
$ac_ext
25868 cat >>conftest.
$ac_ext <<_ACEOF
25869 /* end confdefs.h. */
25879 rm -f conftest.
$ac_objext conftest
$ac_exeext
25880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25881 (eval $ac_link) 2>conftest.er1
25883 grep -v '^ *+' conftest.er1
>conftest.err
25885 cat conftest.err
>&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } &&
25888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; } &&
25894 { ac_try
='test -s conftest$ac_exeext'
25895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896 (eval $ac_try) 2>&5
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); }; }; then
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.
$ac_ext >&5
25907 rm -f conftest.err conftest.
$ac_objext \
25908 conftest
$ac_exeext conftest.
$ac_ext
25909 if test $ac_R_nospace = yes; then
25910 echo "$as_me:$LINENO: result: no" >&5
25911 echo "${ECHO_T}no" >&6
25912 X_LIBS
="$X_LIBS -R$x_libraries"
25914 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25915 cat >conftest.
$ac_ext <<_ACEOF
25918 cat confdefs.h
>>conftest.
$ac_ext
25919 cat >>conftest.
$ac_ext <<_ACEOF
25920 /* end confdefs.h. */
25930 rm -f conftest.
$ac_objext conftest
$ac_exeext
25931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25932 (eval $ac_link) 2>conftest.er1
25934 grep -v '^ *+' conftest.er1
>conftest.err
25936 cat conftest.err
>&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); } &&
25939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25941 (eval $ac_try) 2>&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); }; } &&
25945 { ac_try
='test -s conftest$ac_exeext'
25946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25947 (eval $ac_try) 2>&5
25949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950 (exit $ac_status); }; }; then
25953 echo "$as_me: failed program was:" >&5
25954 sed 's/^/| /' conftest.
$ac_ext >&5
25958 rm -f conftest.err conftest.
$ac_objext \
25959 conftest
$ac_exeext conftest.
$ac_ext
25960 if test $ac_R_space = yes; then
25961 echo "$as_me:$LINENO: result: yes" >&5
25962 echo "${ECHO_T}yes" >&6
25963 X_LIBS
="$X_LIBS -R $x_libraries"
25965 echo "$as_me:$LINENO: result: neither works" >&5
25966 echo "${ECHO_T}neither works" >&6
25969 LIBS
=$ac_xsave_LIBS
25973 # Check for system-dependent libraries X programs must link with.
25974 # Do this before checking for the system-independent R6 libraries
25975 # (-lICE), since we may need -lsocket or whatever for X linking.
25977 if test "$ISC" = yes; then
25978 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25980 # Martyn Johnson says this is needed for Ultrix, if the X
25981 # libraries were built with DECnet support. And Karl Berry says
25982 # the Alpha needs dnet_stub (dnet does not exist).
25983 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25984 cat >conftest.
$ac_ext <<_ACEOF
25987 cat confdefs.h
>>conftest.
$ac_ext
25988 cat >>conftest.
$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25991 /* Override any gcc2 internal prototype to avoid an error. */
25995 /* We use char because int might match the return type of a gcc2
25996 builtin and then its argument prototype would still apply. */
25997 char XOpenDisplay ();
26006 rm -f conftest.
$ac_objext conftest
$ac_exeext
26007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26008 (eval $ac_link) 2>conftest.er1
26010 grep -v '^ *+' conftest.er1
>conftest.err
26012 cat conftest.err
>&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } &&
26015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017 (eval $ac_try) 2>&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); }; } &&
26021 { ac_try
='test -s conftest$ac_exeext'
26022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26023 (eval $ac_try) 2>&5
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); }; }; then
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.
$ac_ext >&5
26032 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26033 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26034 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26035 echo $ECHO_N "(cached) $ECHO_C" >&6
26037 ac_check_lib_save_LIBS
=$LIBS
26038 LIBS
="-ldnet $LIBS"
26039 cat >conftest.
$ac_ext <<_ACEOF
26042 cat confdefs.h
>>conftest.
$ac_ext
26043 cat >>conftest.
$ac_ext <<_ACEOF
26044 /* end confdefs.h. */
26046 /* Override any gcc2 internal prototype to avoid an error. */
26050 /* We use char because int might match the return type of a gcc2
26051 builtin and then its argument prototype would still apply. */
26061 rm -f conftest.
$ac_objext conftest
$ac_exeext
26062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26063 (eval $ac_link) 2>conftest.er1
26065 grep -v '^ *+' conftest.er1
>conftest.err
26067 cat conftest.err
>&5
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); } &&
26070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26072 (eval $ac_try) 2>&5
26074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26075 (exit $ac_status); }; } &&
26076 { ac_try
='test -s conftest$ac_exeext'
26077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26078 (eval $ac_try) 2>&5
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); }; }; then
26082 ac_cv_lib_dnet_dnet_ntoa
=yes
26084 echo "$as_me: failed program was:" >&5
26085 sed 's/^/| /' conftest.
$ac_ext >&5
26087 ac_cv_lib_dnet_dnet_ntoa
=no
26089 rm -f conftest.err conftest.
$ac_objext \
26090 conftest
$ac_exeext conftest.
$ac_ext
26091 LIBS
=$ac_check_lib_save_LIBS
26093 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26094 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26095 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26096 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26099 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26100 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26101 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26102 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26103 echo $ECHO_N "(cached) $ECHO_C" >&6
26105 ac_check_lib_save_LIBS
=$LIBS
26106 LIBS
="-ldnet_stub $LIBS"
26107 cat >conftest.
$ac_ext <<_ACEOF
26110 cat confdefs.h
>>conftest.
$ac_ext
26111 cat >>conftest.
$ac_ext <<_ACEOF
26112 /* end confdefs.h. */
26114 /* Override any gcc2 internal prototype to avoid an error. */
26118 /* We use char because int might match the return type of a gcc2
26119 builtin and then its argument prototype would still apply. */
26129 rm -f conftest.
$ac_objext conftest
$ac_exeext
26130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26131 (eval $ac_link) 2>conftest.er1
26133 grep -v '^ *+' conftest.er1
>conftest.err
26135 cat conftest.err
>&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } &&
26138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26140 (eval $ac_try) 2>&5
26142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143 (exit $ac_status); }; } &&
26144 { ac_try
='test -s conftest$ac_exeext'
26145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26146 (eval $ac_try) 2>&5
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); }; }; then
26150 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26152 echo "$as_me: failed program was:" >&5
26153 sed 's/^/| /' conftest.
$ac_ext >&5
26155 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26157 rm -f conftest.err conftest.
$ac_objext \
26158 conftest
$ac_exeext conftest.
$ac_ext
26159 LIBS
=$ac_check_lib_save_LIBS
26161 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26162 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26163 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26164 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26169 rm -f conftest.err conftest.
$ac_objext \
26170 conftest
$ac_exeext conftest.
$ac_ext
26171 LIBS
="$ac_xsave_LIBS"
26173 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26174 # to get the SysV transport functions.
26175 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26177 # The nsl library prevents programs from opening the X display
26178 # on Irix 5.2, according to T.E. Dickey.
26179 # The functions gethostbyname, getservbyname, and inet_addr are
26180 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26181 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26182 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26183 if test "${ac_cv_func_gethostbyname+set}" = set; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26186 cat >conftest.
$ac_ext <<_ACEOF
26189 cat confdefs.h
>>conftest.
$ac_ext
26190 cat >>conftest.
$ac_ext <<_ACEOF
26191 /* end confdefs.h. */
26192 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26194 #define gethostbyname innocuous_gethostbyname
26196 /* System header to define __stub macros and hopefully few prototypes,
26197 which can conflict with char gethostbyname (); below.
26198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26199 <limits.h> exists even on freestanding compilers. */
26202 # include <limits.h>
26204 # include <assert.h>
26207 #undef gethostbyname
26209 /* Override any gcc2 internal prototype to avoid an error. */
26214 /* We use char because int might match the return type of a gcc2
26215 builtin and then its argument prototype would still apply. */
26216 char gethostbyname ();
26217 /* The GNU C library defines this for functions which it implements
26218 to always fail with ENOSYS. Some functions are actually named
26219 something starting with __ and the normal name is an alias. */
26220 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26223 char (*f) () = gethostbyname;
26232 return f != gethostbyname;
26237 rm -f conftest.
$ac_objext conftest
$ac_exeext
26238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26239 (eval $ac_link) 2>conftest.er1
26241 grep -v '^ *+' conftest.er1
>conftest.err
26243 cat conftest.err
>&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); } &&
26246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; } &&
26252 { ac_try
='test -s conftest$ac_exeext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 ac_cv_func_gethostbyname
=yes
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.
$ac_ext >&5
26263 ac_cv_func_gethostbyname
=no
26265 rm -f conftest.err conftest.
$ac_objext \
26266 conftest
$ac_exeext conftest.
$ac_ext
26268 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26269 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26271 if test $ac_cv_func_gethostbyname = no
; then
26272 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26273 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26274 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26277 ac_check_lib_save_LIBS
=$LIBS
26279 cat >conftest.
$ac_ext <<_ACEOF
26282 cat confdefs.h
>>conftest.
$ac_ext
26283 cat >>conftest.
$ac_ext <<_ACEOF
26284 /* end confdefs.h. */
26286 /* Override any gcc2 internal prototype to avoid an error. */
26290 /* We use char because int might match the return type of a gcc2
26291 builtin and then its argument prototype would still apply. */
26292 char gethostbyname ();
26301 rm -f conftest.
$ac_objext conftest
$ac_exeext
26302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26303 (eval $ac_link) 2>conftest.er1
26305 grep -v '^ *+' conftest.er1
>conftest.err
26307 cat conftest.err
>&5
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); } &&
26310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26312 (eval $ac_try) 2>&5
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); }; } &&
26316 { ac_try
='test -s conftest$ac_exeext'
26317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26318 (eval $ac_try) 2>&5
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); }; }; then
26322 ac_cv_lib_nsl_gethostbyname
=yes
26324 echo "$as_me: failed program was:" >&5
26325 sed 's/^/| /' conftest.
$ac_ext >&5
26327 ac_cv_lib_nsl_gethostbyname
=no
26329 rm -f conftest.err conftest.
$ac_objext \
26330 conftest
$ac_exeext conftest.
$ac_ext
26331 LIBS
=$ac_check_lib_save_LIBS
26333 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26334 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26335 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26336 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26339 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26340 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26341 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26342 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26345 ac_check_lib_save_LIBS
=$LIBS
26347 cat >conftest.
$ac_ext <<_ACEOF
26350 cat confdefs.h
>>conftest.
$ac_ext
26351 cat >>conftest.
$ac_ext <<_ACEOF
26352 /* end confdefs.h. */
26354 /* Override any gcc2 internal prototype to avoid an error. */
26358 /* We use char because int might match the return type of a gcc2
26359 builtin and then its argument prototype would still apply. */
26360 char gethostbyname ();
26369 rm -f conftest.
$ac_objext conftest
$ac_exeext
26370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26371 (eval $ac_link) 2>conftest.er1
26373 grep -v '^ *+' conftest.er1
>conftest.err
26375 cat conftest.err
>&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } &&
26378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26380 (eval $ac_try) 2>&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); }; } &&
26384 { ac_try
='test -s conftest$ac_exeext'
26385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26386 (eval $ac_try) 2>&5
26388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26389 (exit $ac_status); }; }; then
26390 ac_cv_lib_bsd_gethostbyname
=yes
26392 echo "$as_me: failed program was:" >&5
26393 sed 's/^/| /' conftest.
$ac_ext >&5
26395 ac_cv_lib_bsd_gethostbyname
=no
26397 rm -f conftest.err conftest.
$ac_objext \
26398 conftest
$ac_exeext conftest.
$ac_ext
26399 LIBS
=$ac_check_lib_save_LIBS
26401 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26402 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26403 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26404 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26410 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26411 # socket/setsockopt and other routines are undefined under SCO ODT
26412 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26413 # on later versions), says Simon Leinen: it contains gethostby*
26414 # variants that don't use the name server (or something). -lsocket
26415 # must be given before -lnsl if both are needed. We assume that
26416 # if connect needs -lnsl, so does gethostbyname.
26417 echo "$as_me:$LINENO: checking for connect" >&5
26418 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26419 if test "${ac_cv_func_connect+set}" = set; then
26420 echo $ECHO_N "(cached) $ECHO_C" >&6
26422 cat >conftest.
$ac_ext <<_ACEOF
26425 cat confdefs.h
>>conftest.
$ac_ext
26426 cat >>conftest.
$ac_ext <<_ACEOF
26427 /* end confdefs.h. */
26428 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26430 #define connect innocuous_connect
26432 /* System header to define __stub macros and hopefully few prototypes,
26433 which can conflict with char connect (); below.
26434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26435 <limits.h> exists even on freestanding compilers. */
26438 # include <limits.h>
26440 # include <assert.h>
26445 /* Override any gcc2 internal prototype to avoid an error. */
26450 /* We use char because int might match the return type of a gcc2
26451 builtin and then its argument prototype would still apply. */
26453 /* The GNU C library defines this for functions which it implements
26454 to always fail with ENOSYS. Some functions are actually named
26455 something starting with __ and the normal name is an alias. */
26456 #if defined (__stub_connect) || defined (__stub___connect)
26459 char (*f) () = connect;
26468 return f != connect;
26473 rm -f conftest.
$ac_objext conftest
$ac_exeext
26474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26475 (eval $ac_link) 2>conftest.er1
26477 grep -v '^ *+' conftest.er1
>conftest.err
26479 cat conftest.err
>&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); } &&
26482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 (eval $ac_try) 2>&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; } &&
26488 { ac_try
='test -s conftest$ac_exeext'
26489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26490 (eval $ac_try) 2>&5
26492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26493 (exit $ac_status); }; }; then
26494 ac_cv_func_connect
=yes
26496 echo "$as_me: failed program was:" >&5
26497 sed 's/^/| /' conftest.
$ac_ext >&5
26499 ac_cv_func_connect
=no
26501 rm -f conftest.err conftest.
$ac_objext \
26502 conftest
$ac_exeext conftest.
$ac_ext
26504 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26505 echo "${ECHO_T}$ac_cv_func_connect" >&6
26507 if test $ac_cv_func_connect = no
; then
26508 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26509 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26510 if test "${ac_cv_lib_socket_connect+set}" = set; then
26511 echo $ECHO_N "(cached) $ECHO_C" >&6
26513 ac_check_lib_save_LIBS
=$LIBS
26514 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26515 cat >conftest.
$ac_ext <<_ACEOF
26518 cat confdefs.h
>>conftest.
$ac_ext
26519 cat >>conftest.
$ac_ext <<_ACEOF
26520 /* end confdefs.h. */
26522 /* Override any gcc2 internal prototype to avoid an error. */
26526 /* We use char because int might match the return type of a gcc2
26527 builtin and then its argument prototype would still apply. */
26537 rm -f conftest.
$ac_objext conftest
$ac_exeext
26538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26539 (eval $ac_link) 2>conftest.er1
26541 grep -v '^ *+' conftest.er1
>conftest.err
26543 cat conftest.err
>&5
26544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26545 (exit $ac_status); } &&
26546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26548 (eval $ac_try) 2>&5
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); }; } &&
26552 { ac_try
='test -s conftest$ac_exeext'
26553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26554 (eval $ac_try) 2>&5
26556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26557 (exit $ac_status); }; }; then
26558 ac_cv_lib_socket_connect
=yes
26560 echo "$as_me: failed program was:" >&5
26561 sed 's/^/| /' conftest.
$ac_ext >&5
26563 ac_cv_lib_socket_connect
=no
26565 rm -f conftest.err conftest.
$ac_objext \
26566 conftest
$ac_exeext conftest.
$ac_ext
26567 LIBS
=$ac_check_lib_save_LIBS
26569 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26570 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26571 if test $ac_cv_lib_socket_connect = yes; then
26572 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26577 # Guillermo Gomez says -lposix is necessary on A/UX.
26578 echo "$as_me:$LINENO: checking for remove" >&5
26579 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26580 if test "${ac_cv_func_remove+set}" = set; then
26581 echo $ECHO_N "(cached) $ECHO_C" >&6
26583 cat >conftest.
$ac_ext <<_ACEOF
26586 cat confdefs.h
>>conftest.
$ac_ext
26587 cat >>conftest.
$ac_ext <<_ACEOF
26588 /* end confdefs.h. */
26589 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26591 #define remove innocuous_remove
26593 /* System header to define __stub macros and hopefully few prototypes,
26594 which can conflict with char remove (); below.
26595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26596 <limits.h> exists even on freestanding compilers. */
26599 # include <limits.h>
26601 # include <assert.h>
26606 /* Override any gcc2 internal prototype to avoid an error. */
26611 /* We use char because int might match the return type of a gcc2
26612 builtin and then its argument prototype would still apply. */
26614 /* The GNU C library defines this for functions which it implements
26615 to always fail with ENOSYS. Some functions are actually named
26616 something starting with __ and the normal name is an alias. */
26617 #if defined (__stub_remove) || defined (__stub___remove)
26620 char (*f) () = remove;
26629 return f != remove;
26634 rm -f conftest.
$ac_objext conftest
$ac_exeext
26635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26636 (eval $ac_link) 2>conftest.er1
26638 grep -v '^ *+' conftest.er1
>conftest.err
26640 cat conftest.err
>&5
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); } &&
26643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26645 (eval $ac_try) 2>&5
26647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26648 (exit $ac_status); }; } &&
26649 { ac_try
='test -s conftest$ac_exeext'
26650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26651 (eval $ac_try) 2>&5
26653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26654 (exit $ac_status); }; }; then
26655 ac_cv_func_remove
=yes
26657 echo "$as_me: failed program was:" >&5
26658 sed 's/^/| /' conftest.
$ac_ext >&5
26660 ac_cv_func_remove
=no
26662 rm -f conftest.err conftest.
$ac_objext \
26663 conftest
$ac_exeext conftest.
$ac_ext
26665 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26666 echo "${ECHO_T}$ac_cv_func_remove" >&6
26668 if test $ac_cv_func_remove = no
; then
26669 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26670 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26671 if test "${ac_cv_lib_posix_remove+set}" = set; then
26672 echo $ECHO_N "(cached) $ECHO_C" >&6
26674 ac_check_lib_save_LIBS
=$LIBS
26675 LIBS
="-lposix $LIBS"
26676 cat >conftest.
$ac_ext <<_ACEOF
26679 cat confdefs.h
>>conftest.
$ac_ext
26680 cat >>conftest.
$ac_ext <<_ACEOF
26681 /* end confdefs.h. */
26683 /* Override any gcc2 internal prototype to avoid an error. */
26687 /* We use char because int might match the return type of a gcc2
26688 builtin and then its argument prototype would still apply. */
26698 rm -f conftest.
$ac_objext conftest
$ac_exeext
26699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26700 (eval $ac_link) 2>conftest.er1
26702 grep -v '^ *+' conftest.er1
>conftest.err
26704 cat conftest.err
>&5
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); } &&
26707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26709 (eval $ac_try) 2>&5
26711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26712 (exit $ac_status); }; } &&
26713 { ac_try
='test -s conftest$ac_exeext'
26714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26715 (eval $ac_try) 2>&5
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); }; }; then
26719 ac_cv_lib_posix_remove
=yes
26721 echo "$as_me: failed program was:" >&5
26722 sed 's/^/| /' conftest.
$ac_ext >&5
26724 ac_cv_lib_posix_remove
=no
26726 rm -f conftest.err conftest.
$ac_objext \
26727 conftest
$ac_exeext conftest.
$ac_ext
26728 LIBS
=$ac_check_lib_save_LIBS
26730 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26731 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26732 if test $ac_cv_lib_posix_remove = yes; then
26733 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26738 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26739 echo "$as_me:$LINENO: checking for shmat" >&5
26740 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26741 if test "${ac_cv_func_shmat+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26744 cat >conftest.
$ac_ext <<_ACEOF
26747 cat confdefs.h
>>conftest.
$ac_ext
26748 cat >>conftest.
$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26750 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26752 #define shmat innocuous_shmat
26754 /* System header to define __stub macros and hopefully few prototypes,
26755 which can conflict with char shmat (); below.
26756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26757 <limits.h> exists even on freestanding compilers. */
26760 # include <limits.h>
26762 # include <assert.h>
26767 /* Override any gcc2 internal prototype to avoid an error. */
26772 /* We use char because int might match the return type of a gcc2
26773 builtin and then its argument prototype would still apply. */
26775 /* The GNU C library defines this for functions which it implements
26776 to always fail with ENOSYS. Some functions are actually named
26777 something starting with __ and the normal name is an alias. */
26778 #if defined (__stub_shmat) || defined (__stub___shmat)
26781 char (*f) () = shmat;
26795 rm -f conftest.
$ac_objext conftest
$ac_exeext
26796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26797 (eval $ac_link) 2>conftest.er1
26799 grep -v '^ *+' conftest.er1
>conftest.err
26801 cat conftest.err
>&5
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); } &&
26804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26806 (eval $ac_try) 2>&5
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); }; } &&
26810 { ac_try
='test -s conftest$ac_exeext'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; }; then
26816 ac_cv_func_shmat
=yes
26818 echo "$as_me: failed program was:" >&5
26819 sed 's/^/| /' conftest.
$ac_ext >&5
26821 ac_cv_func_shmat
=no
26823 rm -f conftest.err conftest.
$ac_objext \
26824 conftest
$ac_exeext conftest.
$ac_ext
26826 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26827 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26829 if test $ac_cv_func_shmat = no
; then
26830 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26831 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26832 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26833 echo $ECHO_N "(cached) $ECHO_C" >&6
26835 ac_check_lib_save_LIBS
=$LIBS
26837 cat >conftest.
$ac_ext <<_ACEOF
26840 cat confdefs.h
>>conftest.
$ac_ext
26841 cat >>conftest.
$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26844 /* Override any gcc2 internal prototype to avoid an error. */
26848 /* We use char because int might match the return type of a gcc2
26849 builtin and then its argument prototype would still apply. */
26859 rm -f conftest.
$ac_objext conftest
$ac_exeext
26860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26861 (eval $ac_link) 2>conftest.er1
26863 grep -v '^ *+' conftest.er1
>conftest.err
26865 cat conftest.err
>&5
26866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867 (exit $ac_status); } &&
26868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26870 (eval $ac_try) 2>&5
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); }; } &&
26874 { ac_try
='test -s conftest$ac_exeext'
26875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26876 (eval $ac_try) 2>&5
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); }; }; then
26880 ac_cv_lib_ipc_shmat
=yes
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.
$ac_ext >&5
26885 ac_cv_lib_ipc_shmat
=no
26887 rm -f conftest.err conftest.
$ac_objext \
26888 conftest
$ac_exeext conftest.
$ac_ext
26889 LIBS
=$ac_check_lib_save_LIBS
26891 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26892 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26893 if test $ac_cv_lib_ipc_shmat = yes; then
26894 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26900 # Check for libraries that X11R6 Xt/Xaw programs need.
26901 ac_save_LDFLAGS
=$LDFLAGS
26902 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26903 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26904 # check for ICE first), but we must link in the order -lSM -lICE or
26905 # we get undefined symbols. So assume we have SM if we have ICE.
26906 # These have to be linked with before -lX11, unlike the other
26907 # libraries we check for below, so use a different variable.
26908 # John Interrante, Karl Berry
26909 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26910 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26911 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26912 echo $ECHO_N "(cached) $ECHO_C" >&6
26914 ac_check_lib_save_LIBS
=$LIBS
26915 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26916 cat >conftest.
$ac_ext <<_ACEOF
26919 cat confdefs.h
>>conftest.
$ac_ext
26920 cat >>conftest.
$ac_ext <<_ACEOF
26921 /* end confdefs.h. */
26923 /* Override any gcc2 internal prototype to avoid an error. */
26927 /* We use char because int might match the return type of a gcc2
26928 builtin and then its argument prototype would still apply. */
26929 char IceConnectionNumber ();
26933 IceConnectionNumber ();
26938 rm -f conftest.
$ac_objext conftest
$ac_exeext
26939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26940 (eval $ac_link) 2>conftest.er1
26942 grep -v '^ *+' conftest.er1
>conftest.err
26944 cat conftest.err
>&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); } &&
26947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; } &&
26953 { ac_try
='test -s conftest$ac_exeext'
26954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955 (eval $ac_try) 2>&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; }; then
26959 ac_cv_lib_ICE_IceConnectionNumber
=yes
26961 echo "$as_me: failed program was:" >&5
26962 sed 's/^/| /' conftest.
$ac_ext >&5
26964 ac_cv_lib_ICE_IceConnectionNumber
=no
26966 rm -f conftest.err conftest.
$ac_objext \
26967 conftest
$ac_exeext conftest.
$ac_ext
26968 LIBS
=$ac_check_lib_save_LIBS
26970 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26971 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26972 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26973 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26976 LDFLAGS
=$ac_save_LDFLAGS
26981 if test "$no_x" = "yes"; then
26982 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26983 echo "$as_me: error: X11 not found" >&2;}
26984 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26987 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26988 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26989 AFMINSTALL
=afminstall
26990 COMPILED_X_PROGRAM
=0
26994 if test "$wxUSE_X11" = 1; then
26995 if test "$wxUSE_NANOX" = "yes"; then
26996 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26997 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
26998 if test "x$MICROWIN" = x
; then
26999 echo "$as_me:$LINENO: result: not found" >&5
27000 echo "${ECHO_T}not found" >&6
27001 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27002 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27003 { (exit 1); exit 1; }; }
27005 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27006 echo "${ECHO_T}$MICROWIN" >&6
27007 cat >>confdefs.h
<<\_ACEOF
27008 #define wxUSE_NANOX 1
27014 if test "$wxUSE_UNICODE" = "yes"; then
27018 if test -z "$PKG_CONFIG"; then
27019 # Extract the first word of "pkg-config", so it can be a program name with args.
27020 set dummy pkg
-config; ac_word
=$2
27021 echo "$as_me:$LINENO: checking for $ac_word" >&5
27022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27023 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27024 echo $ECHO_N "(cached) $ECHO_C" >&6
27026 case $PKG_CONFIG in
27028 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27032 for as_dir
in $PATH
27035 test -z "$as_dir" && as_dir
=.
27036 for ac_exec_ext
in '' $ac_executable_extensions; do
27037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27038 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27045 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27049 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27051 if test -n "$PKG_CONFIG"; then
27052 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27053 echo "${ECHO_T}$PKG_CONFIG" >&6
27055 echo "$as_me:$LINENO: result: no" >&5
27056 echo "${ECHO_T}no" >&6
27061 if test "$PKG_CONFIG" = "no" ; then
27062 echo "*** The pkg-config script could not be found. Make sure it is"
27063 echo "*** in your path, or set the PKG_CONFIG environment variable"
27064 echo "*** to the full path to pkg-config."
27065 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27067 PKG_CONFIG_MIN_VERSION
=0.9.0
27068 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27069 echo "$as_me:$LINENO: checking for pangox" >&5
27070 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27072 if $PKG_CONFIG --exists "pangox" ; then
27073 echo "$as_me:$LINENO: result: yes" >&5
27074 echo "${ECHO_T}yes" >&6
27077 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27078 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27079 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27080 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27081 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27083 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27084 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27085 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27086 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27087 echo "${ECHO_T}$PANGOX_LIBS" >&6
27091 ## If we have a custom action on failure, don't print errors, but
27092 ## do set a variable so people can do so.
27093 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27100 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27101 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27105 if test $succeeded = yes; then
27107 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27108 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27112 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27113 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27114 { (exit 1); exit 1; }; }
27122 if test -z "$PKG_CONFIG"; then
27123 # Extract the first word of "pkg-config", so it can be a program name with args.
27124 set dummy pkg
-config; ac_word
=$2
27125 echo "$as_me:$LINENO: checking for $ac_word" >&5
27126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27127 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27128 echo $ECHO_N "(cached) $ECHO_C" >&6
27130 case $PKG_CONFIG in
27132 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27136 for as_dir
in $PATH
27139 test -z "$as_dir" && as_dir
=.
27140 for ac_exec_ext
in '' $ac_executable_extensions; do
27141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27142 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27149 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27153 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27155 if test -n "$PKG_CONFIG"; then
27156 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27157 echo "${ECHO_T}$PKG_CONFIG" >&6
27159 echo "$as_me:$LINENO: result: no" >&5
27160 echo "${ECHO_T}no" >&6
27165 if test "$PKG_CONFIG" = "no" ; then
27166 echo "*** The pkg-config script could not be found. Make sure it is"
27167 echo "*** in your path, or set the PKG_CONFIG environment variable"
27168 echo "*** to the full path to pkg-config."
27169 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27171 PKG_CONFIG_MIN_VERSION
=0.9.0
27172 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27173 echo "$as_me:$LINENO: checking for pangoft2" >&5
27174 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27176 if $PKG_CONFIG --exists "pangoft2" ; then
27177 echo "$as_me:$LINENO: result: yes" >&5
27178 echo "${ECHO_T}yes" >&6
27181 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27182 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27183 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27184 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27185 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27187 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27188 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27189 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27190 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27191 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27195 ## If we have a custom action on failure, don't print errors, but
27196 ## do set a variable so people can do so.
27197 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27204 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27205 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27209 if test $succeeded = yes; then
27211 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27212 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27216 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27217 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27218 wxUSE_PRINTING_ARCHITECTURE
="no"
27226 if test -z "$PKG_CONFIG"; then
27227 # Extract the first word of "pkg-config", so it can be a program name with args.
27228 set dummy pkg
-config; ac_word
=$2
27229 echo "$as_me:$LINENO: checking for $ac_word" >&5
27230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27231 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27232 echo $ECHO_N "(cached) $ECHO_C" >&6
27234 case $PKG_CONFIG in
27236 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27240 for as_dir
in $PATH
27243 test -z "$as_dir" && as_dir
=.
27244 for ac_exec_ext
in '' $ac_executable_extensions; do
27245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27246 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27253 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27257 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27259 if test -n "$PKG_CONFIG"; then
27260 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27261 echo "${ECHO_T}$PKG_CONFIG" >&6
27263 echo "$as_me:$LINENO: result: no" >&5
27264 echo "${ECHO_T}no" >&6
27269 if test "$PKG_CONFIG" = "no" ; then
27270 echo "*** The pkg-config script could not be found. Make sure it is"
27271 echo "*** in your path, or set the PKG_CONFIG environment variable"
27272 echo "*** to the full path to pkg-config."
27273 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27275 PKG_CONFIG_MIN_VERSION
=0.9.0
27276 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27277 echo "$as_me:$LINENO: checking for pangoxft" >&5
27278 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27280 if $PKG_CONFIG --exists "pangoxft" ; then
27281 echo "$as_me:$LINENO: result: yes" >&5
27282 echo "${ECHO_T}yes" >&6
27285 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27286 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27287 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27288 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27289 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27291 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27292 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27293 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27294 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27295 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27299 ## If we have a custom action on failure, don't print errors, but
27300 ## do set a variable so people can do so.
27301 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27308 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27309 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27313 if test $succeeded = yes; then
27315 cat >>confdefs.h
<<\_ACEOF
27316 #define HAVE_PANGO_XFT 1
27319 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27320 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27324 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27325 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27330 save_CFLAGS
="$CFLAGS"
27332 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27333 LIBS
="$LIBS $PANGOX_LIBS"
27335 for ac_func
in pango_font_family_is_monospace
27337 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27338 echo "$as_me:$LINENO: checking for $ac_func" >&5
27339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27340 if eval "test \"\${$as_ac_var+set}\" = set"; then
27341 echo $ECHO_N "(cached) $ECHO_C" >&6
27343 cat >conftest.
$ac_ext <<_ACEOF
27346 cat confdefs.h
>>conftest.
$ac_ext
27347 cat >>conftest.
$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27351 #define $ac_func innocuous_$ac_func
27353 /* System header to define __stub macros and hopefully few prototypes,
27354 which can conflict with char $ac_func (); below.
27355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27356 <limits.h> exists even on freestanding compilers. */
27359 # include <limits.h>
27361 # include <assert.h>
27366 /* Override any gcc2 internal prototype to avoid an error. */
27371 /* We use char because int might match the return type of a gcc2
27372 builtin and then its argument prototype would still apply. */
27374 /* The GNU C library defines this for functions which it implements
27375 to always fail with ENOSYS. Some functions are actually named
27376 something starting with __ and the normal name is an alias. */
27377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27380 char (*f) () = $ac_func;
27389 return f != $ac_func;
27394 rm -f conftest.
$ac_objext conftest
$ac_exeext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27396 (eval $ac_link) 2>conftest.er1
27398 grep -v '^ *+' conftest.er1
>conftest.err
27400 cat conftest.err
>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; } &&
27409 { ac_try
='test -s conftest$ac_exeext'
27410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27411 (eval $ac_try) 2>&5
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); }; }; then
27415 eval "$as_ac_var=yes"
27417 echo "$as_me: failed program was:" >&5
27418 sed 's/^/| /' conftest.
$ac_ext >&5
27420 eval "$as_ac_var=no"
27422 rm -f conftest.err conftest.
$ac_objext \
27423 conftest
$ac_exeext conftest.
$ac_ext
27425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27427 if test `eval echo '${'$as_ac_var'}'` = yes; then
27428 cat >>confdefs.h
<<_ACEOF
27429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27435 CFLAGS
="$save_CFLAGS"
27439 wxUSE_UNIVERSAL
="yes"
27441 if test "$wxUSE_NANOX" = "yes"; then
27442 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27443 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"
27444 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27446 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
27453 if test "$wxUSE_MOTIF" = 1; then
27454 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27455 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27458 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27460 if test -f "$ac_dir/Xm/Xm.h"; then
27461 ac_find_includes
=$ac_dir
27466 if test "$ac_find_includes" != "" ; then
27467 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27468 echo "${ECHO_T}found in $ac_find_includes" >&6
27470 if test "x$ac_find_includes" = "x/usr/include"; then
27471 ac_path_to_include
=""
27473 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
27475 if test $result = 0; then
27476 ac_path_to_include
=""
27478 ac_path_to_include
=" -I$ac_find_includes"
27482 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
27484 cat >conftest.
$ac_ext <<_ACEOF
27487 cat confdefs.h
>>conftest.
$ac_ext
27488 cat >>conftest.
$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27498 version = xmUseVersion;
27504 rm -f conftest.
$ac_objext
27505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27506 (eval $ac_compile) 2>conftest.er1
27508 grep -v '^ *+' conftest.er1
>conftest.err
27510 cat conftest.err
>&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); } &&
27513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27515 (eval $ac_try) 2>&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); }; } &&
27519 { ac_try
='test -s conftest.$ac_objext'
27520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27521 (eval $ac_try) 2>&5
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); }; }; then
27526 echo "$as_me:$LINENO: result: found in default search path" >&5
27527 echo "${ECHO_T}found in default search path" >&6
27528 COMPILED_X_PROGRAM
=1
27531 echo "$as_me: failed program was:" >&5
27532 sed 's/^/| /' conftest.
$ac_ext >&5
27535 echo "$as_me:$LINENO: result: no" >&5
27536 echo "${ECHO_T}no" >&6
27537 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27538 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27539 { (exit 1); exit 1; }; }
27543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27546 if test "$COMPILED_X_PROGRAM" = 0; then
27547 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27548 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27551 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27553 for ac_extension
in a so sl dylib
; do
27554 if test -f "$ac_dir/libXm.$ac_extension"; then
27555 ac_find_libraries
=$ac_dir
27561 if test "$ac_find_libraries" != "" ; then
27562 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27563 echo "${ECHO_T}found at $ac_find_libraries" >&6
27566 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27568 if test $result = 0; then
27571 ac_path_to_link
=" -L$ac_find_libraries"
27574 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27576 save_CFLAGS
=$CFLAGS
27577 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27579 cat >conftest.
$ac_ext <<_ACEOF
27582 cat confdefs.h
>>conftest.
$ac_ext
27583 cat >>conftest.
$ac_ext <<_ACEOF
27584 /* end confdefs.h. */
27593 version = xmUseVersion;
27599 rm -f conftest.
$ac_objext
27600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27601 (eval $ac_compile) 2>conftest.er1
27603 grep -v '^ *+' conftest.er1
>conftest.err
27605 cat conftest.err
>&5
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); } &&
27608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27610 (eval $ac_try) 2>&5
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); }; } &&
27614 { ac_try
='test -s conftest.$ac_objext'
27615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27616 (eval $ac_try) 2>&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); }; }; then
27621 echo "$as_me:$LINENO: result: found in default search path" >&5
27622 echo "${ECHO_T}found in default search path" >&6
27623 COMPILED_X_PROGRAM
=1
27626 echo "$as_me: failed program was:" >&5
27627 sed 's/^/| /' conftest.
$ac_ext >&5
27630 echo "$as_me:$LINENO: result: no" >&5
27631 echo "${ECHO_T}no" >&6
27632 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27633 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27634 { (exit 1); exit 1; }; }
27638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27640 CFLAGS
=$save_CFLAGS
27644 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27645 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27649 for libp
in "" " -lXp"; do
27650 if test "$libs_found" = "0"; then
27651 for libsm_ice
in "" " -lSM -lICE"; do
27652 if test "$libs_found" = "0"; then
27654 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27655 save_CFLAGS
=$CFLAGS
27656 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27658 cat >conftest.
$ac_ext <<_ACEOF
27661 cat confdefs.h
>>conftest.
$ac_ext
27662 cat >>conftest.
$ac_ext <<_ACEOF
27663 /* end confdefs.h. */
27666 #include <Xm/List.h>
27672 XmString string = NULL;
27675 XmListAddItem(w, string, position);
27681 rm -f conftest.
$ac_objext conftest
$ac_exeext
27682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27683 (eval $ac_link) 2>conftest.er1
27685 grep -v '^ *+' conftest.er1
>conftest.err
27687 cat conftest.err
>&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } &&
27690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27692 (eval $ac_try) 2>&5
27694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27695 (exit $ac_status); }; } &&
27696 { ac_try
='test -s conftest$ac_exeext'
27697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27698 (eval $ac_try) 2>&5
27700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27701 (exit $ac_status); }; }; then
27704 libsm_ice_link
="$libsm_ice"
27705 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27706 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27710 echo "$as_me: failed program was:" >&5
27711 sed 's/^/| /' conftest.
$ac_ext >&5
27716 rm -f conftest.err conftest.
$ac_objext \
27717 conftest
$ac_exeext conftest.
$ac_ext
27720 CFLAGS
=$save_CFLAGS
27726 if test "$libs_found" = "0"; then
27727 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27728 echo "${ECHO_T}can't find the right libraries" >&6
27729 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27730 echo "$as_me: error: can't link a simple motif program" >&2;}
27731 { (exit 1); exit 1; }; }
27734 save_CFLAGS
=$CFLAGS
27735 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27736 echo "$as_me:$LINENO: checking for Motif 2" >&5
27737 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27738 cat >conftest.
$ac_ext <<_ACEOF
27741 cat confdefs.h
>>conftest.
$ac_ext
27742 cat >>conftest.
$ac_ext <<_ACEOF
27743 /* end confdefs.h. */
27751 #if XmVersion < 2000
27752 #error "Not Motif 2"
27759 rm -f conftest.
$ac_objext
27760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27761 (eval $ac_compile) 2>conftest.er1
27763 grep -v '^ *+' conftest.er1
>conftest.err
27765 cat conftest.err
>&5
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } &&
27768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27770 (eval $ac_try) 2>&5
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); }; } &&
27774 { ac_try
='test -s conftest.$ac_objext'
27775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27776 (eval $ac_try) 2>&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); }; }; then
27781 cat >>confdefs.h
<<\_ACEOF
27782 #define __WXMOTIF20__ 1
27785 echo "$as_me:$LINENO: result: found" >&5
27786 echo "${ECHO_T}found" >&6
27789 echo "$as_me: failed program was:" >&5
27790 sed 's/^/| /' conftest.
$ac_ext >&5
27793 cat >>confdefs.h
<<\_ACEOF
27794 #define __WXMOTIF20__ 0
27797 echo "$as_me:$LINENO: result: not found" >&5
27798 echo "${ECHO_T}not found" >&6
27801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27802 CFLAGS
=$save_CFLAGS
27804 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27809 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27810 if test "$wxUSE_LIBXPM" = "sys"; then
27811 echo "$as_me:$LINENO: checking for Xpm library" >&5
27812 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27815 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27817 for ac_extension
in a so sl dylib
; do
27818 if test -f "$ac_dir/libXpm.$ac_extension"; then
27819 ac_find_libraries
=$ac_dir
27825 if test "$ac_find_libraries" != "" ; then
27827 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27829 if test $result = 0; then
27832 ac_path_to_link
=" -L$ac_find_libraries"
27835 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27836 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27837 echo "${ECHO_T}found at $ac_find_libraries" >&6
27839 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27840 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27841 if test "${wx_cv_x11_xpm_h+set}" = set; then
27842 echo $ECHO_N "(cached) $ECHO_C" >&6
27845 save_CFLAGS
=$CFLAGS
27846 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27848 cat >conftest.
$ac_ext <<_ACEOF
27851 cat confdefs.h
>>conftest.
$ac_ext
27852 cat >>conftest.
$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27855 #include <X11/xpm.h>
27862 version = XpmLibraryVersion();
27868 rm -f conftest.
$ac_objext
27869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27870 (eval $ac_compile) 2>conftest.er1
27872 grep -v '^ *+' conftest.er1
>conftest.err
27874 cat conftest.err
>&5
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); } &&
27877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27879 (eval $ac_try) 2>&5
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); }; } &&
27883 { ac_try
='test -s conftest.$ac_objext'
27884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27885 (eval $ac_try) 2>&5
27887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888 (exit $ac_status); }; }; then
27889 wx_cv_x11_xpm_h
=yes
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.
$ac_ext >&5
27897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27899 CFLAGS
=$save_CFLAGS
27903 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27904 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27906 if test $wx_cv_x11_xpm_h = "yes"; then
27907 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
27908 cat >>confdefs.h
<<\_ACEOF
27909 #define wxHAVE_LIB_XPM 1
27913 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27914 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27920 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27921 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27922 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27923 echo $ECHO_N "(cached) $ECHO_C" >&6
27925 ac_check_lib_save_LIBS
=$LIBS
27926 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27927 cat >conftest.
$ac_ext <<_ACEOF
27930 cat confdefs.h
>>conftest.
$ac_ext
27931 cat >>conftest.
$ac_ext <<_ACEOF
27932 /* end confdefs.h. */
27934 /* Override any gcc2 internal prototype to avoid an error. */
27938 /* We use char because int might match the return type of a gcc2
27939 builtin and then its argument prototype would still apply. */
27940 char XShapeQueryExtension ();
27944 XShapeQueryExtension ();
27949 rm -f conftest.
$ac_objext conftest
$ac_exeext
27950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27951 (eval $ac_link) 2>conftest.er1
27953 grep -v '^ *+' conftest.er1
>conftest.err
27955 cat conftest.err
>&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } &&
27958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; } &&
27964 { ac_try
='test -s conftest$ac_exeext'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; }; then
27970 ac_cv_lib_Xext_XShapeQueryExtension
=yes
27972 echo "$as_me: failed program was:" >&5
27973 sed 's/^/| /' conftest.
$ac_ext >&5
27975 ac_cv_lib_Xext_XShapeQueryExtension
=no
27977 rm -f conftest.err conftest.
$ac_objext \
27978 conftest
$ac_exeext conftest.
$ac_ext
27979 LIBS
=$ac_check_lib_save_LIBS
27981 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27982 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27983 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27985 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
27991 if test "$wxHAVE_XEXT_LIB" = 1; then
27992 save_CFLAGS
="$CFLAGS"
27993 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27995 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27996 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27997 cat >conftest.
$ac_ext <<_ACEOF
28000 cat confdefs.h
>>conftest.
$ac_ext
28001 cat >>conftest.
$ac_ext <<_ACEOF
28002 /* end confdefs.h. */
28004 #include <X11/Xlib.h>
28005 #include <X11/extensions/shape.h>
28011 int dummy1, dummy2;
28012 XShapeQueryExtension((Display*)NULL,
28013 (int*)NULL, (int*)NULL);
28019 rm -f conftest.
$ac_objext
28020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28021 (eval $ac_compile) 2>conftest.er1
28023 grep -v '^ *+' conftest.er1
>conftest.err
28025 cat conftest.err
>&5
28026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027 (exit $ac_status); } &&
28028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030 (eval $ac_try) 2>&5
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); }; } &&
28034 { ac_try
='test -s conftest.$ac_objext'
28035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28036 (eval $ac_try) 2>&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); }; }; then
28041 cat >>confdefs.h
<<\_ACEOF
28042 #define HAVE_XSHAPE 1
28045 echo "$as_me:$LINENO: result: found" >&5
28046 echo "${ECHO_T}found" >&6
28049 echo "$as_me: failed program was:" >&5
28050 sed 's/^/| /' conftest.
$ac_ext >&5
28053 echo "$as_me:$LINENO: result: not found" >&5
28054 echo "${ECHO_T}not found" >&6
28057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28058 CFLAGS
="$save_CFLAGS"
28063 if test "$wxUSE_MAC" = 1; then
28064 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28065 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28066 if test "$GCC" = yes; then
28067 echo "$as_me:$LINENO: result: gcc" >&5
28068 echo "${ECHO_T}gcc" >&6
28069 CPPFLAGS_PASCAL
="-fpascal-strings"
28070 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28071 echo "$as_me:$LINENO: result: xlc" >&5
28072 echo "${ECHO_T}xlc" >&6
28073 CPPFLAGS_PASCAL
="-qmacpstr"
28075 echo "$as_me:$LINENO: result: none" >&5
28076 echo "${ECHO_T}none" >&6
28079 if test "x$wxUSE_UNIX" = "xyes"; then
28080 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28082 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28087 WXBASEPORT
="_carbon"
28090 if test "$wxUSE_COCOA" = 1; then
28095 if test "$wxUSE_PM" = 1; then
28098 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28099 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28100 if test "${wx_cv_spbcdata+set}" = set; then
28101 echo $ECHO_N "(cached) $ECHO_C" >&6
28104 cat >conftest.
$ac_ext <<_ACEOF
28107 cat confdefs.h
>>conftest.
$ac_ext
28108 cat >>conftest.
$ac_ext <<_ACEOF
28109 /* end confdefs.h. */
28124 rm -f conftest.
$ac_objext
28125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28126 (eval $ac_compile) 2>conftest.er1
28128 grep -v '^ *+' conftest.er1
>conftest.err
28130 cat conftest.err
>&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); } &&
28133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28135 (eval $ac_try) 2>&5
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); }; } &&
28139 { ac_try
='test -s conftest.$ac_objext'
28140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28141 (eval $ac_try) 2>&5
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); }; }; then
28147 echo "$as_me: failed program was:" >&5
28148 sed 's/^/| /' conftest.
$ac_ext >&5
28153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28157 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28158 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28160 if test $wx_cv_spbcdata = "yes"; then
28161 cat >>confdefs.h
<<\_ACEOF
28162 #define HAVE_SPBCDATA 1
28168 if test "$TOOLKIT" = "PM" ; then
28171 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28174 if test "$wxUSE_UNIVERSAL" = "yes"; then
28175 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28179 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28180 DISTDIR
="wx\$(TOOLKIT)"
28186 if test "$USE_WIN32" = 1 ; then
28190 GUIDIST
="BASE_DIST"
28200 if test "$TOOLKIT" != "MSW" ; then
28202 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28204 if test "${ac_cv_header_sql_h+set}" = set; then
28205 echo "$as_me:$LINENO: checking for sql.h" >&5
28206 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28207 if test "${ac_cv_header_sql_h+set}" = set; then
28208 echo $ECHO_N "(cached) $ECHO_C" >&6
28210 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28211 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28213 # Is the header compilable?
28214 echo "$as_me:$LINENO: checking sql.h usability" >&5
28215 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28216 cat >conftest.
$ac_ext <<_ACEOF
28219 cat confdefs.h
>>conftest.
$ac_ext
28220 cat >>conftest.
$ac_ext <<_ACEOF
28221 /* end confdefs.h. */
28222 $ac_includes_default
28225 rm -f conftest.
$ac_objext
28226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28227 (eval $ac_compile) 2>conftest.er1
28229 grep -v '^ *+' conftest.er1
>conftest.err
28231 cat conftest.err
>&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); } &&
28234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; } &&
28240 { ac_try
='test -s conftest.$ac_objext'
28241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28242 (eval $ac_try) 2>&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); }; }; then
28246 ac_header_compiler
=yes
28248 echo "$as_me: failed program was:" >&5
28249 sed 's/^/| /' conftest.
$ac_ext >&5
28251 ac_header_compiler
=no
28253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28255 echo "${ECHO_T}$ac_header_compiler" >&6
28257 # Is the header present?
28258 echo "$as_me:$LINENO: checking sql.h presence" >&5
28259 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28260 cat >conftest.
$ac_ext <<_ACEOF
28263 cat confdefs.h
>>conftest.
$ac_ext
28264 cat >>conftest.
$ac_ext <<_ACEOF
28265 /* end confdefs.h. */
28268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28269 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28271 grep -v '^ *+' conftest.er1
>conftest.err
28273 cat conftest.err
>&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } >/dev
/null
; then
28276 if test -s conftest.err
; then
28277 ac_cpp_err
=$ac_c_preproc_warn_flag
28278 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28285 if test -z "$ac_cpp_err"; then
28286 ac_header_preproc
=yes
28288 echo "$as_me: failed program was:" >&5
28289 sed 's/^/| /' conftest.
$ac_ext >&5
28291 ac_header_preproc
=no
28293 rm -f conftest.err conftest.
$ac_ext
28294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28295 echo "${ECHO_T}$ac_header_preproc" >&6
28297 # So? What about this header?
28298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28300 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28301 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28302 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28303 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28304 ac_header_preproc
=yes
28307 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28308 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28309 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28310 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28311 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28312 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28313 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28314 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28315 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28316 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28317 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28318 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28321 ## ----------------------------------------- ##
28322 ## Report this to wx-dev@lists.wxwidgets.org ##
28323 ## ----------------------------------------- ##
28326 sed "s/^/$as_me: WARNING: /" >&2
28329 echo "$as_me:$LINENO: checking for sql.h" >&5
28330 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28331 if test "${ac_cv_header_sql_h+set}" = set; then
28332 echo $ECHO_N "(cached) $ECHO_C" >&6
28334 ac_cv_header_sql_h
=$ac_header_preproc
28336 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28337 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28340 if test $ac_cv_header_sql_h = yes; then
28345 if test "x$found_sql_h" = "x1" ; then
28346 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28347 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28348 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28349 echo $ECHO_N "(cached) $ECHO_C" >&6
28351 ac_check_lib_save_LIBS
=$LIBS
28352 LIBS
="-liodbc $LIBS"
28353 cat >conftest.
$ac_ext <<_ACEOF
28356 cat confdefs.h
>>conftest.
$ac_ext
28357 cat >>conftest.
$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28360 /* Override any gcc2 internal prototype to avoid an error. */
28364 /* We use char because int might match the return type of a gcc2
28365 builtin and then its argument prototype would still apply. */
28366 char SQLAllocEnv ();
28375 rm -f conftest.
$ac_objext conftest
$ac_exeext
28376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28377 (eval $ac_link) 2>conftest.er1
28379 grep -v '^ *+' conftest.er1
>conftest.err
28381 cat conftest.err
>&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); } &&
28384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386 (eval $ac_try) 2>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); }; } &&
28390 { ac_try
='test -s conftest$ac_exeext'
28391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392 (eval $ac_try) 2>&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); }; }; then
28396 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.
$ac_ext >&5
28401 ac_cv_lib_iodbc_SQLAllocEnv
=no
28403 rm -f conftest.err conftest.
$ac_objext \
28404 conftest
$ac_exeext conftest.
$ac_ext
28405 LIBS
=$ac_check_lib_save_LIBS
28407 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28408 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28409 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28410 ODBC_LINK
=" -liodbc"
28413 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28414 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28415 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28416 echo $ECHO_N "(cached) $ECHO_C" >&6
28418 ac_check_lib_save_LIBS
=$LIBS
28419 LIBS
="-lunixodbc $LIBS"
28420 cat >conftest.
$ac_ext <<_ACEOF
28423 cat confdefs.h
>>conftest.
$ac_ext
28424 cat >>conftest.
$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28427 /* Override any gcc2 internal prototype to avoid an error. */
28431 /* We use char because int might match the return type of a gcc2
28432 builtin and then its argument prototype would still apply. */
28433 char SQLAllocEnv ();
28442 rm -f conftest.
$ac_objext conftest
$ac_exeext
28443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28444 (eval $ac_link) 2>conftest.er1
28446 grep -v '^ *+' conftest.er1
>conftest.err
28448 cat conftest.err
>&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); } &&
28451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28453 (eval $ac_try) 2>&5
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; } &&
28457 { ac_try
='test -s conftest$ac_exeext'
28458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28459 (eval $ac_try) 2>&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); }; }; then
28463 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
28465 echo "$as_me: failed program was:" >&5
28466 sed 's/^/| /' conftest.
$ac_ext >&5
28468 ac_cv_lib_unixodbc_SQLAllocEnv
=no
28470 rm -f conftest.err conftest.
$ac_objext \
28471 conftest
$ac_exeext conftest.
$ac_ext
28472 LIBS
=$ac_check_lib_save_LIBS
28474 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28475 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28476 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28477 ODBC_LINK
=" -lunixodbc"
28480 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28481 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28482 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28483 echo $ECHO_N "(cached) $ECHO_C" >&6
28485 ac_check_lib_save_LIBS
=$LIBS
28486 LIBS
="-lodbc $LIBS"
28487 cat >conftest.
$ac_ext <<_ACEOF
28490 cat confdefs.h
>>conftest.
$ac_ext
28491 cat >>conftest.
$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28494 /* Override any gcc2 internal prototype to avoid an error. */
28498 /* We use char because int might match the return type of a gcc2
28499 builtin and then its argument prototype would still apply. */
28500 char SQLAllocEnv ();
28509 rm -f conftest.
$ac_objext conftest
$ac_exeext
28510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28511 (eval $ac_link) 2>conftest.er1
28513 grep -v '^ *+' conftest.er1
>conftest.err
28515 cat conftest.err
>&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } &&
28518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28520 (eval $ac_try) 2>&5
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); }; } &&
28524 { ac_try
='test -s conftest$ac_exeext'
28525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28526 (eval $ac_try) 2>&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); }; }; then
28530 ac_cv_lib_odbc_SQLAllocEnv
=yes
28532 echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.
$ac_ext >&5
28535 ac_cv_lib_odbc_SQLAllocEnv
=no
28537 rm -f conftest.err conftest.
$ac_objext \
28538 conftest
$ac_exeext conftest.
$ac_ext
28539 LIBS
=$ac_check_lib_save_LIBS
28541 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28542 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28543 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28544 ODBC_LINK
=" -lodbc"
28554 if test "x$ODBC_LINK" = "x" ; then
28555 if test "$wxUSE_ODBC" = "sys" ; then
28556 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28557 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28558 { (exit 1); exit 1; }; }
28560 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28561 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28569 if test "$wxUSE_ODBC" = "builtin" ; then
28570 cat >>confdefs.h
<<\_ACEOF
28571 #define wxUSE_BUILTIN_IODBC 1
28577 if test "$wxUSE_ODBC" != "no" ; then
28578 cat >>confdefs.h
<<\_ACEOF
28579 #define wxUSE_ODBC 1
28582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28584 WXODBCFLAG
="-D_IODBC_"
28588 if test "$wxUSE_DISPLAY" = "yes"; then
28589 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28590 echo "$as_me:$LINENO: checking for Xinerama" >&5
28591 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28594 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28596 for ac_extension
in a so sl dylib
; do
28597 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28598 ac_find_libraries
=$ac_dir
28604 if test "$ac_find_libraries" != "" ; then
28606 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28608 if test $result = 0; then
28611 ac_path_to_link
=" -L$ac_find_libraries"
28614 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28615 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28617 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28618 echo "$as_me:$LINENO: result: yes" >&5
28619 echo "${ECHO_T}yes" >&6
28621 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28622 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28625 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28627 for ac_extension
in a so sl dylib
; do
28628 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28629 ac_find_libraries
=$ac_dir
28635 if test "$ac_find_libraries" != "" ; then
28636 echo "$as_me:$LINENO: result: yes" >&5
28637 echo "${ECHO_T}yes" >&6
28639 for ac_header
in X
11/extensions
/xf86vmode.h
28641 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28642 echo "$as_me:$LINENO: checking for $ac_header" >&5
28643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28645 echo $ECHO_N "(cached) $ECHO_C" >&6
28647 cat >conftest.
$ac_ext <<_ACEOF
28650 cat confdefs.h
>>conftest.
$ac_ext
28651 cat >>conftest.
$ac_ext <<_ACEOF
28652 /* end confdefs.h. */
28654 #if HAVE_X11_XLIB_H
28655 #include <X11/Xlib.h>
28659 #include <$ac_header>
28661 rm -f conftest.
$ac_objext
28662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28663 (eval $ac_compile) 2>conftest.er1
28665 grep -v '^ *+' conftest.er1
>conftest.err
28667 cat conftest.err
>&5
28668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 (exit $ac_status); } &&
28670 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28672 (eval $ac_try) 2>&5
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); }; } &&
28676 { ac_try
='test -s conftest.$ac_objext'
28677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28678 (eval $ac_try) 2>&5
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); }; }; then
28682 eval "$as_ac_Header=yes"
28684 echo "$as_me: failed program was:" >&5
28685 sed 's/^/| /' conftest.
$ac_ext >&5
28687 eval "$as_ac_Header=no"
28689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28694 cat >>confdefs.h
<<_ACEOF
28695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28698 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28705 echo "$as_me:$LINENO: result: no" >&5
28706 echo "${ECHO_T}no" >&6
28710 echo "$as_me:$LINENO: result: no" >&5
28711 echo "${ECHO_T}no" >&6
28712 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28713 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28716 elif test "$wxUSE_MSW" = 1; then
28719 for ac_header
in multimon.h ddraw.h
28721 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28722 echo "$as_me:$LINENO: checking for $ac_header" >&5
28723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28725 echo $ECHO_N "(cached) $ECHO_C" >&6
28727 cat >conftest.
$ac_ext <<_ACEOF
28730 cat confdefs.h
>>conftest.
$ac_ext
28731 cat >>conftest.
$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28733 #include <windows.h>
28735 #include <$ac_header>
28737 rm -f conftest.
$ac_objext
28738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28739 (eval $ac_compile) 2>conftest.er1
28741 grep -v '^ *+' conftest.er1
>conftest.err
28743 cat conftest.err
>&5
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); } &&
28746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28748 (eval $ac_try) 2>&5
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); }; } &&
28752 { ac_try
='test -s conftest.$ac_objext'
28753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28754 (eval $ac_try) 2>&5
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); }; }; then
28758 eval "$as_ac_Header=yes"
28760 echo "$as_me: failed program was:" >&5
28761 sed 's/^/| /' conftest.
$ac_ext >&5
28763 eval "$as_ac_Header=no"
28765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28770 cat >>confdefs.h
<<_ACEOF
28771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28777 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28778 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28789 if test "$wxUSE_OPENGL" = "yes"; then
28790 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28791 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28792 elif test "$wxUSE_MSW" = 1; then
28793 OPENGL_LIBS
="-lopengl32 -lglu32"
28798 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28800 if test -f "$ac_dir/GL/gl.h"; then
28801 ac_find_includes
=$ac_dir
28806 if test "$ac_find_includes" != "" ; then
28807 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28808 echo "${ECHO_T}found in $ac_find_includes" >&6
28810 if test "x$ac_find_includes" = "x/usr/include"; then
28811 ac_path_to_include
=""
28813 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28815 if test $result = 0; then
28816 ac_path_to_include
=""
28818 ac_path_to_include
=" -I$ac_find_includes"
28822 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
28825 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28826 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28827 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28828 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28829 echo $ECHO_N "(cached) $ECHO_C" >&6
28831 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28832 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28834 # Is the header compilable?
28835 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28836 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28837 cat >conftest.
$ac_ext <<_ACEOF
28840 cat confdefs.h
>>conftest.
$ac_ext
28841 cat >>conftest.
$ac_ext <<_ACEOF
28842 /* end confdefs.h. */
28843 $ac_includes_default
28846 rm -f conftest.
$ac_objext
28847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28848 (eval $ac_compile) 2>conftest.er1
28850 grep -v '^ *+' conftest.er1
>conftest.err
28852 cat conftest.err
>&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } &&
28855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28857 (eval $ac_try) 2>&5
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); }; } &&
28861 { ac_try
='test -s conftest.$ac_objext'
28862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28863 (eval $ac_try) 2>&5
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); }; }; then
28867 ac_header_compiler
=yes
28869 echo "$as_me: failed program was:" >&5
28870 sed 's/^/| /' conftest.
$ac_ext >&5
28872 ac_header_compiler
=no
28874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28876 echo "${ECHO_T}$ac_header_compiler" >&6
28878 # Is the header present?
28879 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28880 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28881 cat >conftest.
$ac_ext <<_ACEOF
28884 cat confdefs.h
>>conftest.
$ac_ext
28885 cat >>conftest.
$ac_ext <<_ACEOF
28886 /* end confdefs.h. */
28889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28890 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28892 grep -v '^ *+' conftest.er1
>conftest.err
28894 cat conftest.err
>&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); } >/dev
/null
; then
28897 if test -s conftest.err
; then
28898 ac_cpp_err
=$ac_c_preproc_warn_flag
28899 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28906 if test -z "$ac_cpp_err"; then
28907 ac_header_preproc
=yes
28909 echo "$as_me: failed program was:" >&5
28910 sed 's/^/| /' conftest.
$ac_ext >&5
28912 ac_header_preproc
=no
28914 rm -f conftest.err conftest.
$ac_ext
28915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28916 echo "${ECHO_T}$ac_header_preproc" >&6
28918 # So? What about this header?
28919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28921 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28922 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28923 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28924 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28925 ac_header_preproc
=yes
28928 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28929 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28930 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28931 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28932 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28933 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28934 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28935 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28936 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28937 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28938 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28939 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28942 ## ----------------------------------------- ##
28943 ## Report this to wx-dev@lists.wxwidgets.org ##
28944 ## ----------------------------------------- ##
28947 sed "s/^/$as_me: WARNING: /" >&2
28950 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28951 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28952 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28953 echo $ECHO_N "(cached) $ECHO_C" >&6
28955 ac_cv_header_GL_gl_h
=$ac_header_preproc
28957 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28958 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28961 if test $ac_cv_header_GL_gl_h = yes; then
28965 echo "$as_me:$LINENO: checking for -lGL" >&5
28966 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28969 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28971 for ac_extension
in a so sl dylib
; do
28972 if test -f "$ac_dir/libGL.$ac_extension"; then
28973 ac_find_libraries
=$ac_dir
28979 if test "$ac_find_libraries" != "" ; then
28981 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28983 if test $result = 0; then
28986 ac_path_to_link
=" -L$ac_find_libraries"
28989 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28990 LDFLAGS_GL
="$ac_path_to_link"
28995 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28997 for ac_extension
in a so sl dylib
; do
28998 if test -f "$ac_dir/libGLU.$ac_extension"; then
28999 ac_find_libraries
=$ac_dir
29005 if test "$ac_find_libraries" != "" ; then
29007 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29009 if test $result = 0; then
29012 ac_path_to_link
=" -L$ac_find_libraries"
29015 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29016 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29017 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29021 OPENGL_LIBS
="-lGL -lGLU"
29022 echo "$as_me:$LINENO: result: yes" >&5
29023 echo "${ECHO_T}yes" >&6
29027 if test "$found_gl" != 1; then
29028 echo "$as_me:$LINENO: result: no" >&5
29029 echo "${ECHO_T}no" >&6
29030 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29031 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29034 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29036 for ac_extension
in a so sl dylib
; do
29037 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29038 ac_find_libraries
=$ac_dir
29044 if test "$ac_find_libraries" != "" ; then
29046 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29048 if test $result = 0; then
29051 ac_path_to_link
=" -L$ac_find_libraries"
29054 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29055 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29056 echo "$as_me:$LINENO: result: yes" >&5
29057 echo "${ECHO_T}yes" >&6
29059 echo "$as_me:$LINENO: result: no" >&5
29060 echo "${ECHO_T}no" >&6
29068 if test "x$OPENGL_LIBS" = "x"; then
29069 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29070 echo "$as_me: error: OpenGL libraries not available" >&2;}
29071 { (exit 1); exit 1; }; }
29075 if test "$wxUSE_OPENGL" = "yes"; then
29077 cat >>confdefs.h
<<\_ACEOF
29078 #define wxUSE_OPENGL 1
29081 cat >>confdefs.h
<<\_ACEOF
29082 #define wxUSE_GLCANVAS 1
29085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29090 if test -n "$TOOLKIT" ; then
29091 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29096 if test "$wxUSE_SHARED" = "yes"; then
29100 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29101 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29106 if test "$wxUSE_SHARED" = "yes"; then
29109 found_versioning
=no
29112 if test $found_versioning = no
; then
29113 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29114 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29115 if test "${wx_cv_version_script+set}" = set; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29119 echo "VER_1 { *; };" >conftest.sym
29120 echo "int main() { return 0; }" >conftest.cpp
29123 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29124 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29126 (eval $ac_try) 2>&5
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); }; } ; then
29130 if test -s conftest.stderr
; then
29131 wx_cv_version_script
=no
29133 wx_cv_version_script
=yes
29136 wx_cv_version_script
=no
29138 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29141 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29142 echo "${ECHO_T}$wx_cv_version_script" >&6
29143 if test $wx_cv_version_script = yes ; then
29144 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29150 *-*-linux* | *-*-gnu* )
29151 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29152 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29156 if test "$GCC" = yes ; then
29157 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29159 saveLdflags
="$LDFLAGS"
29160 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29161 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29162 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29163 cat >conftest.
$ac_ext <<_ACEOF
29166 cat confdefs.h
>>conftest.
$ac_ext
29167 cat >>conftest.
$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29178 rm -f conftest.
$ac_objext conftest
$ac_exeext
29179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29180 (eval $ac_link) 2>conftest.er1
29182 grep -v '^ *+' conftest.er1
>conftest.err
29184 cat conftest.err
>&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); } &&
29187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29189 (eval $ac_try) 2>&5
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); }; } &&
29193 { ac_try
='test -s conftest$ac_exeext'
29194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29195 (eval $ac_try) 2>&5
29197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29198 (exit $ac_status); }; }; then
29200 echo "$as_me:$LINENO: result: yes" >&5
29201 echo "${ECHO_T}yes" >&6
29202 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29203 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.
$ac_ext >&5
29210 echo "$as_me:$LINENO: result: no" >&5
29211 echo "${ECHO_T}no" >&6
29212 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29213 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29214 LDFLAGS
="$saveLdflags -Wl,-R,/"
29215 cat >conftest.
$ac_ext <<_ACEOF
29218 cat confdefs.h
>>conftest.
$ac_ext
29219 cat >>conftest.
$ac_ext <<_ACEOF
29220 /* end confdefs.h. */
29230 rm -f conftest.
$ac_objext conftest
$ac_exeext
29231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29232 (eval $ac_link) 2>conftest.er1
29234 grep -v '^ *+' conftest.er1
>conftest.err
29236 cat conftest.err
>&5
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); } &&
29239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29241 (eval $ac_try) 2>&5
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); }; } &&
29245 { ac_try
='test -s conftest$ac_exeext'
29246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29247 (eval $ac_try) 2>&5
29249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29250 (exit $ac_status); }; }; then
29252 echo "$as_me:$LINENO: result: yes" >&5
29253 echo "${ECHO_T}yes" >&6
29254 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29255 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29258 echo "$as_me: failed program was:" >&5
29259 sed 's/^/| /' conftest.
$ac_ext >&5
29262 echo "$as_me:$LINENO: result: no" >&5
29263 echo "${ECHO_T}no" >&6
29266 rm -f conftest.err conftest.
$ac_objext \
29267 conftest
$ac_exeext conftest.
$ac_ext
29270 rm -f conftest.err conftest.
$ac_objext \
29271 conftest
$ac_exeext conftest.
$ac_ext
29272 LDFLAGS
="$saveLdflags"
29274 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29275 WXCONFIG_RPATH
="-R\$libdir"
29279 powerpc
-*-darwin* )
29280 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29281 cat <<EOF >change-install-names
29283 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29284 inst_cmd="install_name_tool "
29285 for i in \${libnames} ; do
29286 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29290 chmod +x change
-install-names
29293 *-*-cygwin* | *-*-mingw32* )
29294 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29298 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29299 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29304 if test $wxUSE_RPATH = "no"; then
29305 SAMPLES_RPATH_FLAG
=''
29306 SAMPLES_RPATH_POSTLINK
=''
29314 config_linkage_component
="-static"
29321 lib_unicode_suffix
=
29323 if test "$wxUSE_UNICODE" = "yes"; then
29324 lib_unicode_suffix
=u
29325 WX_CHARTYPE
="unicode"
29330 WX_DEBUGTYPE
="release"
29332 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29334 WX_DEBUGTYPE
="debug"
29338 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29339 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29342 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29346 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29348 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29350 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29352 if test "$cross_compiling" = "yes"; then
29353 HOST_SUFFIX
="-$host_alias"
29354 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29355 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29358 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29359 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29363 if test "$wxUSE_COCOA" = 1; then
29367 ac_cpp
='$CPP $CPPFLAGS'
29368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29374 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29375 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29376 cat >conftest.
$ac_ext <<_ACEOF
29379 cat confdefs.h
>>conftest.
$ac_ext
29380 cat >>conftest.
$ac_ext <<_ACEOF
29381 /* end confdefs.h. */
29382 #include <AppKit/NSEvent.h>
29383 #include <CoreFoundation/CoreFoundation.h>
29393 rm -f conftest.
$ac_objext
29394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29395 (eval $ac_compile) 2>conftest.er1
29397 grep -v '^ *+' conftest.er1
>conftest.err
29399 cat conftest.err
>&5
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); } &&
29402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29404 (eval $ac_try) 2>&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); }; } &&
29408 { ac_try
='test -s conftest.$ac_objext'
29409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29410 (eval $ac_try) 2>&5
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); }; }; then
29414 echo "$as_me:$LINENO: result: no" >&5
29415 echo "${ECHO_T}no" >&6
29417 echo "$as_me: failed program was:" >&5
29418 sed 's/^/| /' conftest.
$ac_ext >&5
29420 echo "$as_me:$LINENO: result: yes" >&5
29421 echo "${ECHO_T}yes" >&6
29422 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29423 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29424 cat >conftest.
$ac_ext <<_ACEOF
29427 cat confdefs.h
>>conftest.
$ac_ext
29428 cat >>conftest.
$ac_ext <<_ACEOF
29429 /* end confdefs.h. */
29430 #define __Point__ 1
29431 #include <AppKit/NSEvent.h>
29432 #include <CoreFoundation/CoreFoundation.h>
29442 rm -f conftest.
$ac_objext
29443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29444 (eval $ac_compile) 2>conftest.er1
29446 grep -v '^ *+' conftest.er1
>conftest.err
29448 cat conftest.err
>&5
29449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29450 (exit $ac_status); } &&
29451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29453 (eval $ac_try) 2>&5
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); }; } &&
29457 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
29463 echo "$as_me:$LINENO: result: yes" >&5
29464 echo "${ECHO_T}yes" >&6
29465 cat >>confdefs.h
<<\_ACEOF
29466 #define __Point__ 1
29471 echo "$as_me: failed program was:" >&5
29472 sed 's/^/| /' conftest.
$ac_ext >&5
29474 { { echo "$as_me:$LINENO: error: no
29475 See \`config.log' for more details." >&5
29476 echo "$as_me: error: no
29477 See \`config.log' for more details." >&2;}
29478 { (exit 1); exit 1; }; }
29481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29486 ac_cpp
='$CPP $CPPFLAGS'
29487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29493 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29494 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29495 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29497 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29499 # Extract the first word of "Rez", so it can be a program name with args.
29500 set dummy Rez
; ac_word
=$2
29501 echo "$as_me:$LINENO: checking for $ac_word" >&5
29502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29503 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29504 echo $ECHO_N "(cached) $ECHO_C" >&6
29506 if test -n "$RESCOMP"; then
29507 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
29509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29510 for as_dir
in $PATH
29513 test -z "$as_dir" && as_dir
=.
29514 for ac_exec_ext
in '' $ac_executable_extensions; do
29515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29516 ac_cv_prog_RESCOMP
="Rez"
29517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29523 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29526 RESCOMP
=$ac_cv_prog_RESCOMP
29527 if test -n "$RESCOMP"; then
29528 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29529 echo "${ECHO_T}$RESCOMP" >&6
29531 echo "$as_me:$LINENO: result: no" >&5
29532 echo "${ECHO_T}no" >&6
29535 # Extract the first word of "DeRez", so it can be a program name with args.
29536 set dummy DeRez
; ac_word
=$2
29537 echo "$as_me:$LINENO: checking for $ac_word" >&5
29538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29539 if test "${ac_cv_prog_DEREZ+set}" = set; then
29540 echo $ECHO_N "(cached) $ECHO_C" >&6
29542 if test -n "$DEREZ"; then
29543 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29546 for as_dir
in $PATH
29549 test -z "$as_dir" && as_dir
=.
29550 for ac_exec_ext
in '' $ac_executable_extensions; do
29551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29552 ac_cv_prog_DEREZ
="DeRez"
29553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29559 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29562 DEREZ
=$ac_cv_prog_DEREZ
29563 if test -n "$DEREZ"; then
29564 echo "$as_me:$LINENO: result: $DEREZ" >&5
29565 echo "${ECHO_T}$DEREZ" >&6
29567 echo "$as_me:$LINENO: result: no" >&5
29568 echo "${ECHO_T}no" >&6
29571 # Extract the first word of "SetFile", so it can be a program name with args.
29572 set dummy SetFile
; ac_word
=$2
29573 echo "$as_me:$LINENO: checking for $ac_word" >&5
29574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29575 if test "${ac_cv_prog_SETFILE+set}" = set; then
29576 echo $ECHO_N "(cached) $ECHO_C" >&6
29578 if test -n "$SETFILE"; then
29579 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29582 for as_dir
in $PATH
29585 test -z "$as_dir" && as_dir
=.
29586 for ac_exec_ext
in '' $ac_executable_extensions; do
29587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29588 ac_cv_prog_SETFILE
="SetFile"
29589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29595 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29598 SETFILE
=$ac_cv_prog_SETFILE
29599 if test -n "$SETFILE"; then
29600 echo "$as_me:$LINENO: result: $SETFILE" >&5
29601 echo "${ECHO_T}$SETFILE" >&6
29603 echo "$as_me:$LINENO: result: no" >&5
29604 echo "${ECHO_T}no" >&6
29608 MACSETFILE
="\$(SETFILE)"
29610 if test "$wxUSE_MAC" = 1; then
29611 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29613 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29615 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29616 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29620 MACRESWXCONFIG
="@true"
29622 if test "$wxUSE_PM" = 1; then
29623 MACRESCOMP
="emxbind -ep"
29631 echo "$as_me:$LINENO: checking for mode_t" >&5
29632 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29633 if test "${ac_cv_type_mode_t+set}" = set; then
29634 echo $ECHO_N "(cached) $ECHO_C" >&6
29636 cat >conftest.
$ac_ext <<_ACEOF
29639 cat confdefs.h
>>conftest.
$ac_ext
29640 cat >>conftest.
$ac_ext <<_ACEOF
29641 /* end confdefs.h. */
29642 $ac_includes_default
29648 if (sizeof (mode_t))
29654 rm -f conftest.
$ac_objext
29655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29656 (eval $ac_compile) 2>conftest.er1
29658 grep -v '^ *+' conftest.er1
>conftest.err
29660 cat conftest.err
>&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); } &&
29663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29665 (eval $ac_try) 2>&5
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); }; } &&
29669 { ac_try
='test -s conftest.$ac_objext'
29670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29671 (eval $ac_try) 2>&5
29673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29674 (exit $ac_status); }; }; then
29675 ac_cv_type_mode_t
=yes
29677 echo "$as_me: failed program was:" >&5
29678 sed 's/^/| /' conftest.
$ac_ext >&5
29680 ac_cv_type_mode_t
=no
29682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29684 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29685 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29686 if test $ac_cv_type_mode_t = yes; then
29690 cat >>confdefs.h
<<_ACEOF
29696 echo "$as_me:$LINENO: checking for off_t" >&5
29697 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29698 if test "${ac_cv_type_off_t+set}" = set; then
29699 echo $ECHO_N "(cached) $ECHO_C" >&6
29701 cat >conftest.
$ac_ext <<_ACEOF
29704 cat confdefs.h
>>conftest.
$ac_ext
29705 cat >>conftest.
$ac_ext <<_ACEOF
29706 /* end confdefs.h. */
29707 $ac_includes_default
29713 if (sizeof (off_t))
29719 rm -f conftest.
$ac_objext
29720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29721 (eval $ac_compile) 2>conftest.er1
29723 grep -v '^ *+' conftest.er1
>conftest.err
29725 cat conftest.err
>&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); } &&
29728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29730 (eval $ac_try) 2>&5
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); }; } &&
29734 { ac_try
='test -s conftest.$ac_objext'
29735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29736 (eval $ac_try) 2>&5
29738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29739 (exit $ac_status); }; }; then
29740 ac_cv_type_off_t
=yes
29742 echo "$as_me: failed program was:" >&5
29743 sed 's/^/| /' conftest.
$ac_ext >&5
29745 ac_cv_type_off_t
=no
29747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29749 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29750 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29751 if test $ac_cv_type_off_t = yes; then
29755 cat >>confdefs.h
<<_ACEOF
29761 echo "$as_me:$LINENO: checking for pid_t" >&5
29762 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29763 if test "${ac_cv_type_pid_t+set}" = set; then
29764 echo $ECHO_N "(cached) $ECHO_C" >&6
29766 cat >conftest.
$ac_ext <<_ACEOF
29769 cat confdefs.h
>>conftest.
$ac_ext
29770 cat >>conftest.
$ac_ext <<_ACEOF
29771 /* end confdefs.h. */
29772 $ac_includes_default
29778 if (sizeof (pid_t))
29784 rm -f conftest.
$ac_objext
29785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29786 (eval $ac_compile) 2>conftest.er1
29788 grep -v '^ *+' conftest.er1
>conftest.err
29790 cat conftest.err
>&5
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); } &&
29793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29795 (eval $ac_try) 2>&5
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); }; } &&
29799 { ac_try
='test -s conftest.$ac_objext'
29800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801 (eval $ac_try) 2>&5
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); }; }; then
29805 ac_cv_type_pid_t
=yes
29807 echo "$as_me: failed program was:" >&5
29808 sed 's/^/| /' conftest.
$ac_ext >&5
29810 ac_cv_type_pid_t
=no
29812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29814 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29815 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29816 if test $ac_cv_type_pid_t = yes; then
29820 cat >>confdefs.h
<<_ACEOF
29826 echo "$as_me:$LINENO: checking for size_t" >&5
29827 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29828 if test "${ac_cv_type_size_t+set}" = set; then
29829 echo $ECHO_N "(cached) $ECHO_C" >&6
29831 cat >conftest.
$ac_ext <<_ACEOF
29834 cat confdefs.h
>>conftest.
$ac_ext
29835 cat >>conftest.
$ac_ext <<_ACEOF
29836 /* end confdefs.h. */
29837 $ac_includes_default
29843 if (sizeof (size_t))
29849 rm -f conftest.
$ac_objext
29850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29851 (eval $ac_compile) 2>conftest.er1
29853 grep -v '^ *+' conftest.er1
>conftest.err
29855 cat conftest.err
>&5
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); } &&
29858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29860 (eval $ac_try) 2>&5
29862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863 (exit $ac_status); }; } &&
29864 { ac_try
='test -s conftest.$ac_objext'
29865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29866 (eval $ac_try) 2>&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); }; }; then
29870 ac_cv_type_size_t
=yes
29872 echo "$as_me: failed program was:" >&5
29873 sed 's/^/| /' conftest.
$ac_ext >&5
29875 ac_cv_type_size_t
=no
29877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29879 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29880 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29881 if test $ac_cv_type_size_t = yes; then
29885 cat >>confdefs.h
<<_ACEOF
29886 #define size_t unsigned
29891 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29892 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29893 if test "${ac_cv_type_uid_t+set}" = set; then
29894 echo $ECHO_N "(cached) $ECHO_C" >&6
29896 cat >conftest.
$ac_ext <<_ACEOF
29899 cat confdefs.h
>>conftest.
$ac_ext
29900 cat >>conftest.
$ac_ext <<_ACEOF
29901 /* end confdefs.h. */
29902 #include <sys/types.h>
29905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29906 $EGREP "uid_t" >/dev
/null
2>&1; then
29907 ac_cv_type_uid_t
=yes
29909 ac_cv_type_uid_t
=no
29914 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29915 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29916 if test $ac_cv_type_uid_t = no
; then
29918 cat >>confdefs.h
<<\_ACEOF
29923 cat >>confdefs.h
<<\_ACEOF
29930 echo "$as_me:$LINENO: checking for ssize_t" >&5
29931 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29932 if test "${ac_cv_type_ssize_t+set}" = set; then
29933 echo $ECHO_N "(cached) $ECHO_C" >&6
29935 cat >conftest.
$ac_ext <<_ACEOF
29938 cat confdefs.h
>>conftest.
$ac_ext
29939 cat >>conftest.
$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29941 $ac_includes_default
29947 if (sizeof (ssize_t))
29953 rm -f conftest.
$ac_objext
29954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29955 (eval $ac_compile) 2>conftest.er1
29957 grep -v '^ *+' conftest.er1
>conftest.err
29959 cat conftest.err
>&5
29960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29961 (exit $ac_status); } &&
29962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29964 (eval $ac_try) 2>&5
29966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967 (exit $ac_status); }; } &&
29968 { ac_try
='test -s conftest.$ac_objext'
29969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29970 (eval $ac_try) 2>&5
29972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29973 (exit $ac_status); }; }; then
29974 ac_cv_type_ssize_t
=yes
29976 echo "$as_me: failed program was:" >&5
29977 sed 's/^/| /' conftest.
$ac_ext >&5
29979 ac_cv_type_ssize_t
=no
29981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29983 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29984 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29985 if test $ac_cv_type_ssize_t = yes; then
29987 cat >>confdefs.h
<<_ACEOF
29988 #define HAVE_SSIZE_T 1
29998 ac_cpp
='$CXXCPP $CPPFLAGS'
29999 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30000 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30001 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30003 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30004 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30005 if test "${wx_cv_size_t_is_uint+set}" = set; then
30006 echo $ECHO_N "(cached) $ECHO_C" >&6
30009 cat >conftest.
$ac_ext <<_ACEOF
30012 cat confdefs.h
>>conftest.
$ac_ext
30013 cat >>conftest.
$ac_ext <<_ACEOF
30014 /* end confdefs.h. */
30015 #include <stddef.h>
30022 struct Foo { void foo(size_t); void foo(unsigned int); };
30030 rm -f conftest.
$ac_objext
30031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30032 (eval $ac_compile) 2>conftest.er1
30034 grep -v '^ *+' conftest.er1
>conftest.err
30036 cat conftest.err
>&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); } &&
30039 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30041 (eval $ac_try) 2>&5
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); }; } &&
30045 { ac_try
='test -s conftest.$ac_objext'
30046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30047 (eval $ac_try) 2>&5
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); }; }; then
30051 wx_cv_size_t_is_uint
=no
30053 echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.
$ac_ext >&5
30056 wx_cv_size_t_is_uint
=yes
30059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30063 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30064 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30066 if test "$wx_cv_size_t_is_uint" = "yes"; then
30067 cat >>confdefs.h
<<\_ACEOF
30068 #define wxSIZE_T_IS_UINT 1
30072 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30073 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30074 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30075 echo $ECHO_N "(cached) $ECHO_C" >&6
30077 cat >conftest.
$ac_ext <<_ACEOF
30080 cat confdefs.h
>>conftest.
$ac_ext
30081 cat >>conftest.
$ac_ext <<_ACEOF
30082 /* end confdefs.h. */
30083 #include <stddef.h>
30090 struct Foo { void foo(size_t); void foo(unsigned long); };
30098 rm -f conftest.
$ac_objext
30099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30100 (eval $ac_compile) 2>conftest.er1
30102 grep -v '^ *+' conftest.er1
>conftest.err
30104 cat conftest.err
>&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } &&
30107 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; } &&
30113 { ac_try
='test -s conftest.$ac_objext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30119 wx_cv_size_t_is_ulong
=no
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.
$ac_ext >&5
30124 wx_cv_size_t_is_ulong
=yes
30127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30130 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30131 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30133 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30134 cat >>confdefs.h
<<\_ACEOF
30135 #define wxSIZE_T_IS_ULONG 1
30142 ac_cpp
='$CPP $CPPFLAGS'
30143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30149 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30150 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30151 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30152 echo $ECHO_N "(cached) $ECHO_C" >&6
30155 cat >conftest.
$ac_ext <<_ACEOF
30158 cat confdefs.h
>>conftest.
$ac_ext
30159 cat >>conftest.
$ac_ext <<_ACEOF
30160 /* end confdefs.h. */
30174 rm -f conftest.
$ac_objext
30175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30176 (eval $ac_compile) 2>conftest.er1
30178 grep -v '^ *+' conftest.er1
>conftest.err
30180 cat conftest.err
>&5
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); } &&
30183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185 (eval $ac_try) 2>&5
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); }; } &&
30189 { ac_try
='test -s conftest.$ac_objext'
30190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30191 (eval $ac_try) 2>&5
30193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30194 (exit $ac_status); }; }; then
30196 wx_cv_struct_pw_gecos
=yes
30199 echo "$as_me: failed program was:" >&5
30200 sed 's/^/| /' conftest.
$ac_ext >&5
30203 wx_cv_struct_pw_gecos
=no
30207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30211 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30212 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30214 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30215 cat >>confdefs.h
<<\_ACEOF
30216 #define HAVE_PW_GECOS 1
30222 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30223 cat >>confdefs.h
<<\_ACEOF
30224 #define wxUSE_WCHAR_T 1
30231 for ac_func
in wcslen
30233 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30234 echo "$as_me:$LINENO: checking for $ac_func" >&5
30235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30236 if eval "test \"\${$as_ac_var+set}\" = set"; then
30237 echo $ECHO_N "(cached) $ECHO_C" >&6
30239 cat >conftest.
$ac_ext <<_ACEOF
30242 cat confdefs.h
>>conftest.
$ac_ext
30243 cat >>conftest.
$ac_ext <<_ACEOF
30244 /* end confdefs.h. */
30245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30247 #define $ac_func innocuous_$ac_func
30249 /* System header to define __stub macros and hopefully few prototypes,
30250 which can conflict with char $ac_func (); below.
30251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30252 <limits.h> exists even on freestanding compilers. */
30255 # include <limits.h>
30257 # include <assert.h>
30262 /* Override any gcc2 internal prototype to avoid an error. */
30267 /* We use char because int might match the return type of a gcc2
30268 builtin and then its argument prototype would still apply. */
30270 /* The GNU C library defines this for functions which it implements
30271 to always fail with ENOSYS. Some functions are actually named
30272 something starting with __ and the normal name is an alias. */
30273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30276 char (*f) () = $ac_func;
30285 return f != $ac_func;
30290 rm -f conftest.
$ac_objext conftest
$ac_exeext
30291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30292 (eval $ac_link) 2>conftest.er1
30294 grep -v '^ *+' conftest.er1
>conftest.err
30296 cat conftest.err
>&5
30297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30298 (exit $ac_status); } &&
30299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30301 (eval $ac_try) 2>&5
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); }; } &&
30305 { ac_try
='test -s conftest$ac_exeext'
30306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30307 (eval $ac_try) 2>&5
30309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30310 (exit $ac_status); }; }; then
30311 eval "$as_ac_var=yes"
30313 echo "$as_me: failed program was:" >&5
30314 sed 's/^/| /' conftest.
$ac_ext >&5
30316 eval "$as_ac_var=no"
30318 rm -f conftest.err conftest.
$ac_objext \
30319 conftest
$ac_exeext conftest.
$ac_ext
30321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30323 if test `eval echo '${'$as_ac_var'}'` = yes; then
30324 cat >>confdefs.h
<<_ACEOF
30325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30332 if test "$WCSLEN_FOUND" = 0; then
30333 if test "$TOOLKIT" = "MSW"; then
30334 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30335 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30336 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30337 echo $ECHO_N "(cached) $ECHO_C" >&6
30339 ac_check_lib_save_LIBS
=$LIBS
30340 LIBS
="-lmsvcrt $LIBS"
30341 cat >conftest.
$ac_ext <<_ACEOF
30344 cat confdefs.h
>>conftest.
$ac_ext
30345 cat >>conftest.
$ac_ext <<_ACEOF
30346 /* end confdefs.h. */
30348 /* Override any gcc2 internal prototype to avoid an error. */
30352 /* We use char because int might match the return type of a gcc2
30353 builtin and then its argument prototype would still apply. */
30363 rm -f conftest.
$ac_objext conftest
$ac_exeext
30364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30365 (eval $ac_link) 2>conftest.er1
30367 grep -v '^ *+' conftest.er1
>conftest.err
30369 cat conftest.err
>&5
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); } &&
30372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30374 (eval $ac_try) 2>&5
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); }; } &&
30378 { ac_try
='test -s conftest$ac_exeext'
30379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30380 (eval $ac_try) 2>&5
30382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30383 (exit $ac_status); }; }; then
30384 ac_cv_lib_msvcrt_wcslen
=yes
30386 echo "$as_me: failed program was:" >&5
30387 sed 's/^/| /' conftest.
$ac_ext >&5
30389 ac_cv_lib_msvcrt_wcslen
=no
30391 rm -f conftest.err conftest.
$ac_objext \
30392 conftest
$ac_exeext conftest.
$ac_ext
30393 LIBS
=$ac_check_lib_save_LIBS
30395 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30396 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30397 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30402 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30403 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30404 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30405 echo $ECHO_N "(cached) $ECHO_C" >&6
30407 ac_check_lib_save_LIBS
=$LIBS
30409 cat >conftest.
$ac_ext <<_ACEOF
30412 cat confdefs.h
>>conftest.
$ac_ext
30413 cat >>conftest.
$ac_ext <<_ACEOF
30414 /* end confdefs.h. */
30416 /* Override any gcc2 internal prototype to avoid an error. */
30420 /* We use char because int might match the return type of a gcc2
30421 builtin and then its argument prototype would still apply. */
30431 rm -f conftest.
$ac_objext conftest
$ac_exeext
30432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30433 (eval $ac_link) 2>conftest.er1
30435 grep -v '^ *+' conftest.er1
>conftest.err
30437 cat conftest.err
>&5
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); } &&
30440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30442 (eval $ac_try) 2>&5
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; } &&
30446 { ac_try
='test -s conftest$ac_exeext'
30447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30448 (eval $ac_try) 2>&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); }; }; then
30452 ac_cv_lib_w_wcslen
=yes
30454 echo "$as_me: failed program was:" >&5
30455 sed 's/^/| /' conftest.
$ac_ext >&5
30457 ac_cv_lib_w_wcslen
=no
30459 rm -f conftest.err conftest.
$ac_objext \
30460 conftest
$ac_exeext conftest.
$ac_ext
30461 LIBS
=$ac_check_lib_save_LIBS
30463 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30464 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30465 if test $ac_cv_lib_w_wcslen = yes; then
30475 if test "$WCSLEN_FOUND" = 1; then
30476 cat >>confdefs.h
<<\_ACEOF
30477 #define HAVE_WCSLEN 1
30482 if test "$USE_HPUX" = 1; then
30483 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30487 for ac_func
in wcsrtombs
30489 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30490 echo "$as_me:$LINENO: checking for $ac_func" >&5
30491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30492 if eval "test \"\${$as_ac_var+set}\" = set"; then
30493 echo $ECHO_N "(cached) $ECHO_C" >&6
30495 cat >conftest.
$ac_ext <<_ACEOF
30498 cat confdefs.h
>>conftest.
$ac_ext
30499 cat >>conftest.
$ac_ext <<_ACEOF
30500 /* end confdefs.h. */
30501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30503 #define $ac_func innocuous_$ac_func
30505 /* System header to define __stub macros and hopefully few prototypes,
30506 which can conflict with char $ac_func (); below.
30507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30508 <limits.h> exists even on freestanding compilers. */
30511 # include <limits.h>
30513 # include <assert.h>
30518 /* Override any gcc2 internal prototype to avoid an error. */
30523 /* We use char because int might match the return type of a gcc2
30524 builtin and then its argument prototype would still apply. */
30526 /* The GNU C library defines this for functions which it implements
30527 to always fail with ENOSYS. Some functions are actually named
30528 something starting with __ and the normal name is an alias. */
30529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30532 char (*f) () = $ac_func;
30541 return f != $ac_func;
30546 rm -f conftest.
$ac_objext conftest
$ac_exeext
30547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30548 (eval $ac_link) 2>conftest.er1
30550 grep -v '^ *+' conftest.er1
>conftest.err
30552 cat conftest.err
>&5
30553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30554 (exit $ac_status); } &&
30555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30557 (eval $ac_try) 2>&5
30559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560 (exit $ac_status); }; } &&
30561 { ac_try
='test -s conftest$ac_exeext'
30562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30563 (eval $ac_try) 2>&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); }; }; then
30567 eval "$as_ac_var=yes"
30569 echo "$as_me: failed program was:" >&5
30570 sed 's/^/| /' conftest.
$ac_ext >&5
30572 eval "$as_ac_var=no"
30574 rm -f conftest.err conftest.
$ac_objext \
30575 conftest
$ac_exeext conftest.
$ac_ext
30577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30579 if test `eval echo '${'$as_ac_var'}'` = yes; then
30580 cat >>confdefs.h
<<_ACEOF
30581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30588 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30589 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30595 ac_cpp
='$CXXCPP $CPPFLAGS'
30596 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30602 for ac_func
in vsnprintf
30604 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30605 echo "$as_me:$LINENO: checking for $ac_func" >&5
30606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30607 if eval "test \"\${$as_ac_var+set}\" = set"; then
30608 echo $ECHO_N "(cached) $ECHO_C" >&6
30610 cat >conftest.
$ac_ext <<_ACEOF
30613 cat confdefs.h
>>conftest.
$ac_ext
30614 cat >>conftest.
$ac_ext <<_ACEOF
30615 /* end confdefs.h. */
30616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30618 #define $ac_func innocuous_$ac_func
30620 /* System header to define __stub macros and hopefully few prototypes,
30621 which can conflict with char $ac_func (); below.
30622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30623 <limits.h> exists even on freestanding compilers. */
30626 # include <limits.h>
30628 # include <assert.h>
30633 /* Override any gcc2 internal prototype to avoid an error. */
30638 /* We use char because int might match the return type of a gcc2
30639 builtin and then its argument prototype would still apply. */
30641 /* The GNU C library defines this for functions which it implements
30642 to always fail with ENOSYS. Some functions are actually named
30643 something starting with __ and the normal name is an alias. */
30644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30647 char (*f) () = $ac_func;
30656 return f != $ac_func;
30661 rm -f conftest.
$ac_objext conftest
$ac_exeext
30662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30663 (eval $ac_link) 2>conftest.er1
30665 grep -v '^ *+' conftest.er1
>conftest.err
30667 cat conftest.err
>&5
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); } &&
30670 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30672 (eval $ac_try) 2>&5
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); }; } &&
30676 { ac_try
='test -s conftest$ac_exeext'
30677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30678 (eval $ac_try) 2>&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); }; }; then
30682 eval "$as_ac_var=yes"
30684 echo "$as_me: failed program was:" >&5
30685 sed 's/^/| /' conftest.
$ac_ext >&5
30687 eval "$as_ac_var=no"
30689 rm -f conftest.err conftest.
$ac_objext \
30690 conftest
$ac_exeext conftest.
$ac_ext
30692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30694 if test `eval echo '${'$as_ac_var'}'` = yes; then
30695 cat >>confdefs.h
<<_ACEOF
30696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30703 if test "$ac_cv_func_vsnprintf" = "yes"; then
30704 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30705 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30706 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30707 echo $ECHO_N "(cached) $ECHO_C" >&6
30710 cat >conftest.
$ac_ext <<_ACEOF
30713 cat confdefs.h
>>conftest.
$ac_ext
30714 cat >>conftest.
$ac_ext <<_ACEOF
30715 /* end confdefs.h. */
30718 #include <stdarg.h>
30726 vsnprintf(buf, 10u, "%s", ap);
30732 rm -f conftest.
$ac_objext
30733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30734 (eval $ac_compile) 2>conftest.er1
30736 grep -v '^ *+' conftest.er1
>conftest.err
30738 cat conftest.err
>&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } &&
30741 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30743 (eval $ac_try) 2>&5
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); }; } &&
30747 { ac_try
='test -s conftest.$ac_objext'
30748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30749 (eval $ac_try) 2>&5
30751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30752 (exit $ac_status); }; }; then
30753 wx_cv_func_vsnprintf_decl
=yes
30755 echo "$as_me: failed program was:" >&5
30756 sed 's/^/| /' conftest.
$ac_ext >&5
30759 cat >conftest.
$ac_ext <<_ACEOF
30762 cat confdefs.h
>>conftest.
$ac_ext
30763 cat >>conftest.
$ac_ext <<_ACEOF
30764 /* end confdefs.h. */
30767 #include <stdarg.h>
30768 using namespace std;
30776 vsnprintf(buf, 10u, "%s", ap);
30782 rm -f conftest.
$ac_objext
30783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30784 (eval $ac_compile) 2>conftest.er1
30786 grep -v '^ *+' conftest.er1
>conftest.err
30788 cat conftest.err
>&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); } &&
30791 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793 (eval $ac_try) 2>&5
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; } &&
30797 { ac_try
='test -s conftest.$ac_objext'
30798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30799 (eval $ac_try) 2>&5
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); }; }; then
30803 wx_cv_func_vsnprintf_decl
=yes
30805 echo "$as_me: failed program was:" >&5
30806 sed 's/^/| /' conftest.
$ac_ext >&5
30808 wx_cv_func_vsnprintf_decl
=no
30811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30819 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30820 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30822 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30823 cat >>confdefs.h
<<\_ACEOF
30824 #define HAVE_VSNPRINTF_DECL 1
30830 if test "$wxUSE_UNICODE" = yes; then
30837 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
30839 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30840 echo "$as_me:$LINENO: checking for $ac_func" >&5
30841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30842 if eval "test \"\${$as_ac_var+set}\" = set"; then
30843 echo $ECHO_N "(cached) $ECHO_C" >&6
30845 cat >conftest.
$ac_ext <<_ACEOF
30848 cat confdefs.h
>>conftest.
$ac_ext
30849 cat >>conftest.
$ac_ext <<_ACEOF
30850 /* end confdefs.h. */
30851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30853 #define $ac_func innocuous_$ac_func
30855 /* System header to define __stub macros and hopefully few prototypes,
30856 which can conflict with char $ac_func (); below.
30857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30858 <limits.h> exists even on freestanding compilers. */
30861 # include <limits.h>
30863 # include <assert.h>
30868 /* Override any gcc2 internal prototype to avoid an error. */
30873 /* We use char because int might match the return type of a gcc2
30874 builtin and then its argument prototype would still apply. */
30876 /* The GNU C library defines this for functions which it implements
30877 to always fail with ENOSYS. Some functions are actually named
30878 something starting with __ and the normal name is an alias. */
30879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30882 char (*f) () = $ac_func;
30891 return f != $ac_func;
30896 rm -f conftest.
$ac_objext conftest
$ac_exeext
30897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30898 (eval $ac_link) 2>conftest.er1
30900 grep -v '^ *+' conftest.er1
>conftest.err
30902 cat conftest.err
>&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); } &&
30905 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; } &&
30911 { ac_try
='test -s conftest$ac_exeext'
30912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30913 (eval $ac_try) 2>&5
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; }; then
30917 eval "$as_ac_var=yes"
30919 echo "$as_me: failed program was:" >&5
30920 sed 's/^/| /' conftest.
$ac_ext >&5
30922 eval "$as_ac_var=no"
30924 rm -f conftest.err conftest.
$ac_objext \
30925 conftest
$ac_exeext conftest.
$ac_ext
30927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30929 if test `eval echo '${'$as_ac_var'}'` = yes; then
30930 cat >>confdefs.h
<<_ACEOF
30931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30938 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30939 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30940 cat >conftest.
$ac_ext <<_ACEOF
30943 cat confdefs.h
>>conftest.
$ac_ext
30944 cat >>conftest.
$ac_ext <<_ACEOF
30945 /* end confdefs.h. */
30955 rm -f conftest.
$ac_objext
30956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30957 (eval $ac_compile) 2>conftest.er1
30959 grep -v '^ *+' conftest.er1
>conftest.err
30961 cat conftest.err
>&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); } &&
30964 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30966 (eval $ac_try) 2>&5
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); }; } &&
30970 { ac_try
='test -s conftest.$ac_objext'
30971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972 (eval $ac_try) 2>&5
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; }; then
30976 echo "$as_me:$LINENO: result: yes" >&5
30977 echo "${ECHO_T}yes" >&6
30978 cat >>confdefs.h
<<\_ACEOF
30979 #define HAVE__VSNWPRINTF 1
30983 echo "$as_me: failed program was:" >&5
30984 sed 's/^/| /' conftest.
$ac_ext >&5
30986 echo "$as_me:$LINENO: result: no" >&5
30987 echo "${ECHO_T}no" >&6
30989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30993 ac_cpp
='$CPP $CPPFLAGS'
30994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31001 if test "$TOOLKIT" != "MSW"; then
31007 ac_cpp
='$CXXCPP $CPPFLAGS'
31008 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31009 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31010 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31015 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31016 if test "${with_libiconv_prefix+set}" = set; then
31017 withval
="$with_libiconv_prefix"
31019 for dir
in `echo "$withval" | tr : ' '`; do
31020 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31021 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31026 echo "$as_me:$LINENO: checking for iconv" >&5
31027 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31028 if test "${am_cv_func_iconv+set}" = set; then
31029 echo $ECHO_N "(cached) $ECHO_C" >&6
31032 am_cv_func_iconv
="no, consider installing GNU libiconv"
31034 cat >conftest.
$ac_ext <<_ACEOF
31037 cat confdefs.h
>>conftest.
$ac_ext
31038 cat >>conftest.
$ac_ext <<_ACEOF
31039 /* end confdefs.h. */
31040 #include <stdlib.h>
31045 iconv_t cd = iconv_open("","");
31046 iconv(cd,NULL,NULL,NULL,NULL);
31052 rm -f conftest.
$ac_objext conftest
$ac_exeext
31053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31054 (eval $ac_link) 2>conftest.er1
31056 grep -v '^ *+' conftest.er1
>conftest.err
31058 cat conftest.err
>&5
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); } &&
31061 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31063 (eval $ac_try) 2>&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); }; } &&
31067 { ac_try
='test -s conftest$ac_exeext'
31068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31069 (eval $ac_try) 2>&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); }; }; then
31073 am_cv_func_iconv
=yes
31075 echo "$as_me: failed program was:" >&5
31076 sed 's/^/| /' conftest.
$ac_ext >&5
31079 rm -f conftest.err conftest.
$ac_objext \
31080 conftest
$ac_exeext conftest.
$ac_ext
31081 if test "$am_cv_func_iconv" != yes; then
31082 am_save_LIBS
="$LIBS"
31083 LIBS
="$LIBS -liconv"
31084 cat >conftest.
$ac_ext <<_ACEOF
31087 cat confdefs.h
>>conftest.
$ac_ext
31088 cat >>conftest.
$ac_ext <<_ACEOF
31089 /* end confdefs.h. */
31090 #include <stdlib.h>
31095 iconv_t cd = iconv_open("","");
31096 iconv(cd,NULL,NULL,NULL,NULL);
31102 rm -f conftest.
$ac_objext conftest
$ac_exeext
31103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31104 (eval $ac_link) 2>conftest.er1
31106 grep -v '^ *+' conftest.er1
>conftest.err
31108 cat conftest.err
>&5
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); } &&
31111 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31113 (eval $ac_try) 2>&5
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); }; } &&
31117 { ac_try
='test -s conftest$ac_exeext'
31118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); }; }; then
31123 am_cv_lib_iconv
=yes
31124 am_cv_func_iconv
=yes
31126 echo "$as_me: failed program was:" >&5
31127 sed 's/^/| /' conftest.
$ac_ext >&5
31130 rm -f conftest.err conftest.
$ac_objext \
31131 conftest
$ac_exeext conftest.
$ac_ext
31132 LIBS
="$am_save_LIBS"
31136 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31137 echo "${ECHO_T}$am_cv_func_iconv" >&6
31138 if test "$am_cv_func_iconv" = yes; then
31140 cat >>confdefs.h
<<\_ACEOF
31141 #define HAVE_ICONV 1
31144 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31145 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31146 if test "${wx_cv_func_iconv_const+set}" = set; then
31147 echo $ECHO_N "(cached) $ECHO_C" >&6
31149 cat >conftest.
$ac_ext <<_ACEOF
31152 cat confdefs.h
>>conftest.
$ac_ext
31153 cat >>conftest.
$ac_ext <<_ACEOF
31154 /* end confdefs.h. */
31156 #include <stdlib.h>
31162 #if defined(__STDC__) || defined(__cplusplus)
31163 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31176 rm -f conftest.
$ac_objext
31177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31178 (eval $ac_compile) 2>conftest.er1
31180 grep -v '^ *+' conftest.er1
>conftest.err
31182 cat conftest.err
>&5
31183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184 (exit $ac_status); } &&
31185 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31187 (eval $ac_try) 2>&5
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); }; } &&
31191 { ac_try
='test -s conftest.$ac_objext'
31192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31193 (eval $ac_try) 2>&5
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; }; then
31197 wx_cv_func_iconv_const
="no"
31199 echo "$as_me: failed program was:" >&5
31200 sed 's/^/| /' conftest.
$ac_ext >&5
31202 wx_cv_func_iconv_const
="yes"
31205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31208 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31209 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31212 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31213 iconv_const
="const"
31217 cat >>confdefs.h
<<_ACEOF
31218 #define ICONV_CONST $iconv_const
31223 if test "$am_cv_lib_iconv" = yes; then
31228 LIBS
="$LIBICONV $LIBS"
31230 ac_cpp
='$CPP $CPPFLAGS'
31231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31236 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31238 for ac_func
in sigaction
31240 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31241 echo "$as_me:$LINENO: checking for $ac_func" >&5
31242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31243 if eval "test \"\${$as_ac_var+set}\" = set"; then
31244 echo $ECHO_N "(cached) $ECHO_C" >&6
31246 cat >conftest.
$ac_ext <<_ACEOF
31249 cat confdefs.h
>>conftest.
$ac_ext
31250 cat >>conftest.
$ac_ext <<_ACEOF
31251 /* end confdefs.h. */
31252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31254 #define $ac_func innocuous_$ac_func
31256 /* System header to define __stub macros and hopefully few prototypes,
31257 which can conflict with char $ac_func (); below.
31258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31259 <limits.h> exists even on freestanding compilers. */
31262 # include <limits.h>
31264 # include <assert.h>
31269 /* Override any gcc2 internal prototype to avoid an error. */
31274 /* We use char because int might match the return type of a gcc2
31275 builtin and then its argument prototype would still apply. */
31277 /* The GNU C library defines this for functions which it implements
31278 to always fail with ENOSYS. Some functions are actually named
31279 something starting with __ and the normal name is an alias. */
31280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31283 char (*f) () = $ac_func;
31292 return f != $ac_func;
31297 rm -f conftest.
$ac_objext conftest
$ac_exeext
31298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31299 (eval $ac_link) 2>conftest.er1
31301 grep -v '^ *+' conftest.er1
>conftest.err
31303 cat conftest.err
>&5
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); } &&
31306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; } &&
31312 { ac_try
='test -s conftest$ac_exeext'
31313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31314 (eval $ac_try) 2>&5
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); }; }; then
31318 eval "$as_ac_var=yes"
31320 echo "$as_me: failed program was:" >&5
31321 sed 's/^/| /' conftest.
$ac_ext >&5
31323 eval "$as_ac_var=no"
31325 rm -f conftest.err conftest.
$ac_objext \
31326 conftest
$ac_exeext conftest.
$ac_ext
31328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31330 if test `eval echo '${'$as_ac_var'}'` = yes; then
31331 cat >>confdefs.h
<<_ACEOF
31332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31339 if test "$ac_cv_func_sigaction" = "no"; then
31340 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31341 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31342 wxUSE_ON_FATAL_EXCEPTION
=no
31345 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31349 ac_cpp
='$CXXCPP $CPPFLAGS'
31350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31355 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31356 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31357 if test "${wx_cv_type_sa_handler+set}" = set; then
31358 echo $ECHO_N "(cached) $ECHO_C" >&6
31361 cat >conftest.
$ac_ext <<_ACEOF
31364 cat confdefs.h
>>conftest.
$ac_ext
31365 cat >>conftest.
$ac_ext <<_ACEOF
31366 /* end confdefs.h. */
31367 #include <signal.h>
31372 extern void testSigHandler(int);
31374 struct sigaction sa;
31375 sa.sa_handler = testSigHandler;
31381 rm -f conftest.
$ac_objext
31382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31383 (eval $ac_compile) 2>conftest.er1
31385 grep -v '^ *+' conftest.er1
>conftest.err
31387 cat conftest.err
>&5
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); } &&
31390 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392 (eval $ac_try) 2>&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); }; } &&
31396 { ac_try
='test -s conftest.$ac_objext'
31397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31398 (eval $ac_try) 2>&5
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); }; }; then
31403 wx_cv_type_sa_handler
=int
31406 echo "$as_me: failed program was:" >&5
31407 sed 's/^/| /' conftest.
$ac_ext >&5
31410 wx_cv_type_sa_handler
=void
31413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31416 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31417 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31420 ac_cpp
='$CPP $CPPFLAGS'
31421 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31422 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31423 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31426 cat >>confdefs.h
<<_ACEOF
31427 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31433 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31437 ac_cpp
='$CXXCPP $CPPFLAGS'
31438 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31439 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31440 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31443 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31444 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31445 if test "${wx_cv_func_backtrace+set}" = set; then
31446 echo $ECHO_N "(cached) $ECHO_C" >&6
31449 cat >conftest.
$ac_ext <<_ACEOF
31452 cat confdefs.h
>>conftest.
$ac_ext
31453 cat >>conftest.
$ac_ext <<_ACEOF
31454 /* end confdefs.h. */
31455 #include <execinfo.h>
31463 backtrace(trace, 1);
31464 messages = backtrace_symbols(trace, 1);
31470 rm -f conftest.
$ac_objext
31471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31472 (eval $ac_compile) 2>conftest.er1
31474 grep -v '^ *+' conftest.er1
>conftest.err
31476 cat conftest.err
>&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); } &&
31479 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481 (eval $ac_try) 2>&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); }; } &&
31485 { ac_try
='test -s conftest.$ac_objext'
31486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487 (eval $ac_try) 2>&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; }; then
31491 wx_cv_func_backtrace
=yes
31493 echo "$as_me: failed program was:" >&5
31494 sed 's/^/| /' conftest.
$ac_ext >&5
31496 wx_cv_func_backtrace
=no
31499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31503 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31504 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31507 if test "$wx_cv_func_backtrace" = "no"; then
31508 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31509 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31510 wxUSE_STACKWALKER
=no
31512 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31513 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31514 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31515 echo $ECHO_N "(cached) $ECHO_C" >&6
31518 cat >conftest.
$ac_ext <<_ACEOF
31521 cat confdefs.h
>>conftest.
$ac_ext
31522 cat >>conftest.
$ac_ext <<_ACEOF
31523 /* end confdefs.h. */
31524 #include <cxxabi.h>
31530 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31536 rm -f conftest.
$ac_objext
31537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31538 (eval $ac_compile) 2>conftest.er1
31540 grep -v '^ *+' conftest.er1
>conftest.err
31542 cat conftest.err
>&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); } &&
31545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31547 (eval $ac_try) 2>&5
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); }; } &&
31551 { ac_try
='test -s conftest.$ac_objext'
31552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31553 (eval $ac_try) 2>&5
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); }; }; then
31557 wx_cv_func_cxa_demangle
=yes
31559 echo "$as_me: failed program was:" >&5
31560 sed 's/^/| /' conftest.
$ac_ext >&5
31562 wx_cv_func_cxa_demangle
=no
31565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31569 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31570 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31572 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31573 cat >>confdefs.h
<<\_ACEOF
31574 #define HAVE_CXA_DEMANGLE 1
31581 ac_cpp
='$CPP $CPPFLAGS'
31582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31590 for ac_func
in mkstemp mktemp
31592 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31593 echo "$as_me:$LINENO: checking for $ac_func" >&5
31594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31595 if eval "test \"\${$as_ac_var+set}\" = set"; then
31596 echo $ECHO_N "(cached) $ECHO_C" >&6
31598 cat >conftest.
$ac_ext <<_ACEOF
31601 cat confdefs.h
>>conftest.
$ac_ext
31602 cat >>conftest.
$ac_ext <<_ACEOF
31603 /* end confdefs.h. */
31604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31606 #define $ac_func innocuous_$ac_func
31608 /* System header to define __stub macros and hopefully few prototypes,
31609 which can conflict with char $ac_func (); below.
31610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31611 <limits.h> exists even on freestanding compilers. */
31614 # include <limits.h>
31616 # include <assert.h>
31621 /* Override any gcc2 internal prototype to avoid an error. */
31626 /* We use char because int might match the return type of a gcc2
31627 builtin and then its argument prototype would still apply. */
31629 /* The GNU C library defines this for functions which it implements
31630 to always fail with ENOSYS. Some functions are actually named
31631 something starting with __ and the normal name is an alias. */
31632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31635 char (*f) () = $ac_func;
31644 return f != $ac_func;
31649 rm -f conftest.
$ac_objext conftest
$ac_exeext
31650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31651 (eval $ac_link) 2>conftest.er1
31653 grep -v '^ *+' conftest.er1
>conftest.err
31655 cat conftest.err
>&5
31656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31657 (exit $ac_status); } &&
31658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31660 (eval $ac_try) 2>&5
31662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31663 (exit $ac_status); }; } &&
31664 { ac_try
='test -s conftest$ac_exeext'
31665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31666 (eval $ac_try) 2>&5
31668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 (exit $ac_status); }; }; then
31670 eval "$as_ac_var=yes"
31672 echo "$as_me: failed program was:" >&5
31673 sed 's/^/| /' conftest.
$ac_ext >&5
31675 eval "$as_ac_var=no"
31677 rm -f conftest.err conftest.
$ac_objext \
31678 conftest
$ac_exeext conftest.
$ac_ext
31680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31682 if test `eval echo '${'$as_ac_var'}'` = yes; then
31683 cat >>confdefs.h
<<_ACEOF
31684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31691 echo "$as_me:$LINENO: checking for statfs" >&5
31692 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31693 if test "${wx_cv_func_statfs+set}" = set; then
31694 echo $ECHO_N "(cached) $ECHO_C" >&6
31696 cat >conftest.
$ac_ext <<_ACEOF
31699 cat confdefs.h
>>conftest.
$ac_ext
31700 cat >>conftest.
$ac_ext <<_ACEOF
31701 /* end confdefs.h. */
31703 #if defined(__BSD__)
31704 #include <sys/param.h>
31705 #include <sys/mount.h>
31707 #include <sys/vfs.h>
31725 rm -f conftest.
$ac_objext
31726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31727 (eval $ac_compile) 2>conftest.er1
31729 grep -v '^ *+' conftest.er1
>conftest.err
31731 cat conftest.err
>&5
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); } &&
31734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31736 (eval $ac_try) 2>&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); }; } &&
31740 { ac_try
='test -s conftest.$ac_objext'
31741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31742 (eval $ac_try) 2>&5
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); }; }; then
31747 wx_cv_func_statfs
=yes
31750 echo "$as_me: failed program was:" >&5
31751 sed 's/^/| /' conftest.
$ac_ext >&5
31754 wx_cv_func_statfs
=no
31758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31761 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31762 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31764 if test "$wx_cv_func_statfs" = "yes"; then
31765 wx_cv_type_statvfs_t
="struct statfs"
31766 cat >>confdefs.h
<<\_ACEOF
31767 #define HAVE_STATFS 1
31771 echo "$as_me:$LINENO: checking for statvfs" >&5
31772 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31773 if test "${wx_cv_func_statvfs+set}" = set; then
31774 echo $ECHO_N "(cached) $ECHO_C" >&6
31776 cat >conftest.
$ac_ext <<_ACEOF
31779 cat confdefs.h
>>conftest.
$ac_ext
31780 cat >>conftest.
$ac_ext <<_ACEOF
31781 /* end confdefs.h. */
31783 #include <stddef.h>
31784 #include <sys/statvfs.h>
31790 statvfs("/", NULL);
31796 rm -f conftest.
$ac_objext
31797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31798 (eval $ac_compile) 2>conftest.er1
31800 grep -v '^ *+' conftest.er1
>conftest.err
31802 cat conftest.err
>&5
31803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31804 (exit $ac_status); } &&
31805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31807 (eval $ac_try) 2>&5
31809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31810 (exit $ac_status); }; } &&
31811 { ac_try
='test -s conftest.$ac_objext'
31812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31813 (eval $ac_try) 2>&5
31815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816 (exit $ac_status); }; }; then
31817 wx_cv_func_statvfs
=yes
31819 echo "$as_me: failed program was:" >&5
31820 sed 's/^/| /' conftest.
$ac_ext >&5
31822 wx_cv_func_statvfs
=no
31825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31828 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31829 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31831 if test "$wx_cv_func_statvfs" = "yes"; then
31835 ac_cpp
='$CXXCPP $CPPFLAGS'
31836 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31837 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31838 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31841 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31842 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31843 if test "${wx_cv_type_statvfs_t+set}" = set; then
31844 echo $ECHO_N "(cached) $ECHO_C" >&6
31846 cat >conftest.
$ac_ext <<_ACEOF
31849 cat confdefs.h
>>conftest.
$ac_ext
31850 cat >>conftest.
$ac_ext <<_ACEOF
31851 /* end confdefs.h. */
31853 #include <sys/statvfs.h>
31870 rm -f conftest.
$ac_objext
31871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31872 (eval $ac_compile) 2>conftest.er1
31874 grep -v '^ *+' conftest.er1
>conftest.err
31876 cat conftest.err
>&5
31877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31878 (exit $ac_status); } &&
31879 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31881 (eval $ac_try) 2>&5
31883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31884 (exit $ac_status); }; } &&
31885 { ac_try
='test -s conftest.$ac_objext'
31886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31887 (eval $ac_try) 2>&5
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); }; }; then
31891 wx_cv_type_statvfs_t
=statvfs_t
31893 echo "$as_me: failed program was:" >&5
31894 sed 's/^/| /' conftest.
$ac_ext >&5
31897 cat >conftest.
$ac_ext <<_ACEOF
31900 cat confdefs.h
>>conftest.
$ac_ext
31901 cat >>conftest.
$ac_ext <<_ACEOF
31902 /* end confdefs.h. */
31904 #include <sys/statvfs.h>
31921 rm -f conftest.
$ac_objext
31922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31923 (eval $ac_compile) 2>conftest.er1
31925 grep -v '^ *+' conftest.er1
>conftest.err
31927 cat conftest.err
>&5
31928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31929 (exit $ac_status); } &&
31930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31932 (eval $ac_try) 2>&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); }; } &&
31936 { ac_try
='test -s conftest.$ac_objext'
31937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31938 (eval $ac_try) 2>&5
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); }; }; then
31942 wx_cv_type_statvfs_t
="struct statvfs"
31944 echo "$as_me: failed program was:" >&5
31945 sed 's/^/| /' conftest.
$ac_ext >&5
31947 wx_cv_type_statvfs_t
="unknown"
31950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31957 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31958 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31961 ac_cpp
='$CPP $CPPFLAGS'
31962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31967 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31968 cat >>confdefs.h
<<\_ACEOF
31969 #define HAVE_STATVFS 1
31974 wx_cv_type_statvfs_t
="unknown"
31978 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31979 cat >>confdefs.h
<<_ACEOF
31980 #define WX_STATFS_T $wx_cv_type_statvfs_t
31984 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31985 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31988 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31991 for ac_func
in fcntl flock
31993 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31994 echo "$as_me:$LINENO: checking for $ac_func" >&5
31995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31996 if eval "test \"\${$as_ac_var+set}\" = set"; then
31997 echo $ECHO_N "(cached) $ECHO_C" >&6
31999 cat >conftest.
$ac_ext <<_ACEOF
32002 cat confdefs.h
>>conftest.
$ac_ext
32003 cat >>conftest.
$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32007 #define $ac_func innocuous_$ac_func
32009 /* System header to define __stub macros and hopefully few prototypes,
32010 which can conflict with char $ac_func (); below.
32011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32012 <limits.h> exists even on freestanding compilers. */
32015 # include <limits.h>
32017 # include <assert.h>
32022 /* Override any gcc2 internal prototype to avoid an error. */
32027 /* We use char because int might match the return type of a gcc2
32028 builtin and then its argument prototype would still apply. */
32030 /* The GNU C library defines this for functions which it implements
32031 to always fail with ENOSYS. Some functions are actually named
32032 something starting with __ and the normal name is an alias. */
32033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32036 char (*f) () = $ac_func;
32045 return f != $ac_func;
32050 rm -f conftest.
$ac_objext conftest
$ac_exeext
32051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32052 (eval $ac_link) 2>conftest.er1
32054 grep -v '^ *+' conftest.er1
>conftest.err
32056 cat conftest.err
>&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32061 (eval $ac_try) 2>&5
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); }; } &&
32065 { ac_try
='test -s conftest$ac_exeext'
32066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32067 (eval $ac_try) 2>&5
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); }; }; then
32071 eval "$as_ac_var=yes"
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.
$ac_ext >&5
32076 eval "$as_ac_var=no"
32078 rm -f conftest.err conftest.
$ac_objext \
32079 conftest
$ac_exeext conftest.
$ac_ext
32081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32083 if test `eval echo '${'$as_ac_var'}'` = yes; then
32084 cat >>confdefs.h
<<_ACEOF
32085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32092 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32093 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32094 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32095 wxUSE_SNGLINST_CHECKER
=no
32100 for ac_func
in timegm
32102 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32103 echo "$as_me:$LINENO: checking for $ac_func" >&5
32104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32105 if eval "test \"\${$as_ac_var+set}\" = set"; then
32106 echo $ECHO_N "(cached) $ECHO_C" >&6
32108 cat >conftest.
$ac_ext <<_ACEOF
32111 cat confdefs.h
>>conftest.
$ac_ext
32112 cat >>conftest.
$ac_ext <<_ACEOF
32113 /* end confdefs.h. */
32114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32116 #define $ac_func innocuous_$ac_func
32118 /* System header to define __stub macros and hopefully few prototypes,
32119 which can conflict with char $ac_func (); below.
32120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32121 <limits.h> exists even on freestanding compilers. */
32124 # include <limits.h>
32126 # include <assert.h>
32131 /* Override any gcc2 internal prototype to avoid an error. */
32136 /* We use char because int might match the return type of a gcc2
32137 builtin and then its argument prototype would still apply. */
32139 /* The GNU C library defines this for functions which it implements
32140 to always fail with ENOSYS. Some functions are actually named
32141 something starting with __ and the normal name is an alias. */
32142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32145 char (*f) () = $ac_func;
32154 return f != $ac_func;
32159 rm -f conftest.
$ac_objext conftest
$ac_exeext
32160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32161 (eval $ac_link) 2>conftest.er1
32163 grep -v '^ *+' conftest.er1
>conftest.err
32165 cat conftest.err
>&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); } &&
32168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32170 (eval $ac_try) 2>&5
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); }; } &&
32174 { ac_try
='test -s conftest$ac_exeext'
32175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32176 (eval $ac_try) 2>&5
32178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32179 (exit $ac_status); }; }; then
32180 eval "$as_ac_var=yes"
32182 echo "$as_me: failed program was:" >&5
32183 sed 's/^/| /' conftest.
$ac_ext >&5
32185 eval "$as_ac_var=no"
32187 rm -f conftest.err conftest.
$ac_objext \
32188 conftest
$ac_exeext conftest.
$ac_ext
32190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32192 if test `eval echo '${'$as_ac_var'}'` = yes; then
32193 cat >>confdefs.h
<<_ACEOF
32194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32203 for ac_func
in putenv setenv
32205 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32206 echo "$as_me:$LINENO: checking for $ac_func" >&5
32207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32208 if eval "test \"\${$as_ac_var+set}\" = set"; then
32209 echo $ECHO_N "(cached) $ECHO_C" >&6
32211 cat >conftest.
$ac_ext <<_ACEOF
32214 cat confdefs.h
>>conftest.
$ac_ext
32215 cat >>conftest.
$ac_ext <<_ACEOF
32216 /* end confdefs.h. */
32217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32219 #define $ac_func innocuous_$ac_func
32221 /* System header to define __stub macros and hopefully few prototypes,
32222 which can conflict with char $ac_func (); below.
32223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32224 <limits.h> exists even on freestanding compilers. */
32227 # include <limits.h>
32229 # include <assert.h>
32234 /* Override any gcc2 internal prototype to avoid an error. */
32239 /* We use char because int might match the return type of a gcc2
32240 builtin and then its argument prototype would still apply. */
32242 /* The GNU C library defines this for functions which it implements
32243 to always fail with ENOSYS. Some functions are actually named
32244 something starting with __ and the normal name is an alias. */
32245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32248 char (*f) () = $ac_func;
32257 return f != $ac_func;
32262 rm -f conftest.
$ac_objext conftest
$ac_exeext
32263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32264 (eval $ac_link) 2>conftest.er1
32266 grep -v '^ *+' conftest.er1
>conftest.err
32268 cat conftest.err
>&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); } &&
32271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32273 (eval $ac_try) 2>&5
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); }; } &&
32277 { ac_try
='test -s conftest$ac_exeext'
32278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32279 (eval $ac_try) 2>&5
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; }; then
32283 eval "$as_ac_var=yes"
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.
$ac_ext >&5
32288 eval "$as_ac_var=no"
32290 rm -f conftest.err conftest.
$ac_objext \
32291 conftest
$ac_exeext conftest.
$ac_ext
32293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32295 if test `eval echo '${'$as_ac_var'}'` = yes; then
32296 cat >>confdefs.h
<<_ACEOF
32297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32304 HAVE_SOME_SLEEP_FUNC
=0
32305 if test "$USE_BEOS" = 1; then
32306 cat >>confdefs.h
<<\_ACEOF
32307 #define HAVE_SLEEP 1
32310 HAVE_SOME_SLEEP_FUNC
=1
32313 if test "$USE_DARWIN" = 1; then
32314 cat >>confdefs.h
<<\_ACEOF
32315 #define HAVE_USLEEP 1
32318 HAVE_SOME_SLEEP_FUNC
=1
32321 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32324 for ac_func
in nanosleep
32326 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32327 echo "$as_me:$LINENO: checking for $ac_func" >&5
32328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32329 if eval "test \"\${$as_ac_var+set}\" = set"; then
32330 echo $ECHO_N "(cached) $ECHO_C" >&6
32332 cat >conftest.
$ac_ext <<_ACEOF
32335 cat confdefs.h
>>conftest.
$ac_ext
32336 cat >>conftest.
$ac_ext <<_ACEOF
32337 /* end confdefs.h. */
32338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32340 #define $ac_func innocuous_$ac_func
32342 /* System header to define __stub macros and hopefully few prototypes,
32343 which can conflict with char $ac_func (); below.
32344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32345 <limits.h> exists even on freestanding compilers. */
32348 # include <limits.h>
32350 # include <assert.h>
32355 /* Override any gcc2 internal prototype to avoid an error. */
32360 /* We use char because int might match the return type of a gcc2
32361 builtin and then its argument prototype would still apply. */
32363 /* The GNU C library defines this for functions which it implements
32364 to always fail with ENOSYS. Some functions are actually named
32365 something starting with __ and the normal name is an alias. */
32366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32369 char (*f) () = $ac_func;
32378 return f != $ac_func;
32383 rm -f conftest.
$ac_objext conftest
$ac_exeext
32384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32385 (eval $ac_link) 2>conftest.er1
32387 grep -v '^ *+' conftest.er1
>conftest.err
32389 cat conftest.err
>&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } &&
32392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32394 (eval $ac_try) 2>&5
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; } &&
32398 { ac_try
='test -s conftest$ac_exeext'
32399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32400 (eval $ac_try) 2>&5
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); }; }; then
32404 eval "$as_ac_var=yes"
32406 echo "$as_me: failed program was:" >&5
32407 sed 's/^/| /' conftest.
$ac_ext >&5
32409 eval "$as_ac_var=no"
32411 rm -f conftest.err conftest.
$ac_objext \
32412 conftest
$ac_exeext conftest.
$ac_ext
32414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32416 if test `eval echo '${'$as_ac_var'}'` = yes; then
32417 cat >>confdefs.h
<<_ACEOF
32418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32420 cat >>confdefs.h
<<\_ACEOF
32421 #define HAVE_NANOSLEEP 1
32426 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32427 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32428 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32429 echo $ECHO_N "(cached) $ECHO_C" >&6
32431 ac_check_lib_save_LIBS
=$LIBS
32432 LIBS
="-lposix4 $LIBS"
32433 cat >conftest.
$ac_ext <<_ACEOF
32436 cat confdefs.h
>>conftest.
$ac_ext
32437 cat >>conftest.
$ac_ext <<_ACEOF
32438 /* end confdefs.h. */
32440 /* Override any gcc2 internal prototype to avoid an error. */
32444 /* We use char because int might match the return type of a gcc2
32445 builtin and then its argument prototype would still apply. */
32455 rm -f conftest.
$ac_objext conftest
$ac_exeext
32456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32457 (eval $ac_link) 2>conftest.er1
32459 grep -v '^ *+' conftest.er1
>conftest.err
32461 cat conftest.err
>&5
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); } &&
32464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466 (eval $ac_try) 2>&5
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); }; } &&
32470 { ac_try
='test -s conftest$ac_exeext'
32471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32472 (eval $ac_try) 2>&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; }; then
32476 ac_cv_lib_posix4_nanosleep
=yes
32478 echo "$as_me: failed program was:" >&5
32479 sed 's/^/| /' conftest.
$ac_ext >&5
32481 ac_cv_lib_posix4_nanosleep
=no
32483 rm -f conftest.err conftest.
$ac_objext \
32484 conftest
$ac_exeext conftest.
$ac_ext
32485 LIBS
=$ac_check_lib_save_LIBS
32487 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32488 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32489 if test $ac_cv_lib_posix4_nanosleep = yes; then
32491 cat >>confdefs.h
<<\_ACEOF
32492 #define HAVE_NANOSLEEP 1
32495 POSIX4_LINK
=" -lposix4"
32500 for ac_func
in usleep
32502 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32503 echo "$as_me:$LINENO: checking for $ac_func" >&5
32504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32505 if eval "test \"\${$as_ac_var+set}\" = set"; then
32506 echo $ECHO_N "(cached) $ECHO_C" >&6
32508 cat >conftest.
$ac_ext <<_ACEOF
32511 cat confdefs.h
>>conftest.
$ac_ext
32512 cat >>conftest.
$ac_ext <<_ACEOF
32513 /* end confdefs.h. */
32514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32516 #define $ac_func innocuous_$ac_func
32518 /* System header to define __stub macros and hopefully few prototypes,
32519 which can conflict with char $ac_func (); below.
32520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32521 <limits.h> exists even on freestanding compilers. */
32524 # include <limits.h>
32526 # include <assert.h>
32531 /* Override any gcc2 internal prototype to avoid an error. */
32536 /* We use char because int might match the return type of a gcc2
32537 builtin and then its argument prototype would still apply. */
32539 /* The GNU C library defines this for functions which it implements
32540 to always fail with ENOSYS. Some functions are actually named
32541 something starting with __ and the normal name is an alias. */
32542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32545 char (*f) () = $ac_func;
32554 return f != $ac_func;
32559 rm -f conftest.
$ac_objext conftest
$ac_exeext
32560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32561 (eval $ac_link) 2>conftest.er1
32563 grep -v '^ *+' conftest.er1
>conftest.err
32565 cat conftest.err
>&5
32566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32567 (exit $ac_status); } &&
32568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32570 (eval $ac_try) 2>&5
32572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32573 (exit $ac_status); }; } &&
32574 { ac_try
='test -s conftest$ac_exeext'
32575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32576 (eval $ac_try) 2>&5
32578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32579 (exit $ac_status); }; }; then
32580 eval "$as_ac_var=yes"
32582 echo "$as_me: failed program was:" >&5
32583 sed 's/^/| /' conftest.
$ac_ext >&5
32585 eval "$as_ac_var=no"
32587 rm -f conftest.err conftest.
$ac_objext \
32588 conftest
$ac_exeext conftest.
$ac_ext
32590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32592 if test `eval echo '${'$as_ac_var'}'` = yes; then
32593 cat >>confdefs.h
<<_ACEOF
32594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32596 cat >>confdefs.h
<<\_ACEOF
32597 #define HAVE_USLEEP 1
32601 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32602 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32620 for ac_func
in uname gethostname
32622 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32623 echo "$as_me:$LINENO: checking for $ac_func" >&5
32624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32625 if eval "test \"\${$as_ac_var+set}\" = set"; then
32626 echo $ECHO_N "(cached) $ECHO_C" >&6
32628 cat >conftest.
$ac_ext <<_ACEOF
32631 cat confdefs.h
>>conftest.
$ac_ext
32632 cat >>conftest.
$ac_ext <<_ACEOF
32633 /* end confdefs.h. */
32634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32636 #define $ac_func innocuous_$ac_func
32638 /* System header to define __stub macros and hopefully few prototypes,
32639 which can conflict with char $ac_func (); below.
32640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32641 <limits.h> exists even on freestanding compilers. */
32644 # include <limits.h>
32646 # include <assert.h>
32651 /* Override any gcc2 internal prototype to avoid an error. */
32656 /* We use char because int might match the return type of a gcc2
32657 builtin and then its argument prototype would still apply. */
32659 /* The GNU C library defines this for functions which it implements
32660 to always fail with ENOSYS. Some functions are actually named
32661 something starting with __ and the normal name is an alias. */
32662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32665 char (*f) () = $ac_func;
32674 return f != $ac_func;
32679 rm -f conftest.
$ac_objext conftest
$ac_exeext
32680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32681 (eval $ac_link) 2>conftest.er1
32683 grep -v '^ *+' conftest.er1
>conftest.err
32685 cat conftest.err
>&5
32686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32687 (exit $ac_status); } &&
32688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690 (eval $ac_try) 2>&5
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); }; } &&
32694 { ac_try
='test -s conftest$ac_exeext'
32695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32696 (eval $ac_try) 2>&5
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); }; }; then
32700 eval "$as_ac_var=yes"
32702 echo "$as_me: failed program was:" >&5
32703 sed 's/^/| /' conftest.
$ac_ext >&5
32705 eval "$as_ac_var=no"
32707 rm -f conftest.err conftest.
$ac_objext \
32708 conftest
$ac_exeext conftest.
$ac_ext
32710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32712 if test `eval echo '${'$as_ac_var'}'` = yes; then
32713 cat >>confdefs.h
<<_ACEOF
32714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32724 ac_cpp
='$CXXCPP $CPPFLAGS'
32725 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32726 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32727 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32731 for ac_func
in strtok_r
32733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32734 echo "$as_me:$LINENO: checking for $ac_func" >&5
32735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32736 if eval "test \"\${$as_ac_var+set}\" = set"; then
32737 echo $ECHO_N "(cached) $ECHO_C" >&6
32739 cat >conftest.
$ac_ext <<_ACEOF
32742 cat confdefs.h
>>conftest.
$ac_ext
32743 cat >>conftest.
$ac_ext <<_ACEOF
32744 /* end confdefs.h. */
32745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32747 #define $ac_func innocuous_$ac_func
32749 /* System header to define __stub macros and hopefully few prototypes,
32750 which can conflict with char $ac_func (); below.
32751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32752 <limits.h> exists even on freestanding compilers. */
32755 # include <limits.h>
32757 # include <assert.h>
32762 /* Override any gcc2 internal prototype to avoid an error. */
32767 /* We use char because int might match the return type of a gcc2
32768 builtin and then its argument prototype would still apply. */
32770 /* The GNU C library defines this for functions which it implements
32771 to always fail with ENOSYS. Some functions are actually named
32772 something starting with __ and the normal name is an alias. */
32773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32776 char (*f) () = $ac_func;
32785 return f != $ac_func;
32790 rm -f conftest.
$ac_objext conftest
$ac_exeext
32791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32792 (eval $ac_link) 2>conftest.er1
32794 grep -v '^ *+' conftest.er1
>conftest.err
32796 cat conftest.err
>&5
32797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32798 (exit $ac_status); } &&
32799 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32801 (eval $ac_try) 2>&5
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); }; } &&
32805 { ac_try
='test -s conftest$ac_exeext'
32806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32807 (eval $ac_try) 2>&5
32809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32810 (exit $ac_status); }; }; then
32811 eval "$as_ac_var=yes"
32813 echo "$as_me: failed program was:" >&5
32814 sed 's/^/| /' conftest.
$ac_ext >&5
32816 eval "$as_ac_var=no"
32818 rm -f conftest.err conftest.
$ac_objext \
32819 conftest
$ac_exeext conftest.
$ac_ext
32821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32823 if test `eval echo '${'$as_ac_var'}'` = yes; then
32824 cat >>confdefs.h
<<_ACEOF
32825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32833 ac_cpp
='$CPP $CPPFLAGS'
32834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32841 for ac_func
in inet_addr
32843 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32844 echo "$as_me:$LINENO: checking for $ac_func" >&5
32845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32846 if eval "test \"\${$as_ac_var+set}\" = set"; then
32847 echo $ECHO_N "(cached) $ECHO_C" >&6
32849 cat >conftest.
$ac_ext <<_ACEOF
32852 cat confdefs.h
>>conftest.
$ac_ext
32853 cat >>conftest.
$ac_ext <<_ACEOF
32854 /* end confdefs.h. */
32855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32857 #define $ac_func innocuous_$ac_func
32859 /* System header to define __stub macros and hopefully few prototypes,
32860 which can conflict with char $ac_func (); below.
32861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32862 <limits.h> exists even on freestanding compilers. */
32865 # include <limits.h>
32867 # include <assert.h>
32872 /* Override any gcc2 internal prototype to avoid an error. */
32877 /* We use char because int might match the return type of a gcc2
32878 builtin and then its argument prototype would still apply. */
32880 /* The GNU C library defines this for functions which it implements
32881 to always fail with ENOSYS. Some functions are actually named
32882 something starting with __ and the normal name is an alias. */
32883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32886 char (*f) () = $ac_func;
32895 return f != $ac_func;
32900 rm -f conftest.
$ac_objext conftest
$ac_exeext
32901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32902 (eval $ac_link) 2>conftest.er1
32904 grep -v '^ *+' conftest.er1
>conftest.err
32906 cat conftest.err
>&5
32907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32908 (exit $ac_status); } &&
32909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32911 (eval $ac_try) 2>&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); }; } &&
32915 { ac_try
='test -s conftest$ac_exeext'
32916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32917 (eval $ac_try) 2>&5
32919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920 (exit $ac_status); }; }; then
32921 eval "$as_ac_var=yes"
32923 echo "$as_me: failed program was:" >&5
32924 sed 's/^/| /' conftest.
$ac_ext >&5
32926 eval "$as_ac_var=no"
32928 rm -f conftest.err conftest.
$ac_objext \
32929 conftest
$ac_exeext conftest.
$ac_ext
32931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32933 if test `eval echo '${'$as_ac_var'}'` = yes; then
32934 cat >>confdefs.h
<<_ACEOF
32935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32937 cat >>confdefs.h
<<\_ACEOF
32938 #define HAVE_INET_ADDR 1
32943 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32944 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32945 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32946 echo $ECHO_N "(cached) $ECHO_C" >&6
32948 ac_check_lib_save_LIBS
=$LIBS
32950 cat >conftest.
$ac_ext <<_ACEOF
32953 cat confdefs.h
>>conftest.
$ac_ext
32954 cat >>conftest.
$ac_ext <<_ACEOF
32955 /* end confdefs.h. */
32957 /* Override any gcc2 internal prototype to avoid an error. */
32961 /* We use char because int might match the return type of a gcc2
32962 builtin and then its argument prototype would still apply. */
32972 rm -f conftest.
$ac_objext conftest
$ac_exeext
32973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32974 (eval $ac_link) 2>conftest.er1
32976 grep -v '^ *+' conftest.er1
>conftest.err
32978 cat conftest.err
>&5
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); } &&
32981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32983 (eval $ac_try) 2>&5
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); }; } &&
32987 { ac_try
='test -s conftest$ac_exeext'
32988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32989 (eval $ac_try) 2>&5
32991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32992 (exit $ac_status); }; }; then
32993 ac_cv_lib_nsl_inet_addr
=yes
32995 echo "$as_me: failed program was:" >&5
32996 sed 's/^/| /' conftest.
$ac_ext >&5
32998 ac_cv_lib_nsl_inet_addr
=no
33000 rm -f conftest.err conftest.
$ac_objext \
33001 conftest
$ac_exeext conftest.
$ac_ext
33002 LIBS
=$ac_check_lib_save_LIBS
33004 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33005 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33006 if test $ac_cv_lib_nsl_inet_addr = yes; then
33010 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33011 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33012 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33013 echo $ECHO_N "(cached) $ECHO_C" >&6
33015 ac_check_lib_save_LIBS
=$LIBS
33016 LIBS
="-lresolv $LIBS"
33017 cat >conftest.
$ac_ext <<_ACEOF
33020 cat confdefs.h
>>conftest.
$ac_ext
33021 cat >>conftest.
$ac_ext <<_ACEOF
33022 /* end confdefs.h. */
33024 /* Override any gcc2 internal prototype to avoid an error. */
33028 /* We use char because int might match the return type of a gcc2
33029 builtin and then its argument prototype would still apply. */
33039 rm -f conftest.
$ac_objext conftest
$ac_exeext
33040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33041 (eval $ac_link) 2>conftest.er1
33043 grep -v '^ *+' conftest.er1
>conftest.err
33045 cat conftest.err
>&5
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); } &&
33048 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33050 (eval $ac_try) 2>&5
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); }; } &&
33054 { ac_try
='test -s conftest$ac_exeext'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; }; then
33060 ac_cv_lib_resolv_inet_addr
=yes
33062 echo "$as_me: failed program was:" >&5
33063 sed 's/^/| /' conftest.
$ac_ext >&5
33065 ac_cv_lib_resolv_inet_addr
=no
33067 rm -f conftest.err conftest.
$ac_objext \
33068 conftest
$ac_exeext conftest.
$ac_ext
33069 LIBS
=$ac_check_lib_save_LIBS
33071 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33072 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33073 if test $ac_cv_lib_resolv_inet_addr = yes; then
33077 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33078 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33079 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33080 echo $ECHO_N "(cached) $ECHO_C" >&6
33082 ac_check_lib_save_LIBS
=$LIBS
33083 LIBS
="-lsocket $LIBS"
33084 cat >conftest.
$ac_ext <<_ACEOF
33087 cat confdefs.h
>>conftest.
$ac_ext
33088 cat >>conftest.
$ac_ext <<_ACEOF
33089 /* end confdefs.h. */
33091 /* Override any gcc2 internal prototype to avoid an error. */
33095 /* We use char because int might match the return type of a gcc2
33096 builtin and then its argument prototype would still apply. */
33106 rm -f conftest.
$ac_objext conftest
$ac_exeext
33107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33108 (eval $ac_link) 2>conftest.er1
33110 grep -v '^ *+' conftest.er1
>conftest.err
33112 cat conftest.err
>&5
33113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33114 (exit $ac_status); } &&
33115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33117 (eval $ac_try) 2>&5
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); }; } &&
33121 { ac_try
='test -s conftest$ac_exeext'
33122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33123 (eval $ac_try) 2>&5
33125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33126 (exit $ac_status); }; }; then
33127 ac_cv_lib_socket_inet_addr
=yes
33129 echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.
$ac_ext >&5
33132 ac_cv_lib_socket_inet_addr
=no
33134 rm -f conftest.err conftest.
$ac_objext \
33135 conftest
$ac_exeext conftest.
$ac_ext
33136 LIBS
=$ac_check_lib_save_LIBS
33138 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33139 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33140 if test $ac_cv_lib_socket_inet_addr = yes; then
33160 for ac_func
in inet_aton
33162 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33163 echo "$as_me:$LINENO: checking for $ac_func" >&5
33164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33165 if eval "test \"\${$as_ac_var+set}\" = set"; then
33166 echo $ECHO_N "(cached) $ECHO_C" >&6
33168 cat >conftest.
$ac_ext <<_ACEOF
33171 cat confdefs.h
>>conftest.
$ac_ext
33172 cat >>conftest.
$ac_ext <<_ACEOF
33173 /* end confdefs.h. */
33174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33176 #define $ac_func innocuous_$ac_func
33178 /* System header to define __stub macros and hopefully few prototypes,
33179 which can conflict with char $ac_func (); below.
33180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33181 <limits.h> exists even on freestanding compilers. */
33184 # include <limits.h>
33186 # include <assert.h>
33191 /* Override any gcc2 internal prototype to avoid an error. */
33196 /* We use char because int might match the return type of a gcc2
33197 builtin and then its argument prototype would still apply. */
33199 /* The GNU C library defines this for functions which it implements
33200 to always fail with ENOSYS. Some functions are actually named
33201 something starting with __ and the normal name is an alias. */
33202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33205 char (*f) () = $ac_func;
33214 return f != $ac_func;
33219 rm -f conftest.
$ac_objext conftest
$ac_exeext
33220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33221 (eval $ac_link) 2>conftest.er1
33223 grep -v '^ *+' conftest.er1
>conftest.err
33225 cat conftest.err
>&5
33226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33227 (exit $ac_status); } &&
33228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33230 (eval $ac_try) 2>&5
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); }; } &&
33234 { ac_try
='test -s conftest$ac_exeext'
33235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236 (eval $ac_try) 2>&5
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; }; then
33240 eval "$as_ac_var=yes"
33242 echo "$as_me: failed program was:" >&5
33243 sed 's/^/| /' conftest.
$ac_ext >&5
33245 eval "$as_ac_var=no"
33247 rm -f conftest.err conftest.
$ac_objext \
33248 conftest
$ac_exeext conftest.
$ac_ext
33250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33252 if test `eval echo '${'$as_ac_var'}'` = yes; then
33253 cat >>confdefs.h
<<_ACEOF
33254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33256 cat >>confdefs.h
<<\_ACEOF
33257 #define HAVE_INET_ATON 1
33262 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33263 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33264 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33265 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33266 echo $ECHO_N "(cached) $ECHO_C" >&6
33268 ac_check_lib_save_LIBS
=$LIBS
33269 LIBS
="-l$INET_LINK $LIBS"
33270 cat >conftest.
$ac_ext <<_ACEOF
33273 cat confdefs.h
>>conftest.
$ac_ext
33274 cat >>conftest.
$ac_ext <<_ACEOF
33275 /* end confdefs.h. */
33277 /* Override any gcc2 internal prototype to avoid an error. */
33281 /* We use char because int might match the return type of a gcc2
33282 builtin and then its argument prototype would still apply. */
33292 rm -f conftest.
$ac_objext conftest
$ac_exeext
33293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33294 (eval $ac_link) 2>conftest.er1
33296 grep -v '^ *+' conftest.er1
>conftest.err
33298 cat conftest.err
>&5
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); } &&
33301 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33303 (eval $ac_try) 2>&5
33305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33306 (exit $ac_status); }; } &&
33307 { ac_try
='test -s conftest$ac_exeext'
33308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33309 (eval $ac_try) 2>&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); }; }; then
33313 eval "$as_ac_Lib=yes"
33315 echo "$as_me: failed program was:" >&5
33316 sed 's/^/| /' conftest.
$ac_ext >&5
33318 eval "$as_ac_Lib=no"
33320 rm -f conftest.err conftest.
$ac_objext \
33321 conftest
$ac_exeext conftest.
$ac_ext
33322 LIBS
=$ac_check_lib_save_LIBS
33324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33325 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33326 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33327 cat >>confdefs.h
<<\_ACEOF
33328 #define HAVE_INET_ATON 1
33338 if test "x$INET_LINK" != "x"; then
33339 cat >>confdefs.h
<<\_ACEOF
33340 #define HAVE_INET_ADDR 1
33343 INET_LINK
=" -l$INET_LINK"
33351 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33352 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33353 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33354 echo $ECHO_N "(cached) $ECHO_C" >&6
33356 ac_check_lib_save_LIBS
=$LIBS
33358 cat >conftest.
$ac_ext <<_ACEOF
33361 cat confdefs.h
>>conftest.
$ac_ext
33362 cat >>conftest.
$ac_ext <<_ACEOF
33363 /* end confdefs.h. */
33365 /* Override any gcc2 internal prototype to avoid an error. */
33369 /* We use char because int might match the return type of a gcc2
33370 builtin and then its argument prototype would still apply. */
33380 rm -f conftest.
$ac_objext conftest
$ac_exeext
33381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33382 (eval $ac_link) 2>conftest.er1
33384 grep -v '^ *+' conftest.er1
>conftest.err
33386 cat conftest.err
>&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); } &&
33389 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33391 (eval $ac_try) 2>&5
33393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33394 (exit $ac_status); }; } &&
33395 { ac_try
='test -s conftest$ac_exeext'
33396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33397 (eval $ac_try) 2>&5
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); }; }; then
33401 ac_cv_lib_esd_esd_close
=yes
33403 echo "$as_me: failed program was:" >&5
33404 sed 's/^/| /' conftest.
$ac_ext >&5
33406 ac_cv_lib_esd_esd_close
=no
33408 rm -f conftest.err conftest.
$ac_objext \
33409 conftest
$ac_exeext conftest.
$ac_ext
33410 LIBS
=$ac_check_lib_save_LIBS
33412 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33413 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33414 if test $ac_cv_lib_esd_esd_close = yes; then
33417 for ac_header
in esd.h
33419 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33421 echo "$as_me:$LINENO: checking for $ac_header" >&5
33422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33424 echo $ECHO_N "(cached) $ECHO_C" >&6
33426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33429 # Is the header compilable?
33430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33432 cat >conftest.
$ac_ext <<_ACEOF
33435 cat confdefs.h
>>conftest.
$ac_ext
33436 cat >>conftest.
$ac_ext <<_ACEOF
33437 /* end confdefs.h. */
33438 $ac_includes_default
33439 #include <$ac_header>
33441 rm -f conftest.
$ac_objext
33442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33443 (eval $ac_compile) 2>conftest.er1
33445 grep -v '^ *+' conftest.er1
>conftest.err
33447 cat conftest.err
>&5
33448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33449 (exit $ac_status); } &&
33450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33452 (eval $ac_try) 2>&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); }; } &&
33456 { ac_try
='test -s conftest.$ac_objext'
33457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458 (eval $ac_try) 2>&5
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; }; then
33462 ac_header_compiler
=yes
33464 echo "$as_me: failed program was:" >&5
33465 sed 's/^/| /' conftest.
$ac_ext >&5
33467 ac_header_compiler
=no
33469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33471 echo "${ECHO_T}$ac_header_compiler" >&6
33473 # Is the header present?
33474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33476 cat >conftest.
$ac_ext <<_ACEOF
33479 cat confdefs.h
>>conftest.
$ac_ext
33480 cat >>conftest.
$ac_ext <<_ACEOF
33481 /* end confdefs.h. */
33482 #include <$ac_header>
33484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33485 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33487 grep -v '^ *+' conftest.er1
>conftest.err
33489 cat conftest.err
>&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); } >/dev
/null
; then
33492 if test -s conftest.err
; then
33493 ac_cpp_err
=$ac_c_preproc_warn_flag
33494 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33501 if test -z "$ac_cpp_err"; then
33502 ac_header_preproc
=yes
33504 echo "$as_me: failed program was:" >&5
33505 sed 's/^/| /' conftest.
$ac_ext >&5
33507 ac_header_preproc
=no
33509 rm -f conftest.err conftest.
$ac_ext
33510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33511 echo "${ECHO_T}$ac_header_preproc" >&6
33513 # So? What about this header?
33514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33520 ac_header_preproc
=yes
33523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33537 ## ----------------------------------------- ##
33538 ## Report this to wx-dev@lists.wxwidgets.org ##
33539 ## ----------------------------------------- ##
33542 sed "s/^/$as_me: WARNING: /" >&2
33545 echo "$as_me:$LINENO: checking for $ac_header" >&5
33546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33548 echo $ECHO_N "(cached) $ECHO_C" >&6
33550 eval "$as_ac_Header=\$ac_header_preproc"
33552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33557 cat >>confdefs.h
<<_ACEOF
33558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33561 EXTRALIBS_ESD
="-lesd"
33572 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33573 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33574 cat >conftest.
$ac_ext <<_ACEOF
33577 cat confdefs.h
>>conftest.
$ac_ext
33578 cat >>conftest.
$ac_ext <<_ACEOF
33579 /* end confdefs.h. */
33581 #include <linux/cdrom.h>
33584 #include <sys/cdio.h>
33590 struct cdrom_tocentry entry, old_entry;
33595 rm -f conftest.
$ac_objext
33596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33597 (eval $ac_compile) 2>conftest.er1
33599 grep -v '^ *+' conftest.er1
>conftest.err
33601 cat conftest.err
>&5
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); } &&
33604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33606 (eval $ac_try) 2>&5
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); }; } &&
33610 { ac_try
='test -s conftest.$ac_objext'
33611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33612 (eval $ac_try) 2>&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); }; }; then
33616 echo "$as_me:$LINENO: result: yes" >&5
33617 echo "${ECHO_T}yes" >&6
33618 cat >>confdefs.h
<<\_ACEOF
33619 #define HAVE_KNOWN_CDROM_INTERFACE 1
33623 echo "$as_me: failed program was:" >&5
33624 sed 's/^/| /' conftest.
$ac_ext >&5
33626 echo "$as_me:$LINENO: result: no" >&5
33627 echo "${ECHO_T}no" >&6
33629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33632 cat >confcache
<<\_ACEOF
33633 # This file is a shell script that caches the results of configure
33634 # tests run on this system so they can be shared between configure
33635 # scripts and configure runs, see configure's option --config-cache.
33636 # It is not useful on other systems. If it contains results you don't
33637 # want to keep, you may remove or edit it.
33639 # config.status only pays attention to the cache file if you give it
33640 # the --recheck option to rerun configure.
33642 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33643 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33644 # following values.
33648 # The following way of writing the cache mishandles newlines in values,
33649 # but we know of no workaround that is simple, portable, and efficient.
33650 # So, don't put newlines in cache variables' values.
33651 # Ultrix sh set writes to stderr and can't be redirected directly,
33652 # and sets the high bit in the cache file unless we assign to the vars.
33655 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33657 # `set' does not quote correctly, so add quotes (double-quote
33658 # substitution turns \\\\ into \\, and sed turns \\ into \).
33661 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33664 # `set' quotes correctly as required by POSIX, so do not add quotes.
33666 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33673 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33675 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33677 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
33678 if test -w $cache_file; then
33679 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33680 cat confcache
>$cache_file
33682 echo "not updating unwritable cache $cache_file"
33689 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33695 if test "$wxUSE_THREADS" = "yes" ; then
33696 if test "$USE_BEOS" = 1; then
33697 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33698 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33703 if test "$wxUSE_THREADS" = "yes" ; then
33706 THREAD_OPTS
="-pthread"
33708 *-*-solaris2* | *-*-sunos4* )
33709 if test "x$GCC" = "xyes"; then
33710 THREAD_OPTS
="-pthreads $THREAD_OPTS"
33712 THREAD_OPTS
="-mt $THREAD_OPTS"
33716 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
33718 *-*-darwin* | *-*-cygwin* )
33722 THREAD_OPTS
="pthreads"
33725 if test "x$GCC" != "xyes"; then
33731 if test "x$GCC" = "xyes"; then
33737 if test "x$GCC" != "xyes"; then
33738 THREAD_OPTS
="-Ethread"
33743 THREAD_OPTS
="$THREAD_OPTS pthread none"
33746 for flag
in $THREAD_OPTS; do
33749 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33750 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33754 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33755 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33756 THREADS_CFLAGS
="$flag"
33760 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33761 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33762 THREADS_LINK
="-l$flag"
33767 save_CFLAGS
="$CFLAGS"
33768 LIBS
="$THREADS_LINK $LIBS"
33769 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
33771 cat >conftest.
$ac_ext <<_ACEOF
33774 cat confdefs.h
>>conftest.
$ac_ext
33775 cat >>conftest.
$ac_ext <<_ACEOF
33776 /* end confdefs.h. */
33777 #include <pthread.h>
33781 pthread_create(0,0,0,0);
33786 rm -f conftest.
$ac_objext conftest
$ac_exeext
33787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33788 (eval $ac_link) 2>conftest.er1
33790 grep -v '^ *+' conftest.er1
>conftest.err
33792 cat conftest.err
>&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); } &&
33795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; } &&
33801 { ac_try
='test -s conftest$ac_exeext'
33802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33803 (eval $ac_try) 2>&5
33805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33806 (exit $ac_status); }; }; then
33809 echo "$as_me: failed program was:" >&5
33810 sed 's/^/| /' conftest.
$ac_ext >&5
33813 rm -f conftest.err conftest.
$ac_objext \
33814 conftest
$ac_exeext conftest.
$ac_ext
33817 CFLAGS
="$save_CFLAGS"
33819 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33820 echo "${ECHO_T}$THREADS_OK" >&6
33821 if test "x$THREADS_OK" = "xyes"; then
33829 if test "x$THREADS_OK" != "xyes"; then
33831 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33832 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33834 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
33835 LIBS
="$THREADS_LINK $LIBS"
33837 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33838 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33842 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
33843 flag
="-D_THREAD_SAFE"
33846 flag
="-D_THREAD_SAFE"
33849 flag
="-D_REENTRANT"
33850 if test "x$GCC" != "xyes"; then
33851 flag
="$flag -D_RWSTD_MULTI_THREAD"
33854 *solaris
* | alpha
*-osf*)
33855 flag
="-D_REENTRANT"
33858 echo "$as_me:$LINENO: result: ${flag}" >&5
33859 echo "${ECHO_T}${flag}" >&6
33860 if test "x$flag" != xno
; then
33861 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
33864 if test "x$THREADS_CFLAGS" != "x"; then
33865 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
33866 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
33871 if test "$wxUSE_THREADS" = "yes" ; then
33873 for ac_func
in thr_setconcurrency
33875 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33876 echo "$as_me:$LINENO: checking for $ac_func" >&5
33877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33878 if eval "test \"\${$as_ac_var+set}\" = set"; then
33879 echo $ECHO_N "(cached) $ECHO_C" >&6
33881 cat >conftest.
$ac_ext <<_ACEOF
33884 cat confdefs.h
>>conftest.
$ac_ext
33885 cat >>conftest.
$ac_ext <<_ACEOF
33886 /* end confdefs.h. */
33887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33889 #define $ac_func innocuous_$ac_func
33891 /* System header to define __stub macros and hopefully few prototypes,
33892 which can conflict with char $ac_func (); below.
33893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33894 <limits.h> exists even on freestanding compilers. */
33897 # include <limits.h>
33899 # include <assert.h>
33904 /* Override any gcc2 internal prototype to avoid an error. */
33909 /* We use char because int might match the return type of a gcc2
33910 builtin and then its argument prototype would still apply. */
33912 /* The GNU C library defines this for functions which it implements
33913 to always fail with ENOSYS. Some functions are actually named
33914 something starting with __ and the normal name is an alias. */
33915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33918 char (*f) () = $ac_func;
33927 return f != $ac_func;
33932 rm -f conftest.
$ac_objext conftest
$ac_exeext
33933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33934 (eval $ac_link) 2>conftest.er1
33936 grep -v '^ *+' conftest.er1
>conftest.err
33938 cat conftest.err
>&5
33939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33940 (exit $ac_status); } &&
33941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33943 (eval $ac_try) 2>&5
33945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33946 (exit $ac_status); }; } &&
33947 { ac_try
='test -s conftest$ac_exeext'
33948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33949 (eval $ac_try) 2>&5
33951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952 (exit $ac_status); }; }; then
33953 eval "$as_ac_var=yes"
33955 echo "$as_me: failed program was:" >&5
33956 sed 's/^/| /' conftest.
$ac_ext >&5
33958 eval "$as_ac_var=no"
33960 rm -f conftest.err conftest.
$ac_objext \
33961 conftest
$ac_exeext conftest.
$ac_ext
33963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33965 if test `eval echo '${'$as_ac_var'}'` = yes; then
33966 cat >>confdefs.h
<<_ACEOF
33967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33975 for ac_header
in sched.h
33977 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33979 echo "$as_me:$LINENO: checking for $ac_header" >&5
33980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33982 echo $ECHO_N "(cached) $ECHO_C" >&6
33984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33987 # Is the header compilable?
33988 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33990 cat >conftest.
$ac_ext <<_ACEOF
33993 cat confdefs.h
>>conftest.
$ac_ext
33994 cat >>conftest.
$ac_ext <<_ACEOF
33995 /* end confdefs.h. */
33996 $ac_includes_default
33997 #include <$ac_header>
33999 rm -f conftest.
$ac_objext
34000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34001 (eval $ac_compile) 2>conftest.er1
34003 grep -v '^ *+' conftest.er1
>conftest.err
34005 cat conftest.err
>&5
34006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34007 (exit $ac_status); } &&
34008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34010 (eval $ac_try) 2>&5
34012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34013 (exit $ac_status); }; } &&
34014 { ac_try
='test -s conftest.$ac_objext'
34015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34016 (eval $ac_try) 2>&5
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); }; }; then
34020 ac_header_compiler
=yes
34022 echo "$as_me: failed program was:" >&5
34023 sed 's/^/| /' conftest.
$ac_ext >&5
34025 ac_header_compiler
=no
34027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34029 echo "${ECHO_T}$ac_header_compiler" >&6
34031 # Is the header present?
34032 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34033 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34034 cat >conftest.
$ac_ext <<_ACEOF
34037 cat confdefs.h
>>conftest.
$ac_ext
34038 cat >>conftest.
$ac_ext <<_ACEOF
34039 /* end confdefs.h. */
34040 #include <$ac_header>
34042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34043 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34045 grep -v '^ *+' conftest.er1
>conftest.err
34047 cat conftest.err
>&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); } >/dev
/null
; then
34050 if test -s conftest.err
; then
34051 ac_cpp_err
=$ac_c_preproc_warn_flag
34052 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34059 if test -z "$ac_cpp_err"; then
34060 ac_header_preproc
=yes
34062 echo "$as_me: failed program was:" >&5
34063 sed 's/^/| /' conftest.
$ac_ext >&5
34065 ac_header_preproc
=no
34067 rm -f conftest.err conftest.
$ac_ext
34068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34069 echo "${ECHO_T}$ac_header_preproc" >&6
34071 # So? What about this header?
34072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34074 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34075 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34077 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34078 ac_header_preproc
=yes
34081 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34082 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34083 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34084 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34085 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34086 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34087 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34088 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34091 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34092 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34095 ## ----------------------------------------- ##
34096 ## Report this to wx-dev@lists.wxwidgets.org ##
34097 ## ----------------------------------------- ##
34100 sed "s/^/$as_me: WARNING: /" >&2
34103 echo "$as_me:$LINENO: checking for $ac_header" >&5
34104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34106 echo $ECHO_N "(cached) $ECHO_C" >&6
34108 eval "$as_ac_Header=\$ac_header_preproc"
34110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34115 cat >>confdefs.h
<<_ACEOF
34116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34123 if test "$ac_cv_header_sched_h" = "yes"; then
34124 echo "$as_me:$LINENO: checking for sched_yield" >&5
34125 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34126 if test "${ac_cv_func_sched_yield+set}" = set; then
34127 echo $ECHO_N "(cached) $ECHO_C" >&6
34129 cat >conftest.
$ac_ext <<_ACEOF
34132 cat confdefs.h
>>conftest.
$ac_ext
34133 cat >>conftest.
$ac_ext <<_ACEOF
34134 /* end confdefs.h. */
34135 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34137 #define sched_yield innocuous_sched_yield
34139 /* System header to define __stub macros and hopefully few prototypes,
34140 which can conflict with char sched_yield (); below.
34141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34142 <limits.h> exists even on freestanding compilers. */
34145 # include <limits.h>
34147 # include <assert.h>
34152 /* Override any gcc2 internal prototype to avoid an error. */
34157 /* We use char because int might match the return type of a gcc2
34158 builtin and then its argument prototype would still apply. */
34159 char sched_yield ();
34160 /* The GNU C library defines this for functions which it implements
34161 to always fail with ENOSYS. Some functions are actually named
34162 something starting with __ and the normal name is an alias. */
34163 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34166 char (*f) () = sched_yield;
34175 return f != sched_yield;
34180 rm -f conftest.
$ac_objext conftest
$ac_exeext
34181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34182 (eval $ac_link) 2>conftest.er1
34184 grep -v '^ *+' conftest.er1
>conftest.err
34186 cat conftest.err
>&5
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); } &&
34189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34191 (eval $ac_try) 2>&5
34193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194 (exit $ac_status); }; } &&
34195 { ac_try
='test -s conftest$ac_exeext'
34196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34197 (eval $ac_try) 2>&5
34199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200 (exit $ac_status); }; }; then
34201 ac_cv_func_sched_yield
=yes
34203 echo "$as_me: failed program was:" >&5
34204 sed 's/^/| /' conftest.
$ac_ext >&5
34206 ac_cv_func_sched_yield
=no
34208 rm -f conftest.err conftest.
$ac_objext \
34209 conftest
$ac_exeext conftest.
$ac_ext
34211 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34212 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34213 if test $ac_cv_func_sched_yield = yes; then
34214 cat >>confdefs.h
<<\_ACEOF
34215 #define HAVE_SCHED_YIELD 1
34220 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34221 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34222 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34223 echo $ECHO_N "(cached) $ECHO_C" >&6
34225 ac_check_lib_save_LIBS
=$LIBS
34226 LIBS
="-lposix4 $LIBS"
34227 cat >conftest.
$ac_ext <<_ACEOF
34230 cat confdefs.h
>>conftest.
$ac_ext
34231 cat >>conftest.
$ac_ext <<_ACEOF
34232 /* end confdefs.h. */
34234 /* Override any gcc2 internal prototype to avoid an error. */
34238 /* We use char because int might match the return type of a gcc2
34239 builtin and then its argument prototype would still apply. */
34240 char sched_yield ();
34249 rm -f conftest.
$ac_objext conftest
$ac_exeext
34250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34251 (eval $ac_link) 2>conftest.er1
34253 grep -v '^ *+' conftest.er1
>conftest.err
34255 cat conftest.err
>&5
34256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34257 (exit $ac_status); } &&
34258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
34264 { ac_try
='test -s conftest$ac_exeext'
34265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34266 (eval $ac_try) 2>&5
34268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269 (exit $ac_status); }; }; then
34270 ac_cv_lib_posix4_sched_yield
=yes
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.
$ac_ext >&5
34275 ac_cv_lib_posix4_sched_yield
=no
34277 rm -f conftest.err conftest.
$ac_objext \
34278 conftest
$ac_exeext conftest.
$ac_ext
34279 LIBS
=$ac_check_lib_save_LIBS
34281 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34282 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34283 if test $ac_cv_lib_posix4_sched_yield = yes; then
34284 cat >>confdefs.h
<<\_ACEOF
34285 #define HAVE_SCHED_YIELD 1
34287 POSIX4_LINK
=" -lposix4"
34289 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34290 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34301 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34302 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34303 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34304 echo $ECHO_N "(cached) $ECHO_C" >&6
34306 cat >conftest.
$ac_ext <<_ACEOF
34309 cat confdefs.h
>>conftest.
$ac_ext
34310 cat >>conftest.
$ac_ext <<_ACEOF
34311 /* end confdefs.h. */
34312 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34314 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34316 /* System header to define __stub macros and hopefully few prototypes,
34317 which can conflict with char pthread_attr_getschedpolicy (); below.
34318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34319 <limits.h> exists even on freestanding compilers. */
34322 # include <limits.h>
34324 # include <assert.h>
34327 #undef pthread_attr_getschedpolicy
34329 /* Override any gcc2 internal prototype to avoid an error. */
34334 /* We use char because int might match the return type of a gcc2
34335 builtin and then its argument prototype would still apply. */
34336 char pthread_attr_getschedpolicy ();
34337 /* The GNU C library defines this for functions which it implements
34338 to always fail with ENOSYS. Some functions are actually named
34339 something starting with __ and the normal name is an alias. */
34340 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34343 char (*f) () = pthread_attr_getschedpolicy;
34352 return f != pthread_attr_getschedpolicy;
34357 rm -f conftest.
$ac_objext conftest
$ac_exeext
34358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34359 (eval $ac_link) 2>conftest.er1
34361 grep -v '^ *+' conftest.er1
>conftest.err
34363 cat conftest.err
>&5
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); } &&
34366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34368 (eval $ac_try) 2>&5
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); }; } &&
34372 { ac_try
='test -s conftest$ac_exeext'
34373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34374 (eval $ac_try) 2>&5
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); }; }; then
34378 ac_cv_func_pthread_attr_getschedpolicy
=yes
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.
$ac_ext >&5
34383 ac_cv_func_pthread_attr_getschedpolicy
=no
34385 rm -f conftest.err conftest.
$ac_objext \
34386 conftest
$ac_exeext conftest.
$ac_ext
34388 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34389 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34390 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34391 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34392 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34393 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34394 echo $ECHO_N "(cached) $ECHO_C" >&6
34396 cat >conftest.
$ac_ext <<_ACEOF
34399 cat confdefs.h
>>conftest.
$ac_ext
34400 cat >>conftest.
$ac_ext <<_ACEOF
34401 /* end confdefs.h. */
34402 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34404 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34406 /* System header to define __stub macros and hopefully few prototypes,
34407 which can conflict with char pthread_attr_setschedparam (); below.
34408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34409 <limits.h> exists even on freestanding compilers. */
34412 # include <limits.h>
34414 # include <assert.h>
34417 #undef pthread_attr_setschedparam
34419 /* Override any gcc2 internal prototype to avoid an error. */
34424 /* We use char because int might match the return type of a gcc2
34425 builtin and then its argument prototype would still apply. */
34426 char pthread_attr_setschedparam ();
34427 /* The GNU C library defines this for functions which it implements
34428 to always fail with ENOSYS. Some functions are actually named
34429 something starting with __ and the normal name is an alias. */
34430 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34433 char (*f) () = pthread_attr_setschedparam;
34442 return f != pthread_attr_setschedparam;
34447 rm -f conftest.
$ac_objext conftest
$ac_exeext
34448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34449 (eval $ac_link) 2>conftest.er1
34451 grep -v '^ *+' conftest.er1
>conftest.err
34453 cat conftest.err
>&5
34454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34455 (exit $ac_status); } &&
34456 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34458 (eval $ac_try) 2>&5
34460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34461 (exit $ac_status); }; } &&
34462 { ac_try
='test -s conftest$ac_exeext'
34463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34464 (eval $ac_try) 2>&5
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); }; }; then
34468 ac_cv_func_pthread_attr_setschedparam
=yes
34470 echo "$as_me: failed program was:" >&5
34471 sed 's/^/| /' conftest.
$ac_ext >&5
34473 ac_cv_func_pthread_attr_setschedparam
=no
34475 rm -f conftest.err conftest.
$ac_objext \
34476 conftest
$ac_exeext conftest.
$ac_ext
34478 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34479 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34480 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34481 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34482 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34483 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34484 echo $ECHO_N "(cached) $ECHO_C" >&6
34486 cat >conftest.
$ac_ext <<_ACEOF
34489 cat confdefs.h
>>conftest.
$ac_ext
34490 cat >>conftest.
$ac_ext <<_ACEOF
34491 /* end confdefs.h. */
34492 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34494 #define sched_get_priority_max innocuous_sched_get_priority_max
34496 /* System header to define __stub macros and hopefully few prototypes,
34497 which can conflict with char sched_get_priority_max (); below.
34498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34499 <limits.h> exists even on freestanding compilers. */
34502 # include <limits.h>
34504 # include <assert.h>
34507 #undef sched_get_priority_max
34509 /* Override any gcc2 internal prototype to avoid an error. */
34514 /* We use char because int might match the return type of a gcc2
34515 builtin and then its argument prototype would still apply. */
34516 char sched_get_priority_max ();
34517 /* The GNU C library defines this for functions which it implements
34518 to always fail with ENOSYS. Some functions are actually named
34519 something starting with __ and the normal name is an alias. */
34520 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34523 char (*f) () = sched_get_priority_max;
34532 return f != sched_get_priority_max;
34537 rm -f conftest.
$ac_objext conftest
$ac_exeext
34538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34539 (eval $ac_link) 2>conftest.er1
34541 grep -v '^ *+' conftest.er1
>conftest.err
34543 cat conftest.err
>&5
34544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34545 (exit $ac_status); } &&
34546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34548 (eval $ac_try) 2>&5
34550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34551 (exit $ac_status); }; } &&
34552 { ac_try
='test -s conftest$ac_exeext'
34553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34554 (eval $ac_try) 2>&5
34556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34557 (exit $ac_status); }; }; then
34558 ac_cv_func_sched_get_priority_max
=yes
34560 echo "$as_me: failed program was:" >&5
34561 sed 's/^/| /' conftest.
$ac_ext >&5
34563 ac_cv_func_sched_get_priority_max
=no
34565 rm -f conftest.err conftest.
$ac_objext \
34566 conftest
$ac_exeext conftest.
$ac_ext
34568 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34569 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34570 if test $ac_cv_func_sched_get_priority_max = yes; then
34573 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34574 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34575 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34576 echo $ECHO_N "(cached) $ECHO_C" >&6
34578 ac_check_lib_save_LIBS
=$LIBS
34579 LIBS
="-lposix4 $LIBS"
34580 cat >conftest.
$ac_ext <<_ACEOF
34583 cat confdefs.h
>>conftest.
$ac_ext
34584 cat >>conftest.
$ac_ext <<_ACEOF
34585 /* end confdefs.h. */
34587 /* Override any gcc2 internal prototype to avoid an error. */
34591 /* We use char because int might match the return type of a gcc2
34592 builtin and then its argument prototype would still apply. */
34593 char sched_get_priority_max ();
34597 sched_get_priority_max ();
34602 rm -f conftest.
$ac_objext conftest
$ac_exeext
34603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34604 (eval $ac_link) 2>conftest.er1
34606 grep -v '^ *+' conftest.er1
>conftest.err
34608 cat conftest.err
>&5
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); } &&
34611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34613 (eval $ac_try) 2>&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); }; } &&
34617 { ac_try
='test -s conftest$ac_exeext'
34618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619 (eval $ac_try) 2>&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); }; }; then
34623 ac_cv_lib_posix4_sched_get_priority_max
=yes
34625 echo "$as_me: failed program was:" >&5
34626 sed 's/^/| /' conftest.
$ac_ext >&5
34628 ac_cv_lib_posix4_sched_get_priority_max
=no
34630 rm -f conftest.err conftest.
$ac_objext \
34631 conftest
$ac_exeext conftest.
$ac_ext
34632 LIBS
=$ac_check_lib_save_LIBS
34634 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34635 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34636 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34639 POSIX4_LINK
=" -lposix4"
34653 if test "$HAVE_PRIOR_FUNCS" = 1; then
34654 cat >>confdefs.h
<<\_ACEOF
34655 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34659 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34660 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34663 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34664 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34665 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34666 echo $ECHO_N "(cached) $ECHO_C" >&6
34668 cat >conftest.
$ac_ext <<_ACEOF
34671 cat confdefs.h
>>conftest.
$ac_ext
34672 cat >>conftest.
$ac_ext <<_ACEOF
34673 /* end confdefs.h. */
34674 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34676 #define pthread_cancel innocuous_pthread_cancel
34678 /* System header to define __stub macros and hopefully few prototypes,
34679 which can conflict with char pthread_cancel (); below.
34680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34681 <limits.h> exists even on freestanding compilers. */
34684 # include <limits.h>
34686 # include <assert.h>
34689 #undef pthread_cancel
34691 /* Override any gcc2 internal prototype to avoid an error. */
34696 /* We use char because int might match the return type of a gcc2
34697 builtin and then its argument prototype would still apply. */
34698 char pthread_cancel ();
34699 /* The GNU C library defines this for functions which it implements
34700 to always fail with ENOSYS. Some functions are actually named
34701 something starting with __ and the normal name is an alias. */
34702 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34705 char (*f) () = pthread_cancel;
34714 return f != pthread_cancel;
34719 rm -f conftest.
$ac_objext conftest
$ac_exeext
34720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34721 (eval $ac_link) 2>conftest.er1
34723 grep -v '^ *+' conftest.er1
>conftest.err
34725 cat conftest.err
>&5
34726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34727 (exit $ac_status); } &&
34728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34730 (eval $ac_try) 2>&5
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); }; } &&
34734 { ac_try
='test -s conftest$ac_exeext'
34735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34736 (eval $ac_try) 2>&5
34738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34739 (exit $ac_status); }; }; then
34740 ac_cv_func_pthread_cancel
=yes
34742 echo "$as_me: failed program was:" >&5
34743 sed 's/^/| /' conftest.
$ac_ext >&5
34745 ac_cv_func_pthread_cancel
=no
34747 rm -f conftest.err conftest.
$ac_objext \
34748 conftest
$ac_exeext conftest.
$ac_ext
34750 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34751 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34752 if test $ac_cv_func_pthread_cancel = yes; then
34753 cat >>confdefs.h
<<\_ACEOF
34754 #define HAVE_PTHREAD_CANCEL 1
34758 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34759 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34765 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34766 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34767 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34768 echo $ECHO_N "(cached) $ECHO_C" >&6
34771 cat >conftest.
$ac_ext <<_ACEOF
34774 cat confdefs.h
>>conftest.
$ac_ext
34775 cat >>conftest.
$ac_ext <<_ACEOF
34776 /* end confdefs.h. */
34777 #include <pthread.h>
34782 pthread_mutexattr_t attr;
34783 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34789 rm -f conftest.
$ac_objext
34790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34791 (eval $ac_compile) 2>conftest.er1
34793 grep -v '^ *+' conftest.er1
>conftest.err
34795 cat conftest.err
>&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); } &&
34798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34800 (eval $ac_try) 2>&5
34802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803 (exit $ac_status); }; } &&
34804 { ac_try
='test -s conftest.$ac_objext'
34805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34806 (eval $ac_try) 2>&5
34808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34809 (exit $ac_status); }; }; then
34811 wx_cv_type_pthread_mutexattr_t
=yes
34814 echo "$as_me: failed program was:" >&5
34815 sed 's/^/| /' conftest.
$ac_ext >&5
34818 wx_cv_type_pthread_mutexattr_t
=no
34822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34825 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34826 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34828 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34829 cat >>confdefs.h
<<\_ACEOF
34830 #define HAVE_PTHREAD_MUTEXATTR_T 1
34834 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34835 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34836 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34837 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 cat >conftest.
$ac_ext <<_ACEOF
34843 cat confdefs.h
>>conftest.
$ac_ext
34844 cat >>conftest.
$ac_ext <<_ACEOF
34845 /* end confdefs.h. */
34846 #include <pthread.h>
34851 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34857 rm -f conftest.
$ac_objext
34858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34859 (eval $ac_compile) 2>conftest.er1
34861 grep -v '^ *+' conftest.er1
>conftest.err
34863 cat conftest.err
>&5
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); } &&
34866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34868 (eval $ac_try) 2>&5
34870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34871 (exit $ac_status); }; } &&
34872 { ac_try
='test -s conftest.$ac_objext'
34873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34874 (eval $ac_try) 2>&5
34876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34877 (exit $ac_status); }; }; then
34879 wx_cv_type_pthread_rec_mutex_init
=yes
34882 echo "$as_me: failed program was:" >&5
34883 sed 's/^/| /' conftest.
$ac_ext >&5
34886 wx_cv_type_pthread_rec_mutex_init
=no
34890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34893 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34894 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34895 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34896 cat >>confdefs.h
<<\_ACEOF
34897 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34901 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34902 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34908 if test "$wxUSE_THREADS" = "yes" ; then
34911 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34912 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34913 if test "${wx_cv_cflags_mthread+set}" = set; then
34914 echo $ECHO_N "(cached) $ECHO_C" >&6
34917 CFLAGS_OLD
="$CFLAGS"
34918 CFLAGS
="$CFLAGS -mthreads"
34919 cat >conftest.
$ac_ext <<_ACEOF
34922 cat confdefs.h
>>conftest.
$ac_ext
34923 cat >>conftest.
$ac_ext <<_ACEOF
34924 /* end confdefs.h. */
34934 rm -f conftest.
$ac_objext
34935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34936 (eval $ac_compile) 2>conftest.er1
34938 grep -v '^ *+' conftest.er1
>conftest.err
34940 cat conftest.err
>&5
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); } &&
34943 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34945 (eval $ac_try) 2>&5
34947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34948 (exit $ac_status); }; } &&
34949 { ac_try
='test -s conftest.$ac_objext'
34950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34951 (eval $ac_try) 2>&5
34953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 (exit $ac_status); }; }; then
34955 wx_cv_cflags_mthread
=yes
34957 echo "$as_me: failed program was:" >&5
34958 sed 's/^/| /' conftest.
$ac_ext >&5
34960 wx_cv_cflags_mthread
=no
34963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34967 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34968 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34970 if test "$wx_cv_cflags_mthread" = "yes"; then
34971 CXXFLAGS
="$CXXFLAGS -mthreads"
34972 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
34973 LDFLAGS
="$LDFLAGS -mthreads"
34975 CFLAGS
="$CFLAGS_OLD"
34979 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34980 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34981 LDFLAGS
="$LDFLAGS -Zmt"
34987 if test "$wxUSE_THREADS" = "yes"; then
34988 cat >>confdefs.h
<<\_ACEOF
34989 #define wxUSE_THREADS 1
34993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
34995 if test "$ac_cv_func_strtok_r" = "yes"; then
34996 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34997 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34998 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34999 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
35000 echo "$as_me:$LINENO: result: yes" >&5
35001 echo "${ECHO_T}yes" >&6
35003 echo "$as_me:$LINENO: result: no" >&5
35004 echo "${ECHO_T}no" >&6
35009 if test "$WXGTK20" = 1 ; then
35010 cat >>confdefs.h
<<_ACEOF
35011 #define __WXGTK20__ $WXGTK20
35017 if test "$WXGTK12" = 1 ; then
35018 cat >>confdefs.h
<<_ACEOF
35019 #define __WXGTK12__ $WXGTK12
35024 if test "$WXGTK127" = 1 ; then
35025 cat >>confdefs.h
<<_ACEOF
35026 #define __WXGTK127__ $WXGTK127
35031 if test "$WXGPE" = 1 ; then
35032 cat >>confdefs.h
<<_ACEOF
35033 #define __WXGPE__ $WXGPE
35040 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35045 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35046 wxUSE_DEBUG_INFO
=yes
35050 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35051 cat >>confdefs.h
<<\_ACEOF
35055 WXDEBUG_DEFINE
="-D__WXDEBUG__"
35057 if test "$wxUSE_GTK" = 1 ; then
35058 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
35062 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35063 cat >>confdefs.h
<<\_ACEOF
35064 #define wxUSE_MEMORY_TRACING 1
35067 cat >>confdefs.h
<<\_ACEOF
35068 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35071 cat >>confdefs.h
<<\_ACEOF
35072 #define wxUSE_DEBUG_NEW_ALWAYS 1
35075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
35078 if test "$wxUSE_DMALLOC" = "yes" ; then
35079 DMALLOC_LIBS
="-ldmalloc"
35083 if test "$wxUSE_PROFILE" = "yes" ; then
35088 CODE_GEN_FLAGS_CXX
=
35089 if test "$GCC" = "yes" ; then
35090 if test "$wxUSE_NO_RTTI" = "yes" ; then
35091 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
35093 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35094 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35096 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35097 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
35102 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
35105 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
35111 if test "$wxUSE_OPTIMISE" = "no" ; then
35112 if test "$GCC" = yes ; then
35116 if test "$GCC" = yes ; then
35120 i586
-*-*|i686
-*-* )
35121 OPTIMISE
="${OPTIMISE} "
35130 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35131 cat >>confdefs.h
<<\_ACEOF
35132 #define WXWIN_COMPATIBILITY_2_2 1
35136 WXWIN_COMPATIBILITY_2_4
="yes"
35139 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35140 cat >>confdefs.h
<<\_ACEOF
35141 #define WXWIN_COMPATIBILITY_2_4 1
35147 if test "$wxUSE_GUI" = "yes"; then
35148 cat >>confdefs.h
<<\_ACEOF
35149 #define wxUSE_GUI 1
35156 if test "$wxUSE_UNIX" = "yes"; then
35157 cat >>confdefs.h
<<\_ACEOF
35158 #define wxUSE_UNIX 1
35164 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35168 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35169 if test "$USE_DARWIN" = 1; then
35173 for ac_func
in dlopen
35175 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35176 echo "$as_me:$LINENO: checking for $ac_func" >&5
35177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35178 if eval "test \"\${$as_ac_var+set}\" = set"; then
35179 echo $ECHO_N "(cached) $ECHO_C" >&6
35181 cat >conftest.
$ac_ext <<_ACEOF
35184 cat confdefs.h
>>conftest.
$ac_ext
35185 cat >>conftest.
$ac_ext <<_ACEOF
35186 /* end confdefs.h. */
35187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35189 #define $ac_func innocuous_$ac_func
35191 /* System header to define __stub macros and hopefully few prototypes,
35192 which can conflict with char $ac_func (); below.
35193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35194 <limits.h> exists even on freestanding compilers. */
35197 # include <limits.h>
35199 # include <assert.h>
35204 /* Override any gcc2 internal prototype to avoid an error. */
35209 /* We use char because int might match the return type of a gcc2
35210 builtin and then its argument prototype would still apply. */
35212 /* The GNU C library defines this for functions which it implements
35213 to always fail with ENOSYS. Some functions are actually named
35214 something starting with __ and the normal name is an alias. */
35215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35218 char (*f) () = $ac_func;
35227 return f != $ac_func;
35232 rm -f conftest.
$ac_objext conftest
$ac_exeext
35233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35234 (eval $ac_link) 2>conftest.er1
35236 grep -v '^ *+' conftest.er1
>conftest.err
35238 cat conftest.err
>&5
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); } &&
35241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35243 (eval $ac_try) 2>&5
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); }; } &&
35247 { ac_try
='test -s conftest$ac_exeext'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; }; then
35253 eval "$as_ac_var=yes"
35255 echo "$as_me: failed program was:" >&5
35256 sed 's/^/| /' conftest.
$ac_ext >&5
35258 eval "$as_ac_var=no"
35260 rm -f conftest.err conftest.
$ac_objext \
35261 conftest
$ac_exeext conftest.
$ac_ext
35263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35265 if test `eval echo '${'$as_ac_var'}'` = yes; then
35266 cat >>confdefs.h
<<_ACEOF
35267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35270 cat >>confdefs.h
<<\_ACEOF
35271 #define HAVE_DLOPEN 1
35278 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35279 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35280 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35281 echo $ECHO_N "(cached) $ECHO_C" >&6
35283 ac_check_lib_save_LIBS
=$LIBS
35285 cat >conftest.
$ac_ext <<_ACEOF
35288 cat confdefs.h
>>conftest.
$ac_ext
35289 cat >>conftest.
$ac_ext <<_ACEOF
35290 /* end confdefs.h. */
35292 /* Override any gcc2 internal prototype to avoid an error. */
35296 /* We use char because int might match the return type of a gcc2
35297 builtin and then its argument prototype would still apply. */
35307 rm -f conftest.
$ac_objext conftest
$ac_exeext
35308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35309 (eval $ac_link) 2>conftest.er1
35311 grep -v '^ *+' conftest.er1
>conftest.err
35313 cat conftest.err
>&5
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); } &&
35316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35318 (eval $ac_try) 2>&5
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); }; } &&
35322 { ac_try
='test -s conftest$ac_exeext'
35323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35324 (eval $ac_try) 2>&5
35326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35327 (exit $ac_status); }; }; then
35328 ac_cv_lib_dl_dlopen
=yes
35330 echo "$as_me: failed program was:" >&5
35331 sed 's/^/| /' conftest.
$ac_ext >&5
35333 ac_cv_lib_dl_dlopen
=no
35335 rm -f conftest.err conftest.
$ac_objext \
35336 conftest
$ac_exeext conftest.
$ac_ext
35337 LIBS
=$ac_check_lib_save_LIBS
35339 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35340 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35341 if test $ac_cv_lib_dl_dlopen = yes; then
35343 cat >>confdefs.h
<<\_ACEOF
35344 #define HAVE_DLOPEN 1
35348 DL_LINK
=" -ldl$DL_LINK"
35353 for ac_func
in shl_load
35355 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35356 echo "$as_me:$LINENO: checking for $ac_func" >&5
35357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35358 if eval "test \"\${$as_ac_var+set}\" = set"; then
35359 echo $ECHO_N "(cached) $ECHO_C" >&6
35361 cat >conftest.
$ac_ext <<_ACEOF
35364 cat confdefs.h
>>conftest.
$ac_ext
35365 cat >>conftest.
$ac_ext <<_ACEOF
35366 /* end confdefs.h. */
35367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35369 #define $ac_func innocuous_$ac_func
35371 /* System header to define __stub macros and hopefully few prototypes,
35372 which can conflict with char $ac_func (); below.
35373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35374 <limits.h> exists even on freestanding compilers. */
35377 # include <limits.h>
35379 # include <assert.h>
35384 /* Override any gcc2 internal prototype to avoid an error. */
35389 /* We use char because int might match the return type of a gcc2
35390 builtin and then its argument prototype would still apply. */
35392 /* The GNU C library defines this for functions which it implements
35393 to always fail with ENOSYS. Some functions are actually named
35394 something starting with __ and the normal name is an alias. */
35395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35398 char (*f) () = $ac_func;
35407 return f != $ac_func;
35412 rm -f conftest.
$ac_objext conftest
$ac_exeext
35413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35414 (eval $ac_link) 2>conftest.er1
35416 grep -v '^ *+' conftest.er1
>conftest.err
35418 cat conftest.err
>&5
35419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35420 (exit $ac_status); } &&
35421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35423 (eval $ac_try) 2>&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); }; } &&
35427 { ac_try
='test -s conftest$ac_exeext'
35428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35429 (eval $ac_try) 2>&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); }; }; then
35433 eval "$as_ac_var=yes"
35435 echo "$as_me: failed program was:" >&5
35436 sed 's/^/| /' conftest.
$ac_ext >&5
35438 eval "$as_ac_var=no"
35440 rm -f conftest.err conftest.
$ac_objext \
35441 conftest
$ac_exeext conftest.
$ac_ext
35443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35445 if test `eval echo '${'$as_ac_var'}'` = yes; then
35446 cat >>confdefs.h
<<_ACEOF
35447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35450 cat >>confdefs.h
<<\_ACEOF
35451 #define HAVE_SHL_LOAD 1
35458 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35459 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35460 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35461 echo $ECHO_N "(cached) $ECHO_C" >&6
35463 ac_check_lib_save_LIBS
=$LIBS
35464 LIBS
="-lshl_load $LIBS"
35465 cat >conftest.
$ac_ext <<_ACEOF
35468 cat confdefs.h
>>conftest.
$ac_ext
35469 cat >>conftest.
$ac_ext <<_ACEOF
35470 /* end confdefs.h. */
35472 /* Override any gcc2 internal prototype to avoid an error. */
35476 /* We use char because int might match the return type of a gcc2
35477 builtin and then its argument prototype would still apply. */
35487 rm -f conftest.
$ac_objext conftest
$ac_exeext
35488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35489 (eval $ac_link) 2>conftest.er1
35491 grep -v '^ *+' conftest.er1
>conftest.err
35493 cat conftest.err
>&5
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); } &&
35496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35498 (eval $ac_try) 2>&5
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; } &&
35502 { ac_try
='test -s conftest$ac_exeext'
35503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35504 (eval $ac_try) 2>&5
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); }; }; then
35508 ac_cv_lib_shl_load_dld
=yes
35510 echo "$as_me: failed program was:" >&5
35511 sed 's/^/| /' conftest.
$ac_ext >&5
35513 ac_cv_lib_shl_load_dld
=no
35515 rm -f conftest.err conftest.
$ac_objext \
35516 conftest
$ac_exeext conftest.
$ac_ext
35517 LIBS
=$ac_check_lib_save_LIBS
35519 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35520 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35521 if test $ac_cv_lib_shl_load_dld = yes; then
35524 DL_LINK
=" -ldld$DL_LINK"
35540 if test "$HAVE_DL_FUNCS" = 1; then
35542 for ac_func
in dlerror
35544 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35545 echo "$as_me:$LINENO: checking for $ac_func" >&5
35546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35547 if eval "test \"\${$as_ac_var+set}\" = set"; then
35548 echo $ECHO_N "(cached) $ECHO_C" >&6
35550 cat >conftest.
$ac_ext <<_ACEOF
35553 cat confdefs.h
>>conftest.
$ac_ext
35554 cat >>conftest.
$ac_ext <<_ACEOF
35555 /* end confdefs.h. */
35556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35558 #define $ac_func innocuous_$ac_func
35560 /* System header to define __stub macros and hopefully few prototypes,
35561 which can conflict with char $ac_func (); below.
35562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35563 <limits.h> exists even on freestanding compilers. */
35566 # include <limits.h>
35568 # include <assert.h>
35573 /* Override any gcc2 internal prototype to avoid an error. */
35578 /* We use char because int might match the return type of a gcc2
35579 builtin and then its argument prototype would still apply. */
35581 /* The GNU C library defines this for functions which it implements
35582 to always fail with ENOSYS. Some functions are actually named
35583 something starting with __ and the normal name is an alias. */
35584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35587 char (*f) () = $ac_func;
35596 return f != $ac_func;
35601 rm -f conftest.
$ac_objext conftest
$ac_exeext
35602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35603 (eval $ac_link) 2>conftest.er1
35605 grep -v '^ *+' conftest.er1
>conftest.err
35607 cat conftest.err
>&5
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); } &&
35610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35612 (eval $ac_try) 2>&5
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); }; } &&
35616 { ac_try
='test -s conftest$ac_exeext'
35617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35618 (eval $ac_try) 2>&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); }; }; then
35622 eval "$as_ac_var=yes"
35624 echo "$as_me: failed program was:" >&5
35625 sed 's/^/| /' conftest.
$ac_ext >&5
35627 eval "$as_ac_var=no"
35629 rm -f conftest.err conftest.
$ac_objext \
35630 conftest
$ac_exeext conftest.
$ac_ext
35632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35634 if test `eval echo '${'$as_ac_var'}'` = yes; then
35635 cat >>confdefs.h
<<_ACEOF
35636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35638 cat >>confdefs.h
<<\_ACEOF
35639 #define HAVE_DLERROR 1
35644 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35645 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35646 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35647 echo $ECHO_N "(cached) $ECHO_C" >&6
35649 ac_check_lib_save_LIBS
=$LIBS
35651 cat >conftest.
$ac_ext <<_ACEOF
35654 cat confdefs.h
>>conftest.
$ac_ext
35655 cat >>conftest.
$ac_ext <<_ACEOF
35656 /* end confdefs.h. */
35658 /* Override any gcc2 internal prototype to avoid an error. */
35662 /* We use char because int might match the return type of a gcc2
35663 builtin and then its argument prototype would still apply. */
35673 rm -f conftest.
$ac_objext conftest
$ac_exeext
35674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35675 (eval $ac_link) 2>conftest.er1
35677 grep -v '^ *+' conftest.er1
>conftest.err
35679 cat conftest.err
>&5
35680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35681 (exit $ac_status); } &&
35682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35684 (eval $ac_try) 2>&5
35686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35687 (exit $ac_status); }; } &&
35688 { ac_try
='test -s conftest$ac_exeext'
35689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35690 (eval $ac_try) 2>&5
35692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35693 (exit $ac_status); }; }; then
35694 ac_cv_lib_dl_dlerror
=yes
35696 echo "$as_me: failed program was:" >&5
35697 sed 's/^/| /' conftest.
$ac_ext >&5
35699 ac_cv_lib_dl_dlerror
=no
35701 rm -f conftest.err conftest.
$ac_objext \
35702 conftest
$ac_exeext conftest.
$ac_ext
35703 LIBS
=$ac_check_lib_save_LIBS
35705 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35706 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35707 if test $ac_cv_lib_dl_dlerror = yes; then
35708 cat >>confdefs.h
<<\_ACEOF
35709 #define HAVE_DLERROR 1
35722 if test "$HAVE_DL_FUNCS" = 0; then
35723 if test "$HAVE_SHL_FUNCS" = 0; then
35724 if test "$USE_UNIX" = 1; then
35725 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35726 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35727 wxUSE_DYNAMIC_LOADER
=no
35728 wxUSE_DYNLIB_CLASS
=no
35730 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35731 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35738 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35739 cat >>confdefs.h
<<\_ACEOF
35740 #define wxUSE_DYNAMIC_LOADER 1
35744 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35745 cat >>confdefs.h
<<\_ACEOF
35746 #define wxUSE_DYNLIB_CLASS 1
35753 if test "$wxUSE_PLUGINS" = "yes" ; then
35754 if test "$wxUSE_SHARED" = "no" ; then
35755 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35756 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35759 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35760 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35761 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35764 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35765 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35766 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35769 if test "$wxUSE_PLUGINS" = "yes" ; then
35770 cat >>confdefs.h
<<\_ACEOF
35771 #define wxUSE_PLUGINS 1
35778 if test "$wxUSE_STL" = "yes"; then
35779 cat >>confdefs.h
<<\_ACEOF
35780 #define wxUSE_STL 1
35785 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35786 cat >>confdefs.h
<<\_ACEOF
35787 #define wxUSE_APPLE_IEEE 1
35792 if test "$wxUSE_TIMER" = "yes"; then
35793 cat >>confdefs.h
<<\_ACEOF
35794 #define wxUSE_TIMER 1
35800 if test "$wxUSE_SOUND" = "yes"; then
35801 if test "$USE_UNIX" = "1" ; then
35803 for ac_header
in sys
/soundcard.h
35805 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35807 echo "$as_me:$LINENO: checking for $ac_header" >&5
35808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35810 echo $ECHO_N "(cached) $ECHO_C" >&6
35812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35815 # Is the header compilable?
35816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35818 cat >conftest.
$ac_ext <<_ACEOF
35821 cat confdefs.h
>>conftest.
$ac_ext
35822 cat >>conftest.
$ac_ext <<_ACEOF
35823 /* end confdefs.h. */
35824 $ac_includes_default
35825 #include <$ac_header>
35827 rm -f conftest.
$ac_objext
35828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35829 (eval $ac_compile) 2>conftest.er1
35831 grep -v '^ *+' conftest.er1
>conftest.err
35833 cat conftest.err
>&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); } &&
35836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; } &&
35842 { ac_try
='test -s conftest.$ac_objext'
35843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35844 (eval $ac_try) 2>&5
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); }; }; then
35848 ac_header_compiler
=yes
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.
$ac_ext >&5
35853 ac_header_compiler
=no
35855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35857 echo "${ECHO_T}$ac_header_compiler" >&6
35859 # Is the header present?
35860 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35862 cat >conftest.
$ac_ext <<_ACEOF
35865 cat confdefs.h
>>conftest.
$ac_ext
35866 cat >>conftest.
$ac_ext <<_ACEOF
35867 /* end confdefs.h. */
35868 #include <$ac_header>
35870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35871 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35873 grep -v '^ *+' conftest.er1
>conftest.err
35875 cat conftest.err
>&5
35876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877 (exit $ac_status); } >/dev
/null
; then
35878 if test -s conftest.err
; then
35879 ac_cpp_err
=$ac_c_preproc_warn_flag
35880 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35887 if test -z "$ac_cpp_err"; then
35888 ac_header_preproc
=yes
35890 echo "$as_me: failed program was:" >&5
35891 sed 's/^/| /' conftest.
$ac_ext >&5
35893 ac_header_preproc
=no
35895 rm -f conftest.err conftest.
$ac_ext
35896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35897 echo "${ECHO_T}$ac_header_preproc" >&6
35899 # So? What about this header?
35900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35905 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35906 ac_header_preproc
=yes
35909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35913 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35914 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35915 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35916 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35919 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35920 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35923 ## ----------------------------------------- ##
35924 ## Report this to wx-dev@lists.wxwidgets.org ##
35925 ## ----------------------------------------- ##
35928 sed "s/^/$as_me: WARNING: /" >&2
35931 echo "$as_me:$LINENO: checking for $ac_header" >&5
35932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35934 echo $ECHO_N "(cached) $ECHO_C" >&6
35936 eval "$as_ac_Header=\$ac_header_preproc"
35938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35943 cat >>confdefs.h
<<_ACEOF
35944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35952 if test "$wxUSE_LIBSDL" != "no"; then
35954 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35955 if test "${with_sdl_prefix+set}" = set; then
35956 withval
="$with_sdl_prefix"
35957 sdl_prefix
="$withval"
35962 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35963 if test "${with_sdl_exec_prefix+set}" = set; then
35964 withval
="$with_sdl_exec_prefix"
35965 sdl_exec_prefix
="$withval"
35969 # Check whether --enable-sdltest or --disable-sdltest was given.
35970 if test "${enable_sdltest+set}" = set; then
35971 enableval
="$enable_sdltest"
35977 if test x
$sdl_exec_prefix != x
; then
35978 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
35979 if test x
${SDL_CONFIG+set} != xset
; then
35980 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
35983 if test x
$sdl_prefix != x
; then
35984 sdl_args
="$sdl_args --prefix=$sdl_prefix"
35985 if test x
${SDL_CONFIG+set} != xset
; then
35986 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
35991 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
35992 # Extract the first word of "sdl-config", so it can be a program name with args.
35993 set dummy sdl
-config; ac_word
=$2
35994 echo "$as_me:$LINENO: checking for $ac_word" >&5
35995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35996 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35997 echo $ECHO_N "(cached) $ECHO_C" >&6
35999 case $SDL_CONFIG in
36001 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
36004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36005 for as_dir
in $PATH
36008 test -z "$as_dir" && as_dir
=.
36009 for ac_exec_ext
in '' $ac_executable_extensions; do
36010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36011 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36018 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
36022 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
36024 if test -n "$SDL_CONFIG"; then
36025 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36026 echo "${ECHO_T}$SDL_CONFIG" >&6
36028 echo "$as_me:$LINENO: result: no" >&5
36029 echo "${ECHO_T}no" >&6
36032 min_sdl_version
=1.2.0
36033 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36034 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36036 if test "$SDL_CONFIG" = "no" ; then
36039 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
36040 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
36042 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
36043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36044 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
36045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36046 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
36047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36048 if test "x$enable_sdltest" = "xyes" ; then
36049 ac_save_CFLAGS
="$CFLAGS"
36050 ac_save_CXXFLAGS
="$CXXFLAGS"
36051 ac_save_LIBS
="$LIBS"
36052 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36053 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36054 LIBS
="$LIBS $SDL_LIBS"
36056 if test "$cross_compiling" = yes; then
36057 echo $ac_n "cross compiling; assumed OK... $ac_c"
36059 cat >conftest.
$ac_ext <<_ACEOF
36062 cat confdefs.h
>>conftest.
$ac_ext
36063 cat >>conftest.
$ac_ext <<_ACEOF
36064 /* end confdefs.h. */
36067 #include <stdlib.h>
36068 #include <string.h>
36072 my_strdup (char *str)
36078 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36079 strcpy (new_str, str);
36087 int main (int argc, char *argv[])
36089 int major, minor, micro;
36092 /* This hangs on some systems (?)
36093 system ("touch conf.sdltest");
36095 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36097 /* HP/UX 9 (%@#!) writes to sscanf strings */
36098 tmp_version = my_strdup("$min_sdl_version");
36099 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
36100 printf("%s, bad version string\n", "$min_sdl_version");
36104 if (($sdl_major_version > major) ||
36105 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36106 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36112 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36113 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36114 printf("*** best to upgrade to the required version.\n");
36115 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36116 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36117 printf("*** config.cache before re-running configure\n");
36124 rm -f conftest
$ac_exeext
36125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36126 (eval $ac_link) 2>&5
36128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36129 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36131 (eval $ac_try) 2>&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); }; }; then
36137 echo "$as_me: program exited with status $ac_status" >&5
36138 echo "$as_me: failed program was:" >&5
36139 sed 's/^/| /' conftest.
$ac_ext >&5
36141 ( exit $ac_status )
36144 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36146 CFLAGS
="$ac_save_CFLAGS"
36147 CXXFLAGS
="$ac_save_CXXFLAGS"
36148 LIBS
="$ac_save_LIBS"
36151 if test "x$no_sdl" = x
; then
36152 echo "$as_me:$LINENO: result: yes" >&5
36153 echo "${ECHO_T}yes" >&6
36155 EXTRALIBS_SDL
="$SDL_LIBS"
36156 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36157 cat >>confdefs.h
<<\_ACEOF
36158 #define wxUSE_LIBSDL 1
36163 echo "$as_me:$LINENO: result: no" >&5
36164 echo "${ECHO_T}no" >&6
36165 if test "$SDL_CONFIG" = "no" ; then
36166 echo "*** The sdl-config script installed by SDL could not be found"
36167 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36168 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36169 echo "*** full path to sdl-config."
36171 if test -f conf.sdltest
; then
36174 echo "*** Could not run SDL test program, checking why..."
36175 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36176 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36177 LIBS
="$LIBS $SDL_LIBS"
36178 cat >conftest.
$ac_ext <<_ACEOF
36181 cat confdefs.h
>>conftest.
$ac_ext
36182 cat >>conftest.
$ac_ext <<_ACEOF
36183 /* end confdefs.h. */
36188 int main(int argc, char *argv[])
36191 #define main K_and_R_C_main
36201 rm -f conftest.
$ac_objext conftest
$ac_exeext
36202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36203 (eval $ac_link) 2>conftest.er1
36205 grep -v '^ *+' conftest.er1
>conftest.err
36207 cat conftest.err
>&5
36208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36209 (exit $ac_status); } &&
36210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36212 (eval $ac_try) 2>&5
36214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36215 (exit $ac_status); }; } &&
36216 { ac_try
='test -s conftest$ac_exeext'
36217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36218 (eval $ac_try) 2>&5
36220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36221 (exit $ac_status); }; }; then
36222 echo "*** The test program compiled, but did not run. This usually means"
36223 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36224 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36225 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36226 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36227 echo "*** is required on your system"
36229 echo "*** If you have an old version installed, it is best to remove it, although"
36230 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36232 echo "$as_me: failed program was:" >&5
36233 sed 's/^/| /' conftest.
$ac_ext >&5
36235 echo "*** The test program failed to compile or link. See the file config.log for the"
36236 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36237 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36238 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36240 rm -f conftest.err conftest.
$ac_objext \
36241 conftest
$ac_exeext conftest.
$ac_ext
36242 CFLAGS
="$ac_save_CFLAGS"
36243 CXXFLAGS
="$ac_save_CXXFLAGS"
36244 LIBS
="$ac_save_LIBS"
36255 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36261 cat >>confdefs.h
<<\_ACEOF
36262 #define wxUSE_SOUND 1
36265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36268 if test "$WXGTK20" = 1; then
36269 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36270 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36275 if test -z "$PKG_CONFIG"; then
36276 # Extract the first word of "pkg-config", so it can be a program name with args.
36277 set dummy pkg
-config; ac_word
=$2
36278 echo "$as_me:$LINENO: checking for $ac_word" >&5
36279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36280 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36281 echo $ECHO_N "(cached) $ECHO_C" >&6
36283 case $PKG_CONFIG in
36285 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36289 for as_dir
in $PATH
36292 test -z "$as_dir" && as_dir
=.
36293 for ac_exec_ext
in '' $ac_executable_extensions; do
36294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36295 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36302 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
36306 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36308 if test -n "$PKG_CONFIG"; then
36309 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36310 echo "${ECHO_T}$PKG_CONFIG" >&6
36312 echo "$as_me:$LINENO: result: no" >&5
36313 echo "${ECHO_T}no" >&6
36318 if test "$PKG_CONFIG" = "no" ; then
36319 echo "*** The pkg-config script could not be found. Make sure it is"
36320 echo "*** in your path, or set the PKG_CONFIG environment variable"
36321 echo "*** to the full path to pkg-config."
36322 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36324 PKG_CONFIG_MIN_VERSION
=0.9.0
36325 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36326 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36327 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36329 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36330 echo "$as_me:$LINENO: result: yes" >&5
36331 echo "${ECHO_T}yes" >&6
36334 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36335 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36336 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36337 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36338 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36340 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36341 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36342 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36343 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36344 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36346 LIBGNOMEPRINTUI_CFLAGS
=""
36347 LIBGNOMEPRINTUI_LIBS
=""
36348 ## If we have a custom action on failure, don't print errors, but
36349 ## do set a variable so people can do so.
36350 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36357 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36358 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36362 if test $succeeded = yes; then
36364 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36365 cat >>confdefs.h
<<\_ACEOF
36366 #define wxUSE_LIBGNOMEPRINT 1
36372 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36373 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36374 wxUSE_LIBGNOMEPRINT
="no"
36384 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36385 cat >>confdefs.h
<<\_ACEOF
36386 #define wxUSE_CMDLINE_PARSER 1
36391 if test "$wxUSE_STOPWATCH" = "yes"; then
36392 cat >>confdefs.h
<<\_ACEOF
36393 #define wxUSE_STOPWATCH 1
36398 if test "$wxUSE_DATETIME" = "yes"; then
36399 cat >>confdefs.h
<<\_ACEOF
36400 #define wxUSE_DATETIME 1
36405 if test "$wxUSE_FILE" = "yes"; then
36406 cat >>confdefs.h
<<\_ACEOF
36407 #define wxUSE_FILE 1
36412 if test "$wxUSE_FFILE" = "yes"; then
36413 cat >>confdefs.h
<<\_ACEOF
36414 #define wxUSE_FFILE 1
36419 if test "$wxUSE_FILESYSTEM" = "yes"; then
36420 cat >>confdefs.h
<<\_ACEOF
36421 #define wxUSE_FILESYSTEM 1
36426 if test "$wxUSE_FS_ZIP" = "yes"; then
36427 cat >>confdefs.h
<<\_ACEOF
36428 #define wxUSE_FS_ZIP 1
36433 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36434 cat >>confdefs.h
<<\_ACEOF
36435 #define wxUSE_ARCHIVE_STREAMS 1
36440 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36441 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36442 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36443 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36444 elif test "$wxUSE_ZLIB" = "no"; then
36445 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36446 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36448 cat >>confdefs.h
<<\_ACEOF
36449 #define wxUSE_ZIPSTREAM 1
36455 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36456 cat >>confdefs.h
<<\_ACEOF
36457 #define wxUSE_ON_FATAL_EXCEPTION 1
36462 if test "$wxUSE_STACKWALKER" = "yes"; then
36463 cat >>confdefs.h
<<\_ACEOF
36464 #define wxUSE_STACKWALKER 1
36469 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36470 cat >>confdefs.h
<<\_ACEOF
36471 #define wxUSE_DEBUGREPORT 1
36476 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36477 cat >>confdefs.h
<<\_ACEOF
36478 #define wxUSE_SNGLINST_CHECKER 1
36483 if test "$wxUSE_BUSYINFO" = "yes"; then
36484 cat >>confdefs.h
<<\_ACEOF
36485 #define wxUSE_BUSYINFO 1
36490 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36491 cat >>confdefs.h
<<\_ACEOF
36492 #define wxUSE_STD_IOSTREAM 1
36497 if test "$wxUSE_STDPATHS" = "yes"; then
36498 cat >>confdefs.h
<<\_ACEOF
36499 #define wxUSE_STDPATHS 1
36504 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36505 cat >>confdefs.h
<<\_ACEOF
36506 #define wxUSE_TEXTBUFFER 1
36511 if test "$wxUSE_TEXTFILE" = "yes"; then
36512 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36513 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36514 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36516 cat >>confdefs.h
<<\_ACEOF
36517 #define wxUSE_TEXTFILE 1
36523 if test "$wxUSE_CONFIG" = "yes" ; then
36524 if test "$wxUSE_TEXTFILE" != "yes"; then
36525 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36526 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36528 cat >>confdefs.h
<<\_ACEOF
36529 #define wxUSE_CONFIG 1
36532 cat >>confdefs.h
<<\_ACEOF
36533 #define wxUSE_CONFIG_NATIVE 1
36536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
36540 if test "$wxUSE_INTL" = "yes" ; then
36541 if test "$wxUSE_FILE" != "yes"; then
36542 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36543 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36545 cat >>confdefs.h
<<\_ACEOF
36546 #define wxUSE_INTL 1
36549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
36550 GUIDIST
="$GUIDIST INTL_DIST"
36554 if test "$wxUSE_LOG" = "yes"; then
36555 cat >>confdefs.h
<<\_ACEOF
36556 #define wxUSE_LOG 1
36560 if test "$wxUSE_LOGGUI" = "yes"; then
36561 cat >>confdefs.h
<<\_ACEOF
36562 #define wxUSE_LOGGUI 1
36567 if test "$wxUSE_LOGWINDOW" = "yes"; then
36568 cat >>confdefs.h
<<\_ACEOF
36569 #define wxUSE_LOGWINDOW 1
36574 if test "$wxUSE_LOGDIALOG" = "yes"; then
36575 cat >>confdefs.h
<<\_ACEOF
36576 #define wxUSE_LOG_DIALOG 1
36581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
36584 if test "$wxUSE_LONGLONG" = "yes"; then
36585 cat >>confdefs.h
<<\_ACEOF
36586 #define wxUSE_LONGLONG 1
36591 if test "$wxUSE_GEOMETRY" = "yes"; then
36592 cat >>confdefs.h
<<\_ACEOF
36593 #define wxUSE_GEOMETRY 1
36598 if test "$wxUSE_STREAMS" = "yes" ; then
36599 cat >>confdefs.h
<<\_ACEOF
36600 #define wxUSE_STREAMS 1
36606 if test "$wxUSE_DATETIME" = "yes"; then
36608 for ac_func
in strptime
36610 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36611 echo "$as_me:$LINENO: checking for $ac_func" >&5
36612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36613 if eval "test \"\${$as_ac_var+set}\" = set"; then
36614 echo $ECHO_N "(cached) $ECHO_C" >&6
36616 cat >conftest.
$ac_ext <<_ACEOF
36619 cat confdefs.h
>>conftest.
$ac_ext
36620 cat >>conftest.
$ac_ext <<_ACEOF
36621 /* end confdefs.h. */
36622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36624 #define $ac_func innocuous_$ac_func
36626 /* System header to define __stub macros and hopefully few prototypes,
36627 which can conflict with char $ac_func (); below.
36628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36629 <limits.h> exists even on freestanding compilers. */
36632 # include <limits.h>
36634 # include <assert.h>
36639 /* Override any gcc2 internal prototype to avoid an error. */
36644 /* We use char because int might match the return type of a gcc2
36645 builtin and then its argument prototype would still apply. */
36647 /* The GNU C library defines this for functions which it implements
36648 to always fail with ENOSYS. Some functions are actually named
36649 something starting with __ and the normal name is an alias. */
36650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36653 char (*f) () = $ac_func;
36662 return f != $ac_func;
36667 rm -f conftest.
$ac_objext conftest
$ac_exeext
36668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36669 (eval $ac_link) 2>conftest.er1
36671 grep -v '^ *+' conftest.er1
>conftest.err
36673 cat conftest.err
>&5
36674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36675 (exit $ac_status); } &&
36676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36678 (eval $ac_try) 2>&5
36680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36681 (exit $ac_status); }; } &&
36682 { ac_try
='test -s conftest$ac_exeext'
36683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36684 (eval $ac_try) 2>&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); }; }; then
36688 eval "$as_ac_var=yes"
36690 echo "$as_me: failed program was:" >&5
36691 sed 's/^/| /' conftest.
$ac_ext >&5
36693 eval "$as_ac_var=no"
36695 rm -f conftest.err conftest.
$ac_objext \
36696 conftest
$ac_exeext conftest.
$ac_ext
36698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36700 if test `eval echo '${'$as_ac_var'}'` = yes; then
36701 cat >>confdefs.h
<<_ACEOF
36702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36709 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36710 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36711 if test "${wx_cv_var_timezone+set}" = set; then
36712 echo $ECHO_N "(cached) $ECHO_C" >&6
36715 cat >conftest.
$ac_ext <<_ACEOF
36718 cat confdefs.h
>>conftest.
$ac_ext
36719 cat >>conftest.
$ac_ext <<_ACEOF
36720 /* end confdefs.h. */
36735 rm -f conftest.
$ac_objext
36736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36737 (eval $ac_compile) 2>conftest.er1
36739 grep -v '^ *+' conftest.er1
>conftest.err
36741 cat conftest.err
>&5
36742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743 (exit $ac_status); } &&
36744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36746 (eval $ac_try) 2>&5
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); }; } &&
36750 { ac_try
='test -s conftest.$ac_objext'
36751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36752 (eval $ac_try) 2>&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); }; }; then
36757 wx_cv_var_timezone
=timezone
36760 echo "$as_me: failed program was:" >&5
36761 sed 's/^/| /' conftest.
$ac_ext >&5
36764 cat >conftest.
$ac_ext <<_ACEOF
36767 cat confdefs.h
>>conftest.
$ac_ext
36768 cat >>conftest.
$ac_ext <<_ACEOF
36769 /* end confdefs.h. */
36784 rm -f conftest.
$ac_objext
36785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36786 (eval $ac_compile) 2>conftest.er1
36788 grep -v '^ *+' conftest.er1
>conftest.err
36790 cat conftest.err
>&5
36791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36792 (exit $ac_status); } &&
36793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36795 (eval $ac_try) 2>&5
36797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36798 (exit $ac_status); }; } &&
36799 { ac_try
='test -s conftest.$ac_objext'
36800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36801 (eval $ac_try) 2>&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); }; }; then
36806 wx_cv_var_timezone
=_timezone
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.
$ac_ext >&5
36813 cat >conftest.
$ac_ext <<_ACEOF
36816 cat confdefs.h
>>conftest.
$ac_ext
36817 cat >>conftest.
$ac_ext <<_ACEOF
36818 /* end confdefs.h. */
36833 rm -f conftest.
$ac_objext
36834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36835 (eval $ac_compile) 2>conftest.er1
36837 grep -v '^ *+' conftest.er1
>conftest.err
36839 cat conftest.err
>&5
36840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36841 (exit $ac_status); } &&
36842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36844 (eval $ac_try) 2>&5
36846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36847 (exit $ac_status); }; } &&
36848 { ac_try
='test -s conftest.$ac_objext'
36849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36850 (eval $ac_try) 2>&5
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); }; }; then
36855 wx_cv_var_timezone
=__timezone
36858 echo "$as_me: failed program was:" >&5
36859 sed 's/^/| /' conftest.
$ac_ext >&5
36862 if test "$USE_DOS" = 0 ; then
36863 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36864 echo "$as_me: WARNING: no timezone variable" >&2;}
36869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36881 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36882 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36884 if test "x$wx_cv_var_timezone" != x
; then
36885 cat >>confdefs.h
<<_ACEOF
36886 #define WX_TIMEZONE $wx_cv_var_timezone
36892 for ac_func
in localtime
36894 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36895 echo "$as_me:$LINENO: checking for $ac_func" >&5
36896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36897 if eval "test \"\${$as_ac_var+set}\" = set"; then
36898 echo $ECHO_N "(cached) $ECHO_C" >&6
36900 cat >conftest.
$ac_ext <<_ACEOF
36903 cat confdefs.h
>>conftest.
$ac_ext
36904 cat >>conftest.
$ac_ext <<_ACEOF
36905 /* end confdefs.h. */
36906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36908 #define $ac_func innocuous_$ac_func
36910 /* System header to define __stub macros and hopefully few prototypes,
36911 which can conflict with char $ac_func (); below.
36912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36913 <limits.h> exists even on freestanding compilers. */
36916 # include <limits.h>
36918 # include <assert.h>
36923 /* Override any gcc2 internal prototype to avoid an error. */
36928 /* We use char because int might match the return type of a gcc2
36929 builtin and then its argument prototype would still apply. */
36931 /* The GNU C library defines this for functions which it implements
36932 to always fail with ENOSYS. Some functions are actually named
36933 something starting with __ and the normal name is an alias. */
36934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36937 char (*f) () = $ac_func;
36946 return f != $ac_func;
36951 rm -f conftest.
$ac_objext conftest
$ac_exeext
36952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36953 (eval $ac_link) 2>conftest.er1
36955 grep -v '^ *+' conftest.er1
>conftest.err
36957 cat conftest.err
>&5
36958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959 (exit $ac_status); } &&
36960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36962 (eval $ac_try) 2>&5
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); }; } &&
36966 { ac_try
='test -s conftest$ac_exeext'
36967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36968 (eval $ac_try) 2>&5
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); }; }; then
36972 eval "$as_ac_var=yes"
36974 echo "$as_me: failed program was:" >&5
36975 sed 's/^/| /' conftest.
$ac_ext >&5
36977 eval "$as_ac_var=no"
36979 rm -f conftest.err conftest.
$ac_objext \
36980 conftest
$ac_exeext conftest.
$ac_ext
36982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36984 if test `eval echo '${'$as_ac_var'}'` = yes; then
36985 cat >>confdefs.h
<<_ACEOF
36986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36993 if test "$ac_cv_func_localtime" = "yes"; then
36994 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36995 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36996 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36997 echo $ECHO_N "(cached) $ECHO_C" >&6
37000 cat >conftest.
$ac_ext <<_ACEOF
37003 cat confdefs.h
>>conftest.
$ac_ext
37004 cat >>conftest.
$ac_ext <<_ACEOF
37005 /* end confdefs.h. */
37020 rm -f conftest.
$ac_objext
37021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37022 (eval $ac_compile) 2>conftest.er1
37024 grep -v '^ *+' conftest.er1
>conftest.err
37026 cat conftest.err
>&5
37027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37028 (exit $ac_status); } &&
37029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37031 (eval $ac_try) 2>&5
37033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034 (exit $ac_status); }; } &&
37035 { ac_try
='test -s conftest.$ac_objext'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; }; then
37042 wx_cv_struct_tm_has_gmtoff
=yes
37045 echo "$as_me: failed program was:" >&5
37046 sed 's/^/| /' conftest.
$ac_ext >&5
37048 wx_cv_struct_tm_has_gmtoff
=no
37051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37054 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37055 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37058 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37059 cat >>confdefs.h
<<\_ACEOF
37060 #define WX_GMTOFF_IN_TM 1
37067 for ac_func
in gettimeofday ftime
37069 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37070 echo "$as_me:$LINENO: checking for $ac_func" >&5
37071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37072 if eval "test \"\${$as_ac_var+set}\" = set"; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37075 cat >conftest.
$ac_ext <<_ACEOF
37078 cat confdefs.h
>>conftest.
$ac_ext
37079 cat >>conftest.
$ac_ext <<_ACEOF
37080 /* end confdefs.h. */
37081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37083 #define $ac_func innocuous_$ac_func
37085 /* System header to define __stub macros and hopefully few prototypes,
37086 which can conflict with char $ac_func (); below.
37087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37088 <limits.h> exists even on freestanding compilers. */
37091 # include <limits.h>
37093 # include <assert.h>
37098 /* Override any gcc2 internal prototype to avoid an error. */
37103 /* We use char because int might match the return type of a gcc2
37104 builtin and then its argument prototype would still apply. */
37106 /* The GNU C library defines this for functions which it implements
37107 to always fail with ENOSYS. Some functions are actually named
37108 something starting with __ and the normal name is an alias. */
37109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37112 char (*f) () = $ac_func;
37121 return f != $ac_func;
37126 rm -f conftest.
$ac_objext conftest
$ac_exeext
37127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37128 (eval $ac_link) 2>conftest.er1
37130 grep -v '^ *+' conftest.er1
>conftest.err
37132 cat conftest.err
>&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); } &&
37135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37137 (eval $ac_try) 2>&5
37139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37140 (exit $ac_status); }; } &&
37141 { ac_try
='test -s conftest$ac_exeext'
37142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37143 (eval $ac_try) 2>&5
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); }; }; then
37147 eval "$as_ac_var=yes"
37149 echo "$as_me: failed program was:" >&5
37150 sed 's/^/| /' conftest.
$ac_ext >&5
37152 eval "$as_ac_var=no"
37154 rm -f conftest.err conftest.
$ac_objext \
37155 conftest
$ac_exeext conftest.
$ac_ext
37157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37159 if test `eval echo '${'$as_ac_var'}'` = yes; then
37160 cat >>confdefs.h
<<_ACEOF
37161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37168 if test "$ac_cv_func_gettimeofday" = "yes"; then
37169 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37170 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37171 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37172 echo $ECHO_N "(cached) $ECHO_C" >&6
37178 ac_cpp
='$CXXCPP $CPPFLAGS'
37179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37184 cat >conftest.
$ac_ext <<_ACEOF
37187 cat confdefs.h
>>conftest.
$ac_ext
37188 cat >>conftest.
$ac_ext <<_ACEOF
37189 /* end confdefs.h. */
37191 #include <sys/time.h>
37192 #include <unistd.h>
37199 gettimeofday(&tv, NULL);
37205 rm -f conftest.
$ac_objext
37206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37207 (eval $ac_compile) 2>conftest.er1
37209 grep -v '^ *+' conftest.er1
>conftest.err
37211 cat conftest.err
>&5
37212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37213 (exit $ac_status); } &&
37214 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37216 (eval $ac_try) 2>&5
37218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37219 (exit $ac_status); }; } &&
37220 { ac_try
='test -s conftest.$ac_objext'
37221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37222 (eval $ac_try) 2>&5
37224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37225 (exit $ac_status); }; }; then
37226 wx_cv_func_gettimeofday_has_2_args
=yes
37228 echo "$as_me: failed program was:" >&5
37229 sed 's/^/| /' conftest.
$ac_ext >&5
37231 cat >conftest.
$ac_ext <<_ACEOF
37234 cat confdefs.h
>>conftest.
$ac_ext
37235 cat >>conftest.
$ac_ext <<_ACEOF
37236 /* end confdefs.h. */
37238 #include <sys/time.h>
37239 #include <unistd.h>
37252 rm -f conftest.
$ac_objext
37253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37254 (eval $ac_compile) 2>conftest.er1
37256 grep -v '^ *+' conftest.er1
>conftest.err
37258 cat conftest.err
>&5
37259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260 (exit $ac_status); } &&
37261 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37263 (eval $ac_try) 2>&5
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); }; } &&
37267 { ac_try
='test -s conftest.$ac_objext'
37268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37269 (eval $ac_try) 2>&5
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); }; }; then
37273 wx_cv_func_gettimeofday_has_2_args
=no
37275 echo "$as_me: failed program was:" >&5
37276 sed 's/^/| /' conftest.
$ac_ext >&5
37279 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37280 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37281 wx_cv_func_gettimeofday_has_2_args
=unknown
37285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37290 ac_cpp
='$CPP $CPPFLAGS'
37291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37297 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37298 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37300 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37301 cat >>confdefs.h
<<\_ACEOF
37302 #define WX_GETTIMEOFDAY_NO_TZ 1
37308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
37312 if test "$wxUSE_SOCKETS" = "yes"; then
37313 if test "$wxUSE_MGL" = "1"; then
37314 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37315 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37320 if test "$wxUSE_SOCKETS" = "yes"; then
37321 if test "$TOOLKIT" != "MSW"; then
37322 echo "$as_me:$LINENO: checking for socket" >&5
37323 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37324 if test "${ac_cv_func_socket+set}" = set; then
37325 echo $ECHO_N "(cached) $ECHO_C" >&6
37327 cat >conftest.
$ac_ext <<_ACEOF
37330 cat confdefs.h
>>conftest.
$ac_ext
37331 cat >>conftest.
$ac_ext <<_ACEOF
37332 /* end confdefs.h. */
37333 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37335 #define socket innocuous_socket
37337 /* System header to define __stub macros and hopefully few prototypes,
37338 which can conflict with char socket (); below.
37339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37340 <limits.h> exists even on freestanding compilers. */
37343 # include <limits.h>
37345 # include <assert.h>
37350 /* Override any gcc2 internal prototype to avoid an error. */
37355 /* We use char because int might match the return type of a gcc2
37356 builtin and then its argument prototype would still apply. */
37358 /* The GNU C library defines this for functions which it implements
37359 to always fail with ENOSYS. Some functions are actually named
37360 something starting with __ and the normal name is an alias. */
37361 #if defined (__stub_socket) || defined (__stub___socket)
37364 char (*f) () = socket;
37373 return f != socket;
37378 rm -f conftest.
$ac_objext conftest
$ac_exeext
37379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37380 (eval $ac_link) 2>conftest.er1
37382 grep -v '^ *+' conftest.er1
>conftest.err
37384 cat conftest.err
>&5
37385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37386 (exit $ac_status); } &&
37387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37389 (eval $ac_try) 2>&5
37391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37392 (exit $ac_status); }; } &&
37393 { ac_try
='test -s conftest$ac_exeext'
37394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37395 (eval $ac_try) 2>&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); }; }; then
37399 ac_cv_func_socket
=yes
37401 echo "$as_me: failed program was:" >&5
37402 sed 's/^/| /' conftest.
$ac_ext >&5
37404 ac_cv_func_socket
=no
37406 rm -f conftest.err conftest.
$ac_objext \
37407 conftest
$ac_exeext conftest.
$ac_ext
37409 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37410 echo "${ECHO_T}$ac_cv_func_socket" >&6
37411 if test $ac_cv_func_socket = yes; then
37415 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37416 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37417 if test "${ac_cv_lib_socket_socket+set}" = set; then
37418 echo $ECHO_N "(cached) $ECHO_C" >&6
37420 ac_check_lib_save_LIBS
=$LIBS
37421 LIBS
="-lsocket $LIBS"
37422 cat >conftest.
$ac_ext <<_ACEOF
37425 cat confdefs.h
>>conftest.
$ac_ext
37426 cat >>conftest.
$ac_ext <<_ACEOF
37427 /* end confdefs.h. */
37429 /* Override any gcc2 internal prototype to avoid an error. */
37433 /* We use char because int might match the return type of a gcc2
37434 builtin and then its argument prototype would still apply. */
37444 rm -f conftest.
$ac_objext conftest
$ac_exeext
37445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37446 (eval $ac_link) 2>conftest.er1
37448 grep -v '^ *+' conftest.er1
>conftest.err
37450 cat conftest.err
>&5
37451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37452 (exit $ac_status); } &&
37453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37455 (eval $ac_try) 2>&5
37457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37458 (exit $ac_status); }; } &&
37459 { ac_try
='test -s conftest$ac_exeext'
37460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37461 (eval $ac_try) 2>&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); }; }; then
37465 ac_cv_lib_socket_socket
=yes
37467 echo "$as_me: failed program was:" >&5
37468 sed 's/^/| /' conftest.
$ac_ext >&5
37470 ac_cv_lib_socket_socket
=no
37472 rm -f conftest.err conftest.
$ac_objext \
37473 conftest
$ac_exeext conftest.
$ac_ext
37474 LIBS
=$ac_check_lib_save_LIBS
37476 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37477 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37478 if test $ac_cv_lib_socket_socket = yes; then
37479 if test "$INET_LINK" != " -lsocket"; then
37480 INET_LINK
="$INET_LINK -lsocket"
37484 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37485 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37498 if test "$wxUSE_SOCKETS" = "yes" ; then
37499 if test "$TOOLKIT" != "MSW"; then
37501 ac_cpp
='$CXXCPP $CPPFLAGS'
37502 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37503 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37504 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37506 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37507 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37508 if test "${wx_cv_type_getsockname3+set}" = set; then
37509 echo $ECHO_N "(cached) $ECHO_C" >&6
37512 cat >conftest.
$ac_ext <<_ACEOF
37515 cat confdefs.h
>>conftest.
$ac_ext
37516 cat >>conftest.
$ac_ext <<_ACEOF
37517 /* end confdefs.h. */
37519 #include <sys/types.h>
37520 #include <sys/socket.h>
37527 getsockname(0, 0, &len);
37533 rm -f conftest.
$ac_objext
37534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37535 (eval $ac_compile) 2>conftest.er1
37537 grep -v '^ *+' conftest.er1
>conftest.err
37539 cat conftest.err
>&5
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); } &&
37542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37544 (eval $ac_try) 2>&5
37546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37547 (exit $ac_status); }; } &&
37548 { ac_try
='test -s conftest.$ac_objext'
37549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37550 (eval $ac_try) 2>&5
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); }; }; then
37554 wx_cv_type_getsockname3
=socklen_t
37556 echo "$as_me: failed program was:" >&5
37557 sed 's/^/| /' conftest.
$ac_ext >&5
37560 CFLAGS_OLD
="$CFLAGS"
37561 if test "$GCC" = yes ; then
37562 CFLAGS
="$CFLAGS -Werror"
37565 cat >conftest.
$ac_ext <<_ACEOF
37568 cat confdefs.h
>>conftest.
$ac_ext
37569 cat >>conftest.
$ac_ext <<_ACEOF
37570 /* end confdefs.h. */
37572 #include <sys/types.h>
37573 #include <sys/socket.h>
37580 getsockname(0, 0, &len);
37586 rm -f conftest.
$ac_objext
37587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37588 (eval $ac_compile) 2>conftest.er1
37590 grep -v '^ *+' conftest.er1
>conftest.err
37592 cat conftest.err
>&5
37593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37594 (exit $ac_status); } &&
37595 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37597 (eval $ac_try) 2>&5
37599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37600 (exit $ac_status); }; } &&
37601 { ac_try
='test -s conftest.$ac_objext'
37602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37603 (eval $ac_try) 2>&5
37605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37606 (exit $ac_status); }; }; then
37607 wx_cv_type_getsockname3
=size_t
37609 echo "$as_me: failed program was:" >&5
37610 sed 's/^/| /' conftest.
$ac_ext >&5
37612 cat >conftest.
$ac_ext <<_ACEOF
37615 cat confdefs.h
>>conftest.
$ac_ext
37616 cat >>conftest.
$ac_ext <<_ACEOF
37617 /* end confdefs.h. */
37619 #include <sys/types.h>
37620 #include <sys/socket.h>
37627 getsockname(0, 0, &len);
37633 rm -f conftest.
$ac_objext
37634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37635 (eval $ac_compile) 2>conftest.er1
37637 grep -v '^ *+' conftest.er1
>conftest.err
37639 cat conftest.err
>&5
37640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37641 (exit $ac_status); } &&
37642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37644 (eval $ac_try) 2>&5
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); }; } &&
37648 { ac_try
='test -s conftest.$ac_objext'
37649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37650 (eval $ac_try) 2>&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); }; }; then
37654 wx_cv_type_getsockname3
=int
37656 echo "$as_me: failed program was:" >&5
37657 sed 's/^/| /' conftest.
$ac_ext >&5
37659 wx_cv_type_getsockname3
=unknown
37662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37667 CFLAGS
="$CFLAGS_OLD"
37671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37674 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37675 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37677 if test "$wx_cv_type_getsockname3" = "unknown"; then
37679 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37680 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37682 cat >>confdefs.h
<<_ACEOF
37683 #define SOCKLEN_T $wx_cv_type_getsockname3
37687 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37688 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37689 if test "${wx_cv_type_getsockopt5+set}" = set; then
37690 echo $ECHO_N "(cached) $ECHO_C" >&6
37693 cat >conftest.
$ac_ext <<_ACEOF
37696 cat confdefs.h
>>conftest.
$ac_ext
37697 cat >>conftest.
$ac_ext <<_ACEOF
37698 /* end confdefs.h. */
37700 #include <sys/types.h>
37701 #include <sys/socket.h>
37708 getsockopt(0, 0, 0, 0, &len);
37714 rm -f conftest.
$ac_objext
37715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37716 (eval $ac_compile) 2>conftest.er1
37718 grep -v '^ *+' conftest.er1
>conftest.err
37720 cat conftest.err
>&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); } &&
37723 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37725 (eval $ac_try) 2>&5
37727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37728 (exit $ac_status); }; } &&
37729 { ac_try
='test -s conftest.$ac_objext'
37730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37731 (eval $ac_try) 2>&5
37733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37734 (exit $ac_status); }; }; then
37735 wx_cv_type_getsockopt5
=socklen_t
37737 echo "$as_me: failed program was:" >&5
37738 sed 's/^/| /' conftest.
$ac_ext >&5
37741 CFLAGS_OLD
="$CFLAGS"
37742 if test "$GCC" = yes ; then
37743 CFLAGS
="$CFLAGS -Werror"
37746 cat >conftest.
$ac_ext <<_ACEOF
37749 cat confdefs.h
>>conftest.
$ac_ext
37750 cat >>conftest.
$ac_ext <<_ACEOF
37751 /* end confdefs.h. */
37753 #include <sys/types.h>
37754 #include <sys/socket.h>
37761 getsockopt(0, 0, 0, 0, &len);
37767 rm -f conftest.
$ac_objext
37768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37769 (eval $ac_compile) 2>conftest.er1
37771 grep -v '^ *+' conftest.er1
>conftest.err
37773 cat conftest.err
>&5
37774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37775 (exit $ac_status); } &&
37776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37778 (eval $ac_try) 2>&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); }; } &&
37782 { ac_try
='test -s conftest.$ac_objext'
37783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37784 (eval $ac_try) 2>&5
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); }; }; then
37788 wx_cv_type_getsockopt5
=size_t
37790 echo "$as_me: failed program was:" >&5
37791 sed 's/^/| /' conftest.
$ac_ext >&5
37793 cat >conftest.
$ac_ext <<_ACEOF
37796 cat confdefs.h
>>conftest.
$ac_ext
37797 cat >>conftest.
$ac_ext <<_ACEOF
37798 /* end confdefs.h. */
37800 #include <sys/types.h>
37801 #include <sys/socket.h>
37808 getsockopt(0, 0, 0, 0, &len);
37814 rm -f conftest.
$ac_objext
37815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37816 (eval $ac_compile) 2>conftest.er1
37818 grep -v '^ *+' conftest.er1
>conftest.err
37820 cat conftest.err
>&5
37821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822 (exit $ac_status); } &&
37823 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37825 (eval $ac_try) 2>&5
37827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37828 (exit $ac_status); }; } &&
37829 { ac_try
='test -s conftest.$ac_objext'
37830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37831 (eval $ac_try) 2>&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); }; }; then
37835 wx_cv_type_getsockopt5
=int
37837 echo "$as_me: failed program was:" >&5
37838 sed 's/^/| /' conftest.
$ac_ext >&5
37840 wx_cv_type_getsockopt5
=unknown
37843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37848 CFLAGS
="$CFLAGS_OLD"
37852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37855 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37856 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37858 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37860 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37861 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37863 cat >>confdefs.h
<<_ACEOF
37864 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37869 ac_cpp
='$CPP $CPPFLAGS'
37870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37877 if test "$wxUSE_SOCKETS" = "yes" ; then
37878 cat >>confdefs.h
<<\_ACEOF
37879 #define wxUSE_SOCKETS 1
37882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37885 if test "$wxUSE_PROTOCOL" = "yes"; then
37886 if test "$wxUSE_SOCKETS" != "yes"; then
37887 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37888 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37893 if test "$wxUSE_PROTOCOL" = "yes"; then
37894 cat >>confdefs.h
<<\_ACEOF
37895 #define wxUSE_PROTOCOL 1
37899 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37900 cat >>confdefs.h
<<\_ACEOF
37901 #define wxUSE_PROTOCOL_HTTP 1
37905 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37906 cat >>confdefs.h
<<\_ACEOF
37907 #define wxUSE_PROTOCOL_FTP 1
37911 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37912 cat >>confdefs.h
<<\_ACEOF
37913 #define wxUSE_PROTOCOL_FILE 1
37918 if test "$wxUSE_FS_INET" = "yes"; then
37919 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37920 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37925 if test "$wxUSE_URL" = "yes"; then
37926 if test "$wxUSE_PROTOCOL" != "yes"; then
37927 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37928 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37931 if test "$wxUSE_URL" = "yes"; then
37932 cat >>confdefs.h
<<\_ACEOF
37933 #define wxUSE_URL 1
37939 if test "$wxUSE_FS_INET" = "yes"; then
37940 cat >>confdefs.h
<<\_ACEOF
37941 #define wxUSE_FS_INET 1
37947 if test "$wxUSE_GUI" = "yes"; then
37948 if test "$wxUSE_JOYSTICK" = "yes"; then
37950 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
37952 for ac_header
in linux
/joystick.h
37954 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37956 echo "$as_me:$LINENO: checking for $ac_header" >&5
37957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37959 echo $ECHO_N "(cached) $ECHO_C" >&6
37961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37964 # Is the header compilable?
37965 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37966 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37967 cat >conftest.
$ac_ext <<_ACEOF
37970 cat confdefs.h
>>conftest.
$ac_ext
37971 cat >>conftest.
$ac_ext <<_ACEOF
37972 /* end confdefs.h. */
37973 $ac_includes_default
37974 #include <$ac_header>
37976 rm -f conftest.
$ac_objext
37977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37978 (eval $ac_compile) 2>conftest.er1
37980 grep -v '^ *+' conftest.er1
>conftest.err
37982 cat conftest.err
>&5
37983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37984 (exit $ac_status); } &&
37985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37987 (eval $ac_try) 2>&5
37989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37990 (exit $ac_status); }; } &&
37991 { ac_try
='test -s conftest.$ac_objext'
37992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37993 (eval $ac_try) 2>&5
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); }; }; then
37997 ac_header_compiler
=yes
37999 echo "$as_me: failed program was:" >&5
38000 sed 's/^/| /' conftest.
$ac_ext >&5
38002 ac_header_compiler
=no
38004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38006 echo "${ECHO_T}$ac_header_compiler" >&6
38008 # Is the header present?
38009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38011 cat >conftest.
$ac_ext <<_ACEOF
38014 cat confdefs.h
>>conftest.
$ac_ext
38015 cat >>conftest.
$ac_ext <<_ACEOF
38016 /* end confdefs.h. */
38017 #include <$ac_header>
38019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38022 grep -v '^ *+' conftest.er1
>conftest.err
38024 cat conftest.err
>&5
38025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38026 (exit $ac_status); } >/dev
/null
; then
38027 if test -s conftest.err
; then
38028 ac_cpp_err
=$ac_c_preproc_warn_flag
38029 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38036 if test -z "$ac_cpp_err"; then
38037 ac_header_preproc
=yes
38039 echo "$as_me: failed program was:" >&5
38040 sed 's/^/| /' conftest.
$ac_ext >&5
38042 ac_header_preproc
=no
38044 rm -f conftest.err conftest.
$ac_ext
38045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38046 echo "${ECHO_T}$ac_header_preproc" >&6
38048 # So? What about this header?
38049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38055 ac_header_preproc
=yes
38058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38062 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38064 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38065 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38068 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38072 ## ----------------------------------------- ##
38073 ## Report this to wx-dev@lists.wxwidgets.org ##
38074 ## ----------------------------------------- ##
38077 sed "s/^/$as_me: WARNING: /" >&2
38080 echo "$as_me:$LINENO: checking for $ac_header" >&5
38081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 eval "$as_ac_Header=\$ac_header_preproc"
38087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38092 cat >>confdefs.h
<<_ACEOF
38093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38100 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38102 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38103 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38106 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38108 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38109 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38114 if test "$wxUSE_JOYSTICK" = "yes"; then
38115 cat >>confdefs.h
<<\_ACEOF
38116 #define wxUSE_JOYSTICK 1
38119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
38126 if test "$wxUSE_FONTMAP" = "yes" ; then
38127 cat >>confdefs.h
<<\_ACEOF
38128 #define wxUSE_FONTMAP 1
38133 if test "$wxUSE_UNICODE" = "yes" ; then
38134 cat >>confdefs.h
<<\_ACEOF
38135 #define wxUSE_UNICODE 1
38139 if test "$USE_WIN32" != 1; then
38140 wxUSE_UNICODE_MSLU
=no
38143 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38144 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38145 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38146 if test "${ac_cv_lib_unicows_main+set}" = set; then
38147 echo $ECHO_N "(cached) $ECHO_C" >&6
38149 ac_check_lib_save_LIBS
=$LIBS
38150 LIBS
="-lunicows $LIBS"
38151 cat >conftest.
$ac_ext <<_ACEOF
38154 cat confdefs.h
>>conftest.
$ac_ext
38155 cat >>conftest.
$ac_ext <<_ACEOF
38156 /* end confdefs.h. */
38167 rm -f conftest.
$ac_objext conftest
$ac_exeext
38168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38169 (eval $ac_link) 2>conftest.er1
38171 grep -v '^ *+' conftest.er1
>conftest.err
38173 cat conftest.err
>&5
38174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38175 (exit $ac_status); } &&
38176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38178 (eval $ac_try) 2>&5
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); }; } &&
38182 { ac_try
='test -s conftest$ac_exeext'
38183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38184 (eval $ac_try) 2>&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); }; }; then
38188 ac_cv_lib_unicows_main
=yes
38190 echo "$as_me: failed program was:" >&5
38191 sed 's/^/| /' conftest.
$ac_ext >&5
38193 ac_cv_lib_unicows_main
=no
38195 rm -f conftest.err conftest.
$ac_objext \
38196 conftest
$ac_exeext conftest.
$ac_ext
38197 LIBS
=$ac_check_lib_save_LIBS
38199 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38200 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38201 if test $ac_cv_lib_unicows_main = yes; then
38203 cat >>confdefs.h
<<\_ACEOF
38204 #define wxUSE_UNICODE_MSLU 1
38210 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38211 Applications will only run on Windows NT/2000/XP!" >&5
38212 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38213 Applications will only run on Windows NT/2000/XP!" >&2;}
38214 wxUSE_UNICODE_MSLU
=no
38221 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38222 cat >>confdefs.h
<<\_ACEOF
38223 #define wxUSE_EXPERIMENTAL_PRINTF 1
38229 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38230 cat >>confdefs.h
<<\_ACEOF
38231 #define wxUSE_POSTSCRIPT 1
38236 cat >>confdefs.h
<<\_ACEOF
38237 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38241 cat >>confdefs.h
<<\_ACEOF
38242 #define wxUSE_NORMALIZED_PS_FONTS 1
38247 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38248 cat >>confdefs.h
<<\_ACEOF
38249 #define wxUSE_CONSTRAINTS 1
38252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
38255 if test "$wxUSE_MDI" = "yes"; then
38256 cat >>confdefs.h
<<\_ACEOF
38257 #define wxUSE_MDI 1
38261 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38262 cat >>confdefs.h
<<\_ACEOF
38263 #define wxUSE_MDI_ARCHITECTURE 1
38266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
38270 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38271 cat >>confdefs.h
<<\_ACEOF
38272 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
38276 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
38281 if test "$wxUSE_HELP" = "yes"; then
38282 cat >>confdefs.h
<<\_ACEOF
38283 #define wxUSE_HELP 1
38286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
38288 if test "$wxUSE_MSW" = 1; then
38289 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38290 cat >>confdefs.h
<<\_ACEOF
38291 #define wxUSE_MS_HTML_HELP 1
38297 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38298 if test "$wxUSE_HTML" = "yes"; then
38299 cat >>confdefs.h
<<\_ACEOF
38300 #define wxUSE_WXHTML_HELP 1
38304 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38305 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38306 wxUSE_WXHTML_HELP
=no
38311 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38312 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38313 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38314 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38316 cat >>confdefs.h
<<\_ACEOF
38317 #define wxUSE_PRINTING_ARCHITECTURE 1
38321 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
38324 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38325 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38326 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38327 { (exit 1); exit 1; }; }
38331 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
38332 -o "$wxUSE_CLIPBOARD" = "yes" \
38333 -o "$wxUSE_OLE" = "yes" \
38334 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
38336 for ac_header
in ole2.h
38338 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38340 echo "$as_me:$LINENO: checking for $ac_header" >&5
38341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38343 echo $ECHO_N "(cached) $ECHO_C" >&6
38345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38348 # Is the header compilable?
38349 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38351 cat >conftest.
$ac_ext <<_ACEOF
38354 cat confdefs.h
>>conftest.
$ac_ext
38355 cat >>conftest.
$ac_ext <<_ACEOF
38356 /* end confdefs.h. */
38357 $ac_includes_default
38358 #include <$ac_header>
38360 rm -f conftest.
$ac_objext
38361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38362 (eval $ac_compile) 2>conftest.er1
38364 grep -v '^ *+' conftest.er1
>conftest.err
38366 cat conftest.err
>&5
38367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38368 (exit $ac_status); } &&
38369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38371 (eval $ac_try) 2>&5
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); }; } &&
38375 { ac_try
='test -s conftest.$ac_objext'
38376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38377 (eval $ac_try) 2>&5
38379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38380 (exit $ac_status); }; }; then
38381 ac_header_compiler
=yes
38383 echo "$as_me: failed program was:" >&5
38384 sed 's/^/| /' conftest.
$ac_ext >&5
38386 ac_header_compiler
=no
38388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38390 echo "${ECHO_T}$ac_header_compiler" >&6
38392 # Is the header present?
38393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38395 cat >conftest.
$ac_ext <<_ACEOF
38398 cat confdefs.h
>>conftest.
$ac_ext
38399 cat >>conftest.
$ac_ext <<_ACEOF
38400 /* end confdefs.h. */
38401 #include <$ac_header>
38403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38404 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38406 grep -v '^ *+' conftest.er1
>conftest.err
38408 cat conftest.err
>&5
38409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38410 (exit $ac_status); } >/dev
/null
; then
38411 if test -s conftest.err
; then
38412 ac_cpp_err
=$ac_c_preproc_warn_flag
38413 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38420 if test -z "$ac_cpp_err"; then
38421 ac_header_preproc
=yes
38423 echo "$as_me: failed program was:" >&5
38424 sed 's/^/| /' conftest.
$ac_ext >&5
38426 ac_header_preproc
=no
38428 rm -f conftest.err conftest.
$ac_ext
38429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38430 echo "${ECHO_T}$ac_header_preproc" >&6
38432 # So? What about this header?
38433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38435 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38439 ac_header_preproc
=yes
38442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38446 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38448 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38449 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38452 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38456 ## ----------------------------------------- ##
38457 ## Report this to wx-dev@lists.wxwidgets.org ##
38458 ## ----------------------------------------- ##
38461 sed "s/^/$as_me: WARNING: /" >&2
38464 echo "$as_me:$LINENO: checking for $ac_header" >&5
38465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38467 echo $ECHO_N "(cached) $ECHO_C" >&6
38469 eval "$as_ac_Header=\$ac_header_preproc"
38471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38476 cat >>confdefs.h
<<_ACEOF
38477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38485 if test "$ac_cv_header_ole2_h" = "yes" ; then
38486 if test "$GCC" = yes ; then
38490 ac_cpp
='$CXXCPP $CPPFLAGS'
38491 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38492 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38493 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38496 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38497 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38498 cat >conftest.
$ac_ext <<_ACEOF
38501 cat confdefs.h
>>conftest.
$ac_ext
38502 cat >>conftest.
$ac_ext <<_ACEOF
38503 /* end confdefs.h. */
38504 #include <windows.h>
38514 rm -f conftest.
$ac_objext
38515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38516 (eval $ac_compile) 2>conftest.er1
38518 grep -v '^ *+' conftest.er1
>conftest.err
38520 cat conftest.err
>&5
38521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38522 (exit $ac_status); } &&
38523 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38525 (eval $ac_try) 2>&5
38527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38528 (exit $ac_status); }; } &&
38529 { ac_try
='test -s conftest.$ac_objext'
38530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38531 (eval $ac_try) 2>&5
38533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38534 (exit $ac_status); }; }; then
38535 echo "$as_me:$LINENO: result: no" >&5
38536 echo "${ECHO_T}no" >&6
38538 echo "$as_me: failed program was:" >&5
38539 sed 's/^/| /' conftest.
$ac_ext >&5
38541 echo "$as_me:$LINENO: result: yes" >&5
38542 echo "${ECHO_T}yes" >&6
38543 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38547 ac_cpp
='$CPP $CPPFLAGS'
38548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38552 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38553 if test "$wxUSE_OLE" = "yes" ; then
38554 cat >>confdefs.h
<<\_ACEOF
38555 #define wxUSE_OLE 1
38558 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
38562 if test "$wxUSE_DATAOBJ" = "yes" ; then
38563 cat >>confdefs.h
<<\_ACEOF
38564 #define wxUSE_DATAOBJ 1
38569 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38570 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38573 wxUSE_DRAG_AND_DROP
=no
38578 if test "$wxUSE_METAFILE" = "yes"; then
38579 cat >>confdefs.h
<<\_ACEOF
38580 #define wxUSE_METAFILE 1
38584 cat >>confdefs.h
<<\_ACEOF
38585 #define wxUSE_ENH_METAFILE 1
38591 if test "$wxUSE_IPC" = "yes"; then
38592 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38593 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38594 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38598 if test "$wxUSE_IPC" = "yes"; then
38599 cat >>confdefs.h
<<\_ACEOF
38600 #define wxUSE_IPC 1
38603 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
38607 if test "$wxUSE_CLIPBOARD" = "yes"; then
38608 if test "$wxUSE_MGL" = 1; then
38609 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38610 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38614 if test "$wxUSE_CLIPBOARD" = "yes"; then
38615 cat >>confdefs.h
<<\_ACEOF
38616 #define wxUSE_CLIPBOARD 1
38620 cat >>confdefs.h
<<\_ACEOF
38621 #define wxUSE_DATAOBJ 1
38627 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38628 if test "$wxUSE_GTK" = 1; then
38629 if test "$WXGTK12" != 1; then
38630 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38631 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38632 wxUSE_DRAG_AND_DROP
=no
38636 if test "$wxUSE_MOTIF" = 1; then
38637 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38638 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38639 wxUSE_DRAG_AND_DROP
=no
38642 if test "$wxUSE_X11" = 1; then
38643 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38644 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38645 wxUSE_DRAG_AND_DROP
=no
38648 if test "$wxUSE_MGL" = 1; then
38649 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38650 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38651 wxUSE_DRAG_AND_DROP
=no
38654 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38655 cat >>confdefs.h
<<\_ACEOF
38656 #define wxUSE_DRAG_AND_DROP 1
38663 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
38667 if test "$wxUSE_SPLINES" = "yes" ; then
38668 cat >>confdefs.h
<<\_ACEOF
38669 #define wxUSE_SPLINES 1
38676 if test "$wxUSE_CONTROLS" = "yes"; then
38680 if test "$wxUSE_ACCEL" = "yes"; then
38681 cat >>confdefs.h
<<\_ACEOF
38682 #define wxUSE_ACCEL 1
38688 if test "$wxUSE_BUTTON" = "yes"; then
38689 cat >>confdefs.h
<<\_ACEOF
38690 #define wxUSE_BUTTON 1
38696 if test "$wxUSE_BMPBUTTON" = "yes"; then
38697 cat >>confdefs.h
<<\_ACEOF
38698 #define wxUSE_BMPBUTTON 1
38704 if test "$wxUSE_CALCTRL" = "yes"; then
38705 cat >>confdefs.h
<<\_ACEOF
38706 #define wxUSE_CALENDARCTRL 1
38710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
38713 if test "$wxUSE_CARET" = "yes"; then
38714 cat >>confdefs.h
<<\_ACEOF
38715 #define wxUSE_CARET 1
38719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
38722 if test "$wxUSE_COMBOBOX" = "yes"; then
38723 cat >>confdefs.h
<<\_ACEOF
38724 #define wxUSE_COMBOBOX 1
38730 if test "$wxUSE_CHOICE" = "yes"; then
38731 cat >>confdefs.h
<<\_ACEOF
38732 #define wxUSE_CHOICE 1
38738 if test "$wxUSE_CHOICEBOOK" = "yes"; then
38739 cat >>confdefs.h
<<\_ACEOF
38740 #define wxUSE_CHOICEBOOK 1
38746 if test "$wxUSE_CHECKBOX" = "yes"; then
38747 cat >>confdefs.h
<<\_ACEOF
38748 #define wxUSE_CHECKBOX 1
38754 if test "$wxUSE_CHECKLST" = "yes"; then
38755 cat >>confdefs.h
<<\_ACEOF
38756 #define wxUSE_CHECKLISTBOX 1
38760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
38763 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
38764 cat >>confdefs.h
<<\_ACEOF
38765 #define wxUSE_DATEPICKCTRL 1
38771 if test "$wxUSE_DISPLAY" = "yes"; then
38772 cat >>confdefs.h
<<\_ACEOF
38773 #define wxUSE_DISPLAY 1
38776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
38779 if test "$wxUSE_GAUGE" = "yes"; then
38780 cat >>confdefs.h
<<\_ACEOF
38781 #define wxUSE_GAUGE 1
38787 if test "$wxUSE_GRID" = "yes"; then
38788 cat >>confdefs.h
<<\_ACEOF
38789 #define wxUSE_GRID 1
38793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
38796 if test "$wxUSE_IMAGLIST" = "yes"; then
38797 cat >>confdefs.h
<<\_ACEOF
38798 #define wxUSE_IMAGLIST 1
38803 if test "$wxUSE_LISTBOOK" = "yes"; then
38804 cat >>confdefs.h
<<\_ACEOF
38805 #define wxUSE_LISTBOOK 1
38811 if test "$wxUSE_LISTBOX" = "yes"; then
38812 cat >>confdefs.h
<<\_ACEOF
38813 #define wxUSE_LISTBOX 1
38817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
38820 if test "$wxUSE_LISTCTRL" = "yes"; then
38821 if test "$wxUSE_IMAGLIST" = "yes"; then
38822 cat >>confdefs.h
<<\_ACEOF
38823 #define wxUSE_LISTCTRL 1
38827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
38829 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
38830 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
38834 if test "$wxUSE_NOTEBOOK" = "yes"; then
38835 cat >>confdefs.h
<<\_ACEOF
38836 #define wxUSE_NOTEBOOK 1
38840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
38844 if test "$wxUSE_RADIOBOX" = "yes"; then
38845 cat >>confdefs.h
<<\_ACEOF
38846 #define wxUSE_RADIOBOX 1
38852 if test "$wxUSE_RADIOBTN" = "yes"; then
38853 cat >>confdefs.h
<<\_ACEOF
38854 #define wxUSE_RADIOBTN 1
38860 if test "$wxUSE_SASH" = "yes"; then
38861 cat >>confdefs.h
<<\_ACEOF
38862 #define wxUSE_SASH 1
38865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
38868 if test "$wxUSE_SCROLLBAR" = "yes"; then
38869 cat >>confdefs.h
<<\_ACEOF
38870 #define wxUSE_SCROLLBAR 1
38874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
38877 if test "$wxUSE_SLIDER" = "yes"; then
38878 cat >>confdefs.h
<<\_ACEOF
38879 #define wxUSE_SLIDER 1
38885 if test "$wxUSE_SPINBTN" = "yes"; then
38886 cat >>confdefs.h
<<\_ACEOF
38887 #define wxUSE_SPINBTN 1
38893 if test "$wxUSE_SPINCTRL" = "yes"; then
38894 cat >>confdefs.h
<<\_ACEOF
38895 #define wxUSE_SPINCTRL 1
38901 if test "$wxUSE_SPLITTER" = "yes"; then
38902 cat >>confdefs.h
<<\_ACEOF
38903 #define wxUSE_SPLITTER 1
38906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
38909 if test "$wxUSE_STATBMP" = "yes"; then
38910 cat >>confdefs.h
<<\_ACEOF
38911 #define wxUSE_STATBMP 1
38917 if test "$wxUSE_STATBOX" = "yes"; then
38918 cat >>confdefs.h
<<\_ACEOF
38919 #define wxUSE_STATBOX 1
38925 if test "$wxUSE_STATTEXT" = "yes"; then
38926 cat >>confdefs.h
<<\_ACEOF
38927 #define wxUSE_STATTEXT 1
38933 if test "$wxUSE_STATLINE" = "yes"; then
38934 cat >>confdefs.h
<<\_ACEOF
38935 #define wxUSE_STATLINE 1
38941 if test "$wxUSE_STATUSBAR" = "yes"; then
38942 cat >>confdefs.h
<<\_ACEOF
38943 #define wxUSE_NATIVE_STATUSBAR 1
38946 cat >>confdefs.h
<<\_ACEOF
38947 #define wxUSE_STATUSBAR 1
38952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
38955 if test "$wxUSE_TABDIALOG" = "yes"; then
38956 cat >>confdefs.h
<<\_ACEOF
38957 #define wxUSE_TAB_DIALOG 1
38962 if test "$wxUSE_TEXTCTRL" = "yes"; then
38963 cat >>confdefs.h
<<\_ACEOF
38964 #define wxUSE_TEXTCTRL 1
38968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
38971 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38972 if test "$wxUSE_COCOA" = 1 ; then
38973 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38974 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38977 if test "$wxUSE_PM" = 1; then
38978 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38979 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38983 if test "$wxUSE_UNIVERSAL" = "yes"; then
38984 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38985 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
38989 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38990 cat >>confdefs.h
<<\_ACEOF
38991 #define wxUSE_TOGGLEBTN 1
38998 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
38999 cat >>confdefs.h
<<\_ACEOF
39000 #define wxUSE_TOOLBAR_SIMPLE 1
39003 wxUSE_TOOLBAR
="yes"
39007 if test "$wxUSE_TOOLBAR" = "yes"; then
39008 cat >>confdefs.h
<<\_ACEOF
39009 #define wxUSE_TOOLBAR 1
39014 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39015 wxUSE_TOOLBAR_NATIVE
="yes"
39018 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39019 cat >>confdefs.h
<<\_ACEOF
39020 #define wxUSE_TOOLBAR_NATIVE 1
39026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
39029 if test "$wxUSE_TOOLTIPS" = "yes"; then
39030 if test "$wxUSE_MOTIF" = 1; then
39031 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39032 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39034 if test "$wxUSE_UNIVERSAL" = "yes"; then
39035 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39036 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39038 cat >>confdefs.h
<<\_ACEOF
39039 #define wxUSE_TOOLTIPS 1
39046 if test "$wxUSE_TREECTRL" = "yes"; then
39047 if test "$wxUSE_IMAGLIST" = "yes"; then
39048 cat >>confdefs.h
<<\_ACEOF
39049 #define wxUSE_TREECTRL 1
39053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
39055 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39056 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39060 if test "$wxUSE_POPUPWIN" = "yes"; then
39061 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39062 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39063 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39065 if test "$wxUSE_PM" = 1; then
39066 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39067 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39069 cat >>confdefs.h
<<\_ACEOF
39070 #define wxUSE_POPUPWIN 1
39073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
39080 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39081 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39082 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39083 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39085 cat >>confdefs.h
<<\_ACEOF
39086 #define wxUSE_DIALUP_MANAGER 1
39089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
39093 if test "$wxUSE_TIPWINDOW" = "yes"; then
39094 if test "$wxUSE_PM" = 1; then
39095 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39096 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39098 cat >>confdefs.h
<<\_ACEOF
39099 #define wxUSE_TIPWINDOW 1
39105 if test "$USES_CONTROLS" = 1; then
39106 cat >>confdefs.h
<<\_ACEOF
39107 #define wxUSE_CONTROLS 1
39113 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39114 cat >>confdefs.h
<<\_ACEOF
39115 #define wxUSE_ACCESSIBILITY 1
39118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
39121 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39122 cat >>confdefs.h
<<\_ACEOF
39123 #define wxUSE_DRAGIMAGE 1
39126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
39129 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39130 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39131 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39132 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39134 cat >>confdefs.h
<<\_ACEOF
39135 #define wxUSE_EXCEPTIONS 1
39138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39143 if test "$wxUSE_HTML" = "yes"; then
39144 cat >>confdefs.h
<<\_ACEOF
39145 #define wxUSE_HTML 1
39149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39150 if test "$wxUSE_MAC" = 1; then
39151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
39154 if test "$wxUSE_WEBKIT" = "yes"; then
39155 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39156 old_CPPFLAGS
="$CPPFLAGS"
39157 CPPFLAGS
="$CPPFLAGS -x objective-c++"
39158 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39159 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39160 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39161 echo $ECHO_N "(cached) $ECHO_C" >&6
39163 cat >conftest.
$ac_ext <<_ACEOF
39166 cat confdefs.h
>>conftest.
$ac_ext
39167 cat >>conftest.
$ac_ext <<_ACEOF
39168 /* end confdefs.h. */
39169 #include <Carbon/Carbon.h>
39171 #include <WebKit/HIWebView.h>
39173 rm -f conftest.
$ac_objext
39174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39175 (eval $ac_compile) 2>conftest.er1
39177 grep -v '^ *+' conftest.er1
>conftest.err
39179 cat conftest.err
>&5
39180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39181 (exit $ac_status); } &&
39182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39184 (eval $ac_try) 2>&5
39186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187 (exit $ac_status); }; } &&
39188 { ac_try
='test -s conftest.$ac_objext'
39189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39190 (eval $ac_try) 2>&5
39192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193 (exit $ac_status); }; }; then
39194 ac_cv_header_WebKit_HIWebView_h
=yes
39196 echo "$as_me: failed program was:" >&5
39197 sed 's/^/| /' conftest.
$ac_ext >&5
39199 ac_cv_header_WebKit_HIWebView_h
=no
39201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39203 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39204 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39205 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39207 cat >>confdefs.h
<<\_ACEOF
39208 #define wxUSE_WEBKIT 1
39211 WEBKIT_LINK
="-framework WebKit"
39215 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39216 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39222 CPPFLAGS
="$old_CPPFLAGS"
39223 elif test "$wxUSE_COCOA" = 1; then
39224 cat >>confdefs.h
<<\_ACEOF
39225 #define wxUSE_WEBKIT 1
39234 if test "$wxUSE_XRC" = "yes"; then
39235 if test "$wxUSE_XML" != "yes"; then
39236 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39237 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39240 cat >>confdefs.h
<<\_ACEOF
39241 #define wxUSE_XRC 1
39245 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
39249 if test "$wxUSE_MENUS" = "yes"; then
39250 cat >>confdefs.h
<<\_ACEOF
39251 #define wxUSE_MENUS 1
39254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
39257 if test "$wxUSE_METAFILE" = "yes"; then
39258 cat >>confdefs.h
<<\_ACEOF
39259 #define wxUSE_METAFILE 1
39264 if test "$wxUSE_MIMETYPE" = "yes"; then
39265 cat >>confdefs.h
<<\_ACEOF
39266 #define wxUSE_MIMETYPE 1
39271 if test "$wxUSE_MINIFRAME" = "yes"; then
39272 cat >>confdefs.h
<<\_ACEOF
39273 #define wxUSE_MINIFRAME 1
39276 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
39279 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39280 cat >>confdefs.h
<<\_ACEOF
39281 #define wxUSE_SYSTEM_OPTIONS 1
39284 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39285 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
39291 if test "$wxUSE_VALIDATORS" = "yes"; then
39292 cat >>confdefs.h
<<\_ACEOF
39293 #define wxUSE_VALIDATORS 1
39296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
39299 if test "$wxUSE_PALETTE" = "yes" ; then
39300 cat >>confdefs.h
<<\_ACEOF
39301 #define wxUSE_PALETTE 1
39306 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39307 LIBS
=" -lunicows $LIBS"
39311 if test "$wxUSE_IMAGE" = "yes" ; then
39312 cat >>confdefs.h
<<\_ACEOF
39313 #define wxUSE_IMAGE 1
39317 if test "$wxUSE_GIF" = "yes" ; then
39318 cat >>confdefs.h
<<\_ACEOF
39319 #define wxUSE_GIF 1
39324 if test "$wxUSE_PCX" = "yes" ; then
39325 cat >>confdefs.h
<<\_ACEOF
39326 #define wxUSE_PCX 1
39331 if test "$wxUSE_IFF" = "yes" ; then
39332 cat >>confdefs.h
<<\_ACEOF
39333 #define wxUSE_IFF 1
39338 if test "$wxUSE_PNM" = "yes" ; then
39339 cat >>confdefs.h
<<\_ACEOF
39340 #define wxUSE_PNM 1
39345 if test "$wxUSE_XPM" = "yes" ; then
39346 cat >>confdefs.h
<<\_ACEOF
39347 #define wxUSE_XPM 1
39352 if test "$wxUSE_ICO_CUR" = "yes" ; then
39353 cat >>confdefs.h
<<\_ACEOF
39354 #define wxUSE_ICO_CUR 1
39361 if test "$wxUSE_CHOICEDLG" = "yes"; then
39362 cat >>confdefs.h
<<\_ACEOF
39363 #define wxUSE_CHOICEDLG 1
39368 if test "$wxUSE_COLOURDLG" = "yes"; then
39369 cat >>confdefs.h
<<\_ACEOF
39370 #define wxUSE_COLOURDLG 1
39375 if test "$wxUSE_FILEDLG" = "yes"; then
39376 cat >>confdefs.h
<<\_ACEOF
39377 #define wxUSE_FILEDLG 1
39382 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39383 cat >>confdefs.h
<<\_ACEOF
39384 #define wxUSE_FINDREPLDLG 1
39389 if test "$wxUSE_FONTDLG" = "yes"; then
39390 cat >>confdefs.h
<<\_ACEOF
39391 #define wxUSE_FONTDLG 1
39396 if test "$wxUSE_DIRDLG" = "yes"; then
39397 if test "$wxUSE_TREECTRL" != "yes"; then
39398 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39399 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39401 cat >>confdefs.h
<<\_ACEOF
39402 #define wxUSE_DIRDLG 1
39408 if test "$wxUSE_MSGDLG" = "yes"; then
39409 cat >>confdefs.h
<<\_ACEOF
39410 #define wxUSE_MSGDLG 1
39415 if test "$wxUSE_NUMBERDLG" = "yes"; then
39416 cat >>confdefs.h
<<\_ACEOF
39417 #define wxUSE_NUMBERDLG 1
39422 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39423 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39424 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39425 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39427 cat >>confdefs.h
<<\_ACEOF
39428 #define wxUSE_PROGRESSDLG 1
39434 if test "$wxUSE_SPLASH" = "yes"; then
39435 cat >>confdefs.h
<<\_ACEOF
39436 #define wxUSE_SPLASH 1
39439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
39442 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39443 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39444 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39445 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39447 cat >>confdefs.h
<<\_ACEOF
39448 #define wxUSE_STARTUP_TIPS 1
39454 if test "$wxUSE_TEXTDLG" = "yes"; then
39455 cat >>confdefs.h
<<\_ACEOF
39456 #define wxUSE_TEXTDLG 1
39461 if test "$wxUSE_WIZARDDLG" = "yes"; then
39462 cat >>confdefs.h
<<\_ACEOF
39463 #define wxUSE_WIZARDDLG 1
39466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
39470 if test "$wxUSE_MEDIACTRL" = "yes"; then
39471 if test "$wxUSE_MSW" = 1; then
39472 wxUSE_DIRECTSHOW
="yes"
39474 for ac_header
in dshow.h
39476 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39477 echo "$as_me:$LINENO: checking for $ac_header" >&5
39478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39480 echo $ECHO_N "(cached) $ECHO_C" >&6
39482 cat >conftest.
$ac_ext <<_ACEOF
39485 cat confdefs.h
>>conftest.
$ac_ext
39486 cat >>conftest.
$ac_ext <<_ACEOF
39487 /* end confdefs.h. */
39488 #include <windows.h>
39490 #include <$ac_header>
39492 rm -f conftest.
$ac_objext
39493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39494 (eval $ac_compile) 2>conftest.er1
39496 grep -v '^ *+' conftest.er1
>conftest.err
39498 cat conftest.err
>&5
39499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39500 (exit $ac_status); } &&
39501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39503 (eval $ac_try) 2>&5
39505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39506 (exit $ac_status); }; } &&
39507 { ac_try
='test -s conftest.$ac_objext'
39508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39509 (eval $ac_try) 2>&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); }; }; then
39513 eval "$as_ac_Header=yes"
39515 echo "$as_me: failed program was:" >&5
39516 sed 's/^/| /' conftest.
$ac_ext >&5
39518 eval "$as_ac_Header=no"
39520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39525 cat >>confdefs.h
<<_ACEOF
39526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39531 wxUSE_DIRECTSHOW
="no"
39532 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39533 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39540 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39541 cat >>confdefs.h
<<\_ACEOF
39542 #define wxUSE_DIRECTSHOW 1
39545 LIBS
="$LIBS -lstrmiids"
39549 if test "$wxUSE_GTK" = 1; then
39550 wxUSE_GSTREAMER
="yes"
39555 if test -z "$PKG_CONFIG"; then
39556 # Extract the first word of "pkg-config", so it can be a program name with args.
39557 set dummy pkg
-config; ac_word
=$2
39558 echo "$as_me:$LINENO: checking for $ac_word" >&5
39559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39560 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39561 echo $ECHO_N "(cached) $ECHO_C" >&6
39563 case $PKG_CONFIG in
39565 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39569 for as_dir
in $PATH
39572 test -z "$as_dir" && as_dir
=.
39573 for ac_exec_ext
in '' $ac_executable_extensions; do
39574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39575 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39582 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39586 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39588 if test -n "$PKG_CONFIG"; then
39589 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39590 echo "${ECHO_T}$PKG_CONFIG" >&6
39592 echo "$as_me:$LINENO: result: no" >&5
39593 echo "${ECHO_T}no" >&6
39598 if test "$PKG_CONFIG" = "no" ; then
39599 echo "*** The pkg-config script could not be found. Make sure it is"
39600 echo "*** in your path, or set the PKG_CONFIG environment variable"
39601 echo "*** to the full path to pkg-config."
39602 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39604 PKG_CONFIG_MIN_VERSION
=0.9.0
39605 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39606 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39607 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39609 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39610 echo "$as_me:$LINENO: result: yes" >&5
39611 echo "${ECHO_T}yes" >&6
39614 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39615 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39616 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39617 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39618 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39620 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39621 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39622 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
39623 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39624 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39626 GSTREAMER_CFLAGS
=""
39628 ## If we have a custom action on failure, don't print errors, but
39629 ## do set a variable so people can do so.
39630 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39637 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39638 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39642 if test $succeeded = yes; then
39644 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
39645 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39649 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39650 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39651 wxUSE_GSTREAMER
="no"
39659 if test "x$GST_INSPECT" == "x"; then
39660 # Extract the first word of "gst-inspect", so it can be a program name with args.
39661 set dummy gst
-inspect; ac_word
=$2
39662 echo "$as_me:$LINENO: checking for $ac_word" >&5
39663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39664 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39665 echo $ECHO_N "(cached) $ECHO_C" >&6
39667 if test -n "$GST_INSPECT"; then
39668 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
39670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39671 for as_dir
in $PATH
39674 test -z "$as_dir" && as_dir
=.
39675 for ac_exec_ext
in '' $ac_executable_extensions; do
39676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39677 ac_cv_prog_GST_INSPECT
="gst-inspect"
39678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39686 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
39687 if test -n "$GST_INSPECT"; then
39688 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39689 echo "${ECHO_T}$GST_INSPECT" >&6
39691 echo "$as_me:$LINENO: result: no" >&5
39692 echo "${ECHO_T}no" >&6
39697 if test "x$GST_INSPECT" != "x"; then
39698 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39699 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39700 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
39701 echo "$as_me:$LINENO: result: found." >&5
39702 echo "${ECHO_T}found." >&6
39705 echo "$as_me:$LINENO: result: not found." >&5
39706 echo "${ECHO_T}not found." >&6
39708 wxUSE_GSTREAMER
="no"
39709 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39710 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39716 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39717 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39718 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39719 echo $ECHO_N "(cached) $ECHO_C" >&6
39721 cat >conftest.
$ac_ext <<_ACEOF
39724 cat confdefs.h
>>conftest.
$ac_ext
39725 cat >>conftest.
$ac_ext <<_ACEOF
39726 /* end confdefs.h. */
39727 #include <gst/gst.h>
39729 #include <gst/xoverlay/xoverlay.h>
39731 rm -f conftest.
$ac_objext
39732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39733 (eval $ac_compile) 2>conftest.er1
39735 grep -v '^ *+' conftest.er1
>conftest.err
39737 cat conftest.err
>&5
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); } &&
39740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39742 (eval $ac_try) 2>&5
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); }; } &&
39746 { ac_try
='test -s conftest.$ac_objext'
39747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39748 (eval $ac_try) 2>&5
39750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39751 (exit $ac_status); }; }; then
39752 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
39754 echo "$as_me: failed program was:" >&5
39755 sed 's/^/| /' conftest.
$ac_ext >&5
39757 ac_cv_header_gst_xoverlay_xoverlay_h
=no
39759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39761 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
39762 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
39763 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
39767 wxUSE_GSTREAMER
="no"
39768 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
39769 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
39775 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
39776 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
39779 for ac_dir
in $SEARCH_LIB /usr
/lib
;
39781 for ac_extension
in a so sl dylib
; do
39782 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
39783 ac_find_libraries
=$ac_dir
39790 if test "$ac_find_libraries" = "" ; then
39791 echo "$as_me:$LINENO: result: no" >&5
39792 echo "${ECHO_T}no" >&6
39793 wxUSE_GSTREAMER
="no"
39795 echo "$as_me:$LINENO: result: yes" >&5
39796 echo "${ECHO_T}yes" >&6
39799 if test "$wxUSE_GSTREAMER" = "yes"; then
39800 cat >>confdefs.h
<<\_ACEOF
39801 #define wxUSE_GSTREAMER 1
39804 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
39805 echo "${ECHO_T}GStreamer detection successful" >&6
39808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
39809 cat >>confdefs.h
<<\_ACEOF
39810 #define wxUSE_MEDIACTRL 1
39816 if test "$cross_compiling" = "yes"; then
39819 OSINFO
=`uname -s -r -m`
39820 OSINFO
="\"$OSINFO\""
39823 cat >>confdefs.h
<<_ACEOF
39824 #define WXWIN_OS_DESCRIPTION $OSINFO
39829 if test "x$prefix" != "xNONE"; then
39832 wxPREFIX
=$ac_default_prefix
39835 cat >>confdefs.h
<<_ACEOF
39836 #define wxINSTALL_PREFIX "$wxPREFIX"
39842 CORE_BASE_LIBS
="net base"
39843 CORE_GUI_LIBS
="adv core"
39845 if test "$wxUSE_XML" = "yes" ; then
39846 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
39848 if test "$wxUSE_ODBC" != "no" ; then
39849 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
39850 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
39852 if test "$wxUSE_HTML" = "yes" ; then
39853 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
39855 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
39856 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
39858 if test "$wxUSE_XRC" = "yes" ; then
39859 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
39862 if test "$wxUSE_GUI" != "yes"; then
39873 if test "$wxUSE_MAC" = 1 ; then
39874 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39875 if test "$USE_DARWIN" = 1; then
39876 LDFLAGS
="$LDFLAGS -framework QuickTime"
39878 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
39881 if test "$USE_DARWIN" = 1; then
39882 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39884 LDFLAGS
="$LDFLAGS -lCarbonLib"
39887 if test "$wxUSE_COCOA" = 1 ; then
39888 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
39889 if test "$wxUSE_MEDIACTRL" = "yes"; then
39890 LDFLAGS
="$LDFLAGS -framework QuickTime"
39895 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39902 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39903 echo "$as_me:$LINENO: checking for $ac_func" >&5
39904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39905 if eval "test \"\${$as_ac_var+set}\" = set"; then
39906 echo $ECHO_N "(cached) $ECHO_C" >&6
39908 cat >conftest.
$ac_ext <<_ACEOF
39911 cat confdefs.h
>>conftest.
$ac_ext
39912 cat >>conftest.
$ac_ext <<_ACEOF
39913 /* end confdefs.h. */
39914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39916 #define $ac_func innocuous_$ac_func
39918 /* System header to define __stub macros and hopefully few prototypes,
39919 which can conflict with char $ac_func (); below.
39920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39921 <limits.h> exists even on freestanding compilers. */
39924 # include <limits.h>
39926 # include <assert.h>
39931 /* Override any gcc2 internal prototype to avoid an error. */
39936 /* We use char because int might match the return type of a gcc2
39937 builtin and then its argument prototype would still apply. */
39939 /* The GNU C library defines this for functions which it implements
39940 to always fail with ENOSYS. Some functions are actually named
39941 something starting with __ and the normal name is an alias. */
39942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39945 char (*f) () = $ac_func;
39954 return f != $ac_func;
39959 rm -f conftest.
$ac_objext conftest
$ac_exeext
39960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39961 (eval $ac_link) 2>conftest.er1
39963 grep -v '^ *+' conftest.er1
>conftest.err
39965 cat conftest.err
>&5
39966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39967 (exit $ac_status); } &&
39968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39970 (eval $ac_try) 2>&5
39972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39973 (exit $ac_status); }; } &&
39974 { ac_try
='test -s conftest$ac_exeext'
39975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39976 (eval $ac_try) 2>&5
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); }; }; then
39980 eval "$as_ac_var=yes"
39982 echo "$as_me: failed program was:" >&5
39983 sed 's/^/| /' conftest.
$ac_ext >&5
39985 eval "$as_ac_var=no"
39987 rm -f conftest.err conftest.
$ac_objext \
39988 conftest
$ac_exeext conftest.
$ac_ext
39990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39992 if test `eval echo '${'$as_ac_var'}'` = yes; then
39993 cat >>confdefs.h
<<_ACEOF
39994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40001 for ac_func
in floor
40003 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40004 echo "$as_me:$LINENO: checking for $ac_func" >&5
40005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40006 if eval "test \"\${$as_ac_var+set}\" = set"; then
40007 echo $ECHO_N "(cached) $ECHO_C" >&6
40009 cat >conftest.
$ac_ext <<_ACEOF
40012 cat confdefs.h
>>conftest.
$ac_ext
40013 cat >>conftest.
$ac_ext <<_ACEOF
40014 /* end confdefs.h. */
40015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40017 #define $ac_func innocuous_$ac_func
40019 /* System header to define __stub macros and hopefully few prototypes,
40020 which can conflict with char $ac_func (); below.
40021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40022 <limits.h> exists even on freestanding compilers. */
40025 # include <limits.h>
40027 # include <assert.h>
40032 /* Override any gcc2 internal prototype to avoid an error. */
40037 /* We use char because int might match the return type of a gcc2
40038 builtin and then its argument prototype would still apply. */
40040 /* The GNU C library defines this for functions which it implements
40041 to always fail with ENOSYS. Some functions are actually named
40042 something starting with __ and the normal name is an alias. */
40043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40046 char (*f) () = $ac_func;
40055 return f != $ac_func;
40060 rm -f conftest.
$ac_objext conftest
$ac_exeext
40061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40062 (eval $ac_link) 2>conftest.er1
40064 grep -v '^ *+' conftest.er1
>conftest.err
40066 cat conftest.err
>&5
40067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40068 (exit $ac_status); } &&
40069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40071 (eval $ac_try) 2>&5
40073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40074 (exit $ac_status); }; } &&
40075 { ac_try
='test -s conftest$ac_exeext'
40076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40077 (eval $ac_try) 2>&5
40079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40080 (exit $ac_status); }; }; then
40081 eval "$as_ac_var=yes"
40083 echo "$as_me: failed program was:" >&5
40084 sed 's/^/| /' conftest.
$ac_ext >&5
40086 eval "$as_ac_var=no"
40088 rm -f conftest.err conftest.
$ac_objext \
40089 conftest
$ac_exeext conftest.
$ac_ext
40091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40093 if test `eval echo '${'$as_ac_var'}'` = yes; then
40094 cat >>confdefs.h
<<_ACEOF
40095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40101 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40102 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40103 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40104 echo "$as_me:$LINENO: result: yes" >&5
40105 echo "${ECHO_T}yes" >&6
40107 echo "$as_me:$LINENO: result: no" >&5
40108 echo "${ECHO_T}no" >&6
40110 # use different functions to avoid configure caching
40116 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40117 echo "$as_me:$LINENO: checking for $ac_func" >&5
40118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40119 if eval "test \"\${$as_ac_var+set}\" = set"; then
40120 echo $ECHO_N "(cached) $ECHO_C" >&6
40122 cat >conftest.
$ac_ext <<_ACEOF
40125 cat confdefs.h
>>conftest.
$ac_ext
40126 cat >>conftest.
$ac_ext <<_ACEOF
40127 /* end confdefs.h. */
40128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40130 #define $ac_func innocuous_$ac_func
40132 /* System header to define __stub macros and hopefully few prototypes,
40133 which can conflict with char $ac_func (); below.
40134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40135 <limits.h> exists even on freestanding compilers. */
40138 # include <limits.h>
40140 # include <assert.h>
40145 /* Override any gcc2 internal prototype to avoid an error. */
40150 /* We use char because int might match the return type of a gcc2
40151 builtin and then its argument prototype would still apply. */
40153 /* The GNU C library defines this for functions which it implements
40154 to always fail with ENOSYS. Some functions are actually named
40155 something starting with __ and the normal name is an alias. */
40156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40159 char (*f) () = $ac_func;
40168 return f != $ac_func;
40173 rm -f conftest.
$ac_objext conftest
$ac_exeext
40174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40175 (eval $ac_link) 2>conftest.er1
40177 grep -v '^ *+' conftest.er1
>conftest.err
40179 cat conftest.err
>&5
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); } &&
40182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40184 (eval $ac_try) 2>&5
40186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40187 (exit $ac_status); }; } &&
40188 { ac_try
='test -s conftest$ac_exeext'
40189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40190 (eval $ac_try) 2>&5
40192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40193 (exit $ac_status); }; }; then
40194 eval "$as_ac_var=yes"
40196 echo "$as_me: failed program was:" >&5
40197 sed 's/^/| /' conftest.
$ac_ext >&5
40199 eval "$as_ac_var=no"
40201 rm -f conftest.err conftest.
$ac_objext \
40202 conftest
$ac_exeext conftest.
$ac_ext
40204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40206 if test `eval echo '${'$as_ac_var'}'` = yes; then
40207 cat >>confdefs.h
<<_ACEOF
40208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40215 for ac_func
in ceil
40217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40218 echo "$as_me:$LINENO: checking for $ac_func" >&5
40219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40220 if eval "test \"\${$as_ac_var+set}\" = set"; then
40221 echo $ECHO_N "(cached) $ECHO_C" >&6
40223 cat >conftest.
$ac_ext <<_ACEOF
40226 cat confdefs.h
>>conftest.
$ac_ext
40227 cat >>conftest.
$ac_ext <<_ACEOF
40228 /* end confdefs.h. */
40229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40231 #define $ac_func innocuous_$ac_func
40233 /* System header to define __stub macros and hopefully few prototypes,
40234 which can conflict with char $ac_func (); below.
40235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40236 <limits.h> exists even on freestanding compilers. */
40239 # include <limits.h>
40241 # include <assert.h>
40246 /* Override any gcc2 internal prototype to avoid an error. */
40251 /* We use char because int might match the return type of a gcc2
40252 builtin and then its argument prototype would still apply. */
40254 /* The GNU C library defines this for functions which it implements
40255 to always fail with ENOSYS. Some functions are actually named
40256 something starting with __ and the normal name is an alias. */
40257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40260 char (*f) () = $ac_func;
40269 return f != $ac_func;
40274 rm -f conftest.
$ac_objext conftest
$ac_exeext
40275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40276 (eval $ac_link) 2>conftest.er1
40278 grep -v '^ *+' conftest.er1
>conftest.err
40280 cat conftest.err
>&5
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); } &&
40283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40285 (eval $ac_try) 2>&5
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); }; } &&
40289 { ac_try
='test -s conftest$ac_exeext'
40290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40291 (eval $ac_try) 2>&5
40293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40294 (exit $ac_status); }; }; then
40295 eval "$as_ac_var=yes"
40297 echo "$as_me: failed program was:" >&5
40298 sed 's/^/| /' conftest.
$ac_ext >&5
40300 eval "$as_ac_var=no"
40302 rm -f conftest.err conftest.
$ac_objext \
40303 conftest
$ac_exeext conftest.
$ac_ext
40305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40307 if test `eval echo '${'$as_ac_var'}'` = yes; then
40308 cat >>confdefs.h
<<_ACEOF
40309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40315 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40316 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40317 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40318 echo "$as_me:$LINENO: result: yes" >&5
40319 echo "${ECHO_T}yes" >&6
40321 echo "$as_me:$LINENO: result: no" >&5
40322 echo "${ECHO_T}no" >&6
40323 # not sure we should warn the user, crash, etc.
40327 if test "$wxUSE_GUI" = "yes"; then
40330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40331 dynamic erase event exec font image minimal mobile \
40332 mobile/wxedit mobile/styles propsize render \
40333 richedit rotate shaped vscroll widgets"
40335 if test "$wxUSE_MONOLITHIC" != "yes"; then
40336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
40338 if test "$TOOLKIT" = "MSW"; then
40339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
40340 if test "$wxUSE_UNIVERSAL" != "yes"; then
40341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40344 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
40348 SAMPLES_SUBDIRS
="console"
40352 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40353 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40355 if test "$GXX" = yes ; then
40357 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
40360 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40362 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40363 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40364 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40366 if test "x$MWCC" = "xyes"; then
40368 CC
="$CC -cwd source -I-"
40369 CXX
="$CXX -cwd source -I-"
40374 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40375 EXTRALIBS_XML
="$EXPAT_LINK"
40376 EXTRALIBS_HTML
="$MSPACK_LINK"
40377 EXTRALIBS_ODBC
="$ODBC_LINK"
40378 if test "$wxUSE_GUI" = "yes"; then
40379 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40381 if test "$wxUSE_OPENGL" = "yes"; then
40382 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
40385 LDFLAGS
="$LDFLAGS $PROFILE"
40387 if test "$wxUSE_GTK" = 1; then
40390 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
40393 WXCONFIG_EXTRALIBS
="$LIBS"
40395 if test "$wxUSE_REGEX" = "builtin" ; then
40396 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
40398 if test "$wxUSE_EXPAT" = "builtin" ; then
40399 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
40401 if test "$wxUSE_ODBC" = "builtin" ; then
40402 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40404 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40405 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
40407 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40408 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
40410 if test "$wxUSE_LIBPNG" = "builtin" ; then
40411 wxconfig_3rdparty
="$wxconfig_3rdparty png"
40413 if test "$wxUSE_ZLIB" = "builtin" ; then
40414 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
40416 if test "$wxUSE_ODBC" = "builtin" ; then
40417 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40420 for i
in $wxconfig_3rdparty ; do
40421 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
40425 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40439 if test $wxUSE_MONOLITHIC = "yes" ; then
40445 if test $wxUSE_PLUGINS = "yes" ; then
40451 if test $wxUSE_ODBC != "no" ; then
40457 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40485 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40496 TOOLKIT_USER
="GTK+"
40497 if test "$WXGTK20" = 1; then
40498 TOOLKIT_USER
="$TOOLKIT_USER 2"
40503 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
40510 if test "x$BAKEFILE_HOST" = "x"; then
40511 BAKEFILE_HOST
="${host}"
40514 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40516 if test -n "$ac_tool_prefix"; then
40517 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40518 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
40519 echo "$as_me:$LINENO: checking for $ac_word" >&5
40520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40521 if test "${ac_cv_prog_RANLIB+set}" = set; then
40522 echo $ECHO_N "(cached) $ECHO_C" >&6
40524 if test -n "$RANLIB"; then
40525 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
40527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40528 for as_dir
in $PATH
40531 test -z "$as_dir" && as_dir
=.
40532 for ac_exec_ext
in '' $ac_executable_extensions; do
40533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40534 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
40535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40543 RANLIB
=$ac_cv_prog_RANLIB
40544 if test -n "$RANLIB"; then
40545 echo "$as_me:$LINENO: result: $RANLIB" >&5
40546 echo "${ECHO_T}$RANLIB" >&6
40548 echo "$as_me:$LINENO: result: no" >&5
40549 echo "${ECHO_T}no" >&6
40553 if test -z "$ac_cv_prog_RANLIB"; then
40554 ac_ct_RANLIB
=$RANLIB
40555 # Extract the first word of "ranlib", so it can be a program name with args.
40556 set dummy ranlib
; ac_word
=$2
40557 echo "$as_me:$LINENO: checking for $ac_word" >&5
40558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40559 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40560 echo $ECHO_N "(cached) $ECHO_C" >&6
40562 if test -n "$ac_ct_RANLIB"; then
40563 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
40565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40566 for as_dir
in $PATH
40569 test -z "$as_dir" && as_dir
=.
40570 for ac_exec_ext
in '' $ac_executable_extensions; do
40571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40572 ac_cv_prog_ac_ct_RANLIB
="ranlib"
40573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40579 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
40582 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
40583 if test -n "$ac_ct_RANLIB"; then
40584 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40585 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40587 echo "$as_me:$LINENO: result: no" >&5
40588 echo "${ECHO_T}no" >&6
40591 RANLIB
=$ac_ct_RANLIB
40593 RANLIB
="$ac_cv_prog_RANLIB"
40596 # Find a good install program. We prefer a C program (faster),
40597 # so one script is as good as another. But avoid the broken or
40598 # incompatible versions:
40599 # SysV /etc/install, /usr/sbin/install
40600 # SunOS /usr/etc/install
40601 # IRIX /sbin/install
40603 # AmigaOS /C/install, which installs bootblocks on floppy discs
40604 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40605 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40606 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40607 # OS/2's system install, which has a completely different semantic
40608 # ./install, which can be erroneously created by make from ./install.sh.
40609 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40610 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40611 if test -z "$INSTALL"; then
40612 if test "${ac_cv_path_install+set}" = set; then
40613 echo $ECHO_N "(cached) $ECHO_C" >&6
40615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40616 for as_dir
in $PATH
40619 test -z "$as_dir" && as_dir
=.
40620 # Account for people who put trailing slashes in PATH elements.
40622 .
/ | .
// | /cC
/* | \
40623 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
40624 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
40627 # OSF1 and SCO ODT 3.0 have their own names for install.
40628 # Don't use installbsd from OSF since it installs stuff as root
40630 for ac_prog
in ginstall scoinst
install; do
40631 for ac_exec_ext
in '' $ac_executable_extensions; do
40632 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40633 if test $ac_prog = install &&
40634 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40635 # AIX install. It has an incompatible calling convention.
40637 elif test $ac_prog = install &&
40638 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40639 # program-specific install script used by HP pwplus--don't use.
40642 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
40654 if test "${ac_cv_path_install+set}" = set; then
40655 INSTALL
=$ac_cv_path_install
40657 # As a last resort, use the slow shell script. We don't cache a
40658 # path for INSTALL within a source directory, because that will
40659 # break other packages using the cache if that directory is
40660 # removed, or if the path is relative.
40661 INSTALL
=$ac_install_sh
40664 echo "$as_me:$LINENO: result: $INSTALL" >&5
40665 echo "${ECHO_T}$INSTALL" >&6
40667 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40668 # It thinks the first close brace ends the variable substitution.
40669 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
40671 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
40673 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
40675 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40676 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40678 if test "$LN_S" = "ln -s"; then
40679 echo "$as_me:$LINENO: result: yes" >&5
40680 echo "${ECHO_T}yes" >&6
40682 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40683 echo "${ECHO_T}no, using $LN_S" >&6
40687 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40688 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40689 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40690 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40691 echo $ECHO_N "(cached) $ECHO_C" >&6
40693 cat >conftest.
make <<\_ACEOF
40695 @
echo 'ac_maketemp="$(MAKE)"'
40697 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40698 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40699 if test -n "$ac_maketemp"; then
40700 eval ac_cv_prog_make_
${ac_make}_set
=yes
40702 eval ac_cv_prog_make_
${ac_make}_set
=no
40704 rm -f conftest.
make
40706 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40707 echo "$as_me:$LINENO: result: yes" >&5
40708 echo "${ECHO_T}yes" >&6
40711 echo "$as_me:$LINENO: result: no" >&5
40712 echo "${ECHO_T}no" >&6
40713 SET_MAKE
="MAKE=${MAKE-make}"
40718 if test -n "$ac_tool_prefix"; then
40719 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40720 set dummy
${ac_tool_prefix}ar; ac_word
=$2
40721 echo "$as_me:$LINENO: checking for $ac_word" >&5
40722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40723 if test "${ac_cv_prog_AR+set}" = set; then
40724 echo $ECHO_N "(cached) $ECHO_C" >&6
40726 if test -n "$AR"; then
40727 ac_cv_prog_AR
="$AR" # Let the user override the test.
40729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40730 for as_dir
in $PATH
40733 test -z "$as_dir" && as_dir
=.
40734 for ac_exec_ext
in '' $ac_executable_extensions; do
40735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40736 ac_cv_prog_AR
="${ac_tool_prefix}ar"
40737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40746 if test -n "$AR"; then
40747 echo "$as_me:$LINENO: result: $AR" >&5
40748 echo "${ECHO_T}$AR" >&6
40750 echo "$as_me:$LINENO: result: no" >&5
40751 echo "${ECHO_T}no" >&6
40755 if test -z "$ac_cv_prog_AR"; then
40757 # Extract the first word of "ar", so it can be a program name with args.
40758 set dummy
ar; ac_word
=$2
40759 echo "$as_me:$LINENO: checking for $ac_word" >&5
40760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40761 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
40762 echo $ECHO_N "(cached) $ECHO_C" >&6
40764 if test -n "$ac_ct_AR"; then
40765 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
40767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40768 for as_dir
in $PATH
40771 test -z "$as_dir" && as_dir
=.
40772 for ac_exec_ext
in '' $ac_executable_extensions; do
40773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40774 ac_cv_prog_ac_ct_AR
="ar"
40775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40781 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
40784 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
40785 if test -n "$ac_ct_AR"; then
40786 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
40787 echo "${ECHO_T}$ac_ct_AR" >&6
40789 echo "$as_me:$LINENO: result: no" >&5
40790 echo "${ECHO_T}no" >&6
40795 AR
="$ac_cv_prog_AR"
40798 if test -n "$ac_tool_prefix"; then
40799 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
40800 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
40801 echo "$as_me:$LINENO: checking for $ac_word" >&5
40802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40803 if test "${ac_cv_prog_STRIP+set}" = set; then
40804 echo $ECHO_N "(cached) $ECHO_C" >&6
40806 if test -n "$STRIP"; then
40807 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
40809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40810 for as_dir
in $PATH
40813 test -z "$as_dir" && as_dir
=.
40814 for ac_exec_ext
in '' $ac_executable_extensions; do
40815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40816 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
40817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40825 STRIP
=$ac_cv_prog_STRIP
40826 if test -n "$STRIP"; then
40827 echo "$as_me:$LINENO: result: $STRIP" >&5
40828 echo "${ECHO_T}$STRIP" >&6
40830 echo "$as_me:$LINENO: result: no" >&5
40831 echo "${ECHO_T}no" >&6
40835 if test -z "$ac_cv_prog_STRIP"; then
40837 # Extract the first word of "strip", so it can be a program name with args.
40838 set dummy strip
; ac_word
=$2
40839 echo "$as_me:$LINENO: checking for $ac_word" >&5
40840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40841 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40842 echo $ECHO_N "(cached) $ECHO_C" >&6
40844 if test -n "$ac_ct_STRIP"; then
40845 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
40847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40848 for as_dir
in $PATH
40851 test -z "$as_dir" && as_dir
=.
40852 for ac_exec_ext
in '' $ac_executable_extensions; do
40853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40854 ac_cv_prog_ac_ct_STRIP
="strip"
40855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40861 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
40864 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
40865 if test -n "$ac_ct_STRIP"; then
40866 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40867 echo "${ECHO_T}$ac_ct_STRIP" >&6
40869 echo "$as_me:$LINENO: result: no" >&5
40870 echo "${ECHO_T}no" >&6
40875 STRIP
="$ac_cv_prog_STRIP"
40878 if test -n "$ac_tool_prefix"; then
40879 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40880 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
40881 echo "$as_me:$LINENO: checking for $ac_word" >&5
40882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40883 if test "${ac_cv_prog_NM+set}" = set; then
40884 echo $ECHO_N "(cached) $ECHO_C" >&6
40886 if test -n "$NM"; then
40887 ac_cv_prog_NM
="$NM" # Let the user override the test.
40889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40890 for as_dir
in $PATH
40893 test -z "$as_dir" && as_dir
=.
40894 for ac_exec_ext
in '' $ac_executable_extensions; do
40895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40896 ac_cv_prog_NM
="${ac_tool_prefix}nm"
40897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40906 if test -n "$NM"; then
40907 echo "$as_me:$LINENO: result: $NM" >&5
40908 echo "${ECHO_T}$NM" >&6
40910 echo "$as_me:$LINENO: result: no" >&5
40911 echo "${ECHO_T}no" >&6
40915 if test -z "$ac_cv_prog_NM"; then
40917 # Extract the first word of "nm", so it can be a program name with args.
40918 set dummy nm
; ac_word
=$2
40919 echo "$as_me:$LINENO: checking for $ac_word" >&5
40920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40921 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
40922 echo $ECHO_N "(cached) $ECHO_C" >&6
40924 if test -n "$ac_ct_NM"; then
40925 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
40927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40928 for as_dir
in $PATH
40931 test -z "$as_dir" && as_dir
=.
40932 for ac_exec_ext
in '' $ac_executable_extensions; do
40933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40934 ac_cv_prog_ac_ct_NM
="nm"
40935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40941 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
40944 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
40945 if test -n "$ac_ct_NM"; then
40946 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
40947 echo "${ECHO_T}$ac_ct_NM" >&6
40949 echo "$as_me:$LINENO: result: no" >&5
40950 echo "${ECHO_T}no" >&6
40955 NM
="$ac_cv_prog_NM"
40959 case ${BAKEFILE_HOST} in
40961 INSTALL_DIR
="mkdir -p"
40963 *) INSTALL_DIR
="$INSTALL -d"
40969 case ${BAKEFILE_HOST} in
40970 *-*-cygwin* | *-*-mingw32* )
40971 LDFLAGS_GUI
="-mwindows"
40977 echo "$as_me:$LINENO: checking if make is GNU make" >&5
40978 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
40979 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
40980 echo $ECHO_N "(cached) $ECHO_C" >&6
40983 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
40984 egrep -s GNU
> /dev
/null
); then
40985 bakefile_cv_prog_makeisgnu
="yes"
40987 bakefile_cv_prog_makeisgnu
="no"
40991 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
40992 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
40994 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41011 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41012 case "${BAKEFILE_HOST}" in
41013 *-*-cygwin* | *-*-mingw32* )
41019 *-pc-os2_emx | *-pc-os2-emx )
41022 powerpc
-*-darwin* )
41029 powerpc
-apple-macos* )
41038 case "$BAKEFILE_FORCE_PLATFORM" in
41059 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41060 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41061 { (exit 1); exit 1; }; }
41076 # Check whether --enable-omf or --disable-omf was given.
41077 if test "${enable_omf+set}" = set; then
41078 enableval
="$enable_omf"
41079 bk_os2_use_omf
="$enableval"
41082 case "${BAKEFILE_HOST}" in
41084 CFLAGS
="$CFLAGS -fno-common"
41085 CXXFLAGS
="$CXXFLAGS -fno-common"
41088 *-pc-os2_emx | *-pc-os2-emx )
41089 if test "x$bk_os2_use_omf" = "xyes" ; then
41092 LDFLAGS
="-Zomf $LDFLAGS"
41093 CFLAGS
="-Zomf $CFLAGS"
41094 CXXFLAGS
="-Zomf $CXXFLAGS"
41102 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
41108 SO_SUFFIX_MODULE
="so"
41113 DLLPREFIX_MODULE
=""
41116 case "${BAKEFILE_HOST}" in
41119 SO_SUFFIX_MODULE
="sl"
41123 SO_SUFFIX_MODULE
="a"
41125 *-*-cygwin* | *-*-mingw32* )
41127 SO_SUFFIX_MODULE
="dll"
41128 DLLIMP_SUFFIX
="dll.a"
41136 *-pc-os2_emx | *-pc-os2-emx )
41138 SO_SUFFIX_MODULE
="dll"
41139 DLLIMP_SUFFIX
=$OS2_LIBEXT
41143 LIBEXT
=".$OS2_LIBEXT"
41145 powerpc
-*-darwin* )
41147 SO_SUFFIX_MODULE
="bundle"
41151 if test "x$DLLIMP_SUFFIX" = "x" ; then
41152 DLLIMP_SUFFIX
="$SO_SUFFIX"
41166 if test "x$GCC" = "xyes"; then
41170 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41171 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41173 case "${BAKEFILE_HOST}" in
41175 if test "x$GCC" != "xyes"; then
41176 LDFLAGS
="$LDFLAGS -L/usr/lib"
41178 SHARED_LD_CC
="${CC} -b -o"
41179 SHARED_LD_CXX
="${CXX} -b -o"
41185 if test "x$GCC" != "xyes"; then
41186 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41187 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41188 if test "${bakefile_cv_prog_icc+set}" = set; then
41189 echo $ECHO_N "(cached) $ECHO_C" >&6
41192 cat >conftest.
$ac_ext <<_ACEOF
41195 cat confdefs.h
>>conftest.
$ac_ext
41196 cat >>conftest.
$ac_ext <<_ACEOF
41197 /* end confdefs.h. */
41203 #ifndef __INTEL_COMPILER
41211 rm -f conftest.
$ac_objext
41212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41213 (eval $ac_compile) 2>conftest.er1
41215 grep -v '^ *+' conftest.er1
>conftest.err
41217 cat conftest.err
>&5
41218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41219 (exit $ac_status); } &&
41220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41222 (eval $ac_try) 2>&5
41224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41225 (exit $ac_status); }; } &&
41226 { ac_try
='test -s conftest.$ac_objext'
41227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41228 (eval $ac_try) 2>&5
41230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41231 (exit $ac_status); }; }; then
41232 bakefile_cv_prog_icc
=yes
41234 echo "$as_me: failed program was:" >&5
41235 sed 's/^/| /' conftest.
$ac_ext >&5
41237 bakefile_cv_prog_icc
=no
41240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41243 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41244 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41245 if test "$bakefile_cv_prog_icc" = "yes"; then
41252 if test "x$GCC" != xyes
; then
41253 SHARED_LD_CC
="${CC} -G -o"
41254 SHARED_LD_CXX
="${CXX} -G -o"
41261 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41262 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41263 if test "${wx_cv_gcc31+set}" = set; then
41264 echo $ECHO_N "(cached) $ECHO_C" >&6
41267 cat >conftest.
$ac_ext <<_ACEOF
41270 cat confdefs.h
>>conftest.
$ac_ext
41271 cat >>conftest.
$ac_ext <<_ACEOF
41272 /* end confdefs.h. */
41278 #if (__GNUC__ < 3) || \
41279 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41287 rm -f conftest.
$ac_objext
41288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41289 (eval $ac_compile) 2>conftest.er1
41291 grep -v '^ *+' conftest.er1
>conftest.err
41293 cat conftest.err
>&5
41294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41295 (exit $ac_status); } &&
41296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41298 (eval $ac_try) 2>&5
41300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41301 (exit $ac_status); }; } &&
41302 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
41312 echo "$as_me: failed program was:" >&5
41313 sed 's/^/| /' conftest.
$ac_ext >&5
41320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41323 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41324 echo "${ECHO_T}$wx_cv_gcc31" >&6
41325 if test "$wx_cv_gcc31" = "no"; then
41328 cat <<EOF >shared-ld-sh
41330 #-----------------------------------------------------------------------------
41331 #-- Name: distrib/mac/shared-ld-sh
41332 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41333 #-- Author: Gilles Depeyrot
41334 #-- Copyright: (c) 2002 Gilles Depeyrot
41335 #-- Licence: any use permitted
41336 #-----------------------------------------------------------------------------
41341 linking_flag="-dynamiclib"
41343 while test ${D}# -gt 0; do
41350 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41351 # collect these options and values
41352 args="${D}{args} ${D}1 ${D}2"
41356 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41357 # collect these options
41358 args="${D}{args} ${D}1"
41361 -dynamiclib|-bundle)
41362 linking_flag="${D}1"
41366 echo "shared-ld: unhandled option '${D}1'"
41370 *.o | *.a | *.dylib)
41371 # collect object files
41372 objects="${D}{objects} ${D}1"
41376 echo "shared-ld: unhandled argument '${D}1'"
41385 # Link one module containing all the others
41387 if test ${D}{verbose} = 1; then
41388 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41390 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41392 if test ${D}{status} != 0; then
41397 # Link the shared library from the single module created
41399 if test ${D}{verbose} = 1; then
41400 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41402 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41404 if test ${D}{status} != 0; then
41409 # Remove intermediate module
41411 rm -f master.${D}${D}.o
41416 chmod +x shared
-ld-sh
41418 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41419 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41420 SHARED_LD_CXX
="$SHARED_LD_CC"
41421 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
41423 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41424 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41425 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41426 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41429 PIC_FLAG
="-dynamic -fPIC"
41433 if test "x$GCC" != "xyes"; then
41434 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41435 set dummy makeC
++SharedLib
; ac_word
=$2
41436 echo "$as_me:$LINENO: checking for $ac_word" >&5
41437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41438 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41439 echo $ECHO_N "(cached) $ECHO_C" >&6
41441 if test -n "$AIX_CXX_LD"; then
41442 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
41444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41445 for as_dir
in $PATH
41448 test -z "$as_dir" && as_dir
=.
41449 for ac_exec_ext
in '' $ac_executable_extensions; do
41450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41451 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
41452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41458 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
41461 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
41462 if test -n "$AIX_CXX_LD"; then
41463 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41464 echo "${ECHO_T}$AIX_CXX_LD" >&6
41466 echo "$as_me:$LINENO: result: no" >&5
41467 echo "${ECHO_T}no" >&6
41470 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
41471 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
41476 SHARED_LD_CC
="${LD} -nostart -o"
41477 SHARED_LD_CXX
="${LD} -nostart -o"
41481 if test "x$GCC" != "xyes"; then
41486 *-*-cygwin* | *-*-mingw32* )
41488 SHARED_LD_CC
="\$(CC) -shared -o"
41489 SHARED_LD_CXX
="\$(CXX) -shared -o"
41492 *-pc-os2_emx | *-pc-os2-emx )
41493 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41494 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41498 cat <<EOF >dllar.sh
41501 # dllar - a tool to build both a .dll and an .a file
41502 # from a set of object (.o) files for EMX/OS2.
41504 # Written by Andrew Zabolotny, bit@freya.etu.ru
41505 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41507 # This script will accept a set of files on the command line.
41508 # All the public symbols from the .o files will be exported into
41509 # a .DEF file, then linker will be run (through gcc) against them to
41510 # build a shared library consisting of all given .o files. All libraries
41511 # (.a) will be first decompressed into component .o files then act as
41512 # described above. You can optionally give a description (-d "description")
41513 # which will be put into .DLL. To see the list of accepted options (as well
41514 # as command-line format) simply run this program without options. The .DLL
41515 # is built to be imported by name (there is no guarantee that new versions
41516 # of the library you build will have same ordinals for same symbols).
41518 # dllar is free software; you can redistribute it and/or modify
41519 # it under the terms of the GNU General Public License as published by
41520 # the Free Software Foundation; either version 2, or (at your option)
41521 # any later version.
41523 # dllar is distributed in the hope that it will be useful,
41524 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41525 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41526 # GNU General Public License for more details.
41528 # You should have received a copy of the GNU General Public License
41529 # along with dllar; see the file COPYING. If not, write to the Free
41530 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41533 # To successfuly run this program you will need:
41534 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41535 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41537 # (used to build the .dll)
41539 # (used to create .def file from .o files)
41541 # (used to create .a file from .def file)
41542 # - GNU text utilites (cat, sort, uniq)
41543 # used to process emxexp output
41544 # - GNU file utilities (mv, rm)
41546 # - lxlite (optional, see flag below)
41547 # (used for general .dll cleanup)
41554 # basnam, variant of basename, which does _not_ remove the path, _iff_
41555 # second argument (suffix to remove) is given
41559 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41562 echo ${D}1 | sed 's/'${D}2'${D}//'
41565 echo "error in basnam ${D}*"
41571 # Cleanup temporary files and output
41574 for i in ${D}inputFiles ; do
41577 rm -rf \`basnam ${D}i !\`
41584 # Kill result in case of failure as there is just to many stupid make/nmake
41585 # things out there which doesn't do this.
41586 if [ ${D}# -eq 0 ]; then
41587 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41591 # Print usage and exit script with rc=1.
41593 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41594 echo ' [-name-mangler-script script.sh]'
41595 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41596 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41597 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41598 echo ' [*.o] [*.a]'
41599 echo '*> "output_file" should have no extension.'
41600 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41601 echo ' The import library name is derived from this and is set to "name".a,'
41602 echo ' unless overridden by -import'
41603 echo '*> "importlib_name" should have no extension.'
41604 echo ' If it has the .o, or .a extension, it is automatically removed.'
41605 echo ' This name is used as the import library name and may be longer and'
41606 echo ' more descriptive than the DLL name which has to follow the old '
41607 echo ' 8.3 convention of FAT.'
41608 echo '*> "script.sh may be given to override the output_file name by a'
41609 echo ' different name. It is mainly useful if the regular make process'
41610 echo ' of some package does not take into account OS/2 restriction of'
41611 echo ' DLL name lengths. It takes the importlib name as input and is'
41612 echo ' supposed to procude a shorter name as output. The script should'
41613 echo ' expect to get importlib_name without extension and should produce'
41614 echo ' a (max.) 8 letter name without extension.'
41615 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41616 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41617 echo ' These flags will be put at the start of GCC command line.'
41618 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41619 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41620 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41621 echo ' If the last character of a symbol is "*", all symbols beginning'
41622 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41623 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41624 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41625 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41626 echo ' C runtime DLLs.'
41627 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41628 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41629 echo ' unchanged to GCC at the end of command line.'
41630 echo '*> If you create a DLL from a library and you do not specify -o,'
41631 echo ' the basename for DLL and import library will be set to library name,'
41632 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41633 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41634 echo ' library will be renamed into gcc_s.a.'
41637 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41638 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41643 # Execute a command.
41644 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41645 # @Uses Whatever CleanUp() uses.
41651 if [ ${D}rcCmd -ne 0 ]; then
41652 echo "command failed, exit code="${D}rcCmd
41667 CFLAGS="-s -Zcrtdll"
41669 EXPORT_BY_ORDINALS=0
41674 case ${D}curDirS in
41678 curDirS=${D}{curDirS}"/"
41681 # Parse commandline
41684 while [ ${D}1 ]; do
41687 EXPORT_BY_ORDINALS=1;
41697 -name-mangler-script)
41718 exclude_symbols=${D}{exclude_symbols}${D}1" "
41722 library_flags=${D}{library_flags}${D}1" "
41741 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41744 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
41745 if [ ${D}omfLinking -eq 1 ]; then
41746 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
41748 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
41753 if [ ${D}libsToLink -ne 0 ]; then
41754 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41756 for file in ${D}1 ; do
41757 if [ -f ${D}file ]; then
41758 inputFiles="${D}{inputFiles} ${D}file"
41762 if [ ${D}found -eq 0 ]; then
41763 echo "ERROR: No file(s) found: "${D}1
41770 done # iterate cmdline words
41773 if [ -z "${D}inputFiles" ]; then
41774 echo "dllar: no input files"
41778 # Now extract all .o files from .a files
41780 for file in ${D}inputFiles ; do
41791 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
41796 dirname=\`basnam ${D}file ${D}suffix\`"_%"
41798 if [ ${D}? -ne 0 ]; then
41799 echo "Failed to create subdirectory ./${D}dirname"
41803 # Append '!' to indicate archive
41804 newInputFiles="${D}newInputFiles ${D}{dirname}!"
41805 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
41808 for subfile in ${D}dirname/*.o* ; do
41809 if [ -f ${D}subfile ]; then
41811 if [ -s ${D}subfile ]; then
41812 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
41813 newInputFiles="${D}newInputFiles ${D}subfile"
41817 if [ ${D}found -eq 0 ]; then
41818 echo "WARNING: there are no files in archive \\'${D}file\\'"
41822 newInputFiles="${D}{newInputFiles} ${D}file"
41826 inputFiles="${D}newInputFiles"
41828 # Output filename(s).
41830 if [ -z ${D}outFile ]; then
41832 set outFile ${D}inputFiles; outFile=${D}2
41835 # If it is an archive, remove the '!' and the '_%' suffixes
41836 case ${D}outFile in
41838 outFile=\`basnam ${D}outFile _%!\`
41843 case ${D}outFile in
41845 outFile=\`basnam ${D}outFile .dll\`
41848 outFile=\`basnam ${D}outFile .DLL\`
41851 outFile=\`basnam ${D}outFile .o\`
41854 outFile=\`basnam ${D}outFile .obj\`
41857 outFile=\`basnam ${D}outFile .a\`
41860 outFile=\`basnam ${D}outFile .lib\`
41865 case ${D}outimpFile in
41867 outimpFile=\`basnam ${D}outimpFile .a\`
41870 outimpFile=\`basnam ${D}outimpFile .lib\`
41875 if [ -z ${D}outimpFile ]; then
41876 outimpFile=${D}outFile
41878 defFile="${D}{outFile}.def"
41879 arcFile="${D}{outimpFile}.a"
41880 arcFile2="${D}{outimpFile}.lib"
41882 #create ${D}dllFile as something matching 8.3 restrictions,
41883 if [ -z ${D}renameScript ] ; then
41884 dllFile="${D}outFile"
41886 dllFile=\`${D}renameScript ${D}outimpFile\`
41889 if [ ${D}do_backup -ne 0 ] ; then
41890 if [ -f ${D}arcFile ] ; then
41891 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41893 if [ -f ${D}arcFile2 ] ; then
41894 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41898 # Extract public symbols from all the object files.
41899 tmpdefFile=${D}{defFile}_%
41900 rm -f ${D}tmpdefFile
41901 for file in ${D}inputFiles ; do
41906 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41911 # Create the def file.
41913 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41914 dllFile="${D}{dllFile}.dll"
41915 if [ ! -z ${D}description ]; then
41916 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
41918 echo "EXPORTS" >> ${D}defFile
41920 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
41921 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
41923 # Checks if the export is ok or not.
41924 for word in ${D}exclude_symbols; do
41925 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
41926 mv ${D}{tmpdefFile}% ${D}tmpdefFile
41930 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41931 sed "=" < ${D}tmpdefFile | \\
41935 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
41937 ' > ${D}{tmpdefFile}%
41938 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
41940 rm -f ${D}{tmpdefFile}%
41942 cat ${D}tmpdefFile >> ${D}defFile
41943 rm -f ${D}tmpdefFile
41945 # Do linking, create implib, and apply lxlite.
41947 for file in ${D}inputFiles ; do
41952 gccCmdl="${D}gccCmdl ${D}file"
41956 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
41957 touch "${D}{outFile}.dll"
41959 doCommand "emximp -o ${D}arcFile ${D}defFile"
41960 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
41962 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41965 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
41967 doCommand "emxomf -s -l ${D}arcFile"
41977 powerpc
-apple-macos* | \
41978 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
41986 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
41987 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
41988 { (exit 1); exit 1; }; }
41991 if test "x$PIC_FLAG" != "x" ; then
41992 PIC_FLAG
="$PIC_FLAG -DPIC"
41995 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
41996 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
41998 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
41999 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
42016 case "${BAKEFILE_HOST}" in
42017 *-*-linux* | *-*-freebsd* )
42018 SONAME_FLAG
="-Wl,-soname,"
42046 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42047 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42050 if test "x$GCC" = "xyes"; then
42053 case "${BAKEFILE_HOST}" in
42054 powerpc
-*-darwin* )
42055 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
42058 DEPSFLAG_GCC
="-MMD"
42061 echo "$as_me:$LINENO: result: gcc" >&5
42062 echo "${ECHO_T}gcc" >&6
42063 elif test "x$MWCC" = "xyes"; then
42066 DEPSFLAG_MWCC
="-MM"
42067 echo "$as_me:$LINENO: result: mwcc" >&5
42068 echo "${ECHO_T}mwcc" >&6
42070 echo "$as_me:$LINENO: result: none" >&5
42071 echo "${ECHO_T}none" >&6
42074 if test $DEPS_TRACKING = 1 ; then
42080 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42081 # script. It is used to track C/C++ files dependencies in portable way.
42083 # Permission is given to use this file in any way.
42085 DEPSMODE=${DEPSMODE}
42087 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42088 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42090 mkdir -p ${D}DEPSDIR
42092 if test ${D}DEPSMODE = gcc ; then
42093 ${D}* ${D}{DEPSFLAG_GCC}
42095 if test ${D}{status} != 0 ; then
42098 # move created file to the location we want it in:
42099 while test ${D}# -gt 0; do
42113 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42114 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42115 if test -f ${D}depfile ; then
42116 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42119 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42120 if test -f ${D}depfile ; then
42121 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42126 elif test ${D}DEPSMODE = mwcc ; then
42129 if test ${D}{status} != 0 ; then
42132 # Run mwcc again with -MM and redirect into the dep file we want
42133 # NOTE: We can't use shift here because we need ${D}* to be valid
42135 for arg in ${D}* ; do
42136 if test "${D}prevarg" = "-o"; then
42149 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42166 case ${BAKEFILE_HOST} in
42167 *-*-cygwin* | *-*-mingw32* )
42168 if test "$build" != "$host" ; then
42169 RESCOMP
=$host_alias-windres
42171 # Extract the first word of "windres", so it can be a program name with args.
42172 set dummy windres
; ac_word
=$2
42173 echo "$as_me:$LINENO: checking for $ac_word" >&5
42174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42175 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42176 echo $ECHO_N "(cached) $ECHO_C" >&6
42178 if test -n "$RESCOMP"; then
42179 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42182 for as_dir
in $PATH
42185 test -z "$as_dir" && as_dir
=.
42186 for ac_exec_ext
in '' $ac_executable_extensions; do
42187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42188 ac_cv_prog_RESCOMP
="windres"
42189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42195 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42198 RESCOMP
=$ac_cv_prog_RESCOMP
42199 if test -n "$RESCOMP"; then
42200 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42201 echo "${ECHO_T}$RESCOMP" >&6
42203 echo "$as_me:$LINENO: result: no" >&5
42204 echo "${ECHO_T}no" >&6
42210 *-*-darwin* | powerpc
-apple-macos* )
42211 # Extract the first word of "Rez", so it can be a program name with args.
42212 set dummy Rez
; ac_word
=$2
42213 echo "$as_me:$LINENO: checking for $ac_word" >&5
42214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42215 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42216 echo $ECHO_N "(cached) $ECHO_C" >&6
42218 if test -n "$RESCOMP"; then
42219 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42222 for as_dir
in $PATH
42225 test -z "$as_dir" && as_dir
=.
42226 for ac_exec_ext
in '' $ac_executable_extensions; do
42227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42228 ac_cv_prog_RESCOMP
="Rez"
42229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42235 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
42238 RESCOMP
=$ac_cv_prog_RESCOMP
42239 if test -n "$RESCOMP"; then
42240 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42241 echo "${ECHO_T}$RESCOMP" >&6
42243 echo "$as_me:$LINENO: result: no" >&5
42244 echo "${ECHO_T}no" >&6
42247 # Extract the first word of "SetFile", so it can be a program name with args.
42248 set dummy SetFile
; ac_word
=$2
42249 echo "$as_me:$LINENO: checking for $ac_word" >&5
42250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42251 if test "${ac_cv_prog_SETFILE+set}" = set; then
42252 echo $ECHO_N "(cached) $ECHO_C" >&6
42254 if test -n "$SETFILE"; then
42255 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
42257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42258 for as_dir
in $PATH
42261 test -z "$as_dir" && as_dir
=.
42262 for ac_exec_ext
in '' $ac_executable_extensions; do
42263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42264 ac_cv_prog_SETFILE
="SetFile"
42265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42271 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
42274 SETFILE
=$ac_cv_prog_SETFILE
42275 if test -n "$SETFILE"; then
42276 echo "$as_me:$LINENO: result: $SETFILE" >&5
42277 echo "${ECHO_T}$SETFILE" >&6
42279 echo "$as_me:$LINENO: result: no" >&5
42280 echo "${ECHO_T}no" >&6
42290 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.8"
42293 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.8"
42297 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42298 if test "${enable_precomp_headers+set}" = set; then
42299 enableval
="$enable_precomp_headers"
42300 bk_use_pch
="$enableval"
42305 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42306 if test "x$GCC" = "xyes"; then
42307 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42308 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42309 cat >conftest.
$ac_ext <<_ACEOF
42312 cat confdefs.h
>>conftest.
$ac_ext
42313 cat >>conftest.
$ac_ext <<_ACEOF
42314 /* end confdefs.h. */
42320 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42321 #error "no pch support"
42324 #error "no pch support"
42326 #if (__GNUC__ == 3) && \
42327 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42328 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42329 #error "no pch support"
42336 rm -f conftest.
$ac_objext
42337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42338 (eval $ac_compile) 2>conftest.er1
42340 grep -v '^ *+' conftest.er1
>conftest.err
42342 cat conftest.err
>&5
42343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42344 (exit $ac_status); } &&
42345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42347 (eval $ac_try) 2>&5
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); }; } &&
42351 { ac_try
='test -s conftest.$ac_objext'
42352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42353 (eval $ac_try) 2>&5
42355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42356 (exit $ac_status); }; }; then
42358 echo "$as_me:$LINENO: result: yes" >&5
42359 echo "${ECHO_T}yes" >&6
42363 echo "$as_me: failed program was:" >&5
42364 sed 's/^/| /' conftest.
$ac_ext >&5
42367 echo "$as_me:$LINENO: result: no" >&5
42368 echo "${ECHO_T}no" >&6
42371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42372 if test $GCC_PCH = 1 ; then
42375 cat <<EOF >bk-make-pch
42378 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42379 # script. It is used to generated precompiled headers.
42381 # Permission is given to use this file in any way.
42390 while test ${D}{#} -gt 0; do
42393 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42394 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42395 headerfile="${D}{incdir}/${D}{header}"
42399 compiler="${D}{compiler} ${D}{1}"
42403 if test "x${D}{headerfile}" = "x" ; then
42404 echo "error: can't find header ${D}{header} in include paths" >2
42406 if test -f ${D}{outfile} ; then
42407 rm -f ${D}{outfile}
42409 mkdir -p \`dirname ${D}{outfile}\`
42411 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42413 # can do this because gcc is >= 3.4:
42414 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42419 chmod +x bk
-make-pch
42426 COND_BUILD_DEBUG
="#"
42427 if test "x$BUILD" = "xdebug" ; then
42428 COND_BUILD_DEBUG
=""
42431 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
42432 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42433 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
42436 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
42437 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42438 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
42441 COND_BUILD_DEBUG_UNICODE_0
="#"
42442 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42443 COND_BUILD_DEBUG_UNICODE_0
=""
42446 COND_BUILD_DEBUG_UNICODE_1
="#"
42447 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42448 COND_BUILD_DEBUG_UNICODE_1
=""
42451 COND_BUILD_RELEASE
="#"
42452 if test "x$BUILD" = "xrelease" ; then
42453 COND_BUILD_RELEASE
=""
42456 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
42457 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42458 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
42461 COND_BUILD_RELEASE_UNICODE_0
="#"
42462 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42463 COND_BUILD_RELEASE_UNICODE_0
=""
42466 COND_BUILD_RELEASE_UNICODE_1
="#"
42467 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42468 COND_BUILD_RELEASE_UNICODE_1
=""
42471 COND_DEBUG_FLAG_1
="#"
42472 if test "x$DEBUG_FLAG" = "x1" ; then
42473 COND_DEBUG_FLAG_1
=""
42476 COND_DEBUG_INFO_0
="#"
42477 if test "x$DEBUG_INFO" = "x0" ; then
42478 COND_DEBUG_INFO_0
=""
42481 COND_DEBUG_INFO_1
="#"
42482 if test "x$DEBUG_INFO" = "x1" ; then
42483 COND_DEBUG_INFO_1
=""
42486 COND_DEPS_TRACKING_0
="#"
42487 if test "x$DEPS_TRACKING" = "x0" ; then
42488 COND_DEPS_TRACKING_0
=""
42491 COND_DEPS_TRACKING_1
="#"
42492 if test "x$DEPS_TRACKING" = "x1" ; then
42493 COND_DEPS_TRACKING_1
=""
42497 if test "x$GCC_PCH" = "x1" ; then
42501 COND_MONOLITHIC_0
="#"
42502 if test "x$MONOLITHIC" = "x0" ; then
42503 COND_MONOLITHIC_0
=""
42506 COND_MONOLITHIC_0_SHARED_0
="#"
42507 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42508 COND_MONOLITHIC_0_SHARED_0
=""
42511 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
42512 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42513 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
42516 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
42517 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42518 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
42521 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
42522 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42523 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
42526 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
42527 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42528 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
42531 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
42532 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42533 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
42536 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
42537 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42538 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
42541 COND_MONOLITHIC_0_SHARED_1
="#"
42542 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42543 COND_MONOLITHIC_0_SHARED_1
=""
42546 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
42547 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42548 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
42551 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
42552 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42553 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
42556 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
42557 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42558 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
42561 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
42562 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42563 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
42566 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
42567 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42568 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
42571 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
42572 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42573 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
42576 COND_MONOLITHIC_0_USE_ODBC_1
="#"
42577 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42578 COND_MONOLITHIC_0_USE_ODBC_1
=""
42581 COND_MONOLITHIC_1
="#"
42582 if test "x$MONOLITHIC" = "x1" ; then
42583 COND_MONOLITHIC_1
=""
42586 COND_MONOLITHIC_1_SHARED_0
="#"
42587 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42588 COND_MONOLITHIC_1_SHARED_0
=""
42591 COND_MONOLITHIC_1_SHARED_1
="#"
42592 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42593 COND_MONOLITHIC_1_SHARED_1
=""
42596 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
42597 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42598 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
42601 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
42602 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42603 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
42606 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
42607 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42608 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
42611 COND_PLATFORM_MACOSX_1
="#"
42612 if test "x$PLATFORM_MACOSX" = "x1" ; then
42613 COND_PLATFORM_MACOSX_1
=""
42616 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
42617 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42618 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
42621 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
42622 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42623 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
42626 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
42627 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42628 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
42631 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
42632 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42633 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
42636 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
42637 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42638 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
42641 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42642 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42643 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42646 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
42647 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42648 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
42651 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
42652 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42653 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
42656 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
42657 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42658 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
42661 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
42662 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42663 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
42666 COND_PLATFORM_MACOS_1
="#"
42667 if test "x$PLATFORM_MACOS" = "x1" ; then
42668 COND_PLATFORM_MACOS_1
=""
42671 COND_PLATFORM_MAC_1
="#"
42672 if test "x$PLATFORM_MAC" = "x1" ; then
42673 COND_PLATFORM_MAC_1
=""
42676 COND_PLATFORM_OS2_1
="#"
42677 if test "x$PLATFORM_OS2" = "x1" ; then
42678 COND_PLATFORM_OS2_1
=""
42681 COND_PLATFORM_UNIX_0
="#"
42682 if test "x$PLATFORM_UNIX" = "x0" ; then
42683 COND_PLATFORM_UNIX_0
=""
42686 COND_PLATFORM_UNIX_1
="#"
42687 if test "x$PLATFORM_UNIX" = "x1" ; then
42688 COND_PLATFORM_UNIX_1
=""
42691 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
42692 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42693 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
42696 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
42697 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42698 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
42701 COND_PLATFORM_WIN32_0
="#"
42702 if test "x$PLATFORM_WIN32" = "x0" ; then
42703 COND_PLATFORM_WIN32_0
=""
42706 COND_PLATFORM_WIN32_1
="#"
42707 if test "x$PLATFORM_WIN32" = "x1" ; then
42708 COND_PLATFORM_WIN32_1
=""
42712 if test "x$SHARED" = "x0" ; then
42716 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
42717 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42718 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
42721 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
42722 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
42723 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
42726 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
42727 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
42728 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
42731 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
42732 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42733 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
42736 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42737 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42738 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42741 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42742 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42743 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42746 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42747 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42748 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42751 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
42752 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
42753 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
42756 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
42757 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
42758 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
42761 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
42762 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
42763 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
42766 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
42767 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
42768 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
42772 if test "x$SHARED" = "x1" ; then
42776 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
42777 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42778 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
42782 if test "x$TOOLKIT" = "x" ; then
42786 COND_TOOLKIT_COCOA
="#"
42787 if test "x$TOOLKIT" = "xCOCOA" ; then
42788 COND_TOOLKIT_COCOA
=""
42791 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
42792 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
42793 COND_TOOLKIT_COCOA_USE_GUI_1
=""
42796 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
42797 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42798 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
42801 COND_TOOLKIT_GTK
="#"
42802 if test "x$TOOLKIT" = "xGTK" ; then
42803 COND_TOOLKIT_GTK
=""
42806 COND_TOOLKIT_GTK_USE_GUI_1
="#"
42807 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
42808 COND_TOOLKIT_GTK_USE_GUI_1
=""
42811 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
42812 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42813 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
42816 COND_TOOLKIT_MAC
="#"
42817 if test "x$TOOLKIT" = "xMAC" ; then
42818 COND_TOOLKIT_MAC
=""
42821 COND_TOOLKIT_MAC_USE_GUI_1
="#"
42822 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42823 COND_TOOLKIT_MAC_USE_GUI_1
=""
42826 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42827 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42828 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42831 COND_TOOLKIT_MGL
="#"
42832 if test "x$TOOLKIT" = "xMGL" ; then
42833 COND_TOOLKIT_MGL
=""
42836 COND_TOOLKIT_MGL_USE_GUI_1
="#"
42837 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
42838 COND_TOOLKIT_MGL_USE_GUI_1
=""
42841 COND_TOOLKIT_MOTIF
="#"
42842 if test "x$TOOLKIT" = "xMOTIF" ; then
42843 COND_TOOLKIT_MOTIF
=""
42846 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
42847 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42848 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
42851 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
42852 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42853 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
42856 COND_TOOLKIT_MSW
="#"
42857 if test "x$TOOLKIT" = "xMSW" ; then
42858 COND_TOOLKIT_MSW
=""
42861 COND_TOOLKIT_MSW_USE_GUI_1
="#"
42862 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42863 COND_TOOLKIT_MSW_USE_GUI_1
=""
42866 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
42867 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42868 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
42871 COND_TOOLKIT_PM
="#"
42872 if test "x$TOOLKIT" = "xPM" ; then
42876 COND_TOOLKIT_PM_USE_GUI_1
="#"
42877 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42878 COND_TOOLKIT_PM_USE_GUI_1
=""
42881 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
42882 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42883 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
42886 COND_TOOLKIT_WINCE
="#"
42887 if test "x$TOOLKIT" = "xWINCE" ; then
42888 COND_TOOLKIT_WINCE
=""
42891 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
42892 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42893 COND_TOOLKIT_WINCE_USE_GUI_1
=""
42896 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
42897 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42898 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
42901 COND_TOOLKIT_X11
="#"
42902 if test "x$TOOLKIT" = "xX11" ; then
42903 COND_TOOLKIT_X11
=""
42906 COND_TOOLKIT_X11_USE_GUI_1
="#"
42907 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42908 COND_TOOLKIT_X11_USE_GUI_1
=""
42912 if test "x$UNICODE" = "x1" ; then
42916 COND_USE_EXCEPTIONS_0
="#"
42917 if test "x$USE_EXCEPTIONS" = "x0" ; then
42918 COND_USE_EXCEPTIONS_0
=""
42921 COND_USE_EXCEPTIONS_1
="#"
42922 if test "x$USE_EXCEPTIONS" = "x1" ; then
42923 COND_USE_EXCEPTIONS_1
=""
42927 if test "x$USE_GUI" = "x0" ; then
42932 if test "x$USE_GUI" = "x1" ; then
42936 COND_USE_GUI_1_WXUNIV_0
="#"
42937 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42938 COND_USE_GUI_1_WXUNIV_0
=""
42941 COND_USE_GUI_1_WXUNIV_1
="#"
42942 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
42943 COND_USE_GUI_1_WXUNIV_1
=""
42946 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42947 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42948 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42951 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42952 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42953 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42956 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42957 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42958 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42961 COND_USE_ODBC_1
="#"
42962 if test "x$USE_ODBC" = "x1" ; then
42966 COND_USE_OPENGL_1
="#"
42967 if test "x$USE_OPENGL" = "x1" ; then
42968 COND_USE_OPENGL_1
=""
42971 COND_USE_PLUGINS_0
="#"
42972 if test "x$USE_PLUGINS" = "x0" ; then
42973 COND_USE_PLUGINS_0
=""
42976 COND_USE_RTTI_0
="#"
42977 if test "x$USE_RTTI" = "x0" ; then
42981 COND_USE_RTTI_1
="#"
42982 if test "x$USE_RTTI" = "x1" ; then
42986 COND_USE_SOSYMLINKS_1
="#"
42987 if test "x$USE_SOSYMLINKS" = "x1" ; then
42988 COND_USE_SOSYMLINKS_1
=""
42991 COND_USE_SOVERLINUX_1
="#"
42992 if test "x$USE_SOVERLINUX" = "x1" ; then
42993 COND_USE_SOVERLINUX_1
=""
42996 COND_USE_SOVERSION_0
="#"
42997 if test "x$USE_SOVERSION" = "x0" ; then
42998 COND_USE_SOVERSION_0
=""
43001 COND_USE_SOVERSOLARIS_1
="#"
43002 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43003 COND_USE_SOVERSOLARIS_1
=""
43006 COND_USE_THREADS_0
="#"
43007 if test "x$USE_THREADS" = "x0" ; then
43008 COND_USE_THREADS_0
=""
43011 COND_USE_THREADS_1
="#"
43012 if test "x$USE_THREADS" = "x1" ; then
43013 COND_USE_THREADS_1
=""
43017 if test "x$USE_XRC" = "x1" ; then
43021 COND_WITH_PLUGIN_SDL_1
="#"
43022 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43023 COND_WITH_PLUGIN_SDL_1
=""
43027 if test "x$WXUNIV" = "x0" ; then
43032 if test "x$WXUNIV" = "x1" ; then
43036 COND_WXUSE_EXPAT_BUILTIN
="#"
43037 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43038 COND_WXUSE_EXPAT_BUILTIN
=""
43041 COND_WXUSE_LIBJPEG_BUILTIN
="#"
43042 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43043 COND_WXUSE_LIBJPEG_BUILTIN
=""
43046 COND_WXUSE_LIBPNG_BUILTIN
="#"
43047 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43048 COND_WXUSE_LIBPNG_BUILTIN
=""
43051 COND_WXUSE_LIBTIFF_BUILTIN
="#"
43052 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43053 COND_WXUSE_LIBTIFF_BUILTIN
=""
43056 COND_WXUSE_ODBC_BUILTIN
="#"
43057 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43058 COND_WXUSE_ODBC_BUILTIN
=""
43061 COND_WXUSE_REGEX_BUILTIN
="#"
43062 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43063 COND_WXUSE_REGEX_BUILTIN
=""
43066 COND_WXUSE_ZLIB_BUILTIN
="#"
43067 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43068 COND_WXUSE_ZLIB_BUILTIN
=""
43073 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43074 { { 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
43075 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;}
43076 { (exit 1); exit 1; }; }
43080 if test "$wxUSE_SHARED" = "yes"; then
43082 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
43083 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
43086 *-pc-os2_emx | *-pc-os2-emx )
43087 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43088 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43089 cp -p ${srcdir}/src
/os
2/dllnames.sh .
43090 cp -p ${srcdir}/src
/os
2/dllar.sh .
43095 EXE_LINKER
="$CXX -o"
43099 GCC_PRAGMA_FLAGS
=""
43101 if test $GCC_PCH = 1 ; then
43102 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43103 PCH_FLAGS
="-DWX_PRECOMP"
43106 powerpc
-*-darwin* )
43107 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43110 if test "$wxUSE_STL" = "yes" -o \
43111 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43112 "$wxUSE_NO_RTTI" != "yes"; then
43113 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43114 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43115 cat >conftest.
$ac_ext <<_ACEOF
43118 cat confdefs.h
>>conftest.
$ac_ext
43119 cat >>conftest.
$ac_ext <<_ACEOF
43120 /* end confdefs.h. */
43125 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43126 #error "Not GCC 3.2 or greater"
43133 rm -f conftest.
$ac_objext
43134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43135 (eval $ac_compile) 2>conftest.er1
43137 grep -v '^ *+' conftest.er1
>conftest.err
43139 cat conftest.err
>&5
43140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43141 (exit $ac_status); } &&
43142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43144 (eval $ac_try) 2>&5
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); }; } &&
43148 { ac_try
='test -s conftest.$ac_objext'
43149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43150 (eval $ac_try) 2>&5
43152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43153 (exit $ac_status); }; }; then
43154 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43155 echo "$as_me:$LINENO: result: yes" >&5
43156 echo "${ECHO_T}yes" >&6
43158 echo "$as_me: failed program was:" >&5
43159 sed 's/^/| /' conftest.
$ac_ext >&5
43161 echo "$as_me:$LINENO: result: no" >&5
43162 echo "${ECHO_T}no" >&6
43164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43167 *-pc-os2_emx | *-pc-os2-emx )
43168 if test "$wxUSE_STL" = "yes"; then
43169 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43170 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43171 cat >conftest.
$ac_ext <<_ACEOF
43174 cat confdefs.h
>>conftest.
$ac_ext
43175 cat >>conftest.
$ac_ext <<_ACEOF
43176 /* end confdefs.h. */
43181 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43182 #error "Not GCC 3.2 or greater"
43189 rm -f conftest.
$ac_objext
43190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43191 (eval $ac_compile) 2>conftest.er1
43193 grep -v '^ *+' conftest.er1
>conftest.err
43195 cat conftest.err
>&5
43196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43197 (exit $ac_status); } &&
43198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43200 (eval $ac_try) 2>&5
43202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); }; } &&
43204 { ac_try
='test -s conftest.$ac_objext'
43205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43206 (eval $ac_try) 2>&5
43208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43209 (exit $ac_status); }; }; then
43210 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43211 echo "$as_me:$LINENO: result: yes" >&5
43212 echo "${ECHO_T}yes" >&6
43214 echo "$as_me: failed program was:" >&5
43215 sed 's/^/| /' conftest.
$ac_ext >&5
43217 echo "$as_me:$LINENO: result: no" >&5
43218 echo "${ECHO_T}no" >&6
43220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43225 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43228 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43292 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43293 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43294 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43295 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43296 echo $ECHO_N "(cached) $ECHO_C" >&6
43298 cat >conftest.
make <<\_ACEOF
43300 @
echo 'ac_maketemp="$(MAKE)"'
43302 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43303 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43304 if test -n "$ac_maketemp"; then
43305 eval ac_cv_prog_make_
${ac_make}_set
=yes
43307 eval ac_cv_prog_make_
${ac_make}_set
=no
43309 rm -f conftest.
make
43311 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43312 echo "$as_me:$LINENO: result: yes" >&5
43313 echo "${ECHO_T}yes" >&6
43316 echo "$as_me:$LINENO: result: no" >&5
43317 echo "${ECHO_T}no" >&6
43318 SET_MAKE
="MAKE=${MAKE-make}"
43323 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43326 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43329 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43332 ac_config_files
="$ac_config_files version-script Makefile"
43335 ac_config_commands
="$ac_config_commands wx-config
43341 if test "$wxUSE_GUI" = "yes"; then
43342 SUBDIRS
="samples demos utils contrib"
43343 else SUBDIRS
="samples utils"
43348 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43349 if test "${with_cppunit_prefix+set}" = set; then
43350 withval
="$with_cppunit_prefix"
43351 cppunit_config_prefix
="$withval"
43353 cppunit_config_prefix
=""
43356 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43357 if test "${with_cppunit_exec_prefix+set}" = set; then
43358 withval
="$with_cppunit_exec_prefix"
43359 cppunit_config_exec_prefix
="$withval"
43361 cppunit_config_exec_prefix
=""
43364 if test x
$cppunit_config_exec_prefix != x
; then
43365 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43366 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43367 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
43370 if test x
$cppunit_config_prefix != x
; then
43371 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
43372 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43373 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
43377 # Extract the first word of "cppunit-config", so it can be a program name with args.
43378 set dummy cppunit
-config; ac_word
=$2
43379 echo "$as_me:$LINENO: checking for $ac_word" >&5
43380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43381 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43382 echo $ECHO_N "(cached) $ECHO_C" >&6
43384 case $CPPUNIT_CONFIG in
43386 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43390 for as_dir
in $PATH
43393 test -z "$as_dir" && as_dir
=.
43394 for ac_exec_ext
in '' $ac_executable_extensions; do
43395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43396 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43403 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
43407 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
43409 if test -n "$CPPUNIT_CONFIG"; then
43410 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43411 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43413 echo "$as_me:$LINENO: result: no" >&5
43414 echo "${ECHO_T}no" >&6
43417 cppunit_version_min
=1.8.0
43419 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43420 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43422 if test "$CPPUNIT_CONFIG" = "no" ; then
43425 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
43426 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
43427 cppunit_version
=`$CPPUNIT_CONFIG --version`
43429 cppunit_major_version
=`echo $cppunit_version | \
43430 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43431 cppunit_minor_version
=`echo $cppunit_version | \
43432 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43433 cppunit_micro_version
=`echo $cppunit_version | \
43434 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43436 cppunit_major_min
=`echo $cppunit_version_min | \
43437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43438 cppunit_minor_min
=`echo $cppunit_version_min | \
43439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43440 cppunit_micro_min
=`echo $cppunit_version_min | \
43441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43443 cppunit_version_proper
=`expr \
43444 $cppunit_major_version \> $cppunit_major_min \| \
43445 $cppunit_major_version \= $cppunit_major_min \& \
43446 $cppunit_minor_version \> $cppunit_minor_min \| \
43447 $cppunit_major_version \= $cppunit_major_min \& \
43448 $cppunit_minor_version \= $cppunit_minor_min \& \
43449 $cppunit_micro_version \>= $cppunit_micro_min `
43451 if test "$cppunit_version_proper" = "1" ; then
43452 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43453 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43455 echo "$as_me:$LINENO: result: no" >&5
43456 echo "${ECHO_T}no" >&6
43461 if test "x$no_cppunit" = x
; then
43462 SUBDIRS
="$SUBDIRS tests"
43473 for subdir
in `echo $SUBDIRS`; do
43474 if test -d ${srcdir}/${subdir} ; then
43475 if test "$wxUSE_GUI" = "yes"; then
43476 if test ${subdir} = "samples"; then
43477 makefiles
="samples/Makefile.in $makefiles"
43478 for sample
in `echo $SAMPLES_SUBDIRS`; do
43479 if test -d $srcdir/samples
/$sample; then
43480 makefiles
="samples/$sample/Makefile.in $makefiles"
43483 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43485 else if test ${subdir} = "samples"; then
43486 makefiles
="samples/Makefile.in samples/console/Makefile.in"
43487 elif test ${subdir} = "utils"; then
43489 for util
in HelpGen tex2rtf
; do
43490 if test -d $srcdir/utils
/$util ; then
43491 makefiles
="utils/$util/Makefile.in \
43492 utils/$util/src/Makefile.in \
43496 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43500 for mkin
in $makefiles ; do
43501 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43502 ac_config_files
="$ac_config_files $mk"
43509 cat >confcache
<<\_ACEOF
43510 # This file is a shell script that caches the results of configure
43511 # tests run on this system so they can be shared between configure
43512 # scripts and configure runs, see configure's option --config-cache.
43513 # It is not useful on other systems. If it contains results you don't
43514 # want to keep, you may remove or edit it.
43516 # config.status only pays attention to the cache file if you give it
43517 # the --recheck option to rerun configure.
43519 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43520 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43521 # following values.
43525 # The following way of writing the cache mishandles newlines in values,
43526 # but we know of no workaround that is simple, portable, and efficient.
43527 # So, don't put newlines in cache variables' values.
43528 # Ultrix sh set writes to stderr and can't be redirected directly,
43529 # and sets the high bit in the cache file unless we assign to the vars.
43532 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43534 # `set' does not quote correctly, so add quotes (double-quote
43535 # substitution turns \\\\ into \\, and sed turns \\ into \).
43538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43541 # `set' quotes correctly as required by POSIX, so do not add quotes.
43543 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43550 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43552 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43554 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
43555 if test -w $cache_file; then
43556 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43557 cat confcache
>$cache_file
43559 echo "not updating unwritable cache $cache_file"
43564 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
43565 # Let make expand exec_prefix.
43566 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
43568 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43569 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43570 # trailing colons and then remove the whole line if VPATH becomes empty
43571 # (actually we leave an empty line to preserve line numbers).
43572 if test "x$srcdir" = x.
; then
43573 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
43574 s/:*\$(srcdir):*/:/;
43575 s/:*\${srcdir}:*/:/;
43577 s/^\([^=]*=[ ]*\):*/\1/;
43583 DEFS
=-DHAVE_CONFIG_H
43587 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
43588 # 1. Remove the extension, and $U if already installed.
43589 ac_i
=`echo "$ac_i" |
43590 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43592 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
43593 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
43595 LIBOBJS
=$ac_libobjs
43597 LTLIBOBJS
=$ac_ltlibobjs
43601 : ${CONFIG_STATUS=./config.status}
43602 ac_clean_files_save
=$ac_clean_files
43603 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
43604 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43605 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43606 cat >$CONFIG_STATUS <<_ACEOF
43608 # Generated by $as_me.
43609 # Run this file to recreate the current configuration.
43610 # Compiler output produced by configure, useful for debugging
43611 # configure, is in config.log if it exists.
43614 ac_cs_recheck=false
43616 SHELL=\${CONFIG_SHELL-$SHELL}
43619 cat >>$CONFIG_STATUS <<\_ACEOF
43620 ## --------------------- ##
43621 ## M4sh Initialization. ##
43622 ## --------------------- ##
43624 # Be Bourne compatible
43625 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
43628 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43629 # is contrary to our usage. Disable this feature.
43630 alias -g '${1+"$@"}'='"$@"'
43631 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
43634 DUALCASE
=1; export DUALCASE
# for MKS sh
43636 # Support unset when possible.
43637 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
43644 # Work around bugs in pre-3.0 UWIN ksh.
43645 $as_unset ENV MAIL MAILPATH
43652 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43653 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43654 LC_TELEPHONE LC_TIME
43656 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43657 eval $as_var=C
; export $as_var
43663 # Required to use basename.
43664 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43670 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
43671 as_basename
=basename
43677 # Name of the executable.
43678 as_me
=`$as_basename "$0" ||
43679 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43680 X"$0" : 'X\(//\)$' \| \
43681 X"$0" : 'X\(/\)$' \| \
43682 . : '\(.\)' 2>/dev/null ||
43684 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43685 /^X\/\(\/\/\)$/{ s//\1/; q; }
43686 /^X\/\(\/\).*/{ s//\1/; q; }
43690 # PATH needs CR, and LINENO needs CR and PATH.
43691 # Avoid depending upon Character Ranges.
43692 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
43693 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43694 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
43695 as_cr_digits
='0123456789'
43696 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43698 # The user is always right.
43699 if test "${PATH_SEPARATOR+set}" != set; then
43700 echo "#! /bin/sh" >conf$$.sh
43701 echo "exit 0" >>conf$$.sh
43703 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
43712 as_lineno_1
=$LINENO
43713 as_lineno_2
=$LINENO
43714 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
43715 test "x$as_lineno_1" != "x$as_lineno_2" &&
43716 test "x$as_lineno_3" = "x$as_lineno_2" || {
43717 # Find who we are. Look in the path if we contain no path at all
43720 *[\\/]* ) as_myself
=$0 ;;
43721 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43722 for as_dir
in $PATH
43725 test -z "$as_dir" && as_dir
=.
43726 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
43731 # We did not find ourselves, most probably we were run as `sh COMMAND'
43732 # in which case we are not to be found in the path.
43733 if test "x$as_myself" = x
; then
43736 if test ! -f "$as_myself"; then
43737 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43738 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43739 { (exit 1); exit 1; }; }
43741 case $CONFIG_SHELL in
43743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43744 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
43747 test -z "$as_dir" && as_dir
=.
43748 for as_base
in sh bash ksh sh5
; do
43751 if ("$as_dir/$as_base" -c '
43752 as_lineno_1=$LINENO
43753 as_lineno_2=$LINENO
43754 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43755 test "x$as_lineno_1" != "x$as_lineno_2" &&
43756 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
43757 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
43758 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
43759 CONFIG_SHELL
=$as_dir/$as_base
43760 export CONFIG_SHELL
43761 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
43769 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43770 # uniformly replaced by the line number. The first 'sed' inserts a
43771 # line-number line before each line; the second 'sed' does the real
43772 # work. The second script uses 'N' to pair each line-number line
43773 # with the numbered line, and appends trailing '-' during
43774 # substitution so that $LINENO is not a special case at line end.
43775 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43776 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
43777 sed '=' <$as_myself |
43782 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
43785 s,^['$as_cr_digits']*\n,,
43786 ' >$as_me.lineno
&&
43787 chmod +x
$as_me.lineno
||
43788 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
43789 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
43790 { (exit 1); exit 1; }; }
43792 # Don't try to exec as it changes $[0], causing all sort of problems
43793 # (the dirname of $[0] is not the place where we might find the
43794 # original and so on. Autoconf is especially sensible to this).
43796 # Exit status is that of the last command.
43801 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
43802 *c
*,-n*) ECHO_N
= ECHO_C
='
43804 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
43805 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
43808 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43814 rm -f conf$$ conf$$.exe conf$$.
file
43816 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
43817 # We could just check for DJGPP; but this test a) works b) is more generic
43818 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
43819 if test -f conf$$.exe
; then
43820 # Don't use ln at all; we don't have any links
43825 elif ln conf$$.
file conf$$
2>/dev
/null
; then
43830 rm -f conf$$ conf$$.exe conf$$.
file
43832 if mkdir -p .
2>/dev
/null
; then
43835 test -d .
/-p && rmdir .
/-p
43839 as_executable_p
="test -f"
43841 # Sed expression to map a string onto a valid CPP name.
43842 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43844 # Sed expression to map a string onto a valid variable name.
43845 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43849 # We need space, tab and new line, in precisely that order.
43859 # Open the log real soon, to keep \$[0] and so on meaningful, and to
43860 # report actual input values of CONFIG_FILES etc. instead of their
43861 # values after options handling. Logging --version etc. is OK.
43865 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43866 ## Running $as_me. ##
43871 This file was extended by wxWidgets $as_me 2.5.4, which was
43872 generated by GNU Autoconf 2.59. Invocation command line was
43874 CONFIG_FILES = $CONFIG_FILES
43875 CONFIG_HEADERS = $CONFIG_HEADERS
43876 CONFIG_LINKS = $CONFIG_LINKS
43877 CONFIG_COMMANDS = $CONFIG_COMMANDS
43881 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43885 # Files that config.status was made for.
43886 if test -n "$ac_config_files"; then
43887 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43890 if test -n "$ac_config_headers"; then
43891 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43894 if test -n "$ac_config_links"; then
43895 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43898 if test -n "$ac_config_commands"; then
43899 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43902 cat >>$CONFIG_STATUS <<\_ACEOF
43905 \`$as_me' instantiates files from templates according to the
43906 current configuration.
43908 Usage: $0 [OPTIONS] [FILE]...
43910 -h, --help print this help, then exit
43911 -V, --version print version number, then exit
43912 -q, --quiet do not print progress messages
43913 -d, --debug don't remove temporary files
43914 --recheck update $as_me by reconfiguring in the same conditions
43915 --file=FILE[:TEMPLATE]
43916 instantiate the configuration file FILE
43917 --header=FILE[:TEMPLATE]
43918 instantiate the configuration header FILE
43920 Configuration files:
43923 Configuration headers:
43926 Configuration commands:
43929 Report bugs to <bug-autoconf@gnu.org>."
43932 cat >>$CONFIG_STATUS <<_ACEOF
43934 wxWidgets config.status 2.5.4
43935 configured by $0, generated by GNU Autoconf 2.59,
43936 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43938 Copyright (C) 2003 Free Software Foundation, Inc.
43939 This config.status script is free software; the Free Software Foundation
43940 gives unlimited permission to copy, distribute and modify it."
43945 cat >>$CONFIG_STATUS <<\_ACEOF
43946 # If no file are specified by the user, then we need to provide default
43947 # value. By we need to know if files were specified by the user.
43953 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
43954 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
43962 *) # This is not an option, so the user has probably given explicit
43965 ac_need_defaults
=false
;;
43969 # Handling of the options.
43971 cat >>$CONFIG_STATUS <<\_ACEOF
43972 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43974 --version | --vers* | -V )
43975 echo "$ac_cs_version"; exit 0 ;;
43977 # Conflict between --help and --header
43978 { { echo "$as_me:$LINENO: error: ambiguous option: $1
43979 Try \`$0 --help' for more information." >&5
43980 echo "$as_me: error: ambiguous option: $1
43981 Try \`$0 --help' for more information." >&2;}
43982 { (exit 1); exit 1; }; };;
43983 --help | --hel | -h )
43984 echo "$ac_cs_usage"; exit 0 ;;
43985 --debug | --d* | -d )
43987 --file | --fil | --fi | --f )
43989 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
43990 ac_need_defaults
=false
;;
43991 --header | --heade | --head | --hea )
43993 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
43994 ac_need_defaults
=false
;;
43995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43996 | -silent | --silent | --silen | --sile | --sil | --si | --s)
43999 # This is an error.
44000 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44001 Try \`$0 --help' for more information." >&5
44002 echo "$as_me: error: unrecognized option: $1
44003 Try \`$0 --help' for more information." >&2;}
44004 { (exit 1); exit 1; }; } ;;
44006 *) ac_config_targets
="$ac_config_targets $1" ;;
44012 ac_configure_extra_args
=
44014 if $ac_cs_silent; then
44016 ac_configure_extra_args
="$ac_configure_extra_args --silent"
44020 cat >>$CONFIG_STATUS <<_ACEOF
44021 if \$ac_cs_recheck; then
44022 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44023 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44028 cat >>$CONFIG_STATUS <<_ACEOF
44030 # INIT-COMMANDS section.
44033 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44034 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44035 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44043 cat >>$CONFIG_STATUS <<\_ACEOF
44044 for ac_config_target
in $ac_config_targets
44046 case "$ac_config_target" in
44047 # Handling of arguments.
44048 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44049 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44050 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
44051 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
44052 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
44053 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
44054 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44055 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44056 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44057 { (exit 1); exit 1; }; };;
44061 # If the user did not use the arguments to specify the items to instantiate,
44062 # then the envvar interface is used. Set only those that are not.
44063 # We use the long form for the default assignment because of an extremely
44064 # bizarre bug on SunOS 4.1.3.
44065 if $ac_need_defaults; then
44066 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
44067 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
44068 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
44071 # Have a temporary directory for convenience. Make it in the build tree
44072 # simply because there is no reason to put it here, and in addition,
44073 # creating and moving files from /tmp can sometimes cause problems.
44074 # Create a temporary directory, and hook for its removal unless debugging.
44077 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44078 trap '{ (exit 1); exit 1; }' 1 2 13 15
44081 # Create a (secure) tmp directory for tmp files.
44084 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44085 test -n "$tmp" && test -d "$tmp"
44088 tmp
=.
/confstat$$
-$RANDOM
44089 (umask 077 && mkdir $tmp)
44092 echo "$me: cannot create a temporary directory in ." >&2
44093 { (exit 1); exit 1; }
44098 cat >>$CONFIG_STATUS <<_ACEOF
44101 # CONFIG_FILES section.
44104 # No need to generate the scripts if there are no CONFIG_FILES.
44105 # This happens for instance when ./config.status config.h
44106 if test -n "\$CONFIG_FILES"; then
44107 # Protect against being on the right side of a sed subst in config.status.
44108 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44109 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44110 s,@SHELL@,$SHELL,;t t
44111 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44112 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44113 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44114 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44115 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44116 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44117 s,@exec_prefix@,$exec_prefix,;t t
44118 s,@prefix@,$prefix,;t t
44119 s,@program_transform_name@,$program_transform_name,;t t
44120 s,@bindir@,$bindir,;t t
44121 s,@sbindir@,$sbindir,;t t
44122 s,@libexecdir@,$libexecdir,;t t
44123 s,@datadir@,$datadir,;t t
44124 s,@sysconfdir@,$sysconfdir,;t t
44125 s,@sharedstatedir@,$sharedstatedir,;t t
44126 s,@localstatedir@,$localstatedir,;t t
44127 s,@libdir@,$libdir,;t t
44128 s,@includedir@,$includedir,;t t
44129 s,@oldincludedir@,$oldincludedir,;t t
44130 s,@infodir@,$infodir,;t t
44131 s,@mandir@,$mandir,;t t
44132 s,@build_alias@,$build_alias,;t t
44133 s,@host_alias@,$host_alias,;t t
44134 s,@target_alias@,$target_alias,;t t
44135 s,@DEFS@,$DEFS,;t t
44136 s,@ECHO_C@,$ECHO_C,;t t
44137 s,@ECHO_N@,$ECHO_N,;t t
44138 s,@ECHO_T@,$ECHO_T,;t t
44139 s,@LIBS@,$LIBS,;t t
44140 s,@build@,$build,;t t
44141 s,@build_cpu@,$build_cpu,;t t
44142 s,@build_vendor@,$build_vendor,;t t
44143 s,@build_os@,$build_os,;t t
44144 s,@host@,$host,;t t
44145 s,@host_cpu@,$host_cpu,;t t
44146 s,@host_vendor@,$host_vendor,;t t
44147 s,@host_os@,$host_os,;t t
44148 s,@target@,$target,;t t
44149 s,@target_cpu@,$target_cpu,;t t
44150 s,@target_vendor@,$target_vendor,;t t
44151 s,@target_os@,$target_os,;t t
44153 s,@CFLAGS@,$CFLAGS,;t t
44154 s,@LDFLAGS@,$LDFLAGS,;t t
44155 s,@CPPFLAGS@,$CPPFLAGS,;t t
44156 s,@ac_ct_CC@,$ac_ct_CC,;t t
44157 s,@EXEEXT@,$EXEEXT,;t t
44158 s,@OBJEXT@,$OBJEXT,;t t
44160 s,@EGREP@,$EGREP,;t t
44162 s,@CXXFLAGS@,$CXXFLAGS,;t t
44163 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44164 s,@RANLIB@,$RANLIB,;t t
44165 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44167 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44168 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44169 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44170 s,@STRIP@,$STRIP,;t t
44171 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44172 s,@LN_S@,$LN_S,;t t
44173 s,@CXXCPP@,$CXXCPP,;t t
44174 s,@subdirs@,$subdirs,;t t
44175 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44176 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44177 s,@GTK_LIBS@,$GTK_LIBS,;t t
44178 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44179 s,@X_CFLAGS@,$X_CFLAGS,;t t
44180 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44181 s,@X_LIBS@,$X_LIBS,;t t
44182 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44183 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44184 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44185 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44186 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44187 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44188 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44189 s,@RESCOMP@,$RESCOMP,;t t
44190 s,@DEREZ@,$DEREZ,;t t
44191 s,@SETFILE@,$SETFILE,;t t
44192 s,@LIBICONV@,$LIBICONV,;t t
44193 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44194 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44195 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44196 s,@SDL_LIBS@,$SDL_LIBS,;t t
44197 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44198 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44199 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44200 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44201 s,@GST_INSPECT@,$GST_INSPECT,;t t
44202 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44203 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44204 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44205 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44206 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44207 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44208 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44209 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44210 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44211 s,@VENDOR@,$VENDOR,;t t
44212 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44213 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44214 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44215 s,@WXUNIV@,$WXUNIV,;t t
44216 s,@MONOLITHIC@,$MONOLITHIC,;t t
44217 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44218 s,@EXTRALIBS@,$EXTRALIBS,;t t
44219 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44220 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44221 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44222 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44223 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44224 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44225 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44226 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44227 s,@UNICODE@,$UNICODE,;t t
44228 s,@BUILD@,$BUILD,;t t
44229 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44230 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44231 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44232 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44233 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44234 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44235 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44236 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44237 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44238 s,@SET_MAKE@,$SET_MAKE,;t t
44239 s,@MAKE_SET@,$MAKE_SET,;t t
44240 s,@ac_ct_AR@,$ac_ct_AR,;t t
44241 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44243 s,@ac_ct_NM@,$ac_ct_NM,;t t
44244 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44245 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44246 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44247 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44248 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44249 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44250 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44251 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44252 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44253 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44254 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44255 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44256 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44257 s,@LIBPREFIX@,$LIBPREFIX,;t t
44258 s,@LIBEXT@,$LIBEXT,;t t
44259 s,@DLLPREFIX@,$DLLPREFIX,;t t
44260 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44261 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44262 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44263 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44264 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44265 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44266 s,@PIC_FLAG@,$PIC_FLAG,;t t
44267 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44268 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44269 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44270 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44271 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44272 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44273 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44274 s,@GCC_PCH@,$GCC_PCH,;t t
44275 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44276 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44277 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44278 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44279 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44280 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44281 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44282 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44283 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44284 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44285 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44286 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44287 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44288 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44289 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44290 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44291 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44292 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44293 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
44294 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
44295 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
44296 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44297 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44298 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44299 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44300 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
44301 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
44302 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
44303 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44304 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44305 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44306 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44307 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44308 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44309 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44310 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44311 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44312 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44313 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44314 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44315 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44316 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44317 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44318 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
44319 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44320 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44321 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44322 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44323 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44324 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44325 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44326 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44327 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44328 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44329 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44330 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44331 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44332 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44333 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44334 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44335 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44336 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44337 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44338 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44339 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44340 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44341 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44342 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44343 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44344 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44345 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44346 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44347 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44348 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44349 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44350 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44351 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44352 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44353 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44354 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44355 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44356 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44357 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44358 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44359 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44360 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44361 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44362 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44363 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44364 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44365 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44366 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44367 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44368 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44369 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44370 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44371 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44372 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44373 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44374 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44375 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44376 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44377 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44378 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44379 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44380 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44381 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44382 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44383 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44384 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44385 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44386 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44387 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44388 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44389 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44390 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44391 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44392 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44393 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44394 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44395 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44396 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44397 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44398 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44399 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44400 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44401 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44402 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44403 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44404 s,@SHARED@,$SHARED,;t t
44405 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44406 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44407 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44408 s,@USE_GUI@,$USE_GUI,;t t
44409 s,@AFMINSTALL@,$AFMINSTALL,;t t
44410 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44411 s,@TOOLKIT@,$TOOLKIT,;t t
44412 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44413 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44414 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44415 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44416 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44417 s,@cross_compiling@,$cross_compiling,;t t
44418 s,@WIDGET_SET@,$WIDGET_SET,;t t
44419 s,@WX_RELEASE@,$WX_RELEASE,;t t
44420 s,@WX_VERSION@,$WX_VERSION,;t t
44421 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44422 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44423 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44424 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44425 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44426 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44427 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44428 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44429 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44430 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44431 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44432 s,@EXE_LINKER@,$EXE_LINKER,;t t
44433 s,@GUIDIST@,$GUIDIST,;t t
44434 s,@DISTDIR@,$DISTDIR,;t t
44435 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44436 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44437 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44438 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44439 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44440 s,@RESFLAGS@,$RESFLAGS,;t t
44441 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44442 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44443 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44444 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44445 s,@MACRESCOMP@,$MACRESCOMP,;t t
44446 s,@MACSETFILE@,$MACSETFILE,;t t
44447 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44449 s,@DLLTOOL@,$DLLTOOL,;t t
44450 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44451 s,@LIBOBJS@,$LIBOBJS,;t t
44452 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44457 cat >>$CONFIG_STATUS <<\_ACEOF
44458 # Split the substitutions into bite-sized pieces for seds with
44459 # small command number limits, like on Digital OSF/1 and HP-UX.
44460 ac_max_sed_lines
=48
44461 ac_sed_frag
=1 # Number of current file.
44462 ac_beg
=1 # First line for current file.
44463 ac_end
=$ac_max_sed_lines # Line after last line for current file.
44466 while $ac_more_lines; do
44467 if test $ac_beg -gt 1; then
44468 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44470 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44472 if test ! -s $tmp/subs.frag
; then
44473 ac_more_lines
=false
44475 # The purpose of the label and of the branching condition is to
44476 # speed up the sed processing (if there are no `@' at all, there
44477 # is no need to browse any of the substitutions).
44478 # These are the two extra sed commands mentioned above.
44480 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
44481 if test -z "$ac_sed_cmds"; then
44482 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
44484 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44486 ac_sed_frag
=`expr $ac_sed_frag + 1`
44488 ac_end
=`expr $ac_end + $ac_max_sed_lines`
44491 if test -z "$ac_sed_cmds"; then
44494 fi # test -n "$CONFIG_FILES"
44497 cat >>$CONFIG_STATUS <<\_ACEOF
44498 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
44499 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44501 - | *:- | *:-:* ) # input from stdin
44503 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44504 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44505 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44506 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44507 * ) ac_file_in
=$ac_file.
in ;;
44510 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44511 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44512 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44513 X"$ac_file" : 'X\(//\)[^/]' \| \
44514 X"$ac_file" : 'X\(//\)$' \| \
44515 X"$ac_file" : 'X\(/\)' \| \
44516 . : '\(.\)' 2>/dev/null ||
44518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44519 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44520 /^X\(\/\/\)$/{ s//\1/; q; }
44521 /^X\(\/\).*/{ s//\1/; q; }
44523 { if $as_mkdir_p; then
44528 while test ! -d "$as_dir"; do
44529 as_dirs
="$as_dir $as_dirs"
44530 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44531 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44532 X"$as_dir" : 'X\(//\)[^/]' \| \
44533 X"$as_dir" : 'X\(//\)$' \| \
44534 X"$as_dir" : 'X\(/\)' \| \
44535 . : '\(.\)' 2>/dev/null ||
44537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44538 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44539 /^X\(\/\/\)$/{ s//\1/; q; }
44540 /^X\(\/\).*/{ s//\1/; q; }
44543 test ! -n "$as_dirs" || mkdir $as_dirs
44544 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44545 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44546 { (exit 1); exit 1; }; }; }
44550 if test "$ac_dir" != .
; then
44551 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44552 # A "../" for each directory in $ac_dir_suffix.
44553 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44555 ac_dir_suffix
= ac_top_builddir
=
44559 .
) # No --srcdir option. We are building in place.
44561 if test -z "$ac_top_builddir"; then
44564 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44566 [\\/]* | ?
:[\\/]* ) # Absolute path.
44567 ac_srcdir
=$srcdir$ac_dir_suffix;
44568 ac_top_srcdir
=$srcdir ;;
44569 *) # Relative path.
44570 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44571 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44574 # Do not use `cd foo && pwd` to compute absolute paths, because
44575 # the directories may not exist.
44577 .
) ac_abs_builddir
="$ac_dir";;
44580 .
) ac_abs_builddir
=`pwd`;;
44581 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44582 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44585 case $ac_abs_builddir in
44586 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44588 case ${ac_top_builddir}.
in
44589 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44590 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44591 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44594 case $ac_abs_builddir in
44595 .
) ac_abs_srcdir
=$ac_srcdir;;
44598 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44599 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44600 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44603 case $ac_abs_builddir in
44604 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44606 case $ac_top_srcdir in
44607 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44608 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44609 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44615 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
44616 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
44619 # Let's still pretend it is `configure' which instantiates (i.e., don't
44620 # use $as_me), people would be surprised to read:
44621 # /* config.h. Generated by config.status. */
44622 if test x
"$ac_file" = x
-; then
44625 configure_input
="$ac_file. "
44627 configure_input
=$configure_input"Generated from `echo $ac_file_in |
44628 sed 's,.*/,,'` by configure."
44630 # First look for the input files in the build tree, otherwise in the
44632 ac_file_inputs
=`IFS=:
44633 for f in $ac_file_in; do
44635 -) echo $tmp/stdin ;;
44637 # Absolute (can't be DOS-style, as IFS=:)
44638 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44639 echo "$as_me: error: cannot find input file: $f" >&2;}
44640 { (exit 1); exit 1; }; }
44643 if test -f "$f"; then
44646 elif test -f "$srcdir/$f"; then
44651 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44652 echo "$as_me: error: cannot find input file: $f" >&2;}
44653 { (exit 1); exit 1; }; }
44656 done` || { (exit 1); exit 1; }
44658 if test x
"$ac_file" != x
-; then
44659 { echo "$as_me:$LINENO: creating $ac_file" >&5
44660 echo "$as_me: creating $ac_file" >&6;}
44664 cat >>$CONFIG_STATUS <<_ACEOF
44668 cat >>$CONFIG_STATUS <<\_ACEOF
44670 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
44671 s
,@configure_input@
,$configure_input,;t t
44672 s
,@srcdir@
,$ac_srcdir,;t t
44673 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
44674 s
,@top_srcdir@
,$ac_top_srcdir,;t t
44675 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
44676 s
,@builddir@
,$ac_builddir,;t t
44677 s
,@abs_builddir@
,$ac_abs_builddir,;t t
44678 s
,@top_builddir@
,$ac_top_builddir,;t t
44679 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
44680 s
,@INSTALL@
,$ac_INSTALL,;t t
44681 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44683 if test x"$ac_file" != x-; then
44684 mv $tmp/out $ac_file
44690 # Run the commands associated with the file.
44692 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44693 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44697 cat >>$CONFIG_STATUS <<\_ACEOF
44700 # CONFIG_HEADER section.
44703 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
44704 # NAME is the cpp macro being defined and VALUE is the value it is being given.
44706 # ac_d sets the value in "#define NAME VALUE" lines.
44707 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44708 ac_dB
='[ ].*$,\1#\2'
44711 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44712 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44713 ac_uB
='$,\1#\2define\3'
44717 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
44718 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44720 - | *:- | *:-:* ) # input from stdin
44722 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44723 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44724 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44725 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44726 * ) ac_file_in
=$ac_file.
in ;;
44729 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44730 echo "$as_me: creating $ac_file" >&6;}
44732 # First look for the input files in the build tree, otherwise in the
44734 ac_file_inputs
=`IFS=:
44735 for f in $ac_file_in; do
44737 -) echo $tmp/stdin ;;
44739 # Absolute (can't be DOS-style, as IFS=:)
44740 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44741 echo "$as_me: error: cannot find input file: $f" >&2;}
44742 { (exit 1); exit 1; }; }
44743 # Do quote $f, to prevent DOS paths from being IFS'd.
44746 if test -f "$f"; then
44749 elif test -f "$srcdir/$f"; then
44754 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44755 echo "$as_me: error: cannot find input file: $f" >&2;}
44756 { (exit 1); exit 1; }; }
44759 done` || { (exit 1); exit 1; }
44760 # Remove the trailing spaces.
44761 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
44765 # Transform confdefs.h into two sed scripts, `conftest.defines' and
44766 # `conftest.undefs', that substitutes the proper values into
44767 # config.h.in to produce config.h. The first handles `#define'
44768 # templates, and the second `#undef' templates.
44769 # And first: Protect against being on the right side of a sed subst in
44770 # config.status. Protect against being in an unquoted here document
44771 # in config.status.
44772 rm -f conftest.defines conftest.undefs
44773 # Using a here document instead of a string reduces the quoting nightmare.
44774 # Putting comments in sed scripts is not portable.
44776 # `end' is used to avoid that the second main sed command (meant for
44777 # 0-ary CPP macros) applies to n-ary macro definitions.
44778 # See the Autoconf documentation for `clear'.
44779 cat >confdef2sed.
sed <<\_ACEOF
44784 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
44786 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
44789 # If some macros were called several times there might be several times
44790 # the same #defines, which is useless. Nevertheless, we may not want to
44791 # sort them, since we want the *last* AC-DEFINE to be honored.
44792 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
44793 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
44794 rm -f confdef2sed.sed
44796 # This sed command replaces #undef with comments. This is necessary, for
44797 # example, in the case of _POSIX_SOURCE, which is predefined and required
44798 # on some systems where configure will not decide to define it.
44799 cat >>conftest.undefs <<\_ACEOF
44800 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44803 # Break up conftest.defines because some shells have a limit on the size
44804 # of here documents, and old seds have small limits too (100 cmds).
44805 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
44806 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
44807 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
44808 echo ' :' >>$CONFIG_STATUS
44809 rm -f conftest.tail
44810 while grep . conftest.defines >/dev/null
44812 # Write a limited-size here document to $tmp/defines.sed.
44813 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
44814 # Speed up: don't consider the non `#define' lines.
44815 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
44816 # Work around the forget-to-reset-the-flag bug.
44817 echo 't clr' >>$CONFIG_STATUS
44818 echo ': clr' >>$CONFIG_STATUS
44819 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
44821 sed -f $tmp/defines.sed $tmp/in >$tmp/out
44823 mv $tmp/out $tmp/in
44825 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
44826 rm -f conftest.defines
44827 mv conftest.
tail conftest.defines
44829 rm -f conftest.defines
44830 echo ' fi # grep' >>$CONFIG_STATUS
44831 echo >>$CONFIG_STATUS
44833 # Break up conftest.undefs because some shells have a limit on the size
44834 # of here documents, and old seds have small limits too (100 cmds).
44835 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
44836 rm -f conftest.
tail
44837 while grep . conftest.undefs
>/dev
/null
44839 # Write a limited-size here document to $tmp/undefs.sed.
44840 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
44841 # Speed up: don't consider the non
`#undef'
44842 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
44843 # Work around the forget-to-reset-the-flag bug.
44844 echo 't clr' >>$CONFIG_STATUS
44845 echo ': clr' >>$CONFIG_STATUS
44846 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
44848 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
44850 mv $tmp/out $tmp/in
44852 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
44853 rm -f conftest.undefs
44854 mv conftest.tail conftest.undefs
44856 rm -f conftest.undefs
44858 cat >>$CONFIG_STATUS <<\_ACEOF
44859 # Let's still pretend it is `configure
' which instantiates (i.e., don't
44860 # use $as_me), people would be surprised to read:
44861 # /* config.h. Generated by config.status. */
44862 if test x
"$ac_file" = x
-; then
44863 echo "/* Generated by configure. */" >$tmp/config.h
44865 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
44867 cat $tmp/in >>$tmp/config.h
44869 if test x
"$ac_file" != x
-; then
44870 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
44871 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44872 echo "$as_me: $ac_file is unchanged" >&6;}
44874 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44875 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44876 X"$ac_file" : 'X\(//\)[^/]' \| \
44877 X"$ac_file" : 'X\(//\)$' \| \
44878 X"$ac_file" : 'X\(/\)' \| \
44879 . : '\(.\)' 2>/dev/null ||
44881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44882 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44883 /^X\(\/\/\)$/{ s//\1/; q; }
44884 /^X\(\/\).*/{ s//\1/; q; }
44886 { if $as_mkdir_p; then
44891 while test ! -d "$as_dir"; do
44892 as_dirs
="$as_dir $as_dirs"
44893 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44895 X"$as_dir" : 'X\(//\)[^/]' \| \
44896 X"$as_dir" : 'X\(//\)$' \| \
44897 X"$as_dir" : 'X\(/\)' \| \
44898 . : '\(.\)' 2>/dev/null ||
44900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44901 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44902 /^X\(\/\/\)$/{ s//\1/; q; }
44903 /^X\(\/\).*/{ s//\1/; q; }
44906 test ! -n "$as_dirs" || mkdir $as_dirs
44907 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44908 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44909 { (exit 1); exit 1; }; }; }
44912 mv $tmp/config.h
$ac_file
44916 rm -f $tmp/config.h
44920 cat >>$CONFIG_STATUS <<\_ACEOF
44923 # CONFIG_COMMANDS section.
44925 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
44926 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
44927 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44928 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
44929 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44930 X"$ac_dest" : 'X\(//\)[^/]' \| \
44931 X"$ac_dest" : 'X\(//\)$' \| \
44932 X"$ac_dest" : 'X\(/\)' \| \
44933 . : '\(.\)' 2>/dev/null ||
44935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44936 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44937 /^X\(\/\/\)$/{ s//\1/; q; }
44938 /^X\(\/\).*/{ s//\1/; q; }
44940 { if $as_mkdir_p; then
44945 while test ! -d "$as_dir"; do
44946 as_dirs
="$as_dir $as_dirs"
44947 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44948 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44949 X"$as_dir" : 'X\(//\)[^/]' \| \
44950 X"$as_dir" : 'X\(//\)$' \| \
44951 X"$as_dir" : 'X\(/\)' \| \
44952 . : '\(.\)' 2>/dev/null ||
44954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44955 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44956 /^X\(\/\/\)$/{ s//\1/; q; }
44957 /^X\(\/\).*/{ s//\1/; q; }
44960 test ! -n "$as_dirs" || mkdir $as_dirs
44961 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44962 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44963 { (exit 1); exit 1; }; }; }
44967 if test "$ac_dir" != .
; then
44968 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44969 # A "../" for each directory in $ac_dir_suffix.
44970 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44972 ac_dir_suffix
= ac_top_builddir
=
44976 .
) # No --srcdir option. We are building in place.
44978 if test -z "$ac_top_builddir"; then
44981 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44983 [\\/]* | ?
:[\\/]* ) # Absolute path.
44984 ac_srcdir
=$srcdir$ac_dir_suffix;
44985 ac_top_srcdir
=$srcdir ;;
44986 *) # Relative path.
44987 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44988 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44991 # Do not use `cd foo && pwd` to compute absolute paths, because
44992 # the directories may not exist.
44994 .
) ac_abs_builddir
="$ac_dir";;
44997 .
) ac_abs_builddir
=`pwd`;;
44998 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44999 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45002 case $ac_abs_builddir in
45003 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45005 case ${ac_top_builddir}.
in
45006 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45007 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45008 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45011 case $ac_abs_builddir in
45012 .
) ac_abs_srcdir
=$ac_srcdir;;
45015 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45016 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45017 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45020 case $ac_abs_builddir in
45021 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45023 case $ac_top_srcdir in
45024 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45025 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45026 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45031 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45032 echo "$as_me: executing $ac_dest commands" >&6;}
45034 wx
-config ) rm -f wx
-config
45035 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
45041 cat >>$CONFIG_STATUS <<\_ACEOF
45043 { (exit 0); exit 0; }
45045 chmod +x
$CONFIG_STATUS
45046 ac_clean_files
=$ac_clean_files_save
45049 # configure is writing to config.log, and then calls config.status.
45050 # config.status does its own redirection, appending to config.log.
45051 # Unfortunately, on DOS this fails, as config.log is still kept open
45052 # by configure, so config.status won't be able to write to it; its
45053 # output is simply discarded. So we exec the FD to /dev/null,
45054 # effectively closing config.log, so it can be properly (re)opened and
45055 # appended to by config.status. When coming back to configure, we
45056 # need to make the FD available again.
45057 if test "$no_create" != yes; then
45059 ac_config_status_args
=
45060 test "$silent" = yes &&
45061 ac_config_status_args
="$ac_config_status_args --quiet"
45063 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
45065 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45066 # would make configure fail if this is the last instruction.
45067 $ac_cs_success || { (exit 1); exit 1; }
45071 # CONFIG_SUBDIRS section.
45073 if test "$no_recursion" != yes; then
45075 # Remove --cache-file and --srcdir arguments so they do not pile up.
45076 ac_sub_configure_args
=
45078 for ac_arg
in $ac_configure_args; do
45079 if test -n "$ac_prev"; then
45084 -cache-file | --cache-file | --cache-fil | --cache-fi \
45085 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45086 ac_prev
=cache_file
;;
45087 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45088 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45091 --config-cache | -C)
45093 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45095 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45097 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45099 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45101 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
45105 # Always prepend --prefix to ensure using the same prefix
45106 # in subdir configurations.
45107 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
45110 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
45112 # Do not complain, so a configure script can configure whichever
45113 # parts of a large source tree are present.
45114 test -d $srcdir/$ac_dir || continue
45116 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45117 echo "$as_me: configuring in $ac_dir" >&6;}
45118 { if $as_mkdir_p; then
45123 while test ! -d "$as_dir"; do
45124 as_dirs
="$as_dir $as_dirs"
45125 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45126 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45127 X"$as_dir" : 'X\(//\)[^/]' \| \
45128 X"$as_dir" : 'X\(//\)$' \| \
45129 X"$as_dir" : 'X\(/\)' \| \
45130 . : '\(.\)' 2>/dev/null ||
45132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45134 /^X\(\/\/\)$/{ s//\1/; q; }
45135 /^X\(\/\).*/{ s//\1/; q; }
45138 test ! -n "$as_dirs" || mkdir $as_dirs
45139 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45140 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45141 { (exit 1); exit 1; }; }; }
45145 if test "$ac_dir" != .
; then
45146 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45147 # A "../" for each directory in $ac_dir_suffix.
45148 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45150 ac_dir_suffix
= ac_top_builddir
=
45154 .
) # No --srcdir option. We are building in place.
45156 if test -z "$ac_top_builddir"; then
45159 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45161 [\\/]* | ?
:[\\/]* ) # Absolute path.
45162 ac_srcdir
=$srcdir$ac_dir_suffix;
45163 ac_top_srcdir
=$srcdir ;;
45164 *) # Relative path.
45165 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45166 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45169 # Do not use `cd foo && pwd` to compute absolute paths, because
45170 # the directories may not exist.
45172 .
) ac_abs_builddir
="$ac_dir";;
45175 .
) ac_abs_builddir
=`pwd`;;
45176 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45177 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45180 case $ac_abs_builddir in
45181 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45183 case ${ac_top_builddir}.
in
45184 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45185 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45186 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45189 case $ac_abs_builddir in
45190 .
) ac_abs_srcdir
=$ac_srcdir;;
45193 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45194 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45195 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45198 case $ac_abs_builddir in
45199 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45201 case $ac_top_srcdir in
45202 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45203 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45204 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45211 # Check for guested configure; otherwise get Cygnus style configure.
45212 if test -f $ac_srcdir/configure.gnu
; then
45213 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
45214 elif test -f $ac_srcdir/configure
; then
45215 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
45216 elif test -f $ac_srcdir/configure.
in; then
45217 ac_sub_configure
=$ac_configure
45219 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45220 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45224 # The recursion is here.
45225 if test -n "$ac_sub_configure"; then
45226 # Make the cache file name correct relative to the subdirectory.
45227 case $cache_file in
45228 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
45229 *) # Relative path.
45230 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
45233 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45234 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45235 # The eval makes quoting arguments work.
45236 eval $ac_sub_configure $ac_sub_configure_args \
45237 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45238 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45239 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45240 { (exit 1); exit 1; }; }
45249 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45251 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45252 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45254 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45255 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45256 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45258 echo " What level of wxWidgets compatibility should be enabled?"
45259 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45260 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45262 echo " Which libraries should wxWidgets use?"
45263 echo " jpeg ${wxUSE_LIBJPEG-none}"
45264 echo " png ${wxUSE_LIBPNG-none}"
45265 echo " regex ${wxUSE_REGEX}"
45266 echo " tiff ${wxUSE_LIBTIFF-none}"
45267 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45268 echo " xpm ${wxUSE_LIBXPM-none}"
45270 echo " zlib ${wxUSE_ZLIB}"
45271 echo " odbc ${wxUSE_ODBC}"
45272 echo " expat ${wxUSE_EXPAT}"
45273 echo " libmspack ${wxUSE_LIBMSPACK}"
45274 echo " sdl ${wxUSE_LIBSDL}"
45275 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"