2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.5.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.5.5'
274 PACKAGE_STRING
='wxWidgets 2.5.5'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.5.5 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.5.5:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-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.5
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.5, 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
=0
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
3631 DEFAULT_wxUSE_OMF
=no
3634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3635 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3637 # Check whether --enable-omf or --disable-omf was given.
3638 if test "${enable_omf+set}" = set; then
3639 enableval
="$enable_omf"
3641 if test "$enableval" = yes; then
3642 ac_cv_use_omf
='wxUSE_OMF=yes'
3644 ac_cv_use_omf
='wxUSE_OMF=no'
3649 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x
; then
3651 eval "DEFAULT_$LINE"
3656 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3660 eval "$ac_cv_use_omf"
3661 if test "$no_cache" != 1; then
3662 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3665 if test "$wxUSE_OMF" = yes; then
3666 echo "$as_me:$LINENO: result: yes" >&5
3667 echo "${ECHO_T}yes" >&6
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3675 if test "$wxUSE_DEBUG" = "yes"; then
3676 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3677 DEFAULT_wxUSE_DEBUG_INFO
=yes
3679 elif test "$wxUSE_DEBUG" = "no"; then
3680 DEFAULT_wxUSE_DEBUG_FLAG
=no
3681 DEFAULT_wxUSE_DEBUG_INFO
=no
3687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3688 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3690 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3691 if test "${enable_debug_flag+set}" = set; then
3692 enableval
="$enable_debug_flag"
3694 if test "$enableval" = yes; then
3695 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3697 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3702 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3703 if test "x$LINE" != x
; then
3704 eval "DEFAULT_$LINE"
3709 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3713 eval "$ac_cv_use_debug_flag"
3714 if test "$no_cache" != 1; then
3715 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3718 if test "$wxUSE_DEBUG_FLAG" = yes; then
3719 echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6
3722 echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6
3728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3729 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3731 # Check whether --enable-debug_info or --disable-debug_info was given.
3732 if test "${enable_debug_info+set}" = set; then
3733 enableval
="$enable_debug_info"
3735 if test "$enableval" = yes; then
3736 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3738 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3743 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3744 if test "x$LINE" != x
; then
3745 eval "DEFAULT_$LINE"
3750 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3754 eval "$ac_cv_use_debug_info"
3755 if test "$no_cache" != 1; then
3756 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3759 if test "$wxUSE_DEBUG_INFO" = yes; then
3760 echo "$as_me:$LINENO: result: yes" >&5
3761 echo "${ECHO_T}yes" >&6
3763 echo "$as_me:$LINENO: result: no" >&5
3764 echo "${ECHO_T}no" >&6
3769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3770 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3772 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3773 if test "${enable_debug_gdb+set}" = set; then
3774 enableval
="$enable_debug_gdb"
3776 if test "$enableval" = yes; then
3777 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3779 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3784 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3785 if test "x$LINE" != x
; then
3786 eval "DEFAULT_$LINE"
3791 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3795 eval "$ac_cv_use_debug_gdb"
3796 if test "$no_cache" != 1; then
3797 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3800 if test "$wxUSE_DEBUG_GDB" = yes; then
3801 echo "$as_me:$LINENO: result: yes" >&5
3802 echo "${ECHO_T}yes" >&6
3804 echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6
3810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3811 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3813 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3814 if test "${enable_debug_cntxt+set}" = set; then
3815 enableval
="$enable_debug_cntxt"
3817 if test "$enableval" = yes; then
3818 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3820 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3825 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3826 if test "x$LINE" != x
; then
3827 eval "DEFAULT_$LINE"
3832 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3836 eval "$ac_cv_use_debug_cntxt"
3837 if test "$no_cache" != 1; then
3838 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3841 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3842 echo "$as_me:$LINENO: result: yes" >&5
3843 echo "${ECHO_T}yes" >&6
3845 echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6
3851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3852 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3854 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3855 if test "${enable_mem_tracing+set}" = set; then
3856 enableval
="$enable_mem_tracing"
3858 if test "$enableval" = yes; then
3859 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3861 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3866 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3867 if test "x$LINE" != x
; then
3868 eval "DEFAULT_$LINE"
3873 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3877 eval "$ac_cv_use_mem_tracing"
3878 if test "$no_cache" != 1; then
3879 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3882 if test "$wxUSE_MEM_TRACING" = yes; then
3883 echo "$as_me:$LINENO: result: yes" >&5
3884 echo "${ECHO_T}yes" >&6
3886 echo "$as_me:$LINENO: result: no" >&5
3887 echo "${ECHO_T}no" >&6
3892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3893 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3895 # Check whether --enable-profile or --disable-profile was given.
3896 if test "${enable_profile+set}" = set; then
3897 enableval
="$enable_profile"
3899 if test "$enableval" = yes; then
3900 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3902 ac_cv_use_profile
='wxUSE_PROFILE=no'
3907 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3908 if test "x$LINE" != x
; then
3909 eval "DEFAULT_$LINE"
3914 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3918 eval "$ac_cv_use_profile"
3919 if test "$no_cache" != 1; then
3920 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3923 if test "$wxUSE_PROFILE" = yes; then
3924 echo "$as_me:$LINENO: result: yes" >&5
3925 echo "${ECHO_T}yes" >&6
3927 echo "$as_me:$LINENO: result: no" >&5
3928 echo "${ECHO_T}no" >&6
3933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3934 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3936 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3937 if test "${enable_no_rtti+set}" = set; then
3938 enableval
="$enable_no_rtti"
3940 if test "$enableval" = yes; then
3941 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3943 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3948 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x
; then
3950 eval "DEFAULT_$LINE"
3955 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3959 eval "$ac_cv_use_no_rtti"
3960 if test "$no_cache" != 1; then
3961 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3964 if test "$wxUSE_NO_RTTI" = yes; then
3965 echo "$as_me:$LINENO: result: yes" >&5
3966 echo "${ECHO_T}yes" >&6
3968 echo "$as_me:$LINENO: result: no" >&5
3969 echo "${ECHO_T}no" >&6
3974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3975 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3977 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3978 if test "${enable_no_exceptions+set}" = set; then
3979 enableval
="$enable_no_exceptions"
3981 if test "$enableval" = yes; then
3982 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3984 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3989 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3990 if test "x$LINE" != x
; then
3991 eval "DEFAULT_$LINE"
3996 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4000 eval "$ac_cv_use_no_exceptions"
4001 if test "$no_cache" != 1; then
4002 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4005 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4006 echo "$as_me:$LINENO: result: yes" >&5
4007 echo "${ECHO_T}yes" >&6
4009 echo "$as_me:$LINENO: result: no" >&5
4010 echo "${ECHO_T}no" >&6
4015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4016 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4018 # Check whether --enable-permissive or --disable-permissive was given.
4019 if test "${enable_permissive+set}" = set; then
4020 enableval
="$enable_permissive"
4022 if test "$enableval" = yes; then
4023 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4025 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4030 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4031 if test "x$LINE" != x
; then
4032 eval "DEFAULT_$LINE"
4037 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4041 eval "$ac_cv_use_permissive"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4046 if test "$wxUSE_PERMISSIVE" = yes; then
4047 echo "$as_me:$LINENO: result: yes" >&5
4048 echo "${ECHO_T}yes" >&6
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4057 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4059 # Check whether --enable-no_deps or --disable-no_deps was given.
4060 if test "${enable_no_deps+set}" = set; then
4061 enableval
="$enable_no_deps"
4063 if test "$enableval" = yes; then
4064 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4066 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4071 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x
; then
4073 eval "DEFAULT_$LINE"
4078 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4082 eval "$ac_cv_use_no_deps"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4087 if test "$wxUSE_NO_DEPS" = yes; then
4088 echo "$as_me:$LINENO: result: yes" >&5
4089 echo "${ECHO_T}yes" >&6
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4099 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4101 # Check whether --enable-compat22 or --disable-compat22 was given.
4102 if test "${enable_compat22+set}" = set; then
4103 enableval
="$enable_compat22"
4105 if test "$enableval" = yes; then
4106 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4108 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4113 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4114 if test "x$LINE" != x
; then
4115 eval "DEFAULT_$LINE"
4120 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4124 eval "$ac_cv_use_compat22"
4125 if test "$no_cache" != 1; then
4126 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4129 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4130 echo "$as_me:$LINENO: result: yes" >&5
4131 echo "${ECHO_T}yes" >&6
4133 echo "$as_me:$LINENO: result: no" >&5
4134 echo "${ECHO_T}no" >&6
4138 enablestring
=disable
4139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4140 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4142 # Check whether --enable-compat24 or --disable-compat24 was given.
4143 if test "${enable_compat24+set}" = set; then
4144 enableval
="$enable_compat24"
4146 if test "$enableval" = yes; then
4147 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4149 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4154 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4155 if test "x$LINE" != x
; then
4156 eval "DEFAULT_$LINE"
4161 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4165 eval "$ac_cv_use_compat24"
4166 if test "$no_cache" != 1; then
4167 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4170 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4171 echo "$as_me:$LINENO: result: yes" >&5
4172 echo "${ECHO_T}yes" >&6
4174 echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6
4181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4182 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4184 # Check whether --enable-rpath or --disable-rpath was given.
4185 if test "${enable_rpath+set}" = set; then
4186 enableval
="$enable_rpath"
4188 if test "$enableval" = yes; then
4189 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4191 ac_cv_use_rpath
='wxUSE_RPATH=no'
4196 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4197 if test "x$LINE" != x
; then
4198 eval "DEFAULT_$LINE"
4203 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4207 eval "$ac_cv_use_rpath"
4208 if test "$no_cache" != 1; then
4209 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4212 if test "$wxUSE_RPATH" = yes; then
4213 echo "$as_me:$LINENO: result: yes" >&5
4214 echo "${ECHO_T}yes" >&6
4216 echo "$as_me:$LINENO: result: no" >&5
4217 echo "${ECHO_T}no" >&6
4225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4228 # Check whether --enable-intl or --disable-intl was given.
4229 if test "${enable_intl+set}" = set; then
4230 enableval
="$enable_intl"
4232 if test "$enableval" = yes; then
4233 ac_cv_use_intl
='wxUSE_INTL=yes'
4235 ac_cv_use_intl
='wxUSE_INTL=no'
4240 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4241 if test "x$LINE" != x
; then
4242 eval "DEFAULT_$LINE"
4247 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4251 eval "$ac_cv_use_intl"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4256 if test "$wxUSE_INTL" = yes; then
4257 echo "$as_me:$LINENO: result: yes" >&5
4258 echo "${ECHO_T}yes" >&6
4260 echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6
4266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4267 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4269 # Check whether --enable-config or --disable-config was given.
4270 if test "${enable_config+set}" = set; then
4271 enableval
="$enable_config"
4273 if test "$enableval" = yes; then
4274 ac_cv_use_config
='wxUSE_CONFIG=yes'
4276 ac_cv_use_config
='wxUSE_CONFIG=no'
4281 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4282 if test "x$LINE" != x
; then
4283 eval "DEFAULT_$LINE"
4288 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4292 eval "$ac_cv_use_config"
4293 if test "$no_cache" != 1; then
4294 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4297 if test "$wxUSE_CONFIG" = yes; then
4298 echo "$as_me:$LINENO: result: yes" >&5
4299 echo "${ECHO_T}yes" >&6
4301 echo "$as_me:$LINENO: result: no" >&5
4302 echo "${ECHO_T}no" >&6
4308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4309 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4311 # Check whether --enable-protocols or --disable-protocols was given.
4312 if test "${enable_protocols+set}" = set; then
4313 enableval
="$enable_protocols"
4315 if test "$enableval" = yes; then
4316 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4318 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4323 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x
; then
4325 eval "DEFAULT_$LINE"
4330 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4334 eval "$ac_cv_use_protocols"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4339 if test "$wxUSE_PROTOCOL" = yes; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4350 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4352 # Check whether --enable-ftp or --disable-ftp was given.
4353 if test "${enable_ftp+set}" = set; then
4354 enableval
="$enable_ftp"
4356 if test "$enableval" = yes; then
4357 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4359 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4364 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4365 if test "x$LINE" != x
; then
4366 eval "DEFAULT_$LINE"
4371 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4375 eval "$ac_cv_use_ftp"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4380 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4381 echo "$as_me:$LINENO: result: yes" >&5
4382 echo "${ECHO_T}yes" >&6
4384 echo "$as_me:$LINENO: result: no" >&5
4385 echo "${ECHO_T}no" >&6
4390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4391 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4393 # Check whether --enable-http or --disable-http was given.
4394 if test "${enable_http+set}" = set; then
4395 enableval
="$enable_http"
4397 if test "$enableval" = yes; then
4398 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4400 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4405 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4406 if test "x$LINE" != x
; then
4407 eval "DEFAULT_$LINE"
4412 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4416 eval "$ac_cv_use_http"
4417 if test "$no_cache" != 1; then
4418 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4421 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4422 echo "$as_me:$LINENO: result: yes" >&5
4423 echo "${ECHO_T}yes" >&6
4425 echo "$as_me:$LINENO: result: no" >&5
4426 echo "${ECHO_T}no" >&6
4431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4432 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4434 # Check whether --enable-fileproto or --disable-fileproto was given.
4435 if test "${enable_fileproto+set}" = set; then
4436 enableval
="$enable_fileproto"
4438 if test "$enableval" = yes; then
4439 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4441 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4446 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4447 if test "x$LINE" != x
; then
4448 eval "DEFAULT_$LINE"
4453 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4457 eval "$ac_cv_use_fileproto"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4462 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4463 echo "$as_me:$LINENO: result: yes" >&5
4464 echo "${ECHO_T}yes" >&6
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4473 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4475 # Check whether --enable-sockets or --disable-sockets was given.
4476 if test "${enable_sockets+set}" = set; then
4477 enableval
="$enable_sockets"
4479 if test "$enableval" = yes; then
4480 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4482 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4487 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4488 if test "x$LINE" != x
; then
4489 eval "DEFAULT_$LINE"
4494 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4498 eval "$ac_cv_use_sockets"
4499 if test "$no_cache" != 1; then
4500 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4503 if test "$wxUSE_SOCKETS" = yes; then
4504 echo "$as_me:$LINENO: result: yes" >&5
4505 echo "${ECHO_T}yes" >&6
4507 echo "$as_me:$LINENO: result: no" >&5
4508 echo "${ECHO_T}no" >&6
4513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4516 # Check whether --enable-ole or --disable-ole was given.
4517 if test "${enable_ole+set}" = set; then
4518 enableval
="$enable_ole"
4520 if test "$enableval" = yes; then
4521 ac_cv_use_ole
='wxUSE_OLE=yes'
4523 ac_cv_use_ole
='wxUSE_OLE=no'
4528 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4529 if test "x$LINE" != x
; then
4530 eval "DEFAULT_$LINE"
4535 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4539 eval "$ac_cv_use_ole"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4544 if test "$wxUSE_OLE" = yes; then
4545 echo "$as_me:$LINENO: result: yes" >&5
4546 echo "${ECHO_T}yes" >&6
4548 echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6
4554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4557 # Check whether --enable-dataobj or --disable-dataobj was given.
4558 if test "${enable_dataobj+set}" = set; then
4559 enableval
="$enable_dataobj"
4561 if test "$enableval" = yes; then
4562 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4564 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4569 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x
; then
4571 eval "DEFAULT_$LINE"
4576 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4580 eval "$ac_cv_use_dataobj"
4581 if test "$no_cache" != 1; then
4582 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4585 if test "$wxUSE_DATAOBJ" = yes; then
4586 echo "$as_me:$LINENO: result: yes" >&5
4587 echo "${ECHO_T}yes" >&6
4589 echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6
4596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4599 # Check whether --enable-ipc or --disable-ipc was given.
4600 if test "${enable_ipc+set}" = set; then
4601 enableval
="$enable_ipc"
4603 if test "$enableval" = yes; then
4604 ac_cv_use_ipc
='wxUSE_IPC=yes'
4606 ac_cv_use_ipc
='wxUSE_IPC=no'
4611 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x
; then
4613 eval "DEFAULT_$LINE"
4618 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4622 eval "$ac_cv_use_ipc"
4623 if test "$no_cache" != 1; then
4624 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4627 if test "$wxUSE_IPC" = yes; then
4628 echo "$as_me:$LINENO: result: yes" >&5
4629 echo "${ECHO_T}yes" >&6
4631 echo "$as_me:$LINENO: result: no" >&5
4632 echo "${ECHO_T}no" >&6
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4641 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4642 if test "${enable_apple_ieee+set}" = set; then
4643 enableval
="$enable_apple_ieee"
4645 if test "$enableval" = yes; then
4646 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4648 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4653 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x
; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4664 eval "$ac_cv_use_apple_ieee"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4669 if test "$wxUSE_APPLE_IEEE" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4682 # Check whether --enable-arcstream or --disable-arcstream was given.
4683 if test "${enable_arcstream+set}" = set; then
4684 enableval
="$enable_arcstream"
4686 if test "$enableval" = yes; then
4687 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4689 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4694 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4695 if test "x$LINE" != x
; then
4696 eval "DEFAULT_$LINE"
4701 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4705 eval "$ac_cv_use_arcstream"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4710 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4711 echo "$as_me:$LINENO: result: yes" >&5
4712 echo "${ECHO_T}yes" >&6
4714 echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6
4720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4721 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4723 # Check whether --enable-backtrace or --disable-backtrace was given.
4724 if test "${enable_backtrace+set}" = set; then
4725 enableval
="$enable_backtrace"
4727 if test "$enableval" = yes; then
4728 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4730 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4735 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4736 if test "x$LINE" != x
; then
4737 eval "DEFAULT_$LINE"
4742 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4746 eval "$ac_cv_use_backtrace"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4751 if test "$wxUSE_STACKWALKER" = yes; then
4752 echo "$as_me:$LINENO: result: yes" >&5
4753 echo "${ECHO_T}yes" >&6
4755 echo "$as_me:$LINENO: result: no" >&5
4756 echo "${ECHO_T}no" >&6
4761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4764 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4765 if test "${enable_catch_segvs+set}" = set; then
4766 enableval
="$enable_catch_segvs"
4768 if test "$enableval" = yes; then
4769 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4771 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4776 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x
; then
4778 eval "DEFAULT_$LINE"
4783 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4787 eval "$ac_cv_use_catch_segvs"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4792 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4793 echo "$as_me:$LINENO: result: yes" >&5
4794 echo "${ECHO_T}yes" >&6
4796 echo "$as_me:$LINENO: result: no" >&5
4797 echo "${ECHO_T}no" >&6
4802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4803 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4805 # Check whether --enable-cmdline or --disable-cmdline was given.
4806 if test "${enable_cmdline+set}" = set; then
4807 enableval
="$enable_cmdline"
4809 if test "$enableval" = yes; then
4810 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4812 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4817 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x
; then
4819 eval "DEFAULT_$LINE"
4824 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4828 eval "$ac_cv_use_cmdline"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4833 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4834 echo "$as_me:$LINENO: result: yes" >&5
4835 echo "${ECHO_T}yes" >&6
4837 echo "$as_me:$LINENO: result: no" >&5
4838 echo "${ECHO_T}no" >&6
4843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4846 # Check whether --enable-datetime or --disable-datetime was given.
4847 if test "${enable_datetime+set}" = set; then
4848 enableval
="$enable_datetime"
4850 if test "$enableval" = yes; then
4851 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4853 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4858 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x
; then
4860 eval "DEFAULT_$LINE"
4865 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4869 eval "$ac_cv_use_datetime"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4874 if test "$wxUSE_DATETIME" = yes; then
4875 echo "$as_me:$LINENO: result: yes" >&5
4876 echo "${ECHO_T}yes" >&6
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4887 # Check whether --enable-debugreport or --disable-debugreport was given.
4888 if test "${enable_debugreport+set}" = set; then
4889 enableval
="$enable_debugreport"
4891 if test "$enableval" = yes; then
4892 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4894 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4899 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x
; then
4901 eval "DEFAULT_$LINE"
4906 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4910 eval "$ac_cv_use_debugreport"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4915 if test "$wxUSE_DEBUGREPORT" = yes; then
4916 echo "$as_me:$LINENO: result: yes" >&5
4917 echo "${ECHO_T}yes" >&6
4919 echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6
4925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4926 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4928 # Check whether --enable-dialupman or --disable-dialupman was given.
4929 if test "${enable_dialupman+set}" = set; then
4930 enableval
="$enable_dialupman"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4935 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4940 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x
; then
4942 eval "DEFAULT_$LINE"
4947 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4951 eval "$ac_cv_use_dialupman"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4956 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4957 echo "$as_me:$LINENO: result: yes" >&5
4958 echo "${ECHO_T}yes" >&6
4960 echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6
4966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4967 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4969 # Check whether --enable-dynlib or --disable-dynlib was given.
4970 if test "${enable_dynlib+set}" = set; then
4971 enableval
="$enable_dynlib"
4973 if test "$enableval" = yes; then
4974 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4976 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4981 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4982 if test "x$LINE" != x
; then
4983 eval "DEFAULT_$LINE"
4988 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4992 eval "$ac_cv_use_dynlib"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4997 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4998 echo "$as_me:$LINENO: result: yes" >&5
4999 echo "${ECHO_T}yes" >&6
5001 echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6
5007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5008 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5010 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5011 if test "${enable_dynamicloader+set}" = set; then
5012 enableval
="$enable_dynamicloader"
5014 if test "$enableval" = yes; then
5015 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5017 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5022 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5023 if test "x$LINE" != x
; then
5024 eval "DEFAULT_$LINE"
5029 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5033 eval "$ac_cv_use_dynamicloader"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5038 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5039 echo "$as_me:$LINENO: result: yes" >&5
5040 echo "${ECHO_T}yes" >&6
5042 echo "$as_me:$LINENO: result: no" >&5
5043 echo "${ECHO_T}no" >&6
5048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5049 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5051 # Check whether --enable-exceptions or --disable-exceptions was given.
5052 if test "${enable_exceptions+set}" = set; then
5053 enableval
="$enable_exceptions"
5055 if test "$enableval" = yes; then
5056 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5058 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5063 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5064 if test "x$LINE" != x
; then
5065 eval "DEFAULT_$LINE"
5070 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5074 eval "$ac_cv_use_exceptions"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5079 if test "$wxUSE_EXCEPTIONS" = yes; then
5080 echo "$as_me:$LINENO: result: yes" >&5
5081 echo "${ECHO_T}yes" >&6
5083 echo "$as_me:$LINENO: result: no" >&5
5084 echo "${ECHO_T}no" >&6
5089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5092 # Check whether --enable-ffile or --disable-ffile was given.
5093 if test "${enable_ffile+set}" = set; then
5094 enableval
="$enable_ffile"
5096 if test "$enableval" = yes; then
5097 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5099 ac_cv_use_ffile
='wxUSE_FFILE=no'
5104 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x
; then
5106 eval "DEFAULT_$LINE"
5111 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5115 eval "$ac_cv_use_ffile"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5120 if test "$wxUSE_FFILE" = yes; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6
5124 echo "$as_me:$LINENO: result: no" >&5
5125 echo "${ECHO_T}no" >&6
5130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5133 # Check whether --enable-file or --disable-file was given.
5134 if test "${enable_file+set}" = set; then
5135 enableval
="$enable_file"
5137 if test "$enableval" = yes; then
5138 ac_cv_use_file
='wxUSE_FILE=yes'
5140 ac_cv_use_file
='wxUSE_FILE=no'
5145 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x
; then
5147 eval "DEFAULT_$LINE"
5152 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5156 eval "$ac_cv_use_file"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5161 if test "$wxUSE_FILE" = yes; then
5162 echo "$as_me:$LINENO: result: yes" >&5
5163 echo "${ECHO_T}yes" >&6
5165 echo "$as_me:$LINENO: result: no" >&5
5166 echo "${ECHO_T}no" >&6
5171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5174 # Check whether --enable-filesystem or --disable-filesystem was given.
5175 if test "${enable_filesystem+set}" = set; then
5176 enableval
="$enable_filesystem"
5178 if test "$enableval" = yes; then
5179 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5181 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5186 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x
; then
5188 eval "DEFAULT_$LINE"
5193 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5197 eval "$ac_cv_use_filesystem"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5202 if test "$wxUSE_FILESYSTEM" = yes; then
5203 echo "$as_me:$LINENO: result: yes" >&5
5204 echo "${ECHO_T}yes" >&6
5206 echo "$as_me:$LINENO: result: no" >&5
5207 echo "${ECHO_T}no" >&6
5212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5215 # Check whether --enable-fontmap or --disable-fontmap was given.
5216 if test "${enable_fontmap+set}" = set; then
5217 enableval
="$enable_fontmap"
5219 if test "$enableval" = yes; then
5220 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5222 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5227 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x
; then
5229 eval "DEFAULT_$LINE"
5234 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5238 eval "$ac_cv_use_fontmap"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5243 if test "$wxUSE_FONTMAP" = yes; then
5244 echo "$as_me:$LINENO: result: yes" >&5
5245 echo "${ECHO_T}yes" >&6
5247 echo "$as_me:$LINENO: result: no" >&5
5248 echo "${ECHO_T}no" >&6
5253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5256 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5257 if test "${enable_fs_inet+set}" = set; then
5258 enableval
="$enable_fs_inet"
5260 if test "$enableval" = yes; then
5261 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5263 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5268 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x
; then
5270 eval "DEFAULT_$LINE"
5275 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5279 eval "$ac_cv_use_fs_inet"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5284 if test "$wxUSE_FS_INET" = yes; then
5285 echo "$as_me:$LINENO: result: yes" >&5
5286 echo "${ECHO_T}yes" >&6
5288 echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6
5294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5297 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5298 if test "${enable_fs_zip+set}" = set; then
5299 enableval
="$enable_fs_zip"
5301 if test "$enableval" = yes; then
5302 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5304 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5309 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x
; then
5311 eval "DEFAULT_$LINE"
5316 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5320 eval "$ac_cv_use_fs_zip"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5325 if test "$wxUSE_FS_ZIP" = yes; then
5326 echo "$as_me:$LINENO: result: yes" >&5
5327 echo "${ECHO_T}yes" >&6
5329 echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6
5335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5338 # Check whether --enable-geometry or --disable-geometry was given.
5339 if test "${enable_geometry+set}" = set; then
5340 enableval
="$enable_geometry"
5342 if test "$enableval" = yes; then
5343 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5345 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5350 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x
; then
5352 eval "DEFAULT_$LINE"
5357 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5361 eval "$ac_cv_use_geometry"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_GEOMETRY" = yes; then
5367 echo "$as_me:$LINENO: result: yes" >&5
5368 echo "${ECHO_T}yes" >&6
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5377 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5379 # Check whether --enable-log or --disable-log was given.
5380 if test "${enable_log+set}" = set; then
5381 enableval
="$enable_log"
5383 if test "$enableval" = yes; then
5384 ac_cv_use_log
='wxUSE_LOG=yes'
5386 ac_cv_use_log
='wxUSE_LOG=no'
5391 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x
; then
5393 eval "DEFAULT_$LINE"
5398 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5402 eval "$ac_cv_use_log"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5407 if test "$wxUSE_LOG" = yes; then
5408 echo "$as_me:$LINENO: result: yes" >&5
5409 echo "${ECHO_T}yes" >&6
5411 echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6
5417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5420 # Check whether --enable-longlong or --disable-longlong was given.
5421 if test "${enable_longlong+set}" = set; then
5422 enableval
="$enable_longlong"
5424 if test "$enableval" = yes; then
5425 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5427 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5432 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5433 if test "x$LINE" != x
; then
5434 eval "DEFAULT_$LINE"
5439 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5443 eval "$ac_cv_use_longlong"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5448 if test "$wxUSE_LONGLONG" = yes; then
5449 echo "$as_me:$LINENO: result: yes" >&5
5450 echo "${ECHO_T}yes" >&6
5452 echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6
5458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5461 # Check whether --enable-mimetype or --disable-mimetype was given.
5462 if test "${enable_mimetype+set}" = set; then
5463 enableval
="$enable_mimetype"
5465 if test "$enableval" = yes; then
5466 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5468 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5473 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5474 if test "x$LINE" != x
; then
5475 eval "DEFAULT_$LINE"
5480 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5484 eval "$ac_cv_use_mimetype"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5489 if test "$wxUSE_MIMETYPE" = yes; then
5490 echo "$as_me:$LINENO: result: yes" >&5
5491 echo "${ECHO_T}yes" >&6
5493 echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6
5499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5502 # Check whether --enable-mslu or --disable-mslu was given.
5503 if test "${enable_mslu+set}" = set; then
5504 enableval
="$enable_mslu"
5506 if test "$enableval" = yes; then
5507 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5509 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5514 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5515 if test "x$LINE" != x
; then
5516 eval "DEFAULT_$LINE"
5521 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5525 eval "$ac_cv_use_mslu"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5530 if test "$wxUSE_UNICODE_MSLU" = yes; then
5531 echo "$as_me:$LINENO: result: yes" >&5
5532 echo "${ECHO_T}yes" >&6
5534 echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6
5540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5543 # Check whether --enable-snglinst or --disable-snglinst was given.
5544 if test "${enable_snglinst+set}" = set; then
5545 enableval
="$enable_snglinst"
5547 if test "$enableval" = yes; then
5548 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5550 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5555 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5556 if test "x$LINE" != x
; then
5557 eval "DEFAULT_$LINE"
5562 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5566 eval "$ac_cv_use_snglinst"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5571 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5572 echo "$as_me:$LINENO: result: yes" >&5
5573 echo "${ECHO_T}yes" >&6
5575 echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6
5581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5584 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5585 if test "${enable_std_iostreams+set}" = set; then
5586 enableval
="$enable_std_iostreams"
5588 if test "$enableval" = yes; then
5589 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5591 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5596 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5597 if test "x$LINE" != x
; then
5598 eval "DEFAULT_$LINE"
5603 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5607 eval "$ac_cv_use_std_iostreams"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5612 if test "$wxUSE_STD_IOSTREAM" = yes; then
5613 echo "$as_me:$LINENO: result: yes" >&5
5614 echo "${ECHO_T}yes" >&6
5616 echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6
5622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5625 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5626 if test "${enable_stdpaths+set}" = set; then
5627 enableval
="$enable_stdpaths"
5629 if test "$enableval" = yes; then
5630 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5632 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5637 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5638 if test "x$LINE" != x
; then
5639 eval "DEFAULT_$LINE"
5644 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5648 eval "$ac_cv_use_stdpaths"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5653 if test "$wxUSE_STDPATHS" = yes; then
5654 echo "$as_me:$LINENO: result: yes" >&5
5655 echo "${ECHO_T}yes" >&6
5657 echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6
5663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5666 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5667 if test "${enable_stopwatch+set}" = set; then
5668 enableval
="$enable_stopwatch"
5670 if test "$enableval" = yes; then
5671 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5673 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5678 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5679 if test "x$LINE" != x
; then
5680 eval "DEFAULT_$LINE"
5685 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5689 eval "$ac_cv_use_stopwatch"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5694 if test "$wxUSE_STOPWATCH" = yes; then
5695 echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6
5698 echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6
5704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5705 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5707 # Check whether --enable-streams or --disable-streams was given.
5708 if test "${enable_streams+set}" = set; then
5709 enableval
="$enable_streams"
5711 if test "$enableval" = yes; then
5712 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5714 ac_cv_use_streams
='wxUSE_STREAMS=no'
5719 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x
; then
5721 eval "DEFAULT_$LINE"
5726 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5730 eval "$ac_cv_use_streams"
5731 if test "$no_cache" != 1; then
5732 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5735 if test "$wxUSE_STREAMS" = yes; then
5736 echo "$as_me:$LINENO: result: yes" >&5
5737 echo "${ECHO_T}yes" >&6
5739 echo "$as_me:$LINENO: result: no" >&5
5740 echo "${ECHO_T}no" >&6
5745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5748 # Check whether --enable-system_options or --disable-system_options was given.
5749 if test "${enable_system_options+set}" = set; then
5750 enableval
="$enable_system_options"
5752 if test "$enableval" = yes; then
5753 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5755 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5760 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x
; then
5762 eval "DEFAULT_$LINE"
5767 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5771 eval "$ac_cv_use_system_options"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5776 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5777 echo "$as_me:$LINENO: result: yes" >&5
5778 echo "${ECHO_T}yes" >&6
5780 echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6
5786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5787 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5789 # Check whether --enable-textbuf or --disable-textbuf was given.
5790 if test "${enable_textbuf+set}" = set; then
5791 enableval
="$enable_textbuf"
5793 if test "$enableval" = yes; then
5794 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5796 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5801 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x
; then
5803 eval "DEFAULT_$LINE"
5808 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5812 eval "$ac_cv_use_textbuf"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5817 if test "$wxUSE_TEXTBUFFER" = yes; then
5818 echo "$as_me:$LINENO: result: yes" >&5
5819 echo "${ECHO_T}yes" >&6
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5830 # Check whether --enable-textfile or --disable-textfile was given.
5831 if test "${enable_textfile+set}" = set; then
5832 enableval
="$enable_textfile"
5834 if test "$enableval" = yes; then
5835 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5837 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5842 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x
; then
5844 eval "DEFAULT_$LINE"
5849 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5853 eval "$ac_cv_use_textfile"
5854 if test "$no_cache" != 1; then
5855 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5858 if test "$wxUSE_TEXTFILE" = yes; then
5859 echo "$as_me:$LINENO: result: yes" >&5
5860 echo "${ECHO_T}yes" >&6
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5869 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5871 # Check whether --enable-timer or --disable-timer was given.
5872 if test "${enable_timer+set}" = set; then
5873 enableval
="$enable_timer"
5875 if test "$enableval" = yes; then
5876 ac_cv_use_timer
='wxUSE_TIMER=yes'
5878 ac_cv_use_timer
='wxUSE_TIMER=no'
5883 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x
; then
5885 eval "DEFAULT_$LINE"
5890 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5894 eval "$ac_cv_use_timer"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5899 if test "$wxUSE_TIMER" = yes; then
5900 echo "$as_me:$LINENO: result: yes" >&5
5901 echo "${ECHO_T}yes" >&6
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5912 # Check whether --enable-unicode or --disable-unicode was given.
5913 if test "${enable_unicode+set}" = set; then
5914 enableval
="$enable_unicode"
5916 if test "$enableval" = yes; then
5917 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5919 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5924 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x
; then
5926 eval "DEFAULT_$LINE"
5931 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5935 eval "$ac_cv_use_unicode"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5940 if test "$wxUSE_UNICODE" = yes; then
5941 echo "$as_me:$LINENO: result: yes" >&5
5942 echo "${ECHO_T}yes" >&6
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5953 # Check whether --enable-sound or --disable-sound was given.
5954 if test "${enable_sound+set}" = set; then
5955 enableval
="$enable_sound"
5957 if test "$enableval" = yes; then
5958 ac_cv_use_sound
='wxUSE_SOUND=yes'
5960 ac_cv_use_sound
='wxUSE_SOUND=no'
5965 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x
; then
5967 eval "DEFAULT_$LINE"
5972 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5976 eval "$ac_cv_use_sound"
5977 if test "$no_cache" != 1; then
5978 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5981 if test "$wxUSE_SOUND" = yes; then
5982 echo "$as_me:$LINENO: result: yes" >&5
5983 echo "${ECHO_T}yes" >&6
5985 echo "$as_me:$LINENO: result: no" >&5
5986 echo "${ECHO_T}no" >&6
5991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5994 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5995 if test "${enable_mediactrl+set}" = set; then
5996 enableval
="$enable_mediactrl"
5998 if test "$enableval" = yes; then
5999 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6001 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6006 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x
; then
6008 eval "DEFAULT_$LINE"
6013 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6017 eval "$ac_cv_use_mediactrl"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6022 if test "$wxUSE_MEDIACTRL" = yes; then
6023 echo "$as_me:$LINENO: result: yes" >&5
6024 echo "${ECHO_T}yes" >&6
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6035 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6036 if test "${enable_wxprintfv+set}" = set; then
6037 enableval
="$enable_wxprintfv"
6039 if test "$enableval" = yes; then
6040 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6042 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6047 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x
; then
6049 eval "DEFAULT_$LINE"
6054 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6058 eval "$ac_cv_use_wxprintfv"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6063 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6064 echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6
6067 echo "$as_me:$LINENO: result: no" >&5
6068 echo "${ECHO_T}no" >&6
6073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6076 # Check whether --enable-zipstream or --disable-zipstream was given.
6077 if test "${enable_zipstream+set}" = set; then
6078 enableval
="$enable_zipstream"
6080 if test "$enableval" = yes; then
6081 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6083 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6088 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x
; then
6090 eval "DEFAULT_$LINE"
6095 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6099 eval "$ac_cv_use_zipstream"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6104 if test "$wxUSE_ZIPSTREAM" = yes; then
6105 echo "$as_me:$LINENO: result: yes" >&5
6106 echo "${ECHO_T}yes" >&6
6108 echo "$as_me:$LINENO: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6116 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6118 # Check whether --enable-url or --disable-url was given.
6119 if test "${enable_url+set}" = set; then
6120 enableval
="$enable_url"
6122 if test "$enableval" = yes; then
6123 ac_cv_use_url
='wxUSE_URL=yes'
6125 ac_cv_use_url
='wxUSE_URL=no'
6130 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6131 if test "x$LINE" != x
; then
6132 eval "DEFAULT_$LINE"
6137 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6141 eval "$ac_cv_use_url"
6142 if test "$no_cache" != 1; then
6143 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6146 if test "$wxUSE_URL" = yes; then
6147 echo "$as_me:$LINENO: result: yes" >&5
6148 echo "${ECHO_T}yes" >&6
6150 echo "$as_me:$LINENO: result: no" >&5
6151 echo "${ECHO_T}no" >&6
6156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6157 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6159 # Check whether --enable-protocol or --disable-protocol was given.
6160 if test "${enable_protocol+set}" = set; then
6161 enableval
="$enable_protocol"
6163 if test "$enableval" = yes; then
6164 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6166 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6171 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6172 if test "x$LINE" != x
; then
6173 eval "DEFAULT_$LINE"
6178 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6182 eval "$ac_cv_use_protocol"
6183 if test "$no_cache" != 1; then
6184 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6187 if test "$wxUSE_PROTOCOL" = yes; then
6188 echo "$as_me:$LINENO: result: yes" >&5
6189 echo "${ECHO_T}yes" >&6
6191 echo "$as_me:$LINENO: result: no" >&5
6192 echo "${ECHO_T}no" >&6
6197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6200 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6201 if test "${enable_protocol_http+set}" = set; then
6202 enableval
="$enable_protocol_http"
6204 if test "$enableval" = yes; then
6205 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6207 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6212 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x
; then
6214 eval "DEFAULT_$LINE"
6219 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6223 eval "$ac_cv_use_protocol_http"
6224 if test "$no_cache" != 1; then
6225 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6228 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6229 echo "$as_me:$LINENO: result: yes" >&5
6230 echo "${ECHO_T}yes" >&6
6232 echo "$as_me:$LINENO: result: no" >&5
6233 echo "${ECHO_T}no" >&6
6238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6239 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6241 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6242 if test "${enable_protocol_ftp+set}" = set; then
6243 enableval
="$enable_protocol_ftp"
6245 if test "$enableval" = yes; then
6246 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6248 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6253 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6254 if test "x$LINE" != x
; then
6255 eval "DEFAULT_$LINE"
6260 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6264 eval "$ac_cv_use_protocol_ftp"
6265 if test "$no_cache" != 1; then
6266 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6269 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6270 echo "$as_me:$LINENO: result: yes" >&5
6271 echo "${ECHO_T}yes" >&6
6273 echo "$as_me:$LINENO: result: no" >&5
6274 echo "${ECHO_T}no" >&6
6279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6280 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6282 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6283 if test "${enable_protocol_file+set}" = set; then
6284 enableval
="$enable_protocol_file"
6286 if test "$enableval" = yes; then
6287 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6289 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6294 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x
; then
6296 eval "DEFAULT_$LINE"
6301 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6305 eval "$ac_cv_use_protocol_file"
6306 if test "$no_cache" != 1; then
6307 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6310 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6311 echo "$as_me:$LINENO: result: yes" >&5
6312 echo "${ECHO_T}yes" >&6
6314 echo "$as_me:$LINENO: result: no" >&5
6315 echo "${ECHO_T}no" >&6
6323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6324 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6326 # Check whether --enable-threads or --disable-threads was given.
6327 if test "${enable_threads+set}" = set; then
6328 enableval
="$enable_threads"
6330 if test "$enableval" = yes; then
6331 ac_cv_use_threads
='wxUSE_THREADS=yes'
6333 ac_cv_use_threads
='wxUSE_THREADS=no'
6338 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6339 if test "x$LINE" != x
; then
6340 eval "DEFAULT_$LINE"
6345 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6349 eval "$ac_cv_use_threads"
6350 if test "$no_cache" != 1; then
6351 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6354 if test "$wxUSE_THREADS" = yes; then
6355 echo "$as_me:$LINENO: result: yes" >&5
6356 echo "${ECHO_T}yes" >&6
6358 echo "$as_me:$LINENO: result: no" >&5
6359 echo "${ECHO_T}no" >&6
6363 if test "$wxUSE_GUI" = "yes"; then
6368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6369 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6371 # Check whether --enable-docview or --disable-docview was given.
6372 if test "${enable_docview+set}" = set; then
6373 enableval
="$enable_docview"
6375 if test "$enableval" = yes; then
6376 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6378 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6383 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6384 if test "x$LINE" != x
; then
6385 eval "DEFAULT_$LINE"
6390 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6394 eval "$ac_cv_use_docview"
6395 if test "$no_cache" != 1; then
6396 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6399 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6400 echo "$as_me:$LINENO: result: yes" >&5
6401 echo "${ECHO_T}yes" >&6
6403 echo "$as_me:$LINENO: result: no" >&5
6404 echo "${ECHO_T}no" >&6
6409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6412 # Check whether --enable-help or --disable-help was given.
6413 if test "${enable_help+set}" = set; then
6414 enableval
="$enable_help"
6416 if test "$enableval" = yes; then
6417 ac_cv_use_help
='wxUSE_HELP=yes'
6419 ac_cv_use_help
='wxUSE_HELP=no'
6424 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x
; then
6426 eval "DEFAULT_$LINE"
6431 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6435 eval "$ac_cv_use_help"
6436 if test "$no_cache" != 1; then
6437 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6440 if test "$wxUSE_HELP" = yes; then
6441 echo "$as_me:$LINENO: result: yes" >&5
6442 echo "${ECHO_T}yes" >&6
6444 echo "$as_me:$LINENO: result: no" >&5
6445 echo "${ECHO_T}no" >&6
6450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6451 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6453 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6454 if test "${enable_mshtmlhelp+set}" = set; then
6455 enableval
="$enable_mshtmlhelp"
6457 if test "$enableval" = yes; then
6458 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6460 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6465 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6466 if test "x$LINE" != x
; then
6467 eval "DEFAULT_$LINE"
6472 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6476 eval "$ac_cv_use_mshtmlhelp"
6477 if test "$no_cache" != 1; then
6478 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6481 if test "$wxUSE_MS_HTML_HELP" = yes; then
6482 echo "$as_me:$LINENO: result: yes" >&5
6483 echo "${ECHO_T}yes" >&6
6485 echo "$as_me:$LINENO: result: no" >&5
6486 echo "${ECHO_T}no" >&6
6491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6492 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6494 # Check whether --enable-html or --disable-html was given.
6495 if test "${enable_html+set}" = set; then
6496 enableval
="$enable_html"
6498 if test "$enableval" = yes; then
6499 ac_cv_use_html
='wxUSE_HTML=yes'
6501 ac_cv_use_html
='wxUSE_HTML=no'
6506 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6507 if test "x$LINE" != x
; then
6508 eval "DEFAULT_$LINE"
6513 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6517 eval "$ac_cv_use_html"
6518 if test "$no_cache" != 1; then
6519 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6522 if test "$wxUSE_HTML" = yes; then
6523 echo "$as_me:$LINENO: result: yes" >&5
6524 echo "${ECHO_T}yes" >&6
6526 echo "$as_me:$LINENO: result: no" >&5
6527 echo "${ECHO_T}no" >&6
6532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6533 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6535 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6536 if test "${enable_htmlhelp+set}" = set; then
6537 enableval
="$enable_htmlhelp"
6539 if test "$enableval" = yes; then
6540 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6542 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6547 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6548 if test "x$LINE" != x
; then
6549 eval "DEFAULT_$LINE"
6554 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6558 eval "$ac_cv_use_htmlhelp"
6559 if test "$no_cache" != 1; then
6560 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6563 if test "$wxUSE_WXHTML_HELP" = yes; then
6564 echo "$as_me:$LINENO: result: yes" >&5
6565 echo "${ECHO_T}yes" >&6
6567 echo "$as_me:$LINENO: result: no" >&5
6568 echo "${ECHO_T}no" >&6
6573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6574 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6576 # Check whether --enable-xrc or --disable-xrc was given.
6577 if test "${enable_xrc+set}" = set; then
6578 enableval
="$enable_xrc"
6580 if test "$enableval" = yes; then
6581 ac_cv_use_xrc
='wxUSE_XRC=yes'
6583 ac_cv_use_xrc
='wxUSE_XRC=no'
6588 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6589 if test "x$LINE" != x
; then
6590 eval "DEFAULT_$LINE"
6595 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6599 eval "$ac_cv_use_xrc"
6600 if test "$no_cache" != 1; then
6601 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6604 if test "$wxUSE_XRC" = yes; then
6605 echo "$as_me:$LINENO: result: yes" >&5
6606 echo "${ECHO_T}yes" >&6
6608 echo "$as_me:$LINENO: result: no" >&5
6609 echo "${ECHO_T}no" >&6
6614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6615 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6617 # Check whether --enable-constraints or --disable-constraints was given.
6618 if test "${enable_constraints+set}" = set; then
6619 enableval
="$enable_constraints"
6621 if test "$enableval" = yes; then
6622 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6624 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6629 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6630 if test "x$LINE" != x
; then
6631 eval "DEFAULT_$LINE"
6636 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6640 eval "$ac_cv_use_constraints"
6641 if test "$no_cache" != 1; then
6642 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6645 if test "$wxUSE_CONSTRAINTS" = yes; then
6646 echo "$as_me:$LINENO: result: yes" >&5
6647 echo "${ECHO_T}yes" >&6
6649 echo "$as_me:$LINENO: result: no" >&5
6650 echo "${ECHO_T}no" >&6
6655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6656 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6658 # Check whether --enable-printarch or --disable-printarch was given.
6659 if test "${enable_printarch+set}" = set; then
6660 enableval
="$enable_printarch"
6662 if test "$enableval" = yes; then
6663 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6665 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6670 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6671 if test "x$LINE" != x
; then
6672 eval "DEFAULT_$LINE"
6677 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6681 eval "$ac_cv_use_printarch"
6682 if test "$no_cache" != 1; then
6683 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6686 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6687 echo "$as_me:$LINENO: result: yes" >&5
6688 echo "${ECHO_T}yes" >&6
6690 echo "$as_me:$LINENO: result: no" >&5
6691 echo "${ECHO_T}no" >&6
6696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6697 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6699 # Check whether --enable-mdi or --disable-mdi was given.
6700 if test "${enable_mdi+set}" = set; then
6701 enableval
="$enable_mdi"
6703 if test "$enableval" = yes; then
6704 ac_cv_use_mdi
='wxUSE_MDI=yes'
6706 ac_cv_use_mdi
='wxUSE_MDI=no'
6711 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6712 if test "x$LINE" != x
; then
6713 eval "DEFAULT_$LINE"
6718 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6722 eval "$ac_cv_use_mdi"
6723 if test "$no_cache" != 1; then
6724 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6727 if test "$wxUSE_MDI" = yes; then
6728 echo "$as_me:$LINENO: result: yes" >&5
6729 echo "${ECHO_T}yes" >&6
6731 echo "$as_me:$LINENO: result: no" >&5
6732 echo "${ECHO_T}no" >&6
6737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6738 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6740 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6741 if test "${enable_mdidoc+set}" = set; then
6742 enableval
="$enable_mdidoc"
6744 if test "$enableval" = yes; then
6745 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6747 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6752 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x
; then
6754 eval "DEFAULT_$LINE"
6759 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6763 eval "$ac_cv_use_mdidoc"
6764 if test "$no_cache" != 1; then
6765 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6768 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6769 echo "$as_me:$LINENO: result: yes" >&5
6770 echo "${ECHO_T}yes" >&6
6772 echo "$as_me:$LINENO: result: no" >&5
6773 echo "${ECHO_T}no" >&6
6778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6779 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6781 # Check whether --enable-loggui or --disable-loggui was given.
6782 if test "${enable_loggui+set}" = set; then
6783 enableval
="$enable_loggui"
6785 if test "$enableval" = yes; then
6786 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6788 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6793 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6794 if test "x$LINE" != x
; then
6795 eval "DEFAULT_$LINE"
6800 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6804 eval "$ac_cv_use_loggui"
6805 if test "$no_cache" != 1; then
6806 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6809 if test "$wxUSE_LOGGUI" = yes; then
6810 echo "$as_me:$LINENO: result: yes" >&5
6811 echo "${ECHO_T}yes" >&6
6813 echo "$as_me:$LINENO: result: no" >&5
6814 echo "${ECHO_T}no" >&6
6819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6820 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6822 # Check whether --enable-logwin or --disable-logwin was given.
6823 if test "${enable_logwin+set}" = set; then
6824 enableval
="$enable_logwin"
6826 if test "$enableval" = yes; then
6827 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6829 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6834 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6835 if test "x$LINE" != x
; then
6836 eval "DEFAULT_$LINE"
6841 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6845 eval "$ac_cv_use_logwin"
6846 if test "$no_cache" != 1; then
6847 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6850 if test "$wxUSE_LOGWINDOW" = yes; then
6851 echo "$as_me:$LINENO: result: yes" >&5
6852 echo "${ECHO_T}yes" >&6
6854 echo "$as_me:$LINENO: result: no" >&5
6855 echo "${ECHO_T}no" >&6
6860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6863 # Check whether --enable-logdialog or --disable-logdialog was given.
6864 if test "${enable_logdialog+set}" = set; then
6865 enableval
="$enable_logdialog"
6867 if test "$enableval" = yes; then
6868 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6870 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6875 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6876 if test "x$LINE" != x
; then
6877 eval "DEFAULT_$LINE"
6882 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6886 eval "$ac_cv_use_logdialog"
6887 if test "$no_cache" != 1; then
6888 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6891 if test "$wxUSE_LOGDIALOG" = yes; then
6892 echo "$as_me:$LINENO: result: yes" >&5
6893 echo "${ECHO_T}yes" >&6
6895 echo "$as_me:$LINENO: result: no" >&5
6896 echo "${ECHO_T}no" >&6
6901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6902 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6904 # Check whether --enable-webkit or --disable-webkit was given.
6905 if test "${enable_webkit+set}" = set; then
6906 enableval
="$enable_webkit"
6908 if test "$enableval" = yes; then
6909 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6911 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6916 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6917 if test "x$LINE" != x
; then
6918 eval "DEFAULT_$LINE"
6923 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6927 eval "$ac_cv_use_webkit"
6928 if test "$no_cache" != 1; then
6929 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6932 if test "$wxUSE_WEBKIT" = yes; then
6933 echo "$as_me:$LINENO: result: yes" >&5
6934 echo "${ECHO_T}yes" >&6
6936 echo "$as_me:$LINENO: result: no" >&5
6937 echo "${ECHO_T}no" >&6
6943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6944 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6946 # Check whether --enable-postscript or --disable-postscript was given.
6947 if test "${enable_postscript+set}" = set; then
6948 enableval
="$enable_postscript"
6950 if test "$enableval" = yes; then
6951 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6953 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6958 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6959 if test "x$LINE" != x
; then
6960 eval "DEFAULT_$LINE"
6965 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6969 eval "$ac_cv_use_postscript"
6970 if test "$no_cache" != 1; then
6971 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6974 if test "$wxUSE_POSTSCRIPT" = yes; then
6975 echo "$as_me:$LINENO: result: yes" >&5
6976 echo "${ECHO_T}yes" >&6
6978 echo "$as_me:$LINENO: result: no" >&5
6979 echo "${ECHO_T}no" >&6
6987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6988 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6990 # Check whether --enable-prologio or --disable-prologio was given.
6991 if test "${enable_prologio+set}" = set; then
6992 enableval
="$enable_prologio"
6994 if test "$enableval" = yes; then
6995 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6997 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7002 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7003 if test "x$LINE" != x
; then
7004 eval "DEFAULT_$LINE"
7009 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7013 eval "$ac_cv_use_prologio"
7014 if test "$no_cache" != 1; then
7015 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7018 if test "$wxUSE_PROLOGIO" = yes; then
7019 echo "$as_me:$LINENO: result: yes" >&5
7020 echo "${ECHO_T}yes" >&6
7022 echo "$as_me:$LINENO: result: no" >&5
7023 echo "${ECHO_T}no" >&6
7028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7029 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7031 # Check whether --enable-resources or --disable-resources was given.
7032 if test "${enable_resources+set}" = set; then
7033 enableval
="$enable_resources"
7035 if test "$enableval" = yes; then
7036 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7038 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7043 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7044 if test "x$LINE" != x
; then
7045 eval "DEFAULT_$LINE"
7050 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7054 eval "$ac_cv_use_resources"
7055 if test "$no_cache" != 1; then
7056 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7059 if test "$wxUSE_RESOURCES" = yes; then
7060 echo "$as_me:$LINENO: result: yes" >&5
7061 echo "${ECHO_T}yes" >&6
7063 echo "$as_me:$LINENO: result: no" >&5
7064 echo "${ECHO_T}no" >&6
7071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7072 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7074 # Check whether --enable-clipboard or --disable-clipboard was given.
7075 if test "${enable_clipboard+set}" = set; then
7076 enableval
="$enable_clipboard"
7078 if test "$enableval" = yes; then
7079 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7081 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7086 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7087 if test "x$LINE" != x
; then
7088 eval "DEFAULT_$LINE"
7093 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7097 eval "$ac_cv_use_clipboard"
7098 if test "$no_cache" != 1; then
7099 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7102 if test "$wxUSE_CLIPBOARD" = yes; then
7103 echo "$as_me:$LINENO: result: yes" >&5
7104 echo "${ECHO_T}yes" >&6
7106 echo "$as_me:$LINENO: result: no" >&5
7107 echo "${ECHO_T}no" >&6
7112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7113 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7115 # Check whether --enable-dnd or --disable-dnd was given.
7116 if test "${enable_dnd+set}" = set; then
7117 enableval
="$enable_dnd"
7119 if test "$enableval" = yes; then
7120 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7122 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7127 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7128 if test "x$LINE" != x
; then
7129 eval "DEFAULT_$LINE"
7134 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7138 eval "$ac_cv_use_dnd"
7139 if test "$no_cache" != 1; then
7140 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7143 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7144 echo "$as_me:$LINENO: result: yes" >&5
7145 echo "${ECHO_T}yes" >&6
7147 echo "$as_me:$LINENO: result: no" >&5
7148 echo "${ECHO_T}no" >&6
7153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7154 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7156 # Check whether --enable-metafile or --disable-metafile was given.
7157 if test "${enable_metafile+set}" = set; then
7158 enableval
="$enable_metafile"
7160 if test "$enableval" = yes; then
7161 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7163 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7168 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7169 if test "x$LINE" != x
; then
7170 eval "DEFAULT_$LINE"
7175 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7179 eval "$ac_cv_use_metafile"
7180 if test "$no_cache" != 1; then
7181 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7184 if test "$wxUSE_METAFILE" = yes; then
7185 echo "$as_me:$LINENO: result: yes" >&5
7186 echo "${ECHO_T}yes" >&6
7188 echo "$as_me:$LINENO: result: no" >&5
7189 echo "${ECHO_T}no" >&6
7197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7198 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7200 # Check whether --enable-controls or --disable-controls was given.
7201 if test "${enable_controls+set}" = set; then
7202 enableval
="$enable_controls"
7204 if test "$enableval" = yes; then
7205 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7207 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7212 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x
; then
7214 eval "DEFAULT_$LINE"
7219 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7223 eval "$ac_cv_use_controls"
7224 if test "$no_cache" != 1; then
7225 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7228 if test "$wxUSE_CONTROLS" = yes; then
7229 echo "$as_me:$LINENO: result: yes" >&5
7230 echo "${ECHO_T}yes" >&6
7232 echo "$as_me:$LINENO: result: no" >&5
7233 echo "${ECHO_T}no" >&6
7237 if test "$wxUSE_CONTROLS" = "yes"; then
7238 DEFAULT_wxUSE_ACCEL
=yes
7239 DEFAULT_wxUSE_BMPBUTTON
=yes
7240 DEFAULT_wxUSE_BUTTON
=yes
7241 DEFAULT_wxUSE_CALCTRL
=yes
7242 DEFAULT_wxUSE_CARET
=yes
7243 DEFAULT_wxUSE_COMBOBOX
=yes
7244 DEFAULT_wxUSE_CHECKBOX
=yes
7245 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7246 DEFAULT_wxUSE_CHOICE
=yes
7247 DEFAULT_wxUSE_CHOICEBOOK
=yes
7248 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7249 DEFAULT_wxUSE_GAUGE
=yes
7250 DEFAULT_wxUSE_GRID
=yes
7251 DEFAULT_wxUSE_IMAGLIST
=yes
7252 DEFAULT_wxUSE_LISTBOOK
=yes
7253 DEFAULT_wxUSE_LISTBOX
=yes
7254 DEFAULT_wxUSE_LISTCTRL
=yes
7255 DEFAULT_wxUSE_NOTEBOOK
=yes
7256 DEFAULT_wxUSE_RADIOBOX
=yes
7257 DEFAULT_wxUSE_RADIOBTN
=yes
7258 DEFAULT_wxUSE_SASH
=yes
7259 DEFAULT_wxUSE_SCROLLBAR
=yes
7260 DEFAULT_wxUSE_SLIDER
=yes
7261 DEFAULT_wxUSE_SPINBTN
=yes
7262 DEFAULT_wxUSE_SPINCTRL
=yes
7263 DEFAULT_wxUSE_SPLITTER
=yes
7264 DEFAULT_wxUSE_STATBMP
=yes
7265 DEFAULT_wxUSE_STATBOX
=yes
7266 DEFAULT_wxUSE_STATLINE
=yes
7267 DEFAULT_wxUSE_STATUSBAR
=yes
7268 DEFAULT_wxUSE_TAB_DIALOG
=yes
7269 DEFAULT_wxUSE_TOGGLEBTN
=yes
7270 DEFAULT_wxUSE_TOOLBAR
=yes
7271 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7272 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7273 DEFAULT_wxUSE_TOOLTIPS
=yes
7274 DEFAULT_wxUSE_TREECTRL
=yes
7275 DEFAULT_wxUSE_POPUPWIN
=yes
7276 DEFAULT_wxUSE_TIPWINDOW
=yes
7277 elif test "$wxUSE_CONTROLS" = "no"; then
7278 DEFAULT_wxUSE_ACCEL
=no
7279 DEFAULT_wxUSE_BMPBUTTON
=no
7280 DEFAULT_wxUSE_BUTTON
=no
7281 DEFAULT_wxUSE_CALCTRL
=no
7282 DEFAULT_wxUSE_CARET
=no
7283 DEFAULT_wxUSE_COMBOBOX
=no
7284 DEFAULT_wxUSE_CHECKBOX
=no
7285 DEFAULT_wxUSE_CHECKLISTBOX
=no
7286 DEFAULT_wxUSE_CHOICE
=no
7287 DEFAULT_wxUSE_CHOICEBOOK
=no
7288 DEFAULT_wxUSE_DATEPICKCTRL
=no
7289 DEFAULT_wxUSE_GAUGE
=no
7290 DEFAULT_wxUSE_GRID
=no
7291 DEFAULT_wxUSE_IMAGLIST
=no
7292 DEFAULT_wxUSE_LISTBOOK
=no
7293 DEFAULT_wxUSE_LISTBOX
=no
7294 DEFAULT_wxUSE_LISTCTRL
=no
7295 DEFAULT_wxUSE_NOTEBOOK
=no
7296 DEFAULT_wxUSE_RADIOBOX
=no
7297 DEFAULT_wxUSE_RADIOBTN
=no
7298 DEFAULT_wxUSE_SASH
=no
7299 DEFAULT_wxUSE_SCROLLBAR
=no
7300 DEFAULT_wxUSE_SLIDER
=no
7301 DEFAULT_wxUSE_SPINBTN
=no
7302 DEFAULT_wxUSE_SPINCTRL
=no
7303 DEFAULT_wxUSE_SPLITTER
=no
7304 DEFAULT_wxUSE_STATBMP
=no
7305 DEFAULT_wxUSE_STATBOX
=no
7306 DEFAULT_wxUSE_STATLINE
=no
7307 DEFAULT_wxUSE_STATUSBAR
=no
7308 DEFAULT_wxUSE_TAB_DIALOG
=no
7309 DEFAULT_wxUSE_TOGGLEBTN
=no
7310 DEFAULT_wxUSE_TOOLBAR
=no
7311 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7312 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7313 DEFAULT_wxUSE_TOOLTIPS
=no
7314 DEFAULT_wxUSE_TREECTRL
=no
7315 DEFAULT_wxUSE_POPUPWIN
=no
7316 DEFAULT_wxUSE_TIPWINDOW
=no
7321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7324 # Check whether --enable-accel or --disable-accel was given.
7325 if test "${enable_accel+set}" = set; then
7326 enableval
="$enable_accel"
7328 if test "$enableval" = yes; then
7329 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7331 ac_cv_use_accel
='wxUSE_ACCEL=no'
7336 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x
; then
7338 eval "DEFAULT_$LINE"
7343 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7347 eval "$ac_cv_use_accel"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7352 if test "$wxUSE_ACCEL" = yes; then
7353 echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6
7356 echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6
7362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7365 # Check whether --enable-button or --disable-button was given.
7366 if test "${enable_button+set}" = set; then
7367 enableval
="$enable_button"
7369 if test "$enableval" = yes; then
7370 ac_cv_use_button
='wxUSE_BUTTON=yes'
7372 ac_cv_use_button
='wxUSE_BUTTON=no'
7377 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7378 if test "x$LINE" != x
; then
7379 eval "DEFAULT_$LINE"
7384 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7388 eval "$ac_cv_use_button"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7393 if test "$wxUSE_BUTTON" = yes; then
7394 echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6
7397 echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6
7403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7406 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7407 if test "${enable_bmpbutton+set}" = set; then
7408 enableval
="$enable_bmpbutton"
7410 if test "$enableval" = yes; then
7411 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7413 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7418 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7419 if test "x$LINE" != x
; then
7420 eval "DEFAULT_$LINE"
7425 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7429 eval "$ac_cv_use_bmpbutton"
7430 if test "$no_cache" != 1; then
7431 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7434 if test "$wxUSE_BMPBUTTON" = yes; then
7435 echo "$as_me:$LINENO: result: yes" >&5
7436 echo "${ECHO_T}yes" >&6
7438 echo "$as_me:$LINENO: result: no" >&5
7439 echo "${ECHO_T}no" >&6
7444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7447 # Check whether --enable-calendar or --disable-calendar was given.
7448 if test "${enable_calendar+set}" = set; then
7449 enableval
="$enable_calendar"
7451 if test "$enableval" = yes; then
7452 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7454 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7459 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7460 if test "x$LINE" != x
; then
7461 eval "DEFAULT_$LINE"
7466 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7470 eval "$ac_cv_use_calendar"
7471 if test "$no_cache" != 1; then
7472 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7475 if test "$wxUSE_CALCTRL" = yes; then
7476 echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6
7479 echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6
7485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7488 # Check whether --enable-caret or --disable-caret was given.
7489 if test "${enable_caret+set}" = set; then
7490 enableval
="$enable_caret"
7492 if test "$enableval" = yes; then
7493 ac_cv_use_caret
='wxUSE_CARET=yes'
7495 ac_cv_use_caret
='wxUSE_CARET=no'
7500 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7501 if test "x$LINE" != x
; then
7502 eval "DEFAULT_$LINE"
7507 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7511 eval "$ac_cv_use_caret"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7516 if test "$wxUSE_CARET" = yes; then
7517 echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6
7520 echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6
7526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7527 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7529 # Check whether --enable-checkbox or --disable-checkbox was given.
7530 if test "${enable_checkbox+set}" = set; then
7531 enableval
="$enable_checkbox"
7533 if test "$enableval" = yes; then
7534 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7536 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7541 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x
; then
7543 eval "DEFAULT_$LINE"
7548 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7552 eval "$ac_cv_use_checkbox"
7553 if test "$no_cache" != 1; then
7554 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7557 if test "$wxUSE_CHECKBOX" = yes; then
7558 echo "$as_me:$LINENO: result: yes" >&5
7559 echo "${ECHO_T}yes" >&6
7561 echo "$as_me:$LINENO: result: no" >&5
7562 echo "${ECHO_T}no" >&6
7567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7568 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7570 # Check whether --enable-checklst or --disable-checklst was given.
7571 if test "${enable_checklst+set}" = set; then
7572 enableval
="$enable_checklst"
7574 if test "$enableval" = yes; then
7575 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7577 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7582 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x
; then
7584 eval "DEFAULT_$LINE"
7589 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7593 eval "$ac_cv_use_checklst"
7594 if test "$no_cache" != 1; then
7595 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7598 if test "$wxUSE_CHECKLST" = yes; then
7599 echo "$as_me:$LINENO: result: yes" >&5
7600 echo "${ECHO_T}yes" >&6
7602 echo "$as_me:$LINENO: result: no" >&5
7603 echo "${ECHO_T}no" >&6
7608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7611 # Check whether --enable-choice or --disable-choice was given.
7612 if test "${enable_choice+set}" = set; then
7613 enableval
="$enable_choice"
7615 if test "$enableval" = yes; then
7616 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7618 ac_cv_use_choice
='wxUSE_CHOICE=no'
7623 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7624 if test "x$LINE" != x
; then
7625 eval "DEFAULT_$LINE"
7630 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7634 eval "$ac_cv_use_choice"
7635 if test "$no_cache" != 1; then
7636 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7639 if test "$wxUSE_CHOICE" = yes; then
7640 echo "$as_me:$LINENO: result: yes" >&5
7641 echo "${ECHO_T}yes" >&6
7643 echo "$as_me:$LINENO: result: no" >&5
7644 echo "${ECHO_T}no" >&6
7649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7650 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7652 # Check whether --enable-choicebook or --disable-choicebook was given.
7653 if test "${enable_choicebook+set}" = set; then
7654 enableval
="$enable_choicebook"
7656 if test "$enableval" = yes; then
7657 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7659 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7664 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x
; then
7666 eval "DEFAULT_$LINE"
7671 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7675 eval "$ac_cv_use_choicebook"
7676 if test "$no_cache" != 1; then
7677 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7680 if test "$wxUSE_CHOICEBOOK" = yes; then
7681 echo "$as_me:$LINENO: result: yes" >&5
7682 echo "${ECHO_T}yes" >&6
7684 echo "$as_me:$LINENO: result: no" >&5
7685 echo "${ECHO_T}no" >&6
7690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7691 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7693 # Check whether --enable-combobox or --disable-combobox was given.
7694 if test "${enable_combobox+set}" = set; then
7695 enableval
="$enable_combobox"
7697 if test "$enableval" = yes; then
7698 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7700 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7705 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x
; then
7707 eval "DEFAULT_$LINE"
7712 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7716 eval "$ac_cv_use_combobox"
7717 if test "$no_cache" != 1; then
7718 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7721 if test "$wxUSE_COMBOBOX" = yes; then
7722 echo "$as_me:$LINENO: result: yes" >&5
7723 echo "${ECHO_T}yes" >&6
7725 echo "$as_me:$LINENO: result: no" >&5
7726 echo "${ECHO_T}no" >&6
7731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7732 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7734 # Check whether --enable-datepick or --disable-datepick was given.
7735 if test "${enable_datepick+set}" = set; then
7736 enableval
="$enable_datepick"
7738 if test "$enableval" = yes; then
7739 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7741 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7746 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x
; then
7748 eval "DEFAULT_$LINE"
7753 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7757 eval "$ac_cv_use_datepick"
7758 if test "$no_cache" != 1; then
7759 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7762 if test "$wxUSE_DATEPICKCTRL" = yes; then
7763 echo "$as_me:$LINENO: result: yes" >&5
7764 echo "${ECHO_T}yes" >&6
7766 echo "$as_me:$LINENO: result: no" >&5
7767 echo "${ECHO_T}no" >&6
7772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7773 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7775 # Check whether --enable-display or --disable-display was given.
7776 if test "${enable_display+set}" = set; then
7777 enableval
="$enable_display"
7779 if test "$enableval" = yes; then
7780 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7782 ac_cv_use_display
='wxUSE_DISPLAY=no'
7787 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7788 if test "x$LINE" != x
; then
7789 eval "DEFAULT_$LINE"
7794 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7798 eval "$ac_cv_use_display"
7799 if test "$no_cache" != 1; then
7800 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7803 if test "$wxUSE_DISPLAY" = yes; then
7804 echo "$as_me:$LINENO: result: yes" >&5
7805 echo "${ECHO_T}yes" >&6
7807 echo "$as_me:$LINENO: result: no" >&5
7808 echo "${ECHO_T}no" >&6
7813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7814 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7816 # Check whether --enable-gauge or --disable-gauge was given.
7817 if test "${enable_gauge+set}" = set; then
7818 enableval
="$enable_gauge"
7820 if test "$enableval" = yes; then
7821 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7823 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7828 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7829 if test "x$LINE" != x
; then
7830 eval "DEFAULT_$LINE"
7835 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7839 eval "$ac_cv_use_gauge"
7840 if test "$no_cache" != 1; then
7841 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7844 if test "$wxUSE_GAUGE" = yes; then
7845 echo "$as_me:$LINENO: result: yes" >&5
7846 echo "${ECHO_T}yes" >&6
7848 echo "$as_me:$LINENO: result: no" >&5
7849 echo "${ECHO_T}no" >&6
7854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7855 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7857 # Check whether --enable-grid or --disable-grid was given.
7858 if test "${enable_grid+set}" = set; then
7859 enableval
="$enable_grid"
7861 if test "$enableval" = yes; then
7862 ac_cv_use_grid
='wxUSE_GRID=yes'
7864 ac_cv_use_grid
='wxUSE_GRID=no'
7869 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7870 if test "x$LINE" != x
; then
7871 eval "DEFAULT_$LINE"
7876 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7880 eval "$ac_cv_use_grid"
7881 if test "$no_cache" != 1; then
7882 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7885 if test "$wxUSE_GRID" = yes; then
7886 echo "$as_me:$LINENO: result: yes" >&5
7887 echo "${ECHO_T}yes" >&6
7889 echo "$as_me:$LINENO: result: no" >&5
7890 echo "${ECHO_T}no" >&6
7895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7896 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7898 # Check whether --enable-imaglist or --disable-imaglist was given.
7899 if test "${enable_imaglist+set}" = set; then
7900 enableval
="$enable_imaglist"
7902 if test "$enableval" = yes; then
7903 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7905 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7910 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7911 if test "x$LINE" != x
; then
7912 eval "DEFAULT_$LINE"
7917 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7921 eval "$ac_cv_use_imaglist"
7922 if test "$no_cache" != 1; then
7923 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7926 if test "$wxUSE_IMAGLIST" = yes; then
7927 echo "$as_me:$LINENO: result: yes" >&5
7928 echo "${ECHO_T}yes" >&6
7930 echo "$as_me:$LINENO: result: no" >&5
7931 echo "${ECHO_T}no" >&6
7936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7937 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7939 # Check whether --enable-listbook or --disable-listbook was given.
7940 if test "${enable_listbook+set}" = set; then
7941 enableval
="$enable_listbook"
7943 if test "$enableval" = yes; then
7944 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7946 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7951 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7952 if test "x$LINE" != x
; then
7953 eval "DEFAULT_$LINE"
7958 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7962 eval "$ac_cv_use_listbook"
7963 if test "$no_cache" != 1; then
7964 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7967 if test "$wxUSE_LISTBOOK" = yes; then
7968 echo "$as_me:$LINENO: result: yes" >&5
7969 echo "${ECHO_T}yes" >&6
7971 echo "$as_me:$LINENO: result: no" >&5
7972 echo "${ECHO_T}no" >&6
7977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7978 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7980 # Check whether --enable-listbox or --disable-listbox was given.
7981 if test "${enable_listbox+set}" = set; then
7982 enableval
="$enable_listbox"
7984 if test "$enableval" = yes; then
7985 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7987 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7992 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7993 if test "x$LINE" != x
; then
7994 eval "DEFAULT_$LINE"
7999 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8003 eval "$ac_cv_use_listbox"
8004 if test "$no_cache" != 1; then
8005 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8008 if test "$wxUSE_LISTBOX" = yes; then
8009 echo "$as_me:$LINENO: result: yes" >&5
8010 echo "${ECHO_T}yes" >&6
8012 echo "$as_me:$LINENO: result: no" >&5
8013 echo "${ECHO_T}no" >&6
8018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8021 # Check whether --enable-listctrl or --disable-listctrl was given.
8022 if test "${enable_listctrl+set}" = set; then
8023 enableval
="$enable_listctrl"
8025 if test "$enableval" = yes; then
8026 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8028 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8033 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8034 if test "x$LINE" != x
; then
8035 eval "DEFAULT_$LINE"
8040 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8044 eval "$ac_cv_use_listctrl"
8045 if test "$no_cache" != 1; then
8046 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8049 if test "$wxUSE_LISTCTRL" = yes; then
8050 echo "$as_me:$LINENO: result: yes" >&5
8051 echo "${ECHO_T}yes" >&6
8053 echo "$as_me:$LINENO: result: no" >&5
8054 echo "${ECHO_T}no" >&6
8059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8060 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8062 # Check whether --enable-notebook or --disable-notebook was given.
8063 if test "${enable_notebook+set}" = set; then
8064 enableval
="$enable_notebook"
8066 if test "$enableval" = yes; then
8067 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8069 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8074 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8075 if test "x$LINE" != x
; then
8076 eval "DEFAULT_$LINE"
8081 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8085 eval "$ac_cv_use_notebook"
8086 if test "$no_cache" != 1; then
8087 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8090 if test "$wxUSE_NOTEBOOK" = yes; then
8091 echo "$as_me:$LINENO: result: yes" >&5
8092 echo "${ECHO_T}yes" >&6
8094 echo "$as_me:$LINENO: result: no" >&5
8095 echo "${ECHO_T}no" >&6
8100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8101 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8103 # Check whether --enable-radiobox or --disable-radiobox was given.
8104 if test "${enable_radiobox+set}" = set; then
8105 enableval
="$enable_radiobox"
8107 if test "$enableval" = yes; then
8108 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8110 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8115 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8116 if test "x$LINE" != x
; then
8117 eval "DEFAULT_$LINE"
8122 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8126 eval "$ac_cv_use_radiobox"
8127 if test "$no_cache" != 1; then
8128 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8131 if test "$wxUSE_RADIOBOX" = yes; then
8132 echo "$as_me:$LINENO: result: yes" >&5
8133 echo "${ECHO_T}yes" >&6
8135 echo "$as_me:$LINENO: result: no" >&5
8136 echo "${ECHO_T}no" >&6
8141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8142 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8144 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8145 if test "${enable_radiobtn+set}" = set; then
8146 enableval
="$enable_radiobtn"
8148 if test "$enableval" = yes; then
8149 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8151 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8156 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8157 if test "x$LINE" != x
; then
8158 eval "DEFAULT_$LINE"
8163 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8167 eval "$ac_cv_use_radiobtn"
8168 if test "$no_cache" != 1; then
8169 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8172 if test "$wxUSE_RADIOBTN" = yes; then
8173 echo "$as_me:$LINENO: result: yes" >&5
8174 echo "${ECHO_T}yes" >&6
8176 echo "$as_me:$LINENO: result: no" >&5
8177 echo "${ECHO_T}no" >&6
8182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8185 # Check whether --enable-sash or --disable-sash was given.
8186 if test "${enable_sash+set}" = set; then
8187 enableval
="$enable_sash"
8189 if test "$enableval" = yes; then
8190 ac_cv_use_sash
='wxUSE_SASH=yes'
8192 ac_cv_use_sash
='wxUSE_SASH=no'
8197 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8198 if test "x$LINE" != x
; then
8199 eval "DEFAULT_$LINE"
8204 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8208 eval "$ac_cv_use_sash"
8209 if test "$no_cache" != 1; then
8210 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8213 if test "$wxUSE_SASH" = yes; then
8214 echo "$as_me:$LINENO: result: yes" >&5
8215 echo "${ECHO_T}yes" >&6
8217 echo "$as_me:$LINENO: result: no" >&5
8218 echo "${ECHO_T}no" >&6
8223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8224 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8226 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8227 if test "${enable_scrollbar+set}" = set; then
8228 enableval
="$enable_scrollbar"
8230 if test "$enableval" = yes; then
8231 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8233 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8238 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8239 if test "x$LINE" != x
; then
8240 eval "DEFAULT_$LINE"
8245 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8249 eval "$ac_cv_use_scrollbar"
8250 if test "$no_cache" != 1; then
8251 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8254 if test "$wxUSE_SCROLLBAR" = yes; then
8255 echo "$as_me:$LINENO: result: yes" >&5
8256 echo "${ECHO_T}yes" >&6
8258 echo "$as_me:$LINENO: result: no" >&5
8259 echo "${ECHO_T}no" >&6
8264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8265 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8267 # Check whether --enable-slider or --disable-slider was given.
8268 if test "${enable_slider+set}" = set; then
8269 enableval
="$enable_slider"
8271 if test "$enableval" = yes; then
8272 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8274 ac_cv_use_slider
='wxUSE_SLIDER=no'
8279 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8280 if test "x$LINE" != x
; then
8281 eval "DEFAULT_$LINE"
8286 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8290 eval "$ac_cv_use_slider"
8291 if test "$no_cache" != 1; then
8292 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8295 if test "$wxUSE_SLIDER" = yes; then
8296 echo "$as_me:$LINENO: result: yes" >&5
8297 echo "${ECHO_T}yes" >&6
8299 echo "$as_me:$LINENO: result: no" >&5
8300 echo "${ECHO_T}no" >&6
8305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8306 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8308 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8309 if test "${enable_spinbtn+set}" = set; then
8310 enableval
="$enable_spinbtn"
8312 if test "$enableval" = yes; then
8313 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8315 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8320 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8321 if test "x$LINE" != x
; then
8322 eval "DEFAULT_$LINE"
8327 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8331 eval "$ac_cv_use_spinbtn"
8332 if test "$no_cache" != 1; then
8333 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8336 if test "$wxUSE_SPINBTN" = yes; then
8337 echo "$as_me:$LINENO: result: yes" >&5
8338 echo "${ECHO_T}yes" >&6
8340 echo "$as_me:$LINENO: result: no" >&5
8341 echo "${ECHO_T}no" >&6
8346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8349 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8350 if test "${enable_spinctrl+set}" = set; then
8351 enableval
="$enable_spinctrl"
8353 if test "$enableval" = yes; then
8354 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8356 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8361 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8362 if test "x$LINE" != x
; then
8363 eval "DEFAULT_$LINE"
8368 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8372 eval "$ac_cv_use_spinctrl"
8373 if test "$no_cache" != 1; then
8374 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8377 if test "$wxUSE_SPINCTRL" = yes; then
8378 echo "$as_me:$LINENO: result: yes" >&5
8379 echo "${ECHO_T}yes" >&6
8381 echo "$as_me:$LINENO: result: no" >&5
8382 echo "${ECHO_T}no" >&6
8387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8388 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8390 # Check whether --enable-splitter or --disable-splitter was given.
8391 if test "${enable_splitter+set}" = set; then
8392 enableval
="$enable_splitter"
8394 if test "$enableval" = yes; then
8395 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8397 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8402 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8403 if test "x$LINE" != x
; then
8404 eval "DEFAULT_$LINE"
8409 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8413 eval "$ac_cv_use_splitter"
8414 if test "$no_cache" != 1; then
8415 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8418 if test "$wxUSE_SPLITTER" = yes; then
8419 echo "$as_me:$LINENO: result: yes" >&5
8420 echo "${ECHO_T}yes" >&6
8422 echo "$as_me:$LINENO: result: no" >&5
8423 echo "${ECHO_T}no" >&6
8428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8429 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8431 # Check whether --enable-statbmp or --disable-statbmp was given.
8432 if test "${enable_statbmp+set}" = set; then
8433 enableval
="$enable_statbmp"
8435 if test "$enableval" = yes; then
8436 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8438 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8443 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8444 if test "x$LINE" != x
; then
8445 eval "DEFAULT_$LINE"
8450 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8454 eval "$ac_cv_use_statbmp"
8455 if test "$no_cache" != 1; then
8456 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8459 if test "$wxUSE_STATBMP" = yes; then
8460 echo "$as_me:$LINENO: result: yes" >&5
8461 echo "${ECHO_T}yes" >&6
8463 echo "$as_me:$LINENO: result: no" >&5
8464 echo "${ECHO_T}no" >&6
8469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8470 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8472 # Check whether --enable-statbox or --disable-statbox was given.
8473 if test "${enable_statbox+set}" = set; then
8474 enableval
="$enable_statbox"
8476 if test "$enableval" = yes; then
8477 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8479 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8484 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8485 if test "x$LINE" != x
; then
8486 eval "DEFAULT_$LINE"
8491 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8495 eval "$ac_cv_use_statbox"
8496 if test "$no_cache" != 1; then
8497 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8500 if test "$wxUSE_STATBOX" = yes; then
8501 echo "$as_me:$LINENO: result: yes" >&5
8502 echo "${ECHO_T}yes" >&6
8504 echo "$as_me:$LINENO: result: no" >&5
8505 echo "${ECHO_T}no" >&6
8510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8511 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8513 # Check whether --enable-statline or --disable-statline was given.
8514 if test "${enable_statline+set}" = set; then
8515 enableval
="$enable_statline"
8517 if test "$enableval" = yes; then
8518 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8520 ac_cv_use_statline
='wxUSE_STATLINE=no'
8525 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8526 if test "x$LINE" != x
; then
8527 eval "DEFAULT_$LINE"
8532 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8536 eval "$ac_cv_use_statline"
8537 if test "$no_cache" != 1; then
8538 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8541 if test "$wxUSE_STATLINE" = yes; then
8542 echo "$as_me:$LINENO: result: yes" >&5
8543 echo "${ECHO_T}yes" >&6
8545 echo "$as_me:$LINENO: result: no" >&5
8546 echo "${ECHO_T}no" >&6
8551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8552 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8554 # Check whether --enable-stattext or --disable-stattext was given.
8555 if test "${enable_stattext+set}" = set; then
8556 enableval
="$enable_stattext"
8558 if test "$enableval" = yes; then
8559 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8561 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8566 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x
; then
8568 eval "DEFAULT_$LINE"
8573 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8577 eval "$ac_cv_use_stattext"
8578 if test "$no_cache" != 1; then
8579 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8582 if test "$wxUSE_STATTEXT" = yes; then
8583 echo "$as_me:$LINENO: result: yes" >&5
8584 echo "${ECHO_T}yes" >&6
8586 echo "$as_me:$LINENO: result: no" >&5
8587 echo "${ECHO_T}no" >&6
8592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8593 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8595 # Check whether --enable-statusbar or --disable-statusbar was given.
8596 if test "${enable_statusbar+set}" = set; then
8597 enableval
="$enable_statusbar"
8599 if test "$enableval" = yes; then
8600 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8602 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8607 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8608 if test "x$LINE" != x
; then
8609 eval "DEFAULT_$LINE"
8614 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8618 eval "$ac_cv_use_statusbar"
8619 if test "$no_cache" != 1; then
8620 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8623 if test "$wxUSE_STATUSBAR" = yes; then
8624 echo "$as_me:$LINENO: result: yes" >&5
8625 echo "${ECHO_T}yes" >&6
8627 echo "$as_me:$LINENO: result: no" >&5
8628 echo "${ECHO_T}no" >&6
8633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8636 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8637 if test "${enable_tabdialog+set}" = set; then
8638 enableval
="$enable_tabdialog"
8640 if test "$enableval" = yes; then
8641 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8643 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8648 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8649 if test "x$LINE" != x
; then
8650 eval "DEFAULT_$LINE"
8655 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8659 eval "$ac_cv_use_tabdialog"
8660 if test "$no_cache" != 1; then
8661 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8664 if test "$wxUSE_TABDIALOG" = yes; then
8665 echo "$as_me:$LINENO: result: yes" >&5
8666 echo "${ECHO_T}yes" >&6
8668 echo "$as_me:$LINENO: result: no" >&5
8669 echo "${ECHO_T}no" >&6
8674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8675 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8677 # Check whether --enable-textctrl or --disable-textctrl was given.
8678 if test "${enable_textctrl+set}" = set; then
8679 enableval
="$enable_textctrl"
8681 if test "$enableval" = yes; then
8682 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8684 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8689 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8690 if test "x$LINE" != x
; then
8691 eval "DEFAULT_$LINE"
8696 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8700 eval "$ac_cv_use_textctrl"
8701 if test "$no_cache" != 1; then
8702 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8705 if test "$wxUSE_TEXTCTRL" = yes; then
8706 echo "$as_me:$LINENO: result: yes" >&5
8707 echo "${ECHO_T}yes" >&6
8709 echo "$as_me:$LINENO: result: no" >&5
8710 echo "${ECHO_T}no" >&6
8715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8718 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8719 if test "${enable_togglebtn+set}" = set; then
8720 enableval
="$enable_togglebtn"
8722 if test "$enableval" = yes; then
8723 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8725 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8730 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8731 if test "x$LINE" != x
; then
8732 eval "DEFAULT_$LINE"
8737 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8741 eval "$ac_cv_use_togglebtn"
8742 if test "$no_cache" != 1; then
8743 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8746 if test "$wxUSE_TOGGLEBTN" = yes; then
8747 echo "$as_me:$LINENO: result: yes" >&5
8748 echo "${ECHO_T}yes" >&6
8750 echo "$as_me:$LINENO: result: no" >&5
8751 echo "${ECHO_T}no" >&6
8756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8757 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8759 # Check whether --enable-toolbar or --disable-toolbar was given.
8760 if test "${enable_toolbar+set}" = set; then
8761 enableval
="$enable_toolbar"
8763 if test "$enableval" = yes; then
8764 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8766 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8771 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8772 if test "x$LINE" != x
; then
8773 eval "DEFAULT_$LINE"
8778 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8782 eval "$ac_cv_use_toolbar"
8783 if test "$no_cache" != 1; then
8784 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8787 if test "$wxUSE_TOOLBAR" = yes; then
8788 echo "$as_me:$LINENO: result: yes" >&5
8789 echo "${ECHO_T}yes" >&6
8791 echo "$as_me:$LINENO: result: no" >&5
8792 echo "${ECHO_T}no" >&6
8797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8798 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8800 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8801 if test "${enable_tbarnative+set}" = set; then
8802 enableval
="$enable_tbarnative"
8804 if test "$enableval" = yes; then
8805 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8807 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8812 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8813 if test "x$LINE" != x
; then
8814 eval "DEFAULT_$LINE"
8819 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8823 eval "$ac_cv_use_tbarnative"
8824 if test "$no_cache" != 1; then
8825 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8828 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8829 echo "$as_me:$LINENO: result: yes" >&5
8830 echo "${ECHO_T}yes" >&6
8832 echo "$as_me:$LINENO: result: no" >&5
8833 echo "${ECHO_T}no" >&6
8838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8839 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8841 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8842 if test "${enable_tbarsmpl+set}" = set; then
8843 enableval
="$enable_tbarsmpl"
8845 if test "$enableval" = yes; then
8846 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8848 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8853 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8854 if test "x$LINE" != x
; then
8855 eval "DEFAULT_$LINE"
8860 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8864 eval "$ac_cv_use_tbarsmpl"
8865 if test "$no_cache" != 1; then
8866 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8869 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8870 echo "$as_me:$LINENO: result: yes" >&5
8871 echo "${ECHO_T}yes" >&6
8873 echo "$as_me:$LINENO: result: no" >&5
8874 echo "${ECHO_T}no" >&6
8879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8880 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8882 # Check whether --enable-treectrl or --disable-treectrl was given.
8883 if test "${enable_treectrl+set}" = set; then
8884 enableval
="$enable_treectrl"
8886 if test "$enableval" = yes; then
8887 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8889 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8894 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x
; then
8896 eval "DEFAULT_$LINE"
8901 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8905 eval "$ac_cv_use_treectrl"
8906 if test "$no_cache" != 1; then
8907 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8910 if test "$wxUSE_TREECTRL" = yes; then
8911 echo "$as_me:$LINENO: result: yes" >&5
8912 echo "${ECHO_T}yes" >&6
8914 echo "$as_me:$LINENO: result: no" >&5
8915 echo "${ECHO_T}no" >&6
8920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8921 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8923 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8924 if test "${enable_tipwindow+set}" = set; then
8925 enableval
="$enable_tipwindow"
8927 if test "$enableval" = yes; then
8928 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8930 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8935 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x
; then
8937 eval "DEFAULT_$LINE"
8942 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8946 eval "$ac_cv_use_tipwindow"
8947 if test "$no_cache" != 1; then
8948 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8951 if test "$wxUSE_TIPWINDOW" = yes; then
8952 echo "$as_me:$LINENO: result: yes" >&5
8953 echo "${ECHO_T}yes" >&6
8955 echo "$as_me:$LINENO: result: no" >&5
8956 echo "${ECHO_T}no" >&6
8961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8962 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8964 # Check whether --enable-popupwin or --disable-popupwin was given.
8965 if test "${enable_popupwin+set}" = set; then
8966 enableval
="$enable_popupwin"
8968 if test "$enableval" = yes; then
8969 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8971 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8976 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8977 if test "x$LINE" != x
; then
8978 eval "DEFAULT_$LINE"
8983 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8987 eval "$ac_cv_use_popupwin"
8988 if test "$no_cache" != 1; then
8989 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8992 if test "$wxUSE_POPUPWIN" = yes; then
8993 echo "$as_me:$LINENO: result: yes" >&5
8994 echo "${ECHO_T}yes" >&6
8996 echo "$as_me:$LINENO: result: no" >&5
8997 echo "${ECHO_T}no" >&6
9004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9007 # Check whether --enable-commondlg or --disable-commondlg was given.
9008 if test "${enable_commondlg+set}" = set; then
9009 enableval
="$enable_commondlg"
9011 if test "$enableval" = yes; then
9012 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9014 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9019 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9020 if test "x$LINE" != x
; then
9021 eval "DEFAULT_$LINE"
9026 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9030 eval "$ac_cv_use_commondlg"
9031 if test "$no_cache" != 1; then
9032 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9035 if test "$wxUSE_COMMONDLGS" = yes; then
9036 echo "$as_me:$LINENO: result: yes" >&5
9037 echo "${ECHO_T}yes" >&6
9039 echo "$as_me:$LINENO: result: no" >&5
9040 echo "${ECHO_T}no" >&6
9045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9046 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9048 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9049 if test "${enable_choicedlg+set}" = set; then
9050 enableval
="$enable_choicedlg"
9052 if test "$enableval" = yes; then
9053 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9055 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9060 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x
; then
9062 eval "DEFAULT_$LINE"
9067 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9071 eval "$ac_cv_use_choicedlg"
9072 if test "$no_cache" != 1; then
9073 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9076 if test "$wxUSE_CHOICEDLG" = yes; then
9077 echo "$as_me:$LINENO: result: yes" >&5
9078 echo "${ECHO_T}yes" >&6
9080 echo "$as_me:$LINENO: result: no" >&5
9081 echo "${ECHO_T}no" >&6
9086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9087 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9089 # Check whether --enable-coldlg or --disable-coldlg was given.
9090 if test "${enable_coldlg+set}" = set; then
9091 enableval
="$enable_coldlg"
9093 if test "$enableval" = yes; then
9094 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9096 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9101 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x
; then
9103 eval "DEFAULT_$LINE"
9108 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9112 eval "$ac_cv_use_coldlg"
9113 if test "$no_cache" != 1; then
9114 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9117 if test "$wxUSE_COLOURDLG" = yes; then
9118 echo "$as_me:$LINENO: result: yes" >&5
9119 echo "${ECHO_T}yes" >&6
9121 echo "$as_me:$LINENO: result: no" >&5
9122 echo "${ECHO_T}no" >&6
9127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9128 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9130 # Check whether --enable-filedlg or --disable-filedlg was given.
9131 if test "${enable_filedlg+set}" = set; then
9132 enableval
="$enable_filedlg"
9134 if test "$enableval" = yes; then
9135 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9137 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9142 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9143 if test "x$LINE" != x
; then
9144 eval "DEFAULT_$LINE"
9149 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9153 eval "$ac_cv_use_filedlg"
9154 if test "$no_cache" != 1; then
9155 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9158 if test "$wxUSE_FILEDLG" = yes; then
9159 echo "$as_me:$LINENO: result: yes" >&5
9160 echo "${ECHO_T}yes" >&6
9162 echo "$as_me:$LINENO: result: no" >&5
9163 echo "${ECHO_T}no" >&6
9168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9171 # Check whether --enable-finddlg or --disable-finddlg was given.
9172 if test "${enable_finddlg+set}" = set; then
9173 enableval
="$enable_finddlg"
9175 if test "$enableval" = yes; then
9176 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9178 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9183 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9184 if test "x$LINE" != x
; then
9185 eval "DEFAULT_$LINE"
9190 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9194 eval "$ac_cv_use_finddlg"
9195 if test "$no_cache" != 1; then
9196 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9199 if test "$wxUSE_FINDREPLDLG" = yes; then
9200 echo "$as_me:$LINENO: result: yes" >&5
9201 echo "${ECHO_T}yes" >&6
9203 echo "$as_me:$LINENO: result: no" >&5
9204 echo "${ECHO_T}no" >&6
9209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9212 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9213 if test "${enable_fontdlg+set}" = set; then
9214 enableval
="$enable_fontdlg"
9216 if test "$enableval" = yes; then
9217 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9219 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9224 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9225 if test "x$LINE" != x
; then
9226 eval "DEFAULT_$LINE"
9231 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9235 eval "$ac_cv_use_fontdlg"
9236 if test "$no_cache" != 1; then
9237 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9240 if test "$wxUSE_FONTDLG" = yes; then
9241 echo "$as_me:$LINENO: result: yes" >&5
9242 echo "${ECHO_T}yes" >&6
9244 echo "$as_me:$LINENO: result: no" >&5
9245 echo "${ECHO_T}no" >&6
9250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9253 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9254 if test "${enable_dirdlg+set}" = set; then
9255 enableval
="$enable_dirdlg"
9257 if test "$enableval" = yes; then
9258 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9260 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9265 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9266 if test "x$LINE" != x
; then
9267 eval "DEFAULT_$LINE"
9272 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9276 eval "$ac_cv_use_dirdlg"
9277 if test "$no_cache" != 1; then
9278 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9281 if test "$wxUSE_DIRDLG" = yes; then
9282 echo "$as_me:$LINENO: result: yes" >&5
9283 echo "${ECHO_T}yes" >&6
9285 echo "$as_me:$LINENO: result: no" >&5
9286 echo "${ECHO_T}no" >&6
9291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9292 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9294 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9295 if test "${enable_msgdlg+set}" = set; then
9296 enableval
="$enable_msgdlg"
9298 if test "$enableval" = yes; then
9299 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9301 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9306 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9307 if test "x$LINE" != x
; then
9308 eval "DEFAULT_$LINE"
9313 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9317 eval "$ac_cv_use_msgdlg"
9318 if test "$no_cache" != 1; then
9319 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9322 if test "$wxUSE_MSGDLG" = yes; then
9323 echo "$as_me:$LINENO: result: yes" >&5
9324 echo "${ECHO_T}yes" >&6
9326 echo "$as_me:$LINENO: result: no" >&5
9327 echo "${ECHO_T}no" >&6
9332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9333 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9335 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9336 if test "${enable_numberdlg+set}" = set; then
9337 enableval
="$enable_numberdlg"
9339 if test "$enableval" = yes; then
9340 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9342 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9347 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9348 if test "x$LINE" != x
; then
9349 eval "DEFAULT_$LINE"
9354 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9358 eval "$ac_cv_use_numberdlg"
9359 if test "$no_cache" != 1; then
9360 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9363 if test "$wxUSE_NUMBERDLG" = yes; then
9364 echo "$as_me:$LINENO: result: yes" >&5
9365 echo "${ECHO_T}yes" >&6
9367 echo "$as_me:$LINENO: result: no" >&5
9368 echo "${ECHO_T}no" >&6
9373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9374 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9376 # Check whether --enable-splash or --disable-splash was given.
9377 if test "${enable_splash+set}" = set; then
9378 enableval
="$enable_splash"
9380 if test "$enableval" = yes; then
9381 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9383 ac_cv_use_splash
='wxUSE_SPLASH=no'
9388 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x
; then
9390 eval "DEFAULT_$LINE"
9395 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9399 eval "$ac_cv_use_splash"
9400 if test "$no_cache" != 1; then
9401 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9404 if test "$wxUSE_SPLASH" = yes; then
9405 echo "$as_me:$LINENO: result: yes" >&5
9406 echo "${ECHO_T}yes" >&6
9408 echo "$as_me:$LINENO: result: no" >&5
9409 echo "${ECHO_T}no" >&6
9414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9415 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9417 # Check whether --enable-textdlg or --disable-textdlg was given.
9418 if test "${enable_textdlg+set}" = set; then
9419 enableval
="$enable_textdlg"
9421 if test "$enableval" = yes; then
9422 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9424 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9429 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9430 if test "x$LINE" != x
; then
9431 eval "DEFAULT_$LINE"
9436 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9440 eval "$ac_cv_use_textdlg"
9441 if test "$no_cache" != 1; then
9442 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9445 if test "$wxUSE_TEXTDLG" = yes; then
9446 echo "$as_me:$LINENO: result: yes" >&5
9447 echo "${ECHO_T}yes" >&6
9449 echo "$as_me:$LINENO: result: no" >&5
9450 echo "${ECHO_T}no" >&6
9455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9456 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9458 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9459 if test "${enable_tipdlg+set}" = set; then
9460 enableval
="$enable_tipdlg"
9462 if test "$enableval" = yes; then
9463 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9465 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9470 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9471 if test "x$LINE" != x
; then
9472 eval "DEFAULT_$LINE"
9477 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9481 eval "$ac_cv_use_tipdlg"
9482 if test "$no_cache" != 1; then
9483 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9486 if test "$wxUSE_STARTUP_TIPS" = yes; then
9487 echo "$as_me:$LINENO: result: yes" >&5
9488 echo "${ECHO_T}yes" >&6
9490 echo "$as_me:$LINENO: result: no" >&5
9491 echo "${ECHO_T}no" >&6
9496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9497 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9499 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9500 if test "${enable_progressdlg+set}" = set; then
9501 enableval
="$enable_progressdlg"
9503 if test "$enableval" = yes; then
9504 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9506 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9511 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9512 if test "x$LINE" != x
; then
9513 eval "DEFAULT_$LINE"
9518 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9522 eval "$ac_cv_use_progressdlg"
9523 if test "$no_cache" != 1; then
9524 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9527 if test "$wxUSE_PROGRESSDLG" = yes; then
9528 echo "$as_me:$LINENO: result: yes" >&5
9529 echo "${ECHO_T}yes" >&6
9531 echo "$as_me:$LINENO: result: no" >&5
9532 echo "${ECHO_T}no" >&6
9537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9538 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9540 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9541 if test "${enable_wizarddlg+set}" = set; then
9542 enableval
="$enable_wizarddlg"
9544 if test "$enableval" = yes; then
9545 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9547 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9552 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9553 if test "x$LINE" != x
; then
9554 eval "DEFAULT_$LINE"
9559 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9563 eval "$ac_cv_use_wizarddlg"
9564 if test "$no_cache" != 1; then
9565 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9568 if test "$wxUSE_WIZARDDLG" = yes; then
9569 echo "$as_me:$LINENO: result: yes" >&5
9570 echo "${ECHO_T}yes" >&6
9572 echo "$as_me:$LINENO: result: no" >&5
9573 echo "${ECHO_T}no" >&6
9580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9583 # Check whether --enable-menus or --disable-menus was given.
9584 if test "${enable_menus+set}" = set; then
9585 enableval
="$enable_menus"
9587 if test "$enableval" = yes; then
9588 ac_cv_use_menus
='wxUSE_MENUS=yes'
9590 ac_cv_use_menus
='wxUSE_MENUS=no'
9595 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9596 if test "x$LINE" != x
; then
9597 eval "DEFAULT_$LINE"
9602 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9606 eval "$ac_cv_use_menus"
9607 if test "$no_cache" != 1; then
9608 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9611 if test "$wxUSE_MENUS" = yes; then
9612 echo "$as_me:$LINENO: result: yes" >&5
9613 echo "${ECHO_T}yes" >&6
9615 echo "$as_me:$LINENO: result: no" >&5
9616 echo "${ECHO_T}no" >&6
9621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9624 # Check whether --enable-miniframe or --disable-miniframe was given.
9625 if test "${enable_miniframe+set}" = set; then
9626 enableval
="$enable_miniframe"
9628 if test "$enableval" = yes; then
9629 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9631 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9636 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9637 if test "x$LINE" != x
; then
9638 eval "DEFAULT_$LINE"
9643 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9647 eval "$ac_cv_use_miniframe"
9648 if test "$no_cache" != 1; then
9649 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9652 if test "$wxUSE_MINIFRAME" = yes; then
9653 echo "$as_me:$LINENO: result: yes" >&5
9654 echo "${ECHO_T}yes" >&6
9656 echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6
9662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9663 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9665 # Check whether --enable-tooltips or --disable-tooltips was given.
9666 if test "${enable_tooltips+set}" = set; then
9667 enableval
="$enable_tooltips"
9669 if test "$enableval" = yes; then
9670 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9672 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9677 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9678 if test "x$LINE" != x
; then
9679 eval "DEFAULT_$LINE"
9684 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9688 eval "$ac_cv_use_tooltips"
9689 if test "$no_cache" != 1; then
9690 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9693 if test "$wxUSE_TOOLTIPS" = yes; then
9694 echo "$as_me:$LINENO: result: yes" >&5
9695 echo "${ECHO_T}yes" >&6
9697 echo "$as_me:$LINENO: result: no" >&5
9698 echo "${ECHO_T}no" >&6
9703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9704 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9706 # Check whether --enable-splines or --disable-splines was given.
9707 if test "${enable_splines+set}" = set; then
9708 enableval
="$enable_splines"
9710 if test "$enableval" = yes; then
9711 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9713 ac_cv_use_splines
='wxUSE_SPLINES=no'
9718 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9719 if test "x$LINE" != x
; then
9720 eval "DEFAULT_$LINE"
9725 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9729 eval "$ac_cv_use_splines"
9730 if test "$no_cache" != 1; then
9731 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9734 if test "$wxUSE_SPLINES" = yes; then
9735 echo "$as_me:$LINENO: result: yes" >&5
9736 echo "${ECHO_T}yes" >&6
9738 echo "$as_me:$LINENO: result: no" >&5
9739 echo "${ECHO_T}no" >&6
9744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9745 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9747 # Check whether --enable-validators or --disable-validators was given.
9748 if test "${enable_validators+set}" = set; then
9749 enableval
="$enable_validators"
9751 if test "$enableval" = yes; then
9752 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9754 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9759 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9760 if test "x$LINE" != x
; then
9761 eval "DEFAULT_$LINE"
9766 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9770 eval "$ac_cv_use_validators"
9771 if test "$no_cache" != 1; then
9772 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9775 if test "$wxUSE_VALIDATORS" = yes; then
9776 echo "$as_me:$LINENO: result: yes" >&5
9777 echo "${ECHO_T}yes" >&6
9779 echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6
9785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9786 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9788 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9789 if test "${enable_busyinfo+set}" = set; then
9790 enableval
="$enable_busyinfo"
9792 if test "$enableval" = yes; then
9793 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9795 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9800 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9801 if test "x$LINE" != x
; then
9802 eval "DEFAULT_$LINE"
9807 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9811 eval "$ac_cv_use_busyinfo"
9812 if test "$no_cache" != 1; then
9813 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9816 if test "$wxUSE_BUSYINFO" = yes; then
9817 echo "$as_me:$LINENO: result: yes" >&5
9818 echo "${ECHO_T}yes" >&6
9820 echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6
9826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9829 # Check whether --enable-joystick or --disable-joystick was given.
9830 if test "${enable_joystick+set}" = set; then
9831 enableval
="$enable_joystick"
9833 if test "$enableval" = yes; then
9834 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9836 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9841 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9842 if test "x$LINE" != x
; then
9843 eval "DEFAULT_$LINE"
9848 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9852 eval "$ac_cv_use_joystick"
9853 if test "$no_cache" != 1; then
9854 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9857 if test "$wxUSE_JOYSTICK" = yes; then
9858 echo "$as_me:$LINENO: result: yes" >&5
9859 echo "${ECHO_T}yes" >&6
9861 echo "$as_me:$LINENO: result: no" >&5
9862 echo "${ECHO_T}no" >&6
9867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9868 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9870 # Check whether --enable-metafile or --disable-metafile was given.
9871 if test "${enable_metafile+set}" = set; then
9872 enableval
="$enable_metafile"
9874 if test "$enableval" = yes; then
9875 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9877 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9882 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9883 if test "x$LINE" != x
; then
9884 eval "DEFAULT_$LINE"
9889 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9893 eval "$ac_cv_use_metafile"
9894 if test "$no_cache" != 1; then
9895 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9898 if test "$wxUSE_METAFILE" = yes; then
9899 echo "$as_me:$LINENO: result: yes" >&5
9900 echo "${ECHO_T}yes" >&6
9902 echo "$as_me:$LINENO: result: no" >&5
9903 echo "${ECHO_T}no" >&6
9908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9909 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9911 # Check whether --enable-dragimage or --disable-dragimage was given.
9912 if test "${enable_dragimage+set}" = set; then
9913 enableval
="$enable_dragimage"
9915 if test "$enableval" = yes; then
9916 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9918 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9923 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9924 if test "x$LINE" != x
; then
9925 eval "DEFAULT_$LINE"
9930 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9934 eval "$ac_cv_use_dragimage"
9935 if test "$no_cache" != 1; then
9936 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9939 if test "$wxUSE_DRAGIMAGE" = yes; then
9940 echo "$as_me:$LINENO: result: yes" >&5
9941 echo "${ECHO_T}yes" >&6
9943 echo "$as_me:$LINENO: result: no" >&5
9944 echo "${ECHO_T}no" >&6
9949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9952 # Check whether --enable-accessibility or --disable-accessibility was given.
9953 if test "${enable_accessibility+set}" = set; then
9954 enableval
="$enable_accessibility"
9956 if test "$enableval" = yes; then
9957 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9959 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9964 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9965 if test "x$LINE" != x
; then
9966 eval "DEFAULT_$LINE"
9971 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9975 eval "$ac_cv_use_accessibility"
9976 if test "$no_cache" != 1; then
9977 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9980 if test "$wxUSE_ACCESSIBILITY" = yes; then
9981 echo "$as_me:$LINENO: result: yes" >&5
9982 echo "${ECHO_T}yes" >&6
9984 echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6
9992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9993 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9995 # Check whether --enable-palette or --disable-palette was given.
9996 if test "${enable_palette+set}" = set; then
9997 enableval
="$enable_palette"
9999 if test "$enableval" = yes; then
10000 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10002 ac_cv_use_palette
='wxUSE_PALETTE=no'
10007 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10008 if test "x$LINE" != x
; then
10009 eval "DEFAULT_$LINE"
10014 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10018 eval "$ac_cv_use_palette"
10019 if test "$no_cache" != 1; then
10020 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10023 if test "$wxUSE_PALETTE" = yes; then
10024 echo "$as_me:$LINENO: result: yes" >&5
10025 echo "${ECHO_T}yes" >&6
10027 echo "$as_me:$LINENO: result: no" >&5
10028 echo "${ECHO_T}no" >&6
10033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10034 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10036 # Check whether --enable-image or --disable-image was given.
10037 if test "${enable_image+set}" = set; then
10038 enableval
="$enable_image"
10040 if test "$enableval" = yes; then
10041 ac_cv_use_image
='wxUSE_IMAGE=yes'
10043 ac_cv_use_image
='wxUSE_IMAGE=no'
10048 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10049 if test "x$LINE" != x
; then
10050 eval "DEFAULT_$LINE"
10055 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10059 eval "$ac_cv_use_image"
10060 if test "$no_cache" != 1; then
10061 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10064 if test "$wxUSE_IMAGE" = yes; then
10065 echo "$as_me:$LINENO: result: yes" >&5
10066 echo "${ECHO_T}yes" >&6
10068 echo "$as_me:$LINENO: result: no" >&5
10069 echo "${ECHO_T}no" >&6
10074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10075 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10077 # Check whether --enable-gif or --disable-gif was given.
10078 if test "${enable_gif+set}" = set; then
10079 enableval
="$enable_gif"
10081 if test "$enableval" = yes; then
10082 ac_cv_use_gif
='wxUSE_GIF=yes'
10084 ac_cv_use_gif
='wxUSE_GIF=no'
10089 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10090 if test "x$LINE" != x
; then
10091 eval "DEFAULT_$LINE"
10096 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10100 eval "$ac_cv_use_gif"
10101 if test "$no_cache" != 1; then
10102 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10105 if test "$wxUSE_GIF" = yes; then
10106 echo "$as_me:$LINENO: result: yes" >&5
10107 echo "${ECHO_T}yes" >&6
10109 echo "$as_me:$LINENO: result: no" >&5
10110 echo "${ECHO_T}no" >&6
10115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10116 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10118 # Check whether --enable-pcx or --disable-pcx was given.
10119 if test "${enable_pcx+set}" = set; then
10120 enableval
="$enable_pcx"
10122 if test "$enableval" = yes; then
10123 ac_cv_use_pcx
='wxUSE_PCX=yes'
10125 ac_cv_use_pcx
='wxUSE_PCX=no'
10130 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10131 if test "x$LINE" != x
; then
10132 eval "DEFAULT_$LINE"
10137 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10141 eval "$ac_cv_use_pcx"
10142 if test "$no_cache" != 1; then
10143 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10146 if test "$wxUSE_PCX" = yes; then
10147 echo "$as_me:$LINENO: result: yes" >&5
10148 echo "${ECHO_T}yes" >&6
10150 echo "$as_me:$LINENO: result: no" >&5
10151 echo "${ECHO_T}no" >&6
10156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10157 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10159 # Check whether --enable-iff or --disable-iff was given.
10160 if test "${enable_iff+set}" = set; then
10161 enableval
="$enable_iff"
10163 if test "$enableval" = yes; then
10164 ac_cv_use_iff
='wxUSE_IFF=yes'
10166 ac_cv_use_iff
='wxUSE_IFF=no'
10171 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10172 if test "x$LINE" != x
; then
10173 eval "DEFAULT_$LINE"
10178 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10182 eval "$ac_cv_use_iff"
10183 if test "$no_cache" != 1; then
10184 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10187 if test "$wxUSE_IFF" = yes; then
10188 echo "$as_me:$LINENO: result: yes" >&5
10189 echo "${ECHO_T}yes" >&6
10191 echo "$as_me:$LINENO: result: no" >&5
10192 echo "${ECHO_T}no" >&6
10197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10198 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10200 # Check whether --enable-pnm or --disable-pnm was given.
10201 if test "${enable_pnm+set}" = set; then
10202 enableval
="$enable_pnm"
10204 if test "$enableval" = yes; then
10205 ac_cv_use_pnm
='wxUSE_PNM=yes'
10207 ac_cv_use_pnm
='wxUSE_PNM=no'
10212 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10213 if test "x$LINE" != x
; then
10214 eval "DEFAULT_$LINE"
10219 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10223 eval "$ac_cv_use_pnm"
10224 if test "$no_cache" != 1; then
10225 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10228 if test "$wxUSE_PNM" = yes; then
10229 echo "$as_me:$LINENO: result: yes" >&5
10230 echo "${ECHO_T}yes" >&6
10232 echo "$as_me:$LINENO: result: no" >&5
10233 echo "${ECHO_T}no" >&6
10238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10239 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10241 # Check whether --enable-xpm or --disable-xpm was given.
10242 if test "${enable_xpm+set}" = set; then
10243 enableval
="$enable_xpm"
10245 if test "$enableval" = yes; then
10246 ac_cv_use_xpm
='wxUSE_XPM=yes'
10248 ac_cv_use_xpm
='wxUSE_XPM=no'
10253 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10254 if test "x$LINE" != x
; then
10255 eval "DEFAULT_$LINE"
10260 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10264 eval "$ac_cv_use_xpm"
10265 if test "$no_cache" != 1; then
10266 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10269 if test "$wxUSE_XPM" = yes; then
10270 echo "$as_me:$LINENO: result: yes" >&5
10271 echo "${ECHO_T}yes" >&6
10273 echo "$as_me:$LINENO: result: no" >&5
10274 echo "${ECHO_T}no" >&6
10279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10280 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10282 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10283 if test "${enable_ico_cur+set}" = set; then
10284 enableval
="$enable_ico_cur"
10286 if test "$enableval" = yes; then
10287 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10289 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10294 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10295 if test "x$LINE" != x
; then
10296 eval "DEFAULT_$LINE"
10301 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10305 eval "$ac_cv_use_ico_cur"
10306 if test "$no_cache" != 1; then
10307 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10310 if test "$wxUSE_ICO_CUR" = yes; then
10311 echo "$as_me:$LINENO: result: yes" >&5
10312 echo "${ECHO_T}yes" >&6
10314 echo "$as_me:$LINENO: result: no" >&5
10315 echo "${ECHO_T}no" >&6
10323 # Check whether --with-flavour or --without-flavour was given.
10324 if test "${with_flavour+set}" = set; then
10325 withval
="$with_flavour"
10326 WX_FLAVOUR
="$withval"
10332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10333 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10335 # Check whether --enable-official_build or --disable-official_build was given.
10336 if test "${enable_official_build+set}" = set; then
10337 enableval
="$enable_official_build"
10339 if test "$enableval" = yes; then
10340 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10342 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10347 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10348 if test "x$LINE" != x
; then
10349 eval "DEFAULT_$LINE"
10354 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10358 eval "$ac_cv_use_official_build"
10359 if test "$no_cache" != 1; then
10360 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10363 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10364 echo "$as_me:$LINENO: result: yes" >&5
10365 echo "${ECHO_T}yes" >&6
10367 echo "$as_me:$LINENO: result: no" >&5
10368 echo "${ECHO_T}no" >&6
10371 # Check whether --enable-vendor or --disable-vendor was given.
10372 if test "${enable_vendor+set}" = set; then
10373 enableval
="$enable_vendor"
10374 VENDOR
="$enableval"
10376 if test "x$VENDOR" = "x"; then
10383 echo "saving argument cache $wx_arg_cache_file"
10384 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10388 echo "$as_me:$LINENO: checking for toolkit" >&5
10389 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10391 # In Wine, we need to default to MSW, not GTK or MOTIF
10392 if test "$wxUSE_WINE" = "yes"; then
10393 DEFAULT_DEFAULT_wxUSE_GTK
=0
10394 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10395 DEFAULT_DEFAULT_wxUSE_MSW
=1
10399 if test "$wxUSE_GUI" = "yes"; then
10401 if test "$USE_BEOS" = 1; then
10402 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10403 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10404 { (exit 1); exit 1; }; }
10407 if test "$TOOLKIT_GIVEN" = 1; then
10408 for toolkit
in `echo $ALL_TOOLKITS`; do
10410 eval "value=\$${var}"
10411 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10414 for toolkit
in `echo $ALL_TOOLKITS`; do
10415 if test "$has_toolkit_in_cache" != 1; then
10416 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10418 var
=DEFAULT_wxUSE_
$toolkit
10420 eval "wxUSE_$toolkit=\$${var}"
10424 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10425 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10426 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10429 *-pc-os2_emx | *-pc-os2-emx )
10430 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10433 case "$NUM_TOOLKITS" in
10437 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10438 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10439 { (exit 1); exit 1; }; }
10442 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10443 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10444 { (exit 1); exit 1; }; }
10447 for toolkit
in `echo $ALL_TOOLKITS`; do
10449 eval "value=\$${var}"
10450 if test "x$value" != x
; then
10451 cache_var
=CACHE_
$toolkit
10452 eval "cache=\$${cache_var}"
10453 if test "$cache" = 1; then
10454 echo "$var=$value" >> ${wx_arg_cache_file}
10456 if test "$value" = 1; then
10457 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10458 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10459 echo "${ECHO_T}$toolkit_echo" >&6
10464 if test "x$host_alias" != "x"; then
10465 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10466 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10468 echo "$as_me:$LINENO: result: base only" >&5
10469 echo "${ECHO_T}base only" >&6
10474 doesnt_want_win32
=0
10477 if test "$wxUSE_MSW" = 1 ; then
10480 doesnt_want_win32
=1
10488 if test "$wxUSE_WINE" = "yes"; then
10493 LDFLAGS_GUI
="-mwindows"
10496 if test "$wants_win32" = 1 ; then
10499 cat >>confdefs.h
<<\_ACEOF
10500 #define __WIN32__ 1
10503 cat >>confdefs.h
<<\_ACEOF
10504 #define __WIN95__ 1
10507 cat >>confdefs.h
<<\_ACEOF
10508 #define __WINDOWS__ 1
10511 cat >>confdefs.h
<<\_ACEOF
10512 #define __GNUWIN32__ 1
10515 cat >>confdefs.h
<<\_ACEOF
10519 cat >>confdefs.h
<<\_ACEOF
10520 #define WINVER 0x0400
10524 if test "$doesnt_want_win32" = 1 ; then
10529 if test "$USE_UNIX" = 1 ; then
10531 cat >>confdefs.h
<<\_ACEOF
10538 cat >confcache
<<\_ACEOF
10539 # This file is a shell script that caches the results of configure
10540 # tests run on this system so they can be shared between configure
10541 # scripts and configure runs, see configure's option --config-cache.
10542 # It is not useful on other systems. If it contains results you don't
10543 # want to keep, you may remove or edit it.
10545 # config.status only pays attention to the cache file if you give it
10546 # the --recheck option to rerun configure.
10548 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10549 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10550 # following values.
10554 # The following way of writing the cache mishandles newlines in values,
10555 # but we know of no workaround that is simple, portable, and efficient.
10556 # So, don't put newlines in cache variables' values.
10557 # Ultrix sh set writes to stderr and can't be redirected directly,
10558 # and sets the high bit in the cache file unless we assign to the vars.
10561 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10563 # `set' does not quote correctly, so add quotes (double-quote
10564 # substitution turns \\\\ into \\, and sed turns \\ into \).
10567 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10570 # `set' quotes correctly as required by POSIX, so do not add quotes.
10572 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10579 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10581 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10583 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10584 if test -w $cache_file; then
10585 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10586 cat confcache
>$cache_file
10588 echo "not updating unwritable cache $cache_file"
10593 if test "$build" != "$host" ; then
10594 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10596 CXX
=$host_alias-c++
10598 RANLIB
=$host_alias-ranlib
10599 DLLTOOL
=$host_alias-dlltool
10600 RESCOMP
=$host_alias-windres
10601 STRIP
=$host_alias-strip
10602 elif test "x$CC" '!=' "x"; then
10603 echo "You set CC, I assume you know what you are doing."
10605 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10606 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10607 { (exit 1); exit 1; }; }
10615 ac_cpp
='$CPP $CPPFLAGS'
10616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10619 if test -n "$ac_tool_prefix"; then
10620 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10621 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10622 echo "$as_me:$LINENO: checking for $ac_word" >&5
10623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10624 if test "${ac_cv_prog_CC+set}" = set; then
10625 echo $ECHO_N "(cached) $ECHO_C" >&6
10627 if test -n "$CC"; then
10628 ac_cv_prog_CC
="$CC" # Let the user override the test.
10630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10631 for as_dir
in $PATH
10634 test -z "$as_dir" && as_dir
=.
10635 for ac_exec_ext
in '' $ac_executable_extensions; do
10636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10637 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10647 if test -n "$CC"; then
10648 echo "$as_me:$LINENO: result: $CC" >&5
10649 echo "${ECHO_T}$CC" >&6
10651 echo "$as_me:$LINENO: result: no" >&5
10652 echo "${ECHO_T}no" >&6
10656 if test -z "$ac_cv_prog_CC"; then
10658 # Extract the first word of "gcc", so it can be a program name with args.
10659 set dummy gcc
; ac_word
=$2
10660 echo "$as_me:$LINENO: checking for $ac_word" >&5
10661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10665 if test -n "$ac_ct_CC"; then
10666 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10669 for as_dir
in $PATH
10672 test -z "$as_dir" && as_dir
=.
10673 for ac_exec_ext
in '' $ac_executable_extensions; do
10674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10675 ac_cv_prog_ac_ct_CC
="gcc"
10676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10684 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10685 if test -n "$ac_ct_CC"; then
10686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10687 echo "${ECHO_T}$ac_ct_CC" >&6
10689 echo "$as_me:$LINENO: result: no" >&5
10690 echo "${ECHO_T}no" >&6
10695 CC
="$ac_cv_prog_CC"
10698 if test -z "$CC"; then
10699 if test -n "$ac_tool_prefix"; then
10700 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10701 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10702 echo "$as_me:$LINENO: checking for $ac_word" >&5
10703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10704 if test "${ac_cv_prog_CC+set}" = set; then
10705 echo $ECHO_N "(cached) $ECHO_C" >&6
10707 if test -n "$CC"; then
10708 ac_cv_prog_CC
="$CC" # Let the user override the test.
10710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10711 for as_dir
in $PATH
10714 test -z "$as_dir" && as_dir
=.
10715 for ac_exec_ext
in '' $ac_executable_extensions; do
10716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10717 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10727 if test -n "$CC"; then
10728 echo "$as_me:$LINENO: result: $CC" >&5
10729 echo "${ECHO_T}$CC" >&6
10731 echo "$as_me:$LINENO: result: no" >&5
10732 echo "${ECHO_T}no" >&6
10736 if test -z "$ac_cv_prog_CC"; then
10738 # Extract the first word of "cc", so it can be a program name with args.
10739 set dummy cc
; ac_word
=$2
10740 echo "$as_me:$LINENO: checking for $ac_word" >&5
10741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10742 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10743 echo $ECHO_N "(cached) $ECHO_C" >&6
10745 if test -n "$ac_ct_CC"; then
10746 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10749 for as_dir
in $PATH
10752 test -z "$as_dir" && as_dir
=.
10753 for ac_exec_ext
in '' $ac_executable_extensions; do
10754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10755 ac_cv_prog_ac_ct_CC
="cc"
10756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10764 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10765 if test -n "$ac_ct_CC"; then
10766 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10767 echo "${ECHO_T}$ac_ct_CC" >&6
10769 echo "$as_me:$LINENO: result: no" >&5
10770 echo "${ECHO_T}no" >&6
10775 CC
="$ac_cv_prog_CC"
10779 if test -z "$CC"; then
10780 # Extract the first word of "cc", so it can be a program name with args.
10781 set dummy cc
; ac_word
=$2
10782 echo "$as_me:$LINENO: checking for $ac_word" >&5
10783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10784 if test "${ac_cv_prog_CC+set}" = set; then
10785 echo $ECHO_N "(cached) $ECHO_C" >&6
10787 if test -n "$CC"; then
10788 ac_cv_prog_CC
="$CC" # Let the user override the test.
10790 ac_prog_rejected
=no
10791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10792 for as_dir
in $PATH
10795 test -z "$as_dir" && as_dir
=.
10796 for ac_exec_ext
in '' $ac_executable_extensions; do
10797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10798 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10799 ac_prog_rejected
=yes
10803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10809 if test $ac_prog_rejected = yes; then
10810 # We found a bogon in the path, so make sure we never use it.
10811 set dummy
$ac_cv_prog_CC
10813 if test $# != 0; then
10814 # We chose a different compiler from the bogus one.
10815 # However, it has the same basename, so the bogon will be chosen
10816 # first if we set CC to just the basename; use the full file name.
10818 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10824 if test -n "$CC"; then
10825 echo "$as_me:$LINENO: result: $CC" >&5
10826 echo "${ECHO_T}$CC" >&6
10828 echo "$as_me:$LINENO: result: no" >&5
10829 echo "${ECHO_T}no" >&6
10833 if test -z "$CC"; then
10834 if test -n "$ac_tool_prefix"; then
10837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10838 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10839 echo "$as_me:$LINENO: checking for $ac_word" >&5
10840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10841 if test "${ac_cv_prog_CC+set}" = set; then
10842 echo $ECHO_N "(cached) $ECHO_C" >&6
10844 if test -n "$CC"; then
10845 ac_cv_prog_CC
="$CC" # Let the user override the test.
10847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10848 for as_dir
in $PATH
10851 test -z "$as_dir" && as_dir
=.
10852 for ac_exec_ext
in '' $ac_executable_extensions; do
10853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10854 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10864 if test -n "$CC"; then
10865 echo "$as_me:$LINENO: result: $CC" >&5
10866 echo "${ECHO_T}$CC" >&6
10868 echo "$as_me:$LINENO: result: no" >&5
10869 echo "${ECHO_T}no" >&6
10872 test -n "$CC" && break
10875 if test -z "$CC"; then
10879 # Extract the first word of "$ac_prog", so it can be a program name with args.
10880 set dummy
$ac_prog; ac_word
=$2
10881 echo "$as_me:$LINENO: checking for $ac_word" >&5
10882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10886 if test -n "$ac_ct_CC"; then
10887 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10890 for as_dir
in $PATH
10893 test -z "$as_dir" && as_dir
=.
10894 for ac_exec_ext
in '' $ac_executable_extensions; do
10895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10896 ac_cv_prog_ac_ct_CC
="$ac_prog"
10897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10905 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10906 if test -n "$ac_ct_CC"; then
10907 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10908 echo "${ECHO_T}$ac_ct_CC" >&6
10910 echo "$as_me:$LINENO: result: no" >&5
10911 echo "${ECHO_T}no" >&6
10914 test -n "$ac_ct_CC" && break
10923 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10924 See \`config.log' for more details." >&5
10925 echo "$as_me: error: no acceptable C compiler found in \$PATH
10926 See \`config.log' for more details." >&2;}
10927 { (exit 1); exit 1; }; }
10929 # Provide some information about the compiler.
10930 echo "$as_me:$LINENO:" \
10931 "checking for C compiler version" >&5
10932 ac_compiler
=`set X $ac_compile; echo $2`
10933 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10934 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); }
10938 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10939 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); }
10943 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10944 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }
10949 cat >conftest.
$ac_ext <<_ACEOF
10952 cat confdefs.h
>>conftest.
$ac_ext
10953 cat >>conftest.
$ac_ext <<_ACEOF
10954 /* end confdefs.h. */
10964 ac_clean_files_save
=$ac_clean_files
10965 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10966 # Try to create an executable without -o first, disregard a.out.
10967 # It will help us diagnose broken compilers, and finding out an intuition
10969 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10970 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10971 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10972 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10973 (eval $ac_link_default) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; then
10977 # Find the output, starting from the most likely. This scheme is
10978 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10981 # Be careful to initialize this variable, since it used to be cached.
10982 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10984 # b.out is created by i960 compilers.
10985 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10987 test -f "$ac_file" || continue
10989 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10992 # This is the source file.
10995 # We found the default executable, but exeext='' is most
10999 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11000 # FIXME: I believe we export ac_cv_exeext for Libtool,
11001 # but it would be cool to find out if it's true. Does anybody
11002 # maintain Libtool? --akim.
11003 export ac_cv_exeext
11010 echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.
$ac_ext >&5
11013 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11014 See \`config.log' for more details." >&5
11015 echo "$as_me: error: C compiler cannot create executables
11016 See \`config.log' for more details." >&2;}
11017 { (exit 77); exit 77; }; }
11020 ac_exeext
=$ac_cv_exeext
11021 echo "$as_me:$LINENO: result: $ac_file" >&5
11022 echo "${ECHO_T}$ac_file" >&6
11024 # Check the compiler produces executables we can run. If not, either
11025 # the compiler is broken, or we cross compile.
11026 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11027 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11028 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11029 # If not cross compiling, check that we can run a simple program.
11030 if test "$cross_compiling" != yes; then
11031 if { ac_try
='./$ac_file'
11032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11033 (eval $ac_try) 2>&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }; }; then
11039 if test "$cross_compiling" = maybe
; then
11040 cross_compiling
=yes
11042 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11043 If you meant to cross compile, use \`--host'.
11044 See \`config.log' for more details." >&5
11045 echo "$as_me: error: cannot run C compiled programs.
11046 If you meant to cross compile, use \`--host'.
11047 See \`config.log' for more details." >&2;}
11048 { (exit 1); exit 1; }; }
11052 echo "$as_me:$LINENO: result: yes" >&5
11053 echo "${ECHO_T}yes" >&6
11055 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11056 ac_clean_files
=$ac_clean_files_save
11057 # Check the compiler produces executables we can run. If not, either
11058 # the compiler is broken, or we cross compile.
11059 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11060 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11061 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11062 echo "${ECHO_T}$cross_compiling" >&6
11064 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11065 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11067 (eval $ac_link) 2>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; then
11071 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11072 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11073 # work properly (i.e., refer to `conftest.exe'), while it won't with
11075 for ac_file
in conftest.exe conftest conftest.
*; do
11076 test -f "$ac_file" || continue
11078 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11079 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11080 export ac_cv_exeext
11086 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11087 See \`config.log' for more details." >&5
11088 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11089 See \`config.log' for more details." >&2;}
11090 { (exit 1); exit 1; }; }
11093 rm -f conftest
$ac_cv_exeext
11094 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11095 echo "${ECHO_T}$ac_cv_exeext" >&6
11097 rm -f conftest.
$ac_ext
11098 EXEEXT
=$ac_cv_exeext
11100 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11101 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11102 if test "${ac_cv_objext+set}" = set; then
11103 echo $ECHO_N "(cached) $ECHO_C" >&6
11105 cat >conftest.
$ac_ext <<_ACEOF
11108 cat confdefs.h
>>conftest.
$ac_ext
11109 cat >>conftest.
$ac_ext <<_ACEOF
11110 /* end confdefs.h. */
11120 rm -f conftest.o conftest.obj
11121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11122 (eval $ac_compile) 2>&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); }; then
11126 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11128 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11129 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11134 echo "$as_me: failed program was:" >&5
11135 sed 's/^/| /' conftest.
$ac_ext >&5
11137 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11138 See \`config.log' for more details." >&5
11139 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11140 See \`config.log' for more details." >&2;}
11141 { (exit 1); exit 1; }; }
11144 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11146 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11147 echo "${ECHO_T}$ac_cv_objext" >&6
11148 OBJEXT
=$ac_cv_objext
11150 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11151 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11152 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11153 echo $ECHO_N "(cached) $ECHO_C" >&6
11155 cat >conftest.
$ac_ext <<_ACEOF
11158 cat confdefs.h
>>conftest.
$ac_ext
11159 cat >>conftest.
$ac_ext <<_ACEOF
11160 /* end confdefs.h. */
11173 rm -f conftest.
$ac_objext
11174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11175 (eval $ac_compile) 2>conftest.er1
11177 grep -v '^ *+' conftest.er1
>conftest.err
11179 cat conftest.err
>&5
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); } &&
11182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11184 (eval $ac_try) 2>&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); }; } &&
11188 { ac_try
='test -s conftest.$ac_objext'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; }; then
11194 ac_compiler_gnu
=yes
11196 echo "$as_me: failed program was:" >&5
11197 sed 's/^/| /' conftest.
$ac_ext >&5
11201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11202 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11205 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11206 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11207 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11208 ac_test_CFLAGS
=${CFLAGS+set}
11209 ac_save_CFLAGS
=$CFLAGS
11210 CFLAGS
="$CFLAGS -g"
11211 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11212 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11213 if test "${ac_cv_prog_cc_g+set}" = set; then
11214 echo $ECHO_N "(cached) $ECHO_C" >&6
11216 cat >conftest.
$ac_ext <<_ACEOF
11219 cat confdefs.h
>>conftest.
$ac_ext
11220 cat >>conftest.
$ac_ext <<_ACEOF
11221 /* end confdefs.h. */
11231 rm -f conftest.
$ac_objext
11232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11233 (eval $ac_compile) 2>conftest.er1
11235 grep -v '^ *+' conftest.er1
>conftest.err
11237 cat conftest.err
>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); } &&
11240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242 (eval $ac_try) 2>&5
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); }; } &&
11246 { ac_try
='test -s conftest.$ac_objext'
11247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11248 (eval $ac_try) 2>&5
11250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); }; }; then
11252 ac_cv_prog_cc_g
=yes
11254 echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.
$ac_ext >&5
11259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11261 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11262 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11263 if test "$ac_test_CFLAGS" = set; then
11264 CFLAGS
=$ac_save_CFLAGS
11265 elif test $ac_cv_prog_cc_g = yes; then
11266 if test "$GCC" = yes; then
11272 if test "$GCC" = yes; then
11278 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11279 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11280 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11281 echo $ECHO_N "(cached) $ECHO_C" >&6
11283 ac_cv_prog_cc_stdc
=no
11285 cat >conftest.
$ac_ext <<_ACEOF
11288 cat confdefs.h
>>conftest.
$ac_ext
11289 cat >>conftest.
$ac_ext <<_ACEOF
11290 /* end confdefs.h. */
11291 #include <stdarg.h>
11293 #include <sys/types.h>
11294 #include <sys/stat.h>
11295 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11296 struct buf { int x; };
11297 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11298 static char *e (p, i)
11304 static char *f (char * (*g) (char **, int), char **p, ...)
11309 s = g (p, va_arg (v,int));
11314 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11315 function prototypes and stuff, but not '\xHH' hex character constants.
11316 These don't provoke an error unfortunately, instead are silently treated
11317 as 'x'. The following induces an error, until -std1 is added to get
11318 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11319 array size at least. It's necessary to write '\x00'==0 to get something
11320 that's true only with -std1. */
11321 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11323 int test (int i, double x);
11324 struct s1 {int (*f) (int a);};
11325 struct s2 {int (*f) (double a);};
11326 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11332 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11337 # Don't try gcc -ansi; that turns off useful extensions and
11338 # breaks some systems' header files.
11339 # AIX -qlanglvl=ansi
11340 # Ultrix and OSF/1 -std1
11341 # HP-UX 10.20 and later -Ae
11342 # HP-UX older versions -Aa -D_HPUX_SOURCE
11343 # SVR4 -Xc -D__EXTENSIONS__
11344 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11346 CC
="$ac_save_CC $ac_arg"
11347 rm -f conftest.
$ac_objext
11348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11349 (eval $ac_compile) 2>conftest.er1
11351 grep -v '^ *+' conftest.er1
>conftest.err
11353 cat conftest.err
>&5
11354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11355 (exit $ac_status); } &&
11356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11358 (eval $ac_try) 2>&5
11360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11361 (exit $ac_status); }; } &&
11362 { ac_try
='test -s conftest.$ac_objext'
11363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11364 (eval $ac_try) 2>&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); }; }; then
11368 ac_cv_prog_cc_stdc
=$ac_arg
11371 echo "$as_me: failed program was:" >&5
11372 sed 's/^/| /' conftest.
$ac_ext >&5
11375 rm -f conftest.err conftest.
$ac_objext
11377 rm -f conftest.
$ac_ext conftest.
$ac_objext
11382 case "x$ac_cv_prog_cc_stdc" in
11384 echo "$as_me:$LINENO: result: none needed" >&5
11385 echo "${ECHO_T}none needed" >&6 ;;
11387 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11388 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11389 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11392 # Some people use a C++ compiler to compile C. Since we use `exit',
11393 # in C++ we need to declare it. In case someone uses the same compiler
11394 # for both compiling C and C++ we need to have the C++ compiler decide
11395 # the declaration of exit, since it's the most demanding environment.
11396 cat >conftest.
$ac_ext <<_ACEOF
11397 #ifndef __cplusplus
11401 rm -f conftest.
$ac_objext
11402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11403 (eval $ac_compile) 2>conftest.er1
11405 grep -v '^ *+' conftest.er1
>conftest.err
11407 cat conftest.err
>&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); } &&
11410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11412 (eval $ac_try) 2>&5
11414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415 (exit $ac_status); }; } &&
11416 { ac_try
='test -s conftest.$ac_objext'
11417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11418 (eval $ac_try) 2>&5
11420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11421 (exit $ac_status); }; }; then
11422 for ac_declaration
in \
11424 'extern "C" void std::exit (int) throw (); using std::exit;' \
11425 'extern "C" void std::exit (int); using std::exit;' \
11426 'extern "C" void exit (int) throw ();' \
11427 'extern "C" void exit (int);' \
11430 cat >conftest.
$ac_ext <<_ACEOF
11433 cat confdefs.h
>>conftest.
$ac_ext
11434 cat >>conftest.
$ac_ext <<_ACEOF
11435 /* end confdefs.h. */
11437 #include <stdlib.h>
11446 rm -f conftest.
$ac_objext
11447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11448 (eval $ac_compile) 2>conftest.er1
11450 grep -v '^ *+' conftest.er1
>conftest.err
11452 cat conftest.err
>&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); } &&
11455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11457 (eval $ac_try) 2>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); }; } &&
11461 { ac_try
='test -s conftest.$ac_objext'
11462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11463 (eval $ac_try) 2>&5
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); }; }; then
11469 echo "$as_me: failed program was:" >&5
11470 sed 's/^/| /' conftest.
$ac_ext >&5
11474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11475 cat >conftest.
$ac_ext <<_ACEOF
11478 cat confdefs.h
>>conftest.
$ac_ext
11479 cat >>conftest.
$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11490 rm -f conftest.
$ac_objext
11491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11492 (eval $ac_compile) 2>conftest.er1
11494 grep -v '^ *+' conftest.er1
>conftest.err
11496 cat conftest.err
>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); } &&
11499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11501 (eval $ac_try) 2>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); }; } &&
11505 { ac_try
='test -s conftest.$ac_objext'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; }; then
11513 echo "$as_me: failed program was:" >&5
11514 sed 's/^/| /' conftest.
$ac_ext >&5
11517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11520 if test -n "$ac_declaration"; then
11521 echo '#ifdef __cplusplus' >>confdefs.h
11522 echo $ac_declaration >>confdefs.h
11523 echo '#endif' >>confdefs.h
11527 echo "$as_me: failed program was:" >&5
11528 sed 's/^/| /' conftest.
$ac_ext >&5
11531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11533 ac_cpp
='$CPP $CPPFLAGS'
11534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11538 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11539 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11540 if test "${wx_cv_c_exto+set}" = set; then
11541 echo $ECHO_N "(cached) $ECHO_C" >&6
11543 cat >conftest.
$ac_ext <<_ACEOF
11546 cat confdefs.h
>>conftest.
$ac_ext
11547 cat >>conftest.
$ac_ext <<_ACEOF
11548 /* end confdefs.h. */
11558 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11560 (eval $ac_compile) 2>&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); }; then
11564 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11566 conftest.
$ac_ext.o
)
11567 wx_cv_c_exto
="-ext o"
11574 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11575 See \`config.log' for more details." >&5
11576 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11577 See \`config.log' for more details." >&2;}
11578 { (exit 1); exit 1; }; }
11582 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11585 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11586 echo "${ECHO_T}$wx_cv_c_exto" >&6
11587 if test "x$wx_cv_c_exto" '!=' "x"; then
11588 if test "c" = "c"; then
11589 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11591 if test "c" = "cxx"; then
11592 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11596 if test "x$wx_cv_c_exto" '!=' "x"; then
11597 unset ac_cv_prog_cc_g
11598 ac_test_CFLAGS
=${CFLAGS+set}
11599 ac_save_CFLAGS
=$CFLAGS
11600 CFLAGS
="$CFLAGS -g"
11601 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11602 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11603 if test "${ac_cv_prog_cc_g+set}" = set; then
11604 echo $ECHO_N "(cached) $ECHO_C" >&6
11606 cat >conftest.
$ac_ext <<_ACEOF
11609 cat confdefs.h
>>conftest.
$ac_ext
11610 cat >>conftest.
$ac_ext <<_ACEOF
11611 /* end confdefs.h. */
11621 rm -f conftest.
$ac_objext
11622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11623 (eval $ac_compile) 2>conftest.er1
11625 grep -v '^ *+' conftest.er1
>conftest.err
11627 cat conftest.err
>&5
11628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11629 (exit $ac_status); } &&
11630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11632 (eval $ac_try) 2>&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); }; } &&
11636 { ac_try
='test -s conftest.$ac_objext'
11637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11638 (eval $ac_try) 2>&5
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); }; }; then
11642 ac_cv_prog_cc_g
=yes
11644 echo "$as_me: failed program was:" >&5
11645 sed 's/^/| /' conftest.
$ac_ext >&5
11649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11651 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11652 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11653 if test "$ac_test_CFLAGS" = set; then
11654 CFLAGS
=$ac_save_CFLAGS
11655 elif test $ac_cv_prog_cc_g = yes; then
11656 if test "$GCC" = yes; then
11662 if test "$GCC" = yes; then
11670 ac_cpp
='$CPP $CPPFLAGS'
11671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11675 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11676 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11677 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11678 echo $ECHO_N "(cached) $ECHO_C" >&6
11680 cat >conftest.
$ac_ext <<_ACEOF
11683 cat confdefs.h
>>conftest.
$ac_ext
11684 cat >>conftest.
$ac_ext <<_ACEOF
11685 /* end confdefs.h. */
11698 rm -f conftest.
$ac_objext
11699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11700 (eval $ac_compile) 2>conftest.er1
11702 grep -v '^ *+' conftest.er1
>conftest.err
11704 cat conftest.err
>&5
11705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706 (exit $ac_status); } &&
11707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11709 (eval $ac_try) 2>&5
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); }; } &&
11713 { ac_try
='test -s conftest.$ac_objext'
11714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11715 (eval $ac_try) 2>&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); }; }; then
11719 bakefile_compiler_mwerks
=yes
11721 echo "$as_me: failed program was:" >&5
11722 sed 's/^/| /' conftest.
$ac_ext >&5
11724 bakefile_compiler_mwerks
=no
11726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11727 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11730 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11731 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11733 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11735 ac_cpp
='$CPP $CPPFLAGS'
11736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11742 ac_cpp
='$CPP $CPPFLAGS'
11743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11747 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11748 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11749 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11750 echo $ECHO_N "(cached) $ECHO_C" >&6
11752 cat >conftest.
$ac_ext <<_ACEOF
11755 cat confdefs.h
>>conftest.
$ac_ext
11756 cat >>conftest.
$ac_ext <<_ACEOF
11757 /* end confdefs.h. */
11770 rm -f conftest.
$ac_objext
11771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11772 (eval $ac_compile) 2>conftest.er1
11774 grep -v '^ *+' conftest.er1
>conftest.err
11776 cat conftest.err
>&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); } &&
11779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11781 (eval $ac_try) 2>&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); }; } &&
11785 { ac_try
='test -s conftest.$ac_objext'
11786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11787 (eval $ac_try) 2>&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); }; }; then
11791 wx_compiler_xlc
=yes
11793 echo "$as_me: failed program was:" >&5
11794 sed 's/^/| /' conftest.
$ac_ext >&5
11798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11799 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11802 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11803 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11805 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11807 ac_cpp
='$CPP $CPPFLAGS'
11808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11816 ac_cpp
='$CPP $CPPFLAGS'
11817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11820 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11821 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11822 # On Suns, sometimes $CPP names a directory.
11823 if test -n "$CPP" && test -d "$CPP"; then
11826 if test -z "$CPP"; then
11827 if test "${ac_cv_prog_CPP+set}" = set; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11830 # Double quotes because CPP needs to be expanded
11831 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11833 ac_preproc_ok
=false
11834 for ac_c_preproc_warn_flag
in '' yes
11836 # Use a header file that comes with gcc, so configuring glibc
11837 # with a fresh cross-compiler works.
11838 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11839 # <limits.h> exists even on freestanding compilers.
11840 # On the NeXT, cc -E runs the code through the compiler's parser,
11841 # not just through cpp. "Syntax error" is here to catch this case.
11842 cat >conftest.
$ac_ext <<_ACEOF
11845 cat confdefs.h
>>conftest.
$ac_ext
11846 cat >>conftest.
$ac_ext <<_ACEOF
11847 /* end confdefs.h. */
11849 # include <limits.h>
11851 # include <assert.h>
11855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11856 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11858 grep -v '^ *+' conftest.er1
>conftest.err
11860 cat conftest.err
>&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); } >/dev
/null
; then
11863 if test -s conftest.err
; then
11864 ac_cpp_err
=$ac_c_preproc_warn_flag
11865 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11872 if test -z "$ac_cpp_err"; then
11875 echo "$as_me: failed program was:" >&5
11876 sed 's/^/| /' conftest.
$ac_ext >&5
11878 # Broken: fails on valid input.
11881 rm -f conftest.err conftest.
$ac_ext
11883 # OK, works on sane cases. Now check whether non-existent headers
11884 # can be detected and how.
11885 cat >conftest.
$ac_ext <<_ACEOF
11888 cat confdefs.h
>>conftest.
$ac_ext
11889 cat >>conftest.
$ac_ext <<_ACEOF
11890 /* end confdefs.h. */
11891 #include <ac_nonexistent.h>
11893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11894 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11896 grep -v '^ *+' conftest.er1
>conftest.err
11898 cat conftest.err
>&5
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); } >/dev
/null
; then
11901 if test -s conftest.err
; then
11902 ac_cpp_err
=$ac_c_preproc_warn_flag
11903 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11910 if test -z "$ac_cpp_err"; then
11911 # Broken: success on invalid input.
11914 echo "$as_me: failed program was:" >&5
11915 sed 's/^/| /' conftest.
$ac_ext >&5
11917 # Passes both tests.
11921 rm -f conftest.err conftest.
$ac_ext
11924 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11925 rm -f conftest.err conftest.
$ac_ext
11926 if $ac_preproc_ok; then
11931 ac_cv_prog_CPP
=$CPP
11934 CPP
=$ac_cv_prog_CPP
11936 ac_cv_prog_CPP
=$CPP
11938 echo "$as_me:$LINENO: result: $CPP" >&5
11939 echo "${ECHO_T}$CPP" >&6
11940 ac_preproc_ok
=false
11941 for ac_c_preproc_warn_flag
in '' yes
11943 # Use a header file that comes with gcc, so configuring glibc
11944 # with a fresh cross-compiler works.
11945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11946 # <limits.h> exists even on freestanding compilers.
11947 # On the NeXT, cc -E runs the code through the compiler's parser,
11948 # not just through cpp. "Syntax error" is here to catch this case.
11949 cat >conftest.
$ac_ext <<_ACEOF
11952 cat confdefs.h
>>conftest.
$ac_ext
11953 cat >>conftest.
$ac_ext <<_ACEOF
11954 /* end confdefs.h. */
11956 # include <limits.h>
11958 # include <assert.h>
11962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11965 grep -v '^ *+' conftest.er1
>conftest.err
11967 cat conftest.err
>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } >/dev
/null
; then
11970 if test -s conftest.err
; then
11971 ac_cpp_err
=$ac_c_preproc_warn_flag
11972 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11979 if test -z "$ac_cpp_err"; then
11982 echo "$as_me: failed program was:" >&5
11983 sed 's/^/| /' conftest.
$ac_ext >&5
11985 # Broken: fails on valid input.
11988 rm -f conftest.err conftest.
$ac_ext
11990 # OK, works on sane cases. Now check whether non-existent headers
11991 # can be detected and how.
11992 cat >conftest.
$ac_ext <<_ACEOF
11995 cat confdefs.h
>>conftest.
$ac_ext
11996 cat >>conftest.
$ac_ext <<_ACEOF
11997 /* end confdefs.h. */
11998 #include <ac_nonexistent.h>
12000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12003 grep -v '^ *+' conftest.er1
>conftest.err
12005 cat conftest.err
>&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); } >/dev
/null
; then
12008 if test -s conftest.err
; then
12009 ac_cpp_err
=$ac_c_preproc_warn_flag
12010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12017 if test -z "$ac_cpp_err"; then
12018 # Broken: success on invalid input.
12021 echo "$as_me: failed program was:" >&5
12022 sed 's/^/| /' conftest.
$ac_ext >&5
12024 # Passes both tests.
12028 rm -f conftest.err conftest.
$ac_ext
12031 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12032 rm -f conftest.err conftest.
$ac_ext
12033 if $ac_preproc_ok; then
12036 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12037 See \`config.log' for more details." >&5
12038 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12039 See \`config.log' for more details." >&2;}
12040 { (exit 1); exit 1; }; }
12044 ac_cpp
='$CPP $CPPFLAGS'
12045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12050 echo "$as_me:$LINENO: checking for egrep" >&5
12051 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12052 if test "${ac_cv_prog_egrep+set}" = set; then
12053 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12056 then ac_cv_prog_egrep
='grep -E'
12057 else ac_cv_prog_egrep
='egrep'
12060 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12061 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12062 EGREP
=$ac_cv_prog_egrep
12065 if test $ac_cv_c_compiler_gnu = yes; then
12066 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12067 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12068 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12069 echo $ECHO_N "(cached) $ECHO_C" >&6
12071 ac_pattern
="Autoconf.*'x'"
12072 cat >conftest.
$ac_ext <<_ACEOF
12075 cat confdefs.h
>>conftest.
$ac_ext
12076 cat >>conftest.
$ac_ext <<_ACEOF
12077 /* end confdefs.h. */
12081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12082 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12083 ac_cv_prog_gcc_traditional
=yes
12085 ac_cv_prog_gcc_traditional
=no
12090 if test $ac_cv_prog_gcc_traditional = no
; then
12091 cat >conftest.
$ac_ext <<_ACEOF
12094 cat confdefs.h
>>conftest.
$ac_ext
12095 cat >>conftest.
$ac_ext <<_ACEOF
12096 /* end confdefs.h. */
12097 #include <termio.h>
12100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12101 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12102 ac_cv_prog_gcc_traditional
=yes
12108 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12109 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12110 if test $ac_cv_prog_gcc_traditional = yes; then
12111 CC
="$CC -traditional"
12119 ac_cpp
='$CXXCPP $CPPFLAGS'
12120 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12121 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12122 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12125 CXXFLAGS
=${CXXFLAGS:=}
12129 ac_cpp
='$CXXCPP $CPPFLAGS'
12130 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12131 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12132 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12133 if test -n "$ac_tool_prefix"; then
12134 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12136 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12137 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12138 echo "$as_me:$LINENO: checking for $ac_word" >&5
12139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12140 if test "${ac_cv_prog_CXX+set}" = set; then
12141 echo $ECHO_N "(cached) $ECHO_C" >&6
12143 if test -n "$CXX"; then
12144 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12147 for as_dir
in $PATH
12150 test -z "$as_dir" && as_dir
=.
12151 for ac_exec_ext
in '' $ac_executable_extensions; do
12152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12153 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12162 CXX
=$ac_cv_prog_CXX
12163 if test -n "$CXX"; then
12164 echo "$as_me:$LINENO: result: $CXX" >&5
12165 echo "${ECHO_T}$CXX" >&6
12167 echo "$as_me:$LINENO: result: no" >&5
12168 echo "${ECHO_T}no" >&6
12171 test -n "$CXX" && break
12174 if test -z "$CXX"; then
12176 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12178 # Extract the first word of "$ac_prog", so it can be a program name with args.
12179 set dummy
$ac_prog; ac_word
=$2
12180 echo "$as_me:$LINENO: checking for $ac_word" >&5
12181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12182 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12183 echo $ECHO_N "(cached) $ECHO_C" >&6
12185 if test -n "$ac_ct_CXX"; then
12186 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12189 for as_dir
in $PATH
12192 test -z "$as_dir" && as_dir
=.
12193 for ac_exec_ext
in '' $ac_executable_extensions; do
12194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12195 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12204 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12205 if test -n "$ac_ct_CXX"; then
12206 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12207 echo "${ECHO_T}$ac_ct_CXX" >&6
12209 echo "$as_me:$LINENO: result: no" >&5
12210 echo "${ECHO_T}no" >&6
12213 test -n "$ac_ct_CXX" && break
12215 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12221 # Provide some information about the compiler.
12222 echo "$as_me:$LINENO:" \
12223 "checking for C++ compiler version" >&5
12224 ac_compiler
=`set X $ac_compile; echo $2`
12225 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12226 (eval $ac_compiler --version </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); }
12235 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12236 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); }
12241 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12242 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12243 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12244 echo $ECHO_N "(cached) $ECHO_C" >&6
12246 cat >conftest.
$ac_ext <<_ACEOF
12249 cat confdefs.h
>>conftest.
$ac_ext
12250 cat >>conftest.
$ac_ext <<_ACEOF
12251 /* end confdefs.h. */
12264 rm -f conftest.
$ac_objext
12265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12266 (eval $ac_compile) 2>conftest.er1
12268 grep -v '^ *+' conftest.er1
>conftest.err
12270 cat conftest.err
>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); } &&
12273 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; } &&
12279 { ac_try
='test -s conftest.$ac_objext'
12280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281 (eval $ac_try) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); }; }; then
12285 ac_compiler_gnu
=yes
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.
$ac_ext >&5
12292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12293 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12296 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12297 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12298 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12299 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12300 ac_save_CXXFLAGS
=$CXXFLAGS
12302 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12303 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12304 if test "${ac_cv_prog_cxx_g+set}" = set; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12307 cat >conftest.
$ac_ext <<_ACEOF
12310 cat confdefs.h
>>conftest.
$ac_ext
12311 cat >>conftest.
$ac_ext <<_ACEOF
12312 /* end confdefs.h. */
12322 rm -f conftest.
$ac_objext
12323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12324 (eval $ac_compile) 2>conftest.er1
12326 grep -v '^ *+' conftest.er1
>conftest.err
12328 cat conftest.err
>&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); } &&
12331 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12333 (eval $ac_try) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }; } &&
12337 { ac_try
='test -s conftest.$ac_objext'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; }; then
12343 ac_cv_prog_cxx_g
=yes
12345 echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.
$ac_ext >&5
12348 ac_cv_prog_cxx_g
=no
12350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12352 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12353 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12354 if test "$ac_test_CXXFLAGS" = set; then
12355 CXXFLAGS
=$ac_save_CXXFLAGS
12356 elif test $ac_cv_prog_cxx_g = yes; then
12357 if test "$GXX" = yes; then
12358 CXXFLAGS
="$CXXFLAGS -g -O2"
12360 CXXFLAGS
="$CXXFLAGS -g"
12363 if test "$GXX" = yes; then
12369 for ac_declaration
in \
12371 'extern "C" void std::exit (int) throw (); using std::exit;' \
12372 'extern "C" void std::exit (int); using std::exit;' \
12373 'extern "C" void exit (int) throw ();' \
12374 'extern "C" void exit (int);' \
12377 cat >conftest.
$ac_ext <<_ACEOF
12380 cat confdefs.h
>>conftest.
$ac_ext
12381 cat >>conftest.
$ac_ext <<_ACEOF
12382 /* end confdefs.h. */
12384 #include <stdlib.h>
12393 rm -f conftest.
$ac_objext
12394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12395 (eval $ac_compile) 2>conftest.er1
12397 grep -v '^ *+' conftest.er1
>conftest.err
12399 cat conftest.err
>&5
12400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401 (exit $ac_status); } &&
12402 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12404 (eval $ac_try) 2>&5
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); }; } &&
12408 { ac_try
='test -s conftest.$ac_objext'
12409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12410 (eval $ac_try) 2>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); }; }; then
12416 echo "$as_me: failed program was:" >&5
12417 sed 's/^/| /' conftest.
$ac_ext >&5
12421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12422 cat >conftest.
$ac_ext <<_ACEOF
12425 cat confdefs.h
>>conftest.
$ac_ext
12426 cat >>conftest.
$ac_ext <<_ACEOF
12427 /* end confdefs.h. */
12437 rm -f conftest.
$ac_objext
12438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12439 (eval $ac_compile) 2>conftest.er1
12441 grep -v '^ *+' conftest.er1
>conftest.err
12443 cat conftest.err
>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); } &&
12446 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12448 (eval $ac_try) 2>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; } &&
12452 { ac_try
='test -s conftest.$ac_objext'
12453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454 (eval $ac_try) 2>&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); }; }; then
12460 echo "$as_me: failed program was:" >&5
12461 sed 's/^/| /' conftest.
$ac_ext >&5
12464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12467 if test -n "$ac_declaration"; then
12468 echo '#ifdef __cplusplus' >>confdefs.h
12469 echo $ac_declaration >>confdefs.h
12470 echo '#endif' >>confdefs.h
12474 ac_cpp
='$CXXCPP $CPPFLAGS'
12475 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12476 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12477 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12479 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12480 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12481 if test "${wx_cv_cxx_exto+set}" = set; then
12482 echo $ECHO_N "(cached) $ECHO_C" >&6
12484 cat >conftest.
$ac_ext <<_ACEOF
12487 cat confdefs.h
>>conftest.
$ac_ext
12488 cat >>conftest.
$ac_ext <<_ACEOF
12489 /* end confdefs.h. */
12499 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12501 (eval $ac_compile) 2>&5
12503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504 (exit $ac_status); }; then
12505 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12507 conftest.
$ac_ext.o
)
12508 wx_cv_cxx_exto
="-ext o"
12515 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12516 See \`config.log' for more details." >&5
12517 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12518 See \`config.log' for more details." >&2;}
12519 { (exit 1); exit 1; }; }
12523 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12526 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12527 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12528 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12529 if test "cxx" = "c"; then
12530 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12532 if test "cxx" = "cxx"; then
12533 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12537 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12538 unset ac_cv_prog_cxx_g
12539 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12540 ac_save_CXXFLAGS
=$CXXFLAGS
12542 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12543 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12544 if test "${ac_cv_prog_cxx_g+set}" = set; then
12545 echo $ECHO_N "(cached) $ECHO_C" >&6
12547 cat >conftest.
$ac_ext <<_ACEOF
12550 cat confdefs.h
>>conftest.
$ac_ext
12551 cat >>conftest.
$ac_ext <<_ACEOF
12552 /* end confdefs.h. */
12562 rm -f conftest.
$ac_objext
12563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12564 (eval $ac_compile) 2>conftest.er1
12566 grep -v '^ *+' conftest.er1
>conftest.err
12568 cat conftest.err
>&5
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); } &&
12571 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12573 (eval $ac_try) 2>&5
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); }; } &&
12577 { ac_try
='test -s conftest.$ac_objext'
12578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12579 (eval $ac_try) 2>&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); }; }; then
12583 ac_cv_prog_cxx_g
=yes
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.
$ac_ext >&5
12588 ac_cv_prog_cxx_g
=no
12590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12592 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12593 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12594 if test "$ac_test_CXXFLAGS" = set; then
12595 CXXFLAGS
=$ac_save_CXXFLAGS
12596 elif test $ac_cv_prog_cxx_g = yes; then
12597 if test "$GXX" = yes; then
12598 CXXFLAGS
="$CXXFLAGS -g -O2"
12600 CXXFLAGS
="$CXXFLAGS -g"
12603 if test "$GXX" = yes; then
12611 ac_cpp
='$CXXCPP $CPPFLAGS'
12612 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12613 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12614 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12616 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12617 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12618 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12619 echo $ECHO_N "(cached) $ECHO_C" >&6
12621 cat >conftest.
$ac_ext <<_ACEOF
12624 cat confdefs.h
>>conftest.
$ac_ext
12625 cat >>conftest.
$ac_ext <<_ACEOF
12626 /* end confdefs.h. */
12639 rm -f conftest.
$ac_objext
12640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12641 (eval $ac_compile) 2>conftest.er1
12643 grep -v '^ *+' conftest.er1
>conftest.err
12645 cat conftest.err
>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); } &&
12648 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 (eval $ac_try) 2>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; } &&
12654 { ac_try
='test -s conftest.$ac_objext'
12655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12656 (eval $ac_try) 2>&5
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); }; }; then
12660 bakefile_compiler_mwerks
=yes
12662 echo "$as_me: failed program was:" >&5
12663 sed 's/^/| /' conftest.
$ac_ext >&5
12665 bakefile_compiler_mwerks
=no
12667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12668 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12671 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12672 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12674 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12676 ac_cpp
='$CXXCPP $CPPFLAGS'
12677 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12678 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12679 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12683 ac_cpp
='$CXXCPP $CPPFLAGS'
12684 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12685 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12686 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12688 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12689 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12690 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12691 echo $ECHO_N "(cached) $ECHO_C" >&6
12693 cat >conftest.
$ac_ext <<_ACEOF
12696 cat confdefs.h
>>conftest.
$ac_ext
12697 cat >>conftest.
$ac_ext <<_ACEOF
12698 /* end confdefs.h. */
12711 rm -f conftest.
$ac_objext
12712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12713 (eval $ac_compile) 2>conftest.er1
12715 grep -v '^ *+' conftest.er1
>conftest.err
12717 cat conftest.err
>&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); } &&
12720 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12722 (eval $ac_try) 2>&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); }; } &&
12726 { ac_try
='test -s conftest.$ac_objext'
12727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12728 (eval $ac_try) 2>&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); }; }; then
12732 wx_compiler_xlc
=yes
12734 echo "$as_me: failed program was:" >&5
12735 sed 's/^/| /' conftest.
$ac_ext >&5
12739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12740 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12743 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12744 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12746 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12748 ac_cpp
='$CXXCPP $CPPFLAGS'
12749 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12750 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12751 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12757 ac_cpp
='$CPP $CPPFLAGS'
12758 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12759 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12760 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12763 if test -n "$ac_tool_prefix"; then
12764 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12765 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12766 echo "$as_me:$LINENO: checking for $ac_word" >&5
12767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12768 if test "${ac_cv_prog_RANLIB+set}" = set; then
12769 echo $ECHO_N "(cached) $ECHO_C" >&6
12771 if test -n "$RANLIB"; then
12772 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12775 for as_dir
in $PATH
12778 test -z "$as_dir" && as_dir
=.
12779 for ac_exec_ext
in '' $ac_executable_extensions; do
12780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12781 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12790 RANLIB
=$ac_cv_prog_RANLIB
12791 if test -n "$RANLIB"; then
12792 echo "$as_me:$LINENO: result: $RANLIB" >&5
12793 echo "${ECHO_T}$RANLIB" >&6
12795 echo "$as_me:$LINENO: result: no" >&5
12796 echo "${ECHO_T}no" >&6
12800 if test -z "$ac_cv_prog_RANLIB"; then
12801 ac_ct_RANLIB
=$RANLIB
12802 # Extract the first word of "ranlib", so it can be a program name with args.
12803 set dummy ranlib
; ac_word
=$2
12804 echo "$as_me:$LINENO: checking for $ac_word" >&5
12805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12806 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12807 echo $ECHO_N "(cached) $ECHO_C" >&6
12809 if test -n "$ac_ct_RANLIB"; then
12810 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12813 for as_dir
in $PATH
12816 test -z "$as_dir" && as_dir
=.
12817 for ac_exec_ext
in '' $ac_executable_extensions; do
12818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12819 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12826 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12829 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12830 if test -n "$ac_ct_RANLIB"; then
12831 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12832 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12834 echo "$as_me:$LINENO: result: no" >&5
12835 echo "${ECHO_T}no" >&6
12838 RANLIB
=$ac_ct_RANLIB
12840 RANLIB
="$ac_cv_prog_RANLIB"
12844 # Extract the first word of "ar", so it can be a program name with args.
12845 set dummy
ar; ac_word
=$2
12846 echo "$as_me:$LINENO: checking for $ac_word" >&5
12847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12848 if test "${ac_cv_prog_AR+set}" = set; then
12849 echo $ECHO_N "(cached) $ECHO_C" >&6
12851 if test -n "$AR"; then
12852 ac_cv_prog_AR
="$AR" # Let the user override the test.
12854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12855 for as_dir
in $PATH
12858 test -z "$as_dir" && as_dir
=.
12859 for ac_exec_ext
in '' $ac_executable_extensions; do
12860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12871 if test -n "$AR"; then
12872 echo "$as_me:$LINENO: result: $AR" >&5
12873 echo "${ECHO_T}$AR" >&6
12875 echo "$as_me:$LINENO: result: no" >&5
12876 echo "${ECHO_T}no" >&6
12879 if test "x$AR" = "x" ; then
12880 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12881 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12882 { (exit 1); exit 1; }; }
12885 # Find a good install program. We prefer a C program (faster),
12886 # so one script is as good as another. But avoid the broken or
12887 # incompatible versions:
12888 # SysV /etc/install, /usr/sbin/install
12889 # SunOS /usr/etc/install
12890 # IRIX /sbin/install
12892 # AmigaOS /C/install, which installs bootblocks on floppy discs
12893 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12894 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12895 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12896 # OS/2's system install, which has a completely different semantic
12897 # ./install, which can be erroneously created by make from ./install.sh.
12898 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12899 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12900 if test -z "$INSTALL"; then
12901 if test "${ac_cv_path_install+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12905 for as_dir
in $PATH
12908 test -z "$as_dir" && as_dir
=.
12909 # Account for people who put trailing slashes in PATH elements.
12911 .
/ | .
// | /cC
/* | \
12912 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12913 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12916 # OSF1 and SCO ODT 3.0 have their own names for install.
12917 # Don't use installbsd from OSF since it installs stuff as root
12919 for ac_prog
in ginstall scoinst
install; do
12920 for ac_exec_ext
in '' $ac_executable_extensions; do
12921 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12922 if test $ac_prog = install &&
12923 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12924 # AIX install. It has an incompatible calling convention.
12926 elif test $ac_prog = install &&
12927 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12928 # program-specific install script used by HP pwplus--don't use.
12931 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12943 if test "${ac_cv_path_install+set}" = set; then
12944 INSTALL
=$ac_cv_path_install
12946 # As a last resort, use the slow shell script. We don't cache a
12947 # path for INSTALL within a source directory, because that will
12948 # break other packages using the cache if that directory is
12949 # removed, or if the path is relative.
12950 INSTALL
=$ac_install_sh
12953 echo "$as_me:$LINENO: result: $INSTALL" >&5
12954 echo "${ECHO_T}$INSTALL" >&6
12956 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12957 # It thinks the first close brace ends the variable substitution.
12958 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12960 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12962 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12968 ?
:* ) # Drive letter, considered as absolute.
12971 INSTALL
=`pwd`/${INSTALL} ;;
12977 powerpc
-*-darwin* )
12978 INSTALL_PROGRAM
="cp -fp"
12979 INSTALL_DATA
="cp -fp"
12985 # Extract the first word of "strip", so it can be a program name with args.
12986 set dummy strip
; ac_word
=$2
12987 echo "$as_me:$LINENO: checking for $ac_word" >&5
12988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12989 if test "${ac_cv_prog_STRIP+set}" = set; then
12990 echo $ECHO_N "(cached) $ECHO_C" >&6
12992 if test -n "$STRIP"; then
12993 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12996 for as_dir
in $PATH
12999 test -z "$as_dir" && as_dir
=.
13000 for ac_exec_ext
in '' $ac_executable_extensions; do
13001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13002 ac_cv_prog_STRIP
="strip"
13003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13009 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13012 STRIP
=$ac_cv_prog_STRIP
13013 if test -n "$STRIP"; then
13014 echo "$as_me:$LINENO: result: $STRIP" >&5
13015 echo "${ECHO_T}$STRIP" >&6
13017 echo "$as_me:$LINENO: result: no" >&5
13018 echo "${ECHO_T}no" >&6
13022 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13023 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13024 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13029 egrep -s GNU
> /dev
/null
); then
13030 wx_cv_prog_makeisgnu
="yes"
13032 wx_cv_prog_makeisgnu
="no"
13036 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13037 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13039 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13047 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13048 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13049 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13050 if test "${wx_cv_prog_makevpath+set}" = set; then
13051 echo $ECHO_N "(cached) $ECHO_C" >&6
13054 cat - << EOF > confMake
13060 if test ! -d sub
; then
13063 echo dummy
> sub
/file
13064 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13066 rm -f sub
/file check final_file confMake
13068 if test "$RESULT" = 0; then
13069 wx_cv_prog_makevpath
="yes"
13071 wx_cv_prog_makevpath
="no"
13075 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13076 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13078 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13079 { { echo "$as_me:$LINENO: error:
13080 You need a make-utility that is able to use the variable
13082 If your version of make does not support VPATH correctly,
13083 please install GNU-make (possibly as gmake), and start
13084 configure with the following command:
13085 export MAKE=gmake; ./configure for sh-type shells
13086 setenv MAKE gmake; ./configure for csh-type shells
13087 Also please do remember to use gmake in this case every time
13088 you are trying to compile.
13090 echo "$as_me: error:
13091 You need a make-utility that is able to use the variable
13093 If your version of make does not support VPATH correctly,
13094 please install GNU-make (possibly as gmake), and start
13095 configure with the following command:
13096 export MAKE=gmake; ./configure for sh-type shells
13097 setenv MAKE gmake; ./configure for csh-type shells
13098 Also please do remember to use gmake in this case every time
13099 you are trying to compile.
13101 { (exit 1); exit 1; }; }
13103 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13104 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13106 if test "$LN_S" = "ln -s"; then
13107 echo "$as_me:$LINENO: result: yes" >&5
13108 echo "${ECHO_T}yes" >&6
13110 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13111 echo "${ECHO_T}no, using $LN_S" >&6
13116 if test "x$XLCXX" = "xyes"; then
13117 CXXFLAGS
="$CXXFLAGS -qunique"
13122 powerpc
-*-darwin* )
13123 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13124 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13125 cat >conftest.
$ac_ext <<_ACEOF
13128 cat confdefs.h
>>conftest.
$ac_ext
13129 cat >>conftest.
$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13135 #ifndef __POWERPC__
13136 choke me for lack of PowerPC
13143 rm -f conftest.
$ac_objext
13144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13145 (eval $ac_compile) 2>conftest.er1
13147 grep -v '^ *+' conftest.er1
>conftest.err
13149 cat conftest.err
>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); } &&
13152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; } &&
13158 { ac_try
='test -s conftest.$ac_objext'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; }; then
13164 echo "$as_me:$LINENO: result: yes" >&5
13165 echo "${ECHO_T}yes" >&6
13167 echo "$as_me: failed program was:" >&5
13168 sed 's/^/| /' conftest.
$ac_ext >&5
13170 echo "$as_me:$LINENO: result: no" >&5
13171 echo "${ECHO_T}no" >&6
13172 cat >>confdefs.h
<<\_ACEOF
13173 #define __POWERPC__ 1
13178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13179 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13180 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13181 cat >conftest.
$ac_ext <<_ACEOF
13184 cat confdefs.h
>>conftest.
$ac_ext
13185 cat >>conftest.
$ac_ext <<_ACEOF
13186 /* end confdefs.h. */
13187 #include <CoreFoundation/CFBase.h>
13197 rm -f conftest.
$ac_objext
13198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13199 (eval $ac_compile) 2>conftest.er1
13201 grep -v '^ *+' conftest.er1
>conftest.err
13203 cat conftest.err
>&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); } &&
13206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13208 (eval $ac_try) 2>&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); }; } &&
13212 { ac_try
='test -s conftest.$ac_objext'
13213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13214 (eval $ac_try) 2>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); }; }; then
13218 echo "$as_me:$LINENO: result: yes" >&5
13219 echo "${ECHO_T}yes" >&6
13221 echo "$as_me: failed program was:" >&5
13222 sed 's/^/| /' conftest.
$ac_ext >&5
13224 echo "$as_me:$LINENO: result: no" >&5
13225 echo "${ECHO_T}no" >&6
13226 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13227 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13228 cat >conftest.
$ac_ext <<_ACEOF
13231 cat confdefs.h
>>conftest.
$ac_ext
13232 cat >>conftest.
$ac_ext <<_ACEOF
13233 /* end confdefs.h. */
13234 #define __CF_USE_FRAMEWORK_INCLUDES__
13235 #include <CoreFoundation/CFBase.h>
13245 rm -f conftest.
$ac_objext
13246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13247 (eval $ac_compile) 2>conftest.er1
13249 grep -v '^ *+' conftest.er1
>conftest.err
13251 cat conftest.err
>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); } &&
13254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13256 (eval $ac_try) 2>&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); }; } &&
13260 { ac_try
='test -s conftest.$ac_objext'
13261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13262 (eval $ac_try) 2>&5
13264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13265 (exit $ac_status); }; }; then
13266 echo "$as_me:$LINENO: result: yes" >&5
13267 echo "${ECHO_T}yes" >&6
13268 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13270 echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.
$ac_ext >&5
13273 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13274 See \`config.log' for more details." >&5
13275 echo "$as_me: error: no. CoreFoundation not available.
13276 See \`config.log' for more details." >&2;}
13277 { (exit 1); exit 1; }; }
13280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13289 *-pc-os2_emx | *-pc-os2-emx )
13290 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13291 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13292 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13293 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13294 echo $ECHO_N "(cached) $ECHO_C" >&6
13296 ac_check_lib_save_LIBS
=$LIBS
13297 LIBS
="-lcExt $LIBS"
13298 cat >conftest.
$ac_ext <<_ACEOF
13301 cat confdefs.h
>>conftest.
$ac_ext
13302 cat >>conftest.
$ac_ext <<_ACEOF
13303 /* end confdefs.h. */
13305 /* Override any gcc2 internal prototype to avoid an error. */
13309 /* We use char because int might match the return type of a gcc2
13310 builtin and then its argument prototype would still apply. */
13320 rm -f conftest.
$ac_objext conftest
$ac_exeext
13321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13322 (eval $ac_link) 2>conftest.er1
13324 grep -v '^ *+' conftest.er1
>conftest.err
13326 cat conftest.err
>&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } &&
13329 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 (eval $ac_try) 2>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; } &&
13335 { ac_try
='test -s conftest$ac_exeext'
13336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13337 (eval $ac_try) 2>&5
13339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13340 (exit $ac_status); }; }; then
13341 ac_cv_lib_cExt_drand48
=yes
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.
$ac_ext >&5
13346 ac_cv_lib_cExt_drand48
=no
13348 rm -f conftest.err conftest.
$ac_objext \
13349 conftest
$ac_exeext conftest.
$ac_ext
13350 LIBS
=$ac_check_lib_save_LIBS
13352 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13353 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13354 if test $ac_cv_lib_cExt_drand48 = yes; then
13355 LIBS
="$LIBS -lcExt"
13359 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13361 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13362 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13363 if test "${wx_cv_gccversion+set}" = set; then
13364 echo $ECHO_N "(cached) $ECHO_C" >&6
13367 if test "$cross_compiling" = yes; then
13368 wx_cv_gccversion
="EMX2"
13371 cat >conftest.
$ac_ext <<_ACEOF
13374 cat confdefs.h
>>conftest.
$ac_ext
13375 cat >>conftest.
$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13382 FILE *f=fopen("conftestval", "w");
13387 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13389 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13399 rm -f conftest
$ac_exeext
13400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13401 (eval $ac_link) 2>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13406 (eval $ac_try) 2>&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); }; }; then
13410 wx_cv_gccversion
=`cat conftestval`
13412 echo "$as_me: program exited with status $ac_status" >&5
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.
$ac_ext >&5
13416 ( exit $ac_status )
13417 wx_cv_gccversion
="EMX2"
13419 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13423 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13424 echo "${ECHO_T}$wx_cv_gccversion" >&6
13425 if test "$wx_cv_gccversion" = "EMX2"; then
13426 LIBS
="$LIBS -lstdcpp"
13427 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13429 if test "$wx_cv_gccversion" = "EMX3"; then
13430 LIBS
="$LIBS -lstdcxx"
13431 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13433 LIBS
="$LIBS -lstdc++"
13436 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13437 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13438 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13448 ac_cpp
='$CXXCPP $CPPFLAGS'
13449 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13450 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13451 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13454 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13455 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13456 if test "${ac_cv_string_strcasecmp+set}" = set; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13460 cat >conftest.
$ac_ext <<_ACEOF
13463 cat confdefs.h
>>conftest.
$ac_ext
13464 cat >>conftest.
$ac_ext <<_ACEOF
13465 /* end confdefs.h. */
13467 #include <string.h>
13473 strcasecmp("foo", "bar");
13479 rm -f conftest.
$ac_objext conftest
$ac_exeext
13480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13481 (eval $ac_link) 2>conftest.er1
13483 grep -v '^ *+' conftest.er1
>conftest.err
13485 cat conftest.err
>&5
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); } &&
13488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13490 (eval $ac_try) 2>&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); }; } &&
13494 { ac_try
='test -s conftest$ac_exeext'
13495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13496 (eval $ac_try) 2>&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); }; }; then
13500 ac_cv_string_strcasecmp
=yes
13502 echo "$as_me: failed program was:" >&5
13503 sed 's/^/| /' conftest.
$ac_ext >&5
13505 ac_cv_string_strcasecmp
=no
13508 rm -f conftest.err conftest.
$ac_objext \
13509 conftest
$ac_exeext conftest.
$ac_ext
13512 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13513 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13515 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13516 cat >>confdefs.h
<<\_ACEOF
13517 #define HAVE_STRCASECMP_IN_STRING_H 1
13521 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13522 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13523 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13524 echo $ECHO_N "(cached) $ECHO_C" >&6
13527 cat >conftest.
$ac_ext <<_ACEOF
13530 cat confdefs.h
>>conftest.
$ac_ext
13531 cat >>conftest.
$ac_ext <<_ACEOF
13532 /* end confdefs.h. */
13534 #include <strings.h>
13540 strcasecmp("foo", "bar");
13546 rm -f conftest.
$ac_objext conftest
$ac_exeext
13547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13548 (eval $ac_link) 2>conftest.er1
13550 grep -v '^ *+' conftest.er1
>conftest.err
13552 cat conftest.err
>&5
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); } &&
13555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13557 (eval $ac_try) 2>&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); }; } &&
13561 { ac_try
='test -s conftest$ac_exeext'
13562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13563 (eval $ac_try) 2>&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); }; }; then
13567 ac_cv_strings_strcasecmp
=yes
13569 echo "$as_me: failed program was:" >&5
13570 sed 's/^/| /' conftest.
$ac_ext >&5
13572 ac_cv_strings_strcasecmp
=no
13575 rm -f conftest.err conftest.
$ac_objext \
13576 conftest
$ac_exeext conftest.
$ac_ext
13579 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13580 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13582 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13583 cat >>confdefs.h
<<\_ACEOF
13584 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13588 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13589 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13590 { (exit 1); exit 1; }; }
13595 ac_cpp
='$CPP $CPPFLAGS'
13596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13604 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13605 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13606 if test "${ac_cv_header_stdc+set}" = set; then
13607 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 cat >conftest.
$ac_ext <<_ACEOF
13612 cat confdefs.h
>>conftest.
$ac_ext
13613 cat >>conftest.
$ac_ext <<_ACEOF
13614 /* end confdefs.h. */
13615 #include <stdlib.h>
13616 #include <stdarg.h>
13617 #include <string.h>
13628 rm -f conftest.
$ac_objext
13629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13630 (eval $ac_compile) 2>conftest.er1
13632 grep -v '^ *+' conftest.er1
>conftest.err
13634 cat conftest.err
>&5
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); } &&
13637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13639 (eval $ac_try) 2>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }; } &&
13643 { ac_try
='test -s conftest.$ac_objext'
13644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13645 (eval $ac_try) 2>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); }; }; then
13649 ac_cv_header_stdc
=yes
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.
$ac_ext >&5
13654 ac_cv_header_stdc
=no
13656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13658 if test $ac_cv_header_stdc = yes; then
13659 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13660 cat >conftest.
$ac_ext <<_ACEOF
13663 cat confdefs.h
>>conftest.
$ac_ext
13664 cat >>conftest.
$ac_ext <<_ACEOF
13665 /* end confdefs.h. */
13666 #include <string.h>
13669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13670 $EGREP "memchr" >/dev
/null
2>&1; then
13673 ac_cv_header_stdc
=no
13679 if test $ac_cv_header_stdc = yes; then
13680 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13681 cat >conftest.
$ac_ext <<_ACEOF
13684 cat confdefs.h
>>conftest.
$ac_ext
13685 cat >>conftest.
$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13687 #include <stdlib.h>
13690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13691 $EGREP "free" >/dev
/null
2>&1; then
13694 ac_cv_header_stdc
=no
13700 if test $ac_cv_header_stdc = yes; then
13701 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13702 if test "$cross_compiling" = yes; then
13705 cat >conftest.
$ac_ext <<_ACEOF
13708 cat confdefs.h
>>conftest.
$ac_ext
13709 cat >>conftest.
$ac_ext <<_ACEOF
13710 /* end confdefs.h. */
13712 #if ((' ' & 0x0FF) == 0x020)
13713 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13714 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13716 # define ISLOWER(c) \
13717 (('a' <= (c) && (c) <= 'i') \
13718 || ('j' <= (c) && (c) <= 'r') \
13719 || ('s' <= (c) && (c) <= 'z'))
13720 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13723 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13728 for (i = 0; i < 256; i++)
13729 if (XOR (islower (i), ISLOWER (i))
13730 || toupper (i) != TOUPPER (i))
13735 rm -f conftest
$ac_exeext
13736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13737 (eval $ac_link) 2>&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; }; then
13748 echo "$as_me: program exited with status $ac_status" >&5
13749 echo "$as_me: failed program was:" >&5
13750 sed 's/^/| /' conftest.
$ac_ext >&5
13752 ( exit $ac_status )
13753 ac_cv_header_stdc
=no
13755 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13759 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13760 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13761 if test $ac_cv_header_stdc = yes; then
13763 cat >>confdefs.h
<<\_ACEOF
13764 #define STDC_HEADERS 1
13769 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13779 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13780 inttypes.h stdint.h unistd.h
13782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13783 echo "$as_me:$LINENO: checking for $ac_header" >&5
13784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13786 echo $ECHO_N "(cached) $ECHO_C" >&6
13788 cat >conftest.
$ac_ext <<_ACEOF
13791 cat confdefs.h
>>conftest.
$ac_ext
13792 cat >>conftest.
$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13794 $ac_includes_default
13796 #include <$ac_header>
13798 rm -f conftest.
$ac_objext
13799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13800 (eval $ac_compile) 2>conftest.er1
13802 grep -v '^ *+' conftest.er1
>conftest.err
13804 cat conftest.err
>&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); } &&
13807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13809 (eval $ac_try) 2>&5
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); }; } &&
13813 { ac_try
='test -s conftest.$ac_objext'
13814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13815 (eval $ac_try) 2>&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); }; }; then
13819 eval "$as_ac_Header=yes"
13821 echo "$as_me: failed program was:" >&5
13822 sed 's/^/| /' conftest.
$ac_ext >&5
13824 eval "$as_ac_Header=no"
13826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13831 cat >>confdefs.h
<<_ACEOF
13832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13841 for ac_header
in stdlib.h
13843 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13845 echo "$as_me:$LINENO: checking for $ac_header" >&5
13846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13848 echo $ECHO_N "(cached) $ECHO_C" >&6
13850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13853 # Is the header compilable?
13854 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13855 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13856 cat >conftest.
$ac_ext <<_ACEOF
13859 cat confdefs.h
>>conftest.
$ac_ext
13860 cat >>conftest.
$ac_ext <<_ACEOF
13861 /* end confdefs.h. */
13862 $ac_includes_default
13863 #include <$ac_header>
13865 rm -f conftest.
$ac_objext
13866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13867 (eval $ac_compile) 2>conftest.er1
13869 grep -v '^ *+' conftest.er1
>conftest.err
13871 cat conftest.err
>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); } &&
13874 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13876 (eval $ac_try) 2>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); }; } &&
13880 { ac_try
='test -s conftest.$ac_objext'
13881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882 (eval $ac_try) 2>&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }; }; then
13886 ac_header_compiler
=yes
13888 echo "$as_me: failed program was:" >&5
13889 sed 's/^/| /' conftest.
$ac_ext >&5
13891 ac_header_compiler
=no
13893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13895 echo "${ECHO_T}$ac_header_compiler" >&6
13897 # Is the header present?
13898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13900 cat >conftest.
$ac_ext <<_ACEOF
13903 cat confdefs.h
>>conftest.
$ac_ext
13904 cat >>conftest.
$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13906 #include <$ac_header>
13908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13909 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13911 grep -v '^ *+' conftest.er1
>conftest.err
13913 cat conftest.err
>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } >/dev
/null
; then
13916 if test -s conftest.err
; then
13917 ac_cpp_err
=$ac_c_preproc_warn_flag
13918 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13925 if test -z "$ac_cpp_err"; then
13926 ac_header_preproc
=yes
13928 echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.
$ac_ext >&5
13931 ac_header_preproc
=no
13933 rm -f conftest.err conftest.
$ac_ext
13934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13935 echo "${ECHO_T}$ac_header_preproc" >&6
13937 # So? What about this header?
13938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13944 ac_header_preproc
=yes
13947 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13950 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13951 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13953 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13954 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13957 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13961 ## ----------------------------------------- ##
13962 ## Report this to wx-dev@lists.wxwidgets.org ##
13963 ## ----------------------------------------- ##
13966 sed "s/^/$as_me: WARNING: /" >&2
13969 echo "$as_me:$LINENO: checking for $ac_header" >&5
13970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13972 echo $ECHO_N "(cached) $ECHO_C" >&6
13974 eval "$as_ac_Header=\$ac_header_preproc"
13976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13981 cat >>confdefs.h
<<_ACEOF
13982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13990 for ac_header
in malloc.h
13992 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13994 echo "$as_me:$LINENO: checking for $ac_header" >&5
13995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13997 echo $ECHO_N "(cached) $ECHO_C" >&6
13999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14002 # Is the header compilable?
14003 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14005 cat >conftest.
$ac_ext <<_ACEOF
14008 cat confdefs.h
>>conftest.
$ac_ext
14009 cat >>conftest.
$ac_ext <<_ACEOF
14010 /* end confdefs.h. */
14011 $ac_includes_default
14012 #include <$ac_header>
14014 rm -f conftest.
$ac_objext
14015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14016 (eval $ac_compile) 2>conftest.er1
14018 grep -v '^ *+' conftest.er1
>conftest.err
14020 cat conftest.err
>&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } &&
14023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14025 (eval $ac_try) 2>&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); }; } &&
14029 { ac_try
='test -s conftest.$ac_objext'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; }; then
14035 ac_header_compiler
=yes
14037 echo "$as_me: failed program was:" >&5
14038 sed 's/^/| /' conftest.
$ac_ext >&5
14040 ac_header_compiler
=no
14042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14044 echo "${ECHO_T}$ac_header_compiler" >&6
14046 # Is the header present?
14047 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14049 cat >conftest.
$ac_ext <<_ACEOF
14052 cat confdefs.h
>>conftest.
$ac_ext
14053 cat >>conftest.
$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055 #include <$ac_header>
14057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14058 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14060 grep -v '^ *+' conftest.er1
>conftest.err
14062 cat conftest.err
>&5
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); } >/dev
/null
; then
14065 if test -s conftest.err
; then
14066 ac_cpp_err
=$ac_c_preproc_warn_flag
14067 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14074 if test -z "$ac_cpp_err"; then
14075 ac_header_preproc
=yes
14077 echo "$as_me: failed program was:" >&5
14078 sed 's/^/| /' conftest.
$ac_ext >&5
14080 ac_header_preproc
=no
14082 rm -f conftest.err conftest.
$ac_ext
14083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14084 echo "${ECHO_T}$ac_header_preproc" >&6
14086 # So? What about this header?
14087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14089 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14093 ac_header_preproc
=yes
14096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14099 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14100 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14102 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14103 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14106 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14110 ## ----------------------------------------- ##
14111 ## Report this to wx-dev@lists.wxwidgets.org ##
14112 ## ----------------------------------------- ##
14115 sed "s/^/$as_me: WARNING: /" >&2
14118 echo "$as_me:$LINENO: checking for $ac_header" >&5
14119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14121 echo $ECHO_N "(cached) $ECHO_C" >&6
14123 eval "$as_ac_Header=\$ac_header_preproc"
14125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14130 cat >>confdefs.h
<<_ACEOF
14131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14139 for ac_header
in unistd.h
14141 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14143 echo "$as_me:$LINENO: checking for $ac_header" >&5
14144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14151 # Is the header compilable?
14152 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14153 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14154 cat >conftest.
$ac_ext <<_ACEOF
14157 cat confdefs.h
>>conftest.
$ac_ext
14158 cat >>conftest.
$ac_ext <<_ACEOF
14159 /* end confdefs.h. */
14160 $ac_includes_default
14161 #include <$ac_header>
14163 rm -f conftest.
$ac_objext
14164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14165 (eval $ac_compile) 2>conftest.er1
14167 grep -v '^ *+' conftest.er1
>conftest.err
14169 cat conftest.err
>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } &&
14172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; } &&
14178 { ac_try
='test -s conftest.$ac_objext'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; }; then
14184 ac_header_compiler
=yes
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.
$ac_ext >&5
14189 ac_header_compiler
=no
14191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14193 echo "${ECHO_T}$ac_header_compiler" >&6
14195 # Is the header present?
14196 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14197 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14198 cat >conftest.
$ac_ext <<_ACEOF
14201 cat confdefs.h
>>conftest.
$ac_ext
14202 cat >>conftest.
$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14204 #include <$ac_header>
14206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14207 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14209 grep -v '^ *+' conftest.er1
>conftest.err
14211 cat conftest.err
>&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); } >/dev
/null
; then
14214 if test -s conftest.err
; then
14215 ac_cpp_err
=$ac_c_preproc_warn_flag
14216 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14223 if test -z "$ac_cpp_err"; then
14224 ac_header_preproc
=yes
14226 echo "$as_me: failed program was:" >&5
14227 sed 's/^/| /' conftest.
$ac_ext >&5
14229 ac_header_preproc
=no
14231 rm -f conftest.err conftest.
$ac_ext
14232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14233 echo "${ECHO_T}$ac_header_preproc" >&6
14235 # So? What about this header?
14236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14241 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14242 ac_header_preproc
=yes
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14250 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14252 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14255 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14256 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14259 ## ----------------------------------------- ##
14260 ## Report this to wx-dev@lists.wxwidgets.org ##
14261 ## ----------------------------------------- ##
14264 sed "s/^/$as_me: WARNING: /" >&2
14267 echo "$as_me:$LINENO: checking for $ac_header" >&5
14268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 eval "$as_ac_Header=\$ac_header_preproc"
14274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14279 cat >>confdefs.h
<<_ACEOF
14280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14288 for ac_header
in wchar.h
14290 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14292 echo "$as_me:$LINENO: checking for $ac_header" >&5
14293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14295 echo $ECHO_N "(cached) $ECHO_C" >&6
14297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14300 # Is the header compilable?
14301 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14303 cat >conftest.
$ac_ext <<_ACEOF
14306 cat confdefs.h
>>conftest.
$ac_ext
14307 cat >>conftest.
$ac_ext <<_ACEOF
14308 /* end confdefs.h. */
14309 $ac_includes_default
14310 #include <$ac_header>
14312 rm -f conftest.
$ac_objext
14313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14314 (eval $ac_compile) 2>conftest.er1
14316 grep -v '^ *+' conftest.er1
>conftest.err
14318 cat conftest.err
>&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } &&
14321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323 (eval $ac_try) 2>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; } &&
14327 { ac_try
='test -s conftest.$ac_objext'
14328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329 (eval $ac_try) 2>&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); }; }; then
14333 ac_header_compiler
=yes
14335 echo "$as_me: failed program was:" >&5
14336 sed 's/^/| /' conftest.
$ac_ext >&5
14338 ac_header_compiler
=no
14340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14342 echo "${ECHO_T}$ac_header_compiler" >&6
14344 # Is the header present?
14345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14347 cat >conftest.
$ac_ext <<_ACEOF
14350 cat confdefs.h
>>conftest.
$ac_ext
14351 cat >>conftest.
$ac_ext <<_ACEOF
14352 /* end confdefs.h. */
14353 #include <$ac_header>
14355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14356 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14358 grep -v '^ *+' conftest.er1
>conftest.err
14360 cat conftest.err
>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); } >/dev
/null
; then
14363 if test -s conftest.err
; then
14364 ac_cpp_err
=$ac_c_preproc_warn_flag
14365 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14372 if test -z "$ac_cpp_err"; then
14373 ac_header_preproc
=yes
14375 echo "$as_me: failed program was:" >&5
14376 sed 's/^/| /' conftest.
$ac_ext >&5
14378 ac_header_preproc
=no
14380 rm -f conftest.err conftest.
$ac_ext
14381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14382 echo "${ECHO_T}$ac_header_preproc" >&6
14384 # So? What about this header?
14385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14391 ac_header_preproc
=yes
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14408 ## ----------------------------------------- ##
14409 ## Report this to wx-dev@lists.wxwidgets.org ##
14410 ## ----------------------------------------- ##
14413 sed "s/^/$as_me: WARNING: /" >&2
14416 echo "$as_me:$LINENO: checking for $ac_header" >&5
14417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14419 echo $ECHO_N "(cached) $ECHO_C" >&6
14421 eval "$as_ac_Header=\$ac_header_preproc"
14423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14428 cat >>confdefs.h
<<_ACEOF
14429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14437 if test "$ac_cv_header_wchar_h" != "yes"; then
14439 for ac_header
in wcstr.h
14441 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14443 echo "$as_me:$LINENO: checking for $ac_header" >&5
14444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14446 echo $ECHO_N "(cached) $ECHO_C" >&6
14448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14451 # Is the header compilable?
14452 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14454 cat >conftest.
$ac_ext <<_ACEOF
14457 cat confdefs.h
>>conftest.
$ac_ext
14458 cat >>conftest.
$ac_ext <<_ACEOF
14459 /* end confdefs.h. */
14460 $ac_includes_default
14461 #include <$ac_header>
14463 rm -f conftest.
$ac_objext
14464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14465 (eval $ac_compile) 2>conftest.er1
14467 grep -v '^ *+' conftest.er1
>conftest.err
14469 cat conftest.err
>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); } &&
14472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; } &&
14478 { ac_try
='test -s conftest.$ac_objext'
14479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480 (eval $ac_try) 2>&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; }; then
14484 ac_header_compiler
=yes
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.
$ac_ext >&5
14489 ac_header_compiler
=no
14491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14493 echo "${ECHO_T}$ac_header_compiler" >&6
14495 # Is the header present?
14496 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14498 cat >conftest.
$ac_ext <<_ACEOF
14501 cat confdefs.h
>>conftest.
$ac_ext
14502 cat >>conftest.
$ac_ext <<_ACEOF
14503 /* end confdefs.h. */
14504 #include <$ac_header>
14506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14507 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14509 grep -v '^ *+' conftest.er1
>conftest.err
14511 cat conftest.err
>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); } >/dev
/null
; then
14514 if test -s conftest.err
; then
14515 ac_cpp_err
=$ac_c_preproc_warn_flag
14516 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14523 if test -z "$ac_cpp_err"; then
14524 ac_header_preproc
=yes
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.
$ac_ext >&5
14529 ac_header_preproc
=no
14531 rm -f conftest.err conftest.
$ac_ext
14532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14533 echo "${ECHO_T}$ac_header_preproc" >&6
14535 # So? What about this header?
14536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14538 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14541 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14542 ac_header_preproc
=yes
14545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14550 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14551 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14552 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14555 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14556 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14559 ## ----------------------------------------- ##
14560 ## Report this to wx-dev@lists.wxwidgets.org ##
14561 ## ----------------------------------------- ##
14564 sed "s/^/$as_me: WARNING: /" >&2
14567 echo "$as_me:$LINENO: checking for $ac_header" >&5
14568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14570 echo $ECHO_N "(cached) $ECHO_C" >&6
14572 eval "$as_ac_Header=\$ac_header_preproc"
14574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14579 cat >>confdefs.h
<<_ACEOF
14580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14590 for ac_header
in fnmatch.h
14592 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14594 echo "$as_me:$LINENO: checking for $ac_header" >&5
14595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14597 echo $ECHO_N "(cached) $ECHO_C" >&6
14599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14602 # Is the header compilable?
14603 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14604 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14605 cat >conftest.
$ac_ext <<_ACEOF
14608 cat confdefs.h
>>conftest.
$ac_ext
14609 cat >>conftest.
$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611 $ac_includes_default
14612 #include <$ac_header>
14614 rm -f conftest.
$ac_objext
14615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14616 (eval $ac_compile) 2>conftest.er1
14618 grep -v '^ *+' conftest.er1
>conftest.err
14620 cat conftest.err
>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); } &&
14623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14625 (eval $ac_try) 2>&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); }; } &&
14629 { ac_try
='test -s conftest.$ac_objext'
14630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14631 (eval $ac_try) 2>&5
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); }; }; then
14635 ac_header_compiler
=yes
14637 echo "$as_me: failed program was:" >&5
14638 sed 's/^/| /' conftest.
$ac_ext >&5
14640 ac_header_compiler
=no
14642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14643 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14644 echo "${ECHO_T}$ac_header_compiler" >&6
14646 # Is the header present?
14647 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14648 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14649 cat >conftest.
$ac_ext <<_ACEOF
14652 cat confdefs.h
>>conftest.
$ac_ext
14653 cat >>conftest.
$ac_ext <<_ACEOF
14654 /* end confdefs.h. */
14655 #include <$ac_header>
14657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14658 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14660 grep -v '^ *+' conftest.er1
>conftest.err
14662 cat conftest.err
>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); } >/dev
/null
; then
14665 if test -s conftest.err
; then
14666 ac_cpp_err
=$ac_c_preproc_warn_flag
14667 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14674 if test -z "$ac_cpp_err"; then
14675 ac_header_preproc
=yes
14677 echo "$as_me: failed program was:" >&5
14678 sed 's/^/| /' conftest.
$ac_ext >&5
14680 ac_header_preproc
=no
14682 rm -f conftest.err conftest.
$ac_ext
14683 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14684 echo "${ECHO_T}$ac_header_preproc" >&6
14686 # So? What about this header?
14687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14689 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14692 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14693 ac_header_preproc
=yes
14696 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14697 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14699 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14700 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14701 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14702 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14703 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14706 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14707 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14710 ## ----------------------------------------- ##
14711 ## Report this to wx-dev@lists.wxwidgets.org ##
14712 ## ----------------------------------------- ##
14715 sed "s/^/$as_me: WARNING: /" >&2
14718 echo "$as_me:$LINENO: checking for $ac_header" >&5
14719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14721 echo $ECHO_N "(cached) $ECHO_C" >&6
14723 eval "$as_ac_Header=\$ac_header_preproc"
14725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14730 cat >>confdefs.h
<<_ACEOF
14731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14739 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14741 for ac_func
in fnmatch
14743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14744 echo "$as_me:$LINENO: checking for $ac_func" >&5
14745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14746 if eval "test \"\${$as_ac_var+set}\" = set"; then
14747 echo $ECHO_N "(cached) $ECHO_C" >&6
14749 cat >conftest.
$ac_ext <<_ACEOF
14752 cat confdefs.h
>>conftest.
$ac_ext
14753 cat >>conftest.
$ac_ext <<_ACEOF
14754 /* end confdefs.h. */
14755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14757 #define $ac_func innocuous_$ac_func
14759 /* System header to define __stub macros and hopefully few prototypes,
14760 which can conflict with char $ac_func (); below.
14761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14762 <limits.h> exists even on freestanding compilers. */
14765 # include <limits.h>
14767 # include <assert.h>
14772 /* Override any gcc2 internal prototype to avoid an error. */
14777 /* We use char because int might match the return type of a gcc2
14778 builtin and then its argument prototype would still apply. */
14780 /* The GNU C library defines this for functions which it implements
14781 to always fail with ENOSYS. Some functions are actually named
14782 something starting with __ and the normal name is an alias. */
14783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14786 char (*f) () = $ac_func;
14795 return f != $ac_func;
14800 rm -f conftest.
$ac_objext conftest
$ac_exeext
14801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14802 (eval $ac_link) 2>conftest.er1
14804 grep -v '^ *+' conftest.er1
>conftest.err
14806 cat conftest.err
>&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } &&
14809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14811 (eval $ac_try) 2>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; } &&
14815 { ac_try
='test -s conftest$ac_exeext'
14816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817 (eval $ac_try) 2>&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; }; then
14821 eval "$as_ac_var=yes"
14823 echo "$as_me: failed program was:" >&5
14824 sed 's/^/| /' conftest.
$ac_ext >&5
14826 eval "$as_ac_var=no"
14828 rm -f conftest.err conftest.
$ac_objext \
14829 conftest
$ac_exeext conftest.
$ac_ext
14831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14833 if test `eval echo '${'$as_ac_var'}'` = yes; then
14834 cat >>confdefs.h
<<_ACEOF
14835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14844 for ac_header
in langinfo.h
14846 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14848 echo "$as_me:$LINENO: checking for $ac_header" >&5
14849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14851 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14854 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14856 # Is the header compilable?
14857 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14858 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14859 cat >conftest.
$ac_ext <<_ACEOF
14862 cat confdefs.h
>>conftest.
$ac_ext
14863 cat >>conftest.
$ac_ext <<_ACEOF
14864 /* end confdefs.h. */
14865 $ac_includes_default
14866 #include <$ac_header>
14868 rm -f conftest.
$ac_objext
14869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14870 (eval $ac_compile) 2>conftest.er1
14872 grep -v '^ *+' conftest.er1
>conftest.err
14874 cat conftest.err
>&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); } &&
14877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14879 (eval $ac_try) 2>&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); }; } &&
14883 { ac_try
='test -s conftest.$ac_objext'
14884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14885 (eval $ac_try) 2>&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); }; }; then
14889 ac_header_compiler
=yes
14891 echo "$as_me: failed program was:" >&5
14892 sed 's/^/| /' conftest.
$ac_ext >&5
14894 ac_header_compiler
=no
14896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14898 echo "${ECHO_T}$ac_header_compiler" >&6
14900 # Is the header present?
14901 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14902 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14903 cat >conftest.
$ac_ext <<_ACEOF
14906 cat confdefs.h
>>conftest.
$ac_ext
14907 cat >>conftest.
$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909 #include <$ac_header>
14911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14912 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14914 grep -v '^ *+' conftest.er1
>conftest.err
14916 cat conftest.err
>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); } >/dev
/null
; then
14919 if test -s conftest.err
; then
14920 ac_cpp_err
=$ac_c_preproc_warn_flag
14921 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14928 if test -z "$ac_cpp_err"; then
14929 ac_header_preproc
=yes
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.
$ac_ext >&5
14934 ac_header_preproc
=no
14936 rm -f conftest.err conftest.
$ac_ext
14937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14938 echo "${ECHO_T}$ac_header_preproc" >&6
14940 # So? What about this header?
14941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14943 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14944 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14946 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14947 ac_header_preproc
=yes
14950 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14951 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14952 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14953 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14954 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14955 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14956 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14957 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14959 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14960 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14961 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14964 ## ----------------------------------------- ##
14965 ## Report this to wx-dev@lists.wxwidgets.org ##
14966 ## ----------------------------------------- ##
14969 sed "s/^/$as_me: WARNING: /" >&2
14972 echo "$as_me:$LINENO: checking for $ac_header" >&5
14973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14975 echo $ECHO_N "(cached) $ECHO_C" >&6
14977 eval "$as_ac_Header=\$ac_header_preproc"
14979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14984 cat >>confdefs.h
<<_ACEOF
14985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14994 *-pc-os2_emx | *-pc-os2-emx )
14995 if test $ac_cv_header_langinfo_h = "yes" \
14996 -a \
( "$wx_cv_gccversion" = "EMX2" \
14997 -o "$wx_cv_gccversion" = "EMX3" \
14998 -o "$wx_cv_gccversion" = "Innotek5" \
); then
14999 LIBS
="$LIBS -lintl"
15004 if test "$wxUSE_GUI" = "yes"; then
15005 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15007 for ac_header
in X
11/Xlib.h
15009 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15011 echo "$as_me:$LINENO: checking for $ac_header" >&5
15012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15014 echo $ECHO_N "(cached) $ECHO_C" >&6
15016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15019 # Is the header compilable?
15020 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15022 cat >conftest.
$ac_ext <<_ACEOF
15025 cat confdefs.h
>>conftest.
$ac_ext
15026 cat >>conftest.
$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15028 $ac_includes_default
15029 #include <$ac_header>
15031 rm -f conftest.
$ac_objext
15032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15033 (eval $ac_compile) 2>conftest.er1
15035 grep -v '^ *+' conftest.er1
>conftest.err
15037 cat conftest.err
>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); } &&
15040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; } &&
15046 { ac_try
='test -s conftest.$ac_objext'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15052 ac_header_compiler
=yes
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.
$ac_ext >&5
15057 ac_header_compiler
=no
15059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15060 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15061 echo "${ECHO_T}$ac_header_compiler" >&6
15063 # Is the header present?
15064 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15065 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15066 cat >conftest.
$ac_ext <<_ACEOF
15069 cat confdefs.h
>>conftest.
$ac_ext
15070 cat >>conftest.
$ac_ext <<_ACEOF
15071 /* end confdefs.h. */
15072 #include <$ac_header>
15074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15075 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15077 grep -v '^ *+' conftest.er1
>conftest.err
15079 cat conftest.err
>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } >/dev
/null
; then
15082 if test -s conftest.err
; then
15083 ac_cpp_err
=$ac_c_preproc_warn_flag
15084 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15091 if test -z "$ac_cpp_err"; then
15092 ac_header_preproc
=yes
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.
$ac_ext >&5
15097 ac_header_preproc
=no
15099 rm -f conftest.err conftest.
$ac_ext
15100 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15101 echo "${ECHO_T}$ac_header_preproc" >&6
15103 # So? What about this header?
15104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15106 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15107 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15109 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15110 ac_header_preproc
=yes
15113 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15114 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15115 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15116 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15117 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15118 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15119 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15120 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15123 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15124 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15127 ## ----------------------------------------- ##
15128 ## Report this to wx-dev@lists.wxwidgets.org ##
15129 ## ----------------------------------------- ##
15132 sed "s/^/$as_me: WARNING: /" >&2
15135 echo "$as_me:$LINENO: checking for $ac_header" >&5
15136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 eval "$as_ac_Header=\$ac_header_preproc"
15142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15147 cat >>confdefs.h
<<_ACEOF
15148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15156 for ac_header
in X
11/XKBlib.h
15158 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15159 echo "$as_me:$LINENO: checking for $ac_header" >&5
15160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 cat >conftest.
$ac_ext <<_ACEOF
15167 cat confdefs.h
>>conftest.
$ac_ext
15168 cat >>conftest.
$ac_ext <<_ACEOF
15169 /* end confdefs.h. */
15171 #if HAVE_X11_XLIB_H
15172 #include <X11/Xlib.h>
15176 #include <$ac_header>
15178 rm -f conftest.
$ac_objext
15179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15180 (eval $ac_compile) 2>conftest.er1
15182 grep -v '^ *+' conftest.er1
>conftest.err
15184 cat conftest.err
>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } &&
15187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; } &&
15193 { ac_try
='test -s conftest.$ac_objext'
15194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15195 (eval $ac_try) 2>&5
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); }; }; then
15199 eval "$as_ac_Header=yes"
15201 echo "$as_me: failed program was:" >&5
15202 sed 's/^/| /' conftest.
$ac_ext >&5
15204 eval "$as_ac_Header=no"
15206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15211 cat >>confdefs.h
<<_ACEOF
15212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15223 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15224 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15225 if test "${ac_cv_c_const+set}" = set; then
15226 echo $ECHO_N "(cached) $ECHO_C" >&6
15228 cat >conftest.
$ac_ext <<_ACEOF
15231 cat confdefs.h
>>conftest.
$ac_ext
15232 cat >>conftest.
$ac_ext <<_ACEOF
15233 /* end confdefs.h. */
15238 /* FIXME: Include the comments suggested by Paul. */
15239 #ifndef __cplusplus
15240 /* Ultrix mips cc rejects this. */
15241 typedef int charset[2];
15243 /* SunOS 4.1.1 cc rejects this. */
15244 char const *const *ccp;
15246 /* NEC SVR4.0.2 mips cc rejects this. */
15247 struct point {int x, y;};
15248 static struct point const zero = {0,0};
15249 /* AIX XL C 1.02.0.0 rejects this.
15250 It does not let you subtract one const X* pointer from another in
15251 an arm of an if-expression whose if-part is not a constant
15253 const char *g = "string";
15254 ccp = &g + (g ? g-g : 0);
15255 /* HPUX 7.0 cc rejects these. */
15258 ccp = (char const *const *) p;
15259 { /* SCO 3.2v4 cc rejects this. */
15261 char const *s = 0 ? (char *) 0 : (char const *) 0;
15265 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15266 int x[] = {25, 17};
15267 const int *foo = &x[0];
15270 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15271 typedef const int *iptr;
15275 { /* AIX XL C 1.02.0.0 rejects this saying
15276 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15277 struct s { int j; const int *ap[3]; };
15278 struct s *b; b->j = 5;
15280 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15281 const int foo = 10;
15289 rm -f conftest.
$ac_objext
15290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15291 (eval $ac_compile) 2>conftest.er1
15293 grep -v '^ *+' conftest.er1
>conftest.err
15295 cat conftest.err
>&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); } &&
15298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; } &&
15304 { ac_try
='test -s conftest.$ac_objext'
15305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15306 (eval $ac_try) 2>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); }; }; then
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.
$ac_ext >&5
15317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15319 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15320 echo "${ECHO_T}$ac_cv_c_const" >&6
15321 if test $ac_cv_c_const = no
; then
15323 cat >>confdefs.h
<<\_ACEOF
15329 echo "$as_me:$LINENO: checking for inline" >&5
15330 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15331 if test "${ac_cv_c_inline+set}" = set; then
15332 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 for ac_kw
in inline __inline__ __inline
; do
15336 cat >conftest.
$ac_ext <<_ACEOF
15339 cat confdefs.h
>>conftest.
$ac_ext
15340 cat >>conftest.
$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15342 #ifndef __cplusplus
15344 static $ac_kw foo_t static_foo () {return 0; }
15345 $ac_kw foo_t foo () {return 0; }
15349 rm -f conftest.
$ac_objext
15350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15351 (eval $ac_compile) 2>conftest.er1
15353 grep -v '^ *+' conftest.er1
>conftest.err
15355 cat conftest.err
>&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); } &&
15358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15360 (eval $ac_try) 2>&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); }; } &&
15364 { ac_try
='test -s conftest.$ac_objext'
15365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15366 (eval $ac_try) 2>&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); }; }; then
15370 ac_cv_c_inline
=$ac_kw; break
15372 echo "$as_me: failed program was:" >&5
15373 sed 's/^/| /' conftest.
$ac_ext >&5
15376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15380 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15381 echo "${ECHO_T}$ac_cv_c_inline" >&6
15384 case $ac_cv_c_inline in
15387 case $ac_cv_c_inline in
15389 *) ac_val
=$ac_cv_c_inline;;
15391 cat >>confdefs.h
<<_ACEOF
15392 #ifndef __cplusplus
15393 #define inline $ac_val
15400 echo "$as_me:$LINENO: checking for char" >&5
15401 echo $ECHO_N "checking for char... $ECHO_C" >&6
15402 if test "${ac_cv_type_char+set}" = set; then
15403 echo $ECHO_N "(cached) $ECHO_C" >&6
15405 cat >conftest.
$ac_ext <<_ACEOF
15408 cat confdefs.h
>>conftest.
$ac_ext
15409 cat >>conftest.
$ac_ext <<_ACEOF
15410 /* end confdefs.h. */
15411 $ac_includes_default
15423 rm -f conftest.
$ac_objext
15424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15425 (eval $ac_compile) 2>conftest.er1
15427 grep -v '^ *+' conftest.er1
>conftest.err
15429 cat conftest.err
>&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); } &&
15432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15434 (eval $ac_try) 2>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); }; } &&
15438 { ac_try
='test -s conftest.$ac_objext'
15439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 (eval $ac_try) 2>&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); }; }; then
15444 ac_cv_type_char
=yes
15446 echo "$as_me: failed program was:" >&5
15447 sed 's/^/| /' conftest.
$ac_ext >&5
15451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15453 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15454 echo "${ECHO_T}$ac_cv_type_char" >&6
15456 echo "$as_me:$LINENO: checking size of char" >&5
15457 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15458 if test "${ac_cv_sizeof_char+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15461 if test "$ac_cv_type_char" = yes; then
15462 # The cast to unsigned long works around a bug in the HP C Compiler
15463 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15464 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15465 # This bug is HP SR number 8606223364.
15466 if test "$cross_compiling" = yes; then
15467 # Depending upon the size, compute the lo and hi bounds.
15468 cat >conftest.
$ac_ext <<_ACEOF
15471 cat confdefs.h
>>conftest.
$ac_ext
15472 cat >>conftest.
$ac_ext <<_ACEOF
15473 /* end confdefs.h. */
15474 $ac_includes_default
15478 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15485 rm -f conftest.
$ac_objext
15486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15487 (eval $ac_compile) 2>conftest.er1
15489 grep -v '^ *+' conftest.er1
>conftest.err
15491 cat conftest.err
>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } &&
15500 { ac_try
='test -s conftest.$ac_objext'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; }; then
15508 cat >conftest.
$ac_ext <<_ACEOF
15511 cat confdefs.h
>>conftest.
$ac_ext
15512 cat >>conftest.
$ac_ext <<_ACEOF
15513 /* end confdefs.h. */
15514 $ac_includes_default
15518 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15525 rm -f conftest.
$ac_objext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15527 (eval $ac_compile) 2>conftest.er1
15529 grep -v '^ *+' conftest.er1
>conftest.err
15531 cat conftest.err
>&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } &&
15534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15536 (eval $ac_try) 2>&5
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); }; } &&
15540 { ac_try
='test -s conftest.$ac_objext'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; }; then
15546 ac_hi
=$ac_mid; break
15548 echo "$as_me: failed program was:" >&5
15549 sed 's/^/| /' conftest.
$ac_ext >&5
15551 ac_lo
=`expr $ac_mid + 1`
15552 if test $ac_lo -le $ac_mid; then
15556 ac_mid
=`expr 2 '*' $ac_mid + 1`
15558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15561 echo "$as_me: failed program was:" >&5
15562 sed 's/^/| /' conftest.
$ac_ext >&5
15564 cat >conftest.
$ac_ext <<_ACEOF
15567 cat confdefs.h
>>conftest.
$ac_ext
15568 cat >>conftest.
$ac_ext <<_ACEOF
15569 /* end confdefs.h. */
15570 $ac_includes_default
15574 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15581 rm -f conftest.
$ac_objext
15582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15583 (eval $ac_compile) 2>conftest.er1
15585 grep -v '^ *+' conftest.er1
>conftest.err
15587 cat conftest.err
>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); } &&
15590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; } &&
15596 { ac_try
='test -s conftest.$ac_objext'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; }; then
15604 cat >conftest.
$ac_ext <<_ACEOF
15607 cat confdefs.h
>>conftest.
$ac_ext
15608 cat >>conftest.
$ac_ext <<_ACEOF
15609 /* end confdefs.h. */
15610 $ac_includes_default
15614 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15621 rm -f conftest.
$ac_objext
15622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15623 (eval $ac_compile) 2>conftest.er1
15625 grep -v '^ *+' conftest.er1
>conftest.err
15627 cat conftest.err
>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); } &&
15630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; } &&
15636 { ac_try
='test -s conftest.$ac_objext'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; }; then
15642 ac_lo
=$ac_mid; break
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.
$ac_ext >&5
15647 ac_hi
=`expr '(' $ac_mid ')' - 1`
15648 if test $ac_mid -le $ac_hi; then
15652 ac_mid
=`expr 2 '*' $ac_mid`
15654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15657 echo "$as_me: failed program was:" >&5
15658 sed 's/^/| /' conftest.
$ac_ext >&5
15662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15665 # Binary search between lo and hi bounds.
15666 while test "x$ac_lo" != "x$ac_hi"; do
15667 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15668 cat >conftest.
$ac_ext <<_ACEOF
15671 cat confdefs.h
>>conftest.
$ac_ext
15672 cat >>conftest.
$ac_ext <<_ACEOF
15673 /* end confdefs.h. */
15674 $ac_includes_default
15678 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15685 rm -f conftest.
$ac_objext
15686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15687 (eval $ac_compile) 2>conftest.er1
15689 grep -v '^ *+' conftest.er1
>conftest.err
15691 cat conftest.err
>&5
15692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15693 (exit $ac_status); } &&
15694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15696 (eval $ac_try) 2>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); }; } &&
15700 { ac_try
='test -s conftest.$ac_objext'
15701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15702 (eval $ac_try) 2>&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; }; then
15708 echo "$as_me: failed program was:" >&5
15709 sed 's/^/| /' conftest.
$ac_ext >&5
15711 ac_lo
=`expr '(' $ac_mid ')' + 1`
15713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15716 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15717 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15718 See \`config.log' for more details." >&5
15719 echo "$as_me: error: cannot compute sizeof (char), 77
15720 See \`config.log' for more details." >&2;}
15721 { (exit 1); exit 1; }; } ;;
15724 if test "$cross_compiling" = yes; then
15725 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15726 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15727 { (exit 1); exit 1; }; }
15729 cat >conftest.
$ac_ext <<_ACEOF
15732 cat confdefs.h
>>conftest.
$ac_ext
15733 cat >>conftest.
$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15735 $ac_includes_default
15736 long longval () { return (long) (sizeof (char)); }
15737 unsigned long ulongval () { return (long) (sizeof (char)); }
15739 #include <stdlib.h>
15744 FILE *f = fopen ("conftest.val", "w");
15747 if (((long) (sizeof (char))) < 0)
15749 long i = longval ();
15750 if (i != ((long) (sizeof (char))))
15752 fprintf (f, "%ld\n", i);
15756 unsigned long i = ulongval ();
15757 if (i != ((long) (sizeof (char))))
15759 fprintf (f, "%lu\n", i);
15761 exit (ferror (f) || fclose (f) != 0);
15767 rm -f conftest
$ac_exeext
15768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15769 (eval $ac_link) 2>&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; }; then
15778 ac_cv_sizeof_char
=`cat conftest.val`
15780 echo "$as_me: program exited with status $ac_status" >&5
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.
$ac_ext >&5
15784 ( exit $ac_status )
15785 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15786 See \`config.log' for more details." >&5
15787 echo "$as_me: error: cannot compute sizeof (char), 77
15788 See \`config.log' for more details." >&2;}
15789 { (exit 1); exit 1; }; }
15791 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15796 ac_cv_sizeof_char
=0
15799 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15800 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15801 cat >>confdefs.h
<<_ACEOF
15802 #define SIZEOF_CHAR $ac_cv_sizeof_char
15806 echo "$as_me:$LINENO: checking for short" >&5
15807 echo $ECHO_N "checking for short... $ECHO_C" >&6
15808 if test "${ac_cv_type_short+set}" = set; then
15809 echo $ECHO_N "(cached) $ECHO_C" >&6
15811 cat >conftest.
$ac_ext <<_ACEOF
15814 cat confdefs.h
>>conftest.
$ac_ext
15815 cat >>conftest.
$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15817 $ac_includes_default
15823 if (sizeof (short))
15829 rm -f conftest.
$ac_objext
15830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15831 (eval $ac_compile) 2>conftest.er1
15833 grep -v '^ *+' conftest.er1
>conftest.err
15835 cat conftest.err
>&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); } &&
15838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15840 (eval $ac_try) 2>&5
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); }; } &&
15844 { ac_try
='test -s conftest.$ac_objext'
15845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15846 (eval $ac_try) 2>&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); }; }; then
15850 ac_cv_type_short
=yes
15852 echo "$as_me: failed program was:" >&5
15853 sed 's/^/| /' conftest.
$ac_ext >&5
15855 ac_cv_type_short
=no
15857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15859 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15860 echo "${ECHO_T}$ac_cv_type_short" >&6
15862 echo "$as_me:$LINENO: checking size of short" >&5
15863 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15864 if test "${ac_cv_sizeof_short+set}" = set; then
15865 echo $ECHO_N "(cached) $ECHO_C" >&6
15867 if test "$ac_cv_type_short" = yes; then
15868 # The cast to unsigned long works around a bug in the HP C Compiler
15869 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15870 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15871 # This bug is HP SR number 8606223364.
15872 if test "$cross_compiling" = yes; then
15873 # Depending upon the size, compute the lo and hi bounds.
15874 cat >conftest.
$ac_ext <<_ACEOF
15877 cat confdefs.h
>>conftest.
$ac_ext
15878 cat >>conftest.
$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15880 $ac_includes_default
15884 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15891 rm -f conftest.
$ac_objext
15892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15893 (eval $ac_compile) 2>conftest.er1
15895 grep -v '^ *+' conftest.er1
>conftest.err
15897 cat conftest.err
>&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } &&
15900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; } &&
15906 { ac_try
='test -s conftest.$ac_objext'
15907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908 (eval $ac_try) 2>&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; }; then
15914 cat >conftest.
$ac_ext <<_ACEOF
15917 cat confdefs.h
>>conftest.
$ac_ext
15918 cat >>conftest.
$ac_ext <<_ACEOF
15919 /* end confdefs.h. */
15920 $ac_includes_default
15924 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15931 rm -f conftest.
$ac_objext
15932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15933 (eval $ac_compile) 2>conftest.er1
15935 grep -v '^ *+' conftest.er1
>conftest.err
15937 cat conftest.err
>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); } &&
15940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; } &&
15946 { ac_try
='test -s conftest.$ac_objext'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; }; then
15952 ac_hi
=$ac_mid; break
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.
$ac_ext >&5
15957 ac_lo
=`expr $ac_mid + 1`
15958 if test $ac_lo -le $ac_mid; then
15962 ac_mid
=`expr 2 '*' $ac_mid + 1`
15964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15967 echo "$as_me: failed program was:" >&5
15968 sed 's/^/| /' conftest.
$ac_ext >&5
15970 cat >conftest.
$ac_ext <<_ACEOF
15973 cat confdefs.h
>>conftest.
$ac_ext
15974 cat >>conftest.
$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15976 $ac_includes_default
15980 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15987 rm -f conftest.
$ac_objext
15988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15989 (eval $ac_compile) 2>conftest.er1
15991 grep -v '^ *+' conftest.er1
>conftest.err
15993 cat conftest.err
>&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); } &&
15996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998 (eval $ac_try) 2>&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); }; } &&
16002 { ac_try
='test -s conftest.$ac_objext'
16003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16004 (eval $ac_try) 2>&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); }; }; then
16010 cat >conftest.
$ac_ext <<_ACEOF
16013 cat confdefs.h
>>conftest.
$ac_ext
16014 cat >>conftest.
$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16016 $ac_includes_default
16020 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16027 rm -f conftest.
$ac_objext
16028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16029 (eval $ac_compile) 2>conftest.er1
16031 grep -v '^ *+' conftest.er1
>conftest.err
16033 cat conftest.err
>&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); } &&
16036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; } &&
16042 { ac_try
='test -s conftest.$ac_objext'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16048 ac_lo
=$ac_mid; break
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.
$ac_ext >&5
16053 ac_hi
=`expr '(' $ac_mid ')' - 1`
16054 if test $ac_mid -le $ac_hi; then
16058 ac_mid
=`expr 2 '*' $ac_mid`
16060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16063 echo "$as_me: failed program was:" >&5
16064 sed 's/^/| /' conftest.
$ac_ext >&5
16068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16071 # Binary search between lo and hi bounds.
16072 while test "x$ac_lo" != "x$ac_hi"; do
16073 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16074 cat >conftest.
$ac_ext <<_ACEOF
16077 cat confdefs.h
>>conftest.
$ac_ext
16078 cat >>conftest.
$ac_ext <<_ACEOF
16079 /* end confdefs.h. */
16080 $ac_includes_default
16084 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16091 rm -f conftest.
$ac_objext
16092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16093 (eval $ac_compile) 2>conftest.er1
16095 grep -v '^ *+' conftest.er1
>conftest.err
16097 cat conftest.err
>&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); } &&
16100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16102 (eval $ac_try) 2>&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); }; } &&
16106 { ac_try
='test -s conftest.$ac_objext'
16107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16108 (eval $ac_try) 2>&5
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); }; }; then
16114 echo "$as_me: failed program was:" >&5
16115 sed 's/^/| /' conftest.
$ac_ext >&5
16117 ac_lo
=`expr '(' $ac_mid ')' + 1`
16119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16122 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16123 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16124 See \`config.log' for more details." >&5
16125 echo "$as_me: error: cannot compute sizeof (short), 77
16126 See \`config.log' for more details." >&2;}
16127 { (exit 1); exit 1; }; } ;;
16130 if test "$cross_compiling" = yes; then
16131 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16132 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16133 { (exit 1); exit 1; }; }
16135 cat >conftest.
$ac_ext <<_ACEOF
16138 cat confdefs.h
>>conftest.
$ac_ext
16139 cat >>conftest.
$ac_ext <<_ACEOF
16140 /* end confdefs.h. */
16141 $ac_includes_default
16142 long longval () { return (long) (sizeof (short)); }
16143 unsigned long ulongval () { return (long) (sizeof (short)); }
16145 #include <stdlib.h>
16150 FILE *f = fopen ("conftest.val", "w");
16153 if (((long) (sizeof (short))) < 0)
16155 long i = longval ();
16156 if (i != ((long) (sizeof (short))))
16158 fprintf (f, "%ld\n", i);
16162 unsigned long i = ulongval ();
16163 if (i != ((long) (sizeof (short))))
16165 fprintf (f, "%lu\n", i);
16167 exit (ferror (f) || fclose (f) != 0);
16173 rm -f conftest
$ac_exeext
16174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16175 (eval $ac_link) 2>&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; }; then
16184 ac_cv_sizeof_short
=`cat conftest.val`
16186 echo "$as_me: program exited with status $ac_status" >&5
16187 echo "$as_me: failed program was:" >&5
16188 sed 's/^/| /' conftest.
$ac_ext >&5
16190 ( exit $ac_status )
16191 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16192 See \`config.log' for more details." >&5
16193 echo "$as_me: error: cannot compute sizeof (short), 77
16194 See \`config.log' for more details." >&2;}
16195 { (exit 1); exit 1; }; }
16197 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16202 ac_cv_sizeof_short
=0
16205 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16206 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16207 cat >>confdefs.h
<<_ACEOF
16208 #define SIZEOF_SHORT $ac_cv_sizeof_short
16212 echo "$as_me:$LINENO: checking for void *" >&5
16213 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16214 if test "${ac_cv_type_void_p+set}" = set; then
16215 echo $ECHO_N "(cached) $ECHO_C" >&6
16217 cat >conftest.
$ac_ext <<_ACEOF
16220 cat confdefs.h
>>conftest.
$ac_ext
16221 cat >>conftest.
$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 $ac_includes_default
16229 if (sizeof (void *))
16235 rm -f conftest.
$ac_objext
16236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16237 (eval $ac_compile) 2>conftest.er1
16239 grep -v '^ *+' conftest.er1
>conftest.err
16241 cat conftest.err
>&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } &&
16244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16246 (eval $ac_try) 2>&5
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); }; } &&
16250 { ac_try
='test -s conftest.$ac_objext'
16251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16252 (eval $ac_try) 2>&5
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); }; }; then
16256 ac_cv_type_void_p
=yes
16258 echo "$as_me: failed program was:" >&5
16259 sed 's/^/| /' conftest.
$ac_ext >&5
16261 ac_cv_type_void_p
=no
16263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16265 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16266 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16268 echo "$as_me:$LINENO: checking size of void *" >&5
16269 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16270 if test "${ac_cv_sizeof_void_p+set}" = set; then
16271 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 if test "$ac_cv_type_void_p" = yes; then
16274 # The cast to unsigned long works around a bug in the HP C Compiler
16275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16277 # This bug is HP SR number 8606223364.
16278 if test "$cross_compiling" = yes; then
16279 # Depending upon the size, compute the lo and hi bounds.
16280 cat >conftest.
$ac_ext <<_ACEOF
16283 cat confdefs.h
>>conftest.
$ac_ext
16284 cat >>conftest.
$ac_ext <<_ACEOF
16285 /* end confdefs.h. */
16286 $ac_includes_default
16290 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16297 rm -f conftest.
$ac_objext
16298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16299 (eval $ac_compile) 2>conftest.er1
16301 grep -v '^ *+' conftest.er1
>conftest.err
16303 cat conftest.err
>&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); } &&
16306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308 (eval $ac_try) 2>&5
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); }; } &&
16312 { ac_try
='test -s conftest.$ac_objext'
16313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16314 (eval $ac_try) 2>&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }; }; then
16320 cat >conftest.
$ac_ext <<_ACEOF
16323 cat confdefs.h
>>conftest.
$ac_ext
16324 cat >>conftest.
$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16326 $ac_includes_default
16330 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16337 rm -f conftest.
$ac_objext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16339 (eval $ac_compile) 2>conftest.er1
16341 grep -v '^ *+' conftest.er1
>conftest.err
16343 cat conftest.err
>&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); } &&
16346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try
='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 ac_hi
=$ac_mid; break
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.
$ac_ext >&5
16363 ac_lo
=`expr $ac_mid + 1`
16364 if test $ac_lo -le $ac_mid; then
16368 ac_mid
=`expr 2 '*' $ac_mid + 1`
16370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.
$ac_ext >&5
16376 cat >conftest.
$ac_ext <<_ACEOF
16379 cat confdefs.h
>>conftest.
$ac_ext
16380 cat >>conftest.
$ac_ext <<_ACEOF
16381 /* end confdefs.h. */
16382 $ac_includes_default
16386 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16393 rm -f conftest.
$ac_objext
16394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16395 (eval $ac_compile) 2>conftest.er1
16397 grep -v '^ *+' conftest.er1
>conftest.err
16399 cat conftest.err
>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); } &&
16402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16404 (eval $ac_try) 2>&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); }; } &&
16408 { ac_try
='test -s conftest.$ac_objext'
16409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16410 (eval $ac_try) 2>&5
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); }; }; then
16416 cat >conftest.
$ac_ext <<_ACEOF
16419 cat confdefs.h
>>conftest.
$ac_ext
16420 cat >>conftest.
$ac_ext <<_ACEOF
16421 /* end confdefs.h. */
16422 $ac_includes_default
16426 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16433 rm -f conftest.
$ac_objext
16434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16435 (eval $ac_compile) 2>conftest.er1
16437 grep -v '^ *+' conftest.er1
>conftest.err
16439 cat conftest.err
>&5
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); } &&
16442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; } &&
16448 { ac_try
='test -s conftest.$ac_objext'
16449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450 (eval $ac_try) 2>&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; }; then
16454 ac_lo
=$ac_mid; break
16456 echo "$as_me: failed program was:" >&5
16457 sed 's/^/| /' conftest.
$ac_ext >&5
16459 ac_hi
=`expr '(' $ac_mid ')' - 1`
16460 if test $ac_mid -le $ac_hi; then
16464 ac_mid
=`expr 2 '*' $ac_mid`
16466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16469 echo "$as_me: failed program was:" >&5
16470 sed 's/^/| /' conftest.
$ac_ext >&5
16474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16477 # Binary search between lo and hi bounds.
16478 while test "x$ac_lo" != "x$ac_hi"; do
16479 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16480 cat >conftest.
$ac_ext <<_ACEOF
16483 cat confdefs.h
>>conftest.
$ac_ext
16484 cat >>conftest.
$ac_ext <<_ACEOF
16485 /* end confdefs.h. */
16486 $ac_includes_default
16490 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16497 rm -f conftest.
$ac_objext
16498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16499 (eval $ac_compile) 2>conftest.er1
16501 grep -v '^ *+' conftest.er1
>conftest.err
16503 cat conftest.err
>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); } &&
16506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }; } &&
16512 { ac_try
='test -s conftest.$ac_objext'
16513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16514 (eval $ac_try) 2>&5
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); }; }; then
16520 echo "$as_me: failed program was:" >&5
16521 sed 's/^/| /' conftest.
$ac_ext >&5
16523 ac_lo
=`expr '(' $ac_mid ')' + 1`
16525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16528 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16529 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16530 See \`config.log' for more details." >&5
16531 echo "$as_me: error: cannot compute sizeof (void *), 77
16532 See \`config.log' for more details." >&2;}
16533 { (exit 1); exit 1; }; } ;;
16536 if test "$cross_compiling" = yes; then
16537 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16538 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16539 { (exit 1); exit 1; }; }
16541 cat >conftest.
$ac_ext <<_ACEOF
16544 cat confdefs.h
>>conftest.
$ac_ext
16545 cat >>conftest.
$ac_ext <<_ACEOF
16546 /* end confdefs.h. */
16547 $ac_includes_default
16548 long longval () { return (long) (sizeof (void *)); }
16549 unsigned long ulongval () { return (long) (sizeof (void *)); }
16551 #include <stdlib.h>
16556 FILE *f = fopen ("conftest.val", "w");
16559 if (((long) (sizeof (void *))) < 0)
16561 long i = longval ();
16562 if (i != ((long) (sizeof (void *))))
16564 fprintf (f, "%ld\n", i);
16568 unsigned long i = ulongval ();
16569 if (i != ((long) (sizeof (void *))))
16571 fprintf (f, "%lu\n", i);
16573 exit (ferror (f) || fclose (f) != 0);
16579 rm -f conftest
$ac_exeext
16580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16581 (eval $ac_link) 2>&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16586 (eval $ac_try) 2>&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; }; then
16590 ac_cv_sizeof_void_p
=`cat conftest.val`
16592 echo "$as_me: program exited with status $ac_status" >&5
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.
$ac_ext >&5
16596 ( exit $ac_status )
16597 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16598 See \`config.log' for more details." >&5
16599 echo "$as_me: error: cannot compute sizeof (void *), 77
16600 See \`config.log' for more details." >&2;}
16601 { (exit 1); exit 1; }; }
16603 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16608 ac_cv_sizeof_void_p
=0
16611 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16612 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16613 cat >>confdefs.h
<<_ACEOF
16614 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16618 echo "$as_me:$LINENO: checking for int" >&5
16619 echo $ECHO_N "checking for int... $ECHO_C" >&6
16620 if test "${ac_cv_type_int+set}" = set; then
16621 echo $ECHO_N "(cached) $ECHO_C" >&6
16623 cat >conftest.
$ac_ext <<_ACEOF
16626 cat confdefs.h
>>conftest.
$ac_ext
16627 cat >>conftest.
$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 $ac_includes_default
16641 rm -f conftest.
$ac_objext
16642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16643 (eval $ac_compile) 2>conftest.er1
16645 grep -v '^ *+' conftest.er1
>conftest.err
16647 cat conftest.err
>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } &&
16650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; } &&
16656 { ac_try
='test -s conftest.$ac_objext'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; }; then
16664 echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.
$ac_ext >&5
16669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16671 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16672 echo "${ECHO_T}$ac_cv_type_int" >&6
16674 echo "$as_me:$LINENO: checking size of int" >&5
16675 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16676 if test "${ac_cv_sizeof_int+set}" = set; then
16677 echo $ECHO_N "(cached) $ECHO_C" >&6
16679 if test "$ac_cv_type_int" = yes; then
16680 # The cast to unsigned long works around a bug in the HP C Compiler
16681 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16682 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16683 # This bug is HP SR number 8606223364.
16684 if test "$cross_compiling" = yes; then
16685 # Depending upon the size, compute the lo and hi bounds.
16686 cat >conftest.
$ac_ext <<_ACEOF
16689 cat confdefs.h
>>conftest.
$ac_ext
16690 cat >>conftest.
$ac_ext <<_ACEOF
16691 /* end confdefs.h. */
16692 $ac_includes_default
16696 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16703 rm -f conftest.
$ac_objext
16704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16705 (eval $ac_compile) 2>conftest.er1
16707 grep -v '^ *+' conftest.er1
>conftest.err
16709 cat conftest.err
>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); } &&
16712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; } &&
16718 { ac_try
='test -s conftest.$ac_objext'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16720 (eval $ac_try) 2>&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; }; then
16726 cat >conftest.
$ac_ext <<_ACEOF
16729 cat confdefs.h
>>conftest.
$ac_ext
16730 cat >>conftest.
$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732 $ac_includes_default
16736 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16743 rm -f conftest.
$ac_objext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16745 (eval $ac_compile) 2>conftest.er1
16747 grep -v '^ *+' conftest.er1
>conftest.err
16749 cat conftest.err
>&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } &&
16752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16754 (eval $ac_try) 2>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; } &&
16758 { ac_try
='test -s conftest.$ac_objext'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; }; then
16764 ac_hi
=$ac_mid; break
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.
$ac_ext >&5
16769 ac_lo
=`expr $ac_mid + 1`
16770 if test $ac_lo -le $ac_mid; then
16774 ac_mid
=`expr 2 '*' $ac_mid + 1`
16776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.
$ac_ext >&5
16782 cat >conftest.
$ac_ext <<_ACEOF
16785 cat confdefs.h
>>conftest.
$ac_ext
16786 cat >>conftest.
$ac_ext <<_ACEOF
16787 /* end confdefs.h. */
16788 $ac_includes_default
16792 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16799 rm -f conftest.
$ac_objext
16800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16801 (eval $ac_compile) 2>conftest.er1
16803 grep -v '^ *+' conftest.er1
>conftest.err
16805 cat conftest.err
>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); } &&
16808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16810 (eval $ac_try) 2>&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); }; } &&
16814 { ac_try
='test -s conftest.$ac_objext'
16815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16816 (eval $ac_try) 2>&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); }; }; then
16822 cat >conftest.
$ac_ext <<_ACEOF
16825 cat confdefs.h
>>conftest.
$ac_ext
16826 cat >>conftest.
$ac_ext <<_ACEOF
16827 /* end confdefs.h. */
16828 $ac_includes_default
16832 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16839 rm -f conftest.
$ac_objext
16840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16841 (eval $ac_compile) 2>conftest.er1
16843 grep -v '^ *+' conftest.er1
>conftest.err
16845 cat conftest.err
>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); } &&
16848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16850 (eval $ac_try) 2>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; } &&
16854 { ac_try
='test -s conftest.$ac_objext'
16855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16856 (eval $ac_try) 2>&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); }; }; then
16860 ac_lo
=$ac_mid; break
16862 echo "$as_me: failed program was:" >&5
16863 sed 's/^/| /' conftest.
$ac_ext >&5
16865 ac_hi
=`expr '(' $ac_mid ')' - 1`
16866 if test $ac_mid -le $ac_hi; then
16870 ac_mid
=`expr 2 '*' $ac_mid`
16872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16875 echo "$as_me: failed program was:" >&5
16876 sed 's/^/| /' conftest.
$ac_ext >&5
16880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16883 # Binary search between lo and hi bounds.
16884 while test "x$ac_lo" != "x$ac_hi"; do
16885 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16886 cat >conftest.
$ac_ext <<_ACEOF
16889 cat confdefs.h
>>conftest.
$ac_ext
16890 cat >>conftest.
$ac_ext <<_ACEOF
16891 /* end confdefs.h. */
16892 $ac_includes_default
16896 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16903 rm -f conftest.
$ac_objext
16904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16905 (eval $ac_compile) 2>conftest.er1
16907 grep -v '^ *+' conftest.er1
>conftest.err
16909 cat conftest.err
>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } &&
16912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; } &&
16918 { ac_try
='test -s conftest.$ac_objext'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; }; then
16926 echo "$as_me: failed program was:" >&5
16927 sed 's/^/| /' conftest.
$ac_ext >&5
16929 ac_lo
=`expr '(' $ac_mid ')' + 1`
16931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16934 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16935 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16936 See \`config.log' for more details." >&5
16937 echo "$as_me: error: cannot compute sizeof (int), 77
16938 See \`config.log' for more details." >&2;}
16939 { (exit 1); exit 1; }; } ;;
16942 if test "$cross_compiling" = yes; then
16943 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16944 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16945 { (exit 1); exit 1; }; }
16947 cat >conftest.
$ac_ext <<_ACEOF
16950 cat confdefs.h
>>conftest.
$ac_ext
16951 cat >>conftest.
$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16953 $ac_includes_default
16954 long longval () { return (long) (sizeof (int)); }
16955 unsigned long ulongval () { return (long) (sizeof (int)); }
16957 #include <stdlib.h>
16962 FILE *f = fopen ("conftest.val", "w");
16965 if (((long) (sizeof (int))) < 0)
16967 long i = longval ();
16968 if (i != ((long) (sizeof (int))))
16970 fprintf (f, "%ld\n", i);
16974 unsigned long i = ulongval ();
16975 if (i != ((long) (sizeof (int))))
16977 fprintf (f, "%lu\n", i);
16979 exit (ferror (f) || fclose (f) != 0);
16985 rm -f conftest
$ac_exeext
16986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16987 (eval $ac_link) 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16992 (eval $ac_try) 2>&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); }; }; then
16996 ac_cv_sizeof_int
=`cat conftest.val`
16998 echo "$as_me: program exited with status $ac_status" >&5
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.
$ac_ext >&5
17002 ( exit $ac_status )
17003 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17004 See \`config.log' for more details." >&5
17005 echo "$as_me: error: cannot compute sizeof (int), 77
17006 See \`config.log' for more details." >&2;}
17007 { (exit 1); exit 1; }; }
17009 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17017 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17018 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17019 cat >>confdefs.h
<<_ACEOF
17020 #define SIZEOF_INT $ac_cv_sizeof_int
17024 echo "$as_me:$LINENO: checking for long" >&5
17025 echo $ECHO_N "checking for long... $ECHO_C" >&6
17026 if test "${ac_cv_type_long+set}" = set; then
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 cat >conftest.
$ac_ext <<_ACEOF
17032 cat confdefs.h
>>conftest.
$ac_ext
17033 cat >>conftest.
$ac_ext <<_ACEOF
17034 /* end confdefs.h. */
17035 $ac_includes_default
17047 rm -f conftest.
$ac_objext
17048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17049 (eval $ac_compile) 2>conftest.er1
17051 grep -v '^ *+' conftest.er1
>conftest.err
17053 cat conftest.err
>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } &&
17056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; } &&
17062 { ac_try
='test -s conftest.$ac_objext'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; }; then
17068 ac_cv_type_long
=yes
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.
$ac_ext >&5
17075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17077 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17078 echo "${ECHO_T}$ac_cv_type_long" >&6
17080 echo "$as_me:$LINENO: checking size of long" >&5
17081 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17082 if test "${ac_cv_sizeof_long+set}" = set; then
17083 echo $ECHO_N "(cached) $ECHO_C" >&6
17085 if test "$ac_cv_type_long" = yes; then
17086 # The cast to unsigned long works around a bug in the HP C Compiler
17087 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17088 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17089 # This bug is HP SR number 8606223364.
17090 if test "$cross_compiling" = yes; then
17091 # Depending upon the size, compute the lo and hi bounds.
17092 cat >conftest.
$ac_ext <<_ACEOF
17095 cat confdefs.h
>>conftest.
$ac_ext
17096 cat >>conftest.
$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17098 $ac_includes_default
17102 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17109 rm -f conftest.
$ac_objext
17110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17111 (eval $ac_compile) 2>conftest.er1
17113 grep -v '^ *+' conftest.er1
>conftest.err
17115 cat conftest.err
>&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); } &&
17118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17120 (eval $ac_try) 2>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); }; } &&
17124 { ac_try
='test -s conftest.$ac_objext'
17125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17126 (eval $ac_try) 2>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; }; then
17132 cat >conftest.
$ac_ext <<_ACEOF
17135 cat confdefs.h
>>conftest.
$ac_ext
17136 cat >>conftest.
$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 $ac_includes_default
17142 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17149 rm -f conftest.
$ac_objext
17150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17151 (eval $ac_compile) 2>conftest.er1
17153 grep -v '^ *+' conftest.er1
>conftest.err
17155 cat conftest.err
>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } &&
17158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; } &&
17164 { ac_try
='test -s conftest.$ac_objext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 ac_hi
=$ac_mid; break
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.
$ac_ext >&5
17175 ac_lo
=`expr $ac_mid + 1`
17176 if test $ac_lo -le $ac_mid; then
17180 ac_mid
=`expr 2 '*' $ac_mid + 1`
17182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17185 echo "$as_me: failed program was:" >&5
17186 sed 's/^/| /' conftest.
$ac_ext >&5
17188 cat >conftest.
$ac_ext <<_ACEOF
17191 cat confdefs.h
>>conftest.
$ac_ext
17192 cat >>conftest.
$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 $ac_includes_default
17198 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17205 rm -f conftest.
$ac_objext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17207 (eval $ac_compile) 2>conftest.er1
17209 grep -v '^ *+' conftest.er1
>conftest.err
17211 cat conftest.err
>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17216 (eval $ac_try) 2>&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); }; } &&
17220 { ac_try
='test -s conftest.$ac_objext'
17221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17222 (eval $ac_try) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); }; }; then
17228 cat >conftest.
$ac_ext <<_ACEOF
17231 cat confdefs.h
>>conftest.
$ac_ext
17232 cat >>conftest.
$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 $ac_includes_default
17238 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17245 rm -f conftest.
$ac_objext
17246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17247 (eval $ac_compile) 2>conftest.er1
17249 grep -v '^ *+' conftest.er1
>conftest.err
17251 cat conftest.err
>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } &&
17254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17256 (eval $ac_try) 2>&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); }; } &&
17260 { ac_try
='test -s conftest.$ac_objext'
17261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17262 (eval $ac_try) 2>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); }; }; then
17266 ac_lo
=$ac_mid; break
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.
$ac_ext >&5
17271 ac_hi
=`expr '(' $ac_mid ')' - 1`
17272 if test $ac_mid -le $ac_hi; then
17276 ac_mid
=`expr 2 '*' $ac_mid`
17278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.
$ac_ext >&5
17286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17289 # Binary search between lo and hi bounds.
17290 while test "x$ac_lo" != "x$ac_hi"; do
17291 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17292 cat >conftest.
$ac_ext <<_ACEOF
17295 cat confdefs.h
>>conftest.
$ac_ext
17296 cat >>conftest.
$ac_ext <<_ACEOF
17297 /* end confdefs.h. */
17298 $ac_includes_default
17302 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17309 rm -f conftest.
$ac_objext
17310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17311 (eval $ac_compile) 2>conftest.er1
17313 grep -v '^ *+' conftest.er1
>conftest.err
17315 cat conftest.err
>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); } &&
17318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17320 (eval $ac_try) 2>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); }; } &&
17324 { ac_try
='test -s conftest.$ac_objext'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326 (eval $ac_try) 2>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; }; then
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.
$ac_ext >&5
17335 ac_lo
=`expr '(' $ac_mid ')' + 1`
17337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17340 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17341 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17342 See \`config.log' for more details." >&5
17343 echo "$as_me: error: cannot compute sizeof (long), 77
17344 See \`config.log' for more details." >&2;}
17345 { (exit 1); exit 1; }; } ;;
17348 if test "$cross_compiling" = yes; then
17349 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17350 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17351 { (exit 1); exit 1; }; }
17353 cat >conftest.
$ac_ext <<_ACEOF
17356 cat confdefs.h
>>conftest.
$ac_ext
17357 cat >>conftest.
$ac_ext <<_ACEOF
17358 /* end confdefs.h. */
17359 $ac_includes_default
17360 long longval () { return (long) (sizeof (long)); }
17361 unsigned long ulongval () { return (long) (sizeof (long)); }
17363 #include <stdlib.h>
17368 FILE *f = fopen ("conftest.val", "w");
17371 if (((long) (sizeof (long))) < 0)
17373 long i = longval ();
17374 if (i != ((long) (sizeof (long))))
17376 fprintf (f, "%ld\n", i);
17380 unsigned long i = ulongval ();
17381 if (i != ((long) (sizeof (long))))
17383 fprintf (f, "%lu\n", i);
17385 exit (ferror (f) || fclose (f) != 0);
17391 rm -f conftest
$ac_exeext
17392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17393 (eval $ac_link) 2>&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; }; then
17402 ac_cv_sizeof_long
=`cat conftest.val`
17404 echo "$as_me: program exited with status $ac_status" >&5
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.
$ac_ext >&5
17408 ( exit $ac_status )
17409 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17410 See \`config.log' for more details." >&5
17411 echo "$as_me: error: cannot compute sizeof (long), 77
17412 See \`config.log' for more details." >&2;}
17413 { (exit 1); exit 1; }; }
17415 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17420 ac_cv_sizeof_long
=0
17423 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17424 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17425 cat >>confdefs.h
<<_ACEOF
17426 #define SIZEOF_LONG $ac_cv_sizeof_long
17430 echo "$as_me:$LINENO: checking for size_t" >&5
17431 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17432 if test "${ac_cv_type_size_t+set}" = set; then
17433 echo $ECHO_N "(cached) $ECHO_C" >&6
17435 cat >conftest.
$ac_ext <<_ACEOF
17438 cat confdefs.h
>>conftest.
$ac_ext
17439 cat >>conftest.
$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441 $ac_includes_default
17447 if (sizeof (size_t))
17453 rm -f conftest.
$ac_objext
17454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17455 (eval $ac_compile) 2>conftest.er1
17457 grep -v '^ *+' conftest.er1
>conftest.err
17459 cat conftest.err
>&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } &&
17462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try
='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17474 ac_cv_type_size_t
=yes
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.
$ac_ext >&5
17479 ac_cv_type_size_t
=no
17481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17483 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17484 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17486 echo "$as_me:$LINENO: checking size of size_t" >&5
17487 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17488 if test "${ac_cv_sizeof_size_t+set}" = set; then
17489 echo $ECHO_N "(cached) $ECHO_C" >&6
17491 if test "$ac_cv_type_size_t" = yes; then
17492 # The cast to unsigned long works around a bug in the HP C Compiler
17493 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17494 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17495 # This bug is HP SR number 8606223364.
17496 if test "$cross_compiling" = yes; then
17497 # Depending upon the size, compute the lo and hi bounds.
17498 cat >conftest.
$ac_ext <<_ACEOF
17501 cat confdefs.h
>>conftest.
$ac_ext
17502 cat >>conftest.
$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17504 $ac_includes_default
17508 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17515 rm -f conftest.
$ac_objext
17516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17517 (eval $ac_compile) 2>conftest.er1
17519 grep -v '^ *+' conftest.er1
>conftest.err
17521 cat conftest.err
>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); } &&
17524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17526 (eval $ac_try) 2>&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); }; } &&
17530 { ac_try
='test -s conftest.$ac_objext'
17531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17532 (eval $ac_try) 2>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); }; }; then
17538 cat >conftest.
$ac_ext <<_ACEOF
17541 cat confdefs.h
>>conftest.
$ac_ext
17542 cat >>conftest.
$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 $ac_includes_default
17548 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17555 rm -f conftest.
$ac_objext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17557 (eval $ac_compile) 2>conftest.er1
17559 grep -v '^ *+' conftest.er1
>conftest.err
17561 cat conftest.err
>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } &&
17564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17566 (eval $ac_try) 2>&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); }; } &&
17570 { ac_try
='test -s conftest.$ac_objext'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; }; then
17576 ac_hi
=$ac_mid; break
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.
$ac_ext >&5
17581 ac_lo
=`expr $ac_mid + 1`
17582 if test $ac_lo -le $ac_mid; then
17586 ac_mid
=`expr 2 '*' $ac_mid + 1`
17588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.
$ac_ext >&5
17594 cat >conftest.
$ac_ext <<_ACEOF
17597 cat confdefs.h
>>conftest.
$ac_ext
17598 cat >>conftest.
$ac_ext <<_ACEOF
17599 /* end confdefs.h. */
17600 $ac_includes_default
17604 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17611 rm -f conftest.
$ac_objext
17612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17613 (eval $ac_compile) 2>conftest.er1
17615 grep -v '^ *+' conftest.er1
>conftest.err
17617 cat conftest.err
>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); } &&
17620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622 (eval $ac_try) 2>&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); }; } &&
17626 { ac_try
='test -s conftest.$ac_objext'
17627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 (eval $ac_try) 2>&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); }; }; then
17634 cat >conftest.
$ac_ext <<_ACEOF
17637 cat confdefs.h
>>conftest.
$ac_ext
17638 cat >>conftest.
$ac_ext <<_ACEOF
17639 /* end confdefs.h. */
17640 $ac_includes_default
17644 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17651 rm -f conftest.
$ac_objext
17652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17653 (eval $ac_compile) 2>conftest.er1
17655 grep -v '^ *+' conftest.er1
>conftest.err
17657 cat conftest.err
>&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); } &&
17660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; } &&
17666 { ac_try
='test -s conftest.$ac_objext'
17667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668 (eval $ac_try) 2>&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); }; }; then
17672 ac_lo
=$ac_mid; break
17674 echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.
$ac_ext >&5
17677 ac_hi
=`expr '(' $ac_mid ')' - 1`
17678 if test $ac_mid -le $ac_hi; then
17682 ac_mid
=`expr 2 '*' $ac_mid`
17684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.
$ac_ext >&5
17692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17695 # Binary search between lo and hi bounds.
17696 while test "x$ac_lo" != "x$ac_hi"; do
17697 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17698 cat >conftest.
$ac_ext <<_ACEOF
17701 cat confdefs.h
>>conftest.
$ac_ext
17702 cat >>conftest.
$ac_ext <<_ACEOF
17703 /* end confdefs.h. */
17704 $ac_includes_default
17708 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17715 rm -f conftest.
$ac_objext
17716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17717 (eval $ac_compile) 2>conftest.er1
17719 grep -v '^ *+' conftest.er1
>conftest.err
17721 cat conftest.err
>&5
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); } &&
17724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17726 (eval $ac_try) 2>&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); }; } &&
17730 { ac_try
='test -s conftest.$ac_objext'
17731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17732 (eval $ac_try) 2>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; }; then
17738 echo "$as_me: failed program was:" >&5
17739 sed 's/^/| /' conftest.
$ac_ext >&5
17741 ac_lo
=`expr '(' $ac_mid ')' + 1`
17743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17746 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17747 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17748 See \`config.log' for more details." >&5
17749 echo "$as_me: error: cannot compute sizeof (size_t), 77
17750 See \`config.log' for more details." >&2;}
17751 { (exit 1); exit 1; }; } ;;
17754 if test "$cross_compiling" = yes; then
17755 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17756 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17757 { (exit 1); exit 1; }; }
17759 cat >conftest.
$ac_ext <<_ACEOF
17762 cat confdefs.h
>>conftest.
$ac_ext
17763 cat >>conftest.
$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 $ac_includes_default
17766 long longval () { return (long) (sizeof (size_t)); }
17767 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17769 #include <stdlib.h>
17774 FILE *f = fopen ("conftest.val", "w");
17777 if (((long) (sizeof (size_t))) < 0)
17779 long i = longval ();
17780 if (i != ((long) (sizeof (size_t))))
17782 fprintf (f, "%ld\n", i);
17786 unsigned long i = ulongval ();
17787 if (i != ((long) (sizeof (size_t))))
17789 fprintf (f, "%lu\n", i);
17791 exit (ferror (f) || fclose (f) != 0);
17797 rm -f conftest
$ac_exeext
17798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17799 (eval $ac_link) 2>&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17804 (eval $ac_try) 2>&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); }; }; then
17808 ac_cv_sizeof_size_t
=`cat conftest.val`
17810 echo "$as_me: program exited with status $ac_status" >&5
17811 echo "$as_me: failed program was:" >&5
17812 sed 's/^/| /' conftest.
$ac_ext >&5
17814 ( exit $ac_status )
17815 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17816 See \`config.log' for more details." >&5
17817 echo "$as_me: error: cannot compute sizeof (size_t), 77
17818 See \`config.log' for more details." >&2;}
17819 { (exit 1); exit 1; }; }
17821 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17826 ac_cv_sizeof_size_t
=0
17829 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17830 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17831 cat >>confdefs.h
<<_ACEOF
17832 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17839 echo "$as_me:$LINENO: checking for long long" >&5
17840 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17841 if test "${ac_cv_type_long_long+set}" = set; then
17842 echo $ECHO_N "(cached) $ECHO_C" >&6
17844 cat >conftest.
$ac_ext <<_ACEOF
17847 cat confdefs.h
>>conftest.
$ac_ext
17848 cat >>conftest.
$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17850 $ac_includes_default
17854 if ((long long *) 0)
17856 if (sizeof (long long))
17862 rm -f conftest.
$ac_objext
17863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17864 (eval $ac_compile) 2>conftest.er1
17866 grep -v '^ *+' conftest.er1
>conftest.err
17868 cat conftest.err
>&5
17869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17870 (exit $ac_status); } &&
17871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17873 (eval $ac_try) 2>&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); }; } &&
17877 { ac_try
='test -s conftest.$ac_objext'
17878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17879 (eval $ac_try) 2>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); }; }; then
17883 ac_cv_type_long_long
=yes
17885 echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.
$ac_ext >&5
17888 ac_cv_type_long_long
=no
17890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17892 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17893 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17895 echo "$as_me:$LINENO: checking size of long long" >&5
17896 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17897 if test "${ac_cv_sizeof_long_long+set}" = set; then
17898 echo $ECHO_N "(cached) $ECHO_C" >&6
17900 if test "$ac_cv_type_long_long" = yes; then
17901 # The cast to unsigned long works around a bug in the HP C Compiler
17902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17904 # This bug is HP SR number 8606223364.
17905 if test "$cross_compiling" = yes; then
17906 # Depending upon the size, compute the lo and hi bounds.
17907 cat >conftest.
$ac_ext <<_ACEOF
17910 cat confdefs.h
>>conftest.
$ac_ext
17911 cat >>conftest.
$ac_ext <<_ACEOF
17912 /* end confdefs.h. */
17913 $ac_includes_default
17917 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17924 rm -f conftest.
$ac_objext
17925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17926 (eval $ac_compile) 2>conftest.er1
17928 grep -v '^ *+' conftest.er1
>conftest.err
17930 cat conftest.err
>&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); } &&
17933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935 (eval $ac_try) 2>&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; } &&
17939 { ac_try
='test -s conftest.$ac_objext'
17940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 (eval $ac_try) 2>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; }; then
17947 cat >conftest.
$ac_ext <<_ACEOF
17950 cat confdefs.h
>>conftest.
$ac_ext
17951 cat >>conftest.
$ac_ext <<_ACEOF
17952 /* end confdefs.h. */
17953 $ac_includes_default
17957 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17964 rm -f conftest.
$ac_objext
17965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17966 (eval $ac_compile) 2>conftest.er1
17968 grep -v '^ *+' conftest.er1
>conftest.err
17970 cat conftest.err
>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); } &&
17973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17975 (eval $ac_try) 2>&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); }; } &&
17979 { ac_try
='test -s conftest.$ac_objext'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; }; then
17985 ac_hi
=$ac_mid; break
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.
$ac_ext >&5
17990 ac_lo
=`expr $ac_mid + 1`
17991 if test $ac_lo -le $ac_mid; then
17995 ac_mid
=`expr 2 '*' $ac_mid + 1`
17997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18000 echo "$as_me: failed program was:" >&5
18001 sed 's/^/| /' conftest.
$ac_ext >&5
18003 cat >conftest.
$ac_ext <<_ACEOF
18006 cat confdefs.h
>>conftest.
$ac_ext
18007 cat >>conftest.
$ac_ext <<_ACEOF
18008 /* end confdefs.h. */
18009 $ac_includes_default
18013 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18020 rm -f conftest.
$ac_objext
18021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18022 (eval $ac_compile) 2>conftest.er1
18024 grep -v '^ *+' conftest.er1
>conftest.err
18026 cat conftest.err
>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); } &&
18029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; } &&
18035 { ac_try
='test -s conftest.$ac_objext'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; }; then
18043 cat >conftest.
$ac_ext <<_ACEOF
18046 cat confdefs.h
>>conftest.
$ac_ext
18047 cat >>conftest.
$ac_ext <<_ACEOF
18048 /* end confdefs.h. */
18049 $ac_includes_default
18053 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18060 rm -f conftest.
$ac_objext
18061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18062 (eval $ac_compile) 2>conftest.er1
18064 grep -v '^ *+' conftest.er1
>conftest.err
18066 cat conftest.err
>&5
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); } &&
18069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18071 (eval $ac_try) 2>&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); }; } &&
18075 { ac_try
='test -s conftest.$ac_objext'
18076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18077 (eval $ac_try) 2>&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); }; }; then
18081 ac_lo
=$ac_mid; break
18083 echo "$as_me: failed program was:" >&5
18084 sed 's/^/| /' conftest.
$ac_ext >&5
18086 ac_hi
=`expr '(' $ac_mid ')' - 1`
18087 if test $ac_mid -le $ac_hi; then
18091 ac_mid
=`expr 2 '*' $ac_mid`
18093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18096 echo "$as_me: failed program was:" >&5
18097 sed 's/^/| /' conftest.
$ac_ext >&5
18101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18104 # Binary search between lo and hi bounds.
18105 while test "x$ac_lo" != "x$ac_hi"; do
18106 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18107 cat >conftest.
$ac_ext <<_ACEOF
18110 cat confdefs.h
>>conftest.
$ac_ext
18111 cat >>conftest.
$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 $ac_includes_default
18117 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18124 rm -f conftest.
$ac_objext
18125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18126 (eval $ac_compile) 2>conftest.er1
18128 grep -v '^ *+' conftest.er1
>conftest.err
18130 cat conftest.err
>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } &&
18133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; } &&
18139 { ac_try
='test -s conftest.$ac_objext'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; }; then
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.
$ac_ext >&5
18150 ac_lo
=`expr '(' $ac_mid ')' + 1`
18152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18155 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18156 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18157 See \`config.log' for more details." >&5
18158 echo "$as_me: error: cannot compute sizeof (long long), 77
18159 See \`config.log' for more details." >&2;}
18160 { (exit 1); exit 1; }; } ;;
18163 if test "$cross_compiling" = yes; then
18164 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18165 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18166 { (exit 1); exit 1; }; }
18168 cat >conftest.
$ac_ext <<_ACEOF
18171 cat confdefs.h
>>conftest.
$ac_ext
18172 cat >>conftest.
$ac_ext <<_ACEOF
18173 /* end confdefs.h. */
18174 $ac_includes_default
18175 long longval () { return (long) (sizeof (long long)); }
18176 unsigned long ulongval () { return (long) (sizeof (long long)); }
18178 #include <stdlib.h>
18183 FILE *f = fopen ("conftest.val", "w");
18186 if (((long) (sizeof (long long))) < 0)
18188 long i = longval ();
18189 if (i != ((long) (sizeof (long long))))
18191 fprintf (f, "%ld\n", i);
18195 unsigned long i = ulongval ();
18196 if (i != ((long) (sizeof (long long))))
18198 fprintf (f, "%lu\n", i);
18200 exit (ferror (f) || fclose (f) != 0);
18206 rm -f conftest
$ac_exeext
18207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18208 (eval $ac_link) 2>&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 ac_cv_sizeof_long_long
=`cat conftest.val`
18219 echo "$as_me: program exited with status $ac_status" >&5
18220 echo "$as_me: failed program was:" >&5
18221 sed 's/^/| /' conftest.
$ac_ext >&5
18223 ( exit $ac_status )
18224 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18225 See \`config.log' for more details." >&5
18226 echo "$as_me: error: cannot compute sizeof (long long), 77
18227 See \`config.log' for more details." >&2;}
18228 { (exit 1); exit 1; }; }
18230 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18235 ac_cv_sizeof_long_long
=0
18238 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18239 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18240 cat >>confdefs.h
<<_ACEOF
18241 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18247 echo "$as_me:$LINENO: checking for long long" >&5
18248 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18249 if test "${ac_cv_type_long_long+set}" = set; then
18250 echo $ECHO_N "(cached) $ECHO_C" >&6
18252 cat >conftest.
$ac_ext <<_ACEOF
18255 cat confdefs.h
>>conftest.
$ac_ext
18256 cat >>conftest.
$ac_ext <<_ACEOF
18257 /* end confdefs.h. */
18258 $ac_includes_default
18262 if ((long long *) 0)
18264 if (sizeof (long long))
18270 rm -f conftest.
$ac_objext
18271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18272 (eval $ac_compile) 2>conftest.er1
18274 grep -v '^ *+' conftest.er1
>conftest.err
18276 cat conftest.err
>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); } &&
18279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18281 (eval $ac_try) 2>&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); }; } &&
18285 { ac_try
='test -s conftest.$ac_objext'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; }; then
18291 ac_cv_type_long_long
=yes
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.
$ac_ext >&5
18296 ac_cv_type_long_long
=no
18298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18300 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18301 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18303 echo "$as_me:$LINENO: checking size of long long" >&5
18304 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18305 if test "${ac_cv_sizeof_long_long+set}" = set; then
18306 echo $ECHO_N "(cached) $ECHO_C" >&6
18308 if test "$ac_cv_type_long_long" = yes; then
18309 # The cast to unsigned long works around a bug in the HP C Compiler
18310 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18311 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18312 # This bug is HP SR number 8606223364.
18313 if test "$cross_compiling" = yes; then
18314 # Depending upon the size, compute the lo and hi bounds.
18315 cat >conftest.
$ac_ext <<_ACEOF
18318 cat confdefs.h
>>conftest.
$ac_ext
18319 cat >>conftest.
$ac_ext <<_ACEOF
18320 /* end confdefs.h. */
18321 $ac_includes_default
18325 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18332 rm -f conftest.
$ac_objext
18333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18334 (eval $ac_compile) 2>conftest.er1
18336 grep -v '^ *+' conftest.er1
>conftest.err
18338 cat conftest.err
>&5
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); } &&
18341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18343 (eval $ac_try) 2>&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); }; } &&
18347 { ac_try
='test -s conftest.$ac_objext'
18348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18349 (eval $ac_try) 2>&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); }; }; then
18355 cat >conftest.
$ac_ext <<_ACEOF
18358 cat confdefs.h
>>conftest.
$ac_ext
18359 cat >>conftest.
$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18361 $ac_includes_default
18365 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18372 rm -f conftest.
$ac_objext
18373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18374 (eval $ac_compile) 2>conftest.er1
18376 grep -v '^ *+' conftest.er1
>conftest.err
18378 cat conftest.err
>&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } &&
18381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; } &&
18387 { ac_try
='test -s conftest.$ac_objext'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; }; then
18393 ac_hi
=$ac_mid; break
18395 echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.
$ac_ext >&5
18398 ac_lo
=`expr $ac_mid + 1`
18399 if test $ac_lo -le $ac_mid; then
18403 ac_mid
=`expr 2 '*' $ac_mid + 1`
18405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18408 echo "$as_me: failed program was:" >&5
18409 sed 's/^/| /' conftest.
$ac_ext >&5
18411 cat >conftest.
$ac_ext <<_ACEOF
18414 cat confdefs.h
>>conftest.
$ac_ext
18415 cat >>conftest.
$ac_ext <<_ACEOF
18416 /* end confdefs.h. */
18417 $ac_includes_default
18421 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18428 rm -f conftest.
$ac_objext
18429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18430 (eval $ac_compile) 2>conftest.er1
18432 grep -v '^ *+' conftest.er1
>conftest.err
18434 cat conftest.err
>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } &&
18437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; } &&
18443 { ac_try
='test -s conftest.$ac_objext'
18444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18445 (eval $ac_try) 2>&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); }; }; then
18451 cat >conftest.
$ac_ext <<_ACEOF
18454 cat confdefs.h
>>conftest.
$ac_ext
18455 cat >>conftest.
$ac_ext <<_ACEOF
18456 /* end confdefs.h. */
18457 $ac_includes_default
18461 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18468 rm -f conftest.
$ac_objext
18469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18470 (eval $ac_compile) 2>conftest.er1
18472 grep -v '^ *+' conftest.er1
>conftest.err
18474 cat conftest.err
>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } &&
18477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18479 (eval $ac_try) 2>&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); }; } &&
18483 { ac_try
='test -s conftest.$ac_objext'
18484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18485 (eval $ac_try) 2>&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); }; }; then
18489 ac_lo
=$ac_mid; break
18491 echo "$as_me: failed program was:" >&5
18492 sed 's/^/| /' conftest.
$ac_ext >&5
18494 ac_hi
=`expr '(' $ac_mid ')' - 1`
18495 if test $ac_mid -le $ac_hi; then
18499 ac_mid
=`expr 2 '*' $ac_mid`
18501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18504 echo "$as_me: failed program was:" >&5
18505 sed 's/^/| /' conftest.
$ac_ext >&5
18509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18512 # Binary search between lo and hi bounds.
18513 while test "x$ac_lo" != "x$ac_hi"; do
18514 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18515 cat >conftest.
$ac_ext <<_ACEOF
18518 cat confdefs.h
>>conftest.
$ac_ext
18519 cat >>conftest.
$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18521 $ac_includes_default
18525 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18532 rm -f conftest.
$ac_objext
18533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18534 (eval $ac_compile) 2>conftest.er1
18536 grep -v '^ *+' conftest.er1
>conftest.err
18538 cat conftest.err
>&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); } &&
18541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; } &&
18547 { ac_try
='test -s conftest.$ac_objext'
18548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549 (eval $ac_try) 2>&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }; }; then
18555 echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.
$ac_ext >&5
18558 ac_lo
=`expr '(' $ac_mid ')' + 1`
18560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18563 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18564 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18565 See \`config.log' for more details." >&5
18566 echo "$as_me: error: cannot compute sizeof (long long), 77
18567 See \`config.log' for more details." >&2;}
18568 { (exit 1); exit 1; }; } ;;
18571 if test "$cross_compiling" = yes; then
18572 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18573 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18574 { (exit 1); exit 1; }; }
18576 cat >conftest.
$ac_ext <<_ACEOF
18579 cat confdefs.h
>>conftest.
$ac_ext
18580 cat >>conftest.
$ac_ext <<_ACEOF
18581 /* end confdefs.h. */
18582 $ac_includes_default
18583 long longval () { return (long) (sizeof (long long)); }
18584 unsigned long ulongval () { return (long) (sizeof (long long)); }
18586 #include <stdlib.h>
18591 FILE *f = fopen ("conftest.val", "w");
18594 if (((long) (sizeof (long long))) < 0)
18596 long i = longval ();
18597 if (i != ((long) (sizeof (long long))))
18599 fprintf (f, "%ld\n", i);
18603 unsigned long i = ulongval ();
18604 if (i != ((long) (sizeof (long long))))
18606 fprintf (f, "%lu\n", i);
18608 exit (ferror (f) || fclose (f) != 0);
18614 rm -f conftest
$ac_exeext
18615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18616 (eval $ac_link) 2>&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; }; then
18625 ac_cv_sizeof_long_long
=`cat conftest.val`
18627 echo "$as_me: program exited with status $ac_status" >&5
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.
$ac_ext >&5
18631 ( exit $ac_status )
18632 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18633 See \`config.log' for more details." >&5
18634 echo "$as_me: error: cannot compute sizeof (long long), 77
18635 See \`config.log' for more details." >&2;}
18636 { (exit 1); exit 1; }; }
18638 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18643 ac_cv_sizeof_long_long
=0
18646 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18647 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18648 cat >>confdefs.h
<<_ACEOF
18649 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18653 if test "$ac_cv_sizeof_long_long" != "0"; then
18654 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18658 echo "$as_me:$LINENO: checking for long long" >&5
18659 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18660 if test "${ac_cv_type_long_long+set}" = set; then
18661 echo $ECHO_N "(cached) $ECHO_C" >&6
18663 cat >conftest.
$ac_ext <<_ACEOF
18666 cat confdefs.h
>>conftest.
$ac_ext
18667 cat >>conftest.
$ac_ext <<_ACEOF
18668 /* end confdefs.h. */
18669 $ac_includes_default
18673 if ((long long *) 0)
18675 if (sizeof (long long))
18681 rm -f conftest.
$ac_objext
18682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18683 (eval $ac_compile) 2>conftest.er1
18685 grep -v '^ *+' conftest.er1
>conftest.err
18687 cat conftest.err
>&5
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); } &&
18690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692 (eval $ac_try) 2>&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); }; } &&
18696 { ac_try
='test -s conftest.$ac_objext'
18697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18698 (eval $ac_try) 2>&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); }; }; then
18702 ac_cv_type_long_long
=yes
18704 echo "$as_me: failed program was:" >&5
18705 sed 's/^/| /' conftest.
$ac_ext >&5
18707 ac_cv_type_long_long
=no
18709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18711 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18712 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18714 echo "$as_me:$LINENO: checking size of long long" >&5
18715 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18716 if test "${ac_cv_sizeof_long_long+set}" = set; then
18717 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 if test "$ac_cv_type_long_long" = yes; then
18720 # The cast to unsigned long works around a bug in the HP C Compiler
18721 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18722 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18723 # This bug is HP SR number 8606223364.
18724 if test "$cross_compiling" = yes; then
18725 # Depending upon the size, compute the lo and hi bounds.
18726 cat >conftest.
$ac_ext <<_ACEOF
18729 cat confdefs.h
>>conftest.
$ac_ext
18730 cat >>conftest.
$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18732 $ac_includes_default
18736 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18743 rm -f conftest.
$ac_objext
18744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18745 (eval $ac_compile) 2>conftest.er1
18747 grep -v '^ *+' conftest.er1
>conftest.err
18749 cat conftest.err
>&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } &&
18752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18754 (eval $ac_try) 2>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); }; } &&
18758 { ac_try
='test -s conftest.$ac_objext'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; }; then
18766 cat >conftest.
$ac_ext <<_ACEOF
18769 cat confdefs.h
>>conftest.
$ac_ext
18770 cat >>conftest.
$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 $ac_includes_default
18776 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18783 rm -f conftest.
$ac_objext
18784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18785 (eval $ac_compile) 2>conftest.er1
18787 grep -v '^ *+' conftest.er1
>conftest.err
18789 cat conftest.err
>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } &&
18792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; } &&
18798 { ac_try
='test -s conftest.$ac_objext'
18799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18800 (eval $ac_try) 2>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; }; then
18804 ac_hi
=$ac_mid; break
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.
$ac_ext >&5
18809 ac_lo
=`expr $ac_mid + 1`
18810 if test $ac_lo -le $ac_mid; then
18814 ac_mid
=`expr 2 '*' $ac_mid + 1`
18816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18819 echo "$as_me: failed program was:" >&5
18820 sed 's/^/| /' conftest.
$ac_ext >&5
18822 cat >conftest.
$ac_ext <<_ACEOF
18825 cat confdefs.h
>>conftest.
$ac_ext
18826 cat >>conftest.
$ac_ext <<_ACEOF
18827 /* end confdefs.h. */
18828 $ac_includes_default
18832 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18839 rm -f conftest.
$ac_objext
18840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18841 (eval $ac_compile) 2>conftest.er1
18843 grep -v '^ *+' conftest.er1
>conftest.err
18845 cat conftest.err
>&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); } &&
18848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850 (eval $ac_try) 2>&5
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); }; } &&
18854 { ac_try
='test -s conftest.$ac_objext'
18855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856 (eval $ac_try) 2>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; }; then
18862 cat >conftest.
$ac_ext <<_ACEOF
18865 cat confdefs.h
>>conftest.
$ac_ext
18866 cat >>conftest.
$ac_ext <<_ACEOF
18867 /* end confdefs.h. */
18868 $ac_includes_default
18872 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18879 rm -f conftest.
$ac_objext
18880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18881 (eval $ac_compile) 2>conftest.er1
18883 grep -v '^ *+' conftest.er1
>conftest.err
18885 cat conftest.err
>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } &&
18888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; } &&
18894 { ac_try
='test -s conftest.$ac_objext'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; }; then
18900 ac_lo
=$ac_mid; break
18902 echo "$as_me: failed program was:" >&5
18903 sed 's/^/| /' conftest.
$ac_ext >&5
18905 ac_hi
=`expr '(' $ac_mid ')' - 1`
18906 if test $ac_mid -le $ac_hi; then
18910 ac_mid
=`expr 2 '*' $ac_mid`
18912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.
$ac_ext >&5
18920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18923 # Binary search between lo and hi bounds.
18924 while test "x$ac_lo" != "x$ac_hi"; do
18925 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18926 cat >conftest.
$ac_ext <<_ACEOF
18929 cat confdefs.h
>>conftest.
$ac_ext
18930 cat >>conftest.
$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 $ac_includes_default
18936 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18943 rm -f conftest.
$ac_objext
18944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18945 (eval $ac_compile) 2>conftest.er1
18947 grep -v '^ *+' conftest.er1
>conftest.err
18949 cat conftest.err
>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); } &&
18952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try
='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.
$ac_ext >&5
18969 ac_lo
=`expr '(' $ac_mid ')' + 1`
18971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18974 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18975 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18976 See \`config.log' for more details." >&5
18977 echo "$as_me: error: cannot compute sizeof (long long), 77
18978 See \`config.log' for more details." >&2;}
18979 { (exit 1); exit 1; }; } ;;
18982 if test "$cross_compiling" = yes; then
18983 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18984 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18985 { (exit 1); exit 1; }; }
18987 cat >conftest.
$ac_ext <<_ACEOF
18990 cat confdefs.h
>>conftest.
$ac_ext
18991 cat >>conftest.
$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18993 $ac_includes_default
18994 long longval () { return (long) (sizeof (long long)); }
18995 unsigned long ulongval () { return (long) (sizeof (long long)); }
18997 #include <stdlib.h>
19002 FILE *f = fopen ("conftest.val", "w");
19005 if (((long) (sizeof (long long))) < 0)
19007 long i = longval ();
19008 if (i != ((long) (sizeof (long long))))
19010 fprintf (f, "%ld\n", i);
19014 unsigned long i = ulongval ();
19015 if (i != ((long) (sizeof (long long))))
19017 fprintf (f, "%lu\n", i);
19019 exit (ferror (f) || fclose (f) != 0);
19025 rm -f conftest
$ac_exeext
19026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19027 (eval $ac_link) 2>&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; }; then
19036 ac_cv_sizeof_long_long
=`cat conftest.val`
19038 echo "$as_me: program exited with status $ac_status" >&5
19039 echo "$as_me: failed program was:" >&5
19040 sed 's/^/| /' conftest.
$ac_ext >&5
19042 ( exit $ac_status )
19043 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19044 See \`config.log' for more details." >&5
19045 echo "$as_me: error: cannot compute sizeof (long long), 77
19046 See \`config.log' for more details." >&2;}
19047 { (exit 1); exit 1; }; }
19049 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19054 ac_cv_sizeof_long_long
=0
19057 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19058 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19059 cat >>confdefs.h
<<_ACEOF
19060 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19066 echo "$as_me:$LINENO: checking for wchar_t" >&5
19067 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19068 if test "${ac_cv_type_wchar_t+set}" = set; then
19069 echo $ECHO_N "(cached) $ECHO_C" >&6
19071 cat >conftest.
$ac_ext <<_ACEOF
19074 cat confdefs.h
>>conftest.
$ac_ext
19075 cat >>conftest.
$ac_ext <<_ACEOF
19076 /* end confdefs.h. */
19078 /* DJGPP only has fake wchar_t: */
19080 # error "fake wchar_t"
19082 #ifdef HAVE_WCHAR_H
19084 # include <stddef.h>
19086 # include <wchar.h>
19088 #ifdef HAVE_STDLIB_H
19089 # include <stdlib.h>
19100 if (sizeof (wchar_t))
19106 rm -f conftest.
$ac_objext
19107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19108 (eval $ac_compile) 2>conftest.er1
19110 grep -v '^ *+' conftest.er1
>conftest.err
19112 cat conftest.err
>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); } &&
19115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19117 (eval $ac_try) 2>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; } &&
19121 { ac_try
='test -s conftest.$ac_objext'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; }; then
19127 ac_cv_type_wchar_t
=yes
19129 echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.
$ac_ext >&5
19132 ac_cv_type_wchar_t
=no
19134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19136 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19137 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19139 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19140 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19141 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19142 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 if test "$ac_cv_type_wchar_t" = yes; then
19145 # The cast to unsigned long works around a bug in the HP C Compiler
19146 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19147 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19148 # This bug is HP SR number 8606223364.
19149 if test "$cross_compiling" = yes; then
19150 # Depending upon the size, compute the lo and hi bounds.
19151 cat >conftest.
$ac_ext <<_ACEOF
19154 cat confdefs.h
>>conftest.
$ac_ext
19155 cat >>conftest.
$ac_ext <<_ACEOF
19156 /* end confdefs.h. */
19158 /* DJGPP only has fake wchar_t: */
19160 # error "fake wchar_t"
19162 #ifdef HAVE_WCHAR_H
19164 # include <stddef.h>
19166 # include <wchar.h>
19168 #ifdef HAVE_STDLIB_H
19169 # include <stdlib.h>
19178 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19185 rm -f conftest.
$ac_objext
19186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19187 (eval $ac_compile) 2>conftest.er1
19189 grep -v '^ *+' conftest.er1
>conftest.err
19191 cat conftest.err
>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } &&
19194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19196 (eval $ac_try) 2>&5
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); }; } &&
19200 { ac_try
='test -s conftest.$ac_objext'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; }; then
19208 cat >conftest.
$ac_ext <<_ACEOF
19211 cat confdefs.h
>>conftest.
$ac_ext
19212 cat >>conftest.
$ac_ext <<_ACEOF
19213 /* end confdefs.h. */
19215 /* DJGPP only has fake wchar_t: */
19217 # error "fake wchar_t"
19219 #ifdef HAVE_WCHAR_H
19221 # include <stddef.h>
19223 # include <wchar.h>
19225 #ifdef HAVE_STDLIB_H
19226 # include <stdlib.h>
19235 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19242 rm -f conftest.
$ac_objext
19243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19244 (eval $ac_compile) 2>conftest.er1
19246 grep -v '^ *+' conftest.er1
>conftest.err
19248 cat conftest.err
>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } &&
19251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; } &&
19257 { ac_try
='test -s conftest.$ac_objext'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; }; then
19263 ac_hi
=$ac_mid; break
19265 echo "$as_me: failed program was:" >&5
19266 sed 's/^/| /' conftest.
$ac_ext >&5
19268 ac_lo
=`expr $ac_mid + 1`
19269 if test $ac_lo -le $ac_mid; then
19273 ac_mid
=`expr 2 '*' $ac_mid + 1`
19275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19278 echo "$as_me: failed program was:" >&5
19279 sed 's/^/| /' conftest.
$ac_ext >&5
19281 cat >conftest.
$ac_ext <<_ACEOF
19284 cat confdefs.h
>>conftest.
$ac_ext
19285 cat >>conftest.
$ac_ext <<_ACEOF
19286 /* end confdefs.h. */
19288 /* DJGPP only has fake wchar_t: */
19290 # error "fake wchar_t"
19292 #ifdef HAVE_WCHAR_H
19294 # include <stddef.h>
19296 # include <wchar.h>
19298 #ifdef HAVE_STDLIB_H
19299 # include <stdlib.h>
19308 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19315 rm -f conftest.
$ac_objext
19316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19317 (eval $ac_compile) 2>conftest.er1
19319 grep -v '^ *+' conftest.er1
>conftest.err
19321 cat conftest.err
>&5
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); } &&
19324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19326 (eval $ac_try) 2>&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); }; } &&
19330 { ac_try
='test -s conftest.$ac_objext'
19331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19332 (eval $ac_try) 2>&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); }; }; then
19338 cat >conftest.
$ac_ext <<_ACEOF
19341 cat confdefs.h
>>conftest.
$ac_ext
19342 cat >>conftest.
$ac_ext <<_ACEOF
19343 /* end confdefs.h. */
19345 /* DJGPP only has fake wchar_t: */
19347 # error "fake wchar_t"
19349 #ifdef HAVE_WCHAR_H
19351 # include <stddef.h>
19353 # include <wchar.h>
19355 #ifdef HAVE_STDLIB_H
19356 # include <stdlib.h>
19365 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19372 rm -f conftest.
$ac_objext
19373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19374 (eval $ac_compile) 2>conftest.er1
19376 grep -v '^ *+' conftest.er1
>conftest.err
19378 cat conftest.err
>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } &&
19381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; } &&
19387 { ac_try
='test -s conftest.$ac_objext'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; }; then
19393 ac_lo
=$ac_mid; break
19395 echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.
$ac_ext >&5
19398 ac_hi
=`expr '(' $ac_mid ')' - 1`
19399 if test $ac_mid -le $ac_hi; then
19403 ac_mid
=`expr 2 '*' $ac_mid`
19405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.
$ac_ext >&5
19413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19416 # Binary search between lo and hi bounds.
19417 while test "x$ac_lo" != "x$ac_hi"; do
19418 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19419 cat >conftest.
$ac_ext <<_ACEOF
19422 cat confdefs.h
>>conftest.
$ac_ext
19423 cat >>conftest.
$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19426 /* DJGPP only has fake wchar_t: */
19428 # error "fake wchar_t"
19430 #ifdef HAVE_WCHAR_H
19432 # include <stddef.h>
19434 # include <wchar.h>
19436 #ifdef HAVE_STDLIB_H
19437 # include <stdlib.h>
19446 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19453 rm -f conftest.
$ac_objext
19454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19455 (eval $ac_compile) 2>conftest.er1
19457 grep -v '^ *+' conftest.er1
>conftest.err
19459 cat conftest.err
>&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); } &&
19462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19464 (eval $ac_try) 2>&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; } &&
19468 { ac_try
='test -s conftest.$ac_objext'
19469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19470 (eval $ac_try) 2>&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); }; }; then
19476 echo "$as_me: failed program was:" >&5
19477 sed 's/^/| /' conftest.
$ac_ext >&5
19479 ac_lo
=`expr '(' $ac_mid ')' + 1`
19481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19484 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19485 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19486 See \`config.log' for more details." >&5
19487 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19488 See \`config.log' for more details." >&2;}
19489 { (exit 1); exit 1; }; } ;;
19492 if test "$cross_compiling" = yes; then
19493 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19494 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19495 { (exit 1); exit 1; }; }
19497 cat >conftest.
$ac_ext <<_ACEOF
19500 cat confdefs.h
>>conftest.
$ac_ext
19501 cat >>conftest.
$ac_ext <<_ACEOF
19502 /* end confdefs.h. */
19504 /* DJGPP only has fake wchar_t: */
19506 # error "fake wchar_t"
19508 #ifdef HAVE_WCHAR_H
19510 # include <stddef.h>
19512 # include <wchar.h>
19514 #ifdef HAVE_STDLIB_H
19515 # include <stdlib.h>
19521 long longval () { return (long) (sizeof (wchar_t)); }
19522 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19524 #include <stdlib.h>
19529 FILE *f = fopen ("conftest.val", "w");
19532 if (((long) (sizeof (wchar_t))) < 0)
19534 long i = longval ();
19535 if (i != ((long) (sizeof (wchar_t))))
19537 fprintf (f, "%ld\n", i);
19541 unsigned long i = ulongval ();
19542 if (i != ((long) (sizeof (wchar_t))))
19544 fprintf (f, "%lu\n", i);
19546 exit (ferror (f) || fclose (f) != 0);
19552 rm -f conftest
$ac_exeext
19553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19554 (eval $ac_link) 2>&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559 (eval $ac_try) 2>&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; }; then
19563 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19565 echo "$as_me: program exited with status $ac_status" >&5
19566 echo "$as_me: failed program was:" >&5
19567 sed 's/^/| /' conftest.
$ac_ext >&5
19569 ( exit $ac_status )
19570 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19571 See \`config.log' for more details." >&5
19572 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19573 See \`config.log' for more details." >&2;}
19574 { (exit 1); exit 1; }; }
19576 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19581 ac_cv_sizeof_wchar_t
=0
19584 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19585 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19586 cat >>confdefs.h
<<_ACEOF
19587 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19592 echo "$as_me:$LINENO: checking for va_copy" >&5
19593 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19594 if test "${wx_cv_func_va_copy+set}" = set; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19598 cat >conftest.
$ac_ext <<_ACEOF
19600 #include <stdarg.h>
19601 void foo(char *f, ...)
19615 rm -f conftest.
$ac_objext conftest
$ac_exeext
19616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19617 (eval $ac_link) 2>conftest.er1
19619 grep -v '^ *+' conftest.er1
>conftest.err
19621 cat conftest.err
>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } &&
19624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626 (eval $ac_try) 2>&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); }; } &&
19630 { ac_try
='test -s conftest$ac_exeext'
19631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632 (eval $ac_try) 2>&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; }; then
19636 wx_cv_func_va_copy
=yes
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.
$ac_ext >&5
19641 wx_cv_func_va_copy
=no
19644 rm -f conftest.err conftest.
$ac_objext \
19645 conftest
$ac_exeext conftest.
$ac_ext
19649 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19650 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19652 if test $wx_cv_func_va_copy = "yes"; then
19653 cat >>confdefs.h
<<\_ACEOF
19654 #define HAVE_VA_COPY 1
19658 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19659 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19660 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19661 echo $ECHO_N "(cached) $ECHO_C" >&6
19664 if test "$cross_compiling" = yes; then
19665 wx_cv_type_va_list_lvalue
=yes
19668 cat >conftest.
$ac_ext <<_ACEOF
19670 #include <stdarg.h>
19671 int foo(char *f, ...)
19676 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19684 return foo("hi", 17);
19687 rm -f conftest
$ac_exeext
19688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19689 (eval $ac_link) 2>&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19694 (eval $ac_try) 2>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); }; }; then
19698 wx_cv_type_va_list_lvalue
=yes
19700 echo "$as_me: program exited with status $ac_status" >&5
19701 echo "$as_me: failed program was:" >&5
19702 sed 's/^/| /' conftest.
$ac_ext >&5
19704 ( exit $ac_status )
19705 wx_cv_type_va_list_lvalue
=no
19707 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19712 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19713 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19715 if test $wx_cv_type_va_list_lvalue != "yes"; then
19716 cat >>confdefs.h
<<\_ACEOF
19717 #define VA_LIST_IS_ARRAY 1
19723 # Check whether --enable-largefile or --disable-largefile was given.
19724 if test "${enable_largefile+set}" = set; then
19725 enableval
="$enable_largefile"
19728 if test "$enable_largefile" != no
; then
19731 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19732 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19733 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19737 cat >conftest.
$ac_ext <<_ACEOF
19740 cat confdefs.h
>>conftest.
$ac_ext
19741 cat >>conftest.
$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19743 #define _FILE_OFFSET_BITS 64
19744 #include <sys/types.h>
19749 unsigned int field: sizeof(off_t) == 8;
19756 rm -f conftest.
$ac_objext
19757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19758 (eval $ac_compile) 2>conftest.er1
19760 grep -v '^ *+' conftest.er1
>conftest.err
19762 cat conftest.err
>&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } &&
19765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19767 (eval $ac_try) 2>&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; } &&
19771 { ac_try
='test -s conftest.$ac_objext'
19772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773 (eval $ac_try) 2>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; }; then
19777 ac_cv_sys_file_offset_bits
=64
19779 echo "$as_me: failed program was:" >&5
19780 sed 's/^/| /' conftest.
$ac_ext >&5
19782 ac_cv_sys_file_offset_bits
=no
19784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19788 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19789 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19791 if test "$ac_cv_sys_file_offset_bits" != no
; then
19793 cat >>confdefs.h
<<_ACEOF
19794 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19799 if test "x$wx_largefile" != "xyes"; then
19801 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19802 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19803 if test "${ac_cv_sys_large_files+set}" = set; then
19804 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 cat >conftest.
$ac_ext <<_ACEOF
19810 cat confdefs.h
>>conftest.
$ac_ext
19811 cat >>conftest.
$ac_ext <<_ACEOF
19812 /* end confdefs.h. */
19813 #define _LARGE_FILES 1
19814 #include <sys/types.h>
19819 unsigned int field: sizeof(off_t) == 8;
19826 rm -f conftest.
$ac_objext
19827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19828 (eval $ac_compile) 2>conftest.er1
19830 grep -v '^ *+' conftest.er1
>conftest.err
19832 cat conftest.err
>&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); } &&
19835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try
='test -s conftest.$ac_objext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 ac_cv_sys_large_files
=1
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.
$ac_ext >&5
19852 ac_cv_sys_large_files
=no
19854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19858 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19859 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19861 if test "$ac_cv_sys_large_files" != no
; then
19863 cat >>confdefs.h
<<_ACEOF
19864 #define _LARGE_FILES $ac_cv_sys_large_files
19871 echo "$as_me:$LINENO: checking if large file support is available" >&5
19872 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19873 if test "x$wx_largefile" = "xyes"; then
19874 cat >>confdefs.h
<<\_ACEOF
19875 #define HAVE_LARGEFILE_SUPPORT 1
19879 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19880 echo "${ECHO_T}$wx_largefile" >&6
19884 if test "x$wx_largefile" = "xyes"; then
19885 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19886 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19888 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
19890 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19891 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19892 if test "${ac_cv_sys_largefile_source+set}" = set; then
19893 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 ac_cv_sys_largefile_source
=no
19897 cat >conftest.
$ac_ext <<_ACEOF
19900 cat confdefs.h
>>conftest.
$ac_ext
19901 cat >>conftest.
$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19912 rm -f conftest.
$ac_objext
19913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19914 (eval $ac_compile) 2>conftest.er1
19916 grep -v '^ *+' conftest.er1
>conftest.err
19918 cat conftest.err
>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } &&
19921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; } &&
19927 { ac_try
='test -s conftest.$ac_objext'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; }; then
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.
$ac_ext >&5
19939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19940 cat >conftest.
$ac_ext <<_ACEOF
19943 cat confdefs.h
>>conftest.
$ac_ext
19944 cat >>conftest.
$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19946 #define _LARGEFILE_SOURCE 1
19956 rm -f conftest.
$ac_objext
19957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19958 (eval $ac_compile) 2>conftest.er1
19960 grep -v '^ *+' conftest.er1
>conftest.err
19962 cat conftest.err
>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } &&
19965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19967 (eval $ac_try) 2>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); }; } &&
19971 { ac_try
='test -s conftest.$ac_objext'
19972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19973 (eval $ac_try) 2>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); }; }; then
19977 ac_cv_sys_largefile_source
=1; break
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.
$ac_ext >&5
19983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19987 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19988 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
19989 if test "$ac_cv_sys_largefile_source" != no
; then
19991 cat >>confdefs.h
<<_ACEOF
19992 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19998 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19999 # in glibc 2.1.3, but that breaks too many other things.
20000 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20001 echo "$as_me:$LINENO: checking for fseeko" >&5
20002 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20003 if test "${ac_cv_func_fseeko+set}" = set; then
20004 echo $ECHO_N "(cached) $ECHO_C" >&6
20006 cat >conftest.
$ac_ext <<_ACEOF
20009 cat confdefs.h
>>conftest.
$ac_ext
20010 cat >>conftest.
$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20016 return fseeko && fseeko (stdin, 0, 0);
20021 rm -f conftest.
$ac_objext conftest
$ac_exeext
20022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20023 (eval $ac_link) 2>conftest.er1
20025 grep -v '^ *+' conftest.er1
>conftest.err
20027 cat conftest.err
>&5
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); } &&
20030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032 (eval $ac_try) 2>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; } &&
20036 { ac_try
='test -s conftest$ac_exeext'
20037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038 (eval $ac_try) 2>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); }; }; then
20042 ac_cv_func_fseeko
=yes
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.
$ac_ext >&5
20047 ac_cv_func_fseeko
=no
20049 rm -f conftest.err conftest.
$ac_objext \
20050 conftest
$ac_exeext conftest.
$ac_ext
20052 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20053 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20054 if test $ac_cv_func_fseeko = yes; then
20056 cat >>confdefs.h
<<\_ACEOF
20057 #define HAVE_FSEEKO 1
20062 if test "$ac_cv_sys_largefile_source" != no
; then
20063 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20065 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20068 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20069 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20070 if test "${ac_cv_c_bigendian+set}" = set; then
20071 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 ac_cv_c_bigendian
=unknown
20074 # See if sys/param.h defines the BYTE_ORDER macro.
20075 cat >conftest.
$ac_ext <<_ACEOF
20078 cat confdefs.h
>>conftest.
$ac_ext
20079 cat >>conftest.
$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 #include <sys/types.h>
20082 #include <sys/param.h>
20087 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20088 bogus endian macros
20094 rm -f conftest.
$ac_objext
20095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20096 (eval $ac_compile) 2>conftest.er1
20098 grep -v '^ *+' conftest.er1
>conftest.err
20100 cat conftest.err
>&5
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); } &&
20103 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20105 (eval $ac_try) 2>&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); }; } &&
20109 { ac_try
='test -s conftest.$ac_objext'
20110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20111 (eval $ac_try) 2>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); }; }; then
20115 # It does; now see whether it defined to BIG_ENDIAN or not.
20116 cat >conftest.
$ac_ext <<_ACEOF
20119 cat confdefs.h
>>conftest.
$ac_ext
20120 cat >>conftest.
$ac_ext <<_ACEOF
20121 /* end confdefs.h. */
20122 #include <sys/types.h>
20123 #include <sys/param.h>
20128 #if BYTE_ORDER != BIG_ENDIAN
20135 rm -f conftest.
$ac_objext
20136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20137 (eval $ac_compile) 2>conftest.er1
20139 grep -v '^ *+' conftest.er1
>conftest.err
20141 cat conftest.err
>&5
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); } &&
20144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20146 (eval $ac_try) 2>&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); }; } &&
20150 { ac_try
='test -s conftest.$ac_objext'
20151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20152 (eval $ac_try) 2>&5
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); }; }; then
20156 ac_cv_c_bigendian
=yes
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.
$ac_ext >&5
20161 ac_cv_c_bigendian
=no
20163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20165 echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.
$ac_ext >&5
20169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20170 if test $ac_cv_c_bigendian = unknown
; then
20171 if test "$cross_compiling" = yes; then
20172 ac_cv_c_bigendian
=unknown
20174 cat >conftest.
$ac_ext <<_ACEOF
20177 cat confdefs.h
>>conftest.
$ac_ext
20178 cat >>conftest.
$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20181 /* Are we little or big endian? From Harbison&Steele. */
20185 char c[sizeof (long)];
20188 exit (u.c[sizeof (long) - 1] == 1);
20191 rm -f conftest
$ac_exeext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20193 (eval $ac_link) 2>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; }; then
20202 ac_cv_c_bigendian
=no
20204 echo "$as_me: program exited with status $ac_status" >&5
20205 echo "$as_me: failed program was:" >&5
20206 sed 's/^/| /' conftest.
$ac_ext >&5
20208 ( exit $ac_status )
20209 ac_cv_c_bigendian
=yes
20211 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20215 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20216 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20217 if test $ac_cv_c_bigendian = unknown
; then
20218 { 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
20219 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;}
20221 if test $ac_cv_c_bigendian = yes; then
20222 cat >>confdefs.h
<<\_ACEOF
20223 #define WORDS_BIGENDIAN 1
20230 ac_cpp
='$CXXCPP $CPPFLAGS'
20231 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20232 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20233 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20234 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20235 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20236 if test -z "$CXXCPP"; then
20237 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 # Double quotes because CXXCPP needs to be expanded
20241 for CXXCPP
in "$CXX -E" "/lib/cpp"
20243 ac_preproc_ok
=false
20244 for ac_cxx_preproc_warn_flag
in '' yes
20246 # Use a header file that comes with gcc, so configuring glibc
20247 # with a fresh cross-compiler works.
20248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20249 # <limits.h> exists even on freestanding compilers.
20250 # On the NeXT, cc -E runs the code through the compiler's parser,
20251 # not just through cpp. "Syntax error" is here to catch this case.
20252 cat >conftest.
$ac_ext <<_ACEOF
20255 cat confdefs.h
>>conftest.
$ac_ext
20256 cat >>conftest.
$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20259 # include <limits.h>
20261 # include <assert.h>
20265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20266 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20268 grep -v '^ *+' conftest.er1
>conftest.err
20270 cat conftest.err
>&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } >/dev
/null
; then
20273 if test -s conftest.err
; then
20274 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20275 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20282 if test -z "$ac_cpp_err"; then
20285 echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.
$ac_ext >&5
20288 # Broken: fails on valid input.
20291 rm -f conftest.err conftest.
$ac_ext
20293 # OK, works on sane cases. Now check whether non-existent headers
20294 # can be detected and how.
20295 cat >conftest.
$ac_ext <<_ACEOF
20298 cat confdefs.h
>>conftest.
$ac_ext
20299 cat >>conftest.
$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 #include <ac_nonexistent.h>
20303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20304 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20306 grep -v '^ *+' conftest.er1
>conftest.err
20308 cat conftest.err
>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); } >/dev
/null
; then
20311 if test -s conftest.err
; then
20312 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20313 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20320 if test -z "$ac_cpp_err"; then
20321 # Broken: success on invalid input.
20324 echo "$as_me: failed program was:" >&5
20325 sed 's/^/| /' conftest.
$ac_ext >&5
20327 # Passes both tests.
20331 rm -f conftest.err conftest.
$ac_ext
20334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20335 rm -f conftest.err conftest.
$ac_ext
20336 if $ac_preproc_ok; then
20341 ac_cv_prog_CXXCPP
=$CXXCPP
20344 CXXCPP
=$ac_cv_prog_CXXCPP
20346 ac_cv_prog_CXXCPP
=$CXXCPP
20348 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20349 echo "${ECHO_T}$CXXCPP" >&6
20350 ac_preproc_ok
=false
20351 for ac_cxx_preproc_warn_flag
in '' yes
20353 # Use a header file that comes with gcc, so configuring glibc
20354 # with a fresh cross-compiler works.
20355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20356 # <limits.h> exists even on freestanding compilers.
20357 # On the NeXT, cc -E runs the code through the compiler's parser,
20358 # not just through cpp. "Syntax error" is here to catch this case.
20359 cat >conftest.
$ac_ext <<_ACEOF
20362 cat confdefs.h
>>conftest.
$ac_ext
20363 cat >>conftest.
$ac_ext <<_ACEOF
20364 /* end confdefs.h. */
20366 # include <limits.h>
20368 # include <assert.h>
20372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20373 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20375 grep -v '^ *+' conftest.er1
>conftest.err
20377 cat conftest.err
>&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } >/dev
/null
; then
20380 if test -s conftest.err
; then
20381 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20382 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20389 if test -z "$ac_cpp_err"; then
20392 echo "$as_me: failed program was:" >&5
20393 sed 's/^/| /' conftest.
$ac_ext >&5
20395 # Broken: fails on valid input.
20398 rm -f conftest.err conftest.
$ac_ext
20400 # OK, works on sane cases. Now check whether non-existent headers
20401 # can be detected and how.
20402 cat >conftest.
$ac_ext <<_ACEOF
20405 cat confdefs.h
>>conftest.
$ac_ext
20406 cat >>conftest.
$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 #include <ac_nonexistent.h>
20410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20411 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20413 grep -v '^ *+' conftest.er1
>conftest.err
20415 cat conftest.err
>&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } >/dev
/null
; then
20418 if test -s conftest.err
; then
20419 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20420 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20427 if test -z "$ac_cpp_err"; then
20428 # Broken: success on invalid input.
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.
$ac_ext >&5
20434 # Passes both tests.
20438 rm -f conftest.err conftest.
$ac_ext
20441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20442 rm -f conftest.err conftest.
$ac_ext
20443 if $ac_preproc_ok; then
20446 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20447 See \`config.log' for more details." >&5
20448 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20449 See \`config.log' for more details." >&2;}
20450 { (exit 1); exit 1; }; }
20454 ac_cpp
='$CXXCPP $CPPFLAGS'
20455 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20456 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20457 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20464 ac_cpp
='$CXXCPP $CPPFLAGS'
20465 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20466 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20467 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20471 for ac_header
in iostream
20473 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20475 echo "$as_me:$LINENO: checking for $ac_header" >&5
20476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20478 echo $ECHO_N "(cached) $ECHO_C" >&6
20480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20483 # Is the header compilable?
20484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20486 cat >conftest.
$ac_ext <<_ACEOF
20489 cat confdefs.h
>>conftest.
$ac_ext
20490 cat >>conftest.
$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 $ac_includes_default
20493 #include <$ac_header>
20495 rm -f conftest.
$ac_objext
20496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20497 (eval $ac_compile) 2>conftest.er1
20499 grep -v '^ *+' conftest.er1
>conftest.err
20501 cat conftest.err
>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } &&
20504 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; } &&
20510 { ac_try
='test -s conftest.$ac_objext'
20511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20512 (eval $ac_try) 2>&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); }; }; then
20516 ac_header_compiler
=yes
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.
$ac_ext >&5
20521 ac_header_compiler
=no
20523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20524 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20525 echo "${ECHO_T}$ac_header_compiler" >&6
20527 # Is the header present?
20528 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20530 cat >conftest.
$ac_ext <<_ACEOF
20533 cat confdefs.h
>>conftest.
$ac_ext
20534 cat >>conftest.
$ac_ext <<_ACEOF
20535 /* end confdefs.h. */
20536 #include <$ac_header>
20538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20539 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20541 grep -v '^ *+' conftest.er1
>conftest.err
20543 cat conftest.err
>&5
20544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545 (exit $ac_status); } >/dev
/null
; then
20546 if test -s conftest.err
; then
20547 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20548 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20555 if test -z "$ac_cpp_err"; then
20556 ac_header_preproc
=yes
20558 echo "$as_me: failed program was:" >&5
20559 sed 's/^/| /' conftest.
$ac_ext >&5
20561 ac_header_preproc
=no
20563 rm -f conftest.err conftest.
$ac_ext
20564 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20565 echo "${ECHO_T}$ac_header_preproc" >&6
20567 # So? What about this header?
20568 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20570 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20573 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20574 ac_header_preproc
=yes
20577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20581 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20582 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20583 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20584 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20587 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20588 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20591 ## ----------------------------------------- ##
20592 ## Report this to wx-dev@lists.wxwidgets.org ##
20593 ## ----------------------------------------- ##
20596 sed "s/^/$as_me: WARNING: /" >&2
20599 echo "$as_me:$LINENO: checking for $ac_header" >&5
20600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20602 echo $ECHO_N "(cached) $ECHO_C" >&6
20604 eval "$as_ac_Header=\$ac_header_preproc"
20606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20611 cat >>confdefs.h
<<_ACEOF
20612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20620 if test "$ac_cv_header_iostream" = "yes" ; then
20623 cat >>confdefs.h
<<\_ACEOF
20624 #define wxUSE_IOSTREAMH 1
20630 ac_cpp
='$CPP $CPPFLAGS'
20631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20638 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20639 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20640 if test "${wx_cv_cpp_bool+set}" = set; then
20641 echo $ECHO_N "(cached) $ECHO_C" >&6
20647 ac_cpp
='$CXXCPP $CPPFLAGS'
20648 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20649 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20650 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20653 cat >conftest.
$ac_ext <<_ACEOF
20656 cat confdefs.h
>>conftest.
$ac_ext
20657 cat >>conftest.
$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20673 rm -f conftest.
$ac_objext
20674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20675 (eval $ac_compile) 2>conftest.er1
20677 grep -v '^ *+' conftest.er1
>conftest.err
20679 cat conftest.err
>&5
20680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); } &&
20682 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20684 (eval $ac_try) 2>&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); }; } &&
20688 { ac_try
='test -s conftest.$ac_objext'
20689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20690 (eval $ac_try) 2>&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); }; }; then
20698 echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.
$ac_ext >&5
20706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20709 ac_cpp
='$CPP $CPPFLAGS'
20710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20716 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20717 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20719 if test "$wx_cv_cpp_bool" = "yes"; then
20720 cat >>confdefs.h
<<\_ACEOF
20721 #define HAVE_BOOL 1
20728 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20729 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20730 if test "${wx_cv_explicit+set}" = set; then
20731 echo $ECHO_N "(cached) $ECHO_C" >&6
20737 ac_cpp
='$CXXCPP $CPPFLAGS'
20738 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20739 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20740 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20743 cat >conftest.
$ac_ext <<_ACEOF
20746 cat confdefs.h
>>conftest.
$ac_ext
20747 cat >>conftest.
$ac_ext <<_ACEOF
20748 /* end confdefs.h. */
20750 class Foo { public: explicit Foo(int) {} };
20762 rm -f conftest.
$ac_objext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20764 (eval $ac_compile) 2>conftest.er1
20766 grep -v '^ *+' conftest.er1
>conftest.err
20768 cat conftest.err
>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } &&
20771 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773 (eval $ac_try) 2>&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); }; } &&
20777 { ac_try
='test -s conftest.$ac_objext'
20778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20779 (eval $ac_try) 2>&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; }; then
20784 cat >conftest.
$ac_ext <<_ACEOF
20787 cat confdefs.h
>>conftest.
$ac_ext
20788 cat >>conftest.
$ac_ext <<_ACEOF
20789 /* end confdefs.h. */
20791 class Foo { public: explicit Foo(int) {} };
20792 static void TakeFoo(const Foo& foo) { }
20805 rm -f conftest.
$ac_objext
20806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20807 (eval $ac_compile) 2>conftest.er1
20809 grep -v '^ *+' conftest.er1
>conftest.err
20811 cat conftest.err
>&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); } &&
20814 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816 (eval $ac_try) 2>&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); }; } &&
20820 { ac_try
='test -s conftest.$ac_objext'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; }; then
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.
$ac_ext >&5
20834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.
$ac_ext >&5
20843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20846 ac_cpp
='$CPP $CPPFLAGS'
20847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20853 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20854 echo "${ECHO_T}$wx_cv_explicit" >&6
20856 if test "$wx_cv_explicit" = "yes"; then
20857 cat >>confdefs.h
<<\_ACEOF
20858 #define HAVE_EXPLICIT 1
20864 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20865 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20866 if test "${ac_cv_cxx_const_cast+set}" = set; then
20867 echo $ECHO_N "(cached) $ECHO_C" >&6
20872 ac_cpp
='$CXXCPP $CPPFLAGS'
20873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20877 cat >conftest.
$ac_ext <<_ACEOF
20880 cat confdefs.h
>>conftest.
$ac_ext
20881 cat >>conftest.
$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20887 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20892 rm -f conftest.
$ac_objext
20893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20894 (eval $ac_compile) 2>conftest.er1
20896 grep -v '^ *+' conftest.er1
>conftest.err
20898 cat conftest.err
>&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); } &&
20901 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; } &&
20907 { ac_try
='test -s conftest.$ac_objext'
20908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20909 (eval $ac_try) 2>&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); }; }; then
20913 ac_cv_cxx_const_cast
=yes
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.
$ac_ext >&5
20918 ac_cv_cxx_const_cast
=no
20920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20922 ac_cpp
='$CPP $CPPFLAGS'
20923 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20924 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20925 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20929 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20930 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20931 if test "$ac_cv_cxx_const_cast" = yes; then
20933 cat >>confdefs.h
<<\_ACEOF
20934 #define HAVE_CONST_CAST
20939 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20940 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20941 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20942 echo $ECHO_N "(cached) $ECHO_C" >&6
20947 ac_cpp
='$CXXCPP $CPPFLAGS'
20948 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20949 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20950 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20952 cat >conftest.
$ac_ext <<_ACEOF
20955 cat confdefs.h
>>conftest.
$ac_ext
20956 cat >>conftest.
$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20958 #include <typeinfo>
20959 class Base { public : Base () {} virtual void f () = 0;};
20960 class Derived : public Base { public : Derived () {} virtual void f () {} };
20961 class Unrelated { public : Unrelated () {} };
20962 int g (Unrelated&) { return 0; }
20967 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
20972 rm -f conftest.
$ac_objext
20973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20974 (eval $ac_compile) 2>conftest.er1
20976 grep -v '^ *+' conftest.er1
>conftest.err
20978 cat conftest.err
>&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); } &&
20981 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20983 (eval $ac_try) 2>&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); }; } &&
20987 { ac_try
='test -s conftest.$ac_objext'
20988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20989 (eval $ac_try) 2>&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); }; }; then
20993 ac_cv_cxx_reinterpret_cast
=yes
20995 echo "$as_me: failed program was:" >&5
20996 sed 's/^/| /' conftest.
$ac_ext >&5
20998 ac_cv_cxx_reinterpret_cast
=no
21000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21002 ac_cpp
='$CPP $CPPFLAGS'
21003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21009 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21010 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21011 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21013 cat >>confdefs.h
<<\_ACEOF
21014 #define HAVE_REINTERPRET_CAST
21019 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21020 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21021 if test "${ac_cv_cxx_static_cast+set}" = set; then
21022 echo $ECHO_N "(cached) $ECHO_C" >&6
21027 ac_cpp
='$CXXCPP $CPPFLAGS'
21028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21032 cat >conftest.
$ac_ext <<_ACEOF
21035 cat confdefs.h
>>conftest.
$ac_ext
21036 cat >>conftest.
$ac_ext <<_ACEOF
21037 /* end confdefs.h. */
21038 #include <typeinfo>
21039 class Base { public : Base () {} virtual void f () = 0; };
21040 class Derived : public Base { public : Derived () {} virtual void f () {} };
21041 int g (Derived&) { return 0; }
21046 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21051 rm -f conftest.
$ac_objext
21052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21053 (eval $ac_compile) 2>conftest.er1
21055 grep -v '^ *+' conftest.er1
>conftest.err
21057 cat conftest.err
>&5
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); } &&
21060 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21062 (eval $ac_try) 2>&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); }; } &&
21066 { ac_try
='test -s conftest.$ac_objext'
21067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21068 (eval $ac_try) 2>&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); }; }; then
21072 ac_cv_cxx_static_cast
=yes
21074 echo "$as_me: failed program was:" >&5
21075 sed 's/^/| /' conftest.
$ac_ext >&5
21077 ac_cv_cxx_static_cast
=no
21079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21081 ac_cpp
='$CPP $CPPFLAGS'
21082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21088 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21089 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21090 if test "$ac_cv_cxx_static_cast" = yes; then
21092 cat >>confdefs.h
<<\_ACEOF
21093 #define HAVE_STATIC_CAST
21099 if test "$wxUSE_STL" = "yes"; then
21101 ac_cpp
='$CXXCPP $CPPFLAGS'
21102 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21103 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21104 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21107 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21108 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21109 cat >conftest.
$ac_ext <<_ACEOF
21112 cat confdefs.h
>>conftest.
$ac_ext
21113 cat >>conftest.
$ac_ext <<_ACEOF
21114 /* end confdefs.h. */
21116 #include <functional>
21117 #include <algorithm>
21123 std::vector<int> moo;
21124 std::list<int> foo;
21125 std::vector<int>::iterator it =
21126 std::find_if(moo.begin(), moo.end(),
21127 std::bind2nd(std::less<int>(), 3));
21132 rm -f conftest.
$ac_objext
21133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21134 (eval $ac_compile) 2>conftest.er1
21136 grep -v '^ *+' conftest.er1
>conftest.err
21138 cat conftest.err
>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } &&
21141 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143 (eval $ac_try) 2>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; } &&
21147 { ac_try
='test -s conftest.$ac_objext'
21148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21149 (eval $ac_try) 2>&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); }; }; then
21153 echo "$as_me:$LINENO: result: yes" >&5
21154 echo "${ECHO_T}yes" >&6
21156 echo "$as_me: failed program was:" >&5
21157 sed 's/^/| /' conftest.
$ac_ext >&5
21159 echo "$as_me:$LINENO: result: no" >&5
21160 echo "${ECHO_T}no" >&6
21161 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21162 echo "$as_me: error: Basic STL functionality missing" >&2;}
21163 { (exit 1); exit 1; }; }
21165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21167 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21168 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21169 cat >conftest.
$ac_ext <<_ACEOF
21172 cat confdefs.h
>>conftest.
$ac_ext
21173 cat >>conftest.
$ac_ext <<_ACEOF
21174 /* end confdefs.h. */
21184 rm -f conftest.
$ac_objext
21185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21186 (eval $ac_compile) 2>conftest.er1
21188 grep -v '^ *+' conftest.er1
>conftest.err
21190 cat conftest.err
>&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); } &&
21193 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21195 (eval $ac_try) 2>&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); }; } &&
21199 { ac_try
='test -s conftest.$ac_objext'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; }; then
21205 echo "$as_me:$LINENO: result: yes" >&5
21206 echo "${ECHO_T}yes" >&6
21207 cat >>confdefs.h
<<\_ACEOF
21208 #define HAVE_STD_WSTRING 1
21212 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.
$ac_ext >&5
21215 echo "$as_me:$LINENO: result: no" >&5
21216 echo "${ECHO_T}no" >&6
21218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21220 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21221 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21222 cat >conftest.
$ac_ext <<_ACEOF
21225 cat confdefs.h
>>conftest.
$ac_ext
21226 cat >>conftest.
$ac_ext <<_ACEOF
21227 /* end confdefs.h. */
21232 std::string foo, bar;
21234 foo.compare(1, 1, bar);
21235 foo.compare(1, 1, bar, 1, 1);
21237 foo.compare(1, 1, "");
21238 foo.compare(1, 1, "", 2);
21243 rm -f conftest.
$ac_objext
21244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21245 (eval $ac_compile) 2>conftest.er1
21247 grep -v '^ *+' conftest.er1
>conftest.err
21249 cat conftest.err
>&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); } &&
21252 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21254 (eval $ac_try) 2>&5
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); }; } &&
21258 { ac_try
='test -s conftest.$ac_objext'
21259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21260 (eval $ac_try) 2>&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); }; }; then
21264 echo "$as_me:$LINENO: result: yes" >&5
21265 echo "${ECHO_T}yes" >&6
21266 cat >>confdefs.h
<<\_ACEOF
21267 #define HAVE_STD_STRING_COMPARE 1
21271 echo "$as_me: failed program was:" >&5
21272 sed 's/^/| /' conftest.
$ac_ext >&5
21274 echo "$as_me:$LINENO: result: no" >&5
21275 echo "${ECHO_T}no" >&6
21277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21279 if test "${ac_cv_header_hash_map+set}" = set; then
21280 echo "$as_me:$LINENO: checking for hash_map" >&5
21281 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21282 if test "${ac_cv_header_hash_map+set}" = set; then
21283 echo $ECHO_N "(cached) $ECHO_C" >&6
21285 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21286 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21288 # Is the header compilable?
21289 echo "$as_me:$LINENO: checking hash_map usability" >&5
21290 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21291 cat >conftest.
$ac_ext <<_ACEOF
21294 cat confdefs.h
>>conftest.
$ac_ext
21295 cat >>conftest.
$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21297 $ac_includes_default
21298 #include <hash_map>
21300 rm -f conftest.
$ac_objext
21301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21302 (eval $ac_compile) 2>conftest.er1
21304 grep -v '^ *+' conftest.er1
>conftest.err
21306 cat conftest.err
>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } &&
21309 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311 (eval $ac_try) 2>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); }; } &&
21315 { ac_try
='test -s conftest.$ac_objext'
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; }; then
21321 ac_header_compiler
=yes
21323 echo "$as_me: failed program was:" >&5
21324 sed 's/^/| /' conftest.
$ac_ext >&5
21326 ac_header_compiler
=no
21328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21329 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21330 echo "${ECHO_T}$ac_header_compiler" >&6
21332 # Is the header present?
21333 echo "$as_me:$LINENO: checking hash_map presence" >&5
21334 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21335 cat >conftest.
$ac_ext <<_ACEOF
21338 cat confdefs.h
>>conftest.
$ac_ext
21339 cat >>conftest.
$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341 #include <hash_map>
21343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21344 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21346 grep -v '^ *+' conftest.er1
>conftest.err
21348 cat conftest.err
>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } >/dev
/null
; then
21351 if test -s conftest.err
; then
21352 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21353 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21360 if test -z "$ac_cpp_err"; then
21361 ac_header_preproc
=yes
21363 echo "$as_me: failed program was:" >&5
21364 sed 's/^/| /' conftest.
$ac_ext >&5
21366 ac_header_preproc
=no
21368 rm -f conftest.err conftest.
$ac_ext
21369 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21370 echo "${ECHO_T}$ac_header_preproc" >&6
21372 # So? What about this header?
21373 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21375 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21376 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21377 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21378 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21379 ac_header_preproc
=yes
21382 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21383 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21384 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21385 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21386 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21387 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21388 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21389 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21390 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21391 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21392 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21393 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21396 ## ----------------------------------------- ##
21397 ## Report this to wx-dev@lists.wxwidgets.org ##
21398 ## ----------------------------------------- ##
21401 sed "s/^/$as_me: WARNING: /" >&2
21404 echo "$as_me:$LINENO: checking for hash_map" >&5
21405 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21406 if test "${ac_cv_header_hash_map+set}" = set; then
21407 echo $ECHO_N "(cached) $ECHO_C" >&6
21409 ac_cv_header_hash_map
=$ac_header_preproc
21411 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21412 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21415 if test $ac_cv_header_hash_map = yes; then
21416 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21417 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21418 cat >conftest.
$ac_ext <<_ACEOF
21421 cat confdefs.h
>>conftest.
$ac_ext
21422 cat >>conftest.
$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21424 #include <hash_map>
21425 #include <hash_set>
21429 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21430 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21435 rm -f conftest.
$ac_objext
21436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21437 (eval $ac_compile) 2>conftest.er1
21439 grep -v '^ *+' conftest.er1
>conftest.err
21441 cat conftest.err
>&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); } &&
21444 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21446 (eval $ac_try) 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); }; } &&
21450 { ac_try
='test -s conftest.$ac_objext'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; }; then
21456 echo "$as_me:$LINENO: result: yes" >&5
21457 echo "${ECHO_T}yes" >&6
21458 cat >>confdefs.h
<<\_ACEOF
21459 #define HAVE_HASH_MAP 1
21462 cat >>confdefs.h
<<\_ACEOF
21463 #define HAVE_STD_HASH_MAP 1
21467 echo "$as_me: failed program was:" >&5
21468 sed 's/^/| /' conftest.
$ac_ext >&5
21470 echo "$as_me:$LINENO: result: no" >&5
21471 echo "${ECHO_T}no" >&6
21473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21479 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21480 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21481 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21482 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21483 echo $ECHO_N "(cached) $ECHO_C" >&6
21485 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21486 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21488 # Is the header compilable?
21489 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21490 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21491 cat >conftest.
$ac_ext <<_ACEOF
21494 cat confdefs.h
>>conftest.
$ac_ext
21495 cat >>conftest.
$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21497 $ac_includes_default
21498 #include <ext/hash_map>
21500 rm -f conftest.
$ac_objext
21501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21502 (eval $ac_compile) 2>conftest.er1
21504 grep -v '^ *+' conftest.er1
>conftest.err
21506 cat conftest.err
>&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } &&
21509 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21511 (eval $ac_try) 2>&5
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); }; } &&
21515 { ac_try
='test -s conftest.$ac_objext'
21516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21517 (eval $ac_try) 2>&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); }; }; then
21521 ac_header_compiler
=yes
21523 echo "$as_me: failed program was:" >&5
21524 sed 's/^/| /' conftest.
$ac_ext >&5
21526 ac_header_compiler
=no
21528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21530 echo "${ECHO_T}$ac_header_compiler" >&6
21532 # Is the header present?
21533 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21534 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21535 cat >conftest.
$ac_ext <<_ACEOF
21538 cat confdefs.h
>>conftest.
$ac_ext
21539 cat >>conftest.
$ac_ext <<_ACEOF
21540 /* end confdefs.h. */
21541 #include <ext/hash_map>
21543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21546 grep -v '^ *+' conftest.er1
>conftest.err
21548 cat conftest.err
>&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } >/dev
/null
; then
21551 if test -s conftest.err
; then
21552 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21553 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21560 if test -z "$ac_cpp_err"; then
21561 ac_header_preproc
=yes
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.
$ac_ext >&5
21566 ac_header_preproc
=no
21568 rm -f conftest.err conftest.
$ac_ext
21569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21570 echo "${ECHO_T}$ac_header_preproc" >&6
21572 # So? What about this header?
21573 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21575 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21576 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21577 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21578 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21579 ac_header_preproc
=yes
21582 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21583 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21584 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21585 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21586 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21587 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21588 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21589 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21590 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21591 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21592 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21593 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21596 ## ----------------------------------------- ##
21597 ## Report this to wx-dev@lists.wxwidgets.org ##
21598 ## ----------------------------------------- ##
21601 sed "s/^/$as_me: WARNING: /" >&2
21604 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21605 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21606 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21607 echo $ECHO_N "(cached) $ECHO_C" >&6
21609 ac_cv_header_ext_hash_map
=$ac_header_preproc
21611 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21612 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21615 if test $ac_cv_header_ext_hash_map = yes; then
21616 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21617 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21618 cat >conftest.
$ac_ext <<_ACEOF
21621 cat confdefs.h
>>conftest.
$ac_ext
21622 cat >>conftest.
$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21624 #include <ext/hash_map>
21625 #include <ext/hash_set>
21629 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21630 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21635 rm -f conftest.
$ac_objext
21636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21637 (eval $ac_compile) 2>conftest.er1
21639 grep -v '^ *+' conftest.er1
>conftest.err
21641 cat conftest.err
>&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } &&
21644 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; } &&
21650 { ac_try
='test -s conftest.$ac_objext'
21651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21652 (eval $ac_try) 2>&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); }; }; then
21656 echo "$as_me:$LINENO: result: yes" >&5
21657 echo "${ECHO_T}yes" >&6
21658 cat >>confdefs.h
<<\_ACEOF
21659 #define HAVE_EXT_HASH_MAP 1
21662 cat >>confdefs.h
<<\_ACEOF
21663 #define HAVE_GNU_CXX_HASH_MAP 1
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.
$ac_ext >&5
21670 echo "$as_me:$LINENO: result: no" >&5
21671 echo "${ECHO_T}no" >&6
21673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21680 ac_cpp
='$CPP $CPPFLAGS'
21681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21689 /usr/local/include \
21691 /usr/Motif-2.1/include \
21692 /usr/Motif-1.2/include \
21693 /usr/include/Motif1.2 \
21694 /opt/xpm/include/X11 \
21695 /opt/GBxpm/include/ \
21696 /opt/GBxpm/X11/include/ \
21699 /usr/openwin/include \
21703 /usr/X11R6/include \
21704 /usr/X11R6.4/include \
21705 /usr/X11R5/include \
21706 /usr/X11R4/include \
21708 /usr/include/X11R6 \
21709 /usr/include/X11R5 \
21710 /usr/include/X11R4 \
21712 /usr/local/X11R6/include \
21713 /usr/local/X11R5/include \
21714 /usr/local/X11R4/include \
21716 /usr/local/include/X11R6 \
21717 /usr/local/include/X11R5 \
21718 /usr/local/include/X11R4 \
21722 /usr/local/X11/include \
21723 /usr/local/include/X11 \
21725 /usr/X386/include \
21726 /usr/x386/include \
21727 /usr/XFree86/include/X11 \
21729 X:/XFree86/include \
21730 X:/XFree86/include/X11 \
21733 /usr/local/include/gtk \
21734 /usr/include/glib \
21735 /usr/local/include/glib \
21738 /usr/local/include/qt \
21740 /usr/local/arm/3.3.2/include \
21742 /usr/include/windows \
21743 /usr/include/wine \
21744 /usr/local/include/wine \
21746 /usr/unsupported/include \
21747 /usr/athena/include \
21748 /usr/local/x11r5/include \
21749 /usr/lpp/Xamples/include \
21751 /usr/openwin/share/include"
21753 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21756 cat >confcache
<<\_ACEOF
21757 # This file is a shell script that caches the results of configure
21758 # tests run on this system so they can be shared between configure
21759 # scripts and configure runs, see configure's option --config-cache.
21760 # It is not useful on other systems. If it contains results you don't
21761 # want to keep, you may remove or edit it.
21763 # config.status only pays attention to the cache file if you give it
21764 # the --recheck option to rerun configure.
21766 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21767 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21768 # following values.
21772 # The following way of writing the cache mishandles newlines in values,
21773 # but we know of no workaround that is simple, portable, and efficient.
21774 # So, don't put newlines in cache variables' values.
21775 # Ultrix sh set writes to stderr and can't be redirected directly,
21776 # and sets the high bit in the cache file unless we assign to the vars.
21779 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21781 # `set' does not quote correctly, so add quotes (double-quote
21782 # substitution turns \\\\ into \\, and sed turns \\ into \).
21785 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21788 # `set' quotes correctly as required by POSIX, so do not add quotes.
21790 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21797 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21799 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21801 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21802 if test -w $cache_file; then
21803 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21804 cat confcache
>$cache_file
21806 echo "not updating unwritable cache $cache_file"
21811 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21812 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21813 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21814 if test "${wx_cv_lib_glibc21+set}" = set; then
21815 echo $ECHO_N "(cached) $ECHO_C" >&6
21818 cat >conftest.
$ac_ext <<_ACEOF
21821 cat confdefs.h
>>conftest.
$ac_ext
21822 cat >>conftest.
$ac_ext <<_ACEOF
21823 /* end confdefs.h. */
21824 #include <features.h>
21829 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21830 #error not glibc2.1
21837 rm -f conftest.
$ac_objext
21838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21839 (eval $ac_compile) 2>conftest.er1
21841 grep -v '^ *+' conftest.er1
>conftest.err
21843 cat conftest.err
>&5
21844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21845 (exit $ac_status); } &&
21846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21848 (eval $ac_try) 2>&5
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); }; } &&
21852 { ac_try
='test -s conftest.$ac_objext'
21853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21854 (eval $ac_try) 2>&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); }; }; then
21859 wx_cv_lib_glibc21
=yes
21862 echo "$as_me: failed program was:" >&5
21863 sed 's/^/| /' conftest.
$ac_ext >&5
21866 wx_cv_lib_glibc21
=no
21870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21873 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21874 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21875 if test "$wx_cv_lib_glibc21" = "yes"; then
21876 cat >>confdefs.h
<<\_ACEOF
21877 #define wxHAVE_GLIBC2 1
21883 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21884 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21885 cat >>confdefs.h
<<\_ACEOF
21886 #define _GNU_SOURCE 1
21894 if test "$wxUSE_REGEX" != "no"; then
21895 cat >>confdefs.h
<<\_ACEOF
21896 #define wxUSE_REGEX 1
21900 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21901 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21902 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21903 wxUSE_REGEX
=builtin
21906 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21907 if test "${ac_cv_header_regex_h+set}" = set; then
21908 echo "$as_me:$LINENO: checking for regex.h" >&5
21909 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21910 if test "${ac_cv_header_regex_h+set}" = set; then
21911 echo $ECHO_N "(cached) $ECHO_C" >&6
21913 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21914 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21916 # Is the header compilable?
21917 echo "$as_me:$LINENO: checking regex.h usability" >&5
21918 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21919 cat >conftest.
$ac_ext <<_ACEOF
21922 cat confdefs.h
>>conftest.
$ac_ext
21923 cat >>conftest.
$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21925 $ac_includes_default
21928 rm -f conftest.
$ac_objext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21930 (eval $ac_compile) 2>conftest.er1
21932 grep -v '^ *+' conftest.er1
>conftest.err
21934 cat conftest.err
>&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939 (eval $ac_try) 2>&5
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); }; } &&
21943 { ac_try
='test -s conftest.$ac_objext'
21944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21945 (eval $ac_try) 2>&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); }; }; then
21949 ac_header_compiler
=yes
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.
$ac_ext >&5
21954 ac_header_compiler
=no
21956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21958 echo "${ECHO_T}$ac_header_compiler" >&6
21960 # Is the header present?
21961 echo "$as_me:$LINENO: checking regex.h presence" >&5
21962 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
21963 cat >conftest.
$ac_ext <<_ACEOF
21966 cat confdefs.h
>>conftest.
$ac_ext
21967 cat >>conftest.
$ac_ext <<_ACEOF
21968 /* end confdefs.h. */
21971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21972 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21974 grep -v '^ *+' conftest.er1
>conftest.err
21976 cat conftest.err
>&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } >/dev
/null
; then
21979 if test -s conftest.err
; then
21980 ac_cpp_err
=$ac_c_preproc_warn_flag
21981 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21988 if test -z "$ac_cpp_err"; then
21989 ac_header_preproc
=yes
21991 echo "$as_me: failed program was:" >&5
21992 sed 's/^/| /' conftest.
$ac_ext >&5
21994 ac_header_preproc
=no
21996 rm -f conftest.err conftest.
$ac_ext
21997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21998 echo "${ECHO_T}$ac_header_preproc" >&6
22000 # So? What about this header?
22001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22003 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22004 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22005 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22006 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22007 ac_header_preproc
=yes
22010 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22011 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22012 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22013 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22014 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22015 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22016 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22017 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22018 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22019 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22020 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22021 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22024 ## ----------------------------------------- ##
22025 ## Report this to wx-dev@lists.wxwidgets.org ##
22026 ## ----------------------------------------- ##
22029 sed "s/^/$as_me: WARNING: /" >&2
22032 echo "$as_me:$LINENO: checking for regex.h" >&5
22033 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22034 if test "${ac_cv_header_regex_h+set}" = set; then
22035 echo $ECHO_N "(cached) $ECHO_C" >&6
22037 ac_cv_header_regex_h
=$ac_header_preproc
22039 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22040 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22043 if test $ac_cv_header_regex_h = yes; then
22045 for ac_func
in regcomp
22047 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22048 echo "$as_me:$LINENO: checking for $ac_func" >&5
22049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22050 if eval "test \"\${$as_ac_var+set}\" = set"; then
22051 echo $ECHO_N "(cached) $ECHO_C" >&6
22053 cat >conftest.
$ac_ext <<_ACEOF
22056 cat confdefs.h
>>conftest.
$ac_ext
22057 cat >>conftest.
$ac_ext <<_ACEOF
22058 /* end confdefs.h. */
22059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22061 #define $ac_func innocuous_$ac_func
22063 /* System header to define __stub macros and hopefully few prototypes,
22064 which can conflict with char $ac_func (); below.
22065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22066 <limits.h> exists even on freestanding compilers. */
22069 # include <limits.h>
22071 # include <assert.h>
22076 /* Override any gcc2 internal prototype to avoid an error. */
22081 /* We use char because int might match the return type of a gcc2
22082 builtin and then its argument prototype would still apply. */
22084 /* The GNU C library defines this for functions which it implements
22085 to always fail with ENOSYS. Some functions are actually named
22086 something starting with __ and the normal name is an alias. */
22087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22090 char (*f) () = $ac_func;
22099 return f != $ac_func;
22104 rm -f conftest.
$ac_objext conftest
$ac_exeext
22105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22106 (eval $ac_link) 2>conftest.er1
22108 grep -v '^ *+' conftest.er1
>conftest.err
22110 cat conftest.err
>&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); } &&
22113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22115 (eval $ac_try) 2>&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); }; } &&
22119 { ac_try
='test -s conftest$ac_exeext'
22120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121 (eval $ac_try) 2>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; }; then
22125 eval "$as_ac_var=yes"
22127 echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.
$ac_ext >&5
22130 eval "$as_ac_var=no"
22132 rm -f conftest.err conftest.
$ac_objext \
22133 conftest
$ac_exeext conftest.
$ac_ext
22135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22137 if test `eval echo '${'$as_ac_var'}'` = yes; then
22138 cat >>confdefs.h
<<_ACEOF
22139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22149 if test "x$ac_cv_func_regcomp" != "xyes"; then
22150 if test "$wxUSE_REGEX" = "sys" ; then
22151 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22152 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22153 { (exit 1); exit 1; }; }
22155 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22156 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22157 wxUSE_REGEX
=builtin
22161 cat >>confdefs.h
<<\_ACEOF
22162 #define WX_NO_REGEX_ADVANCED 1
22171 if test "$wxUSE_ZLIB" != "no" ; then
22172 cat >>confdefs.h
<<\_ACEOF
22173 #define wxUSE_ZLIB 1
22177 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22178 if test "$USE_DARWIN" = 1; then
22179 system_zlib_h_ok
="yes"
22181 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22182 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22183 if test "${ac_cv_header_zlib_h+set}" = set; then
22184 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 if test "$cross_compiling" = yes; then
22187 unset ac_cv_header_zlib_h
22190 cat >conftest.
$ac_ext <<_ACEOF
22193 cat confdefs.h
>>conftest.
$ac_ext
22194 cat >>conftest.
$ac_ext <<_ACEOF
22195 /* end confdefs.h. */
22202 FILE *f=fopen("conftestval", "w");
22205 ZLIB_VERSION[0] == '1' &&
22206 (ZLIB_VERSION[2] > '1' ||
22207 (ZLIB_VERSION[2] == '1' &&
22208 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22213 rm -f conftest
$ac_exeext
22214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22215 (eval $ac_link) 2>&5
22217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22218 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22220 (eval $ac_try) 2>&5
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); }; }; then
22224 ac_cv_header_zlib_h
=`cat conftestval`
22226 echo "$as_me: program exited with status $ac_status" >&5
22227 echo "$as_me: failed program was:" >&5
22228 sed 's/^/| /' conftest.
$ac_ext >&5
22230 ( exit $ac_status )
22231 ac_cv_header_zlib_h
=no
22233 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22237 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22238 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22239 if test "${ac_cv_header_zlib_h+set}" = set; then
22240 echo "$as_me:$LINENO: checking for zlib.h" >&5
22241 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22242 if test "${ac_cv_header_zlib_h+set}" = set; then
22243 echo $ECHO_N "(cached) $ECHO_C" >&6
22245 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22246 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22248 # Is the header compilable?
22249 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22250 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22251 cat >conftest.
$ac_ext <<_ACEOF
22254 cat confdefs.h
>>conftest.
$ac_ext
22255 cat >>conftest.
$ac_ext <<_ACEOF
22256 /* end confdefs.h. */
22257 $ac_includes_default
22260 rm -f conftest.
$ac_objext
22261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22262 (eval $ac_compile) 2>conftest.er1
22264 grep -v '^ *+' conftest.er1
>conftest.err
22266 cat conftest.err
>&5
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); } &&
22269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22271 (eval $ac_try) 2>&5
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); }; } &&
22275 { ac_try
='test -s conftest.$ac_objext'
22276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277 (eval $ac_try) 2>&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; }; then
22281 ac_header_compiler
=yes
22283 echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.
$ac_ext >&5
22286 ac_header_compiler
=no
22288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22290 echo "${ECHO_T}$ac_header_compiler" >&6
22292 # Is the header present?
22293 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22294 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22295 cat >conftest.
$ac_ext <<_ACEOF
22298 cat confdefs.h
>>conftest.
$ac_ext
22299 cat >>conftest.
$ac_ext <<_ACEOF
22300 /* end confdefs.h. */
22303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22304 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22306 grep -v '^ *+' conftest.er1
>conftest.err
22308 cat conftest.err
>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } >/dev
/null
; then
22311 if test -s conftest.err
; then
22312 ac_cpp_err
=$ac_c_preproc_warn_flag
22313 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22320 if test -z "$ac_cpp_err"; then
22321 ac_header_preproc
=yes
22323 echo "$as_me: failed program was:" >&5
22324 sed 's/^/| /' conftest.
$ac_ext >&5
22326 ac_header_preproc
=no
22328 rm -f conftest.err conftest.
$ac_ext
22329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22330 echo "${ECHO_T}$ac_header_preproc" >&6
22332 # So? What about this header?
22333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22335 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22336 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22337 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22338 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22339 ac_header_preproc
=yes
22342 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22343 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22344 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22345 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22346 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22347 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22348 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22349 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22350 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22351 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22352 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22353 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22356 ## ----------------------------------------- ##
22357 ## Report this to wx-dev@lists.wxwidgets.org ##
22358 ## ----------------------------------------- ##
22361 sed "s/^/$as_me: WARNING: /" >&2
22364 echo "$as_me:$LINENO: checking for zlib.h" >&5
22365 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22366 if test "${ac_cv_header_zlib_h+set}" = set; then
22367 echo $ECHO_N "(cached) $ECHO_C" >&6
22369 ac_cv_header_zlib_h
=$ac_header_preproc
22371 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22372 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22378 system_zlib_h_ok
=$ac_cv_header_zlib_h
22381 if test "$system_zlib_h_ok" = "yes"; then
22382 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22383 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22384 if test "${ac_cv_lib_z_deflate+set}" = set; then
22385 echo $ECHO_N "(cached) $ECHO_C" >&6
22387 ac_check_lib_save_LIBS
=$LIBS
22389 cat >conftest.
$ac_ext <<_ACEOF
22392 cat confdefs.h
>>conftest.
$ac_ext
22393 cat >>conftest.
$ac_ext <<_ACEOF
22394 /* end confdefs.h. */
22396 /* Override any gcc2 internal prototype to avoid an error. */
22400 /* We use char because int might match the return type of a gcc2
22401 builtin and then its argument prototype would still apply. */
22411 rm -f conftest.
$ac_objext conftest
$ac_exeext
22412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22413 (eval $ac_link) 2>conftest.er1
22415 grep -v '^ *+' conftest.er1
>conftest.err
22417 cat conftest.err
>&5
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); } &&
22420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22422 (eval $ac_try) 2>&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); }; } &&
22426 { ac_try
='test -s conftest$ac_exeext'
22427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22428 (eval $ac_try) 2>&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); }; }; then
22432 ac_cv_lib_z_deflate
=yes
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.
$ac_ext >&5
22437 ac_cv_lib_z_deflate
=no
22439 rm -f conftest.err conftest.
$ac_objext \
22440 conftest
$ac_exeext conftest.
$ac_ext
22441 LIBS
=$ac_check_lib_save_LIBS
22443 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22444 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22445 if test $ac_cv_lib_z_deflate = yes; then
22451 if test "x$ZLIB_LINK" = "x" ; then
22452 if test "$wxUSE_ZLIB" = "sys" ; then
22453 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22454 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22455 { (exit 1); exit 1; }; }
22457 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22458 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22469 if test "$wxUSE_LIBPNG" != "no" ; then
22470 cat >>confdefs.h
<<\_ACEOF
22471 #define wxUSE_LIBPNG 1
22475 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22476 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22477 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22481 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22482 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22483 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22484 wxUSE_LIBPNG
=builtin
22487 if test "$wxUSE_MGL" != 1 ; then
22488 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22489 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22490 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22491 if test "${ac_cv_header_png_h+set}" = set; then
22492 echo $ECHO_N "(cached) $ECHO_C" >&6
22494 if test "$cross_compiling" = yes; then
22495 unset ac_cv_header_png_h
22498 cat >conftest.
$ac_ext <<_ACEOF
22501 cat confdefs.h
>>conftest.
$ac_ext
22502 cat >>conftest.
$ac_ext <<_ACEOF
22503 /* end confdefs.h. */
22510 FILE *f=fopen("conftestval", "w");
22513 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22518 rm -f conftest
$ac_exeext
22519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22520 (eval $ac_link) 2>&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22525 (eval $ac_try) 2>&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); }; }; then
22529 ac_cv_header_png_h
=`cat conftestval`
22531 echo "$as_me: program exited with status $ac_status" >&5
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.
$ac_ext >&5
22535 ( exit $ac_status )
22536 ac_cv_header_png_h
=no
22538 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22542 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22543 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22544 if test "${ac_cv_header_png_h+set}" = set; then
22545 echo "$as_me:$LINENO: checking for png.h" >&5
22546 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22547 if test "${ac_cv_header_png_h+set}" = set; then
22548 echo $ECHO_N "(cached) $ECHO_C" >&6
22550 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22551 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22553 # Is the header compilable?
22554 echo "$as_me:$LINENO: checking png.h usability" >&5
22555 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22556 cat >conftest.
$ac_ext <<_ACEOF
22559 cat confdefs.h
>>conftest.
$ac_ext
22560 cat >>conftest.
$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22562 $ac_includes_default
22565 rm -f conftest.
$ac_objext
22566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22567 (eval $ac_compile) 2>conftest.er1
22569 grep -v '^ *+' conftest.er1
>conftest.err
22571 cat conftest.err
>&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); } &&
22574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22576 (eval $ac_try) 2>&5
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); }; } &&
22580 { ac_try
='test -s conftest.$ac_objext'
22581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22582 (eval $ac_try) 2>&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); }; }; then
22586 ac_header_compiler
=yes
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.
$ac_ext >&5
22591 ac_header_compiler
=no
22593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22595 echo "${ECHO_T}$ac_header_compiler" >&6
22597 # Is the header present?
22598 echo "$as_me:$LINENO: checking png.h presence" >&5
22599 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22600 cat >conftest.
$ac_ext <<_ACEOF
22603 cat confdefs.h
>>conftest.
$ac_ext
22604 cat >>conftest.
$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22609 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22611 grep -v '^ *+' conftest.er1
>conftest.err
22613 cat conftest.err
>&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); } >/dev
/null
; then
22616 if test -s conftest.err
; then
22617 ac_cpp_err
=$ac_c_preproc_warn_flag
22618 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22625 if test -z "$ac_cpp_err"; then
22626 ac_header_preproc
=yes
22628 echo "$as_me: failed program was:" >&5
22629 sed 's/^/| /' conftest.
$ac_ext >&5
22631 ac_header_preproc
=no
22633 rm -f conftest.err conftest.
$ac_ext
22634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22635 echo "${ECHO_T}$ac_header_preproc" >&6
22637 # So? What about this header?
22638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22640 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22641 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22642 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22643 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22644 ac_header_preproc
=yes
22647 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22648 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22649 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22650 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22651 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22652 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22653 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22654 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22655 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22656 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22657 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22658 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22661 ## ----------------------------------------- ##
22662 ## Report this to wx-dev@lists.wxwidgets.org ##
22663 ## ----------------------------------------- ##
22666 sed "s/^/$as_me: WARNING: /" >&2
22669 echo "$as_me:$LINENO: checking for png.h" >&5
22670 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22671 if test "${ac_cv_header_png_h+set}" = set; then
22672 echo $ECHO_N "(cached) $ECHO_C" >&6
22674 ac_cv_header_png_h
=$ac_header_preproc
22676 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22677 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22683 if test "$ac_cv_header_png_h" = "yes"; then
22684 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22685 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22686 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22687 echo $ECHO_N "(cached) $ECHO_C" >&6
22689 ac_check_lib_save_LIBS
=$LIBS
22690 LIBS
="-lpng -lz -lm $LIBS"
22691 cat >conftest.
$ac_ext <<_ACEOF
22694 cat confdefs.h
>>conftest.
$ac_ext
22695 cat >>conftest.
$ac_ext <<_ACEOF
22696 /* end confdefs.h. */
22698 /* Override any gcc2 internal prototype to avoid an error. */
22702 /* We use char because int might match the return type of a gcc2
22703 builtin and then its argument prototype would still apply. */
22704 char png_check_sig ();
22713 rm -f conftest.
$ac_objext conftest
$ac_exeext
22714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22715 (eval $ac_link) 2>conftest.er1
22717 grep -v '^ *+' conftest.er1
>conftest.err
22719 cat conftest.err
>&5
22720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721 (exit $ac_status); } &&
22722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22724 (eval $ac_try) 2>&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); }; } &&
22728 { ac_try
='test -s conftest$ac_exeext'
22729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22730 (eval $ac_try) 2>&5
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); }; }; then
22734 ac_cv_lib_png_png_check_sig
=yes
22736 echo "$as_me: failed program was:" >&5
22737 sed 's/^/| /' conftest.
$ac_ext >&5
22739 ac_cv_lib_png_png_check_sig
=no
22741 rm -f conftest.err conftest.
$ac_objext \
22742 conftest
$ac_exeext conftest.
$ac_ext
22743 LIBS
=$ac_check_lib_save_LIBS
22745 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22746 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22747 if test $ac_cv_lib_png_png_check_sig = yes; then
22748 PNG_LINK
=" -lpng -lz"
22753 if test "x$PNG_LINK" = "x" ; then
22754 if test "$wxUSE_LIBPNG" = "sys" ; then
22755 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22756 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22757 { (exit 1); exit 1; }; }
22759 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22760 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22761 wxUSE_LIBPNG
=builtin
22769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
22774 if test "$wxUSE_LIBJPEG" != "no" ; then
22775 cat >>confdefs.h
<<\_ACEOF
22776 #define wxUSE_LIBJPEG 1
22780 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22781 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22782 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22786 if test "$wxUSE_MGL" != 1 ; then
22787 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22788 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22789 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22790 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22791 echo $ECHO_N "(cached) $ECHO_C" >&6
22793 cat >conftest.
$ac_ext <<_ACEOF
22796 cat confdefs.h
>>conftest.
$ac_ext
22797 cat >>conftest.
$ac_ext <<_ACEOF
22798 /* end confdefs.h. */
22800 #undef HAVE_STDLIB_H
22802 #include <jpeglib.h>
22813 rm -f conftest.
$ac_objext
22814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22815 (eval $ac_compile) 2>conftest.er1
22817 grep -v '^ *+' conftest.er1
>conftest.err
22819 cat conftest.err
>&5
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } &&
22822 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22824 (eval $ac_try) 2>&5
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); }; } &&
22828 { ac_try
='test -s conftest.$ac_objext'
22829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22830 (eval $ac_try) 2>&5
22832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833 (exit $ac_status); }; }; then
22834 ac_cv_header_jpeglib_h
=yes
22836 echo "$as_me: failed program was:" >&5
22837 sed 's/^/| /' conftest.
$ac_ext >&5
22839 ac_cv_header_jpeglib_h
=no
22842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22846 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22847 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22849 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22850 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22851 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22852 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22853 echo $ECHO_N "(cached) $ECHO_C" >&6
22855 ac_check_lib_save_LIBS
=$LIBS
22856 LIBS
="-ljpeg $LIBS"
22857 cat >conftest.
$ac_ext <<_ACEOF
22860 cat confdefs.h
>>conftest.
$ac_ext
22861 cat >>conftest.
$ac_ext <<_ACEOF
22862 /* end confdefs.h. */
22864 /* Override any gcc2 internal prototype to avoid an error. */
22868 /* We use char because int might match the return type of a gcc2
22869 builtin and then its argument prototype would still apply. */
22870 char jpeg_read_header ();
22874 jpeg_read_header ();
22879 rm -f conftest.
$ac_objext conftest
$ac_exeext
22880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22881 (eval $ac_link) 2>conftest.er1
22883 grep -v '^ *+' conftest.er1
>conftest.err
22885 cat conftest.err
>&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); } &&
22888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22890 (eval $ac_try) 2>&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); }; } &&
22894 { ac_try
='test -s conftest$ac_exeext'
22895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896 (eval $ac_try) 2>&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); }; }; then
22900 ac_cv_lib_jpeg_jpeg_read_header
=yes
22902 echo "$as_me: failed program was:" >&5
22903 sed 's/^/| /' conftest.
$ac_ext >&5
22905 ac_cv_lib_jpeg_jpeg_read_header
=no
22907 rm -f conftest.err conftest.
$ac_objext \
22908 conftest
$ac_exeext conftest.
$ac_ext
22909 LIBS
=$ac_check_lib_save_LIBS
22911 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22912 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22913 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22914 JPEG_LINK
=" -ljpeg"
22919 if test "x$JPEG_LINK" = "x" ; then
22920 if test "$wxUSE_LIBJPEG" = "sys" ; then
22921 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22922 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22923 { (exit 1); exit 1; }; }
22925 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22926 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22927 wxUSE_LIBJPEG
=builtin
22938 TIFF_PREREQ_LINKS
=-lm
22939 if test "$wxUSE_LIBTIFF" != "no" ; then
22940 cat >>confdefs.h
<<\_ACEOF
22941 #define wxUSE_LIBTIFF 1
22945 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22946 if test "$wxUSE_LIBJPEG" = "sys"; then
22947 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22949 if test "$wxUSE_ZLIB" = "sys"; then
22950 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22952 if test "${ac_cv_header_tiffio_h+set}" = set; then
22953 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22954 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22955 if test "${ac_cv_header_tiffio_h+set}" = set; then
22956 echo $ECHO_N "(cached) $ECHO_C" >&6
22958 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22959 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22961 # Is the header compilable?
22962 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
22963 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
22964 cat >conftest.
$ac_ext <<_ACEOF
22967 cat confdefs.h
>>conftest.
$ac_ext
22968 cat >>conftest.
$ac_ext <<_ACEOF
22969 /* end confdefs.h. */
22970 $ac_includes_default
22971 #include <tiffio.h>
22973 rm -f conftest.
$ac_objext
22974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22975 (eval $ac_compile) 2>conftest.er1
22977 grep -v '^ *+' conftest.er1
>conftest.err
22979 cat conftest.err
>&5
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); } &&
22982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22984 (eval $ac_try) 2>&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); }; } &&
22988 { ac_try
='test -s conftest.$ac_objext'
22989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22990 (eval $ac_try) 2>&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); }; }; then
22994 ac_header_compiler
=yes
22996 echo "$as_me: failed program was:" >&5
22997 sed 's/^/| /' conftest.
$ac_ext >&5
22999 ac_header_compiler
=no
23001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23002 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23003 echo "${ECHO_T}$ac_header_compiler" >&6
23005 # Is the header present?
23006 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23007 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23008 cat >conftest.
$ac_ext <<_ACEOF
23011 cat confdefs.h
>>conftest.
$ac_ext
23012 cat >>conftest.
$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 #include <tiffio.h>
23016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23017 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23019 grep -v '^ *+' conftest.er1
>conftest.err
23021 cat conftest.err
>&5
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); } >/dev
/null
; then
23024 if test -s conftest.err
; then
23025 ac_cpp_err
=$ac_c_preproc_warn_flag
23026 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23033 if test -z "$ac_cpp_err"; then
23034 ac_header_preproc
=yes
23036 echo "$as_me: failed program was:" >&5
23037 sed 's/^/| /' conftest.
$ac_ext >&5
23039 ac_header_preproc
=no
23041 rm -f conftest.err conftest.
$ac_ext
23042 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23043 echo "${ECHO_T}$ac_header_preproc" >&6
23045 # So? What about this header?
23046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23048 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23049 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23050 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23051 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23052 ac_header_preproc
=yes
23055 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23056 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23057 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23058 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23059 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23060 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23062 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23063 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23064 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23065 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23066 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23069 ## ----------------------------------------- ##
23070 ## Report this to wx-dev@lists.wxwidgets.org ##
23071 ## ----------------------------------------- ##
23074 sed "s/^/$as_me: WARNING: /" >&2
23077 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23078 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23079 if test "${ac_cv_header_tiffio_h+set}" = set; then
23080 echo $ECHO_N "(cached) $ECHO_C" >&6
23082 ac_cv_header_tiffio_h
=$ac_header_preproc
23084 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23085 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23088 if test $ac_cv_header_tiffio_h = yes; then
23090 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23091 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23092 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23093 echo $ECHO_N "(cached) $ECHO_C" >&6
23095 ac_check_lib_save_LIBS
=$LIBS
23096 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23097 cat >conftest.
$ac_ext <<_ACEOF
23100 cat confdefs.h
>>conftest.
$ac_ext
23101 cat >>conftest.
$ac_ext <<_ACEOF
23102 /* end confdefs.h. */
23104 /* Override any gcc2 internal prototype to avoid an error. */
23108 /* We use char because int might match the return type of a gcc2
23109 builtin and then its argument prototype would still apply. */
23119 rm -f conftest.
$ac_objext conftest
$ac_exeext
23120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23121 (eval $ac_link) 2>conftest.er1
23123 grep -v '^ *+' conftest.er1
>conftest.err
23125 cat conftest.err
>&5
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); } &&
23128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23130 (eval $ac_try) 2>&5
23132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23133 (exit $ac_status); }; } &&
23134 { ac_try
='test -s conftest$ac_exeext'
23135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23136 (eval $ac_try) 2>&5
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); }; }; then
23140 ac_cv_lib_tiff_TIFFError
=yes
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.
$ac_ext >&5
23145 ac_cv_lib_tiff_TIFFError
=no
23147 rm -f conftest.err conftest.
$ac_objext \
23148 conftest
$ac_exeext conftest.
$ac_ext
23149 LIBS
=$ac_check_lib_save_LIBS
23151 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23152 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23153 if test $ac_cv_lib_tiff_TIFFError = yes; then
23154 TIFF_LINK
=" -ltiff"
23163 if test "x$TIFF_LINK" = "x" ; then
23164 if test "$wxUSE_LIBTIFF" = "sys" ; then
23165 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23166 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23167 { (exit 1); exit 1; }; }
23169 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23170 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23171 wxUSE_LIBTIFF
=builtin
23180 if test "$wxUSE_EXPAT" != "no"; then
23182 cat >>confdefs.h
<<\_ACEOF
23183 #define wxUSE_EXPAT 1
23186 cat >>confdefs.h
<<\_ACEOF
23187 #define wxUSE_XML 1
23191 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23192 if test "${ac_cv_header_expat_h+set}" = set; then
23193 echo "$as_me:$LINENO: checking for expat.h" >&5
23194 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23195 if test "${ac_cv_header_expat_h+set}" = set; then
23196 echo $ECHO_N "(cached) $ECHO_C" >&6
23198 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23199 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23201 # Is the header compilable?
23202 echo "$as_me:$LINENO: checking expat.h usability" >&5
23203 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23204 cat >conftest.
$ac_ext <<_ACEOF
23207 cat confdefs.h
>>conftest.
$ac_ext
23208 cat >>conftest.
$ac_ext <<_ACEOF
23209 /* end confdefs.h. */
23210 $ac_includes_default
23213 rm -f conftest.
$ac_objext
23214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23215 (eval $ac_compile) 2>conftest.er1
23217 grep -v '^ *+' conftest.er1
>conftest.err
23219 cat conftest.err
>&5
23220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221 (exit $ac_status); } &&
23222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23224 (eval $ac_try) 2>&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); }; } &&
23228 { ac_try
='test -s conftest.$ac_objext'
23229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23230 (eval $ac_try) 2>&5
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); }; }; then
23234 ac_header_compiler
=yes
23236 echo "$as_me: failed program was:" >&5
23237 sed 's/^/| /' conftest.
$ac_ext >&5
23239 ac_header_compiler
=no
23241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23243 echo "${ECHO_T}$ac_header_compiler" >&6
23245 # Is the header present?
23246 echo "$as_me:$LINENO: checking expat.h presence" >&5
23247 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23248 cat >conftest.
$ac_ext <<_ACEOF
23251 cat confdefs.h
>>conftest.
$ac_ext
23252 cat >>conftest.
$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23257 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23259 grep -v '^ *+' conftest.er1
>conftest.err
23261 cat conftest.err
>&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } >/dev
/null
; then
23264 if test -s conftest.err
; then
23265 ac_cpp_err
=$ac_c_preproc_warn_flag
23266 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23273 if test -z "$ac_cpp_err"; then
23274 ac_header_preproc
=yes
23276 echo "$as_me: failed program was:" >&5
23277 sed 's/^/| /' conftest.
$ac_ext >&5
23279 ac_header_preproc
=no
23281 rm -f conftest.err conftest.
$ac_ext
23282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23283 echo "${ECHO_T}$ac_header_preproc" >&6
23285 # So? What about this header?
23286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23288 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23289 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23290 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23291 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23292 ac_header_preproc
=yes
23295 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23296 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23297 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23298 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23299 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23300 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23301 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23302 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23303 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23304 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23305 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23306 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23309 ## ----------------------------------------- ##
23310 ## Report this to wx-dev@lists.wxwidgets.org ##
23311 ## ----------------------------------------- ##
23314 sed "s/^/$as_me: WARNING: /" >&2
23317 echo "$as_me:$LINENO: checking for expat.h" >&5
23318 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23319 if test "${ac_cv_header_expat_h+set}" = set; then
23320 echo $ECHO_N "(cached) $ECHO_C" >&6
23322 ac_cv_header_expat_h
=$ac_header_preproc
23324 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23325 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23328 if test $ac_cv_header_expat_h = yes; then
23333 if test "x$found_expat_h" = "x1"; then
23334 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23335 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23336 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23337 echo $ECHO_N "(cached) $ECHO_C" >&6
23343 ac_cpp
='$CXXCPP $CPPFLAGS'
23344 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23345 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23346 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23348 cat >conftest.
$ac_ext <<_ACEOF
23351 cat confdefs.h
>>conftest.
$ac_ext
23352 cat >>conftest.
$ac_ext <<_ACEOF
23353 /* end confdefs.h. */
23363 rm -f conftest.
$ac_objext
23364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23365 (eval $ac_compile) 2>conftest.er1
23367 grep -v '^ *+' conftest.er1
>conftest.err
23369 cat conftest.err
>&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); } &&
23372 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23374 (eval $ac_try) 2>&5
23376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377 (exit $ac_status); }; } &&
23378 { ac_try
='test -s conftest.$ac_objext'
23379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23380 (eval $ac_try) 2>&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); }; }; then
23384 wx_cv_expat_is_not_broken
=yes
23386 echo "$as_me: failed program was:" >&5
23387 sed 's/^/| /' conftest.
$ac_ext >&5
23389 wx_cv_expat_is_not_broken
=no
23392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23394 ac_cpp
='$CPP $CPPFLAGS'
23395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23402 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23403 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23404 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23405 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23406 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23407 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23408 echo $ECHO_N "(cached) $ECHO_C" >&6
23410 ac_check_lib_save_LIBS
=$LIBS
23411 LIBS
="-lexpat $LIBS"
23412 cat >conftest.
$ac_ext <<_ACEOF
23415 cat confdefs.h
>>conftest.
$ac_ext
23416 cat >>conftest.
$ac_ext <<_ACEOF
23417 /* end confdefs.h. */
23419 /* Override any gcc2 internal prototype to avoid an error. */
23423 /* We use char because int might match the return type of a gcc2
23424 builtin and then its argument prototype would still apply. */
23425 char XML_ParserCreate ();
23429 XML_ParserCreate ();
23434 rm -f conftest.
$ac_objext conftest
$ac_exeext
23435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23436 (eval $ac_link) 2>conftest.er1
23438 grep -v '^ *+' conftest.er1
>conftest.err
23440 cat conftest.err
>&5
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); } &&
23443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23445 (eval $ac_try) 2>&5
23447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448 (exit $ac_status); }; } &&
23449 { ac_try
='test -s conftest$ac_exeext'
23450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23451 (eval $ac_try) 2>&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); }; }; then
23455 ac_cv_lib_expat_XML_ParserCreate
=yes
23457 echo "$as_me: failed program was:" >&5
23458 sed 's/^/| /' conftest.
$ac_ext >&5
23460 ac_cv_lib_expat_XML_ParserCreate
=no
23462 rm -f conftest.err conftest.
$ac_objext \
23463 conftest
$ac_exeext conftest.
$ac_ext
23464 LIBS
=$ac_check_lib_save_LIBS
23466 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23467 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23468 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23469 EXPAT_LINK
=" -lexpat"
23474 if test "x$EXPAT_LINK" = "x" ; then
23475 if test "$wxUSE_EXPAT" = "sys" ; then
23476 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23477 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23478 { (exit 1); exit 1; }; }
23480 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23481 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23482 wxUSE_EXPAT
=builtin
23488 if test "$wxUSE_EXPAT" = "builtin" ; then
23491 subdirs
="$subdirs src/expat"
23498 if test "$wxUSE_LIBMSPACK" != "no"; then
23499 if test "${ac_cv_header_mspack_h+set}" = set; then
23500 echo "$as_me:$LINENO: checking for mspack.h" >&5
23501 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23502 if test "${ac_cv_header_mspack_h+set}" = set; then
23503 echo $ECHO_N "(cached) $ECHO_C" >&6
23505 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23506 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23508 # Is the header compilable?
23509 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23510 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23511 cat >conftest.
$ac_ext <<_ACEOF
23514 cat confdefs.h
>>conftest.
$ac_ext
23515 cat >>conftest.
$ac_ext <<_ACEOF
23516 /* end confdefs.h. */
23517 $ac_includes_default
23518 #include <mspack.h>
23520 rm -f conftest.
$ac_objext
23521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23522 (eval $ac_compile) 2>conftest.er1
23524 grep -v '^ *+' conftest.er1
>conftest.err
23526 cat conftest.err
>&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } &&
23529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23531 (eval $ac_try) 2>&5
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); }; } &&
23535 { ac_try
='test -s conftest.$ac_objext'
23536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23537 (eval $ac_try) 2>&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); }; }; then
23541 ac_header_compiler
=yes
23543 echo "$as_me: failed program was:" >&5
23544 sed 's/^/| /' conftest.
$ac_ext >&5
23546 ac_header_compiler
=no
23548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23550 echo "${ECHO_T}$ac_header_compiler" >&6
23552 # Is the header present?
23553 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23554 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23555 cat >conftest.
$ac_ext <<_ACEOF
23558 cat confdefs.h
>>conftest.
$ac_ext
23559 cat >>conftest.
$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23561 #include <mspack.h>
23563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23564 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23566 grep -v '^ *+' conftest.er1
>conftest.err
23568 cat conftest.err
>&5
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); } >/dev
/null
; then
23571 if test -s conftest.err
; then
23572 ac_cpp_err
=$ac_c_preproc_warn_flag
23573 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23580 if test -z "$ac_cpp_err"; then
23581 ac_header_preproc
=yes
23583 echo "$as_me: failed program was:" >&5
23584 sed 's/^/| /' conftest.
$ac_ext >&5
23586 ac_header_preproc
=no
23588 rm -f conftest.err conftest.
$ac_ext
23589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23590 echo "${ECHO_T}$ac_header_preproc" >&6
23592 # So? What about this header?
23593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23595 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23596 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23597 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23598 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23599 ac_header_preproc
=yes
23602 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23603 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23604 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23605 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23606 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23607 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23608 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23609 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23610 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23611 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23612 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23613 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23616 ## ----------------------------------------- ##
23617 ## Report this to wx-dev@lists.wxwidgets.org ##
23618 ## ----------------------------------------- ##
23621 sed "s/^/$as_me: WARNING: /" >&2
23624 echo "$as_me:$LINENO: checking for mspack.h" >&5
23625 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23626 if test "${ac_cv_header_mspack_h+set}" = set; then
23627 echo $ECHO_N "(cached) $ECHO_C" >&6
23629 ac_cv_header_mspack_h
=$ac_header_preproc
23631 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23632 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23635 if test $ac_cv_header_mspack_h = yes; then
23640 if test "x$found_mspack_h" = "x1"; then
23641 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23642 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23643 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23646 ac_check_lib_save_LIBS
=$LIBS
23647 LIBS
="-lmspack $LIBS"
23648 cat >conftest.
$ac_ext <<_ACEOF
23651 cat confdefs.h
>>conftest.
$ac_ext
23652 cat >>conftest.
$ac_ext <<_ACEOF
23653 /* end confdefs.h. */
23655 /* Override any gcc2 internal prototype to avoid an error. */
23659 /* We use char because int might match the return type of a gcc2
23660 builtin and then its argument prototype would still apply. */
23661 char mspack_create_chm_decompressor ();
23665 mspack_create_chm_decompressor ();
23670 rm -f conftest.
$ac_objext conftest
$ac_exeext
23671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23672 (eval $ac_link) 2>conftest.er1
23674 grep -v '^ *+' conftest.er1
>conftest.err
23676 cat conftest.err
>&5
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); } &&
23679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; } &&
23685 { ac_try
='test -s conftest$ac_exeext'
23686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23687 (eval $ac_try) 2>&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); }; }; then
23691 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23693 echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.
$ac_ext >&5
23696 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23698 rm -f conftest.err conftest.
$ac_objext \
23699 conftest
$ac_exeext conftest.
$ac_ext
23700 LIBS
=$ac_check_lib_save_LIBS
23702 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23703 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23704 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23705 MSPACK_LINK
=" -lmspack"
23709 if test "x$MSPACK_LINK" = "x" ; then
23714 if test "$wxUSE_LIBMSPACK" != "no"; then
23715 cat >>confdefs.h
<<\_ACEOF
23716 #define wxUSE_LIBMSPACK 1
23730 if test "$USE_WIN32" = 1 ; then
23732 for ac_header
in w32api.h
23734 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23736 echo "$as_me:$LINENO: checking for $ac_header" >&5
23737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23739 echo $ECHO_N "(cached) $ECHO_C" >&6
23741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23744 # Is the header compilable?
23745 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23747 cat >conftest.
$ac_ext <<_ACEOF
23750 cat confdefs.h
>>conftest.
$ac_ext
23751 cat >>conftest.
$ac_ext <<_ACEOF
23752 /* end confdefs.h. */
23753 $ac_includes_default
23754 #include <$ac_header>
23756 rm -f conftest.
$ac_objext
23757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23758 (eval $ac_compile) 2>conftest.er1
23760 grep -v '^ *+' conftest.er1
>conftest.err
23762 cat conftest.err
>&5
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); } &&
23765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23767 (eval $ac_try) 2>&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); }; } &&
23771 { ac_try
='test -s conftest.$ac_objext'
23772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23773 (eval $ac_try) 2>&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); }; }; then
23777 ac_header_compiler
=yes
23779 echo "$as_me: failed program was:" >&5
23780 sed 's/^/| /' conftest.
$ac_ext >&5
23782 ac_header_compiler
=no
23784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23786 echo "${ECHO_T}$ac_header_compiler" >&6
23788 # Is the header present?
23789 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23790 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23791 cat >conftest.
$ac_ext <<_ACEOF
23794 cat confdefs.h
>>conftest.
$ac_ext
23795 cat >>conftest.
$ac_ext <<_ACEOF
23796 /* end confdefs.h. */
23797 #include <$ac_header>
23799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23800 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23802 grep -v '^ *+' conftest.er1
>conftest.err
23804 cat conftest.err
>&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); } >/dev
/null
; then
23807 if test -s conftest.err
; then
23808 ac_cpp_err
=$ac_c_preproc_warn_flag
23809 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23816 if test -z "$ac_cpp_err"; then
23817 ac_header_preproc
=yes
23819 echo "$as_me: failed program was:" >&5
23820 sed 's/^/| /' conftest.
$ac_ext >&5
23822 ac_header_preproc
=no
23824 rm -f conftest.err conftest.
$ac_ext
23825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23826 echo "${ECHO_T}$ac_header_preproc" >&6
23828 # So? What about this header?
23829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23831 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23832 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23834 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23835 ac_header_preproc
=yes
23838 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23839 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23840 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23841 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23842 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23843 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23844 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23845 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23847 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23848 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23849 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23852 ## ----------------------------------------- ##
23853 ## Report this to wx-dev@lists.wxwidgets.org ##
23854 ## ----------------------------------------- ##
23857 sed "s/^/$as_me: WARNING: /" >&2
23860 echo "$as_me:$LINENO: checking for $ac_header" >&5
23861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23863 echo $ECHO_N "(cached) $ECHO_C" >&6
23865 eval "$as_ac_Header=\$ac_header_preproc"
23867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23872 cat >>confdefs.h
<<_ACEOF
23873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23880 if test "${ac_cv_header_windows_h+set}" = set; then
23881 echo "$as_me:$LINENO: checking for windows.h" >&5
23882 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23883 if test "${ac_cv_header_windows_h+set}" = set; then
23884 echo $ECHO_N "(cached) $ECHO_C" >&6
23886 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23887 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23889 # Is the header compilable?
23890 echo "$as_me:$LINENO: checking windows.h usability" >&5
23891 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23892 cat >conftest.
$ac_ext <<_ACEOF
23895 cat confdefs.h
>>conftest.
$ac_ext
23896 cat >>conftest.
$ac_ext <<_ACEOF
23897 /* end confdefs.h. */
23898 $ac_includes_default
23899 #include <windows.h>
23901 rm -f conftest.
$ac_objext
23902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23903 (eval $ac_compile) 2>conftest.er1
23905 grep -v '^ *+' conftest.er1
>conftest.err
23907 cat conftest.err
>&5
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); } &&
23910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23912 (eval $ac_try) 2>&5
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); }; } &&
23916 { ac_try
='test -s conftest.$ac_objext'
23917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23918 (eval $ac_try) 2>&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); }; }; then
23922 ac_header_compiler
=yes
23924 echo "$as_me: failed program was:" >&5
23925 sed 's/^/| /' conftest.
$ac_ext >&5
23927 ac_header_compiler
=no
23929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23930 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23931 echo "${ECHO_T}$ac_header_compiler" >&6
23933 # Is the header present?
23934 echo "$as_me:$LINENO: checking windows.h presence" >&5
23935 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23936 cat >conftest.
$ac_ext <<_ACEOF
23939 cat confdefs.h
>>conftest.
$ac_ext
23940 cat >>conftest.
$ac_ext <<_ACEOF
23941 /* end confdefs.h. */
23942 #include <windows.h>
23944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23945 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23947 grep -v '^ *+' conftest.er1
>conftest.err
23949 cat conftest.err
>&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); } >/dev
/null
; then
23952 if test -s conftest.err
; then
23953 ac_cpp_err
=$ac_c_preproc_warn_flag
23954 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23961 if test -z "$ac_cpp_err"; then
23962 ac_header_preproc
=yes
23964 echo "$as_me: failed program was:" >&5
23965 sed 's/^/| /' conftest.
$ac_ext >&5
23967 ac_header_preproc
=no
23969 rm -f conftest.err conftest.
$ac_ext
23970 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23971 echo "${ECHO_T}$ac_header_preproc" >&6
23973 # So? What about this header?
23974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23976 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23977 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23978 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23979 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23980 ac_header_preproc
=yes
23983 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23984 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23985 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23986 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23987 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23988 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23989 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23990 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23991 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23992 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23993 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23994 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23997 ## ----------------------------------------- ##
23998 ## Report this to wx-dev@lists.wxwidgets.org ##
23999 ## ----------------------------------------- ##
24002 sed "s/^/$as_me: WARNING: /" >&2
24005 echo "$as_me:$LINENO: checking for windows.h" >&5
24006 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24007 if test "${ac_cv_header_windows_h+set}" = set; then
24008 echo $ECHO_N "(cached) $ECHO_C" >&6
24010 ac_cv_header_windows_h
=$ac_header_preproc
24012 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24013 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24016 if test $ac_cv_header_windows_h = yes; then
24020 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24021 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24022 { (exit 1); exit 1; }; }
24028 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24030 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24031 LIBS
="$LIBS -loleacc"
24036 LIBS
="$LIBS -lkernel32 -luser32"
24037 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24040 if test "$wxUSE_ODBC" = "sys" ; then
24043 if test "$wxUSE_ODBC" = "yes" ; then
24044 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24045 cat >>confdefs.h
<<\_ACEOF
24046 #define wxUSE_ODBC 1
24051 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24052 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24054 WIN32INSTALL
=win32install
24057 if test "$wxUSE_GUI" = "yes"; then
24067 if test "$wxUSE_COCOA" = 1 ; then
24068 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24069 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24070 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24071 wxUSE_PRINTING_ARCHITECTURE
=no
24073 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24074 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24075 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24076 wxUSE_DRAG_AND_DROP
=no
24078 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24079 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24080 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24085 if test "$wxUSE_MSW" = 1 ; then
24091 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24095 if test "$wxUSE_GTK" = 1; then
24096 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24097 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24099 gtk_version_cached
=1
24100 if test "${wx_cv_lib_gtk+set}" = set; then
24101 echo $ECHO_N "(cached) $ECHO_C" >&6
24104 gtk_version_cached
=0
24105 echo "$as_me:$LINENO: result: " >&5
24106 echo "${ECHO_T}" >&6
24109 if test "$wxUSE_THREADS" = "yes"; then
24110 GTK_MODULES
=gthread
24114 if test "x$wxUSE_GTK2" = "xyes"; then
24115 # Check whether --enable-gtktest or --disable-gtktest was given.
24116 if test "${enable_gtktest+set}" = set; then
24117 enableval
="$enable_gtktest"
24123 pkg_config_args
=gtk
+-2.0
24124 for module
in .
$GTK_MODULES
24128 pkg_config_args
="$pkg_config_args gthread-2.0"
24135 # Extract the first word of "pkg-config", so it can be a program name with args.
24136 set dummy pkg
-config; ac_word
=$2
24137 echo "$as_me:$LINENO: checking for $ac_word" >&5
24138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24139 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24140 echo $ECHO_N "(cached) $ECHO_C" >&6
24142 case $PKG_CONFIG in
24144 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24148 for as_dir
in $PATH
24151 test -z "$as_dir" && as_dir
=.
24152 for ac_exec_ext
in '' $ac_executable_extensions; do
24153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24154 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24161 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24165 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24167 if test -n "$PKG_CONFIG"; then
24168 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24169 echo "${ECHO_T}$PKG_CONFIG" >&6
24171 echo "$as_me:$LINENO: result: no" >&5
24172 echo "${ECHO_T}no" >&6
24176 if test x
$PKG_CONFIG != xno
; then
24177 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24180 echo "*** pkg-config too old; version 0.7 or better required."
24188 min_gtk_version
=2.0.0
24189 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24190 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24192 if test x
$PKG_CONFIG != xno
; then
24193 ## don't try to run the test against uninstalled libtool libs
24194 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24195 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24199 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24206 if test x
"$no_gtk" = x
; then
24207 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24208 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24209 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24211 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24213 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24215 if test "x$enable_gtktest" = "xyes" ; then
24216 ac_save_CFLAGS
="$CFLAGS"
24217 ac_save_LIBS
="$LIBS"
24218 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24219 LIBS
="$GTK_LIBS $LIBS"
24221 if test "$cross_compiling" = yes; then
24222 echo $ac_n "cross compiling; assumed OK... $ac_c"
24224 cat >conftest.
$ac_ext <<_ACEOF
24227 cat confdefs.h
>>conftest.
$ac_ext
24228 cat >>conftest.
$ac_ext <<_ACEOF
24229 /* end confdefs.h. */
24231 #include <gtk/gtk.h>
24233 #include <stdlib.h>
24238 int major, minor, micro;
24241 system ("touch conf.gtktest");
24243 /* HP/UX 9 (%@#!) writes to sscanf strings */
24244 tmp_version = g_strdup("$min_gtk_version");
24245 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24246 printf("%s, bad version string\n", "$min_gtk_version");
24250 if ((gtk_major_version != $gtk_config_major_version) ||
24251 (gtk_minor_version != $gtk_config_minor_version) ||
24252 (gtk_micro_version != $gtk_config_micro_version))
24254 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24255 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24256 gtk_major_version, gtk_minor_version, gtk_micro_version);
24257 printf ("*** was found! If pkg-config was correct, then it is best\n");
24258 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24259 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24260 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24261 printf("*** required on your system.\n");
24262 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24263 printf("*** to point to the correct configuration files\n");
24265 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24266 (gtk_minor_version != GTK_MINOR_VERSION) ||
24267 (gtk_micro_version != GTK_MICRO_VERSION))
24269 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24270 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24271 printf("*** library (version %d.%d.%d)\n",
24272 gtk_major_version, gtk_minor_version, gtk_micro_version);
24276 if ((gtk_major_version > major) ||
24277 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24278 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24284 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24285 gtk_major_version, gtk_minor_version, gtk_micro_version);
24286 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24287 major, minor, micro);
24288 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24290 printf("*** If you have already installed a sufficiently new version, this error\n");
24291 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24292 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24293 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24294 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24295 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24296 printf("*** so that the correct libraries are found at run-time))\n");
24303 rm -f conftest
$ac_exeext
24304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24305 (eval $ac_link) 2>&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24310 (eval $ac_try) 2>&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); }; }; then
24316 echo "$as_me: program exited with status $ac_status" >&5
24317 echo "$as_me: failed program was:" >&5
24318 sed 's/^/| /' conftest.
$ac_ext >&5
24320 ( exit $ac_status )
24323 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24325 CFLAGS
="$ac_save_CFLAGS"
24326 LIBS
="$ac_save_LIBS"
24329 if test "x$no_gtk" = x
; then
24330 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24331 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24334 echo "$as_me:$LINENO: result: no" >&5
24335 echo "${ECHO_T}no" >&6
24336 if test "$PKG_CONFIG" = "no" ; then
24337 echo "*** A new enough version of pkg-config was not found."
24338 echo "*** See http://pkgconfig.sourceforge.net"
24340 if test -f conf.gtktest
; then
24343 echo "*** Could not run GTK+ test program, checking why..."
24344 ac_save_CFLAGS
="$CFLAGS"
24345 ac_save_LIBS
="$LIBS"
24346 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24347 LIBS
="$LIBS $GTK_LIBS"
24348 cat >conftest.
$ac_ext <<_ACEOF
24351 cat confdefs.h
>>conftest.
$ac_ext
24352 cat >>conftest.
$ac_ext <<_ACEOF
24353 /* end confdefs.h. */
24355 #include <gtk/gtk.h>
24361 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24366 rm -f conftest.
$ac_objext conftest
$ac_exeext
24367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24368 (eval $ac_link) 2>conftest.er1
24370 grep -v '^ *+' conftest.er1
>conftest.err
24372 cat conftest.err
>&5
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); } &&
24375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24377 (eval $ac_try) 2>&5
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); }; } &&
24381 { ac_try
='test -s conftest$ac_exeext'
24382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24383 (eval $ac_try) 2>&5
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); }; }; then
24387 echo "*** The test program compiled, but did not run. This usually means"
24388 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24389 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24390 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24391 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24392 echo "*** is required on your system"
24394 echo "*** If you have an old version installed, it is best to remove it, although"
24395 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24397 echo "$as_me: failed program was:" >&5
24398 sed 's/^/| /' conftest.
$ac_ext >&5
24400 echo "*** The test program failed to compile or link. See the file config.log for the"
24401 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24403 rm -f conftest.err conftest.
$ac_objext \
24404 conftest
$ac_exeext conftest.
$ac_ext
24405 CFLAGS
="$ac_save_CFLAGS"
24406 LIBS
="$ac_save_LIBS"
24419 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24420 if test "${with_gtk_prefix+set}" = set; then
24421 withval
="$with_gtk_prefix"
24422 gtk_config_prefix
="$withval"
24424 gtk_config_prefix
=""
24427 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24428 if test "${with_gtk_exec_prefix+set}" = set; then
24429 withval
="$with_gtk_exec_prefix"
24430 gtk_config_exec_prefix
="$withval"
24432 gtk_config_exec_prefix
=""
24434 # Check whether --enable-gtktest or --disable-gtktest was given.
24435 if test "${enable_gtktest+set}" = set; then
24436 enableval
="$enable_gtktest"
24442 for module
in .
$GTK_MODULES
24446 gtk_config_args
="$gtk_config_args gthread"
24451 if test x
$gtk_config_exec_prefix != x
; then
24452 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24453 if test x
${GTK_CONFIG+set} != xset
; then
24454 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24457 if test x
$gtk_config_prefix != x
; then
24458 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24459 if test x
${GTK_CONFIG+set} != xset
; then
24460 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24464 # Extract the first word of "gtk-config", so it can be a program name with args.
24465 set dummy gtk
-config; ac_word
=$2
24466 echo "$as_me:$LINENO: checking for $ac_word" >&5
24467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24468 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24469 echo $ECHO_N "(cached) $ECHO_C" >&6
24471 case $GTK_CONFIG in
24473 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24477 for as_dir
in $PATH
24480 test -z "$as_dir" && as_dir
=.
24481 for ac_exec_ext
in '' $ac_executable_extensions; do
24482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24483 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24490 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24494 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24496 if test -n "$GTK_CONFIG"; then
24497 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24498 echo "${ECHO_T}$GTK_CONFIG" >&6
24500 echo "$as_me:$LINENO: result: no" >&5
24501 echo "${ECHO_T}no" >&6
24504 min_gtk_version
=1.2.7
24505 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24506 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24508 if test "$GTK_CONFIG" = "no" ; then
24511 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24512 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24513 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24515 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24517 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24519 if test "x$enable_gtktest" = "xyes" ; then
24520 ac_save_CFLAGS
="$CFLAGS"
24521 ac_save_LIBS
="$LIBS"
24522 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24523 LIBS
="$GTK_LIBS $LIBS"
24525 if test "$cross_compiling" = yes; then
24526 echo $ac_n "cross compiling; assumed OK... $ac_c"
24528 cat >conftest.
$ac_ext <<_ACEOF
24531 cat confdefs.h
>>conftest.
$ac_ext
24532 cat >>conftest.
$ac_ext <<_ACEOF
24533 /* end confdefs.h. */
24535 #include <gtk/gtk.h>
24537 #include <stdlib.h>
24542 int major, minor, micro;
24545 system ("touch conf.gtktest");
24547 /* HP/UX 9 (%@#!) writes to sscanf strings */
24548 tmp_version = g_strdup("$min_gtk_version");
24549 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24550 printf("%s, bad version string\n", "$min_gtk_version");
24554 if ((gtk_major_version != $gtk_config_major_version) ||
24555 (gtk_minor_version != $gtk_config_minor_version) ||
24556 (gtk_micro_version != $gtk_config_micro_version))
24558 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24559 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24560 gtk_major_version, gtk_minor_version, gtk_micro_version);
24561 printf ("*** was found! If gtk-config was correct, then it is best\n");
24562 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24563 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24564 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24565 printf("*** required on your system.\n");
24566 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24567 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24568 printf("*** before re-running configure\n");
24570 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24571 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24572 (gtk_minor_version != GTK_MINOR_VERSION) ||
24573 (gtk_micro_version != GTK_MICRO_VERSION))
24575 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24576 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24577 printf("*** library (version %d.%d.%d)\n",
24578 gtk_major_version, gtk_minor_version, gtk_micro_version);
24580 #endif /* defined (GTK_MAJOR_VERSION) ... */
24583 if ((gtk_major_version > major) ||
24584 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24585 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24591 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24592 gtk_major_version, gtk_minor_version, gtk_micro_version);
24593 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24594 major, minor, micro);
24595 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24597 printf("*** If you have already installed a sufficiently new version, this error\n");
24598 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24599 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24600 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24601 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24602 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24603 printf("*** so that the correct libraries are found at run-time))\n");
24610 rm -f conftest
$ac_exeext
24611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24612 (eval $ac_link) 2>&5
24614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24615 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24617 (eval $ac_try) 2>&5
24619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24620 (exit $ac_status); }; }; then
24623 echo "$as_me: program exited with status $ac_status" >&5
24624 echo "$as_me: failed program was:" >&5
24625 sed 's/^/| /' conftest.
$ac_ext >&5
24627 ( exit $ac_status )
24630 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24632 CFLAGS
="$ac_save_CFLAGS"
24633 LIBS
="$ac_save_LIBS"
24636 if test "x$no_gtk" = x
; then
24637 echo "$as_me:$LINENO: result: yes" >&5
24638 echo "${ECHO_T}yes" >&6
24639 wx_cv_lib_gtk
=1.2.7
24641 echo "$as_me:$LINENO: result: no" >&5
24642 echo "${ECHO_T}no" >&6
24643 if test "$GTK_CONFIG" = "no" ; then
24644 echo "*** The gtk-config script installed by GTK could not be found"
24645 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24646 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24647 echo "*** full path to gtk-config."
24649 if test -f conf.gtktest
; then
24652 echo "*** Could not run GTK test program, checking why..."
24653 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24654 LIBS
="$LIBS $GTK_LIBS"
24655 cat >conftest.
$ac_ext <<_ACEOF
24658 cat confdefs.h
>>conftest.
$ac_ext
24659 cat >>conftest.
$ac_ext <<_ACEOF
24660 /* end confdefs.h. */
24662 #include <gtk/gtk.h>
24668 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24673 rm -f conftest.
$ac_objext conftest
$ac_exeext
24674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24675 (eval $ac_link) 2>conftest.er1
24677 grep -v '^ *+' conftest.er1
>conftest.err
24679 cat conftest.err
>&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } &&
24682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24684 (eval $ac_try) 2>&5
24686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24687 (exit $ac_status); }; } &&
24688 { ac_try
='test -s conftest$ac_exeext'
24689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24690 (eval $ac_try) 2>&5
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); }; }; then
24694 echo "*** The test program compiled, but did not run. This usually means"
24695 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24696 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24697 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24698 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24699 echo "*** is required on your system"
24701 echo "*** If you have an old version installed, it is best to remove it, although"
24702 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24704 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24705 echo "*** came with the system with the command"
24707 echo "*** rpm --erase --nodeps gtk gtk-devel"
24709 echo "$as_me: failed program was:" >&5
24710 sed 's/^/| /' conftest.
$ac_ext >&5
24712 echo "*** The test program failed to compile or link. See the file config.log for the"
24713 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24714 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24715 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24717 rm -f conftest.err conftest.
$ac_objext \
24718 conftest
$ac_exeext conftest.
$ac_ext
24719 CFLAGS
="$ac_save_CFLAGS"
24720 LIBS
="$ac_save_LIBS"
24732 if test -z "$wx_cv_lib_gtk"; then
24734 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24735 if test "${with_gtk_prefix+set}" = set; then
24736 withval
="$with_gtk_prefix"
24737 gtk_config_prefix
="$withval"
24739 gtk_config_prefix
=""
24742 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24743 if test "${with_gtk_exec_prefix+set}" = set; then
24744 withval
="$with_gtk_exec_prefix"
24745 gtk_config_exec_prefix
="$withval"
24747 gtk_config_exec_prefix
=""
24749 # Check whether --enable-gtktest or --disable-gtktest was given.
24750 if test "${enable_gtktest+set}" = set; then
24751 enableval
="$enable_gtktest"
24757 for module
in .
$GTK_MODULES
24761 gtk_config_args
="$gtk_config_args gthread"
24766 if test x
$gtk_config_exec_prefix != x
; then
24767 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24768 if test x
${GTK_CONFIG+set} != xset
; then
24769 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24772 if test x
$gtk_config_prefix != x
; then
24773 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24774 if test x
${GTK_CONFIG+set} != xset
; then
24775 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24779 # Extract the first word of "gtk-config", so it can be a program name with args.
24780 set dummy gtk
-config; ac_word
=$2
24781 echo "$as_me:$LINENO: checking for $ac_word" >&5
24782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24783 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24784 echo $ECHO_N "(cached) $ECHO_C" >&6
24786 case $GTK_CONFIG in
24788 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24792 for as_dir
in $PATH
24795 test -z "$as_dir" && as_dir
=.
24796 for ac_exec_ext
in '' $ac_executable_extensions; do
24797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24798 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24805 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24809 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24811 if test -n "$GTK_CONFIG"; then
24812 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24813 echo "${ECHO_T}$GTK_CONFIG" >&6
24815 echo "$as_me:$LINENO: result: no" >&5
24816 echo "${ECHO_T}no" >&6
24819 min_gtk_version
=1.2.3
24820 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24821 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24823 if test "$GTK_CONFIG" = "no" ; then
24826 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24827 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24828 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24830 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24832 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24834 if test "x$enable_gtktest" = "xyes" ; then
24835 ac_save_CFLAGS
="$CFLAGS"
24836 ac_save_LIBS
="$LIBS"
24837 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24838 LIBS
="$GTK_LIBS $LIBS"
24840 if test "$cross_compiling" = yes; then
24841 echo $ac_n "cross compiling; assumed OK... $ac_c"
24843 cat >conftest.
$ac_ext <<_ACEOF
24846 cat confdefs.h
>>conftest.
$ac_ext
24847 cat >>conftest.
$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24850 #include <gtk/gtk.h>
24852 #include <stdlib.h>
24857 int major, minor, micro;
24860 system ("touch conf.gtktest");
24862 /* HP/UX 9 (%@#!) writes to sscanf strings */
24863 tmp_version = g_strdup("$min_gtk_version");
24864 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24865 printf("%s, bad version string\n", "$min_gtk_version");
24869 if ((gtk_major_version != $gtk_config_major_version) ||
24870 (gtk_minor_version != $gtk_config_minor_version) ||
24871 (gtk_micro_version != $gtk_config_micro_version))
24873 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24874 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24875 gtk_major_version, gtk_minor_version, gtk_micro_version);
24876 printf ("*** was found! If gtk-config was correct, then it is best\n");
24877 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24878 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24879 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24880 printf("*** required on your system.\n");
24881 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24882 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24883 printf("*** before re-running configure\n");
24885 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24886 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24887 (gtk_minor_version != GTK_MINOR_VERSION) ||
24888 (gtk_micro_version != GTK_MICRO_VERSION))
24890 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24891 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24892 printf("*** library (version %d.%d.%d)\n",
24893 gtk_major_version, gtk_minor_version, gtk_micro_version);
24895 #endif /* defined (GTK_MAJOR_VERSION) ... */
24898 if ((gtk_major_version > major) ||
24899 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24900 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24906 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24907 gtk_major_version, gtk_minor_version, gtk_micro_version);
24908 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24909 major, minor, micro);
24910 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24912 printf("*** If you have already installed a sufficiently new version, this error\n");
24913 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24914 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24915 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24916 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24917 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24918 printf("*** so that the correct libraries are found at run-time))\n");
24925 rm -f conftest
$ac_exeext
24926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24927 (eval $ac_link) 2>&5
24929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24932 (eval $ac_try) 2>&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); }; }; then
24938 echo "$as_me: program exited with status $ac_status" >&5
24939 echo "$as_me: failed program was:" >&5
24940 sed 's/^/| /' conftest.
$ac_ext >&5
24942 ( exit $ac_status )
24945 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24947 CFLAGS
="$ac_save_CFLAGS"
24948 LIBS
="$ac_save_LIBS"
24951 if test "x$no_gtk" = x
; then
24952 echo "$as_me:$LINENO: result: yes" >&5
24953 echo "${ECHO_T}yes" >&6
24954 wx_cv_lib_gtk
=1.2.3
24956 echo "$as_me:$LINENO: result: no" >&5
24957 echo "${ECHO_T}no" >&6
24958 if test "$GTK_CONFIG" = "no" ; then
24959 echo "*** The gtk-config script installed by GTK could not be found"
24960 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24961 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24962 echo "*** full path to gtk-config."
24964 if test -f conf.gtktest
; then
24967 echo "*** Could not run GTK test program, checking why..."
24968 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24969 LIBS
="$LIBS $GTK_LIBS"
24970 cat >conftest.
$ac_ext <<_ACEOF
24973 cat confdefs.h
>>conftest.
$ac_ext
24974 cat >>conftest.
$ac_ext <<_ACEOF
24975 /* end confdefs.h. */
24977 #include <gtk/gtk.h>
24983 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24988 rm -f conftest.
$ac_objext conftest
$ac_exeext
24989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24990 (eval $ac_link) 2>conftest.er1
24992 grep -v '^ *+' conftest.er1
>conftest.err
24994 cat conftest.err
>&5
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); } &&
24997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24999 (eval $ac_try) 2>&5
25001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); }; } &&
25003 { ac_try
='test -s conftest$ac_exeext'
25004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25005 (eval $ac_try) 2>&5
25007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25008 (exit $ac_status); }; }; then
25009 echo "*** The test program compiled, but did not run. This usually means"
25010 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25011 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25012 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25013 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25014 echo "*** is required on your system"
25016 echo "*** If you have an old version installed, it is best to remove it, although"
25017 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25019 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25020 echo "*** came with the system with the command"
25022 echo "*** rpm --erase --nodeps gtk gtk-devel"
25024 echo "$as_me: failed program was:" >&5
25025 sed 's/^/| /' conftest.
$ac_ext >&5
25027 echo "*** The test program failed to compile or link. See the file config.log for the"
25028 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25029 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25030 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25032 rm -f conftest.err conftest.
$ac_objext \
25033 conftest
$ac_exeext conftest.
$ac_ext
25034 CFLAGS
="$ac_save_CFLAGS"
25035 LIBS
="$ac_save_LIBS"
25049 if test -z "$wx_cv_lib_gtk"; then
25052 wx_cv_cflags_gtk
=$GTK_CFLAGS
25053 wx_cv_libs_gtk
=$GTK_LIBS
25060 if test "$gtk_version_cached" = 1; then
25061 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25062 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25065 case "$wx_cv_lib_gtk" in
25074 *) { { echo "$as_me:$LINENO: error:
25075 Please check that gtk-config is in path, the directory
25076 where GTK+ libraries are installed (returned by
25077 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25078 equivalent variable and GTK+ is version 1.2.3 or above.
25080 echo "$as_me: error:
25081 Please check that gtk-config is in path, the directory
25082 where GTK+ libraries are installed (returned by
25083 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25084 equivalent variable and GTK+ is version 1.2.3 or above.
25086 { (exit 1); exit 1; }; }
25090 if test "$WXGTK20" = 1; then
25091 save_CFLAGS
="$CFLAGS"
25093 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25094 LIBS
="$LIBS $wx_cv_lib_gtk"
25097 for ac_func
in pango_font_family_is_monospace
25099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25100 echo "$as_me:$LINENO: checking for $ac_func" >&5
25101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25102 if eval "test \"\${$as_ac_var+set}\" = set"; then
25103 echo $ECHO_N "(cached) $ECHO_C" >&6
25105 cat >conftest.
$ac_ext <<_ACEOF
25108 cat confdefs.h
>>conftest.
$ac_ext
25109 cat >>conftest.
$ac_ext <<_ACEOF
25110 /* end confdefs.h. */
25111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25113 #define $ac_func innocuous_$ac_func
25115 /* System header to define __stub macros and hopefully few prototypes,
25116 which can conflict with char $ac_func (); below.
25117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25118 <limits.h> exists even on freestanding compilers. */
25121 # include <limits.h>
25123 # include <assert.h>
25128 /* Override any gcc2 internal prototype to avoid an error. */
25133 /* We use char because int might match the return type of a gcc2
25134 builtin and then its argument prototype would still apply. */
25136 /* The GNU C library defines this for functions which it implements
25137 to always fail with ENOSYS. Some functions are actually named
25138 something starting with __ and the normal name is an alias. */
25139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25142 char (*f) () = $ac_func;
25151 return f != $ac_func;
25156 rm -f conftest.
$ac_objext conftest
$ac_exeext
25157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25158 (eval $ac_link) 2>conftest.er1
25160 grep -v '^ *+' conftest.er1
>conftest.err
25162 cat conftest.err
>&5
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); } &&
25165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25167 (eval $ac_try) 2>&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); }; } &&
25171 { ac_try
='test -s conftest$ac_exeext'
25172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25173 (eval $ac_try) 2>&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); }; }; then
25177 eval "$as_ac_var=yes"
25179 echo "$as_me: failed program was:" >&5
25180 sed 's/^/| /' conftest.
$ac_ext >&5
25182 eval "$as_ac_var=no"
25184 rm -f conftest.err conftest.
$ac_objext \
25185 conftest
$ac_exeext conftest.
$ac_ext
25187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25189 if test `eval echo '${'$as_ac_var'}'` = yes; then
25190 cat >>confdefs.h
<<_ACEOF
25191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25198 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25199 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25200 cat >conftest.
$ac_ext <<_ACEOF
25203 cat confdefs.h
>>conftest.
$ac_ext
25204 cat >>conftest.
$ac_ext <<_ACEOF
25205 /* end confdefs.h. */
25207 #include <gtk/gtk.h>
25213 #if !GTK_CHECK_VERSION(2,4,0)
25214 #error "Not GTK+ 2.4"
25221 rm -f conftest.
$ac_objext
25222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25223 (eval $ac_compile) 2>conftest.er1
25225 grep -v '^ *+' conftest.er1
>conftest.err
25227 cat conftest.err
>&5
25228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25229 (exit $ac_status); } &&
25230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25232 (eval $ac_try) 2>&5
25234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25235 (exit $ac_status); }; } &&
25236 { ac_try
='test -s conftest.$ac_objext'
25237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25238 (eval $ac_try) 2>&5
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); }; }; then
25243 cat >>confdefs.h
<<\_ACEOF
25244 #define __WXGTK24__ 1
25247 echo "$as_me:$LINENO: result: yes" >&5
25248 echo "${ECHO_T}yes" >&6
25251 echo "$as_me: failed program was:" >&5
25252 sed 's/^/| /' conftest.
$ac_ext >&5
25255 echo "$as_me:$LINENO: result: no" >&5
25256 echo "${ECHO_T}no" >&6
25259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25261 CFLAGS
="$save_CFLAGS"
25264 if test "$wxUSE_UNICODE" = "yes"; then
25265 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25266 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25271 if test "$USE_DARWIN" != 1; then
25273 for ac_func
in poll
25275 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25276 echo "$as_me:$LINENO: checking for $ac_func" >&5
25277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25278 if eval "test \"\${$as_ac_var+set}\" = set"; then
25279 echo $ECHO_N "(cached) $ECHO_C" >&6
25281 cat >conftest.
$ac_ext <<_ACEOF
25284 cat confdefs.h
>>conftest.
$ac_ext
25285 cat >>conftest.
$ac_ext <<_ACEOF
25286 /* end confdefs.h. */
25287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25289 #define $ac_func innocuous_$ac_func
25291 /* System header to define __stub macros and hopefully few prototypes,
25292 which can conflict with char $ac_func (); below.
25293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25294 <limits.h> exists even on freestanding compilers. */
25297 # include <limits.h>
25299 # include <assert.h>
25304 /* Override any gcc2 internal prototype to avoid an error. */
25309 /* We use char because int might match the return type of a gcc2
25310 builtin and then its argument prototype would still apply. */
25312 /* The GNU C library defines this for functions which it implements
25313 to always fail with ENOSYS. Some functions are actually named
25314 something starting with __ and the normal name is an alias. */
25315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25318 char (*f) () = $ac_func;
25327 return f != $ac_func;
25332 rm -f conftest.
$ac_objext conftest
$ac_exeext
25333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25334 (eval $ac_link) 2>conftest.er1
25336 grep -v '^ *+' conftest.er1
>conftest.err
25338 cat conftest.err
>&5
25339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340 (exit $ac_status); } &&
25341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25343 (eval $ac_try) 2>&5
25345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346 (exit $ac_status); }; } &&
25347 { ac_try
='test -s conftest$ac_exeext'
25348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25349 (eval $ac_try) 2>&5
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); }; }; then
25353 eval "$as_ac_var=yes"
25355 echo "$as_me: failed program was:" >&5
25356 sed 's/^/| /' conftest.
$ac_ext >&5
25358 eval "$as_ac_var=no"
25360 rm -f conftest.err conftest.
$ac_objext \
25361 conftest
$ac_exeext conftest.
$ac_ext
25363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25365 if test `eval echo '${'$as_ac_var'}'` = yes; then
25366 cat >>confdefs.h
<<_ACEOF
25367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25375 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25376 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25378 AFMINSTALL
=afminstall
25382 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25383 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25384 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25385 echo $ECHO_N "(cached) $ECHO_C" >&6
25387 ac_check_lib_save_LIBS
=$LIBS
25389 cat >conftest.
$ac_ext <<_ACEOF
25392 cat confdefs.h
>>conftest.
$ac_ext
25393 cat >>conftest.
$ac_ext <<_ACEOF
25394 /* end confdefs.h. */
25396 /* Override any gcc2 internal prototype to avoid an error. */
25400 /* We use char because int might match the return type of a gcc2
25401 builtin and then its argument prototype would still apply. */
25402 char gdk_im_open ();
25411 rm -f conftest.
$ac_objext conftest
$ac_exeext
25412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25413 (eval $ac_link) 2>conftest.er1
25415 grep -v '^ *+' conftest.er1
>conftest.err
25417 cat conftest.err
>&5
25418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419 (exit $ac_status); } &&
25420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25422 (eval $ac_try) 2>&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); }; } &&
25426 { ac_try
='test -s conftest$ac_exeext'
25427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25428 (eval $ac_try) 2>&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); }; }; then
25432 ac_cv_lib_gdk_gdk_im_open
=yes
25434 echo "$as_me: failed program was:" >&5
25435 sed 's/^/| /' conftest.
$ac_ext >&5
25437 ac_cv_lib_gdk_gdk_im_open
=no
25439 rm -f conftest.err conftest.
$ac_objext \
25440 conftest
$ac_exeext conftest.
$ac_ext
25441 LIBS
=$ac_check_lib_save_LIBS
25443 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25444 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25445 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25446 cat >>confdefs.h
<<\_ACEOF
25454 if test "$wxUSE_GPE" = "yes"; then
25455 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25456 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25459 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25461 for ac_extension
in a so sl dylib
; do
25462 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25463 ac_find_libraries
=$ac_dir
25469 if test "$ac_find_libraries" != "" ; then
25471 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25473 if test $result = 0; then
25476 ac_path_to_link
=" -L$ac_find_libraries"
25479 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25481 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25482 echo "${ECHO_T}found at $ac_find_libraries" >&6
25484 echo "$as_me:$LINENO: result: not found" >&5
25485 echo "${ECHO_T}not found" >&6
25491 if test "$wxUSE_MGL" = 1; then
25492 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25493 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25494 if test "x$MGL_ROOT" = x
; then
25495 echo "$as_me:$LINENO: result: not found" >&5
25496 echo "${ECHO_T}not found" >&6
25497 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25498 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25499 { (exit 1); exit 1; }; }
25501 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25502 echo "${ECHO_T}$MGL_ROOT" >&6
25505 echo "$as_me:$LINENO: checking for libmgl location" >&5
25506 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25509 if test "x$wxUSE_SHARED" = xyes
; then
25510 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25512 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25516 mgl_os_candidates
="dos32/dj2"
25519 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25520 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25521 { (exit 1); exit 1; }; }
25527 for mgl_os_i
in $mgl_os_candidates ; do
25528 if test "x$mgl_os" = x
; then
25529 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25530 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
25531 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
25536 if test "x$mgl_lib_type" = x
; then
25537 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
25538 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
25539 mgl_lib_type
=release
25546 if test "x$mgl_os" = x
; then
25547 echo "$as_me:$LINENO: result: not found" >&5
25548 echo "${ECHO_T}not found" >&6
25549 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25550 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25551 { (exit 1); exit 1; }; }
25553 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25554 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25556 wxUSE_UNIVERSAL
="yes"
25558 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
25559 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25561 AFMINSTALL
=afminstall
25566 if test "$wxUSE_MICROWIN" = 1; then
25567 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25568 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25569 if test "x$MICROWINDOWS" = x
; then
25570 echo "$as_me:$LINENO: result: not found" >&5
25571 echo "${ECHO_T}not found" >&6
25572 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25573 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25574 { (exit 1); exit 1; }; }
25576 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25577 echo "${ECHO_T}$MICROWINDOWS" >&6
25580 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
25581 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25582 echo "${ECHO_T}MicroWindows' libraries found." >&6
25584 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25585 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25586 { (exit 1); exit 1; }; }
25589 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
25590 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25592 wxUSE_UNIVERSAL
="yes"
25594 AFMINSTALL
=afminstall
25596 GUIDIST
=MICROWIN_DIST
25598 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25601 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25603 if test "x$ac_path_x_has_been_run" != xyes
; then
25604 echo "$as_me:$LINENO: checking for X" >&5
25605 echo $ECHO_N "checking for X... $ECHO_C" >&6
25607 ac_path_x_has_been_run
=yes
25609 # Check whether --with-x or --without-x was given.
25610 if test "${with_x+set}" = set; then
25614 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25615 if test "x$with_x" = xno
; then
25616 # The user explicitly disabled X.
25619 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25620 # Both variables are already set.
25623 if test "${ac_cv_have_x+set}" = set; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25626 # One or both of the vars are not set, and there is no cached value.
25627 ac_x_includes
=no ac_x_libraries
=no
25628 rm -fr conftest.dir
25629 if mkdir conftest.dir
; then
25631 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25632 cat >Imakefile
<<'_ACEOF'
25634 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25636 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25637 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25638 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25639 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25640 for ac_extension
in a so sl
; do
25641 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25642 test -f $ac_im_libdir/libX11.
$ac_extension; then
25643 ac_im_usrlibdir
=$ac_im_libdir; break
25646 # Screen out bogus values from the imake configuration. They are
25647 # bogus both because they are the default anyway, and because
25648 # using them would break gcc on systems where it needs fixed includes.
25649 case $ac_im_incroot in
25651 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25653 case $ac_im_usrlibdir in
25654 /usr
/lib
| /lib
) ;;
25655 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25659 rm -fr conftest.dir
25662 # Standard set of common directories for X headers.
25663 # Check X11 before X11Rn because it is often a symlink to the current release.
25675 /usr/local/X11/include
25676 /usr/local/X11R6/include
25677 /usr/local/X11R5/include
25678 /usr/local/X11R4/include
25680 /usr/local/include/X11
25681 /usr/local/include/X11R6
25682 /usr/local/include/X11R5
25683 /usr/local/include/X11R4
25687 /usr/XFree86/include/X11
25691 /usr/unsupported/include
25692 /usr/athena/include
25693 /usr/local/x11r5/include
25694 /usr/lpp/Xamples/include
25696 /usr/openwin/include
25697 /usr/openwin/share/include'
25699 if test "$ac_x_includes" = no
; then
25700 # Guess where to find include files, by looking for a specified header file.
25701 # First, try using that file with no special directory specified.
25702 cat >conftest.
$ac_ext <<_ACEOF
25705 cat confdefs.h
>>conftest.
$ac_ext
25706 cat >>conftest.
$ac_ext <<_ACEOF
25707 /* end confdefs.h. */
25708 #include <X11/Intrinsic.h>
25710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25711 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25713 grep -v '^ *+' conftest.er1
>conftest.err
25715 cat conftest.err
>&5
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); } >/dev
/null
; then
25718 if test -s conftest.err
; then
25719 ac_cpp_err
=$ac_c_preproc_warn_flag
25720 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25727 if test -z "$ac_cpp_err"; then
25728 # We can compile using X headers with no special include directory.
25731 echo "$as_me: failed program was:" >&5
25732 sed 's/^/| /' conftest.
$ac_ext >&5
25734 for ac_dir
in $ac_x_header_dirs; do
25735 if test -r "$ac_dir/X11/Intrinsic.h"; then
25736 ac_x_includes
=$ac_dir
25741 rm -f conftest.err conftest.
$ac_ext
25742 fi # $ac_x_includes = no
25744 if test "$ac_x_libraries" = no
; then
25745 # Check for the libraries.
25746 # See if we find them without any special options.
25747 # Don't add to $LIBS permanently.
25750 cat >conftest.
$ac_ext <<_ACEOF
25753 cat confdefs.h
>>conftest.
$ac_ext
25754 cat >>conftest.
$ac_ext <<_ACEOF
25755 /* end confdefs.h. */
25756 #include <X11/Intrinsic.h>
25765 rm -f conftest.
$ac_objext conftest
$ac_exeext
25766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25767 (eval $ac_link) 2>conftest.er1
25769 grep -v '^ *+' conftest.er1
>conftest.err
25771 cat conftest.err
>&5
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); } &&
25774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25776 (eval $ac_try) 2>&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); }; } &&
25780 { ac_try
='test -s conftest$ac_exeext'
25781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25782 (eval $ac_try) 2>&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); }; }; then
25787 # We can link X programs with no special library path.
25790 echo "$as_me: failed program was:" >&5
25791 sed 's/^/| /' conftest.
$ac_ext >&5
25794 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25796 # Don't even attempt the hair of trying to link an X program!
25797 for ac_extension
in a so sl
; do
25798 if test -r $ac_dir/libXt.
$ac_extension; then
25799 ac_x_libraries
=$ac_dir
25805 rm -f conftest.err conftest.
$ac_objext \
25806 conftest
$ac_exeext conftest.
$ac_ext
25807 fi # $ac_x_libraries = no
25809 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
25810 # Didn't find X anywhere. Cache the known absence of X.
25811 ac_cv_have_x
="have_x=no"
25813 # Record where we found X for the cache.
25814 ac_cv_have_x
="have_x=yes \
25815 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25820 eval "$ac_cv_have_x"
25823 if test "$have_x" != yes; then
25824 echo "$as_me:$LINENO: result: $have_x" >&5
25825 echo "${ECHO_T}$have_x" >&6
25828 # If each of the values was on the command line, it overrides each guess.
25829 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25830 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25831 # Update the cache value to reflect the command line values.
25832 ac_cv_have_x
="have_x=yes \
25833 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25834 # It might be that x_includes is empty (headers are found in the
25835 # standard search path. Then output the corresponding message
25836 ac_out_x_includes
=$x_includes
25837 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
25838 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
25839 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
25843 if test "$no_x" = yes; then
25844 # Not all programs may use this symbol, but it does not hurt to define it.
25846 cat >>confdefs.h
<<\_ACEOF
25847 #define X_DISPLAY_MISSING 1
25850 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25852 if test -n "$x_includes"; then
25853 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25856 # It would also be nice to do this for all -L options, not just this one.
25857 if test -n "$x_libraries"; then
25858 X_LIBS
="$X_LIBS -L$x_libraries"
25859 # For Solaris; some versions of Sun CC require a space after -R and
25860 # others require no space. Words are not sufficient . . . .
25861 case `(uname -sr) 2>/dev/null` in
25863 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25864 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25865 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25866 cat >conftest.
$ac_ext <<_ACEOF
25869 cat confdefs.h
>>conftest.
$ac_ext
25870 cat >>conftest.
$ac_ext <<_ACEOF
25871 /* end confdefs.h. */
25881 rm -f conftest.
$ac_objext conftest
$ac_exeext
25882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25883 (eval $ac_link) 2>conftest.er1
25885 grep -v '^ *+' conftest.er1
>conftest.err
25887 cat conftest.err
>&5
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); } &&
25890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25892 (eval $ac_try) 2>&5
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); }; } &&
25896 { ac_try
='test -s conftest$ac_exeext'
25897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25898 (eval $ac_try) 2>&5
25900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25901 (exit $ac_status); }; }; then
25904 echo "$as_me: failed program was:" >&5
25905 sed 's/^/| /' conftest.
$ac_ext >&5
25909 rm -f conftest.err conftest.
$ac_objext \
25910 conftest
$ac_exeext conftest.
$ac_ext
25911 if test $ac_R_nospace = yes; then
25912 echo "$as_me:$LINENO: result: no" >&5
25913 echo "${ECHO_T}no" >&6
25914 X_LIBS
="$X_LIBS -R$x_libraries"
25916 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25917 cat >conftest.
$ac_ext <<_ACEOF
25920 cat confdefs.h
>>conftest.
$ac_ext
25921 cat >>conftest.
$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25932 rm -f conftest.
$ac_objext conftest
$ac_exeext
25933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25934 (eval $ac_link) 2>conftest.er1
25936 grep -v '^ *+' conftest.er1
>conftest.err
25938 cat conftest.err
>&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); } &&
25941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; } &&
25947 { ac_try
='test -s conftest$ac_exeext'
25948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25949 (eval $ac_try) 2>&5
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); }; }; then
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.
$ac_ext >&5
25960 rm -f conftest.err conftest.
$ac_objext \
25961 conftest
$ac_exeext conftest.
$ac_ext
25962 if test $ac_R_space = yes; then
25963 echo "$as_me:$LINENO: result: yes" >&5
25964 echo "${ECHO_T}yes" >&6
25965 X_LIBS
="$X_LIBS -R $x_libraries"
25967 echo "$as_me:$LINENO: result: neither works" >&5
25968 echo "${ECHO_T}neither works" >&6
25971 LIBS
=$ac_xsave_LIBS
25975 # Check for system-dependent libraries X programs must link with.
25976 # Do this before checking for the system-independent R6 libraries
25977 # (-lICE), since we may need -lsocket or whatever for X linking.
25979 if test "$ISC" = yes; then
25980 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25982 # Martyn Johnson says this is needed for Ultrix, if the X
25983 # libraries were built with DECnet support. And Karl Berry says
25984 # the Alpha needs dnet_stub (dnet does not exist).
25985 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25986 cat >conftest.
$ac_ext <<_ACEOF
25989 cat confdefs.h
>>conftest.
$ac_ext
25990 cat >>conftest.
$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25993 /* Override any gcc2 internal prototype to avoid an error. */
25997 /* We use char because int might match the return type of a gcc2
25998 builtin and then its argument prototype would still apply. */
25999 char XOpenDisplay ();
26008 rm -f conftest.
$ac_objext conftest
$ac_exeext
26009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26010 (eval $ac_link) 2>conftest.er1
26012 grep -v '^ *+' conftest.er1
>conftest.err
26014 cat conftest.err
>&5
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); } &&
26017 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26019 (eval $ac_try) 2>&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); }; } &&
26023 { ac_try
='test -s conftest$ac_exeext'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; }; then
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.
$ac_ext >&5
26034 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26035 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26036 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26037 echo $ECHO_N "(cached) $ECHO_C" >&6
26039 ac_check_lib_save_LIBS
=$LIBS
26040 LIBS
="-ldnet $LIBS"
26041 cat >conftest.
$ac_ext <<_ACEOF
26044 cat confdefs.h
>>conftest.
$ac_ext
26045 cat >>conftest.
$ac_ext <<_ACEOF
26046 /* end confdefs.h. */
26048 /* Override any gcc2 internal prototype to avoid an error. */
26052 /* We use char because int might match the return type of a gcc2
26053 builtin and then its argument prototype would still apply. */
26063 rm -f conftest.
$ac_objext conftest
$ac_exeext
26064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26065 (eval $ac_link) 2>conftest.er1
26067 grep -v '^ *+' conftest.er1
>conftest.err
26069 cat conftest.err
>&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); } &&
26072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26074 (eval $ac_try) 2>&5
26076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26077 (exit $ac_status); }; } &&
26078 { ac_try
='test -s conftest$ac_exeext'
26079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26080 (eval $ac_try) 2>&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); }; }; then
26084 ac_cv_lib_dnet_dnet_ntoa
=yes
26086 echo "$as_me: failed program was:" >&5
26087 sed 's/^/| /' conftest.
$ac_ext >&5
26089 ac_cv_lib_dnet_dnet_ntoa
=no
26091 rm -f conftest.err conftest.
$ac_objext \
26092 conftest
$ac_exeext conftest.
$ac_ext
26093 LIBS
=$ac_check_lib_save_LIBS
26095 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26096 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26097 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26098 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26101 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26102 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26103 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26104 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26105 echo $ECHO_N "(cached) $ECHO_C" >&6
26107 ac_check_lib_save_LIBS
=$LIBS
26108 LIBS
="-ldnet_stub $LIBS"
26109 cat >conftest.
$ac_ext <<_ACEOF
26112 cat confdefs.h
>>conftest.
$ac_ext
26113 cat >>conftest.
$ac_ext <<_ACEOF
26114 /* end confdefs.h. */
26116 /* Override any gcc2 internal prototype to avoid an error. */
26120 /* We use char because int might match the return type of a gcc2
26121 builtin and then its argument prototype would still apply. */
26131 rm -f conftest.
$ac_objext conftest
$ac_exeext
26132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26133 (eval $ac_link) 2>conftest.er1
26135 grep -v '^ *+' conftest.er1
>conftest.err
26137 cat conftest.err
>&5
26138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26139 (exit $ac_status); } &&
26140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26142 (eval $ac_try) 2>&5
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); }; } &&
26146 { ac_try
='test -s conftest$ac_exeext'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; }; then
26152 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.
$ac_ext >&5
26157 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26159 rm -f conftest.err conftest.
$ac_objext \
26160 conftest
$ac_exeext conftest.
$ac_ext
26161 LIBS
=$ac_check_lib_save_LIBS
26163 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26164 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26165 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26166 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26171 rm -f conftest.err conftest.
$ac_objext \
26172 conftest
$ac_exeext conftest.
$ac_ext
26173 LIBS
="$ac_xsave_LIBS"
26175 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26176 # to get the SysV transport functions.
26177 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26179 # The nsl library prevents programs from opening the X display
26180 # on Irix 5.2, according to T.E. Dickey.
26181 # The functions gethostbyname, getservbyname, and inet_addr are
26182 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26183 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26184 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26185 if test "${ac_cv_func_gethostbyname+set}" = set; then
26186 echo $ECHO_N "(cached) $ECHO_C" >&6
26188 cat >conftest.
$ac_ext <<_ACEOF
26191 cat confdefs.h
>>conftest.
$ac_ext
26192 cat >>conftest.
$ac_ext <<_ACEOF
26193 /* end confdefs.h. */
26194 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26196 #define gethostbyname innocuous_gethostbyname
26198 /* System header to define __stub macros and hopefully few prototypes,
26199 which can conflict with char gethostbyname (); below.
26200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26201 <limits.h> exists even on freestanding compilers. */
26204 # include <limits.h>
26206 # include <assert.h>
26209 #undef gethostbyname
26211 /* Override any gcc2 internal prototype to avoid an error. */
26216 /* We use char because int might match the return type of a gcc2
26217 builtin and then its argument prototype would still apply. */
26218 char gethostbyname ();
26219 /* The GNU C library defines this for functions which it implements
26220 to always fail with ENOSYS. Some functions are actually named
26221 something starting with __ and the normal name is an alias. */
26222 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26225 char (*f) () = gethostbyname;
26234 return f != gethostbyname;
26239 rm -f conftest.
$ac_objext conftest
$ac_exeext
26240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26241 (eval $ac_link) 2>conftest.er1
26243 grep -v '^ *+' conftest.er1
>conftest.err
26245 cat conftest.err
>&5
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); } &&
26248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250 (eval $ac_try) 2>&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); }; } &&
26254 { ac_try
='test -s conftest$ac_exeext'
26255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256 (eval $ac_try) 2>&5
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); }; }; then
26260 ac_cv_func_gethostbyname
=yes
26262 echo "$as_me: failed program was:" >&5
26263 sed 's/^/| /' conftest.
$ac_ext >&5
26265 ac_cv_func_gethostbyname
=no
26267 rm -f conftest.err conftest.
$ac_objext \
26268 conftest
$ac_exeext conftest.
$ac_ext
26270 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26271 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26273 if test $ac_cv_func_gethostbyname = no
; then
26274 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26275 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26276 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26277 echo $ECHO_N "(cached) $ECHO_C" >&6
26279 ac_check_lib_save_LIBS
=$LIBS
26281 cat >conftest.
$ac_ext <<_ACEOF
26284 cat confdefs.h
>>conftest.
$ac_ext
26285 cat >>conftest.
$ac_ext <<_ACEOF
26286 /* end confdefs.h. */
26288 /* Override any gcc2 internal prototype to avoid an error. */
26292 /* We use char because int might match the return type of a gcc2
26293 builtin and then its argument prototype would still apply. */
26294 char gethostbyname ();
26303 rm -f conftest.
$ac_objext conftest
$ac_exeext
26304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26305 (eval $ac_link) 2>conftest.er1
26307 grep -v '^ *+' conftest.er1
>conftest.err
26309 cat conftest.err
>&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); } &&
26312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26314 (eval $ac_try) 2>&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); }; } &&
26318 { ac_try
='test -s conftest$ac_exeext'
26319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26320 (eval $ac_try) 2>&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; }; then
26324 ac_cv_lib_nsl_gethostbyname
=yes
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.
$ac_ext >&5
26329 ac_cv_lib_nsl_gethostbyname
=no
26331 rm -f conftest.err conftest.
$ac_objext \
26332 conftest
$ac_exeext conftest.
$ac_ext
26333 LIBS
=$ac_check_lib_save_LIBS
26335 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26336 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26337 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26338 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26341 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26342 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26343 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26344 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26345 echo $ECHO_N "(cached) $ECHO_C" >&6
26347 ac_check_lib_save_LIBS
=$LIBS
26349 cat >conftest.
$ac_ext <<_ACEOF
26352 cat confdefs.h
>>conftest.
$ac_ext
26353 cat >>conftest.
$ac_ext <<_ACEOF
26354 /* end confdefs.h. */
26356 /* Override any gcc2 internal prototype to avoid an error. */
26360 /* We use char because int might match the return type of a gcc2
26361 builtin and then its argument prototype would still apply. */
26362 char gethostbyname ();
26371 rm -f conftest.
$ac_objext conftest
$ac_exeext
26372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26373 (eval $ac_link) 2>conftest.er1
26375 grep -v '^ *+' conftest.er1
>conftest.err
26377 cat conftest.err
>&5
26378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26379 (exit $ac_status); } &&
26380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26382 (eval $ac_try) 2>&5
26384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385 (exit $ac_status); }; } &&
26386 { ac_try
='test -s conftest$ac_exeext'
26387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26388 (eval $ac_try) 2>&5
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); }; }; then
26392 ac_cv_lib_bsd_gethostbyname
=yes
26394 echo "$as_me: failed program was:" >&5
26395 sed 's/^/| /' conftest.
$ac_ext >&5
26397 ac_cv_lib_bsd_gethostbyname
=no
26399 rm -f conftest.err conftest.
$ac_objext \
26400 conftest
$ac_exeext conftest.
$ac_ext
26401 LIBS
=$ac_check_lib_save_LIBS
26403 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26404 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26405 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26406 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26412 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26413 # socket/setsockopt and other routines are undefined under SCO ODT
26414 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26415 # on later versions), says Simon Leinen: it contains gethostby*
26416 # variants that don't use the name server (or something). -lsocket
26417 # must be given before -lnsl if both are needed. We assume that
26418 # if connect needs -lnsl, so does gethostbyname.
26419 echo "$as_me:$LINENO: checking for connect" >&5
26420 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26421 if test "${ac_cv_func_connect+set}" = set; then
26422 echo $ECHO_N "(cached) $ECHO_C" >&6
26424 cat >conftest.
$ac_ext <<_ACEOF
26427 cat confdefs.h
>>conftest.
$ac_ext
26428 cat >>conftest.
$ac_ext <<_ACEOF
26429 /* end confdefs.h. */
26430 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26432 #define connect innocuous_connect
26434 /* System header to define __stub macros and hopefully few prototypes,
26435 which can conflict with char connect (); below.
26436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26437 <limits.h> exists even on freestanding compilers. */
26440 # include <limits.h>
26442 # include <assert.h>
26447 /* Override any gcc2 internal prototype to avoid an error. */
26452 /* We use char because int might match the return type of a gcc2
26453 builtin and then its argument prototype would still apply. */
26455 /* The GNU C library defines this for functions which it implements
26456 to always fail with ENOSYS. Some functions are actually named
26457 something starting with __ and the normal name is an alias. */
26458 #if defined (__stub_connect) || defined (__stub___connect)
26461 char (*f) () = connect;
26470 return f != connect;
26475 rm -f conftest.
$ac_objext conftest
$ac_exeext
26476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26477 (eval $ac_link) 2>conftest.er1
26479 grep -v '^ *+' conftest.er1
>conftest.err
26481 cat conftest.err
>&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); } &&
26484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26486 (eval $ac_try) 2>&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); }; } &&
26490 { ac_try
='test -s conftest$ac_exeext'
26491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26492 (eval $ac_try) 2>&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); }; }; then
26496 ac_cv_func_connect
=yes
26498 echo "$as_me: failed program was:" >&5
26499 sed 's/^/| /' conftest.
$ac_ext >&5
26501 ac_cv_func_connect
=no
26503 rm -f conftest.err conftest.
$ac_objext \
26504 conftest
$ac_exeext conftest.
$ac_ext
26506 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26507 echo "${ECHO_T}$ac_cv_func_connect" >&6
26509 if test $ac_cv_func_connect = no
; then
26510 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26511 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26512 if test "${ac_cv_lib_socket_connect+set}" = set; then
26513 echo $ECHO_N "(cached) $ECHO_C" >&6
26515 ac_check_lib_save_LIBS
=$LIBS
26516 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26517 cat >conftest.
$ac_ext <<_ACEOF
26520 cat confdefs.h
>>conftest.
$ac_ext
26521 cat >>conftest.
$ac_ext <<_ACEOF
26522 /* end confdefs.h. */
26524 /* Override any gcc2 internal prototype to avoid an error. */
26528 /* We use char because int might match the return type of a gcc2
26529 builtin and then its argument prototype would still apply. */
26539 rm -f conftest.
$ac_objext conftest
$ac_exeext
26540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26541 (eval $ac_link) 2>conftest.er1
26543 grep -v '^ *+' conftest.er1
>conftest.err
26545 cat conftest.err
>&5
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); } &&
26548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26550 (eval $ac_try) 2>&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); }; } &&
26554 { ac_try
='test -s conftest$ac_exeext'
26555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26556 (eval $ac_try) 2>&5
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); }; }; then
26560 ac_cv_lib_socket_connect
=yes
26562 echo "$as_me: failed program was:" >&5
26563 sed 's/^/| /' conftest.
$ac_ext >&5
26565 ac_cv_lib_socket_connect
=no
26567 rm -f conftest.err conftest.
$ac_objext \
26568 conftest
$ac_exeext conftest.
$ac_ext
26569 LIBS
=$ac_check_lib_save_LIBS
26571 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26572 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26573 if test $ac_cv_lib_socket_connect = yes; then
26574 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26579 # Guillermo Gomez says -lposix is necessary on A/UX.
26580 echo "$as_me:$LINENO: checking for remove" >&5
26581 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26582 if test "${ac_cv_func_remove+set}" = set; then
26583 echo $ECHO_N "(cached) $ECHO_C" >&6
26585 cat >conftest.
$ac_ext <<_ACEOF
26588 cat confdefs.h
>>conftest.
$ac_ext
26589 cat >>conftest.
$ac_ext <<_ACEOF
26590 /* end confdefs.h. */
26591 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26593 #define remove innocuous_remove
26595 /* System header to define __stub macros and hopefully few prototypes,
26596 which can conflict with char remove (); below.
26597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26598 <limits.h> exists even on freestanding compilers. */
26601 # include <limits.h>
26603 # include <assert.h>
26608 /* Override any gcc2 internal prototype to avoid an error. */
26613 /* We use char because int might match the return type of a gcc2
26614 builtin and then its argument prototype would still apply. */
26616 /* The GNU C library defines this for functions which it implements
26617 to always fail with ENOSYS. Some functions are actually named
26618 something starting with __ and the normal name is an alias. */
26619 #if defined (__stub_remove) || defined (__stub___remove)
26622 char (*f) () = remove;
26631 return f != remove;
26636 rm -f conftest.
$ac_objext conftest
$ac_exeext
26637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26638 (eval $ac_link) 2>conftest.er1
26640 grep -v '^ *+' conftest.er1
>conftest.err
26642 cat conftest.err
>&5
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); } &&
26645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26647 (eval $ac_try) 2>&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); }; } &&
26651 { ac_try
='test -s conftest$ac_exeext'
26652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26653 (eval $ac_try) 2>&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); }; }; then
26657 ac_cv_func_remove
=yes
26659 echo "$as_me: failed program was:" >&5
26660 sed 's/^/| /' conftest.
$ac_ext >&5
26662 ac_cv_func_remove
=no
26664 rm -f conftest.err conftest.
$ac_objext \
26665 conftest
$ac_exeext conftest.
$ac_ext
26667 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26668 echo "${ECHO_T}$ac_cv_func_remove" >&6
26670 if test $ac_cv_func_remove = no
; then
26671 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26672 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26673 if test "${ac_cv_lib_posix_remove+set}" = set; then
26674 echo $ECHO_N "(cached) $ECHO_C" >&6
26676 ac_check_lib_save_LIBS
=$LIBS
26677 LIBS
="-lposix $LIBS"
26678 cat >conftest.
$ac_ext <<_ACEOF
26681 cat confdefs.h
>>conftest.
$ac_ext
26682 cat >>conftest.
$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26685 /* Override any gcc2 internal prototype to avoid an error. */
26689 /* We use char because int might match the return type of a gcc2
26690 builtin and then its argument prototype would still apply. */
26700 rm -f conftest.
$ac_objext conftest
$ac_exeext
26701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26702 (eval $ac_link) 2>conftest.er1
26704 grep -v '^ *+' conftest.er1
>conftest.err
26706 cat conftest.err
>&5
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); } &&
26709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26711 (eval $ac_try) 2>&5
26713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26714 (exit $ac_status); }; } &&
26715 { ac_try
='test -s conftest$ac_exeext'
26716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26717 (eval $ac_try) 2>&5
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); }; }; then
26721 ac_cv_lib_posix_remove
=yes
26723 echo "$as_me: failed program was:" >&5
26724 sed 's/^/| /' conftest.
$ac_ext >&5
26726 ac_cv_lib_posix_remove
=no
26728 rm -f conftest.err conftest.
$ac_objext \
26729 conftest
$ac_exeext conftest.
$ac_ext
26730 LIBS
=$ac_check_lib_save_LIBS
26732 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26733 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26734 if test $ac_cv_lib_posix_remove = yes; then
26735 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26740 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26741 echo "$as_me:$LINENO: checking for shmat" >&5
26742 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26743 if test "${ac_cv_func_shmat+set}" = set; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26746 cat >conftest.
$ac_ext <<_ACEOF
26749 cat confdefs.h
>>conftest.
$ac_ext
26750 cat >>conftest.
$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26752 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26754 #define shmat innocuous_shmat
26756 /* System header to define __stub macros and hopefully few prototypes,
26757 which can conflict with char shmat (); below.
26758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26759 <limits.h> exists even on freestanding compilers. */
26762 # include <limits.h>
26764 # include <assert.h>
26769 /* Override any gcc2 internal prototype to avoid an error. */
26774 /* We use char because int might match the return type of a gcc2
26775 builtin and then its argument prototype would still apply. */
26777 /* The GNU C library defines this for functions which it implements
26778 to always fail with ENOSYS. Some functions are actually named
26779 something starting with __ and the normal name is an alias. */
26780 #if defined (__stub_shmat) || defined (__stub___shmat)
26783 char (*f) () = shmat;
26797 rm -f conftest.
$ac_objext conftest
$ac_exeext
26798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26799 (eval $ac_link) 2>conftest.er1
26801 grep -v '^ *+' conftest.er1
>conftest.err
26803 cat conftest.err
>&5
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); } &&
26806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26808 (eval $ac_try) 2>&5
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); }; } &&
26812 { ac_try
='test -s conftest$ac_exeext'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; }; then
26818 ac_cv_func_shmat
=yes
26820 echo "$as_me: failed program was:" >&5
26821 sed 's/^/| /' conftest.
$ac_ext >&5
26823 ac_cv_func_shmat
=no
26825 rm -f conftest.err conftest.
$ac_objext \
26826 conftest
$ac_exeext conftest.
$ac_ext
26828 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26829 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26831 if test $ac_cv_func_shmat = no
; then
26832 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26833 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26834 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26835 echo $ECHO_N "(cached) $ECHO_C" >&6
26837 ac_check_lib_save_LIBS
=$LIBS
26839 cat >conftest.
$ac_ext <<_ACEOF
26842 cat confdefs.h
>>conftest.
$ac_ext
26843 cat >>conftest.
$ac_ext <<_ACEOF
26844 /* end confdefs.h. */
26846 /* Override any gcc2 internal prototype to avoid an error. */
26850 /* We use char because int might match the return type of a gcc2
26851 builtin and then its argument prototype would still apply. */
26861 rm -f conftest.
$ac_objext conftest
$ac_exeext
26862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26863 (eval $ac_link) 2>conftest.er1
26865 grep -v '^ *+' conftest.er1
>conftest.err
26867 cat conftest.err
>&5
26868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869 (exit $ac_status); } &&
26870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26872 (eval $ac_try) 2>&5
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); }; } &&
26876 { ac_try
='test -s conftest$ac_exeext'
26877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26878 (eval $ac_try) 2>&5
26880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881 (exit $ac_status); }; }; then
26882 ac_cv_lib_ipc_shmat
=yes
26884 echo "$as_me: failed program was:" >&5
26885 sed 's/^/| /' conftest.
$ac_ext >&5
26887 ac_cv_lib_ipc_shmat
=no
26889 rm -f conftest.err conftest.
$ac_objext \
26890 conftest
$ac_exeext conftest.
$ac_ext
26891 LIBS
=$ac_check_lib_save_LIBS
26893 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26894 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26895 if test $ac_cv_lib_ipc_shmat = yes; then
26896 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26902 # Check for libraries that X11R6 Xt/Xaw programs need.
26903 ac_save_LDFLAGS
=$LDFLAGS
26904 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26905 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26906 # check for ICE first), but we must link in the order -lSM -lICE or
26907 # we get undefined symbols. So assume we have SM if we have ICE.
26908 # These have to be linked with before -lX11, unlike the other
26909 # libraries we check for below, so use a different variable.
26910 # John Interrante, Karl Berry
26911 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26912 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26913 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26914 echo $ECHO_N "(cached) $ECHO_C" >&6
26916 ac_check_lib_save_LIBS
=$LIBS
26917 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26918 cat >conftest.
$ac_ext <<_ACEOF
26921 cat confdefs.h
>>conftest.
$ac_ext
26922 cat >>conftest.
$ac_ext <<_ACEOF
26923 /* end confdefs.h. */
26925 /* Override any gcc2 internal prototype to avoid an error. */
26929 /* We use char because int might match the return type of a gcc2
26930 builtin and then its argument prototype would still apply. */
26931 char IceConnectionNumber ();
26935 IceConnectionNumber ();
26940 rm -f conftest.
$ac_objext conftest
$ac_exeext
26941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26942 (eval $ac_link) 2>conftest.er1
26944 grep -v '^ *+' conftest.er1
>conftest.err
26946 cat conftest.err
>&5
26947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26948 (exit $ac_status); } &&
26949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26951 (eval $ac_try) 2>&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); }; } &&
26955 { ac_try
='test -s conftest$ac_exeext'
26956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26957 (eval $ac_try) 2>&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); }; }; then
26961 ac_cv_lib_ICE_IceConnectionNumber
=yes
26963 echo "$as_me: failed program was:" >&5
26964 sed 's/^/| /' conftest.
$ac_ext >&5
26966 ac_cv_lib_ICE_IceConnectionNumber
=no
26968 rm -f conftest.err conftest.
$ac_objext \
26969 conftest
$ac_exeext conftest.
$ac_ext
26970 LIBS
=$ac_check_lib_save_LIBS
26972 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26973 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26974 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26975 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26978 LDFLAGS
=$ac_save_LDFLAGS
26983 if test "$no_x" = "yes"; then
26984 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26985 echo "$as_me: error: X11 not found" >&2;}
26986 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26989 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26990 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26991 AFMINSTALL
=afminstall
26992 COMPILED_X_PROGRAM
=0
26996 if test "$wxUSE_X11" = 1; then
26997 if test "$wxUSE_NANOX" = "yes"; then
26998 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26999 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27000 if test "x$MICROWIN" = x
; then
27001 echo "$as_me:$LINENO: result: not found" >&5
27002 echo "${ECHO_T}not found" >&6
27003 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27004 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27005 { (exit 1); exit 1; }; }
27007 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27008 echo "${ECHO_T}$MICROWIN" >&6
27009 cat >>confdefs.h
<<\_ACEOF
27010 #define wxUSE_NANOX 1
27016 if test "$wxUSE_UNICODE" = "yes"; then
27020 if test -z "$PKG_CONFIG"; then
27021 # Extract the first word of "pkg-config", so it can be a program name with args.
27022 set dummy pkg
-config; ac_word
=$2
27023 echo "$as_me:$LINENO: checking for $ac_word" >&5
27024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27025 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27026 echo $ECHO_N "(cached) $ECHO_C" >&6
27028 case $PKG_CONFIG in
27030 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27034 for as_dir
in $PATH
27037 test -z "$as_dir" && as_dir
=.
27038 for ac_exec_ext
in '' $ac_executable_extensions; do
27039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27040 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27047 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27051 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27053 if test -n "$PKG_CONFIG"; then
27054 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27055 echo "${ECHO_T}$PKG_CONFIG" >&6
27057 echo "$as_me:$LINENO: result: no" >&5
27058 echo "${ECHO_T}no" >&6
27063 if test "$PKG_CONFIG" = "no" ; then
27064 echo "*** The pkg-config script could not be found. Make sure it is"
27065 echo "*** in your path, or set the PKG_CONFIG environment variable"
27066 echo "*** to the full path to pkg-config."
27067 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27069 PKG_CONFIG_MIN_VERSION
=0.9.0
27070 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27071 echo "$as_me:$LINENO: checking for pangox" >&5
27072 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27074 if $PKG_CONFIG --exists "pangox" ; then
27075 echo "$as_me:$LINENO: result: yes" >&5
27076 echo "${ECHO_T}yes" >&6
27079 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27080 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27081 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27082 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27083 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27085 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27086 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27087 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27088 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27089 echo "${ECHO_T}$PANGOX_LIBS" >&6
27093 ## If we have a custom action on failure, don't print errors, but
27094 ## do set a variable so people can do so.
27095 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27102 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27103 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27107 if test $succeeded = yes; then
27109 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27110 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27114 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27115 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27116 { (exit 1); exit 1; }; }
27124 if test -z "$PKG_CONFIG"; then
27125 # Extract the first word of "pkg-config", so it can be a program name with args.
27126 set dummy pkg
-config; ac_word
=$2
27127 echo "$as_me:$LINENO: checking for $ac_word" >&5
27128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27129 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27130 echo $ECHO_N "(cached) $ECHO_C" >&6
27132 case $PKG_CONFIG in
27134 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27138 for as_dir
in $PATH
27141 test -z "$as_dir" && as_dir
=.
27142 for ac_exec_ext
in '' $ac_executable_extensions; do
27143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27144 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27151 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27155 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27157 if test -n "$PKG_CONFIG"; then
27158 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27159 echo "${ECHO_T}$PKG_CONFIG" >&6
27161 echo "$as_me:$LINENO: result: no" >&5
27162 echo "${ECHO_T}no" >&6
27167 if test "$PKG_CONFIG" = "no" ; then
27168 echo "*** The pkg-config script could not be found. Make sure it is"
27169 echo "*** in your path, or set the PKG_CONFIG environment variable"
27170 echo "*** to the full path to pkg-config."
27171 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27173 PKG_CONFIG_MIN_VERSION
=0.9.0
27174 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27175 echo "$as_me:$LINENO: checking for pangoft2" >&5
27176 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27178 if $PKG_CONFIG --exists "pangoft2" ; then
27179 echo "$as_me:$LINENO: result: yes" >&5
27180 echo "${ECHO_T}yes" >&6
27183 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27184 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27185 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27186 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27187 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27189 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27190 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27191 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27192 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27193 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27197 ## If we have a custom action on failure, don't print errors, but
27198 ## do set a variable so people can do so.
27199 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27206 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27207 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27211 if test $succeeded = yes; then
27213 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27214 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27218 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27219 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27220 wxUSE_PRINTING_ARCHITECTURE
="no"
27228 if test -z "$PKG_CONFIG"; then
27229 # Extract the first word of "pkg-config", so it can be a program name with args.
27230 set dummy pkg
-config; ac_word
=$2
27231 echo "$as_me:$LINENO: checking for $ac_word" >&5
27232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27233 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27234 echo $ECHO_N "(cached) $ECHO_C" >&6
27236 case $PKG_CONFIG in
27238 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27242 for as_dir
in $PATH
27245 test -z "$as_dir" && as_dir
=.
27246 for ac_exec_ext
in '' $ac_executable_extensions; do
27247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27248 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27255 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27259 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27261 if test -n "$PKG_CONFIG"; then
27262 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27263 echo "${ECHO_T}$PKG_CONFIG" >&6
27265 echo "$as_me:$LINENO: result: no" >&5
27266 echo "${ECHO_T}no" >&6
27271 if test "$PKG_CONFIG" = "no" ; then
27272 echo "*** The pkg-config script could not be found. Make sure it is"
27273 echo "*** in your path, or set the PKG_CONFIG environment variable"
27274 echo "*** to the full path to pkg-config."
27275 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27277 PKG_CONFIG_MIN_VERSION
=0.9.0
27278 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27279 echo "$as_me:$LINENO: checking for pangoxft" >&5
27280 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27282 if $PKG_CONFIG --exists "pangoxft" ; then
27283 echo "$as_me:$LINENO: result: yes" >&5
27284 echo "${ECHO_T}yes" >&6
27287 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27288 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27289 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27290 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27291 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27293 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27294 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27295 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27296 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27297 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27301 ## If we have a custom action on failure, don't print errors, but
27302 ## do set a variable so people can do so.
27303 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27310 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27311 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27315 if test $succeeded = yes; then
27317 cat >>confdefs.h
<<\_ACEOF
27318 #define HAVE_PANGO_XFT 1
27321 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27322 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27326 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27327 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27332 save_CFLAGS
="$CFLAGS"
27334 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27335 LIBS
="$LIBS $PANGOX_LIBS"
27337 for ac_func
in pango_font_family_is_monospace
27339 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27340 echo "$as_me:$LINENO: checking for $ac_func" >&5
27341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27342 if eval "test \"\${$as_ac_var+set}\" = set"; then
27343 echo $ECHO_N "(cached) $ECHO_C" >&6
27345 cat >conftest.
$ac_ext <<_ACEOF
27348 cat confdefs.h
>>conftest.
$ac_ext
27349 cat >>conftest.
$ac_ext <<_ACEOF
27350 /* end confdefs.h. */
27351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27353 #define $ac_func innocuous_$ac_func
27355 /* System header to define __stub macros and hopefully few prototypes,
27356 which can conflict with char $ac_func (); below.
27357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27358 <limits.h> exists even on freestanding compilers. */
27361 # include <limits.h>
27363 # include <assert.h>
27368 /* Override any gcc2 internal prototype to avoid an error. */
27373 /* We use char because int might match the return type of a gcc2
27374 builtin and then its argument prototype would still apply. */
27376 /* The GNU C library defines this for functions which it implements
27377 to always fail with ENOSYS. Some functions are actually named
27378 something starting with __ and the normal name is an alias. */
27379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27382 char (*f) () = $ac_func;
27391 return f != $ac_func;
27396 rm -f conftest.
$ac_objext conftest
$ac_exeext
27397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27398 (eval $ac_link) 2>conftest.er1
27400 grep -v '^ *+' conftest.er1
>conftest.err
27402 cat conftest.err
>&5
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); } &&
27405 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27407 (eval $ac_try) 2>&5
27409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27410 (exit $ac_status); }; } &&
27411 { ac_try
='test -s conftest$ac_exeext'
27412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27413 (eval $ac_try) 2>&5
27415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27416 (exit $ac_status); }; }; then
27417 eval "$as_ac_var=yes"
27419 echo "$as_me: failed program was:" >&5
27420 sed 's/^/| /' conftest.
$ac_ext >&5
27422 eval "$as_ac_var=no"
27424 rm -f conftest.err conftest.
$ac_objext \
27425 conftest
$ac_exeext conftest.
$ac_ext
27427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27429 if test `eval echo '${'$as_ac_var'}'` = yes; then
27430 cat >>confdefs.h
<<_ACEOF
27431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27437 CFLAGS
="$save_CFLAGS"
27441 wxUSE_UNIVERSAL
="yes"
27443 if test "$wxUSE_NANOX" = "yes"; then
27444 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27445 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"
27446 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27448 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
27455 if test "$wxUSE_MOTIF" = 1; then
27456 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27457 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27460 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27462 if test -f "$ac_dir/Xm/Xm.h"; then
27463 ac_find_includes
=$ac_dir
27468 if test "$ac_find_includes" != "" ; then
27469 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27470 echo "${ECHO_T}found in $ac_find_includes" >&6
27472 if test "x$ac_find_includes" = "x/usr/include"; then
27473 ac_path_to_include
=""
27475 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
27477 if test $result = 0; then
27478 ac_path_to_include
=""
27480 ac_path_to_include
=" -I$ac_find_includes"
27484 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
27486 cat >conftest.
$ac_ext <<_ACEOF
27489 cat confdefs.h
>>conftest.
$ac_ext
27490 cat >>conftest.
$ac_ext <<_ACEOF
27491 /* end confdefs.h. */
27500 version = xmUseVersion;
27506 rm -f conftest.
$ac_objext
27507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27508 (eval $ac_compile) 2>conftest.er1
27510 grep -v '^ *+' conftest.er1
>conftest.err
27512 cat conftest.err
>&5
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); } &&
27515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27517 (eval $ac_try) 2>&5
27519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520 (exit $ac_status); }; } &&
27521 { ac_try
='test -s conftest.$ac_objext'
27522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27523 (eval $ac_try) 2>&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); }; }; then
27528 echo "$as_me:$LINENO: result: found in default search path" >&5
27529 echo "${ECHO_T}found in default search path" >&6
27530 COMPILED_X_PROGRAM
=1
27533 echo "$as_me: failed program was:" >&5
27534 sed 's/^/| /' conftest.
$ac_ext >&5
27537 echo "$as_me:$LINENO: result: no" >&5
27538 echo "${ECHO_T}no" >&6
27539 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27540 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27541 { (exit 1); exit 1; }; }
27545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27548 if test "$COMPILED_X_PROGRAM" = 0; then
27549 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27550 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27553 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27555 for ac_extension
in a so sl dylib
; do
27556 if test -f "$ac_dir/libXm.$ac_extension"; then
27557 ac_find_libraries
=$ac_dir
27563 if test "$ac_find_libraries" != "" ; then
27564 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27565 echo "${ECHO_T}found at $ac_find_libraries" >&6
27568 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27570 if test $result = 0; then
27573 ac_path_to_link
=" -L$ac_find_libraries"
27576 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27578 save_CFLAGS
=$CFLAGS
27579 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27581 cat >conftest.
$ac_ext <<_ACEOF
27584 cat confdefs.h
>>conftest.
$ac_ext
27585 cat >>conftest.
$ac_ext <<_ACEOF
27586 /* end confdefs.h. */
27595 version = xmUseVersion;
27601 rm -f conftest.
$ac_objext
27602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27603 (eval $ac_compile) 2>conftest.er1
27605 grep -v '^ *+' conftest.er1
>conftest.err
27607 cat conftest.err
>&5
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); } &&
27610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27612 (eval $ac_try) 2>&5
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); }; } &&
27616 { ac_try
='test -s conftest.$ac_objext'
27617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27618 (eval $ac_try) 2>&5
27620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621 (exit $ac_status); }; }; then
27623 echo "$as_me:$LINENO: result: found in default search path" >&5
27624 echo "${ECHO_T}found in default search path" >&6
27625 COMPILED_X_PROGRAM
=1
27628 echo "$as_me: failed program was:" >&5
27629 sed 's/^/| /' conftest.
$ac_ext >&5
27632 echo "$as_me:$LINENO: result: no" >&5
27633 echo "${ECHO_T}no" >&6
27634 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27635 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27636 { (exit 1); exit 1; }; }
27640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27642 CFLAGS
=$save_CFLAGS
27646 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27647 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27651 for libp
in "" " -lXp"; do
27652 if test "$libs_found" = "0"; then
27653 for libsm_ice
in "" " -lSM -lICE"; do
27654 if test "$libs_found" = "0"; then
27656 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27657 save_CFLAGS
=$CFLAGS
27658 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27660 cat >conftest.
$ac_ext <<_ACEOF
27663 cat confdefs.h
>>conftest.
$ac_ext
27664 cat >>conftest.
$ac_ext <<_ACEOF
27665 /* end confdefs.h. */
27668 #include <Xm/List.h>
27674 XmString string = NULL;
27677 XmListAddItem(w, string, position);
27683 rm -f conftest.
$ac_objext conftest
$ac_exeext
27684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27685 (eval $ac_link) 2>conftest.er1
27687 grep -v '^ *+' conftest.er1
>conftest.err
27689 cat conftest.err
>&5
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); } &&
27692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27694 (eval $ac_try) 2>&5
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); }; } &&
27698 { ac_try
='test -s conftest$ac_exeext'
27699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27700 (eval $ac_try) 2>&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; }; then
27706 libsm_ice_link
="$libsm_ice"
27707 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27708 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27712 echo "$as_me: failed program was:" >&5
27713 sed 's/^/| /' conftest.
$ac_ext >&5
27718 rm -f conftest.err conftest.
$ac_objext \
27719 conftest
$ac_exeext conftest.
$ac_ext
27722 CFLAGS
=$save_CFLAGS
27728 if test "$libs_found" = "0"; then
27729 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27730 echo "${ECHO_T}can't find the right libraries" >&6
27731 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27732 echo "$as_me: error: can't link a simple motif program" >&2;}
27733 { (exit 1); exit 1; }; }
27736 save_CFLAGS
=$CFLAGS
27737 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27738 echo "$as_me:$LINENO: checking for Motif 2" >&5
27739 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27740 cat >conftest.
$ac_ext <<_ACEOF
27743 cat confdefs.h
>>conftest.
$ac_ext
27744 cat >>conftest.
$ac_ext <<_ACEOF
27745 /* end confdefs.h. */
27753 #if XmVersion < 2000
27754 #error "Not Motif 2"
27761 rm -f conftest.
$ac_objext
27762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27763 (eval $ac_compile) 2>conftest.er1
27765 grep -v '^ *+' conftest.er1
>conftest.err
27767 cat conftest.err
>&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); } &&
27770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27772 (eval $ac_try) 2>&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); }; } &&
27776 { ac_try
='test -s conftest.$ac_objext'
27777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778 (eval $ac_try) 2>&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); }; }; then
27783 cat >>confdefs.h
<<\_ACEOF
27784 #define __WXMOTIF20__ 1
27787 echo "$as_me:$LINENO: result: found" >&5
27788 echo "${ECHO_T}found" >&6
27791 echo "$as_me: failed program was:" >&5
27792 sed 's/^/| /' conftest.
$ac_ext >&5
27795 cat >>confdefs.h
<<\_ACEOF
27796 #define __WXMOTIF20__ 0
27799 echo "$as_me:$LINENO: result: not found" >&5
27800 echo "${ECHO_T}not found" >&6
27803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27804 CFLAGS
=$save_CFLAGS
27806 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27811 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27812 if test "$wxUSE_LIBXPM" = "sys"; then
27813 echo "$as_me:$LINENO: checking for Xpm library" >&5
27814 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27817 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27819 for ac_extension
in a so sl dylib
; do
27820 if test -f "$ac_dir/libXpm.$ac_extension"; then
27821 ac_find_libraries
=$ac_dir
27827 if test "$ac_find_libraries" != "" ; then
27829 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27831 if test $result = 0; then
27834 ac_path_to_link
=" -L$ac_find_libraries"
27837 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27838 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27839 echo "${ECHO_T}found at $ac_find_libraries" >&6
27841 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27842 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27843 if test "${wx_cv_x11_xpm_h+set}" = set; then
27844 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 save_CFLAGS
=$CFLAGS
27848 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27850 cat >conftest.
$ac_ext <<_ACEOF
27853 cat confdefs.h
>>conftest.
$ac_ext
27854 cat >>conftest.
$ac_ext <<_ACEOF
27855 /* end confdefs.h. */
27857 #include <X11/xpm.h>
27864 version = XpmLibraryVersion();
27870 rm -f conftest.
$ac_objext
27871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27872 (eval $ac_compile) 2>conftest.er1
27874 grep -v '^ *+' conftest.er1
>conftest.err
27876 cat conftest.err
>&5
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); } &&
27879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27881 (eval $ac_try) 2>&5
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); }; } &&
27885 { ac_try
='test -s conftest.$ac_objext'
27886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27887 (eval $ac_try) 2>&5
27889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27890 (exit $ac_status); }; }; then
27891 wx_cv_x11_xpm_h
=yes
27893 echo "$as_me: failed program was:" >&5
27894 sed 's/^/| /' conftest.
$ac_ext >&5
27899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27901 CFLAGS
=$save_CFLAGS
27905 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27906 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27908 if test $wx_cv_x11_xpm_h = "yes"; then
27909 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
27910 cat >>confdefs.h
<<\_ACEOF
27911 #define wxHAVE_LIB_XPM 1
27915 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27916 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27922 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27923 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27924 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27925 echo $ECHO_N "(cached) $ECHO_C" >&6
27927 ac_check_lib_save_LIBS
=$LIBS
27928 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27929 cat >conftest.
$ac_ext <<_ACEOF
27932 cat confdefs.h
>>conftest.
$ac_ext
27933 cat >>conftest.
$ac_ext <<_ACEOF
27934 /* end confdefs.h. */
27936 /* Override any gcc2 internal prototype to avoid an error. */
27940 /* We use char because int might match the return type of a gcc2
27941 builtin and then its argument prototype would still apply. */
27942 char XShapeQueryExtension ();
27946 XShapeQueryExtension ();
27951 rm -f conftest.
$ac_objext conftest
$ac_exeext
27952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27953 (eval $ac_link) 2>conftest.er1
27955 grep -v '^ *+' conftest.er1
>conftest.err
27957 cat conftest.err
>&5
27958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27959 (exit $ac_status); } &&
27960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27962 (eval $ac_try) 2>&5
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); }; } &&
27966 { ac_try
='test -s conftest$ac_exeext'
27967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27968 (eval $ac_try) 2>&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); }; }; then
27972 ac_cv_lib_Xext_XShapeQueryExtension
=yes
27974 echo "$as_me: failed program was:" >&5
27975 sed 's/^/| /' conftest.
$ac_ext >&5
27977 ac_cv_lib_Xext_XShapeQueryExtension
=no
27979 rm -f conftest.err conftest.
$ac_objext \
27980 conftest
$ac_exeext conftest.
$ac_ext
27981 LIBS
=$ac_check_lib_save_LIBS
27983 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27984 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27985 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27987 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
27993 if test "$wxHAVE_XEXT_LIB" = 1; then
27994 save_CFLAGS
="$CFLAGS"
27995 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27997 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27998 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27999 cat >conftest.
$ac_ext <<_ACEOF
28002 cat confdefs.h
>>conftest.
$ac_ext
28003 cat >>conftest.
$ac_ext <<_ACEOF
28004 /* end confdefs.h. */
28006 #include <X11/Xlib.h>
28007 #include <X11/extensions/shape.h>
28013 int dummy1, dummy2;
28014 XShapeQueryExtension((Display*)NULL,
28015 (int*)NULL, (int*)NULL);
28021 rm -f conftest.
$ac_objext
28022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28023 (eval $ac_compile) 2>conftest.er1
28025 grep -v '^ *+' conftest.er1
>conftest.err
28027 cat conftest.err
>&5
28028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28029 (exit $ac_status); } &&
28030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28032 (eval $ac_try) 2>&5
28034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28035 (exit $ac_status); }; } &&
28036 { ac_try
='test -s conftest.$ac_objext'
28037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28038 (eval $ac_try) 2>&5
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); }; }; then
28043 cat >>confdefs.h
<<\_ACEOF
28044 #define HAVE_XSHAPE 1
28047 echo "$as_me:$LINENO: result: found" >&5
28048 echo "${ECHO_T}found" >&6
28051 echo "$as_me: failed program was:" >&5
28052 sed 's/^/| /' conftest.
$ac_ext >&5
28055 echo "$as_me:$LINENO: result: not found" >&5
28056 echo "${ECHO_T}not found" >&6
28059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28060 CFLAGS
="$save_CFLAGS"
28065 if test "$wxUSE_MAC" = 1; then
28066 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28067 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28068 if test "$GCC" = yes; then
28069 echo "$as_me:$LINENO: result: gcc" >&5
28070 echo "${ECHO_T}gcc" >&6
28071 CPPFLAGS_PASCAL
="-fpascal-strings"
28072 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28073 echo "$as_me:$LINENO: result: xlc" >&5
28074 echo "${ECHO_T}xlc" >&6
28075 CPPFLAGS_PASCAL
="-qmacpstr"
28077 echo "$as_me:$LINENO: result: none" >&5
28078 echo "${ECHO_T}none" >&6
28081 if test "x$wxUSE_UNIX" = "xyes"; then
28082 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28084 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28089 WXBASEPORT
="_carbon"
28092 if test "$wxUSE_COCOA" = 1; then
28097 if test "$wxUSE_PM" = 1; then
28100 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28101 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28102 if test "${wx_cv_spbcdata+set}" = set; then
28103 echo $ECHO_N "(cached) $ECHO_C" >&6
28106 cat >conftest.
$ac_ext <<_ACEOF
28109 cat confdefs.h
>>conftest.
$ac_ext
28110 cat >>conftest.
$ac_ext <<_ACEOF
28111 /* end confdefs.h. */
28126 rm -f conftest.
$ac_objext
28127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28128 (eval $ac_compile) 2>conftest.er1
28130 grep -v '^ *+' conftest.er1
>conftest.err
28132 cat conftest.err
>&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); } &&
28135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28137 (eval $ac_try) 2>&5
28139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28140 (exit $ac_status); }; } &&
28141 { ac_try
='test -s conftest.$ac_objext'
28142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28143 (eval $ac_try) 2>&5
28145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28146 (exit $ac_status); }; }; then
28149 echo "$as_me: failed program was:" >&5
28150 sed 's/^/| /' conftest.
$ac_ext >&5
28155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28159 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28160 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28162 if test $wx_cv_spbcdata = "yes"; then
28163 cat >>confdefs.h
<<\_ACEOF
28164 #define HAVE_SPBCDATA 1
28170 if test "$TOOLKIT" = "PM" ; then
28173 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28176 if test "$wxUSE_UNIVERSAL" = "yes"; then
28177 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28181 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28182 DISTDIR
="wx\$(TOOLKIT)"
28188 if test "$USE_WIN32" = 1 ; then
28192 GUIDIST
="BASE_DIST"
28202 if test "$TOOLKIT" != "MSW" ; then
28204 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28206 if test "${ac_cv_header_sql_h+set}" = set; then
28207 echo "$as_me:$LINENO: checking for sql.h" >&5
28208 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28209 if test "${ac_cv_header_sql_h+set}" = set; then
28210 echo $ECHO_N "(cached) $ECHO_C" >&6
28212 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28213 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28215 # Is the header compilable?
28216 echo "$as_me:$LINENO: checking sql.h usability" >&5
28217 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28218 cat >conftest.
$ac_ext <<_ACEOF
28221 cat confdefs.h
>>conftest.
$ac_ext
28222 cat >>conftest.
$ac_ext <<_ACEOF
28223 /* end confdefs.h. */
28224 $ac_includes_default
28227 rm -f conftest.
$ac_objext
28228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28229 (eval $ac_compile) 2>conftest.er1
28231 grep -v '^ *+' conftest.er1
>conftest.err
28233 cat conftest.err
>&5
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); } &&
28236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; } &&
28242 { ac_try
='test -s conftest.$ac_objext'
28243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28244 (eval $ac_try) 2>&5
28246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28247 (exit $ac_status); }; }; then
28248 ac_header_compiler
=yes
28250 echo "$as_me: failed program was:" >&5
28251 sed 's/^/| /' conftest.
$ac_ext >&5
28253 ac_header_compiler
=no
28255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28257 echo "${ECHO_T}$ac_header_compiler" >&6
28259 # Is the header present?
28260 echo "$as_me:$LINENO: checking sql.h presence" >&5
28261 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28262 cat >conftest.
$ac_ext <<_ACEOF
28265 cat confdefs.h
>>conftest.
$ac_ext
28266 cat >>conftest.
$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28273 grep -v '^ *+' conftest.er1
>conftest.err
28275 cat conftest.err
>&5
28276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28277 (exit $ac_status); } >/dev
/null
; then
28278 if test -s conftest.err
; then
28279 ac_cpp_err
=$ac_c_preproc_warn_flag
28280 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28287 if test -z "$ac_cpp_err"; then
28288 ac_header_preproc
=yes
28290 echo "$as_me: failed program was:" >&5
28291 sed 's/^/| /' conftest.
$ac_ext >&5
28293 ac_header_preproc
=no
28295 rm -f conftest.err conftest.
$ac_ext
28296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28297 echo "${ECHO_T}$ac_header_preproc" >&6
28299 # So? What about this header?
28300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28302 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28303 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28304 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28305 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28306 ac_header_preproc
=yes
28309 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28310 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28311 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28312 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28313 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28314 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28315 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28316 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28317 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28318 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28319 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28320 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28323 ## ----------------------------------------- ##
28324 ## Report this to wx-dev@lists.wxwidgets.org ##
28325 ## ----------------------------------------- ##
28328 sed "s/^/$as_me: WARNING: /" >&2
28331 echo "$as_me:$LINENO: checking for sql.h" >&5
28332 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28333 if test "${ac_cv_header_sql_h+set}" = set; then
28334 echo $ECHO_N "(cached) $ECHO_C" >&6
28336 ac_cv_header_sql_h
=$ac_header_preproc
28338 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28339 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28342 if test $ac_cv_header_sql_h = yes; then
28347 if test "x$found_sql_h" = "x1" ; then
28348 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28349 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28350 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28351 echo $ECHO_N "(cached) $ECHO_C" >&6
28353 ac_check_lib_save_LIBS
=$LIBS
28354 LIBS
="-liodbc $LIBS"
28355 cat >conftest.
$ac_ext <<_ACEOF
28358 cat confdefs.h
>>conftest.
$ac_ext
28359 cat >>conftest.
$ac_ext <<_ACEOF
28360 /* end confdefs.h. */
28362 /* Override any gcc2 internal prototype to avoid an error. */
28366 /* We use char because int might match the return type of a gcc2
28367 builtin and then its argument prototype would still apply. */
28368 char SQLAllocEnv ();
28377 rm -f conftest.
$ac_objext conftest
$ac_exeext
28378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28379 (eval $ac_link) 2>conftest.er1
28381 grep -v '^ *+' conftest.er1
>conftest.err
28383 cat conftest.err
>&5
28384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28385 (exit $ac_status); } &&
28386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28388 (eval $ac_try) 2>&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); }; } &&
28392 { ac_try
='test -s conftest$ac_exeext'
28393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28394 (eval $ac_try) 2>&5
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); }; }; then
28398 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28400 echo "$as_me: failed program was:" >&5
28401 sed 's/^/| /' conftest.
$ac_ext >&5
28403 ac_cv_lib_iodbc_SQLAllocEnv
=no
28405 rm -f conftest.err conftest.
$ac_objext \
28406 conftest
$ac_exeext conftest.
$ac_ext
28407 LIBS
=$ac_check_lib_save_LIBS
28409 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28410 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28411 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28412 ODBC_LINK
=" -liodbc"
28415 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28416 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28417 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28418 echo $ECHO_N "(cached) $ECHO_C" >&6
28420 ac_check_lib_save_LIBS
=$LIBS
28421 LIBS
="-lunixodbc $LIBS"
28422 cat >conftest.
$ac_ext <<_ACEOF
28425 cat confdefs.h
>>conftest.
$ac_ext
28426 cat >>conftest.
$ac_ext <<_ACEOF
28427 /* end confdefs.h. */
28429 /* Override any gcc2 internal prototype to avoid an error. */
28433 /* We use char because int might match the return type of a gcc2
28434 builtin and then its argument prototype would still apply. */
28435 char SQLAllocEnv ();
28444 rm -f conftest.
$ac_objext conftest
$ac_exeext
28445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28446 (eval $ac_link) 2>conftest.er1
28448 grep -v '^ *+' conftest.er1
>conftest.err
28450 cat conftest.err
>&5
28451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28452 (exit $ac_status); } &&
28453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28455 (eval $ac_try) 2>&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); }; } &&
28459 { ac_try
='test -s conftest$ac_exeext'
28460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28461 (eval $ac_try) 2>&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); }; }; then
28465 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
28467 echo "$as_me: failed program was:" >&5
28468 sed 's/^/| /' conftest.
$ac_ext >&5
28470 ac_cv_lib_unixodbc_SQLAllocEnv
=no
28472 rm -f conftest.err conftest.
$ac_objext \
28473 conftest
$ac_exeext conftest.
$ac_ext
28474 LIBS
=$ac_check_lib_save_LIBS
28476 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28477 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28478 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28479 ODBC_LINK
=" -lunixodbc"
28482 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28483 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28484 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28485 echo $ECHO_N "(cached) $ECHO_C" >&6
28487 ac_check_lib_save_LIBS
=$LIBS
28488 LIBS
="-lodbc $LIBS"
28489 cat >conftest.
$ac_ext <<_ACEOF
28492 cat confdefs.h
>>conftest.
$ac_ext
28493 cat >>conftest.
$ac_ext <<_ACEOF
28494 /* end confdefs.h. */
28496 /* Override any gcc2 internal prototype to avoid an error. */
28500 /* We use char because int might match the return type of a gcc2
28501 builtin and then its argument prototype would still apply. */
28502 char SQLAllocEnv ();
28511 rm -f conftest.
$ac_objext conftest
$ac_exeext
28512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28513 (eval $ac_link) 2>conftest.er1
28515 grep -v '^ *+' conftest.er1
>conftest.err
28517 cat conftest.err
>&5
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); } &&
28520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28522 (eval $ac_try) 2>&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); }; } &&
28526 { ac_try
='test -s conftest$ac_exeext'
28527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28528 (eval $ac_try) 2>&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); }; }; then
28532 ac_cv_lib_odbc_SQLAllocEnv
=yes
28534 echo "$as_me: failed program was:" >&5
28535 sed 's/^/| /' conftest.
$ac_ext >&5
28537 ac_cv_lib_odbc_SQLAllocEnv
=no
28539 rm -f conftest.err conftest.
$ac_objext \
28540 conftest
$ac_exeext conftest.
$ac_ext
28541 LIBS
=$ac_check_lib_save_LIBS
28543 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28544 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28545 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28546 ODBC_LINK
=" -lodbc"
28556 if test "x$ODBC_LINK" = "x" ; then
28557 if test "$wxUSE_ODBC" = "sys" ; then
28558 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28559 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28560 { (exit 1); exit 1; }; }
28562 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28563 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28571 if test "$wxUSE_ODBC" = "builtin" ; then
28572 cat >>confdefs.h
<<\_ACEOF
28573 #define wxUSE_BUILTIN_IODBC 1
28579 if test "$wxUSE_ODBC" != "no" ; then
28580 cat >>confdefs.h
<<\_ACEOF
28581 #define wxUSE_ODBC 1
28584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28586 WXODBCFLAG
="-D_IODBC_"
28590 if test "$wxUSE_DISPLAY" = "yes"; then
28591 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28592 echo "$as_me:$LINENO: checking for Xinerama" >&5
28593 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28596 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28598 for ac_extension
in a so sl dylib
; do
28599 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28600 ac_find_libraries
=$ac_dir
28606 if test "$ac_find_libraries" != "" ; then
28608 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28610 if test $result = 0; then
28613 ac_path_to_link
=" -L$ac_find_libraries"
28616 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28617 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28619 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28620 echo "$as_me:$LINENO: result: yes" >&5
28621 echo "${ECHO_T}yes" >&6
28623 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28624 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28627 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28629 for ac_extension
in a so sl dylib
; do
28630 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28631 ac_find_libraries
=$ac_dir
28637 if test "$ac_find_libraries" != "" ; then
28638 echo "$as_me:$LINENO: result: yes" >&5
28639 echo "${ECHO_T}yes" >&6
28641 for ac_header
in X
11/extensions
/xf86vmode.h
28643 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28644 echo "$as_me:$LINENO: checking for $ac_header" >&5
28645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28647 echo $ECHO_N "(cached) $ECHO_C" >&6
28649 cat >conftest.
$ac_ext <<_ACEOF
28652 cat confdefs.h
>>conftest.
$ac_ext
28653 cat >>conftest.
$ac_ext <<_ACEOF
28654 /* end confdefs.h. */
28656 #if HAVE_X11_XLIB_H
28657 #include <X11/Xlib.h>
28661 #include <$ac_header>
28663 rm -f conftest.
$ac_objext
28664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28665 (eval $ac_compile) 2>conftest.er1
28667 grep -v '^ *+' conftest.er1
>conftest.err
28669 cat conftest.err
>&5
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); } &&
28672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28674 (eval $ac_try) 2>&5
28676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28677 (exit $ac_status); }; } &&
28678 { ac_try
='test -s conftest.$ac_objext'
28679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28680 (eval $ac_try) 2>&5
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; }; then
28684 eval "$as_ac_Header=yes"
28686 echo "$as_me: failed program was:" >&5
28687 sed 's/^/| /' conftest.
$ac_ext >&5
28689 eval "$as_ac_Header=no"
28691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28696 cat >>confdefs.h
<<_ACEOF
28697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28700 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28707 echo "$as_me:$LINENO: result: no" >&5
28708 echo "${ECHO_T}no" >&6
28712 echo "$as_me:$LINENO: result: no" >&5
28713 echo "${ECHO_T}no" >&6
28714 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28715 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28718 elif test "$wxUSE_MSW" = 1; then
28721 for ac_header
in multimon.h ddraw.h
28723 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28724 echo "$as_me:$LINENO: checking for $ac_header" >&5
28725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28727 echo $ECHO_N "(cached) $ECHO_C" >&6
28729 cat >conftest.
$ac_ext <<_ACEOF
28732 cat confdefs.h
>>conftest.
$ac_ext
28733 cat >>conftest.
$ac_ext <<_ACEOF
28734 /* end confdefs.h. */
28735 #include <windows.h>
28737 #include <$ac_header>
28739 rm -f conftest.
$ac_objext
28740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28741 (eval $ac_compile) 2>conftest.er1
28743 grep -v '^ *+' conftest.er1
>conftest.err
28745 cat conftest.err
>&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); } &&
28748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28750 (eval $ac_try) 2>&5
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); }; } &&
28754 { ac_try
='test -s conftest.$ac_objext'
28755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28756 (eval $ac_try) 2>&5
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; }; then
28760 eval "$as_ac_Header=yes"
28762 echo "$as_me: failed program was:" >&5
28763 sed 's/^/| /' conftest.
$ac_ext >&5
28765 eval "$as_ac_Header=no"
28767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28772 cat >>confdefs.h
<<_ACEOF
28773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28779 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28780 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28791 if test "$wxUSE_OPENGL" = "yes"; then
28792 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28793 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28794 elif test "$wxUSE_MSW" = 1; then
28795 OPENGL_LIBS
="-lopengl32 -lglu32"
28800 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28802 if test -f "$ac_dir/GL/gl.h"; then
28803 ac_find_includes
=$ac_dir
28808 if test "$ac_find_includes" != "" ; then
28809 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28810 echo "${ECHO_T}found in $ac_find_includes" >&6
28812 if test "x$ac_find_includes" = "x/usr/include"; then
28813 ac_path_to_include
=""
28815 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28817 if test $result = 0; then
28818 ac_path_to_include
=""
28820 ac_path_to_include
=" -I$ac_find_includes"
28824 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
28827 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28828 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28829 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28830 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28831 echo $ECHO_N "(cached) $ECHO_C" >&6
28833 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28834 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28836 # Is the header compilable?
28837 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28838 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28839 cat >conftest.
$ac_ext <<_ACEOF
28842 cat confdefs.h
>>conftest.
$ac_ext
28843 cat >>conftest.
$ac_ext <<_ACEOF
28844 /* end confdefs.h. */
28845 $ac_includes_default
28848 rm -f conftest.
$ac_objext
28849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28850 (eval $ac_compile) 2>conftest.er1
28852 grep -v '^ *+' conftest.er1
>conftest.err
28854 cat conftest.err
>&5
28855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856 (exit $ac_status); } &&
28857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28859 (eval $ac_try) 2>&5
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); }; } &&
28863 { ac_try
='test -s conftest.$ac_objext'
28864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28865 (eval $ac_try) 2>&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); }; }; then
28869 ac_header_compiler
=yes
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.
$ac_ext >&5
28874 ac_header_compiler
=no
28876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28877 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28878 echo "${ECHO_T}$ac_header_compiler" >&6
28880 # Is the header present?
28881 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28882 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28883 cat >conftest.
$ac_ext <<_ACEOF
28886 cat confdefs.h
>>conftest.
$ac_ext
28887 cat >>conftest.
$ac_ext <<_ACEOF
28888 /* end confdefs.h. */
28891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28892 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28894 grep -v '^ *+' conftest.er1
>conftest.err
28896 cat conftest.err
>&5
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); } >/dev
/null
; then
28899 if test -s conftest.err
; then
28900 ac_cpp_err
=$ac_c_preproc_warn_flag
28901 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28908 if test -z "$ac_cpp_err"; then
28909 ac_header_preproc
=yes
28911 echo "$as_me: failed program was:" >&5
28912 sed 's/^/| /' conftest.
$ac_ext >&5
28914 ac_header_preproc
=no
28916 rm -f conftest.err conftest.
$ac_ext
28917 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28918 echo "${ECHO_T}$ac_header_preproc" >&6
28920 # So? What about this header?
28921 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28923 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28924 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28925 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28926 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28927 ac_header_preproc
=yes
28930 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28931 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28932 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28933 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28934 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28935 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28936 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28937 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28938 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28939 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28940 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28941 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28944 ## ----------------------------------------- ##
28945 ## Report this to wx-dev@lists.wxwidgets.org ##
28946 ## ----------------------------------------- ##
28949 sed "s/^/$as_me: WARNING: /" >&2
28952 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28953 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28954 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28955 echo $ECHO_N "(cached) $ECHO_C" >&6
28957 ac_cv_header_GL_gl_h
=$ac_header_preproc
28959 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28960 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28963 if test $ac_cv_header_GL_gl_h = yes; then
28967 echo "$as_me:$LINENO: checking for -lGL" >&5
28968 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28971 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28973 for ac_extension
in a so sl dylib
; do
28974 if test -f "$ac_dir/libGL.$ac_extension"; then
28975 ac_find_libraries
=$ac_dir
28981 if test "$ac_find_libraries" != "" ; then
28982 echo "$as_me:$LINENO: result: yes" >&5
28983 echo "${ECHO_T}yes" >&6
28986 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28988 if test $result = 0; then
28991 ac_path_to_link
=" -L$ac_find_libraries"
28994 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28995 LDFLAGS_GL
="$ac_path_to_link"
28998 echo "$as_me:$LINENO: checking for -lGLU" >&5
28999 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29002 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29004 for ac_extension
in a so sl dylib
; do
29005 if test -f "$ac_dir/libGLU.$ac_extension"; then
29006 ac_find_libraries
=$ac_dir
29012 if test "$ac_find_libraries" != "" ; then
29014 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29016 if test $result = 0; then
29019 ac_path_to_link
=" -L$ac_find_libraries"
29022 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29023 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29024 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29028 OPENGL_LIBS
="-lGL -lGLU"
29029 echo "$as_me:$LINENO: result: yes" >&5
29030 echo "${ECHO_T}yes" >&6
29032 echo "$as_me:$LINENO: result: no" >&5
29033 echo "${ECHO_T}no" >&6
29036 echo "$as_me:$LINENO: result: no" >&5
29037 echo "${ECHO_T}no" >&6
29040 if test "$found_gl" != 1; then
29041 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29042 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29045 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29047 for ac_extension
in a so sl dylib
; do
29048 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29049 ac_find_libraries
=$ac_dir
29055 if test "$ac_find_libraries" != "" ; then
29057 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29059 if test $result = 0; then
29062 ac_path_to_link
=" -L$ac_find_libraries"
29065 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29066 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29067 echo "$as_me:$LINENO: result: yes" >&5
29068 echo "${ECHO_T}yes" >&6
29070 echo "$as_me:$LINENO: result: no" >&5
29071 echo "${ECHO_T}no" >&6
29079 if test "x$OPENGL_LIBS" = "x"; then
29080 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29081 echo "$as_me: error: OpenGL libraries not available" >&2;}
29082 { (exit 1); exit 1; }; }
29086 if test "$wxUSE_OPENGL" = "yes"; then
29088 cat >>confdefs.h
<<\_ACEOF
29089 #define wxUSE_OPENGL 1
29092 cat >>confdefs.h
<<\_ACEOF
29093 #define wxUSE_GLCANVAS 1
29096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29101 if test -n "$TOOLKIT" ; then
29102 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29107 if test "$wxUSE_SHARED" = "yes"; then
29111 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29112 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29117 if test "$wxUSE_SHARED" = "yes"; then
29120 found_versioning
=no
29123 if test $found_versioning = no
; then
29124 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29125 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29126 if test "${wx_cv_version_script+set}" = set; then
29127 echo $ECHO_N "(cached) $ECHO_C" >&6
29130 echo "VER_1 { *; };" >conftest.sym
29131 echo "int main() { return 0; }" >conftest.cpp
29134 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29135 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29137 (eval $ac_try) 2>&5
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); }; } ; then
29141 if test -s conftest.stderr
; then
29142 wx_cv_version_script
=no
29144 wx_cv_version_script
=yes
29147 wx_cv_version_script
=no
29149 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29152 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29153 echo "${ECHO_T}$wx_cv_version_script" >&6
29154 if test $wx_cv_version_script = yes ; then
29155 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29161 *-*-linux* | *-*-gnu* )
29162 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29163 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29167 if test "$GCC" = yes ; then
29168 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29170 saveLdflags
="$LDFLAGS"
29171 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29172 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29173 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29174 cat >conftest.
$ac_ext <<_ACEOF
29177 cat confdefs.h
>>conftest.
$ac_ext
29178 cat >>conftest.
$ac_ext <<_ACEOF
29179 /* end confdefs.h. */
29189 rm -f conftest.
$ac_objext conftest
$ac_exeext
29190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29191 (eval $ac_link) 2>conftest.er1
29193 grep -v '^ *+' conftest.er1
>conftest.err
29195 cat conftest.err
>&5
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); } &&
29198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29200 (eval $ac_try) 2>&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; } &&
29204 { ac_try
='test -s conftest$ac_exeext'
29205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29206 (eval $ac_try) 2>&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); }; }; then
29211 echo "$as_me:$LINENO: result: yes" >&5
29212 echo "${ECHO_T}yes" >&6
29213 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29214 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29217 echo "$as_me: failed program was:" >&5
29218 sed 's/^/| /' conftest.
$ac_ext >&5
29221 echo "$as_me:$LINENO: result: no" >&5
29222 echo "${ECHO_T}no" >&6
29223 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29224 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29225 LDFLAGS
="$saveLdflags -Wl,-R,/"
29226 cat >conftest.
$ac_ext <<_ACEOF
29229 cat confdefs.h
>>conftest.
$ac_ext
29230 cat >>conftest.
$ac_ext <<_ACEOF
29231 /* end confdefs.h. */
29241 rm -f conftest.
$ac_objext conftest
$ac_exeext
29242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29243 (eval $ac_link) 2>conftest.er1
29245 grep -v '^ *+' conftest.er1
>conftest.err
29247 cat conftest.err
>&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); } &&
29250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29252 (eval $ac_try) 2>&5
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); }; } &&
29256 { ac_try
='test -s conftest$ac_exeext'
29257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29258 (eval $ac_try) 2>&5
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); }; }; then
29263 echo "$as_me:$LINENO: result: yes" >&5
29264 echo "${ECHO_T}yes" >&6
29265 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29266 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29269 echo "$as_me: failed program was:" >&5
29270 sed 's/^/| /' conftest.
$ac_ext >&5
29273 echo "$as_me:$LINENO: result: no" >&5
29274 echo "${ECHO_T}no" >&6
29277 rm -f conftest.err conftest.
$ac_objext \
29278 conftest
$ac_exeext conftest.
$ac_ext
29281 rm -f conftest.err conftest.
$ac_objext \
29282 conftest
$ac_exeext conftest.
$ac_ext
29283 LDFLAGS
="$saveLdflags"
29285 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29286 WXCONFIG_RPATH
="-R\$libdir"
29290 powerpc
-*-darwin* )
29291 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29292 cat <<EOF >change-install-names
29294 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29295 inst_cmd="install_name_tool "
29296 for i in \${libnames} ; do
29297 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29301 chmod +x change
-install-names
29304 *-*-cygwin* | *-*-mingw32* )
29305 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29309 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29310 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29315 if test $wxUSE_RPATH = "no"; then
29316 SAMPLES_RPATH_FLAG
=''
29317 SAMPLES_RPATH_POSTLINK
=''
29325 config_linkage_component
="-static"
29332 lib_unicode_suffix
=
29334 if test "$wxUSE_UNICODE" = "yes"; then
29335 lib_unicode_suffix
=u
29336 WX_CHARTYPE
="unicode"
29341 WX_DEBUGTYPE
="release"
29343 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29345 WX_DEBUGTYPE
="debug"
29349 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29350 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29353 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29357 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29359 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29361 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29363 if test "$cross_compiling" = "yes"; then
29364 HOST_SUFFIX
="-$host_alias"
29365 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29366 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29369 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29370 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29374 if test "$wxUSE_COCOA" = 1; then
29378 ac_cpp
='$CPP $CPPFLAGS'
29379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29385 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29386 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29387 cat >conftest.
$ac_ext <<_ACEOF
29390 cat confdefs.h
>>conftest.
$ac_ext
29391 cat >>conftest.
$ac_ext <<_ACEOF
29392 /* end confdefs.h. */
29393 #include <AppKit/NSEvent.h>
29394 #include <CoreFoundation/CoreFoundation.h>
29404 rm -f conftest.
$ac_objext
29405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29406 (eval $ac_compile) 2>conftest.er1
29408 grep -v '^ *+' conftest.er1
>conftest.err
29410 cat conftest.err
>&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); } &&
29413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29415 (eval $ac_try) 2>&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); }; } &&
29419 { ac_try
='test -s conftest.$ac_objext'
29420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29421 (eval $ac_try) 2>&5
29423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29424 (exit $ac_status); }; }; then
29425 echo "$as_me:$LINENO: result: no" >&5
29426 echo "${ECHO_T}no" >&6
29428 echo "$as_me: failed program was:" >&5
29429 sed 's/^/| /' conftest.
$ac_ext >&5
29431 echo "$as_me:$LINENO: result: yes" >&5
29432 echo "${ECHO_T}yes" >&6
29433 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29434 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29435 cat >conftest.
$ac_ext <<_ACEOF
29438 cat confdefs.h
>>conftest.
$ac_ext
29439 cat >>conftest.
$ac_ext <<_ACEOF
29440 /* end confdefs.h. */
29441 #define __Point__ 1
29442 #include <AppKit/NSEvent.h>
29443 #include <CoreFoundation/CoreFoundation.h>
29453 rm -f conftest.
$ac_objext
29454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29455 (eval $ac_compile) 2>conftest.er1
29457 grep -v '^ *+' conftest.er1
>conftest.err
29459 cat conftest.err
>&5
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); } &&
29462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29464 (eval $ac_try) 2>&5
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); }; } &&
29468 { ac_try
='test -s conftest.$ac_objext'
29469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29470 (eval $ac_try) 2>&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); }; }; then
29474 echo "$as_me:$LINENO: result: yes" >&5
29475 echo "${ECHO_T}yes" >&6
29476 cat >>confdefs.h
<<\_ACEOF
29477 #define __Point__ 1
29482 echo "$as_me: failed program was:" >&5
29483 sed 's/^/| /' conftest.
$ac_ext >&5
29485 { { echo "$as_me:$LINENO: error: no
29486 See \`config.log' for more details." >&5
29487 echo "$as_me: error: no
29488 See \`config.log' for more details." >&2;}
29489 { (exit 1); exit 1; }; }
29492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29497 ac_cpp
='$CPP $CPPFLAGS'
29498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29504 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29505 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29506 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29508 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29510 # Extract the first word of "Rez", so it can be a program name with args.
29511 set dummy Rez
; ac_word
=$2
29512 echo "$as_me:$LINENO: checking for $ac_word" >&5
29513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29514 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29515 echo $ECHO_N "(cached) $ECHO_C" >&6
29517 if test -n "$RESCOMP"; then
29518 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
29520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29521 for as_dir
in $PATH
29524 test -z "$as_dir" && as_dir
=.
29525 for ac_exec_ext
in '' $ac_executable_extensions; do
29526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29527 ac_cv_prog_RESCOMP
="Rez"
29528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29534 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29537 RESCOMP
=$ac_cv_prog_RESCOMP
29538 if test -n "$RESCOMP"; then
29539 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29540 echo "${ECHO_T}$RESCOMP" >&6
29542 echo "$as_me:$LINENO: result: no" >&5
29543 echo "${ECHO_T}no" >&6
29546 # Extract the first word of "DeRez", so it can be a program name with args.
29547 set dummy DeRez
; ac_word
=$2
29548 echo "$as_me:$LINENO: checking for $ac_word" >&5
29549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29550 if test "${ac_cv_prog_DEREZ+set}" = set; then
29551 echo $ECHO_N "(cached) $ECHO_C" >&6
29553 if test -n "$DEREZ"; then
29554 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29557 for as_dir
in $PATH
29560 test -z "$as_dir" && as_dir
=.
29561 for ac_exec_ext
in '' $ac_executable_extensions; do
29562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29563 ac_cv_prog_DEREZ
="DeRez"
29564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29570 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29573 DEREZ
=$ac_cv_prog_DEREZ
29574 if test -n "$DEREZ"; then
29575 echo "$as_me:$LINENO: result: $DEREZ" >&5
29576 echo "${ECHO_T}$DEREZ" >&6
29578 echo "$as_me:$LINENO: result: no" >&5
29579 echo "${ECHO_T}no" >&6
29582 # Extract the first word of "SetFile", so it can be a program name with args.
29583 set dummy SetFile
; ac_word
=$2
29584 echo "$as_me:$LINENO: checking for $ac_word" >&5
29585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29586 if test "${ac_cv_prog_SETFILE+set}" = set; then
29587 echo $ECHO_N "(cached) $ECHO_C" >&6
29589 if test -n "$SETFILE"; then
29590 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29593 for as_dir
in $PATH
29596 test -z "$as_dir" && as_dir
=.
29597 for ac_exec_ext
in '' $ac_executable_extensions; do
29598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29599 ac_cv_prog_SETFILE
="SetFile"
29600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29606 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29609 SETFILE
=$ac_cv_prog_SETFILE
29610 if test -n "$SETFILE"; then
29611 echo "$as_me:$LINENO: result: $SETFILE" >&5
29612 echo "${ECHO_T}$SETFILE" >&6
29614 echo "$as_me:$LINENO: result: no" >&5
29615 echo "${ECHO_T}no" >&6
29619 MACSETFILE
="\$(SETFILE)"
29621 if test "$wxUSE_MAC" = 1; then
29622 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29624 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29626 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29627 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29631 MACRESWXCONFIG
="@true"
29633 if test "$wxUSE_PM" = 1; then
29634 MACRESCOMP
="emxbind -ep"
29642 echo "$as_me:$LINENO: checking for mode_t" >&5
29643 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29644 if test "${ac_cv_type_mode_t+set}" = set; then
29645 echo $ECHO_N "(cached) $ECHO_C" >&6
29647 cat >conftest.
$ac_ext <<_ACEOF
29650 cat confdefs.h
>>conftest.
$ac_ext
29651 cat >>conftest.
$ac_ext <<_ACEOF
29652 /* end confdefs.h. */
29653 $ac_includes_default
29659 if (sizeof (mode_t))
29665 rm -f conftest.
$ac_objext
29666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29667 (eval $ac_compile) 2>conftest.er1
29669 grep -v '^ *+' conftest.er1
>conftest.err
29671 cat conftest.err
>&5
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); } &&
29674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29676 (eval $ac_try) 2>&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); }; } &&
29680 { ac_try
='test -s conftest.$ac_objext'
29681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682 (eval $ac_try) 2>&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); }; }; then
29686 ac_cv_type_mode_t
=yes
29688 echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.
$ac_ext >&5
29691 ac_cv_type_mode_t
=no
29693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29695 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29696 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29697 if test $ac_cv_type_mode_t = yes; then
29701 cat >>confdefs.h
<<_ACEOF
29707 echo "$as_me:$LINENO: checking for off_t" >&5
29708 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29709 if test "${ac_cv_type_off_t+set}" = set; then
29710 echo $ECHO_N "(cached) $ECHO_C" >&6
29712 cat >conftest.
$ac_ext <<_ACEOF
29715 cat confdefs.h
>>conftest.
$ac_ext
29716 cat >>conftest.
$ac_ext <<_ACEOF
29717 /* end confdefs.h. */
29718 $ac_includes_default
29724 if (sizeof (off_t))
29730 rm -f conftest.
$ac_objext
29731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29732 (eval $ac_compile) 2>conftest.er1
29734 grep -v '^ *+' conftest.er1
>conftest.err
29736 cat conftest.err
>&5
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); } &&
29739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29741 (eval $ac_try) 2>&5
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); }; } &&
29745 { ac_try
='test -s conftest.$ac_objext'
29746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29747 (eval $ac_try) 2>&5
29749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29750 (exit $ac_status); }; }; then
29751 ac_cv_type_off_t
=yes
29753 echo "$as_me: failed program was:" >&5
29754 sed 's/^/| /' conftest.
$ac_ext >&5
29756 ac_cv_type_off_t
=no
29758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29760 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29761 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29762 if test $ac_cv_type_off_t = yes; then
29766 cat >>confdefs.h
<<_ACEOF
29772 echo "$as_me:$LINENO: checking for pid_t" >&5
29773 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29774 if test "${ac_cv_type_pid_t+set}" = set; then
29775 echo $ECHO_N "(cached) $ECHO_C" >&6
29777 cat >conftest.
$ac_ext <<_ACEOF
29780 cat confdefs.h
>>conftest.
$ac_ext
29781 cat >>conftest.
$ac_ext <<_ACEOF
29782 /* end confdefs.h. */
29783 $ac_includes_default
29789 if (sizeof (pid_t))
29795 rm -f conftest.
$ac_objext
29796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29797 (eval $ac_compile) 2>conftest.er1
29799 grep -v '^ *+' conftest.er1
>conftest.err
29801 cat conftest.err
>&5
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); } &&
29804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29806 (eval $ac_try) 2>&5
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); }; } &&
29810 { ac_try
='test -s conftest.$ac_objext'
29811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29812 (eval $ac_try) 2>&5
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; }; then
29816 ac_cv_type_pid_t
=yes
29818 echo "$as_me: failed program was:" >&5
29819 sed 's/^/| /' conftest.
$ac_ext >&5
29821 ac_cv_type_pid_t
=no
29823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29825 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29826 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29827 if test $ac_cv_type_pid_t = yes; then
29831 cat >>confdefs.h
<<_ACEOF
29837 echo "$as_me:$LINENO: checking for size_t" >&5
29838 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29839 if test "${ac_cv_type_size_t+set}" = set; then
29840 echo $ECHO_N "(cached) $ECHO_C" >&6
29842 cat >conftest.
$ac_ext <<_ACEOF
29845 cat confdefs.h
>>conftest.
$ac_ext
29846 cat >>conftest.
$ac_ext <<_ACEOF
29847 /* end confdefs.h. */
29848 $ac_includes_default
29854 if (sizeof (size_t))
29860 rm -f conftest.
$ac_objext
29861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29862 (eval $ac_compile) 2>conftest.er1
29864 grep -v '^ *+' conftest.er1
>conftest.err
29866 cat conftest.err
>&5
29867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29868 (exit $ac_status); } &&
29869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29871 (eval $ac_try) 2>&5
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); }; } &&
29875 { ac_try
='test -s conftest.$ac_objext'
29876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29877 (eval $ac_try) 2>&5
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); }; }; then
29881 ac_cv_type_size_t
=yes
29883 echo "$as_me: failed program was:" >&5
29884 sed 's/^/| /' conftest.
$ac_ext >&5
29886 ac_cv_type_size_t
=no
29888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29890 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29891 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29892 if test $ac_cv_type_size_t = yes; then
29896 cat >>confdefs.h
<<_ACEOF
29897 #define size_t unsigned
29902 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29903 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29904 if test "${ac_cv_type_uid_t+set}" = set; then
29905 echo $ECHO_N "(cached) $ECHO_C" >&6
29907 cat >conftest.
$ac_ext <<_ACEOF
29910 cat confdefs.h
>>conftest.
$ac_ext
29911 cat >>conftest.
$ac_ext <<_ACEOF
29912 /* end confdefs.h. */
29913 #include <sys/types.h>
29916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29917 $EGREP "uid_t" >/dev
/null
2>&1; then
29918 ac_cv_type_uid_t
=yes
29920 ac_cv_type_uid_t
=no
29925 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29926 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29927 if test $ac_cv_type_uid_t = no
; then
29929 cat >>confdefs.h
<<\_ACEOF
29934 cat >>confdefs.h
<<\_ACEOF
29941 echo "$as_me:$LINENO: checking for ssize_t" >&5
29942 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29943 if test "${ac_cv_type_ssize_t+set}" = set; then
29944 echo $ECHO_N "(cached) $ECHO_C" >&6
29946 cat >conftest.
$ac_ext <<_ACEOF
29949 cat confdefs.h
>>conftest.
$ac_ext
29950 cat >>conftest.
$ac_ext <<_ACEOF
29951 /* end confdefs.h. */
29952 $ac_includes_default
29958 if (sizeof (ssize_t))
29964 rm -f conftest.
$ac_objext
29965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29966 (eval $ac_compile) 2>conftest.er1
29968 grep -v '^ *+' conftest.er1
>conftest.err
29970 cat conftest.err
>&5
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); } &&
29973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29975 (eval $ac_try) 2>&5
29977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29978 (exit $ac_status); }; } &&
29979 { ac_try
='test -s conftest.$ac_objext'
29980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29981 (eval $ac_try) 2>&5
29983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29984 (exit $ac_status); }; }; then
29985 ac_cv_type_ssize_t
=yes
29987 echo "$as_me: failed program was:" >&5
29988 sed 's/^/| /' conftest.
$ac_ext >&5
29990 ac_cv_type_ssize_t
=no
29992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29994 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29995 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29996 if test $ac_cv_type_ssize_t = yes; then
29998 cat >>confdefs.h
<<_ACEOF
29999 #define HAVE_SSIZE_T 1
30009 ac_cpp
='$CXXCPP $CPPFLAGS'
30010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30014 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30015 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30016 if test "${wx_cv_size_t_is_uint+set}" = set; then
30017 echo $ECHO_N "(cached) $ECHO_C" >&6
30020 cat >conftest.
$ac_ext <<_ACEOF
30023 cat confdefs.h
>>conftest.
$ac_ext
30024 cat >>conftest.
$ac_ext <<_ACEOF
30025 /* end confdefs.h. */
30026 #include <stddef.h>
30033 struct Foo { void foo(size_t); void foo(unsigned int); };
30041 rm -f conftest.
$ac_objext
30042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30043 (eval $ac_compile) 2>conftest.er1
30045 grep -v '^ *+' conftest.er1
>conftest.err
30047 cat conftest.err
>&5
30048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30049 (exit $ac_status); } &&
30050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30052 (eval $ac_try) 2>&5
30054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30055 (exit $ac_status); }; } &&
30056 { ac_try
='test -s conftest.$ac_objext'
30057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30058 (eval $ac_try) 2>&5
30060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30061 (exit $ac_status); }; }; then
30062 wx_cv_size_t_is_uint
=no
30064 echo "$as_me: failed program was:" >&5
30065 sed 's/^/| /' conftest.
$ac_ext >&5
30067 wx_cv_size_t_is_uint
=yes
30070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30074 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30075 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30077 if test "$wx_cv_size_t_is_uint" = "yes"; then
30078 cat >>confdefs.h
<<\_ACEOF
30079 #define wxSIZE_T_IS_UINT 1
30083 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30084 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30085 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30086 echo $ECHO_N "(cached) $ECHO_C" >&6
30088 cat >conftest.
$ac_ext <<_ACEOF
30091 cat confdefs.h
>>conftest.
$ac_ext
30092 cat >>conftest.
$ac_ext <<_ACEOF
30093 /* end confdefs.h. */
30094 #include <stddef.h>
30101 struct Foo { void foo(size_t); void foo(unsigned long); };
30109 rm -f conftest.
$ac_objext
30110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30111 (eval $ac_compile) 2>conftest.er1
30113 grep -v '^ *+' conftest.er1
>conftest.err
30115 cat conftest.err
>&5
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); } &&
30118 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30120 (eval $ac_try) 2>&5
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); }; } &&
30124 { ac_try
='test -s conftest.$ac_objext'
30125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30126 (eval $ac_try) 2>&5
30128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30129 (exit $ac_status); }; }; then
30130 wx_cv_size_t_is_ulong
=no
30132 echo "$as_me: failed program was:" >&5
30133 sed 's/^/| /' conftest.
$ac_ext >&5
30135 wx_cv_size_t_is_ulong
=yes
30138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30141 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30142 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30144 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30145 cat >>confdefs.h
<<\_ACEOF
30146 #define wxSIZE_T_IS_ULONG 1
30153 ac_cpp
='$CPP $CPPFLAGS'
30154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30160 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30161 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30162 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30163 echo $ECHO_N "(cached) $ECHO_C" >&6
30166 cat >conftest.
$ac_ext <<_ACEOF
30169 cat confdefs.h
>>conftest.
$ac_ext
30170 cat >>conftest.
$ac_ext <<_ACEOF
30171 /* end confdefs.h. */
30185 rm -f conftest.
$ac_objext
30186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30187 (eval $ac_compile) 2>conftest.er1
30189 grep -v '^ *+' conftest.er1
>conftest.err
30191 cat conftest.err
>&5
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); } &&
30194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30196 (eval $ac_try) 2>&5
30198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199 (exit $ac_status); }; } &&
30200 { ac_try
='test -s conftest.$ac_objext'
30201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30202 (eval $ac_try) 2>&5
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); }; }; then
30207 wx_cv_struct_pw_gecos
=yes
30210 echo "$as_me: failed program was:" >&5
30211 sed 's/^/| /' conftest.
$ac_ext >&5
30214 wx_cv_struct_pw_gecos
=no
30218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30222 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30223 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30225 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30226 cat >>confdefs.h
<<\_ACEOF
30227 #define HAVE_PW_GECOS 1
30233 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30234 cat >>confdefs.h
<<\_ACEOF
30235 #define wxUSE_WCHAR_T 1
30242 for ac_func
in wcslen
30244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30245 echo "$as_me:$LINENO: checking for $ac_func" >&5
30246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30247 if eval "test \"\${$as_ac_var+set}\" = set"; then
30248 echo $ECHO_N "(cached) $ECHO_C" >&6
30250 cat >conftest.
$ac_ext <<_ACEOF
30253 cat confdefs.h
>>conftest.
$ac_ext
30254 cat >>conftest.
$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30258 #define $ac_func innocuous_$ac_func
30260 /* System header to define __stub macros and hopefully few prototypes,
30261 which can conflict with char $ac_func (); below.
30262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30263 <limits.h> exists even on freestanding compilers. */
30266 # include <limits.h>
30268 # include <assert.h>
30273 /* Override any gcc2 internal prototype to avoid an error. */
30278 /* We use char because int might match the return type of a gcc2
30279 builtin and then its argument prototype would still apply. */
30281 /* The GNU C library defines this for functions which it implements
30282 to always fail with ENOSYS. Some functions are actually named
30283 something starting with __ and the normal name is an alias. */
30284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30287 char (*f) () = $ac_func;
30296 return f != $ac_func;
30301 rm -f conftest.
$ac_objext conftest
$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>conftest.er1
30305 grep -v '^ *+' conftest.er1
>conftest.err
30307 cat conftest.err
>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); } &&
30310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; } &&
30316 { ac_try
='test -s conftest$ac_exeext'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; }; then
30322 eval "$as_ac_var=yes"
30324 echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.
$ac_ext >&5
30327 eval "$as_ac_var=no"
30329 rm -f conftest.err conftest.
$ac_objext \
30330 conftest
$ac_exeext conftest.
$ac_ext
30332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30334 if test `eval echo '${'$as_ac_var'}'` = yes; then
30335 cat >>confdefs.h
<<_ACEOF
30336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30343 if test "$WCSLEN_FOUND" = 0; then
30344 if test "$TOOLKIT" = "MSW"; then
30345 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30346 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30347 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30348 echo $ECHO_N "(cached) $ECHO_C" >&6
30350 ac_check_lib_save_LIBS
=$LIBS
30351 LIBS
="-lmsvcrt $LIBS"
30352 cat >conftest.
$ac_ext <<_ACEOF
30355 cat confdefs.h
>>conftest.
$ac_ext
30356 cat >>conftest.
$ac_ext <<_ACEOF
30357 /* end confdefs.h. */
30359 /* Override any gcc2 internal prototype to avoid an error. */
30363 /* We use char because int might match the return type of a gcc2
30364 builtin and then its argument prototype would still apply. */
30374 rm -f conftest.
$ac_objext conftest
$ac_exeext
30375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30376 (eval $ac_link) 2>conftest.er1
30378 grep -v '^ *+' conftest.er1
>conftest.err
30380 cat conftest.err
>&5
30381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382 (exit $ac_status); } &&
30383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30385 (eval $ac_try) 2>&5
30387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30388 (exit $ac_status); }; } &&
30389 { ac_try
='test -s conftest$ac_exeext'
30390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30391 (eval $ac_try) 2>&5
30393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30394 (exit $ac_status); }; }; then
30395 ac_cv_lib_msvcrt_wcslen
=yes
30397 echo "$as_me: failed program was:" >&5
30398 sed 's/^/| /' conftest.
$ac_ext >&5
30400 ac_cv_lib_msvcrt_wcslen
=no
30402 rm -f conftest.err conftest.
$ac_objext \
30403 conftest
$ac_exeext conftest.
$ac_ext
30404 LIBS
=$ac_check_lib_save_LIBS
30406 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30407 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30408 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30413 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30414 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30415 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30416 echo $ECHO_N "(cached) $ECHO_C" >&6
30418 ac_check_lib_save_LIBS
=$LIBS
30420 cat >conftest.
$ac_ext <<_ACEOF
30423 cat confdefs.h
>>conftest.
$ac_ext
30424 cat >>conftest.
$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30427 /* Override any gcc2 internal prototype to avoid an error. */
30431 /* We use char because int might match the return type of a gcc2
30432 builtin and then its argument prototype would still apply. */
30442 rm -f conftest.
$ac_objext conftest
$ac_exeext
30443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30444 (eval $ac_link) 2>conftest.er1
30446 grep -v '^ *+' conftest.er1
>conftest.err
30448 cat conftest.err
>&5
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); } &&
30451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30453 (eval $ac_try) 2>&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); }; } &&
30457 { ac_try
='test -s conftest$ac_exeext'
30458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30459 (eval $ac_try) 2>&5
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); }; }; then
30463 ac_cv_lib_w_wcslen
=yes
30465 echo "$as_me: failed program was:" >&5
30466 sed 's/^/| /' conftest.
$ac_ext >&5
30468 ac_cv_lib_w_wcslen
=no
30470 rm -f conftest.err conftest.
$ac_objext \
30471 conftest
$ac_exeext conftest.
$ac_ext
30472 LIBS
=$ac_check_lib_save_LIBS
30474 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30475 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30476 if test $ac_cv_lib_w_wcslen = yes; then
30486 if test "$WCSLEN_FOUND" = 1; then
30487 cat >>confdefs.h
<<\_ACEOF
30488 #define HAVE_WCSLEN 1
30493 if test "$USE_HPUX" = 1; then
30494 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30498 for ac_func
in wcsrtombs
30500 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30501 echo "$as_me:$LINENO: checking for $ac_func" >&5
30502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30503 if eval "test \"\${$as_ac_var+set}\" = set"; then
30504 echo $ECHO_N "(cached) $ECHO_C" >&6
30506 cat >conftest.
$ac_ext <<_ACEOF
30509 cat confdefs.h
>>conftest.
$ac_ext
30510 cat >>conftest.
$ac_ext <<_ACEOF
30511 /* end confdefs.h. */
30512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30514 #define $ac_func innocuous_$ac_func
30516 /* System header to define __stub macros and hopefully few prototypes,
30517 which can conflict with char $ac_func (); below.
30518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30519 <limits.h> exists even on freestanding compilers. */
30522 # include <limits.h>
30524 # include <assert.h>
30529 /* Override any gcc2 internal prototype to avoid an error. */
30534 /* We use char because int might match the return type of a gcc2
30535 builtin and then its argument prototype would still apply. */
30537 /* The GNU C library defines this for functions which it implements
30538 to always fail with ENOSYS. Some functions are actually named
30539 something starting with __ and the normal name is an alias. */
30540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30543 char (*f) () = $ac_func;
30552 return f != $ac_func;
30557 rm -f conftest.
$ac_objext conftest
$ac_exeext
30558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30559 (eval $ac_link) 2>conftest.er1
30561 grep -v '^ *+' conftest.er1
>conftest.err
30563 cat conftest.err
>&5
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); } &&
30566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30568 (eval $ac_try) 2>&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; } &&
30572 { ac_try
='test -s conftest$ac_exeext'
30573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30574 (eval $ac_try) 2>&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; }; then
30578 eval "$as_ac_var=yes"
30580 echo "$as_me: failed program was:" >&5
30581 sed 's/^/| /' conftest.
$ac_ext >&5
30583 eval "$as_ac_var=no"
30585 rm -f conftest.err conftest.
$ac_objext \
30586 conftest
$ac_exeext conftest.
$ac_ext
30588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30590 if test `eval echo '${'$as_ac_var'}'` = yes; then
30591 cat >>confdefs.h
<<_ACEOF
30592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30599 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30600 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30606 ac_cpp
='$CXXCPP $CPPFLAGS'
30607 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30608 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30609 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30613 for ac_func
in vsnprintf
30615 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30616 echo "$as_me:$LINENO: checking for $ac_func" >&5
30617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30618 if eval "test \"\${$as_ac_var+set}\" = set"; then
30619 echo $ECHO_N "(cached) $ECHO_C" >&6
30621 cat >conftest.
$ac_ext <<_ACEOF
30624 cat confdefs.h
>>conftest.
$ac_ext
30625 cat >>conftest.
$ac_ext <<_ACEOF
30626 /* end confdefs.h. */
30627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30629 #define $ac_func innocuous_$ac_func
30631 /* System header to define __stub macros and hopefully few prototypes,
30632 which can conflict with char $ac_func (); below.
30633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30634 <limits.h> exists even on freestanding compilers. */
30637 # include <limits.h>
30639 # include <assert.h>
30644 /* Override any gcc2 internal prototype to avoid an error. */
30649 /* We use char because int might match the return type of a gcc2
30650 builtin and then its argument prototype would still apply. */
30652 /* The GNU C library defines this for functions which it implements
30653 to always fail with ENOSYS. Some functions are actually named
30654 something starting with __ and the normal name is an alias. */
30655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30658 char (*f) () = $ac_func;
30667 return f != $ac_func;
30672 rm -f conftest.
$ac_objext conftest
$ac_exeext
30673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30674 (eval $ac_link) 2>conftest.er1
30676 grep -v '^ *+' conftest.er1
>conftest.err
30678 cat conftest.err
>&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); } &&
30681 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; } &&
30687 { ac_try
='test -s conftest$ac_exeext'
30688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30689 (eval $ac_try) 2>&5
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); }; }; then
30693 eval "$as_ac_var=yes"
30695 echo "$as_me: failed program was:" >&5
30696 sed 's/^/| /' conftest.
$ac_ext >&5
30698 eval "$as_ac_var=no"
30700 rm -f conftest.err conftest.
$ac_objext \
30701 conftest
$ac_exeext conftest.
$ac_ext
30703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30705 if test `eval echo '${'$as_ac_var'}'` = yes; then
30706 cat >>confdefs.h
<<_ACEOF
30707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30714 if test "$ac_cv_func_vsnprintf" = "yes"; then
30715 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30716 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30717 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30718 echo $ECHO_N "(cached) $ECHO_C" >&6
30721 cat >conftest.
$ac_ext <<_ACEOF
30724 cat confdefs.h
>>conftest.
$ac_ext
30725 cat >>conftest.
$ac_ext <<_ACEOF
30726 /* end confdefs.h. */
30729 #include <stdarg.h>
30737 vsnprintf(buf, 10u, "%s", ap);
30743 rm -f conftest.
$ac_objext
30744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30745 (eval $ac_compile) 2>conftest.er1
30747 grep -v '^ *+' conftest.er1
>conftest.err
30749 cat conftest.err
>&5
30750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751 (exit $ac_status); } &&
30752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30754 (eval $ac_try) 2>&5
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); }; } &&
30758 { ac_try
='test -s conftest.$ac_objext'
30759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30760 (eval $ac_try) 2>&5
30762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30763 (exit $ac_status); }; }; then
30764 wx_cv_func_vsnprintf_decl
=yes
30766 echo "$as_me: failed program was:" >&5
30767 sed 's/^/| /' conftest.
$ac_ext >&5
30770 cat >conftest.
$ac_ext <<_ACEOF
30773 cat confdefs.h
>>conftest.
$ac_ext
30774 cat >>conftest.
$ac_ext <<_ACEOF
30775 /* end confdefs.h. */
30778 #include <stdarg.h>
30779 using namespace std;
30787 vsnprintf(buf, 10u, "%s", ap);
30793 rm -f conftest.
$ac_objext
30794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30795 (eval $ac_compile) 2>conftest.er1
30797 grep -v '^ *+' conftest.er1
>conftest.err
30799 cat conftest.err
>&5
30800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30801 (exit $ac_status); } &&
30802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30804 (eval $ac_try) 2>&5
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); }; } &&
30808 { ac_try
='test -s conftest.$ac_objext'
30809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30810 (eval $ac_try) 2>&5
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); }; }; then
30814 wx_cv_func_vsnprintf_decl
=yes
30816 echo "$as_me: failed program was:" >&5
30817 sed 's/^/| /' conftest.
$ac_ext >&5
30819 wx_cv_func_vsnprintf_decl
=no
30822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30830 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30831 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30833 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30834 cat >>confdefs.h
<<\_ACEOF
30835 #define HAVE_VSNPRINTF_DECL 1
30841 if test "$wxUSE_UNICODE" = yes; then
30848 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
30850 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30851 echo "$as_me:$LINENO: checking for $ac_func" >&5
30852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30853 if eval "test \"\${$as_ac_var+set}\" = set"; then
30854 echo $ECHO_N "(cached) $ECHO_C" >&6
30856 cat >conftest.
$ac_ext <<_ACEOF
30859 cat confdefs.h
>>conftest.
$ac_ext
30860 cat >>conftest.
$ac_ext <<_ACEOF
30861 /* end confdefs.h. */
30862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30864 #define $ac_func innocuous_$ac_func
30866 /* System header to define __stub macros and hopefully few prototypes,
30867 which can conflict with char $ac_func (); below.
30868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30869 <limits.h> exists even on freestanding compilers. */
30872 # include <limits.h>
30874 # include <assert.h>
30879 /* Override any gcc2 internal prototype to avoid an error. */
30884 /* We use char because int might match the return type of a gcc2
30885 builtin and then its argument prototype would still apply. */
30887 /* The GNU C library defines this for functions which it implements
30888 to always fail with ENOSYS. Some functions are actually named
30889 something starting with __ and the normal name is an alias. */
30890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30893 char (*f) () = $ac_func;
30902 return f != $ac_func;
30907 rm -f conftest.
$ac_objext conftest
$ac_exeext
30908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30909 (eval $ac_link) 2>conftest.er1
30911 grep -v '^ *+' conftest.er1
>conftest.err
30913 cat conftest.err
>&5
30914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30915 (exit $ac_status); } &&
30916 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30918 (eval $ac_try) 2>&5
30920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30921 (exit $ac_status); }; } &&
30922 { ac_try
='test -s conftest$ac_exeext'
30923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30924 (eval $ac_try) 2>&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); }; }; then
30928 eval "$as_ac_var=yes"
30930 echo "$as_me: failed program was:" >&5
30931 sed 's/^/| /' conftest.
$ac_ext >&5
30933 eval "$as_ac_var=no"
30935 rm -f conftest.err conftest.
$ac_objext \
30936 conftest
$ac_exeext conftest.
$ac_ext
30938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30940 if test `eval echo '${'$as_ac_var'}'` = yes; then
30941 cat >>confdefs.h
<<_ACEOF
30942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30949 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30950 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30951 cat >conftest.
$ac_ext <<_ACEOF
30954 cat confdefs.h
>>conftest.
$ac_ext
30955 cat >>conftest.
$ac_ext <<_ACEOF
30956 /* end confdefs.h. */
30966 rm -f conftest.
$ac_objext
30967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30968 (eval $ac_compile) 2>conftest.er1
30970 grep -v '^ *+' conftest.er1
>conftest.err
30972 cat conftest.err
>&5
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); } &&
30975 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30977 (eval $ac_try) 2>&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); }; } &&
30981 { ac_try
='test -s conftest.$ac_objext'
30982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30983 (eval $ac_try) 2>&5
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); }; }; then
30987 echo "$as_me:$LINENO: result: yes" >&5
30988 echo "${ECHO_T}yes" >&6
30989 cat >>confdefs.h
<<\_ACEOF
30990 #define HAVE__VSNWPRINTF 1
30994 echo "$as_me: failed program was:" >&5
30995 sed 's/^/| /' conftest.
$ac_ext >&5
30997 echo "$as_me:$LINENO: result: no" >&5
30998 echo "${ECHO_T}no" >&6
31000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31004 ac_cpp
='$CPP $CPPFLAGS'
31005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31012 if test "$TOOLKIT" != "MSW"; then
31018 ac_cpp
='$CXXCPP $CPPFLAGS'
31019 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31020 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31021 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31026 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31027 if test "${with_libiconv_prefix+set}" = set; then
31028 withval
="$with_libiconv_prefix"
31030 for dir
in `echo "$withval" | tr : ' '`; do
31031 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31032 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31037 echo "$as_me:$LINENO: checking for iconv" >&5
31038 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31039 if test "${am_cv_func_iconv+set}" = set; then
31040 echo $ECHO_N "(cached) $ECHO_C" >&6
31043 am_cv_func_iconv
="no, consider installing GNU libiconv"
31045 cat >conftest.
$ac_ext <<_ACEOF
31048 cat confdefs.h
>>conftest.
$ac_ext
31049 cat >>conftest.
$ac_ext <<_ACEOF
31050 /* end confdefs.h. */
31051 #include <stdlib.h>
31056 iconv_t cd = iconv_open("","");
31057 iconv(cd,NULL,NULL,NULL,NULL);
31063 rm -f conftest.
$ac_objext conftest
$ac_exeext
31064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31065 (eval $ac_link) 2>conftest.er1
31067 grep -v '^ *+' conftest.er1
>conftest.err
31069 cat conftest.err
>&5
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); } &&
31072 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31074 (eval $ac_try) 2>&5
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); }; } &&
31078 { ac_try
='test -s conftest$ac_exeext'
31079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31080 (eval $ac_try) 2>&5
31082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31083 (exit $ac_status); }; }; then
31084 am_cv_func_iconv
=yes
31086 echo "$as_me: failed program was:" >&5
31087 sed 's/^/| /' conftest.
$ac_ext >&5
31090 rm -f conftest.err conftest.
$ac_objext \
31091 conftest
$ac_exeext conftest.
$ac_ext
31092 if test "$am_cv_func_iconv" != yes; then
31093 am_save_LIBS
="$LIBS"
31094 LIBS
="$LIBS -liconv"
31095 cat >conftest.
$ac_ext <<_ACEOF
31098 cat confdefs.h
>>conftest.
$ac_ext
31099 cat >>conftest.
$ac_ext <<_ACEOF
31100 /* end confdefs.h. */
31101 #include <stdlib.h>
31106 iconv_t cd = iconv_open("","");
31107 iconv(cd,NULL,NULL,NULL,NULL);
31113 rm -f conftest.
$ac_objext conftest
$ac_exeext
31114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31115 (eval $ac_link) 2>conftest.er1
31117 grep -v '^ *+' conftest.er1
>conftest.err
31119 cat conftest.err
>&5
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); } &&
31122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31124 (eval $ac_try) 2>&5
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); }; } &&
31128 { ac_try
='test -s conftest$ac_exeext'
31129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31130 (eval $ac_try) 2>&5
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); }; }; then
31134 am_cv_lib_iconv
=yes
31135 am_cv_func_iconv
=yes
31137 echo "$as_me: failed program was:" >&5
31138 sed 's/^/| /' conftest.
$ac_ext >&5
31141 rm -f conftest.err conftest.
$ac_objext \
31142 conftest
$ac_exeext conftest.
$ac_ext
31143 LIBS
="$am_save_LIBS"
31147 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31148 echo "${ECHO_T}$am_cv_func_iconv" >&6
31149 if test "$am_cv_func_iconv" = yes; then
31151 cat >>confdefs.h
<<\_ACEOF
31152 #define HAVE_ICONV 1
31155 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31156 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31157 if test "${wx_cv_func_iconv_const+set}" = set; then
31158 echo $ECHO_N "(cached) $ECHO_C" >&6
31160 cat >conftest.
$ac_ext <<_ACEOF
31163 cat confdefs.h
>>conftest.
$ac_ext
31164 cat >>conftest.
$ac_ext <<_ACEOF
31165 /* end confdefs.h. */
31167 #include <stdlib.h>
31173 #if defined(__STDC__) || defined(__cplusplus)
31174 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31187 rm -f conftest.
$ac_objext
31188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31189 (eval $ac_compile) 2>conftest.er1
31191 grep -v '^ *+' conftest.er1
>conftest.err
31193 cat conftest.err
>&5
31194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195 (exit $ac_status); } &&
31196 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31198 (eval $ac_try) 2>&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); }; } &&
31202 { ac_try
='test -s conftest.$ac_objext'
31203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31204 (eval $ac_try) 2>&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); }; }; then
31208 wx_cv_func_iconv_const
="no"
31210 echo "$as_me: failed program was:" >&5
31211 sed 's/^/| /' conftest.
$ac_ext >&5
31213 wx_cv_func_iconv_const
="yes"
31216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31219 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31220 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31223 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31224 iconv_const
="const"
31228 cat >>confdefs.h
<<_ACEOF
31229 #define ICONV_CONST $iconv_const
31234 if test "$am_cv_lib_iconv" = yes; then
31239 LIBS
="$LIBICONV $LIBS"
31241 ac_cpp
='$CPP $CPPFLAGS'
31242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31247 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31249 for ac_func
in sigaction
31251 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31252 echo "$as_me:$LINENO: checking for $ac_func" >&5
31253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31254 if eval "test \"\${$as_ac_var+set}\" = set"; then
31255 echo $ECHO_N "(cached) $ECHO_C" >&6
31257 cat >conftest.
$ac_ext <<_ACEOF
31260 cat confdefs.h
>>conftest.
$ac_ext
31261 cat >>conftest.
$ac_ext <<_ACEOF
31262 /* end confdefs.h. */
31263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31265 #define $ac_func innocuous_$ac_func
31267 /* System header to define __stub macros and hopefully few prototypes,
31268 which can conflict with char $ac_func (); below.
31269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31270 <limits.h> exists even on freestanding compilers. */
31273 # include <limits.h>
31275 # include <assert.h>
31280 /* Override any gcc2 internal prototype to avoid an error. */
31285 /* We use char because int might match the return type of a gcc2
31286 builtin and then its argument prototype would still apply. */
31288 /* The GNU C library defines this for functions which it implements
31289 to always fail with ENOSYS. Some functions are actually named
31290 something starting with __ and the normal name is an alias. */
31291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31294 char (*f) () = $ac_func;
31303 return f != $ac_func;
31308 rm -f conftest.
$ac_objext conftest
$ac_exeext
31309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31310 (eval $ac_link) 2>conftest.er1
31312 grep -v '^ *+' conftest.er1
>conftest.err
31314 cat conftest.err
>&5
31315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316 (exit $ac_status); } &&
31317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31319 (eval $ac_try) 2>&5
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); }; } &&
31323 { ac_try
='test -s conftest$ac_exeext'
31324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31325 (eval $ac_try) 2>&5
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); }; }; then
31329 eval "$as_ac_var=yes"
31331 echo "$as_me: failed program was:" >&5
31332 sed 's/^/| /' conftest.
$ac_ext >&5
31334 eval "$as_ac_var=no"
31336 rm -f conftest.err conftest.
$ac_objext \
31337 conftest
$ac_exeext conftest.
$ac_ext
31339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31341 if test `eval echo '${'$as_ac_var'}'` = yes; then
31342 cat >>confdefs.h
<<_ACEOF
31343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31350 if test "$ac_cv_func_sigaction" = "no"; then
31351 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31352 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31353 wxUSE_ON_FATAL_EXCEPTION
=no
31356 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31360 ac_cpp
='$CXXCPP $CPPFLAGS'
31361 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31362 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31363 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31366 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31367 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31368 if test "${wx_cv_type_sa_handler+set}" = set; then
31369 echo $ECHO_N "(cached) $ECHO_C" >&6
31372 cat >conftest.
$ac_ext <<_ACEOF
31375 cat confdefs.h
>>conftest.
$ac_ext
31376 cat >>conftest.
$ac_ext <<_ACEOF
31377 /* end confdefs.h. */
31378 #include <signal.h>
31383 extern void testSigHandler(int);
31385 struct sigaction sa;
31386 sa.sa_handler = testSigHandler;
31392 rm -f conftest.
$ac_objext
31393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31394 (eval $ac_compile) 2>conftest.er1
31396 grep -v '^ *+' conftest.er1
>conftest.err
31398 cat conftest.err
>&5
31399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400 (exit $ac_status); } &&
31401 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31403 (eval $ac_try) 2>&5
31405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406 (exit $ac_status); }; } &&
31407 { ac_try
='test -s conftest.$ac_objext'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; }; then
31414 wx_cv_type_sa_handler
=int
31417 echo "$as_me: failed program was:" >&5
31418 sed 's/^/| /' conftest.
$ac_ext >&5
31421 wx_cv_type_sa_handler
=void
31424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31427 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31428 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31431 ac_cpp
='$CPP $CPPFLAGS'
31432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31437 cat >>confdefs.h
<<_ACEOF
31438 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31444 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31448 ac_cpp
='$CXXCPP $CPPFLAGS'
31449 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31450 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31451 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31454 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31455 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31456 if test "${wx_cv_func_backtrace+set}" = set; then
31457 echo $ECHO_N "(cached) $ECHO_C" >&6
31460 cat >conftest.
$ac_ext <<_ACEOF
31463 cat confdefs.h
>>conftest.
$ac_ext
31464 cat >>conftest.
$ac_ext <<_ACEOF
31465 /* end confdefs.h. */
31466 #include <execinfo.h>
31474 backtrace(trace, 1);
31475 messages = backtrace_symbols(trace, 1);
31481 rm -f conftest.
$ac_objext
31482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31483 (eval $ac_compile) 2>conftest.er1
31485 grep -v '^ *+' conftest.er1
>conftest.err
31487 cat conftest.err
>&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); } &&
31490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31492 (eval $ac_try) 2>&5
31494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31495 (exit $ac_status); }; } &&
31496 { ac_try
='test -s conftest.$ac_objext'
31497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31498 (eval $ac_try) 2>&5
31500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501 (exit $ac_status); }; }; then
31502 wx_cv_func_backtrace
=yes
31504 echo "$as_me: failed program was:" >&5
31505 sed 's/^/| /' conftest.
$ac_ext >&5
31507 wx_cv_func_backtrace
=no
31510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31514 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31515 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31518 if test "$wx_cv_func_backtrace" = "no"; then
31519 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31520 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31521 wxUSE_STACKWALKER
=no
31523 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31524 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31525 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31526 echo $ECHO_N "(cached) $ECHO_C" >&6
31529 cat >conftest.
$ac_ext <<_ACEOF
31532 cat confdefs.h
>>conftest.
$ac_ext
31533 cat >>conftest.
$ac_ext <<_ACEOF
31534 /* end confdefs.h. */
31535 #include <cxxabi.h>
31541 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31547 rm -f conftest.
$ac_objext conftest
$ac_exeext
31548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31549 (eval $ac_link) 2>conftest.er1
31551 grep -v '^ *+' conftest.er1
>conftest.err
31553 cat conftest.err
>&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); } &&
31556 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; } &&
31562 { ac_try
='test -s conftest$ac_exeext'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; }; then
31568 wx_cv_func_cxa_demangle
=yes
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.
$ac_ext >&5
31573 wx_cv_func_cxa_demangle
=no
31576 rm -f conftest.err conftest.
$ac_objext \
31577 conftest
$ac_exeext conftest.
$ac_ext
31581 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31582 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31584 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31585 cat >>confdefs.h
<<\_ACEOF
31586 #define HAVE_CXA_DEMANGLE 1
31593 ac_cpp
='$CPP $CPPFLAGS'
31594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31600 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
31601 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
31602 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
31603 wxUSE_STACKWALKER
=no
31609 for ac_func
in mkstemp mktemp
31611 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31612 echo "$as_me:$LINENO: checking for $ac_func" >&5
31613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31614 if eval "test \"\${$as_ac_var+set}\" = set"; then
31615 echo $ECHO_N "(cached) $ECHO_C" >&6
31617 cat >conftest.
$ac_ext <<_ACEOF
31620 cat confdefs.h
>>conftest.
$ac_ext
31621 cat >>conftest.
$ac_ext <<_ACEOF
31622 /* end confdefs.h. */
31623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31625 #define $ac_func innocuous_$ac_func
31627 /* System header to define __stub macros and hopefully few prototypes,
31628 which can conflict with char $ac_func (); below.
31629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31630 <limits.h> exists even on freestanding compilers. */
31633 # include <limits.h>
31635 # include <assert.h>
31640 /* Override any gcc2 internal prototype to avoid an error. */
31645 /* We use char because int might match the return type of a gcc2
31646 builtin and then its argument prototype would still apply. */
31648 /* The GNU C library defines this for functions which it implements
31649 to always fail with ENOSYS. Some functions are actually named
31650 something starting with __ and the normal name is an alias. */
31651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31654 char (*f) () = $ac_func;
31663 return f != $ac_func;
31668 rm -f conftest.
$ac_objext conftest
$ac_exeext
31669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31670 (eval $ac_link) 2>conftest.er1
31672 grep -v '^ *+' conftest.er1
>conftest.err
31674 cat conftest.err
>&5
31675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31676 (exit $ac_status); } &&
31677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31679 (eval $ac_try) 2>&5
31681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31682 (exit $ac_status); }; } &&
31683 { ac_try
='test -s conftest$ac_exeext'
31684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31685 (eval $ac_try) 2>&5
31687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31688 (exit $ac_status); }; }; then
31689 eval "$as_ac_var=yes"
31691 echo "$as_me: failed program was:" >&5
31692 sed 's/^/| /' conftest.
$ac_ext >&5
31694 eval "$as_ac_var=no"
31696 rm -f conftest.err conftest.
$ac_objext \
31697 conftest
$ac_exeext conftest.
$ac_ext
31699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31701 if test `eval echo '${'$as_ac_var'}'` = yes; then
31702 cat >>confdefs.h
<<_ACEOF
31703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31710 echo "$as_me:$LINENO: checking for statfs" >&5
31711 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31712 if test "${wx_cv_func_statfs+set}" = set; then
31713 echo $ECHO_N "(cached) $ECHO_C" >&6
31715 cat >conftest.
$ac_ext <<_ACEOF
31718 cat confdefs.h
>>conftest.
$ac_ext
31719 cat >>conftest.
$ac_ext <<_ACEOF
31720 /* end confdefs.h. */
31722 #if defined(__BSD__)
31723 #include <sys/param.h>
31724 #include <sys/mount.h>
31726 #include <sys/vfs.h>
31744 rm -f conftest.
$ac_objext
31745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31746 (eval $ac_compile) 2>conftest.er1
31748 grep -v '^ *+' conftest.er1
>conftest.err
31750 cat conftest.err
>&5
31751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31752 (exit $ac_status); } &&
31753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31755 (eval $ac_try) 2>&5
31757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31758 (exit $ac_status); }; } &&
31759 { ac_try
='test -s conftest.$ac_objext'
31760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31761 (eval $ac_try) 2>&5
31763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31764 (exit $ac_status); }; }; then
31766 wx_cv_func_statfs
=yes
31769 echo "$as_me: failed program was:" >&5
31770 sed 's/^/| /' conftest.
$ac_ext >&5
31773 wx_cv_func_statfs
=no
31777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31780 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31781 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31783 if test "$wx_cv_func_statfs" = "yes"; then
31784 wx_cv_type_statvfs_t
="struct statfs"
31785 cat >>confdefs.h
<<\_ACEOF
31786 #define HAVE_STATFS 1
31790 echo "$as_me:$LINENO: checking for statvfs" >&5
31791 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31792 if test "${wx_cv_func_statvfs+set}" = set; then
31793 echo $ECHO_N "(cached) $ECHO_C" >&6
31795 cat >conftest.
$ac_ext <<_ACEOF
31798 cat confdefs.h
>>conftest.
$ac_ext
31799 cat >>conftest.
$ac_ext <<_ACEOF
31800 /* end confdefs.h. */
31802 #include <stddef.h>
31803 #include <sys/statvfs.h>
31809 statvfs("/", NULL);
31815 rm -f conftest.
$ac_objext
31816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31817 (eval $ac_compile) 2>conftest.er1
31819 grep -v '^ *+' conftest.er1
>conftest.err
31821 cat conftest.err
>&5
31822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31823 (exit $ac_status); } &&
31824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31826 (eval $ac_try) 2>&5
31828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31829 (exit $ac_status); }; } &&
31830 { ac_try
='test -s conftest.$ac_objext'
31831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31832 (eval $ac_try) 2>&5
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); }; }; then
31836 wx_cv_func_statvfs
=yes
31838 echo "$as_me: failed program was:" >&5
31839 sed 's/^/| /' conftest.
$ac_ext >&5
31841 wx_cv_func_statvfs
=no
31844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31847 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31848 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31850 if test "$wx_cv_func_statvfs" = "yes"; then
31854 ac_cpp
='$CXXCPP $CPPFLAGS'
31855 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31856 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31857 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31860 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31861 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31862 if test "${wx_cv_type_statvfs_t+set}" = set; then
31863 echo $ECHO_N "(cached) $ECHO_C" >&6
31865 cat >conftest.
$ac_ext <<_ACEOF
31868 cat confdefs.h
>>conftest.
$ac_ext
31869 cat >>conftest.
$ac_ext <<_ACEOF
31870 /* end confdefs.h. */
31872 #include <sys/statvfs.h>
31889 rm -f conftest.
$ac_objext
31890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31891 (eval $ac_compile) 2>conftest.er1
31893 grep -v '^ *+' conftest.er1
>conftest.err
31895 cat conftest.err
>&5
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); } &&
31898 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31900 (eval $ac_try) 2>&5
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); }; } &&
31904 { ac_try
='test -s conftest.$ac_objext'
31905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31906 (eval $ac_try) 2>&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); }; }; then
31910 wx_cv_type_statvfs_t
=statvfs_t
31912 echo "$as_me: failed program was:" >&5
31913 sed 's/^/| /' conftest.
$ac_ext >&5
31916 cat >conftest.
$ac_ext <<_ACEOF
31919 cat confdefs.h
>>conftest.
$ac_ext
31920 cat >>conftest.
$ac_ext <<_ACEOF
31921 /* end confdefs.h. */
31923 #include <sys/statvfs.h>
31940 rm -f conftest.
$ac_objext
31941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31942 (eval $ac_compile) 2>conftest.er1
31944 grep -v '^ *+' conftest.er1
>conftest.err
31946 cat conftest.err
>&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); } &&
31949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31951 (eval $ac_try) 2>&5
31953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31954 (exit $ac_status); }; } &&
31955 { ac_try
='test -s conftest.$ac_objext'
31956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31957 (eval $ac_try) 2>&5
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); }; }; then
31961 wx_cv_type_statvfs_t
="struct statvfs"
31963 echo "$as_me: failed program was:" >&5
31964 sed 's/^/| /' conftest.
$ac_ext >&5
31966 wx_cv_type_statvfs_t
="unknown"
31969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31976 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31977 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31980 ac_cpp
='$CPP $CPPFLAGS'
31981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31986 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31987 cat >>confdefs.h
<<\_ACEOF
31988 #define HAVE_STATVFS 1
31993 wx_cv_type_statvfs_t
="unknown"
31997 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31998 cat >>confdefs.h
<<_ACEOF
31999 #define WX_STATFS_T $wx_cv_type_statvfs_t
32003 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32004 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32007 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32010 for ac_func
in fcntl flock
32012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32013 echo "$as_me:$LINENO: checking for $ac_func" >&5
32014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32015 if eval "test \"\${$as_ac_var+set}\" = set"; then
32016 echo $ECHO_N "(cached) $ECHO_C" >&6
32018 cat >conftest.
$ac_ext <<_ACEOF
32021 cat confdefs.h
>>conftest.
$ac_ext
32022 cat >>conftest.
$ac_ext <<_ACEOF
32023 /* end confdefs.h. */
32024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32026 #define $ac_func innocuous_$ac_func
32028 /* System header to define __stub macros and hopefully few prototypes,
32029 which can conflict with char $ac_func (); below.
32030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32031 <limits.h> exists even on freestanding compilers. */
32034 # include <limits.h>
32036 # include <assert.h>
32041 /* Override any gcc2 internal prototype to avoid an error. */
32046 /* We use char because int might match the return type of a gcc2
32047 builtin and then its argument prototype would still apply. */
32049 /* The GNU C library defines this for functions which it implements
32050 to always fail with ENOSYS. Some functions are actually named
32051 something starting with __ and the normal name is an alias. */
32052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32055 char (*f) () = $ac_func;
32064 return f != $ac_func;
32069 rm -f conftest.
$ac_objext conftest
$ac_exeext
32070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32071 (eval $ac_link) 2>conftest.er1
32073 grep -v '^ *+' conftest.er1
>conftest.err
32075 cat conftest.err
>&5
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); } &&
32078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32080 (eval $ac_try) 2>&5
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); }; } &&
32084 { ac_try
='test -s conftest$ac_exeext'
32085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32086 (eval $ac_try) 2>&5
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); }; }; then
32090 eval "$as_ac_var=yes"
32092 echo "$as_me: failed program was:" >&5
32093 sed 's/^/| /' conftest.
$ac_ext >&5
32095 eval "$as_ac_var=no"
32097 rm -f conftest.err conftest.
$ac_objext \
32098 conftest
$ac_exeext conftest.
$ac_ext
32100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32102 if test `eval echo '${'$as_ac_var'}'` = yes; then
32103 cat >>confdefs.h
<<_ACEOF
32104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32111 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32112 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32113 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32114 wxUSE_SNGLINST_CHECKER
=no
32119 for ac_func
in timegm
32121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32122 echo "$as_me:$LINENO: checking for $ac_func" >&5
32123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32124 if eval "test \"\${$as_ac_var+set}\" = set"; then
32125 echo $ECHO_N "(cached) $ECHO_C" >&6
32127 cat >conftest.
$ac_ext <<_ACEOF
32130 cat confdefs.h
>>conftest.
$ac_ext
32131 cat >>conftest.
$ac_ext <<_ACEOF
32132 /* end confdefs.h. */
32133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32135 #define $ac_func innocuous_$ac_func
32137 /* System header to define __stub macros and hopefully few prototypes,
32138 which can conflict with char $ac_func (); below.
32139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32140 <limits.h> exists even on freestanding compilers. */
32143 # include <limits.h>
32145 # include <assert.h>
32150 /* Override any gcc2 internal prototype to avoid an error. */
32155 /* We use char because int might match the return type of a gcc2
32156 builtin and then its argument prototype would still apply. */
32158 /* The GNU C library defines this for functions which it implements
32159 to always fail with ENOSYS. Some functions are actually named
32160 something starting with __ and the normal name is an alias. */
32161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32164 char (*f) () = $ac_func;
32173 return f != $ac_func;
32178 rm -f conftest.
$ac_objext conftest
$ac_exeext
32179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32180 (eval $ac_link) 2>conftest.er1
32182 grep -v '^ *+' conftest.er1
>conftest.err
32184 cat conftest.err
>&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } &&
32187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32189 (eval $ac_try) 2>&5
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); }; } &&
32193 { ac_try
='test -s conftest$ac_exeext'
32194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32195 (eval $ac_try) 2>&5
32197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198 (exit $ac_status); }; }; then
32199 eval "$as_ac_var=yes"
32201 echo "$as_me: failed program was:" >&5
32202 sed 's/^/| /' conftest.
$ac_ext >&5
32204 eval "$as_ac_var=no"
32206 rm -f conftest.err conftest.
$ac_objext \
32207 conftest
$ac_exeext conftest.
$ac_ext
32209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32211 if test `eval echo '${'$as_ac_var'}'` = yes; then
32212 cat >>confdefs.h
<<_ACEOF
32213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32222 for ac_func
in putenv setenv
32224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32225 echo "$as_me:$LINENO: checking for $ac_func" >&5
32226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32227 if eval "test \"\${$as_ac_var+set}\" = set"; then
32228 echo $ECHO_N "(cached) $ECHO_C" >&6
32230 cat >conftest.
$ac_ext <<_ACEOF
32233 cat confdefs.h
>>conftest.
$ac_ext
32234 cat >>conftest.
$ac_ext <<_ACEOF
32235 /* end confdefs.h. */
32236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32238 #define $ac_func innocuous_$ac_func
32240 /* System header to define __stub macros and hopefully few prototypes,
32241 which can conflict with char $ac_func (); below.
32242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32243 <limits.h> exists even on freestanding compilers. */
32246 # include <limits.h>
32248 # include <assert.h>
32253 /* Override any gcc2 internal prototype to avoid an error. */
32258 /* We use char because int might match the return type of a gcc2
32259 builtin and then its argument prototype would still apply. */
32261 /* The GNU C library defines this for functions which it implements
32262 to always fail with ENOSYS. Some functions are actually named
32263 something starting with __ and the normal name is an alias. */
32264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32267 char (*f) () = $ac_func;
32276 return f != $ac_func;
32281 rm -f conftest.
$ac_objext conftest
$ac_exeext
32282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32283 (eval $ac_link) 2>conftest.er1
32285 grep -v '^ *+' conftest.er1
>conftest.err
32287 cat conftest.err
>&5
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); } &&
32290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32292 (eval $ac_try) 2>&5
32294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295 (exit $ac_status); }; } &&
32296 { ac_try
='test -s conftest$ac_exeext'
32297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32298 (eval $ac_try) 2>&5
32300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301 (exit $ac_status); }; }; then
32302 eval "$as_ac_var=yes"
32304 echo "$as_me: failed program was:" >&5
32305 sed 's/^/| /' conftest.
$ac_ext >&5
32307 eval "$as_ac_var=no"
32309 rm -f conftest.err conftest.
$ac_objext \
32310 conftest
$ac_exeext conftest.
$ac_ext
32312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32314 if test `eval echo '${'$as_ac_var'}'` = yes; then
32315 cat >>confdefs.h
<<_ACEOF
32316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32323 HAVE_SOME_SLEEP_FUNC
=0
32324 if test "$USE_BEOS" = 1; then
32325 cat >>confdefs.h
<<\_ACEOF
32326 #define HAVE_SLEEP 1
32329 HAVE_SOME_SLEEP_FUNC
=1
32332 if test "$USE_DARWIN" = 1; then
32333 cat >>confdefs.h
<<\_ACEOF
32334 #define HAVE_USLEEP 1
32337 HAVE_SOME_SLEEP_FUNC
=1
32340 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32343 for ac_func
in nanosleep
32345 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32346 echo "$as_me:$LINENO: checking for $ac_func" >&5
32347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32348 if eval "test \"\${$as_ac_var+set}\" = set"; then
32349 echo $ECHO_N "(cached) $ECHO_C" >&6
32351 cat >conftest.
$ac_ext <<_ACEOF
32354 cat confdefs.h
>>conftest.
$ac_ext
32355 cat >>conftest.
$ac_ext <<_ACEOF
32356 /* end confdefs.h. */
32357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32359 #define $ac_func innocuous_$ac_func
32361 /* System header to define __stub macros and hopefully few prototypes,
32362 which can conflict with char $ac_func (); below.
32363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32364 <limits.h> exists even on freestanding compilers. */
32367 # include <limits.h>
32369 # include <assert.h>
32374 /* Override any gcc2 internal prototype to avoid an error. */
32379 /* We use char because int might match the return type of a gcc2
32380 builtin and then its argument prototype would still apply. */
32382 /* The GNU C library defines this for functions which it implements
32383 to always fail with ENOSYS. Some functions are actually named
32384 something starting with __ and the normal name is an alias. */
32385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32388 char (*f) () = $ac_func;
32397 return f != $ac_func;
32402 rm -f conftest.
$ac_objext conftest
$ac_exeext
32403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32404 (eval $ac_link) 2>conftest.er1
32406 grep -v '^ *+' conftest.er1
>conftest.err
32408 cat conftest.err
>&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); } &&
32411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32413 (eval $ac_try) 2>&5
32415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32416 (exit $ac_status); }; } &&
32417 { ac_try
='test -s conftest$ac_exeext'
32418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32419 (eval $ac_try) 2>&5
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); }; }; then
32423 eval "$as_ac_var=yes"
32425 echo "$as_me: failed program was:" >&5
32426 sed 's/^/| /' conftest.
$ac_ext >&5
32428 eval "$as_ac_var=no"
32430 rm -f conftest.err conftest.
$ac_objext \
32431 conftest
$ac_exeext conftest.
$ac_ext
32433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32435 if test `eval echo '${'$as_ac_var'}'` = yes; then
32436 cat >>confdefs.h
<<_ACEOF
32437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32439 cat >>confdefs.h
<<\_ACEOF
32440 #define HAVE_NANOSLEEP 1
32445 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32446 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32447 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32448 echo $ECHO_N "(cached) $ECHO_C" >&6
32450 ac_check_lib_save_LIBS
=$LIBS
32451 LIBS
="-lposix4 $LIBS"
32452 cat >conftest.
$ac_ext <<_ACEOF
32455 cat confdefs.h
>>conftest.
$ac_ext
32456 cat >>conftest.
$ac_ext <<_ACEOF
32457 /* end confdefs.h. */
32459 /* Override any gcc2 internal prototype to avoid an error. */
32463 /* We use char because int might match the return type of a gcc2
32464 builtin and then its argument prototype would still apply. */
32474 rm -f conftest.
$ac_objext conftest
$ac_exeext
32475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32476 (eval $ac_link) 2>conftest.er1
32478 grep -v '^ *+' conftest.er1
>conftest.err
32480 cat conftest.err
>&5
32481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482 (exit $ac_status); } &&
32483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32485 (eval $ac_try) 2>&5
32487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32488 (exit $ac_status); }; } &&
32489 { ac_try
='test -s conftest$ac_exeext'
32490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32491 (eval $ac_try) 2>&5
32493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32494 (exit $ac_status); }; }; then
32495 ac_cv_lib_posix4_nanosleep
=yes
32497 echo "$as_me: failed program was:" >&5
32498 sed 's/^/| /' conftest.
$ac_ext >&5
32500 ac_cv_lib_posix4_nanosleep
=no
32502 rm -f conftest.err conftest.
$ac_objext \
32503 conftest
$ac_exeext conftest.
$ac_ext
32504 LIBS
=$ac_check_lib_save_LIBS
32506 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32507 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32508 if test $ac_cv_lib_posix4_nanosleep = yes; then
32510 cat >>confdefs.h
<<\_ACEOF
32511 #define HAVE_NANOSLEEP 1
32514 POSIX4_LINK
=" -lposix4"
32519 for ac_func
in usleep
32521 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32522 echo "$as_me:$LINENO: checking for $ac_func" >&5
32523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32524 if eval "test \"\${$as_ac_var+set}\" = set"; then
32525 echo $ECHO_N "(cached) $ECHO_C" >&6
32527 cat >conftest.
$ac_ext <<_ACEOF
32530 cat confdefs.h
>>conftest.
$ac_ext
32531 cat >>conftest.
$ac_ext <<_ACEOF
32532 /* end confdefs.h. */
32533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32535 #define $ac_func innocuous_$ac_func
32537 /* System header to define __stub macros and hopefully few prototypes,
32538 which can conflict with char $ac_func (); below.
32539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32540 <limits.h> exists even on freestanding compilers. */
32543 # include <limits.h>
32545 # include <assert.h>
32550 /* Override any gcc2 internal prototype to avoid an error. */
32555 /* We use char because int might match the return type of a gcc2
32556 builtin and then its argument prototype would still apply. */
32558 /* The GNU C library defines this for functions which it implements
32559 to always fail with ENOSYS. Some functions are actually named
32560 something starting with __ and the normal name is an alias. */
32561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32564 char (*f) () = $ac_func;
32573 return f != $ac_func;
32578 rm -f conftest.
$ac_objext conftest
$ac_exeext
32579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32580 (eval $ac_link) 2>conftest.er1
32582 grep -v '^ *+' conftest.er1
>conftest.err
32584 cat conftest.err
>&5
32585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32586 (exit $ac_status); } &&
32587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32589 (eval $ac_try) 2>&5
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); }; } &&
32593 { ac_try
='test -s conftest$ac_exeext'
32594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32595 (eval $ac_try) 2>&5
32597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 (exit $ac_status); }; }; then
32599 eval "$as_ac_var=yes"
32601 echo "$as_me: failed program was:" >&5
32602 sed 's/^/| /' conftest.
$ac_ext >&5
32604 eval "$as_ac_var=no"
32606 rm -f conftest.err conftest.
$ac_objext \
32607 conftest
$ac_exeext conftest.
$ac_ext
32609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32611 if test `eval echo '${'$as_ac_var'}'` = yes; then
32612 cat >>confdefs.h
<<_ACEOF
32613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32615 cat >>confdefs.h
<<\_ACEOF
32616 #define HAVE_USLEEP 1
32620 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32621 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32639 for ac_func
in uname gethostname
32641 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32642 echo "$as_me:$LINENO: checking for $ac_func" >&5
32643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32644 if eval "test \"\${$as_ac_var+set}\" = set"; then
32645 echo $ECHO_N "(cached) $ECHO_C" >&6
32647 cat >conftest.
$ac_ext <<_ACEOF
32650 cat confdefs.h
>>conftest.
$ac_ext
32651 cat >>conftest.
$ac_ext <<_ACEOF
32652 /* end confdefs.h. */
32653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32655 #define $ac_func innocuous_$ac_func
32657 /* System header to define __stub macros and hopefully few prototypes,
32658 which can conflict with char $ac_func (); below.
32659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32660 <limits.h> exists even on freestanding compilers. */
32663 # include <limits.h>
32665 # include <assert.h>
32670 /* Override any gcc2 internal prototype to avoid an error. */
32675 /* We use char because int might match the return type of a gcc2
32676 builtin and then its argument prototype would still apply. */
32678 /* The GNU C library defines this for functions which it implements
32679 to always fail with ENOSYS. Some functions are actually named
32680 something starting with __ and the normal name is an alias. */
32681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32684 char (*f) () = $ac_func;
32693 return f != $ac_func;
32698 rm -f conftest.
$ac_objext conftest
$ac_exeext
32699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32700 (eval $ac_link) 2>conftest.er1
32702 grep -v '^ *+' conftest.er1
>conftest.err
32704 cat conftest.err
>&5
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); } &&
32707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32709 (eval $ac_try) 2>&5
32711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32712 (exit $ac_status); }; } &&
32713 { ac_try
='test -s conftest$ac_exeext'
32714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32715 (eval $ac_try) 2>&5
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); }; }; then
32719 eval "$as_ac_var=yes"
32721 echo "$as_me: failed program was:" >&5
32722 sed 's/^/| /' conftest.
$ac_ext >&5
32724 eval "$as_ac_var=no"
32726 rm -f conftest.err conftest.
$ac_objext \
32727 conftest
$ac_exeext conftest.
$ac_ext
32729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32731 if test `eval echo '${'$as_ac_var'}'` = yes; then
32732 cat >>confdefs.h
<<_ACEOF
32733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32743 ac_cpp
='$CXXCPP $CPPFLAGS'
32744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32750 for ac_func
in strtok_r
32752 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32753 echo "$as_me:$LINENO: checking for $ac_func" >&5
32754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32755 if eval "test \"\${$as_ac_var+set}\" = set"; then
32756 echo $ECHO_N "(cached) $ECHO_C" >&6
32758 cat >conftest.
$ac_ext <<_ACEOF
32761 cat confdefs.h
>>conftest.
$ac_ext
32762 cat >>conftest.
$ac_ext <<_ACEOF
32763 /* end confdefs.h. */
32764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32766 #define $ac_func innocuous_$ac_func
32768 /* System header to define __stub macros and hopefully few prototypes,
32769 which can conflict with char $ac_func (); below.
32770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32771 <limits.h> exists even on freestanding compilers. */
32774 # include <limits.h>
32776 # include <assert.h>
32781 /* Override any gcc2 internal prototype to avoid an error. */
32786 /* We use char because int might match the return type of a gcc2
32787 builtin and then its argument prototype would still apply. */
32789 /* The GNU C library defines this for functions which it implements
32790 to always fail with ENOSYS. Some functions are actually named
32791 something starting with __ and the normal name is an alias. */
32792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32795 char (*f) () = $ac_func;
32804 return f != $ac_func;
32809 rm -f conftest.
$ac_objext conftest
$ac_exeext
32810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32811 (eval $ac_link) 2>conftest.er1
32813 grep -v '^ *+' conftest.er1
>conftest.err
32815 cat conftest.err
>&5
32816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32817 (exit $ac_status); } &&
32818 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32820 (eval $ac_try) 2>&5
32822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32823 (exit $ac_status); }; } &&
32824 { ac_try
='test -s conftest$ac_exeext'
32825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32826 (eval $ac_try) 2>&5
32828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32829 (exit $ac_status); }; }; then
32830 eval "$as_ac_var=yes"
32832 echo "$as_me: failed program was:" >&5
32833 sed 's/^/| /' conftest.
$ac_ext >&5
32835 eval "$as_ac_var=no"
32837 rm -f conftest.err conftest.
$ac_objext \
32838 conftest
$ac_exeext conftest.
$ac_ext
32840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32842 if test `eval echo '${'$as_ac_var'}'` = yes; then
32843 cat >>confdefs.h
<<_ACEOF
32844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32852 ac_cpp
='$CPP $CPPFLAGS'
32853 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32854 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32855 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32860 for ac_func
in inet_addr
32862 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32863 echo "$as_me:$LINENO: checking for $ac_func" >&5
32864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32865 if eval "test \"\${$as_ac_var+set}\" = set"; then
32866 echo $ECHO_N "(cached) $ECHO_C" >&6
32868 cat >conftest.
$ac_ext <<_ACEOF
32871 cat confdefs.h
>>conftest.
$ac_ext
32872 cat >>conftest.
$ac_ext <<_ACEOF
32873 /* end confdefs.h. */
32874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32876 #define $ac_func innocuous_$ac_func
32878 /* System header to define __stub macros and hopefully few prototypes,
32879 which can conflict with char $ac_func (); below.
32880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32881 <limits.h> exists even on freestanding compilers. */
32884 # include <limits.h>
32886 # include <assert.h>
32891 /* Override any gcc2 internal prototype to avoid an error. */
32896 /* We use char because int might match the return type of a gcc2
32897 builtin and then its argument prototype would still apply. */
32899 /* The GNU C library defines this for functions which it implements
32900 to always fail with ENOSYS. Some functions are actually named
32901 something starting with __ and the normal name is an alias. */
32902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32905 char (*f) () = $ac_func;
32914 return f != $ac_func;
32919 rm -f conftest.
$ac_objext conftest
$ac_exeext
32920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32921 (eval $ac_link) 2>conftest.er1
32923 grep -v '^ *+' conftest.er1
>conftest.err
32925 cat conftest.err
>&5
32926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927 (exit $ac_status); } &&
32928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32930 (eval $ac_try) 2>&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); }; } &&
32934 { ac_try
='test -s conftest$ac_exeext'
32935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32936 (eval $ac_try) 2>&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); }; }; then
32940 eval "$as_ac_var=yes"
32942 echo "$as_me: failed program was:" >&5
32943 sed 's/^/| /' conftest.
$ac_ext >&5
32945 eval "$as_ac_var=no"
32947 rm -f conftest.err conftest.
$ac_objext \
32948 conftest
$ac_exeext conftest.
$ac_ext
32950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32952 if test `eval echo '${'$as_ac_var'}'` = yes; then
32953 cat >>confdefs.h
<<_ACEOF
32954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32956 cat >>confdefs.h
<<\_ACEOF
32957 #define HAVE_INET_ADDR 1
32962 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32963 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32964 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32967 ac_check_lib_save_LIBS
=$LIBS
32969 cat >conftest.
$ac_ext <<_ACEOF
32972 cat confdefs.h
>>conftest.
$ac_ext
32973 cat >>conftest.
$ac_ext <<_ACEOF
32974 /* end confdefs.h. */
32976 /* Override any gcc2 internal prototype to avoid an error. */
32980 /* We use char because int might match the return type of a gcc2
32981 builtin and then its argument prototype would still apply. */
32991 rm -f conftest.
$ac_objext conftest
$ac_exeext
32992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32993 (eval $ac_link) 2>conftest.er1
32995 grep -v '^ *+' conftest.er1
>conftest.err
32997 cat conftest.err
>&5
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); } &&
33000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33002 (eval $ac_try) 2>&5
33004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005 (exit $ac_status); }; } &&
33006 { ac_try
='test -s conftest$ac_exeext'
33007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33008 (eval $ac_try) 2>&5
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); }; }; then
33012 ac_cv_lib_nsl_inet_addr
=yes
33014 echo "$as_me: failed program was:" >&5
33015 sed 's/^/| /' conftest.
$ac_ext >&5
33017 ac_cv_lib_nsl_inet_addr
=no
33019 rm -f conftest.err conftest.
$ac_objext \
33020 conftest
$ac_exeext conftest.
$ac_ext
33021 LIBS
=$ac_check_lib_save_LIBS
33023 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33024 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33025 if test $ac_cv_lib_nsl_inet_addr = yes; then
33029 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33030 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33031 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33032 echo $ECHO_N "(cached) $ECHO_C" >&6
33034 ac_check_lib_save_LIBS
=$LIBS
33035 LIBS
="-lresolv $LIBS"
33036 cat >conftest.
$ac_ext <<_ACEOF
33039 cat confdefs.h
>>conftest.
$ac_ext
33040 cat >>conftest.
$ac_ext <<_ACEOF
33041 /* end confdefs.h. */
33043 /* Override any gcc2 internal prototype to avoid an error. */
33047 /* We use char because int might match the return type of a gcc2
33048 builtin and then its argument prototype would still apply. */
33058 rm -f conftest.
$ac_objext conftest
$ac_exeext
33059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33060 (eval $ac_link) 2>conftest.er1
33062 grep -v '^ *+' conftest.er1
>conftest.err
33064 cat conftest.err
>&5
33065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066 (exit $ac_status); } &&
33067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33069 (eval $ac_try) 2>&5
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); }; } &&
33073 { ac_try
='test -s conftest$ac_exeext'
33074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33075 (eval $ac_try) 2>&5
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); }; }; then
33079 ac_cv_lib_resolv_inet_addr
=yes
33081 echo "$as_me: failed program was:" >&5
33082 sed 's/^/| /' conftest.
$ac_ext >&5
33084 ac_cv_lib_resolv_inet_addr
=no
33086 rm -f conftest.err conftest.
$ac_objext \
33087 conftest
$ac_exeext conftest.
$ac_ext
33088 LIBS
=$ac_check_lib_save_LIBS
33090 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33091 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33092 if test $ac_cv_lib_resolv_inet_addr = yes; then
33096 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33097 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33098 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33099 echo $ECHO_N "(cached) $ECHO_C" >&6
33101 ac_check_lib_save_LIBS
=$LIBS
33102 LIBS
="-lsocket $LIBS"
33103 cat >conftest.
$ac_ext <<_ACEOF
33106 cat confdefs.h
>>conftest.
$ac_ext
33107 cat >>conftest.
$ac_ext <<_ACEOF
33108 /* end confdefs.h. */
33110 /* Override any gcc2 internal prototype to avoid an error. */
33114 /* We use char because int might match the return type of a gcc2
33115 builtin and then its argument prototype would still apply. */
33125 rm -f conftest.
$ac_objext conftest
$ac_exeext
33126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33127 (eval $ac_link) 2>conftest.er1
33129 grep -v '^ *+' conftest.er1
>conftest.err
33131 cat conftest.err
>&5
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); } &&
33134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; } &&
33140 { ac_try
='test -s conftest$ac_exeext'
33141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33142 (eval $ac_try) 2>&5
33144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145 (exit $ac_status); }; }; then
33146 ac_cv_lib_socket_inet_addr
=yes
33148 echo "$as_me: failed program was:" >&5
33149 sed 's/^/| /' conftest.
$ac_ext >&5
33151 ac_cv_lib_socket_inet_addr
=no
33153 rm -f conftest.err conftest.
$ac_objext \
33154 conftest
$ac_exeext conftest.
$ac_ext
33155 LIBS
=$ac_check_lib_save_LIBS
33157 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33158 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33159 if test $ac_cv_lib_socket_inet_addr = yes; then
33179 for ac_func
in inet_aton
33181 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33182 echo "$as_me:$LINENO: checking for $ac_func" >&5
33183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33184 if eval "test \"\${$as_ac_var+set}\" = set"; then
33185 echo $ECHO_N "(cached) $ECHO_C" >&6
33187 cat >conftest.
$ac_ext <<_ACEOF
33190 cat confdefs.h
>>conftest.
$ac_ext
33191 cat >>conftest.
$ac_ext <<_ACEOF
33192 /* end confdefs.h. */
33193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33195 #define $ac_func innocuous_$ac_func
33197 /* System header to define __stub macros and hopefully few prototypes,
33198 which can conflict with char $ac_func (); below.
33199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33200 <limits.h> exists even on freestanding compilers. */
33203 # include <limits.h>
33205 # include <assert.h>
33210 /* Override any gcc2 internal prototype to avoid an error. */
33215 /* We use char because int might match the return type of a gcc2
33216 builtin and then its argument prototype would still apply. */
33218 /* The GNU C library defines this for functions which it implements
33219 to always fail with ENOSYS. Some functions are actually named
33220 something starting with __ and the normal name is an alias. */
33221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33224 char (*f) () = $ac_func;
33233 return f != $ac_func;
33238 rm -f conftest.
$ac_objext conftest
$ac_exeext
33239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33240 (eval $ac_link) 2>conftest.er1
33242 grep -v '^ *+' conftest.er1
>conftest.err
33244 cat conftest.err
>&5
33245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33246 (exit $ac_status); } &&
33247 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33249 (eval $ac_try) 2>&5
33251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33252 (exit $ac_status); }; } &&
33253 { ac_try
='test -s conftest$ac_exeext'
33254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33255 (eval $ac_try) 2>&5
33257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33258 (exit $ac_status); }; }; then
33259 eval "$as_ac_var=yes"
33261 echo "$as_me: failed program was:" >&5
33262 sed 's/^/| /' conftest.
$ac_ext >&5
33264 eval "$as_ac_var=no"
33266 rm -f conftest.err conftest.
$ac_objext \
33267 conftest
$ac_exeext conftest.
$ac_ext
33269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33271 if test `eval echo '${'$as_ac_var'}'` = yes; then
33272 cat >>confdefs.h
<<_ACEOF
33273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33275 cat >>confdefs.h
<<\_ACEOF
33276 #define HAVE_INET_ATON 1
33281 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33282 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33283 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33284 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33285 echo $ECHO_N "(cached) $ECHO_C" >&6
33287 ac_check_lib_save_LIBS
=$LIBS
33288 LIBS
="-l$INET_LINK $LIBS"
33289 cat >conftest.
$ac_ext <<_ACEOF
33292 cat confdefs.h
>>conftest.
$ac_ext
33293 cat >>conftest.
$ac_ext <<_ACEOF
33294 /* end confdefs.h. */
33296 /* Override any gcc2 internal prototype to avoid an error. */
33300 /* We use char because int might match the return type of a gcc2
33301 builtin and then its argument prototype would still apply. */
33311 rm -f conftest.
$ac_objext conftest
$ac_exeext
33312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33313 (eval $ac_link) 2>conftest.er1
33315 grep -v '^ *+' conftest.er1
>conftest.err
33317 cat conftest.err
>&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); } &&
33320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33322 (eval $ac_try) 2>&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); }; } &&
33326 { ac_try
='test -s conftest$ac_exeext'
33327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33328 (eval $ac_try) 2>&5
33330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33331 (exit $ac_status); }; }; then
33332 eval "$as_ac_Lib=yes"
33334 echo "$as_me: failed program was:" >&5
33335 sed 's/^/| /' conftest.
$ac_ext >&5
33337 eval "$as_ac_Lib=no"
33339 rm -f conftest.err conftest.
$ac_objext \
33340 conftest
$ac_exeext conftest.
$ac_ext
33341 LIBS
=$ac_check_lib_save_LIBS
33343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33344 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33345 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33346 cat >>confdefs.h
<<\_ACEOF
33347 #define HAVE_INET_ATON 1
33357 if test "x$INET_LINK" != "x"; then
33358 cat >>confdefs.h
<<\_ACEOF
33359 #define HAVE_INET_ADDR 1
33362 INET_LINK
=" -l$INET_LINK"
33370 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33371 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33372 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33375 ac_check_lib_save_LIBS
=$LIBS
33377 cat >conftest.
$ac_ext <<_ACEOF
33380 cat confdefs.h
>>conftest.
$ac_ext
33381 cat >>conftest.
$ac_ext <<_ACEOF
33382 /* end confdefs.h. */
33384 /* Override any gcc2 internal prototype to avoid an error. */
33388 /* We use char because int might match the return type of a gcc2
33389 builtin and then its argument prototype would still apply. */
33399 rm -f conftest.
$ac_objext conftest
$ac_exeext
33400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33401 (eval $ac_link) 2>conftest.er1
33403 grep -v '^ *+' conftest.er1
>conftest.err
33405 cat conftest.err
>&5
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); } &&
33408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; } &&
33414 { ac_try
='test -s conftest$ac_exeext'
33415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33416 (eval $ac_try) 2>&5
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); }; }; then
33420 ac_cv_lib_esd_esd_close
=yes
33422 echo "$as_me: failed program was:" >&5
33423 sed 's/^/| /' conftest.
$ac_ext >&5
33425 ac_cv_lib_esd_esd_close
=no
33427 rm -f conftest.err conftest.
$ac_objext \
33428 conftest
$ac_exeext conftest.
$ac_ext
33429 LIBS
=$ac_check_lib_save_LIBS
33431 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33432 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33433 if test $ac_cv_lib_esd_esd_close = yes; then
33436 for ac_header
in esd.h
33438 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33440 echo "$as_me:$LINENO: checking for $ac_header" >&5
33441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33443 echo $ECHO_N "(cached) $ECHO_C" >&6
33445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33448 # Is the header compilable?
33449 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33450 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33451 cat >conftest.
$ac_ext <<_ACEOF
33454 cat confdefs.h
>>conftest.
$ac_ext
33455 cat >>conftest.
$ac_ext <<_ACEOF
33456 /* end confdefs.h. */
33457 $ac_includes_default
33458 #include <$ac_header>
33460 rm -f conftest.
$ac_objext
33461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33462 (eval $ac_compile) 2>conftest.er1
33464 grep -v '^ *+' conftest.er1
>conftest.err
33466 cat conftest.err
>&5
33467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33468 (exit $ac_status); } &&
33469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33471 (eval $ac_try) 2>&5
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); }; } &&
33475 { ac_try
='test -s conftest.$ac_objext'
33476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33477 (eval $ac_try) 2>&5
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); }; }; then
33481 ac_header_compiler
=yes
33483 echo "$as_me: failed program was:" >&5
33484 sed 's/^/| /' conftest.
$ac_ext >&5
33486 ac_header_compiler
=no
33488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33489 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33490 echo "${ECHO_T}$ac_header_compiler" >&6
33492 # Is the header present?
33493 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33494 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33495 cat >conftest.
$ac_ext <<_ACEOF
33498 cat confdefs.h
>>conftest.
$ac_ext
33499 cat >>conftest.
$ac_ext <<_ACEOF
33500 /* end confdefs.h. */
33501 #include <$ac_header>
33503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33504 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33506 grep -v '^ *+' conftest.er1
>conftest.err
33508 cat conftest.err
>&5
33509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510 (exit $ac_status); } >/dev
/null
; then
33511 if test -s conftest.err
; then
33512 ac_cpp_err
=$ac_c_preproc_warn_flag
33513 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33520 if test -z "$ac_cpp_err"; then
33521 ac_header_preproc
=yes
33523 echo "$as_me: failed program was:" >&5
33524 sed 's/^/| /' conftest.
$ac_ext >&5
33526 ac_header_preproc
=no
33528 rm -f conftest.err conftest.
$ac_ext
33529 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33530 echo "${ECHO_T}$ac_header_preproc" >&6
33532 # So? What about this header?
33533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33535 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33536 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33538 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33539 ac_header_preproc
=yes
33542 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33543 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33544 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33545 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33546 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33547 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33548 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33549 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33552 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33553 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33556 ## ----------------------------------------- ##
33557 ## Report this to wx-dev@lists.wxwidgets.org ##
33558 ## ----------------------------------------- ##
33561 sed "s/^/$as_me: WARNING: /" >&2
33564 echo "$as_me:$LINENO: checking for $ac_header" >&5
33565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33567 echo $ECHO_N "(cached) $ECHO_C" >&6
33569 eval "$as_ac_Header=\$ac_header_preproc"
33571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33576 cat >>confdefs.h
<<_ACEOF
33577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33580 EXTRALIBS_ESD
="-lesd"
33591 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33592 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33593 cat >conftest.
$ac_ext <<_ACEOF
33596 cat confdefs.h
>>conftest.
$ac_ext
33597 cat >>conftest.
$ac_ext <<_ACEOF
33598 /* end confdefs.h. */
33600 #include <linux/cdrom.h>
33603 #include <sys/cdio.h>
33609 struct cdrom_tocentry entry, old_entry;
33614 rm -f conftest.
$ac_objext
33615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33616 (eval $ac_compile) 2>conftest.er1
33618 grep -v '^ *+' conftest.er1
>conftest.err
33620 cat conftest.err
>&5
33621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33622 (exit $ac_status); } &&
33623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33625 (eval $ac_try) 2>&5
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); }; } &&
33629 { ac_try
='test -s conftest.$ac_objext'
33630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33631 (eval $ac_try) 2>&5
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); }; }; then
33635 echo "$as_me:$LINENO: result: yes" >&5
33636 echo "${ECHO_T}yes" >&6
33637 cat >>confdefs.h
<<\_ACEOF
33638 #define HAVE_KNOWN_CDROM_INTERFACE 1
33642 echo "$as_me: failed program was:" >&5
33643 sed 's/^/| /' conftest.
$ac_ext >&5
33645 echo "$as_me:$LINENO: result: no" >&5
33646 echo "${ECHO_T}no" >&6
33648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33651 cat >confcache
<<\_ACEOF
33652 # This file is a shell script that caches the results of configure
33653 # tests run on this system so they can be shared between configure
33654 # scripts and configure runs, see configure's option --config-cache.
33655 # It is not useful on other systems. If it contains results you don't
33656 # want to keep, you may remove or edit it.
33658 # config.status only pays attention to the cache file if you give it
33659 # the --recheck option to rerun configure.
33661 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33662 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33663 # following values.
33667 # The following way of writing the cache mishandles newlines in values,
33668 # but we know of no workaround that is simple, portable, and efficient.
33669 # So, don't put newlines in cache variables' values.
33670 # Ultrix sh set writes to stderr and can't be redirected directly,
33671 # and sets the high bit in the cache file unless we assign to the vars.
33674 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33676 # `set' does not quote correctly, so add quotes (double-quote
33677 # substitution turns \\\\ into \\, and sed turns \\ into \).
33680 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33683 # `set' quotes correctly as required by POSIX, so do not add quotes.
33685 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33692 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33694 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33696 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
33697 if test -w $cache_file; then
33698 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33699 cat confcache
>$cache_file
33701 echo "not updating unwritable cache $cache_file"
33708 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33714 if test "$wxUSE_THREADS" = "yes" ; then
33715 if test "$USE_BEOS" = 1; then
33716 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33717 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33722 if test "$wxUSE_THREADS" = "yes" ; then
33725 THREAD_OPTS
="-pthread"
33727 *-*-solaris2* | *-*-sunos4* )
33728 if test "x$GCC" = "xyes"; then
33729 THREAD_OPTS
="-pthreads $THREAD_OPTS"
33731 THREAD_OPTS
="-mt $THREAD_OPTS"
33735 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
33737 *-*-darwin* | *-*-cygwin* )
33741 THREAD_OPTS
="pthreads"
33744 if test "x$GCC" != "xyes"; then
33750 if test "x$GCC" = "xyes"; then
33756 if test "x$GCC" != "xyes"; then
33757 THREAD_OPTS
="-Ethread"
33762 THREAD_OPTS
="$THREAD_OPTS pthread none"
33765 for flag
in $THREAD_OPTS; do
33768 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33769 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33773 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33774 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33775 THREADS_CFLAGS
="$flag"
33779 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33780 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33781 THREADS_LINK
="-l$flag"
33786 save_CFLAGS
="$CFLAGS"
33787 LIBS
="$THREADS_LINK $LIBS"
33788 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
33790 cat >conftest.
$ac_ext <<_ACEOF
33793 cat confdefs.h
>>conftest.
$ac_ext
33794 cat >>conftest.
$ac_ext <<_ACEOF
33795 /* end confdefs.h. */
33796 #include <pthread.h>
33800 pthread_create(0,0,0,0);
33805 rm -f conftest.
$ac_objext conftest
$ac_exeext
33806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33807 (eval $ac_link) 2>conftest.er1
33809 grep -v '^ *+' conftest.er1
>conftest.err
33811 cat conftest.err
>&5
33812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33813 (exit $ac_status); } &&
33814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33816 (eval $ac_try) 2>&5
33818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33819 (exit $ac_status); }; } &&
33820 { ac_try
='test -s conftest$ac_exeext'
33821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33822 (eval $ac_try) 2>&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); }; }; then
33828 echo "$as_me: failed program was:" >&5
33829 sed 's/^/| /' conftest.
$ac_ext >&5
33832 rm -f conftest.err conftest.
$ac_objext \
33833 conftest
$ac_exeext conftest.
$ac_ext
33836 CFLAGS
="$save_CFLAGS"
33838 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33839 echo "${ECHO_T}$THREADS_OK" >&6
33840 if test "x$THREADS_OK" = "xyes"; then
33848 if test "x$THREADS_OK" != "xyes"; then
33850 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33851 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33853 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
33854 LIBS
="$THREADS_LINK $LIBS"
33856 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33857 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33861 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
33862 flag
="-D_THREAD_SAFE"
33865 flag
="-D_THREAD_SAFE"
33868 flag
="-D_REENTRANT"
33869 if test "x$GCC" != "xyes"; then
33870 flag
="$flag -D_RWSTD_MULTI_THREAD"
33873 *solaris
* | alpha
*-osf*)
33874 flag
="-D_REENTRANT"
33877 echo "$as_me:$LINENO: result: ${flag}" >&5
33878 echo "${ECHO_T}${flag}" >&6
33879 if test "x$flag" != xno
; then
33880 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
33883 if test "x$THREADS_CFLAGS" != "x"; then
33884 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
33885 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
33890 if test "$wxUSE_THREADS" = "yes" ; then
33892 for ac_func
in thr_setconcurrency
33894 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33895 echo "$as_me:$LINENO: checking for $ac_func" >&5
33896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33897 if eval "test \"\${$as_ac_var+set}\" = set"; then
33898 echo $ECHO_N "(cached) $ECHO_C" >&6
33900 cat >conftest.
$ac_ext <<_ACEOF
33903 cat confdefs.h
>>conftest.
$ac_ext
33904 cat >>conftest.
$ac_ext <<_ACEOF
33905 /* end confdefs.h. */
33906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33908 #define $ac_func innocuous_$ac_func
33910 /* System header to define __stub macros and hopefully few prototypes,
33911 which can conflict with char $ac_func (); below.
33912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33913 <limits.h> exists even on freestanding compilers. */
33916 # include <limits.h>
33918 # include <assert.h>
33923 /* Override any gcc2 internal prototype to avoid an error. */
33928 /* We use char because int might match the return type of a gcc2
33929 builtin and then its argument prototype would still apply. */
33931 /* The GNU C library defines this for functions which it implements
33932 to always fail with ENOSYS. Some functions are actually named
33933 something starting with __ and the normal name is an alias. */
33934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33937 char (*f) () = $ac_func;
33946 return f != $ac_func;
33951 rm -f conftest.
$ac_objext conftest
$ac_exeext
33952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33953 (eval $ac_link) 2>conftest.er1
33955 grep -v '^ *+' conftest.er1
>conftest.err
33957 cat conftest.err
>&5
33958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33959 (exit $ac_status); } &&
33960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33962 (eval $ac_try) 2>&5
33964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965 (exit $ac_status); }; } &&
33966 { ac_try
='test -s conftest$ac_exeext'
33967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33968 (eval $ac_try) 2>&5
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); }; }; then
33972 eval "$as_ac_var=yes"
33974 echo "$as_me: failed program was:" >&5
33975 sed 's/^/| /' conftest.
$ac_ext >&5
33977 eval "$as_ac_var=no"
33979 rm -f conftest.err conftest.
$ac_objext \
33980 conftest
$ac_exeext conftest.
$ac_ext
33982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33984 if test `eval echo '${'$as_ac_var'}'` = yes; then
33985 cat >>confdefs.h
<<_ACEOF
33986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33994 for ac_header
in sched.h
33996 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33998 echo "$as_me:$LINENO: checking for $ac_header" >&5
33999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34001 echo $ECHO_N "(cached) $ECHO_C" >&6
34003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34006 # Is the header compilable?
34007 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34008 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34009 cat >conftest.
$ac_ext <<_ACEOF
34012 cat confdefs.h
>>conftest.
$ac_ext
34013 cat >>conftest.
$ac_ext <<_ACEOF
34014 /* end confdefs.h. */
34015 $ac_includes_default
34016 #include <$ac_header>
34018 rm -f conftest.
$ac_objext
34019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34020 (eval $ac_compile) 2>conftest.er1
34022 grep -v '^ *+' conftest.er1
>conftest.err
34024 cat conftest.err
>&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); } &&
34027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029 (eval $ac_try) 2>&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); }; } &&
34033 { ac_try
='test -s conftest.$ac_objext'
34034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34035 (eval $ac_try) 2>&5
34037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34038 (exit $ac_status); }; }; then
34039 ac_header_compiler
=yes
34041 echo "$as_me: failed program was:" >&5
34042 sed 's/^/| /' conftest.
$ac_ext >&5
34044 ac_header_compiler
=no
34046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34048 echo "${ECHO_T}$ac_header_compiler" >&6
34050 # Is the header present?
34051 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34052 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34053 cat >conftest.
$ac_ext <<_ACEOF
34056 cat confdefs.h
>>conftest.
$ac_ext
34057 cat >>conftest.
$ac_ext <<_ACEOF
34058 /* end confdefs.h. */
34059 #include <$ac_header>
34061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34062 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34064 grep -v '^ *+' conftest.er1
>conftest.err
34066 cat conftest.err
>&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); } >/dev
/null
; then
34069 if test -s conftest.err
; then
34070 ac_cpp_err
=$ac_c_preproc_warn_flag
34071 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34078 if test -z "$ac_cpp_err"; then
34079 ac_header_preproc
=yes
34081 echo "$as_me: failed program was:" >&5
34082 sed 's/^/| /' conftest.
$ac_ext >&5
34084 ac_header_preproc
=no
34086 rm -f conftest.err conftest.
$ac_ext
34087 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34088 echo "${ECHO_T}$ac_header_preproc" >&6
34090 # So? What about this header?
34091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34093 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34094 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34096 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34097 ac_header_preproc
=yes
34100 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34101 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34102 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34103 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34104 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34105 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34106 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34107 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34110 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34111 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34114 ## ----------------------------------------- ##
34115 ## Report this to wx-dev@lists.wxwidgets.org ##
34116 ## ----------------------------------------- ##
34119 sed "s/^/$as_me: WARNING: /" >&2
34122 echo "$as_me:$LINENO: checking for $ac_header" >&5
34123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34125 echo $ECHO_N "(cached) $ECHO_C" >&6
34127 eval "$as_ac_Header=\$ac_header_preproc"
34129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34134 cat >>confdefs.h
<<_ACEOF
34135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34142 if test "$ac_cv_header_sched_h" = "yes"; then
34143 echo "$as_me:$LINENO: checking for sched_yield" >&5
34144 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34145 if test "${ac_cv_func_sched_yield+set}" = set; then
34146 echo $ECHO_N "(cached) $ECHO_C" >&6
34148 cat >conftest.
$ac_ext <<_ACEOF
34151 cat confdefs.h
>>conftest.
$ac_ext
34152 cat >>conftest.
$ac_ext <<_ACEOF
34153 /* end confdefs.h. */
34154 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34156 #define sched_yield innocuous_sched_yield
34158 /* System header to define __stub macros and hopefully few prototypes,
34159 which can conflict with char sched_yield (); below.
34160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34161 <limits.h> exists even on freestanding compilers. */
34164 # include <limits.h>
34166 # include <assert.h>
34171 /* Override any gcc2 internal prototype to avoid an error. */
34176 /* We use char because int might match the return type of a gcc2
34177 builtin and then its argument prototype would still apply. */
34178 char sched_yield ();
34179 /* The GNU C library defines this for functions which it implements
34180 to always fail with ENOSYS. Some functions are actually named
34181 something starting with __ and the normal name is an alias. */
34182 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34185 char (*f) () = sched_yield;
34194 return f != sched_yield;
34199 rm -f conftest.
$ac_objext conftest
$ac_exeext
34200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34201 (eval $ac_link) 2>conftest.er1
34203 grep -v '^ *+' conftest.er1
>conftest.err
34205 cat conftest.err
>&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); } &&
34208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34210 (eval $ac_try) 2>&5
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); }; } &&
34214 { ac_try
='test -s conftest$ac_exeext'
34215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34216 (eval $ac_try) 2>&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); }; }; then
34220 ac_cv_func_sched_yield
=yes
34222 echo "$as_me: failed program was:" >&5
34223 sed 's/^/| /' conftest.
$ac_ext >&5
34225 ac_cv_func_sched_yield
=no
34227 rm -f conftest.err conftest.
$ac_objext \
34228 conftest
$ac_exeext conftest.
$ac_ext
34230 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34231 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34232 if test $ac_cv_func_sched_yield = yes; then
34233 cat >>confdefs.h
<<\_ACEOF
34234 #define HAVE_SCHED_YIELD 1
34239 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34240 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34241 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34242 echo $ECHO_N "(cached) $ECHO_C" >&6
34244 ac_check_lib_save_LIBS
=$LIBS
34245 LIBS
="-lposix4 $LIBS"
34246 cat >conftest.
$ac_ext <<_ACEOF
34249 cat confdefs.h
>>conftest.
$ac_ext
34250 cat >>conftest.
$ac_ext <<_ACEOF
34251 /* end confdefs.h. */
34253 /* Override any gcc2 internal prototype to avoid an error. */
34257 /* We use char because int might match the return type of a gcc2
34258 builtin and then its argument prototype would still apply. */
34259 char sched_yield ();
34268 rm -f conftest.
$ac_objext conftest
$ac_exeext
34269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34270 (eval $ac_link) 2>conftest.er1
34272 grep -v '^ *+' conftest.er1
>conftest.err
34274 cat conftest.err
>&5
34275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34276 (exit $ac_status); } &&
34277 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34279 (eval $ac_try) 2>&5
34281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34282 (exit $ac_status); }; } &&
34283 { ac_try
='test -s conftest$ac_exeext'
34284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34285 (eval $ac_try) 2>&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); }; }; then
34289 ac_cv_lib_posix4_sched_yield
=yes
34291 echo "$as_me: failed program was:" >&5
34292 sed 's/^/| /' conftest.
$ac_ext >&5
34294 ac_cv_lib_posix4_sched_yield
=no
34296 rm -f conftest.err conftest.
$ac_objext \
34297 conftest
$ac_exeext conftest.
$ac_ext
34298 LIBS
=$ac_check_lib_save_LIBS
34300 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34301 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34302 if test $ac_cv_lib_posix4_sched_yield = yes; then
34303 cat >>confdefs.h
<<\_ACEOF
34304 #define HAVE_SCHED_YIELD 1
34306 POSIX4_LINK
=" -lposix4"
34308 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34309 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34320 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34321 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34322 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34323 echo $ECHO_N "(cached) $ECHO_C" >&6
34325 cat >conftest.
$ac_ext <<_ACEOF
34328 cat confdefs.h
>>conftest.
$ac_ext
34329 cat >>conftest.
$ac_ext <<_ACEOF
34330 /* end confdefs.h. */
34331 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34333 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34335 /* System header to define __stub macros and hopefully few prototypes,
34336 which can conflict with char pthread_attr_getschedpolicy (); below.
34337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34338 <limits.h> exists even on freestanding compilers. */
34341 # include <limits.h>
34343 # include <assert.h>
34346 #undef pthread_attr_getschedpolicy
34348 /* Override any gcc2 internal prototype to avoid an error. */
34353 /* We use char because int might match the return type of a gcc2
34354 builtin and then its argument prototype would still apply. */
34355 char pthread_attr_getschedpolicy ();
34356 /* The GNU C library defines this for functions which it implements
34357 to always fail with ENOSYS. Some functions are actually named
34358 something starting with __ and the normal name is an alias. */
34359 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34362 char (*f) () = pthread_attr_getschedpolicy;
34371 return f != pthread_attr_getschedpolicy;
34376 rm -f conftest.
$ac_objext conftest
$ac_exeext
34377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34378 (eval $ac_link) 2>conftest.er1
34380 grep -v '^ *+' conftest.er1
>conftest.err
34382 cat conftest.err
>&5
34383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34384 (exit $ac_status); } &&
34385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34387 (eval $ac_try) 2>&5
34389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34390 (exit $ac_status); }; } &&
34391 { ac_try
='test -s conftest$ac_exeext'
34392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34393 (eval $ac_try) 2>&5
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); }; }; then
34397 ac_cv_func_pthread_attr_getschedpolicy
=yes
34399 echo "$as_me: failed program was:" >&5
34400 sed 's/^/| /' conftest.
$ac_ext >&5
34402 ac_cv_func_pthread_attr_getschedpolicy
=no
34404 rm -f conftest.err conftest.
$ac_objext \
34405 conftest
$ac_exeext conftest.
$ac_ext
34407 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34408 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34409 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34410 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34411 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34412 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34413 echo $ECHO_N "(cached) $ECHO_C" >&6
34415 cat >conftest.
$ac_ext <<_ACEOF
34418 cat confdefs.h
>>conftest.
$ac_ext
34419 cat >>conftest.
$ac_ext <<_ACEOF
34420 /* end confdefs.h. */
34421 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34423 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34425 /* System header to define __stub macros and hopefully few prototypes,
34426 which can conflict with char pthread_attr_setschedparam (); below.
34427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34428 <limits.h> exists even on freestanding compilers. */
34431 # include <limits.h>
34433 # include <assert.h>
34436 #undef pthread_attr_setschedparam
34438 /* Override any gcc2 internal prototype to avoid an error. */
34443 /* We use char because int might match the return type of a gcc2
34444 builtin and then its argument prototype would still apply. */
34445 char pthread_attr_setschedparam ();
34446 /* The GNU C library defines this for functions which it implements
34447 to always fail with ENOSYS. Some functions are actually named
34448 something starting with __ and the normal name is an alias. */
34449 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34452 char (*f) () = pthread_attr_setschedparam;
34461 return f != pthread_attr_setschedparam;
34466 rm -f conftest.
$ac_objext conftest
$ac_exeext
34467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34468 (eval $ac_link) 2>conftest.er1
34470 grep -v '^ *+' conftest.er1
>conftest.err
34472 cat conftest.err
>&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } &&
34475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34477 (eval $ac_try) 2>&5
34479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480 (exit $ac_status); }; } &&
34481 { ac_try
='test -s conftest$ac_exeext'
34482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34483 (eval $ac_try) 2>&5
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); }; }; then
34487 ac_cv_func_pthread_attr_setschedparam
=yes
34489 echo "$as_me: failed program was:" >&5
34490 sed 's/^/| /' conftest.
$ac_ext >&5
34492 ac_cv_func_pthread_attr_setschedparam
=no
34494 rm -f conftest.err conftest.
$ac_objext \
34495 conftest
$ac_exeext conftest.
$ac_ext
34497 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34498 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34499 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34500 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34501 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34502 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34503 echo $ECHO_N "(cached) $ECHO_C" >&6
34505 cat >conftest.
$ac_ext <<_ACEOF
34508 cat confdefs.h
>>conftest.
$ac_ext
34509 cat >>conftest.
$ac_ext <<_ACEOF
34510 /* end confdefs.h. */
34511 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34513 #define sched_get_priority_max innocuous_sched_get_priority_max
34515 /* System header to define __stub macros and hopefully few prototypes,
34516 which can conflict with char sched_get_priority_max (); below.
34517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34518 <limits.h> exists even on freestanding compilers. */
34521 # include <limits.h>
34523 # include <assert.h>
34526 #undef sched_get_priority_max
34528 /* Override any gcc2 internal prototype to avoid an error. */
34533 /* We use char because int might match the return type of a gcc2
34534 builtin and then its argument prototype would still apply. */
34535 char sched_get_priority_max ();
34536 /* The GNU C library defines this for functions which it implements
34537 to always fail with ENOSYS. Some functions are actually named
34538 something starting with __ and the normal name is an alias. */
34539 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34542 char (*f) () = sched_get_priority_max;
34551 return f != sched_get_priority_max;
34556 rm -f conftest.
$ac_objext conftest
$ac_exeext
34557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34558 (eval $ac_link) 2>conftest.er1
34560 grep -v '^ *+' conftest.er1
>conftest.err
34562 cat conftest.err
>&5
34563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564 (exit $ac_status); } &&
34565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34567 (eval $ac_try) 2>&5
34569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34570 (exit $ac_status); }; } &&
34571 { ac_try
='test -s conftest$ac_exeext'
34572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34573 (eval $ac_try) 2>&5
34575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34576 (exit $ac_status); }; }; then
34577 ac_cv_func_sched_get_priority_max
=yes
34579 echo "$as_me: failed program was:" >&5
34580 sed 's/^/| /' conftest.
$ac_ext >&5
34582 ac_cv_func_sched_get_priority_max
=no
34584 rm -f conftest.err conftest.
$ac_objext \
34585 conftest
$ac_exeext conftest.
$ac_ext
34587 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34588 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34589 if test $ac_cv_func_sched_get_priority_max = yes; then
34592 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34593 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34594 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34595 echo $ECHO_N "(cached) $ECHO_C" >&6
34597 ac_check_lib_save_LIBS
=$LIBS
34598 LIBS
="-lposix4 $LIBS"
34599 cat >conftest.
$ac_ext <<_ACEOF
34602 cat confdefs.h
>>conftest.
$ac_ext
34603 cat >>conftest.
$ac_ext <<_ACEOF
34604 /* end confdefs.h. */
34606 /* Override any gcc2 internal prototype to avoid an error. */
34610 /* We use char because int might match the return type of a gcc2
34611 builtin and then its argument prototype would still apply. */
34612 char sched_get_priority_max ();
34616 sched_get_priority_max ();
34621 rm -f conftest.
$ac_objext conftest
$ac_exeext
34622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34623 (eval $ac_link) 2>conftest.er1
34625 grep -v '^ *+' conftest.er1
>conftest.err
34627 cat conftest.err
>&5
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); } &&
34630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34632 (eval $ac_try) 2>&5
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); }; } &&
34636 { ac_try
='test -s conftest$ac_exeext'
34637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34638 (eval $ac_try) 2>&5
34640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34641 (exit $ac_status); }; }; then
34642 ac_cv_lib_posix4_sched_get_priority_max
=yes
34644 echo "$as_me: failed program was:" >&5
34645 sed 's/^/| /' conftest.
$ac_ext >&5
34647 ac_cv_lib_posix4_sched_get_priority_max
=no
34649 rm -f conftest.err conftest.
$ac_objext \
34650 conftest
$ac_exeext conftest.
$ac_ext
34651 LIBS
=$ac_check_lib_save_LIBS
34653 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34654 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34655 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34658 POSIX4_LINK
=" -lposix4"
34672 if test "$HAVE_PRIOR_FUNCS" = 1; then
34673 cat >>confdefs.h
<<\_ACEOF
34674 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34678 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34679 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34682 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34683 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34684 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34685 echo $ECHO_N "(cached) $ECHO_C" >&6
34687 cat >conftest.
$ac_ext <<_ACEOF
34690 cat confdefs.h
>>conftest.
$ac_ext
34691 cat >>conftest.
$ac_ext <<_ACEOF
34692 /* end confdefs.h. */
34693 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34695 #define pthread_cancel innocuous_pthread_cancel
34697 /* System header to define __stub macros and hopefully few prototypes,
34698 which can conflict with char pthread_cancel (); below.
34699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34700 <limits.h> exists even on freestanding compilers. */
34703 # include <limits.h>
34705 # include <assert.h>
34708 #undef pthread_cancel
34710 /* Override any gcc2 internal prototype to avoid an error. */
34715 /* We use char because int might match the return type of a gcc2
34716 builtin and then its argument prototype would still apply. */
34717 char pthread_cancel ();
34718 /* The GNU C library defines this for functions which it implements
34719 to always fail with ENOSYS. Some functions are actually named
34720 something starting with __ and the normal name is an alias. */
34721 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34724 char (*f) () = pthread_cancel;
34733 return f != pthread_cancel;
34738 rm -f conftest.
$ac_objext conftest
$ac_exeext
34739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34740 (eval $ac_link) 2>conftest.er1
34742 grep -v '^ *+' conftest.er1
>conftest.err
34744 cat conftest.err
>&5
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); } &&
34747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34749 (eval $ac_try) 2>&5
34751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752 (exit $ac_status); }; } &&
34753 { ac_try
='test -s conftest$ac_exeext'
34754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34755 (eval $ac_try) 2>&5
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); }; }; then
34759 ac_cv_func_pthread_cancel
=yes
34761 echo "$as_me: failed program was:" >&5
34762 sed 's/^/| /' conftest.
$ac_ext >&5
34764 ac_cv_func_pthread_cancel
=no
34766 rm -f conftest.err conftest.
$ac_objext \
34767 conftest
$ac_exeext conftest.
$ac_ext
34769 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34770 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34771 if test $ac_cv_func_pthread_cancel = yes; then
34772 cat >>confdefs.h
<<\_ACEOF
34773 #define HAVE_PTHREAD_CANCEL 1
34777 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34778 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34784 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34785 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34786 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34787 echo $ECHO_N "(cached) $ECHO_C" >&6
34790 cat >conftest.
$ac_ext <<_ACEOF
34793 cat confdefs.h
>>conftest.
$ac_ext
34794 cat >>conftest.
$ac_ext <<_ACEOF
34795 /* end confdefs.h. */
34796 #include <pthread.h>
34801 pthread_mutexattr_t attr;
34802 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34808 rm -f conftest.
$ac_objext
34809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34810 (eval $ac_compile) 2>conftest.er1
34812 grep -v '^ *+' conftest.er1
>conftest.err
34814 cat conftest.err
>&5
34815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34816 (exit $ac_status); } &&
34817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34819 (eval $ac_try) 2>&5
34821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34822 (exit $ac_status); }; } &&
34823 { ac_try
='test -s conftest.$ac_objext'
34824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34825 (eval $ac_try) 2>&5
34827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34828 (exit $ac_status); }; }; then
34830 wx_cv_type_pthread_mutexattr_t
=yes
34833 echo "$as_me: failed program was:" >&5
34834 sed 's/^/| /' conftest.
$ac_ext >&5
34837 wx_cv_type_pthread_mutexattr_t
=no
34841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34844 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34845 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34847 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34848 cat >>confdefs.h
<<\_ACEOF
34849 #define HAVE_PTHREAD_MUTEXATTR_T 1
34853 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34854 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34855 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34856 echo $ECHO_N "(cached) $ECHO_C" >&6
34859 cat >conftest.
$ac_ext <<_ACEOF
34862 cat confdefs.h
>>conftest.
$ac_ext
34863 cat >>conftest.
$ac_ext <<_ACEOF
34864 /* end confdefs.h. */
34865 #include <pthread.h>
34870 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34876 rm -f conftest.
$ac_objext
34877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34878 (eval $ac_compile) 2>conftest.er1
34880 grep -v '^ *+' conftest.er1
>conftest.err
34882 cat conftest.err
>&5
34883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34884 (exit $ac_status); } &&
34885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34887 (eval $ac_try) 2>&5
34889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34890 (exit $ac_status); }; } &&
34891 { ac_try
='test -s conftest.$ac_objext'
34892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34893 (eval $ac_try) 2>&5
34895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34896 (exit $ac_status); }; }; then
34898 wx_cv_type_pthread_rec_mutex_init
=yes
34901 echo "$as_me: failed program was:" >&5
34902 sed 's/^/| /' conftest.
$ac_ext >&5
34905 wx_cv_type_pthread_rec_mutex_init
=no
34909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34912 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34913 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34914 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34915 cat >>confdefs.h
<<\_ACEOF
34916 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34920 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34921 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34927 if test "$wxUSE_THREADS" = "yes" ; then
34930 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34931 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34932 if test "${wx_cv_cflags_mthread+set}" = set; then
34933 echo $ECHO_N "(cached) $ECHO_C" >&6
34936 CFLAGS_OLD
="$CFLAGS"
34937 CFLAGS
="$CFLAGS -mthreads"
34938 cat >conftest.
$ac_ext <<_ACEOF
34941 cat confdefs.h
>>conftest.
$ac_ext
34942 cat >>conftest.
$ac_ext <<_ACEOF
34943 /* end confdefs.h. */
34953 rm -f conftest.
$ac_objext
34954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34955 (eval $ac_compile) 2>conftest.er1
34957 grep -v '^ *+' conftest.er1
>conftest.err
34959 cat conftest.err
>&5
34960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961 (exit $ac_status); } &&
34962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34964 (eval $ac_try) 2>&5
34966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34967 (exit $ac_status); }; } &&
34968 { ac_try
='test -s conftest.$ac_objext'
34969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34970 (eval $ac_try) 2>&5
34972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34973 (exit $ac_status); }; }; then
34974 wx_cv_cflags_mthread
=yes
34976 echo "$as_me: failed program was:" >&5
34977 sed 's/^/| /' conftest.
$ac_ext >&5
34979 wx_cv_cflags_mthread
=no
34982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34986 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34987 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34989 if test "$wx_cv_cflags_mthread" = "yes"; then
34990 CXXFLAGS
="$CXXFLAGS -mthreads"
34991 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
34992 LDFLAGS
="$LDFLAGS -mthreads"
34994 CFLAGS
="$CFLAGS_OLD"
34998 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34999 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35000 LDFLAGS
="$LDFLAGS -Zmt"
35006 if test "$wxUSE_THREADS" = "yes"; then
35007 cat >>confdefs.h
<<\_ACEOF
35008 #define wxUSE_THREADS 1
35012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
35014 if test "$ac_cv_func_strtok_r" = "yes"; then
35015 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35016 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35017 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35018 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
35019 echo "$as_me:$LINENO: result: yes" >&5
35020 echo "${ECHO_T}yes" >&6
35022 echo "$as_me:$LINENO: result: no" >&5
35023 echo "${ECHO_T}no" >&6
35028 if test "$WXGTK20" = 1 ; then
35029 cat >>confdefs.h
<<_ACEOF
35030 #define __WXGTK20__ $WXGTK20
35036 if test "$WXGTK12" = 1 ; then
35037 cat >>confdefs.h
<<_ACEOF
35038 #define __WXGTK12__ $WXGTK12
35043 if test "$WXGTK127" = 1 ; then
35044 cat >>confdefs.h
<<_ACEOF
35045 #define __WXGTK127__ $WXGTK127
35050 if test "$WXGPE" = 1 ; then
35051 cat >>confdefs.h
<<_ACEOF
35052 #define __WXGPE__ $WXGPE
35059 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35064 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35065 wxUSE_DEBUG_INFO
=yes
35069 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35070 cat >>confdefs.h
<<\_ACEOF
35074 WXDEBUG_DEFINE
="-D__WXDEBUG__"
35076 if test "$wxUSE_GTK" = 1 ; then
35077 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
35081 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35082 cat >>confdefs.h
<<\_ACEOF
35083 #define wxUSE_MEMORY_TRACING 1
35086 cat >>confdefs.h
<<\_ACEOF
35087 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35090 cat >>confdefs.h
<<\_ACEOF
35091 #define wxUSE_DEBUG_NEW_ALWAYS 1
35094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
35097 if test "$wxUSE_DMALLOC" = "yes" ; then
35098 DMALLOC_LIBS
="-ldmalloc"
35102 if test "$wxUSE_PROFILE" = "yes" ; then
35107 CODE_GEN_FLAGS_CXX
=
35108 if test "$GCC" = "yes" ; then
35109 if test "$wxUSE_NO_RTTI" = "yes" ; then
35110 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
35112 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35113 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35115 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35116 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
35121 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
35124 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
35130 if test "$wxUSE_OPTIMISE" = "no" ; then
35131 if test "$GCC" = yes ; then
35135 if test "$GCC" = yes ; then
35139 i586
-*-*|i686
-*-* )
35140 OPTIMISE
="${OPTIMISE} "
35149 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35150 cat >>confdefs.h
<<\_ACEOF
35151 #define WXWIN_COMPATIBILITY_2_2 1
35155 WXWIN_COMPATIBILITY_2_4
="yes"
35158 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35159 cat >>confdefs.h
<<\_ACEOF
35160 #define WXWIN_COMPATIBILITY_2_4 1
35166 if test "$wxUSE_GUI" = "yes"; then
35167 cat >>confdefs.h
<<\_ACEOF
35168 #define wxUSE_GUI 1
35175 if test "$wxUSE_UNIX" = "yes"; then
35176 cat >>confdefs.h
<<\_ACEOF
35177 #define wxUSE_UNIX 1
35183 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35187 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35188 if test "$USE_DARWIN" = 1; then
35192 for ac_func
in dlopen
35194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35195 echo "$as_me:$LINENO: checking for $ac_func" >&5
35196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35197 if eval "test \"\${$as_ac_var+set}\" = set"; then
35198 echo $ECHO_N "(cached) $ECHO_C" >&6
35200 cat >conftest.
$ac_ext <<_ACEOF
35203 cat confdefs.h
>>conftest.
$ac_ext
35204 cat >>conftest.
$ac_ext <<_ACEOF
35205 /* end confdefs.h. */
35206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35208 #define $ac_func innocuous_$ac_func
35210 /* System header to define __stub macros and hopefully few prototypes,
35211 which can conflict with char $ac_func (); below.
35212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35213 <limits.h> exists even on freestanding compilers. */
35216 # include <limits.h>
35218 # include <assert.h>
35223 /* Override any gcc2 internal prototype to avoid an error. */
35228 /* We use char because int might match the return type of a gcc2
35229 builtin and then its argument prototype would still apply. */
35231 /* The GNU C library defines this for functions which it implements
35232 to always fail with ENOSYS. Some functions are actually named
35233 something starting with __ and the normal name is an alias. */
35234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35237 char (*f) () = $ac_func;
35246 return f != $ac_func;
35251 rm -f conftest.
$ac_objext conftest
$ac_exeext
35252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35253 (eval $ac_link) 2>conftest.er1
35255 grep -v '^ *+' conftest.er1
>conftest.err
35257 cat conftest.err
>&5
35258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259 (exit $ac_status); } &&
35260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35262 (eval $ac_try) 2>&5
35264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35265 (exit $ac_status); }; } &&
35266 { ac_try
='test -s conftest$ac_exeext'
35267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268 (eval $ac_try) 2>&5
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); }; }; then
35272 eval "$as_ac_var=yes"
35274 echo "$as_me: failed program was:" >&5
35275 sed 's/^/| /' conftest.
$ac_ext >&5
35277 eval "$as_ac_var=no"
35279 rm -f conftest.err conftest.
$ac_objext \
35280 conftest
$ac_exeext conftest.
$ac_ext
35282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35284 if test `eval echo '${'$as_ac_var'}'` = yes; then
35285 cat >>confdefs.h
<<_ACEOF
35286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35289 cat >>confdefs.h
<<\_ACEOF
35290 #define HAVE_DLOPEN 1
35297 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35298 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35299 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35300 echo $ECHO_N "(cached) $ECHO_C" >&6
35302 ac_check_lib_save_LIBS
=$LIBS
35304 cat >conftest.
$ac_ext <<_ACEOF
35307 cat confdefs.h
>>conftest.
$ac_ext
35308 cat >>conftest.
$ac_ext <<_ACEOF
35309 /* end confdefs.h. */
35311 /* Override any gcc2 internal prototype to avoid an error. */
35315 /* We use char because int might match the return type of a gcc2
35316 builtin and then its argument prototype would still apply. */
35326 rm -f conftest.
$ac_objext conftest
$ac_exeext
35327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35328 (eval $ac_link) 2>conftest.er1
35330 grep -v '^ *+' conftest.er1
>conftest.err
35332 cat conftest.err
>&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); } &&
35335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35337 (eval $ac_try) 2>&5
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); }; } &&
35341 { ac_try
='test -s conftest$ac_exeext'
35342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35343 (eval $ac_try) 2>&5
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); }; }; then
35347 ac_cv_lib_dl_dlopen
=yes
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.
$ac_ext >&5
35352 ac_cv_lib_dl_dlopen
=no
35354 rm -f conftest.err conftest.
$ac_objext \
35355 conftest
$ac_exeext conftest.
$ac_ext
35356 LIBS
=$ac_check_lib_save_LIBS
35358 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35359 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35360 if test $ac_cv_lib_dl_dlopen = yes; then
35362 cat >>confdefs.h
<<\_ACEOF
35363 #define HAVE_DLOPEN 1
35367 DL_LINK
=" -ldl$DL_LINK"
35372 for ac_func
in shl_load
35374 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35375 echo "$as_me:$LINENO: checking for $ac_func" >&5
35376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35377 if eval "test \"\${$as_ac_var+set}\" = set"; then
35378 echo $ECHO_N "(cached) $ECHO_C" >&6
35380 cat >conftest.
$ac_ext <<_ACEOF
35383 cat confdefs.h
>>conftest.
$ac_ext
35384 cat >>conftest.
$ac_ext <<_ACEOF
35385 /* end confdefs.h. */
35386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35388 #define $ac_func innocuous_$ac_func
35390 /* System header to define __stub macros and hopefully few prototypes,
35391 which can conflict with char $ac_func (); below.
35392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35393 <limits.h> exists even on freestanding compilers. */
35396 # include <limits.h>
35398 # include <assert.h>
35403 /* Override any gcc2 internal prototype to avoid an error. */
35408 /* We use char because int might match the return type of a gcc2
35409 builtin and then its argument prototype would still apply. */
35411 /* The GNU C library defines this for functions which it implements
35412 to always fail with ENOSYS. Some functions are actually named
35413 something starting with __ and the normal name is an alias. */
35414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35417 char (*f) () = $ac_func;
35426 return f != $ac_func;
35431 rm -f conftest.
$ac_objext conftest
$ac_exeext
35432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35433 (eval $ac_link) 2>conftest.er1
35435 grep -v '^ *+' conftest.er1
>conftest.err
35437 cat conftest.err
>&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); } &&
35440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35442 (eval $ac_try) 2>&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; } &&
35446 { ac_try
='test -s conftest$ac_exeext'
35447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35448 (eval $ac_try) 2>&5
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); }; }; then
35452 eval "$as_ac_var=yes"
35454 echo "$as_me: failed program was:" >&5
35455 sed 's/^/| /' conftest.
$ac_ext >&5
35457 eval "$as_ac_var=no"
35459 rm -f conftest.err conftest.
$ac_objext \
35460 conftest
$ac_exeext conftest.
$ac_ext
35462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35464 if test `eval echo '${'$as_ac_var'}'` = yes; then
35465 cat >>confdefs.h
<<_ACEOF
35466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35469 cat >>confdefs.h
<<\_ACEOF
35470 #define HAVE_SHL_LOAD 1
35477 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35478 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35479 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35480 echo $ECHO_N "(cached) $ECHO_C" >&6
35482 ac_check_lib_save_LIBS
=$LIBS
35483 LIBS
="-lshl_load $LIBS"
35484 cat >conftest.
$ac_ext <<_ACEOF
35487 cat confdefs.h
>>conftest.
$ac_ext
35488 cat >>conftest.
$ac_ext <<_ACEOF
35489 /* end confdefs.h. */
35491 /* Override any gcc2 internal prototype to avoid an error. */
35495 /* We use char because int might match the return type of a gcc2
35496 builtin and then its argument prototype would still apply. */
35506 rm -f conftest.
$ac_objext conftest
$ac_exeext
35507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35508 (eval $ac_link) 2>conftest.er1
35510 grep -v '^ *+' conftest.er1
>conftest.err
35512 cat conftest.err
>&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); } &&
35515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35517 (eval $ac_try) 2>&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); }; } &&
35521 { ac_try
='test -s conftest$ac_exeext'
35522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35523 (eval $ac_try) 2>&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); }; }; then
35527 ac_cv_lib_shl_load_dld
=yes
35529 echo "$as_me: failed program was:" >&5
35530 sed 's/^/| /' conftest.
$ac_ext >&5
35532 ac_cv_lib_shl_load_dld
=no
35534 rm -f conftest.err conftest.
$ac_objext \
35535 conftest
$ac_exeext conftest.
$ac_ext
35536 LIBS
=$ac_check_lib_save_LIBS
35538 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35539 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35540 if test $ac_cv_lib_shl_load_dld = yes; then
35543 DL_LINK
=" -ldld$DL_LINK"
35559 if test "$HAVE_DL_FUNCS" = 1; then
35561 for ac_func
in dlerror
35563 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35564 echo "$as_me:$LINENO: checking for $ac_func" >&5
35565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35566 if eval "test \"\${$as_ac_var+set}\" = set"; then
35567 echo $ECHO_N "(cached) $ECHO_C" >&6
35569 cat >conftest.
$ac_ext <<_ACEOF
35572 cat confdefs.h
>>conftest.
$ac_ext
35573 cat >>conftest.
$ac_ext <<_ACEOF
35574 /* end confdefs.h. */
35575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35577 #define $ac_func innocuous_$ac_func
35579 /* System header to define __stub macros and hopefully few prototypes,
35580 which can conflict with char $ac_func (); below.
35581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35582 <limits.h> exists even on freestanding compilers. */
35585 # include <limits.h>
35587 # include <assert.h>
35592 /* Override any gcc2 internal prototype to avoid an error. */
35597 /* We use char because int might match the return type of a gcc2
35598 builtin and then its argument prototype would still apply. */
35600 /* The GNU C library defines this for functions which it implements
35601 to always fail with ENOSYS. Some functions are actually named
35602 something starting with __ and the normal name is an alias. */
35603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35606 char (*f) () = $ac_func;
35615 return f != $ac_func;
35620 rm -f conftest.
$ac_objext conftest
$ac_exeext
35621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35622 (eval $ac_link) 2>conftest.er1
35624 grep -v '^ *+' conftest.er1
>conftest.err
35626 cat conftest.err
>&5
35627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35628 (exit $ac_status); } &&
35629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35631 (eval $ac_try) 2>&5
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); }; } &&
35635 { ac_try
='test -s conftest$ac_exeext'
35636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35637 (eval $ac_try) 2>&5
35639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640 (exit $ac_status); }; }; then
35641 eval "$as_ac_var=yes"
35643 echo "$as_me: failed program was:" >&5
35644 sed 's/^/| /' conftest.
$ac_ext >&5
35646 eval "$as_ac_var=no"
35648 rm -f conftest.err conftest.
$ac_objext \
35649 conftest
$ac_exeext conftest.
$ac_ext
35651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35653 if test `eval echo '${'$as_ac_var'}'` = yes; then
35654 cat >>confdefs.h
<<_ACEOF
35655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35657 cat >>confdefs.h
<<\_ACEOF
35658 #define HAVE_DLERROR 1
35663 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35664 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35665 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35666 echo $ECHO_N "(cached) $ECHO_C" >&6
35668 ac_check_lib_save_LIBS
=$LIBS
35670 cat >conftest.
$ac_ext <<_ACEOF
35673 cat confdefs.h
>>conftest.
$ac_ext
35674 cat >>conftest.
$ac_ext <<_ACEOF
35675 /* end confdefs.h. */
35677 /* Override any gcc2 internal prototype to avoid an error. */
35681 /* We use char because int might match the return type of a gcc2
35682 builtin and then its argument prototype would still apply. */
35692 rm -f conftest.
$ac_objext conftest
$ac_exeext
35693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35694 (eval $ac_link) 2>conftest.er1
35696 grep -v '^ *+' conftest.er1
>conftest.err
35698 cat conftest.err
>&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); } &&
35701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35703 (eval $ac_try) 2>&5
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); }; } &&
35707 { ac_try
='test -s conftest$ac_exeext'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; }; then
35713 ac_cv_lib_dl_dlerror
=yes
35715 echo "$as_me: failed program was:" >&5
35716 sed 's/^/| /' conftest.
$ac_ext >&5
35718 ac_cv_lib_dl_dlerror
=no
35720 rm -f conftest.err conftest.
$ac_objext \
35721 conftest
$ac_exeext conftest.
$ac_ext
35722 LIBS
=$ac_check_lib_save_LIBS
35724 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35725 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35726 if test $ac_cv_lib_dl_dlerror = yes; then
35727 cat >>confdefs.h
<<\_ACEOF
35728 #define HAVE_DLERROR 1
35741 if test "$HAVE_DL_FUNCS" = 0; then
35742 if test "$HAVE_SHL_FUNCS" = 0; then
35743 if test "$USE_UNIX" = 1; then
35744 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35745 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35746 wxUSE_DYNAMIC_LOADER
=no
35747 wxUSE_DYNLIB_CLASS
=no
35749 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35750 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35757 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35758 cat >>confdefs.h
<<\_ACEOF
35759 #define wxUSE_DYNAMIC_LOADER 1
35763 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35764 cat >>confdefs.h
<<\_ACEOF
35765 #define wxUSE_DYNLIB_CLASS 1
35772 if test "$wxUSE_PLUGINS" = "yes" ; then
35773 if test "$wxUSE_SHARED" = "no" ; then
35774 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35775 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35778 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35779 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35780 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35783 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35784 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35785 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35788 if test "$wxUSE_PLUGINS" = "yes" ; then
35789 cat >>confdefs.h
<<\_ACEOF
35790 #define wxUSE_PLUGINS 1
35797 if test "$wxUSE_STL" = "yes"; then
35798 cat >>confdefs.h
<<\_ACEOF
35799 #define wxUSE_STL 1
35804 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35805 cat >>confdefs.h
<<\_ACEOF
35806 #define wxUSE_APPLE_IEEE 1
35811 if test "$wxUSE_TIMER" = "yes"; then
35812 cat >>confdefs.h
<<\_ACEOF
35813 #define wxUSE_TIMER 1
35819 if test "$wxUSE_SOUND" = "yes"; then
35820 if test "$USE_UNIX" = "1" ; then
35822 for ac_header
in sys
/soundcard.h
35824 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35826 echo "$as_me:$LINENO: checking for $ac_header" >&5
35827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35829 echo $ECHO_N "(cached) $ECHO_C" >&6
35831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35834 # Is the header compilable?
35835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35837 cat >conftest.
$ac_ext <<_ACEOF
35840 cat confdefs.h
>>conftest.
$ac_ext
35841 cat >>conftest.
$ac_ext <<_ACEOF
35842 /* end confdefs.h. */
35843 $ac_includes_default
35844 #include <$ac_header>
35846 rm -f conftest.
$ac_objext
35847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35848 (eval $ac_compile) 2>conftest.er1
35850 grep -v '^ *+' conftest.er1
>conftest.err
35852 cat conftest.err
>&5
35853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854 (exit $ac_status); } &&
35855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35857 (eval $ac_try) 2>&5
35859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35860 (exit $ac_status); }; } &&
35861 { ac_try
='test -s conftest.$ac_objext'
35862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35863 (eval $ac_try) 2>&5
35865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35866 (exit $ac_status); }; }; then
35867 ac_header_compiler
=yes
35869 echo "$as_me: failed program was:" >&5
35870 sed 's/^/| /' conftest.
$ac_ext >&5
35872 ac_header_compiler
=no
35874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35876 echo "${ECHO_T}$ac_header_compiler" >&6
35878 # Is the header present?
35879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35881 cat >conftest.
$ac_ext <<_ACEOF
35884 cat confdefs.h
>>conftest.
$ac_ext
35885 cat >>conftest.
$ac_ext <<_ACEOF
35886 /* end confdefs.h. */
35887 #include <$ac_header>
35889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35890 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35892 grep -v '^ *+' conftest.er1
>conftest.err
35894 cat conftest.err
>&5
35895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35896 (exit $ac_status); } >/dev
/null
; then
35897 if test -s conftest.err
; then
35898 ac_cpp_err
=$ac_c_preproc_warn_flag
35899 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35906 if test -z "$ac_cpp_err"; then
35907 ac_header_preproc
=yes
35909 echo "$as_me: failed program was:" >&5
35910 sed 's/^/| /' conftest.
$ac_ext >&5
35912 ac_header_preproc
=no
35914 rm -f conftest.err conftest.
$ac_ext
35915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35916 echo "${ECHO_T}$ac_header_preproc" >&6
35918 # So? What about this header?
35919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35925 ac_header_preproc
=yes
35928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35942 ## ----------------------------------------- ##
35943 ## Report this to wx-dev@lists.wxwidgets.org ##
35944 ## ----------------------------------------- ##
35947 sed "s/^/$as_me: WARNING: /" >&2
35950 echo "$as_me:$LINENO: checking for $ac_header" >&5
35951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35953 echo $ECHO_N "(cached) $ECHO_C" >&6
35955 eval "$as_ac_Header=\$ac_header_preproc"
35957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35962 cat >>confdefs.h
<<_ACEOF
35963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35971 if test "$wxUSE_LIBSDL" != "no"; then
35973 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35974 if test "${with_sdl_prefix+set}" = set; then
35975 withval
="$with_sdl_prefix"
35976 sdl_prefix
="$withval"
35981 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35982 if test "${with_sdl_exec_prefix+set}" = set; then
35983 withval
="$with_sdl_exec_prefix"
35984 sdl_exec_prefix
="$withval"
35988 # Check whether --enable-sdltest or --disable-sdltest was given.
35989 if test "${enable_sdltest+set}" = set; then
35990 enableval
="$enable_sdltest"
35996 if test x
$sdl_exec_prefix != x
; then
35997 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
35998 if test x
${SDL_CONFIG+set} != xset
; then
35999 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
36002 if test x
$sdl_prefix != x
; then
36003 sdl_args
="$sdl_args --prefix=$sdl_prefix"
36004 if test x
${SDL_CONFIG+set} != xset
; then
36005 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
36010 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
36011 # Extract the first word of "sdl-config", so it can be a program name with args.
36012 set dummy sdl
-config; ac_word
=$2
36013 echo "$as_me:$LINENO: checking for $ac_word" >&5
36014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36015 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36016 echo $ECHO_N "(cached) $ECHO_C" >&6
36018 case $SDL_CONFIG in
36020 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
36023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36024 for as_dir
in $PATH
36027 test -z "$as_dir" && as_dir
=.
36028 for ac_exec_ext
in '' $ac_executable_extensions; do
36029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36030 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36037 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
36041 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
36043 if test -n "$SDL_CONFIG"; then
36044 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36045 echo "${ECHO_T}$SDL_CONFIG" >&6
36047 echo "$as_me:$LINENO: result: no" >&5
36048 echo "${ECHO_T}no" >&6
36051 min_sdl_version
=1.2.0
36052 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36053 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36055 if test "$SDL_CONFIG" = "no" ; then
36058 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
36059 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
36061 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
36062 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36063 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
36064 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36065 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
36066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36067 if test "x$enable_sdltest" = "xyes" ; then
36068 ac_save_CFLAGS
="$CFLAGS"
36069 ac_save_CXXFLAGS
="$CXXFLAGS"
36070 ac_save_LIBS
="$LIBS"
36071 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36072 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36073 LIBS
="$LIBS $SDL_LIBS"
36075 if test "$cross_compiling" = yes; then
36076 echo $ac_n "cross compiling; assumed OK... $ac_c"
36078 cat >conftest.
$ac_ext <<_ACEOF
36081 cat confdefs.h
>>conftest.
$ac_ext
36082 cat >>conftest.
$ac_ext <<_ACEOF
36083 /* end confdefs.h. */
36086 #include <stdlib.h>
36087 #include <string.h>
36091 my_strdup (char *str)
36097 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36098 strcpy (new_str, str);
36106 int main (int argc, char *argv[])
36108 int major, minor, micro;
36111 /* This hangs on some systems (?)
36112 system ("touch conf.sdltest");
36114 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36116 /* HP/UX 9 (%@#!) writes to sscanf strings */
36117 tmp_version = my_strdup("$min_sdl_version");
36118 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
36119 printf("%s, bad version string\n", "$min_sdl_version");
36123 if (($sdl_major_version > major) ||
36124 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36125 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36131 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36132 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36133 printf("*** best to upgrade to the required version.\n");
36134 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36135 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36136 printf("*** config.cache before re-running configure\n");
36143 rm -f conftest
$ac_exeext
36144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36145 (eval $ac_link) 2>&5
36147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36148 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36150 (eval $ac_try) 2>&5
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); }; }; then
36156 echo "$as_me: program exited with status $ac_status" >&5
36157 echo "$as_me: failed program was:" >&5
36158 sed 's/^/| /' conftest.
$ac_ext >&5
36160 ( exit $ac_status )
36163 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36165 CFLAGS
="$ac_save_CFLAGS"
36166 CXXFLAGS
="$ac_save_CXXFLAGS"
36167 LIBS
="$ac_save_LIBS"
36170 if test "x$no_sdl" = x
; then
36171 echo "$as_me:$LINENO: result: yes" >&5
36172 echo "${ECHO_T}yes" >&6
36174 EXTRALIBS_SDL
="$SDL_LIBS"
36175 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36176 cat >>confdefs.h
<<\_ACEOF
36177 #define wxUSE_LIBSDL 1
36182 echo "$as_me:$LINENO: result: no" >&5
36183 echo "${ECHO_T}no" >&6
36184 if test "$SDL_CONFIG" = "no" ; then
36185 echo "*** The sdl-config script installed by SDL could not be found"
36186 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36187 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36188 echo "*** full path to sdl-config."
36190 if test -f conf.sdltest
; then
36193 echo "*** Could not run SDL test program, checking why..."
36194 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36195 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36196 LIBS
="$LIBS $SDL_LIBS"
36197 cat >conftest.
$ac_ext <<_ACEOF
36200 cat confdefs.h
>>conftest.
$ac_ext
36201 cat >>conftest.
$ac_ext <<_ACEOF
36202 /* end confdefs.h. */
36207 int main(int argc, char *argv[])
36210 #define main K_and_R_C_main
36220 rm -f conftest.
$ac_objext conftest
$ac_exeext
36221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36222 (eval $ac_link) 2>conftest.er1
36224 grep -v '^ *+' conftest.er1
>conftest.err
36226 cat conftest.err
>&5
36227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36228 (exit $ac_status); } &&
36229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36231 (eval $ac_try) 2>&5
36233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36234 (exit $ac_status); }; } &&
36235 { ac_try
='test -s conftest$ac_exeext'
36236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36237 (eval $ac_try) 2>&5
36239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36240 (exit $ac_status); }; }; then
36241 echo "*** The test program compiled, but did not run. This usually means"
36242 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36243 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36244 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36245 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36246 echo "*** is required on your system"
36248 echo "*** If you have an old version installed, it is best to remove it, although"
36249 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36251 echo "$as_me: failed program was:" >&5
36252 sed 's/^/| /' conftest.
$ac_ext >&5
36254 echo "*** The test program failed to compile or link. See the file config.log for the"
36255 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36256 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36257 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36259 rm -f conftest.err conftest.
$ac_objext \
36260 conftest
$ac_exeext conftest.
$ac_ext
36261 CFLAGS
="$ac_save_CFLAGS"
36262 CXXFLAGS
="$ac_save_CXXFLAGS"
36263 LIBS
="$ac_save_LIBS"
36274 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36280 cat >>confdefs.h
<<\_ACEOF
36281 #define wxUSE_SOUND 1
36284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36287 if test "$WXGTK20" = 1; then
36288 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36289 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36294 if test -z "$PKG_CONFIG"; then
36295 # Extract the first word of "pkg-config", so it can be a program name with args.
36296 set dummy pkg
-config; ac_word
=$2
36297 echo "$as_me:$LINENO: checking for $ac_word" >&5
36298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36299 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36300 echo $ECHO_N "(cached) $ECHO_C" >&6
36302 case $PKG_CONFIG in
36304 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36308 for as_dir
in $PATH
36311 test -z "$as_dir" && as_dir
=.
36312 for ac_exec_ext
in '' $ac_executable_extensions; do
36313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36314 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36321 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
36325 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36327 if test -n "$PKG_CONFIG"; then
36328 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36329 echo "${ECHO_T}$PKG_CONFIG" >&6
36331 echo "$as_me:$LINENO: result: no" >&5
36332 echo "${ECHO_T}no" >&6
36337 if test "$PKG_CONFIG" = "no" ; then
36338 echo "*** The pkg-config script could not be found. Make sure it is"
36339 echo "*** in your path, or set the PKG_CONFIG environment variable"
36340 echo "*** to the full path to pkg-config."
36341 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36343 PKG_CONFIG_MIN_VERSION
=0.9.0
36344 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36345 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36346 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36348 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36349 echo "$as_me:$LINENO: result: yes" >&5
36350 echo "${ECHO_T}yes" >&6
36353 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36354 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36355 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36356 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36357 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36359 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36360 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36361 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36362 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36363 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36365 LIBGNOMEPRINTUI_CFLAGS
=""
36366 LIBGNOMEPRINTUI_LIBS
=""
36367 ## If we have a custom action on failure, don't print errors, but
36368 ## do set a variable so people can do so.
36369 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36376 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36377 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36381 if test $succeeded = yes; then
36383 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36384 cat >>confdefs.h
<<\_ACEOF
36385 #define wxUSE_LIBGNOMEPRINT 1
36391 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36392 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36393 wxUSE_LIBGNOMEPRINT
="no"
36403 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36404 cat >>confdefs.h
<<\_ACEOF
36405 #define wxUSE_CMDLINE_PARSER 1
36410 if test "$wxUSE_STOPWATCH" = "yes"; then
36411 cat >>confdefs.h
<<\_ACEOF
36412 #define wxUSE_STOPWATCH 1
36417 if test "$wxUSE_DATETIME" = "yes"; then
36418 cat >>confdefs.h
<<\_ACEOF
36419 #define wxUSE_DATETIME 1
36424 if test "$wxUSE_FILE" = "yes"; then
36425 cat >>confdefs.h
<<\_ACEOF
36426 #define wxUSE_FILE 1
36431 if test "$wxUSE_FFILE" = "yes"; then
36432 cat >>confdefs.h
<<\_ACEOF
36433 #define wxUSE_FFILE 1
36438 if test "$wxUSE_FILESYSTEM" = "yes"; then
36439 cat >>confdefs.h
<<\_ACEOF
36440 #define wxUSE_FILESYSTEM 1
36445 if test "$wxUSE_FS_ZIP" = "yes"; then
36446 cat >>confdefs.h
<<\_ACEOF
36447 #define wxUSE_FS_ZIP 1
36452 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36453 cat >>confdefs.h
<<\_ACEOF
36454 #define wxUSE_ARCHIVE_STREAMS 1
36459 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36460 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36461 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36462 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36463 elif test "$wxUSE_ZLIB" = "no"; then
36464 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36465 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36467 cat >>confdefs.h
<<\_ACEOF
36468 #define wxUSE_ZIPSTREAM 1
36474 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36475 cat >>confdefs.h
<<\_ACEOF
36476 #define wxUSE_ON_FATAL_EXCEPTION 1
36481 if test "$wxUSE_STACKWALKER" = "yes"; then
36482 cat >>confdefs.h
<<\_ACEOF
36483 #define wxUSE_STACKWALKER 1
36488 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36489 if test "$USE_OS2" = "1"; then
36490 { echo "$as_me:$LINENO: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&5
36491 echo "$as_me: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&2;}
36492 wxUSE_DEBUGREPORT
=no
36494 cat >>confdefs.h
<<\_ACEOF
36495 #define wxUSE_DEBUGREPORT 1
36498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
36502 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36503 cat >>confdefs.h
<<\_ACEOF
36504 #define wxUSE_SNGLINST_CHECKER 1
36509 if test "$wxUSE_BUSYINFO" = "yes"; then
36510 cat >>confdefs.h
<<\_ACEOF
36511 #define wxUSE_BUSYINFO 1
36516 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36517 cat >>confdefs.h
<<\_ACEOF
36518 #define wxUSE_STD_IOSTREAM 1
36523 if test "$wxUSE_STDPATHS" = "yes"; then
36524 cat >>confdefs.h
<<\_ACEOF
36525 #define wxUSE_STDPATHS 1
36530 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36531 cat >>confdefs.h
<<\_ACEOF
36532 #define wxUSE_TEXTBUFFER 1
36537 if test "$wxUSE_TEXTFILE" = "yes"; then
36538 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36539 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36540 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36542 cat >>confdefs.h
<<\_ACEOF
36543 #define wxUSE_TEXTFILE 1
36549 if test "$wxUSE_CONFIG" = "yes" ; then
36550 if test "$wxUSE_TEXTFILE" != "yes"; then
36551 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36552 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36554 cat >>confdefs.h
<<\_ACEOF
36555 #define wxUSE_CONFIG 1
36558 cat >>confdefs.h
<<\_ACEOF
36559 #define wxUSE_CONFIG_NATIVE 1
36562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
36566 if test "$wxUSE_INTL" = "yes" ; then
36567 if test "$wxUSE_FILE" != "yes"; then
36568 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36569 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36571 cat >>confdefs.h
<<\_ACEOF
36572 #define wxUSE_INTL 1
36575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
36576 GUIDIST
="$GUIDIST INTL_DIST"
36580 if test "$wxUSE_LOG" = "yes"; then
36581 cat >>confdefs.h
<<\_ACEOF
36582 #define wxUSE_LOG 1
36586 if test "$wxUSE_LOGGUI" = "yes"; then
36587 cat >>confdefs.h
<<\_ACEOF
36588 #define wxUSE_LOGGUI 1
36593 if test "$wxUSE_LOGWINDOW" = "yes"; then
36594 cat >>confdefs.h
<<\_ACEOF
36595 #define wxUSE_LOGWINDOW 1
36600 if test "$wxUSE_LOGDIALOG" = "yes"; then
36601 cat >>confdefs.h
<<\_ACEOF
36602 #define wxUSE_LOG_DIALOG 1
36607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
36610 if test "$wxUSE_LONGLONG" = "yes"; then
36611 cat >>confdefs.h
<<\_ACEOF
36612 #define wxUSE_LONGLONG 1
36617 if test "$wxUSE_GEOMETRY" = "yes"; then
36618 cat >>confdefs.h
<<\_ACEOF
36619 #define wxUSE_GEOMETRY 1
36624 if test "$wxUSE_STREAMS" = "yes" ; then
36625 cat >>confdefs.h
<<\_ACEOF
36626 #define wxUSE_STREAMS 1
36632 if test "$wxUSE_DATETIME" = "yes"; then
36634 for ac_func
in strptime
36636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36637 echo "$as_me:$LINENO: checking for $ac_func" >&5
36638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36639 if eval "test \"\${$as_ac_var+set}\" = set"; then
36640 echo $ECHO_N "(cached) $ECHO_C" >&6
36642 cat >conftest.
$ac_ext <<_ACEOF
36645 cat confdefs.h
>>conftest.
$ac_ext
36646 cat >>conftest.
$ac_ext <<_ACEOF
36647 /* end confdefs.h. */
36648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36650 #define $ac_func innocuous_$ac_func
36652 /* System header to define __stub macros and hopefully few prototypes,
36653 which can conflict with char $ac_func (); below.
36654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36655 <limits.h> exists even on freestanding compilers. */
36658 # include <limits.h>
36660 # include <assert.h>
36665 /* Override any gcc2 internal prototype to avoid an error. */
36670 /* We use char because int might match the return type of a gcc2
36671 builtin and then its argument prototype would still apply. */
36673 /* The GNU C library defines this for functions which it implements
36674 to always fail with ENOSYS. Some functions are actually named
36675 something starting with __ and the normal name is an alias. */
36676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36679 char (*f) () = $ac_func;
36688 return f != $ac_func;
36693 rm -f conftest.
$ac_objext conftest
$ac_exeext
36694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36695 (eval $ac_link) 2>conftest.er1
36697 grep -v '^ *+' conftest.er1
>conftest.err
36699 cat conftest.err
>&5
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); } &&
36702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36704 (eval $ac_try) 2>&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); }; } &&
36708 { ac_try
='test -s conftest$ac_exeext'
36709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36710 (eval $ac_try) 2>&5
36712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36713 (exit $ac_status); }; }; then
36714 eval "$as_ac_var=yes"
36716 echo "$as_me: failed program was:" >&5
36717 sed 's/^/| /' conftest.
$ac_ext >&5
36719 eval "$as_ac_var=no"
36721 rm -f conftest.err conftest.
$ac_objext \
36722 conftest
$ac_exeext conftest.
$ac_ext
36724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36726 if test `eval echo '${'$as_ac_var'}'` = yes; then
36727 cat >>confdefs.h
<<_ACEOF
36728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36735 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36736 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36737 if test "${wx_cv_var_timezone+set}" = set; then
36738 echo $ECHO_N "(cached) $ECHO_C" >&6
36741 cat >conftest.
$ac_ext <<_ACEOF
36744 cat confdefs.h
>>conftest.
$ac_ext
36745 cat >>conftest.
$ac_ext <<_ACEOF
36746 /* end confdefs.h. */
36761 rm -f conftest.
$ac_objext
36762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36763 (eval $ac_compile) 2>conftest.er1
36765 grep -v '^ *+' conftest.er1
>conftest.err
36767 cat conftest.err
>&5
36768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36769 (exit $ac_status); } &&
36770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36772 (eval $ac_try) 2>&5
36774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36775 (exit $ac_status); }; } &&
36776 { ac_try
='test -s conftest.$ac_objext'
36777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36778 (eval $ac_try) 2>&5
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); }; }; then
36783 wx_cv_var_timezone
=timezone
36786 echo "$as_me: failed program was:" >&5
36787 sed 's/^/| /' conftest.
$ac_ext >&5
36790 cat >conftest.
$ac_ext <<_ACEOF
36793 cat confdefs.h
>>conftest.
$ac_ext
36794 cat >>conftest.
$ac_ext <<_ACEOF
36795 /* end confdefs.h. */
36810 rm -f conftest.
$ac_objext
36811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36812 (eval $ac_compile) 2>conftest.er1
36814 grep -v '^ *+' conftest.er1
>conftest.err
36816 cat conftest.err
>&5
36817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36818 (exit $ac_status); } &&
36819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36821 (eval $ac_try) 2>&5
36823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36824 (exit $ac_status); }; } &&
36825 { ac_try
='test -s conftest.$ac_objext'
36826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36827 (eval $ac_try) 2>&5
36829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36830 (exit $ac_status); }; }; then
36832 wx_cv_var_timezone
=_timezone
36835 echo "$as_me: failed program was:" >&5
36836 sed 's/^/| /' conftest.
$ac_ext >&5
36839 cat >conftest.
$ac_ext <<_ACEOF
36842 cat confdefs.h
>>conftest.
$ac_ext
36843 cat >>conftest.
$ac_ext <<_ACEOF
36844 /* end confdefs.h. */
36859 rm -f conftest.
$ac_objext
36860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36861 (eval $ac_compile) 2>conftest.er1
36863 grep -v '^ *+' conftest.er1
>conftest.err
36865 cat conftest.err
>&5
36866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36867 (exit $ac_status); } &&
36868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36870 (eval $ac_try) 2>&5
36872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36873 (exit $ac_status); }; } &&
36874 { ac_try
='test -s conftest.$ac_objext'
36875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36876 (eval $ac_try) 2>&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); }; }; then
36881 wx_cv_var_timezone
=__timezone
36884 echo "$as_me: failed program was:" >&5
36885 sed 's/^/| /' conftest.
$ac_ext >&5
36888 if test "$USE_DOS" = 0 ; then
36889 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36890 echo "$as_me: WARNING: no timezone variable" >&2;}
36895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36907 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36908 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36910 if test "x$wx_cv_var_timezone" != x
; then
36911 cat >>confdefs.h
<<_ACEOF
36912 #define WX_TIMEZONE $wx_cv_var_timezone
36918 for ac_func
in localtime
36920 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36921 echo "$as_me:$LINENO: checking for $ac_func" >&5
36922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36923 if eval "test \"\${$as_ac_var+set}\" = set"; then
36924 echo $ECHO_N "(cached) $ECHO_C" >&6
36926 cat >conftest.
$ac_ext <<_ACEOF
36929 cat confdefs.h
>>conftest.
$ac_ext
36930 cat >>conftest.
$ac_ext <<_ACEOF
36931 /* end confdefs.h. */
36932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36934 #define $ac_func innocuous_$ac_func
36936 /* System header to define __stub macros and hopefully few prototypes,
36937 which can conflict with char $ac_func (); below.
36938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36939 <limits.h> exists even on freestanding compilers. */
36942 # include <limits.h>
36944 # include <assert.h>
36949 /* Override any gcc2 internal prototype to avoid an error. */
36954 /* We use char because int might match the return type of a gcc2
36955 builtin and then its argument prototype would still apply. */
36957 /* The GNU C library defines this for functions which it implements
36958 to always fail with ENOSYS. Some functions are actually named
36959 something starting with __ and the normal name is an alias. */
36960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36963 char (*f) () = $ac_func;
36972 return f != $ac_func;
36977 rm -f conftest.
$ac_objext conftest
$ac_exeext
36978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36979 (eval $ac_link) 2>conftest.er1
36981 grep -v '^ *+' conftest.er1
>conftest.err
36983 cat conftest.err
>&5
36984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36985 (exit $ac_status); } &&
36986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36988 (eval $ac_try) 2>&5
36990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991 (exit $ac_status); }; } &&
36992 { ac_try
='test -s conftest$ac_exeext'
36993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36994 (eval $ac_try) 2>&5
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); }; }; then
36998 eval "$as_ac_var=yes"
37000 echo "$as_me: failed program was:" >&5
37001 sed 's/^/| /' conftest.
$ac_ext >&5
37003 eval "$as_ac_var=no"
37005 rm -f conftest.err conftest.
$ac_objext \
37006 conftest
$ac_exeext conftest.
$ac_ext
37008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37010 if test `eval echo '${'$as_ac_var'}'` = yes; then
37011 cat >>confdefs.h
<<_ACEOF
37012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37019 if test "$ac_cv_func_localtime" = "yes"; then
37020 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37021 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37022 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37023 echo $ECHO_N "(cached) $ECHO_C" >&6
37026 cat >conftest.
$ac_ext <<_ACEOF
37029 cat confdefs.h
>>conftest.
$ac_ext
37030 cat >>conftest.
$ac_ext <<_ACEOF
37031 /* end confdefs.h. */
37046 rm -f conftest.
$ac_objext
37047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37048 (eval $ac_compile) 2>conftest.er1
37050 grep -v '^ *+' conftest.er1
>conftest.err
37052 cat conftest.err
>&5
37053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37054 (exit $ac_status); } &&
37055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37057 (eval $ac_try) 2>&5
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); }; } &&
37061 { ac_try
='test -s conftest.$ac_objext'
37062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37063 (eval $ac_try) 2>&5
37065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37066 (exit $ac_status); }; }; then
37068 wx_cv_struct_tm_has_gmtoff
=yes
37071 echo "$as_me: failed program was:" >&5
37072 sed 's/^/| /' conftest.
$ac_ext >&5
37074 wx_cv_struct_tm_has_gmtoff
=no
37077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37080 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37081 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37084 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37085 cat >>confdefs.h
<<\_ACEOF
37086 #define WX_GMTOFF_IN_TM 1
37093 for ac_func
in gettimeofday ftime
37095 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37096 echo "$as_me:$LINENO: checking for $ac_func" >&5
37097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37098 if eval "test \"\${$as_ac_var+set}\" = set"; then
37099 echo $ECHO_N "(cached) $ECHO_C" >&6
37101 cat >conftest.
$ac_ext <<_ACEOF
37104 cat confdefs.h
>>conftest.
$ac_ext
37105 cat >>conftest.
$ac_ext <<_ACEOF
37106 /* end confdefs.h. */
37107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37109 #define $ac_func innocuous_$ac_func
37111 /* System header to define __stub macros and hopefully few prototypes,
37112 which can conflict with char $ac_func (); below.
37113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37114 <limits.h> exists even on freestanding compilers. */
37117 # include <limits.h>
37119 # include <assert.h>
37124 /* Override any gcc2 internal prototype to avoid an error. */
37129 /* We use char because int might match the return type of a gcc2
37130 builtin and then its argument prototype would still apply. */
37132 /* The GNU C library defines this for functions which it implements
37133 to always fail with ENOSYS. Some functions are actually named
37134 something starting with __ and the normal name is an alias. */
37135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37138 char (*f) () = $ac_func;
37147 return f != $ac_func;
37152 rm -f conftest.
$ac_objext conftest
$ac_exeext
37153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37154 (eval $ac_link) 2>conftest.er1
37156 grep -v '^ *+' conftest.er1
>conftest.err
37158 cat conftest.err
>&5
37159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37160 (exit $ac_status); } &&
37161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37163 (eval $ac_try) 2>&5
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); }; } &&
37167 { ac_try
='test -s conftest$ac_exeext'
37168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37169 (eval $ac_try) 2>&5
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); }; }; then
37173 eval "$as_ac_var=yes"
37175 echo "$as_me: failed program was:" >&5
37176 sed 's/^/| /' conftest.
$ac_ext >&5
37178 eval "$as_ac_var=no"
37180 rm -f conftest.err conftest.
$ac_objext \
37181 conftest
$ac_exeext conftest.
$ac_ext
37183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37185 if test `eval echo '${'$as_ac_var'}'` = yes; then
37186 cat >>confdefs.h
<<_ACEOF
37187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37194 if test "$ac_cv_func_gettimeofday" = "yes"; then
37195 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37196 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37197 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37198 echo $ECHO_N "(cached) $ECHO_C" >&6
37204 ac_cpp
='$CXXCPP $CPPFLAGS'
37205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37210 cat >conftest.
$ac_ext <<_ACEOF
37213 cat confdefs.h
>>conftest.
$ac_ext
37214 cat >>conftest.
$ac_ext <<_ACEOF
37215 /* end confdefs.h. */
37217 #include <sys/time.h>
37218 #include <unistd.h>
37225 gettimeofday(&tv, NULL);
37231 rm -f conftest.
$ac_objext
37232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37233 (eval $ac_compile) 2>conftest.er1
37235 grep -v '^ *+' conftest.er1
>conftest.err
37237 cat conftest.err
>&5
37238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37239 (exit $ac_status); } &&
37240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37242 (eval $ac_try) 2>&5
37244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37245 (exit $ac_status); }; } &&
37246 { ac_try
='test -s conftest.$ac_objext'
37247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37248 (eval $ac_try) 2>&5
37250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37251 (exit $ac_status); }; }; then
37252 wx_cv_func_gettimeofday_has_2_args
=yes
37254 echo "$as_me: failed program was:" >&5
37255 sed 's/^/| /' conftest.
$ac_ext >&5
37257 cat >conftest.
$ac_ext <<_ACEOF
37260 cat confdefs.h
>>conftest.
$ac_ext
37261 cat >>conftest.
$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37264 #include <sys/time.h>
37265 #include <unistd.h>
37278 rm -f conftest.
$ac_objext
37279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37280 (eval $ac_compile) 2>conftest.er1
37282 grep -v '^ *+' conftest.er1
>conftest.err
37284 cat conftest.err
>&5
37285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37286 (exit $ac_status); } &&
37287 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37289 (eval $ac_try) 2>&5
37291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37292 (exit $ac_status); }; } &&
37293 { ac_try
='test -s conftest.$ac_objext'
37294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37295 (eval $ac_try) 2>&5
37297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37298 (exit $ac_status); }; }; then
37299 wx_cv_func_gettimeofday_has_2_args
=no
37301 echo "$as_me: failed program was:" >&5
37302 sed 's/^/| /' conftest.
$ac_ext >&5
37305 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37306 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37307 wx_cv_func_gettimeofday_has_2_args
=unknown
37311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37316 ac_cpp
='$CPP $CPPFLAGS'
37317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37323 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37324 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37326 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37327 cat >>confdefs.h
<<\_ACEOF
37328 #define WX_GETTIMEOFDAY_NO_TZ 1
37334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
37338 if test "$wxUSE_SOCKETS" = "yes"; then
37339 if test "$wxUSE_MGL" = "1"; then
37340 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37341 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37346 if test "$wxUSE_SOCKETS" = "yes"; then
37347 if test "$TOOLKIT" != "MSW"; then
37348 echo "$as_me:$LINENO: checking for socket" >&5
37349 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37350 if test "${ac_cv_func_socket+set}" = set; then
37351 echo $ECHO_N "(cached) $ECHO_C" >&6
37353 cat >conftest.
$ac_ext <<_ACEOF
37356 cat confdefs.h
>>conftest.
$ac_ext
37357 cat >>conftest.
$ac_ext <<_ACEOF
37358 /* end confdefs.h. */
37359 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37361 #define socket innocuous_socket
37363 /* System header to define __stub macros and hopefully few prototypes,
37364 which can conflict with char socket (); below.
37365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37366 <limits.h> exists even on freestanding compilers. */
37369 # include <limits.h>
37371 # include <assert.h>
37376 /* Override any gcc2 internal prototype to avoid an error. */
37381 /* We use char because int might match the return type of a gcc2
37382 builtin and then its argument prototype would still apply. */
37384 /* The GNU C library defines this for functions which it implements
37385 to always fail with ENOSYS. Some functions are actually named
37386 something starting with __ and the normal name is an alias. */
37387 #if defined (__stub_socket) || defined (__stub___socket)
37390 char (*f) () = socket;
37399 return f != socket;
37404 rm -f conftest.
$ac_objext conftest
$ac_exeext
37405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37406 (eval $ac_link) 2>conftest.er1
37408 grep -v '^ *+' conftest.er1
>conftest.err
37410 cat conftest.err
>&5
37411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37412 (exit $ac_status); } &&
37413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37415 (eval $ac_try) 2>&5
37417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37418 (exit $ac_status); }; } &&
37419 { ac_try
='test -s conftest$ac_exeext'
37420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37421 (eval $ac_try) 2>&5
37423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424 (exit $ac_status); }; }; then
37425 ac_cv_func_socket
=yes
37427 echo "$as_me: failed program was:" >&5
37428 sed 's/^/| /' conftest.
$ac_ext >&5
37430 ac_cv_func_socket
=no
37432 rm -f conftest.err conftest.
$ac_objext \
37433 conftest
$ac_exeext conftest.
$ac_ext
37435 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37436 echo "${ECHO_T}$ac_cv_func_socket" >&6
37437 if test $ac_cv_func_socket = yes; then
37441 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37442 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37443 if test "${ac_cv_lib_socket_socket+set}" = set; then
37444 echo $ECHO_N "(cached) $ECHO_C" >&6
37446 ac_check_lib_save_LIBS
=$LIBS
37447 LIBS
="-lsocket $LIBS"
37448 cat >conftest.
$ac_ext <<_ACEOF
37451 cat confdefs.h
>>conftest.
$ac_ext
37452 cat >>conftest.
$ac_ext <<_ACEOF
37453 /* end confdefs.h. */
37455 /* Override any gcc2 internal prototype to avoid an error. */
37459 /* We use char because int might match the return type of a gcc2
37460 builtin and then its argument prototype would still apply. */
37470 rm -f conftest.
$ac_objext conftest
$ac_exeext
37471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37472 (eval $ac_link) 2>conftest.er1
37474 grep -v '^ *+' conftest.er1
>conftest.err
37476 cat conftest.err
>&5
37477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37478 (exit $ac_status); } &&
37479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37481 (eval $ac_try) 2>&5
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); }; } &&
37485 { ac_try
='test -s conftest$ac_exeext'
37486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37487 (eval $ac_try) 2>&5
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); }; }; then
37491 ac_cv_lib_socket_socket
=yes
37493 echo "$as_me: failed program was:" >&5
37494 sed 's/^/| /' conftest.
$ac_ext >&5
37496 ac_cv_lib_socket_socket
=no
37498 rm -f conftest.err conftest.
$ac_objext \
37499 conftest
$ac_exeext conftest.
$ac_ext
37500 LIBS
=$ac_check_lib_save_LIBS
37502 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37503 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37504 if test $ac_cv_lib_socket_socket = yes; then
37505 if test "$INET_LINK" != " -lsocket"; then
37506 INET_LINK
="$INET_LINK -lsocket"
37510 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37511 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37524 if test "$wxUSE_SOCKETS" = "yes" ; then
37525 if test "$TOOLKIT" != "MSW"; then
37527 ac_cpp
='$CXXCPP $CPPFLAGS'
37528 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37529 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37530 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37532 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37533 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37534 if test "${wx_cv_type_getsockname3+set}" = set; then
37535 echo $ECHO_N "(cached) $ECHO_C" >&6
37538 cat >conftest.
$ac_ext <<_ACEOF
37541 cat confdefs.h
>>conftest.
$ac_ext
37542 cat >>conftest.
$ac_ext <<_ACEOF
37543 /* end confdefs.h. */
37545 #include <sys/types.h>
37546 #include <sys/socket.h>
37553 getsockname(0, 0, &len);
37559 rm -f conftest.
$ac_objext
37560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37561 (eval $ac_compile) 2>conftest.er1
37563 grep -v '^ *+' conftest.er1
>conftest.err
37565 cat conftest.err
>&5
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); } &&
37568 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570 (eval $ac_try) 2>&5
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); }; } &&
37574 { ac_try
='test -s conftest.$ac_objext'
37575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37576 (eval $ac_try) 2>&5
37578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37579 (exit $ac_status); }; }; then
37580 wx_cv_type_getsockname3
=socklen_t
37582 echo "$as_me: failed program was:" >&5
37583 sed 's/^/| /' conftest.
$ac_ext >&5
37586 CFLAGS_OLD
="$CFLAGS"
37587 if test "$GCC" = yes ; then
37588 CFLAGS
="$CFLAGS -Werror"
37591 cat >conftest.
$ac_ext <<_ACEOF
37594 cat confdefs.h
>>conftest.
$ac_ext
37595 cat >>conftest.
$ac_ext <<_ACEOF
37596 /* end confdefs.h. */
37598 #include <sys/types.h>
37599 #include <sys/socket.h>
37606 getsockname(0, 0, &len);
37612 rm -f conftest.
$ac_objext
37613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37614 (eval $ac_compile) 2>conftest.er1
37616 grep -v '^ *+' conftest.er1
>conftest.err
37618 cat conftest.err
>&5
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); } &&
37621 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37623 (eval $ac_try) 2>&5
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); }; } &&
37627 { ac_try
='test -s conftest.$ac_objext'
37628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37629 (eval $ac_try) 2>&5
37631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37632 (exit $ac_status); }; }; then
37633 wx_cv_type_getsockname3
=size_t
37635 echo "$as_me: failed program was:" >&5
37636 sed 's/^/| /' conftest.
$ac_ext >&5
37638 cat >conftest.
$ac_ext <<_ACEOF
37641 cat confdefs.h
>>conftest.
$ac_ext
37642 cat >>conftest.
$ac_ext <<_ACEOF
37643 /* end confdefs.h. */
37645 #include <sys/types.h>
37646 #include <sys/socket.h>
37653 getsockname(0, 0, &len);
37659 rm -f conftest.
$ac_objext
37660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37661 (eval $ac_compile) 2>conftest.er1
37663 grep -v '^ *+' conftest.er1
>conftest.err
37665 cat conftest.err
>&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); } &&
37668 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37670 (eval $ac_try) 2>&5
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); }; } &&
37674 { ac_try
='test -s conftest.$ac_objext'
37675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37676 (eval $ac_try) 2>&5
37678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37679 (exit $ac_status); }; }; then
37680 wx_cv_type_getsockname3
=int
37682 echo "$as_me: failed program was:" >&5
37683 sed 's/^/| /' conftest.
$ac_ext >&5
37685 wx_cv_type_getsockname3
=unknown
37688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37693 CFLAGS
="$CFLAGS_OLD"
37697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37700 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37701 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37703 if test "$wx_cv_type_getsockname3" = "unknown"; then
37705 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37706 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37708 cat >>confdefs.h
<<_ACEOF
37709 #define SOCKLEN_T $wx_cv_type_getsockname3
37713 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37714 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37715 if test "${wx_cv_type_getsockopt5+set}" = set; then
37716 echo $ECHO_N "(cached) $ECHO_C" >&6
37719 cat >conftest.
$ac_ext <<_ACEOF
37722 cat confdefs.h
>>conftest.
$ac_ext
37723 cat >>conftest.
$ac_ext <<_ACEOF
37724 /* end confdefs.h. */
37726 #include <sys/types.h>
37727 #include <sys/socket.h>
37734 getsockopt(0, 0, 0, 0, &len);
37740 rm -f conftest.
$ac_objext
37741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37742 (eval $ac_compile) 2>conftest.er1
37744 grep -v '^ *+' conftest.er1
>conftest.err
37746 cat conftest.err
>&5
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); } &&
37749 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37751 (eval $ac_try) 2>&5
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); }; } &&
37755 { ac_try
='test -s conftest.$ac_objext'
37756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37757 (eval $ac_try) 2>&5
37759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37760 (exit $ac_status); }; }; then
37761 wx_cv_type_getsockopt5
=socklen_t
37763 echo "$as_me: failed program was:" >&5
37764 sed 's/^/| /' conftest.
$ac_ext >&5
37767 CFLAGS_OLD
="$CFLAGS"
37768 if test "$GCC" = yes ; then
37769 CFLAGS
="$CFLAGS -Werror"
37772 cat >conftest.
$ac_ext <<_ACEOF
37775 cat confdefs.h
>>conftest.
$ac_ext
37776 cat >>conftest.
$ac_ext <<_ACEOF
37777 /* end confdefs.h. */
37779 #include <sys/types.h>
37780 #include <sys/socket.h>
37787 getsockopt(0, 0, 0, 0, &len);
37793 rm -f conftest.
$ac_objext
37794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37795 (eval $ac_compile) 2>conftest.er1
37797 grep -v '^ *+' conftest.er1
>conftest.err
37799 cat conftest.err
>&5
37800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37801 (exit $ac_status); } &&
37802 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37804 (eval $ac_try) 2>&5
37806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37807 (exit $ac_status); }; } &&
37808 { ac_try
='test -s conftest.$ac_objext'
37809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37810 (eval $ac_try) 2>&5
37812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37813 (exit $ac_status); }; }; then
37814 wx_cv_type_getsockopt5
=size_t
37816 echo "$as_me: failed program was:" >&5
37817 sed 's/^/| /' conftest.
$ac_ext >&5
37819 cat >conftest.
$ac_ext <<_ACEOF
37822 cat confdefs.h
>>conftest.
$ac_ext
37823 cat >>conftest.
$ac_ext <<_ACEOF
37824 /* end confdefs.h. */
37826 #include <sys/types.h>
37827 #include <sys/socket.h>
37834 getsockopt(0, 0, 0, 0, &len);
37840 rm -f conftest.
$ac_objext
37841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37842 (eval $ac_compile) 2>conftest.er1
37844 grep -v '^ *+' conftest.er1
>conftest.err
37846 cat conftest.err
>&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } &&
37849 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37851 (eval $ac_try) 2>&5
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); }; } &&
37855 { ac_try
='test -s conftest.$ac_objext'
37856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37857 (eval $ac_try) 2>&5
37859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37860 (exit $ac_status); }; }; then
37861 wx_cv_type_getsockopt5
=int
37863 echo "$as_me: failed program was:" >&5
37864 sed 's/^/| /' conftest.
$ac_ext >&5
37866 wx_cv_type_getsockopt5
=unknown
37869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37874 CFLAGS
="$CFLAGS_OLD"
37878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37881 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37882 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37884 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37886 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37887 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37889 cat >>confdefs.h
<<_ACEOF
37890 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37895 ac_cpp
='$CPP $CPPFLAGS'
37896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37903 if test "$wxUSE_SOCKETS" = "yes" ; then
37904 cat >>confdefs.h
<<\_ACEOF
37905 #define wxUSE_SOCKETS 1
37908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37911 if test "$wxUSE_PROTOCOL" = "yes"; then
37912 if test "$wxUSE_SOCKETS" != "yes"; then
37913 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37914 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37919 if test "$wxUSE_PROTOCOL" = "yes"; then
37920 cat >>confdefs.h
<<\_ACEOF
37921 #define wxUSE_PROTOCOL 1
37925 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37926 cat >>confdefs.h
<<\_ACEOF
37927 #define wxUSE_PROTOCOL_HTTP 1
37931 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37932 cat >>confdefs.h
<<\_ACEOF
37933 #define wxUSE_PROTOCOL_FTP 1
37937 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37938 cat >>confdefs.h
<<\_ACEOF
37939 #define wxUSE_PROTOCOL_FILE 1
37944 if test "$wxUSE_FS_INET" = "yes"; then
37945 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37946 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37951 if test "$wxUSE_URL" = "yes"; then
37952 if test "$wxUSE_PROTOCOL" != "yes"; then
37953 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37954 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37957 if test "$wxUSE_URL" = "yes"; then
37958 cat >>confdefs.h
<<\_ACEOF
37959 #define wxUSE_URL 1
37965 if test "$wxUSE_FS_INET" = "yes"; then
37966 cat >>confdefs.h
<<\_ACEOF
37967 #define wxUSE_FS_INET 1
37973 if test "$wxUSE_GUI" = "yes"; then
37974 if test "$wxUSE_JOYSTICK" = "yes"; then
37976 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
37978 for ac_header
in linux
/joystick.h
37980 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37982 echo "$as_me:$LINENO: checking for $ac_header" >&5
37983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37985 echo $ECHO_N "(cached) $ECHO_C" >&6
37987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37990 # Is the header compilable?
37991 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37992 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37993 cat >conftest.
$ac_ext <<_ACEOF
37996 cat confdefs.h
>>conftest.
$ac_ext
37997 cat >>conftest.
$ac_ext <<_ACEOF
37998 /* end confdefs.h. */
37999 $ac_includes_default
38000 #include <$ac_header>
38002 rm -f conftest.
$ac_objext
38003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38004 (eval $ac_compile) 2>conftest.er1
38006 grep -v '^ *+' conftest.er1
>conftest.err
38008 cat conftest.err
>&5
38009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38010 (exit $ac_status); } &&
38011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38013 (eval $ac_try) 2>&5
38015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38016 (exit $ac_status); }; } &&
38017 { ac_try
='test -s conftest.$ac_objext'
38018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38019 (eval $ac_try) 2>&5
38021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38022 (exit $ac_status); }; }; then
38023 ac_header_compiler
=yes
38025 echo "$as_me: failed program was:" >&5
38026 sed 's/^/| /' conftest.
$ac_ext >&5
38028 ac_header_compiler
=no
38030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38032 echo "${ECHO_T}$ac_header_compiler" >&6
38034 # Is the header present?
38035 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38036 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38037 cat >conftest.
$ac_ext <<_ACEOF
38040 cat confdefs.h
>>conftest.
$ac_ext
38041 cat >>conftest.
$ac_ext <<_ACEOF
38042 /* end confdefs.h. */
38043 #include <$ac_header>
38045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38046 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38048 grep -v '^ *+' conftest.er1
>conftest.err
38050 cat conftest.err
>&5
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); } >/dev
/null
; then
38053 if test -s conftest.err
; then
38054 ac_cpp_err
=$ac_c_preproc_warn_flag
38055 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38062 if test -z "$ac_cpp_err"; then
38063 ac_header_preproc
=yes
38065 echo "$as_me: failed program was:" >&5
38066 sed 's/^/| /' conftest.
$ac_ext >&5
38068 ac_header_preproc
=no
38070 rm -f conftest.err conftest.
$ac_ext
38071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38072 echo "${ECHO_T}$ac_header_preproc" >&6
38074 # So? What about this header?
38075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38077 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38078 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38080 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38081 ac_header_preproc
=yes
38084 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38085 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38086 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38087 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38088 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38089 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38090 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38091 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38093 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38094 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38095 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38098 ## ----------------------------------------- ##
38099 ## Report this to wx-dev@lists.wxwidgets.org ##
38100 ## ----------------------------------------- ##
38103 sed "s/^/$as_me: WARNING: /" >&2
38106 echo "$as_me:$LINENO: checking for $ac_header" >&5
38107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38109 echo $ECHO_N "(cached) $ECHO_C" >&6
38111 eval "$as_ac_Header=\$ac_header_preproc"
38113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38118 cat >>confdefs.h
<<_ACEOF
38119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38126 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38128 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38129 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38132 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38134 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38135 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38140 if test "$wxUSE_JOYSTICK" = "yes"; then
38141 cat >>confdefs.h
<<\_ACEOF
38142 #define wxUSE_JOYSTICK 1
38145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
38152 if test "$wxUSE_FONTMAP" = "yes" ; then
38153 cat >>confdefs.h
<<\_ACEOF
38154 #define wxUSE_FONTMAP 1
38159 if test "$wxUSE_UNICODE" = "yes" ; then
38160 cat >>confdefs.h
<<\_ACEOF
38161 #define wxUSE_UNICODE 1
38165 if test "$USE_WIN32" != 1; then
38166 wxUSE_UNICODE_MSLU
=no
38169 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38170 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38171 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38172 if test "${ac_cv_lib_unicows_main+set}" = set; then
38173 echo $ECHO_N "(cached) $ECHO_C" >&6
38175 ac_check_lib_save_LIBS
=$LIBS
38176 LIBS
="-lunicows $LIBS"
38177 cat >conftest.
$ac_ext <<_ACEOF
38180 cat confdefs.h
>>conftest.
$ac_ext
38181 cat >>conftest.
$ac_ext <<_ACEOF
38182 /* end confdefs.h. */
38193 rm -f conftest.
$ac_objext conftest
$ac_exeext
38194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38195 (eval $ac_link) 2>conftest.er1
38197 grep -v '^ *+' conftest.er1
>conftest.err
38199 cat conftest.err
>&5
38200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38201 (exit $ac_status); } &&
38202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38204 (eval $ac_try) 2>&5
38206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38207 (exit $ac_status); }; } &&
38208 { ac_try
='test -s conftest$ac_exeext'
38209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38210 (eval $ac_try) 2>&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); }; }; then
38214 ac_cv_lib_unicows_main
=yes
38216 echo "$as_me: failed program was:" >&5
38217 sed 's/^/| /' conftest.
$ac_ext >&5
38219 ac_cv_lib_unicows_main
=no
38221 rm -f conftest.err conftest.
$ac_objext \
38222 conftest
$ac_exeext conftest.
$ac_ext
38223 LIBS
=$ac_check_lib_save_LIBS
38225 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38226 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38227 if test $ac_cv_lib_unicows_main = yes; then
38229 cat >>confdefs.h
<<\_ACEOF
38230 #define wxUSE_UNICODE_MSLU 1
38236 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38237 Applications will only run on Windows NT/2000/XP!" >&5
38238 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38239 Applications will only run on Windows NT/2000/XP!" >&2;}
38240 wxUSE_UNICODE_MSLU
=no
38247 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38248 cat >>confdefs.h
<<\_ACEOF
38249 #define wxUSE_EXPERIMENTAL_PRINTF 1
38255 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38256 cat >>confdefs.h
<<\_ACEOF
38257 #define wxUSE_POSTSCRIPT 1
38262 cat >>confdefs.h
<<\_ACEOF
38263 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38267 cat >>confdefs.h
<<\_ACEOF
38268 #define wxUSE_NORMALIZED_PS_FONTS 1
38273 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38274 cat >>confdefs.h
<<\_ACEOF
38275 #define wxUSE_CONSTRAINTS 1
38278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
38281 if test "$wxUSE_MDI" = "yes"; then
38282 cat >>confdefs.h
<<\_ACEOF
38283 #define wxUSE_MDI 1
38287 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38288 cat >>confdefs.h
<<\_ACEOF
38289 #define wxUSE_MDI_ARCHITECTURE 1
38292 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
38296 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38297 cat >>confdefs.h
<<\_ACEOF
38298 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
38302 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
38307 if test "$wxUSE_HELP" = "yes"; then
38308 cat >>confdefs.h
<<\_ACEOF
38309 #define wxUSE_HELP 1
38312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
38314 if test "$wxUSE_MSW" = 1; then
38315 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38316 cat >>confdefs.h
<<\_ACEOF
38317 #define wxUSE_MS_HTML_HELP 1
38323 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38324 if test "$wxUSE_HTML" = "yes"; then
38325 cat >>confdefs.h
<<\_ACEOF
38326 #define wxUSE_WXHTML_HELP 1
38330 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38331 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38332 wxUSE_WXHTML_HELP
=no
38337 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38338 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38339 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38340 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38342 cat >>confdefs.h
<<\_ACEOF
38343 #define wxUSE_PRINTING_ARCHITECTURE 1
38347 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
38350 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38351 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38352 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38353 { (exit 1); exit 1; }; }
38357 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
38358 -o "$wxUSE_CLIPBOARD" = "yes" \
38359 -o "$wxUSE_OLE" = "yes" \
38360 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
38362 for ac_header
in ole2.h
38364 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38366 echo "$as_me:$LINENO: checking for $ac_header" >&5
38367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38369 echo $ECHO_N "(cached) $ECHO_C" >&6
38371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38374 # Is the header compilable?
38375 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38376 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38377 cat >conftest.
$ac_ext <<_ACEOF
38380 cat confdefs.h
>>conftest.
$ac_ext
38381 cat >>conftest.
$ac_ext <<_ACEOF
38382 /* end confdefs.h. */
38383 $ac_includes_default
38384 #include <$ac_header>
38386 rm -f conftest.
$ac_objext
38387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38388 (eval $ac_compile) 2>conftest.er1
38390 grep -v '^ *+' conftest.er1
>conftest.err
38392 cat conftest.err
>&5
38393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38394 (exit $ac_status); } &&
38395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38397 (eval $ac_try) 2>&5
38399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38400 (exit $ac_status); }; } &&
38401 { ac_try
='test -s conftest.$ac_objext'
38402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38403 (eval $ac_try) 2>&5
38405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38406 (exit $ac_status); }; }; then
38407 ac_header_compiler
=yes
38409 echo "$as_me: failed program was:" >&5
38410 sed 's/^/| /' conftest.
$ac_ext >&5
38412 ac_header_compiler
=no
38414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38416 echo "${ECHO_T}$ac_header_compiler" >&6
38418 # Is the header present?
38419 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38421 cat >conftest.
$ac_ext <<_ACEOF
38424 cat confdefs.h
>>conftest.
$ac_ext
38425 cat >>conftest.
$ac_ext <<_ACEOF
38426 /* end confdefs.h. */
38427 #include <$ac_header>
38429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38432 grep -v '^ *+' conftest.er1
>conftest.err
38434 cat conftest.err
>&5
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); } >/dev
/null
; then
38437 if test -s conftest.err
; then
38438 ac_cpp_err
=$ac_c_preproc_warn_flag
38439 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38446 if test -z "$ac_cpp_err"; then
38447 ac_header_preproc
=yes
38449 echo "$as_me: failed program was:" >&5
38450 sed 's/^/| /' conftest.
$ac_ext >&5
38452 ac_header_preproc
=no
38454 rm -f conftest.err conftest.
$ac_ext
38455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38456 echo "${ECHO_T}$ac_header_preproc" >&6
38458 # So? What about this header?
38459 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38465 ac_header_preproc
=yes
38468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38482 ## ----------------------------------------- ##
38483 ## Report this to wx-dev@lists.wxwidgets.org ##
38484 ## ----------------------------------------- ##
38487 sed "s/^/$as_me: WARNING: /" >&2
38490 echo "$as_me:$LINENO: checking for $ac_header" >&5
38491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38493 echo $ECHO_N "(cached) $ECHO_C" >&6
38495 eval "$as_ac_Header=\$ac_header_preproc"
38497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38502 cat >>confdefs.h
<<_ACEOF
38503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38511 if test "$ac_cv_header_ole2_h" = "yes" ; then
38512 if test "$GCC" = yes ; then
38516 ac_cpp
='$CXXCPP $CPPFLAGS'
38517 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38522 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38523 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38524 cat >conftest.
$ac_ext <<_ACEOF
38527 cat confdefs.h
>>conftest.
$ac_ext
38528 cat >>conftest.
$ac_ext <<_ACEOF
38529 /* end confdefs.h. */
38530 #include <windows.h>
38540 rm -f conftest.
$ac_objext
38541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38542 (eval $ac_compile) 2>conftest.er1
38544 grep -v '^ *+' conftest.er1
>conftest.err
38546 cat conftest.err
>&5
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); } &&
38549 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38551 (eval $ac_try) 2>&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); }; } &&
38555 { ac_try
='test -s conftest.$ac_objext'
38556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38557 (eval $ac_try) 2>&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); }; }; then
38561 echo "$as_me:$LINENO: result: no" >&5
38562 echo "${ECHO_T}no" >&6
38564 echo "$as_me: failed program was:" >&5
38565 sed 's/^/| /' conftest.
$ac_ext >&5
38567 echo "$as_me:$LINENO: result: yes" >&5
38568 echo "${ECHO_T}yes" >&6
38569 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38573 ac_cpp
='$CPP $CPPFLAGS'
38574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38578 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38579 if test "$wxUSE_OLE" = "yes" ; then
38580 cat >>confdefs.h
<<\_ACEOF
38581 #define wxUSE_OLE 1
38584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
38588 if test "$wxUSE_DATAOBJ" = "yes" ; then
38589 cat >>confdefs.h
<<\_ACEOF
38590 #define wxUSE_DATAOBJ 1
38595 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38596 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38599 wxUSE_DRAG_AND_DROP
=no
38604 if test "$wxUSE_METAFILE" = "yes"; then
38605 cat >>confdefs.h
<<\_ACEOF
38606 #define wxUSE_METAFILE 1
38610 cat >>confdefs.h
<<\_ACEOF
38611 #define wxUSE_ENH_METAFILE 1
38617 if test "$wxUSE_IPC" = "yes"; then
38618 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38619 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38620 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38624 if test "$wxUSE_IPC" = "yes"; then
38625 cat >>confdefs.h
<<\_ACEOF
38626 #define wxUSE_IPC 1
38629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
38633 if test "$wxUSE_CLIPBOARD" = "yes"; then
38634 if test "$wxUSE_MGL" = 1; then
38635 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38636 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38640 if test "$wxUSE_CLIPBOARD" = "yes"; then
38641 cat >>confdefs.h
<<\_ACEOF
38642 #define wxUSE_CLIPBOARD 1
38646 cat >>confdefs.h
<<\_ACEOF
38647 #define wxUSE_DATAOBJ 1
38653 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38654 if test "$wxUSE_GTK" = 1; then
38655 if test "$WXGTK12" != 1; then
38656 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38657 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38658 wxUSE_DRAG_AND_DROP
=no
38662 if test "$wxUSE_MOTIF" = 1; then
38663 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38664 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38665 wxUSE_DRAG_AND_DROP
=no
38668 if test "$wxUSE_X11" = 1; then
38669 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38670 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38671 wxUSE_DRAG_AND_DROP
=no
38674 if test "$wxUSE_MGL" = 1; then
38675 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38676 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38677 wxUSE_DRAG_AND_DROP
=no
38680 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38681 cat >>confdefs.h
<<\_ACEOF
38682 #define wxUSE_DRAG_AND_DROP 1
38689 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
38693 if test "$wxUSE_SPLINES" = "yes" ; then
38694 cat >>confdefs.h
<<\_ACEOF
38695 #define wxUSE_SPLINES 1
38702 if test "$wxUSE_CONTROLS" = "yes"; then
38706 if test "$wxUSE_ACCEL" = "yes"; then
38707 cat >>confdefs.h
<<\_ACEOF
38708 #define wxUSE_ACCEL 1
38714 if test "$wxUSE_BUTTON" = "yes"; then
38715 cat >>confdefs.h
<<\_ACEOF
38716 #define wxUSE_BUTTON 1
38722 if test "$wxUSE_BMPBUTTON" = "yes"; then
38723 cat >>confdefs.h
<<\_ACEOF
38724 #define wxUSE_BMPBUTTON 1
38730 if test "$wxUSE_CALCTRL" = "yes"; then
38731 cat >>confdefs.h
<<\_ACEOF
38732 #define wxUSE_CALENDARCTRL 1
38736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
38739 if test "$wxUSE_CARET" = "yes"; then
38740 cat >>confdefs.h
<<\_ACEOF
38741 #define wxUSE_CARET 1
38745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
38748 if test "$wxUSE_COMBOBOX" = "yes"; then
38749 cat >>confdefs.h
<<\_ACEOF
38750 #define wxUSE_COMBOBOX 1
38756 if test "$wxUSE_CHOICE" = "yes"; then
38757 cat >>confdefs.h
<<\_ACEOF
38758 #define wxUSE_CHOICE 1
38764 if test "$wxUSE_CHOICEBOOK" = "yes"; then
38765 cat >>confdefs.h
<<\_ACEOF
38766 #define wxUSE_CHOICEBOOK 1
38772 if test "$wxUSE_CHECKBOX" = "yes"; then
38773 cat >>confdefs.h
<<\_ACEOF
38774 #define wxUSE_CHECKBOX 1
38780 if test "$wxUSE_CHECKLST" = "yes"; then
38781 cat >>confdefs.h
<<\_ACEOF
38782 #define wxUSE_CHECKLISTBOX 1
38786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
38789 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
38790 cat >>confdefs.h
<<\_ACEOF
38791 #define wxUSE_DATEPICKCTRL 1
38797 if test "$wxUSE_DISPLAY" = "yes"; then
38798 cat >>confdefs.h
<<\_ACEOF
38799 #define wxUSE_DISPLAY 1
38802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
38805 if test "$wxUSE_GAUGE" = "yes"; then
38806 cat >>confdefs.h
<<\_ACEOF
38807 #define wxUSE_GAUGE 1
38813 if test "$wxUSE_GRID" = "yes"; then
38814 cat >>confdefs.h
<<\_ACEOF
38815 #define wxUSE_GRID 1
38819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
38822 if test "$wxUSE_IMAGLIST" = "yes"; then
38823 cat >>confdefs.h
<<\_ACEOF
38824 #define wxUSE_IMAGLIST 1
38829 if test "$wxUSE_LISTBOOK" = "yes"; then
38830 cat >>confdefs.h
<<\_ACEOF
38831 #define wxUSE_LISTBOOK 1
38837 if test "$wxUSE_LISTBOX" = "yes"; then
38838 cat >>confdefs.h
<<\_ACEOF
38839 #define wxUSE_LISTBOX 1
38843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
38846 if test "$wxUSE_LISTCTRL" = "yes"; then
38847 if test "$wxUSE_IMAGLIST" = "yes"; then
38848 cat >>confdefs.h
<<\_ACEOF
38849 #define wxUSE_LISTCTRL 1
38853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
38855 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
38856 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
38860 if test "$wxUSE_NOTEBOOK" = "yes"; then
38861 cat >>confdefs.h
<<\_ACEOF
38862 #define wxUSE_NOTEBOOK 1
38866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
38870 if test "$wxUSE_RADIOBOX" = "yes"; then
38871 cat >>confdefs.h
<<\_ACEOF
38872 #define wxUSE_RADIOBOX 1
38878 if test "$wxUSE_RADIOBTN" = "yes"; then
38879 cat >>confdefs.h
<<\_ACEOF
38880 #define wxUSE_RADIOBTN 1
38886 if test "$wxUSE_SASH" = "yes"; then
38887 cat >>confdefs.h
<<\_ACEOF
38888 #define wxUSE_SASH 1
38891 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
38894 if test "$wxUSE_SCROLLBAR" = "yes"; then
38895 cat >>confdefs.h
<<\_ACEOF
38896 #define wxUSE_SCROLLBAR 1
38900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
38903 if test "$wxUSE_SLIDER" = "yes"; then
38904 cat >>confdefs.h
<<\_ACEOF
38905 #define wxUSE_SLIDER 1
38911 if test "$wxUSE_SPINBTN" = "yes"; then
38912 cat >>confdefs.h
<<\_ACEOF
38913 #define wxUSE_SPINBTN 1
38919 if test "$wxUSE_SPINCTRL" = "yes"; then
38920 cat >>confdefs.h
<<\_ACEOF
38921 #define wxUSE_SPINCTRL 1
38927 if test "$wxUSE_SPLITTER" = "yes"; then
38928 cat >>confdefs.h
<<\_ACEOF
38929 #define wxUSE_SPLITTER 1
38932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
38935 if test "$wxUSE_STATBMP" = "yes"; then
38936 cat >>confdefs.h
<<\_ACEOF
38937 #define wxUSE_STATBMP 1
38943 if test "$wxUSE_STATBOX" = "yes"; then
38944 cat >>confdefs.h
<<\_ACEOF
38945 #define wxUSE_STATBOX 1
38951 if test "$wxUSE_STATTEXT" = "yes"; then
38952 cat >>confdefs.h
<<\_ACEOF
38953 #define wxUSE_STATTEXT 1
38959 if test "$wxUSE_STATLINE" = "yes"; then
38960 cat >>confdefs.h
<<\_ACEOF
38961 #define wxUSE_STATLINE 1
38967 if test "$wxUSE_STATUSBAR" = "yes"; then
38968 cat >>confdefs.h
<<\_ACEOF
38969 #define wxUSE_NATIVE_STATUSBAR 1
38972 cat >>confdefs.h
<<\_ACEOF
38973 #define wxUSE_STATUSBAR 1
38978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
38981 if test "$wxUSE_TABDIALOG" = "yes"; then
38982 cat >>confdefs.h
<<\_ACEOF
38983 #define wxUSE_TAB_DIALOG 1
38988 if test "$wxUSE_TEXTCTRL" = "yes"; then
38989 cat >>confdefs.h
<<\_ACEOF
38990 #define wxUSE_TEXTCTRL 1
38994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
38997 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38998 if test "$wxUSE_COCOA" = 1 ; then
38999 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39000 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39003 if test "$wxUSE_PM" = 1; then
39004 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
39005 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
39009 if test "$wxUSE_UNIVERSAL" = "yes"; then
39010 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39011 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39015 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39016 cat >>confdefs.h
<<\_ACEOF
39017 #define wxUSE_TOGGLEBTN 1
39024 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39025 cat >>confdefs.h
<<\_ACEOF
39026 #define wxUSE_TOOLBAR_SIMPLE 1
39029 wxUSE_TOOLBAR
="yes"
39033 if test "$wxUSE_TOOLBAR" = "yes"; then
39034 cat >>confdefs.h
<<\_ACEOF
39035 #define wxUSE_TOOLBAR 1
39040 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39041 wxUSE_TOOLBAR_NATIVE
="yes"
39044 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39045 cat >>confdefs.h
<<\_ACEOF
39046 #define wxUSE_TOOLBAR_NATIVE 1
39052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
39055 if test "$wxUSE_TOOLTIPS" = "yes"; then
39056 if test "$wxUSE_MOTIF" = 1; then
39057 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39058 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39060 if test "$wxUSE_UNIVERSAL" = "yes"; then
39061 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39062 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39064 cat >>confdefs.h
<<\_ACEOF
39065 #define wxUSE_TOOLTIPS 1
39072 if test "$wxUSE_TREECTRL" = "yes"; then
39073 if test "$wxUSE_IMAGLIST" = "yes"; then
39074 cat >>confdefs.h
<<\_ACEOF
39075 #define wxUSE_TREECTRL 1
39079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
39081 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39082 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39086 if test "$wxUSE_POPUPWIN" = "yes"; then
39087 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39088 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39089 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39091 if test "$wxUSE_PM" = 1; then
39092 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39093 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39095 cat >>confdefs.h
<<\_ACEOF
39096 #define wxUSE_POPUPWIN 1
39099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
39106 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39107 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39108 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39109 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39111 cat >>confdefs.h
<<\_ACEOF
39112 #define wxUSE_DIALUP_MANAGER 1
39115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
39119 if test "$wxUSE_TIPWINDOW" = "yes"; then
39120 if test "$wxUSE_PM" = 1; then
39121 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39122 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39124 cat >>confdefs.h
<<\_ACEOF
39125 #define wxUSE_TIPWINDOW 1
39131 if test "$USES_CONTROLS" = 1; then
39132 cat >>confdefs.h
<<\_ACEOF
39133 #define wxUSE_CONTROLS 1
39139 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39140 cat >>confdefs.h
<<\_ACEOF
39141 #define wxUSE_ACCESSIBILITY 1
39144 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
39147 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39148 cat >>confdefs.h
<<\_ACEOF
39149 #define wxUSE_DRAGIMAGE 1
39152 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
39155 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39156 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39157 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39158 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39160 cat >>confdefs.h
<<\_ACEOF
39161 #define wxUSE_EXCEPTIONS 1
39164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39169 if test "$wxUSE_HTML" = "yes"; then
39170 cat >>confdefs.h
<<\_ACEOF
39171 #define wxUSE_HTML 1
39175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39176 if test "$wxUSE_MAC" = 1; then
39177 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
39180 if test "$wxUSE_WEBKIT" = "yes"; then
39181 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39182 old_CPPFLAGS
="$CPPFLAGS"
39183 CPPFLAGS
="$CPPFLAGS -x objective-c++"
39184 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39185 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39186 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39187 echo $ECHO_N "(cached) $ECHO_C" >&6
39189 cat >conftest.
$ac_ext <<_ACEOF
39192 cat confdefs.h
>>conftest.
$ac_ext
39193 cat >>conftest.
$ac_ext <<_ACEOF
39194 /* end confdefs.h. */
39195 #include <Carbon/Carbon.h>
39197 #include <WebKit/HIWebView.h>
39199 rm -f conftest.
$ac_objext
39200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39201 (eval $ac_compile) 2>conftest.er1
39203 grep -v '^ *+' conftest.er1
>conftest.err
39205 cat conftest.err
>&5
39206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39207 (exit $ac_status); } &&
39208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39210 (eval $ac_try) 2>&5
39212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39213 (exit $ac_status); }; } &&
39214 { ac_try
='test -s conftest.$ac_objext'
39215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39216 (eval $ac_try) 2>&5
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); }; }; then
39220 ac_cv_header_WebKit_HIWebView_h
=yes
39222 echo "$as_me: failed program was:" >&5
39223 sed 's/^/| /' conftest.
$ac_ext >&5
39225 ac_cv_header_WebKit_HIWebView_h
=no
39227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39229 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39230 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39231 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39233 cat >>confdefs.h
<<\_ACEOF
39234 #define wxUSE_WEBKIT 1
39237 WEBKIT_LINK
="-framework WebKit"
39241 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39242 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39248 CPPFLAGS
="$old_CPPFLAGS"
39249 elif test "$wxUSE_COCOA" = 1; then
39250 cat >>confdefs.h
<<\_ACEOF
39251 #define wxUSE_WEBKIT 1
39260 if test "$wxUSE_XRC" = "yes"; then
39261 if test "$wxUSE_XML" != "yes"; then
39262 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39263 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39266 cat >>confdefs.h
<<\_ACEOF
39267 #define wxUSE_XRC 1
39271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
39275 if test "$wxUSE_MENUS" = "yes"; then
39276 cat >>confdefs.h
<<\_ACEOF
39277 #define wxUSE_MENUS 1
39280 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
39283 if test "$wxUSE_METAFILE" = "yes"; then
39284 cat >>confdefs.h
<<\_ACEOF
39285 #define wxUSE_METAFILE 1
39290 if test "$wxUSE_MIMETYPE" = "yes"; then
39291 cat >>confdefs.h
<<\_ACEOF
39292 #define wxUSE_MIMETYPE 1
39297 if test "$wxUSE_MINIFRAME" = "yes"; then
39298 cat >>confdefs.h
<<\_ACEOF
39299 #define wxUSE_MINIFRAME 1
39302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
39305 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39306 cat >>confdefs.h
<<\_ACEOF
39307 #define wxUSE_SYSTEM_OPTIONS 1
39310 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39311 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
39317 if test "$wxUSE_VALIDATORS" = "yes"; then
39318 cat >>confdefs.h
<<\_ACEOF
39319 #define wxUSE_VALIDATORS 1
39322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
39325 if test "$wxUSE_PALETTE" = "yes" ; then
39326 cat >>confdefs.h
<<\_ACEOF
39327 #define wxUSE_PALETTE 1
39332 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39333 LIBS
=" -lunicows $LIBS"
39337 if test "$wxUSE_IMAGE" = "yes" ; then
39338 cat >>confdefs.h
<<\_ACEOF
39339 #define wxUSE_IMAGE 1
39343 if test "$wxUSE_GIF" = "yes" ; then
39344 cat >>confdefs.h
<<\_ACEOF
39345 #define wxUSE_GIF 1
39350 if test "$wxUSE_PCX" = "yes" ; then
39351 cat >>confdefs.h
<<\_ACEOF
39352 #define wxUSE_PCX 1
39357 if test "$wxUSE_IFF" = "yes" ; then
39358 cat >>confdefs.h
<<\_ACEOF
39359 #define wxUSE_IFF 1
39364 if test "$wxUSE_PNM" = "yes" ; then
39365 cat >>confdefs.h
<<\_ACEOF
39366 #define wxUSE_PNM 1
39371 if test "$wxUSE_XPM" = "yes" ; then
39372 cat >>confdefs.h
<<\_ACEOF
39373 #define wxUSE_XPM 1
39378 if test "$wxUSE_ICO_CUR" = "yes" ; then
39379 cat >>confdefs.h
<<\_ACEOF
39380 #define wxUSE_ICO_CUR 1
39387 if test "$wxUSE_CHOICEDLG" = "yes"; then
39388 cat >>confdefs.h
<<\_ACEOF
39389 #define wxUSE_CHOICEDLG 1
39394 if test "$wxUSE_COLOURDLG" = "yes"; then
39395 cat >>confdefs.h
<<\_ACEOF
39396 #define wxUSE_COLOURDLG 1
39401 if test "$wxUSE_FILEDLG" = "yes"; then
39402 cat >>confdefs.h
<<\_ACEOF
39403 #define wxUSE_FILEDLG 1
39408 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39409 cat >>confdefs.h
<<\_ACEOF
39410 #define wxUSE_FINDREPLDLG 1
39415 if test "$wxUSE_FONTDLG" = "yes"; then
39416 cat >>confdefs.h
<<\_ACEOF
39417 #define wxUSE_FONTDLG 1
39422 if test "$wxUSE_DIRDLG" = "yes"; then
39423 if test "$wxUSE_TREECTRL" != "yes"; then
39424 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39425 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39427 cat >>confdefs.h
<<\_ACEOF
39428 #define wxUSE_DIRDLG 1
39434 if test "$wxUSE_MSGDLG" = "yes"; then
39435 cat >>confdefs.h
<<\_ACEOF
39436 #define wxUSE_MSGDLG 1
39441 if test "$wxUSE_NUMBERDLG" = "yes"; then
39442 cat >>confdefs.h
<<\_ACEOF
39443 #define wxUSE_NUMBERDLG 1
39448 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39449 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39450 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39451 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39453 cat >>confdefs.h
<<\_ACEOF
39454 #define wxUSE_PROGRESSDLG 1
39460 if test "$wxUSE_SPLASH" = "yes"; then
39461 cat >>confdefs.h
<<\_ACEOF
39462 #define wxUSE_SPLASH 1
39465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
39468 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39469 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39470 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39471 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39473 cat >>confdefs.h
<<\_ACEOF
39474 #define wxUSE_STARTUP_TIPS 1
39480 if test "$wxUSE_TEXTDLG" = "yes"; then
39481 cat >>confdefs.h
<<\_ACEOF
39482 #define wxUSE_TEXTDLG 1
39487 if test "$wxUSE_WIZARDDLG" = "yes"; then
39488 cat >>confdefs.h
<<\_ACEOF
39489 #define wxUSE_WIZARDDLG 1
39492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
39496 if test "$wxUSE_MEDIACTRL" = "yes"; then
39497 if test "$wxUSE_MSW" = 1; then
39498 wxUSE_DIRECTSHOW
="yes"
39500 for ac_header
in dshow.h
39502 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39503 echo "$as_me:$LINENO: checking for $ac_header" >&5
39504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39506 echo $ECHO_N "(cached) $ECHO_C" >&6
39508 cat >conftest.
$ac_ext <<_ACEOF
39511 cat confdefs.h
>>conftest.
$ac_ext
39512 cat >>conftest.
$ac_ext <<_ACEOF
39513 /* end confdefs.h. */
39514 #include <windows.h>
39516 #include <$ac_header>
39518 rm -f conftest.
$ac_objext
39519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39520 (eval $ac_compile) 2>conftest.er1
39522 grep -v '^ *+' conftest.er1
>conftest.err
39524 cat conftest.err
>&5
39525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39526 (exit $ac_status); } &&
39527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39529 (eval $ac_try) 2>&5
39531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39532 (exit $ac_status); }; } &&
39533 { ac_try
='test -s conftest.$ac_objext'
39534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39535 (eval $ac_try) 2>&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); }; }; then
39539 eval "$as_ac_Header=yes"
39541 echo "$as_me: failed program was:" >&5
39542 sed 's/^/| /' conftest.
$ac_ext >&5
39544 eval "$as_ac_Header=no"
39546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39551 cat >>confdefs.h
<<_ACEOF
39552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39557 wxUSE_DIRECTSHOW
="no"
39558 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39559 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39566 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39567 cat >>confdefs.h
<<\_ACEOF
39568 #define wxUSE_DIRECTSHOW 1
39571 LIBS
="$LIBS -lstrmiids"
39575 if test "$wxUSE_GTK" = 1; then
39576 wxUSE_GSTREAMER
="yes"
39581 if test -z "$PKG_CONFIG"; then
39582 # Extract the first word of "pkg-config", so it can be a program name with args.
39583 set dummy pkg
-config; ac_word
=$2
39584 echo "$as_me:$LINENO: checking for $ac_word" >&5
39585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39586 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39587 echo $ECHO_N "(cached) $ECHO_C" >&6
39589 case $PKG_CONFIG in
39591 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39595 for as_dir
in $PATH
39598 test -z "$as_dir" && as_dir
=.
39599 for ac_exec_ext
in '' $ac_executable_extensions; do
39600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39601 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39608 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39612 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39614 if test -n "$PKG_CONFIG"; then
39615 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39616 echo "${ECHO_T}$PKG_CONFIG" >&6
39618 echo "$as_me:$LINENO: result: no" >&5
39619 echo "${ECHO_T}no" >&6
39624 if test "$PKG_CONFIG" = "no" ; then
39625 echo "*** The pkg-config script could not be found. Make sure it is"
39626 echo "*** in your path, or set the PKG_CONFIG environment variable"
39627 echo "*** to the full path to pkg-config."
39628 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39630 PKG_CONFIG_MIN_VERSION
=0.9.0
39631 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39632 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39633 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39635 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39636 echo "$as_me:$LINENO: result: yes" >&5
39637 echo "${ECHO_T}yes" >&6
39640 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39641 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39642 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39643 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39644 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39646 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39647 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39648 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
39649 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39650 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39652 GSTREAMER_CFLAGS
=""
39654 ## If we have a custom action on failure, don't print errors, but
39655 ## do set a variable so people can do so.
39656 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39663 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39664 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39668 if test $succeeded = yes; then
39670 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
39671 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39675 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39676 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39677 wxUSE_GSTREAMER
="no"
39685 if test "x$GST_INSPECT" == "x"; then
39686 # Extract the first word of "gst-inspect", so it can be a program name with args.
39687 set dummy gst
-inspect; ac_word
=$2
39688 echo "$as_me:$LINENO: checking for $ac_word" >&5
39689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39690 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39691 echo $ECHO_N "(cached) $ECHO_C" >&6
39693 if test -n "$GST_INSPECT"; then
39694 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
39696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39697 for as_dir
in $PATH
39700 test -z "$as_dir" && as_dir
=.
39701 for ac_exec_ext
in '' $ac_executable_extensions; do
39702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39703 ac_cv_prog_GST_INSPECT
="gst-inspect"
39704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39712 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
39713 if test -n "$GST_INSPECT"; then
39714 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39715 echo "${ECHO_T}$GST_INSPECT" >&6
39717 echo "$as_me:$LINENO: result: no" >&5
39718 echo "${ECHO_T}no" >&6
39723 if test "x$GST_INSPECT" != "x"; then
39724 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39725 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39726 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
39727 echo "$as_me:$LINENO: result: found." >&5
39728 echo "${ECHO_T}found." >&6
39731 echo "$as_me:$LINENO: result: not found." >&5
39732 echo "${ECHO_T}not found." >&6
39734 wxUSE_GSTREAMER
="no"
39735 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39736 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39742 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39743 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39744 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39745 echo $ECHO_N "(cached) $ECHO_C" >&6
39747 cat >conftest.
$ac_ext <<_ACEOF
39750 cat confdefs.h
>>conftest.
$ac_ext
39751 cat >>conftest.
$ac_ext <<_ACEOF
39752 /* end confdefs.h. */
39753 #include <gst/gst.h>
39755 #include <gst/xoverlay/xoverlay.h>
39757 rm -f conftest.
$ac_objext
39758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39759 (eval $ac_compile) 2>conftest.er1
39761 grep -v '^ *+' conftest.er1
>conftest.err
39763 cat conftest.err
>&5
39764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765 (exit $ac_status); } &&
39766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39768 (eval $ac_try) 2>&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); }; } &&
39772 { ac_try
='test -s conftest.$ac_objext'
39773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39774 (eval $ac_try) 2>&5
39776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39777 (exit $ac_status); }; }; then
39778 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
39780 echo "$as_me: failed program was:" >&5
39781 sed 's/^/| /' conftest.
$ac_ext >&5
39783 ac_cv_header_gst_xoverlay_xoverlay_h
=no
39785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39787 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
39788 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
39789 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
39793 wxUSE_GSTREAMER
="no"
39794 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
39795 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
39801 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
39802 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
39805 for ac_dir
in $SEARCH_LIB /usr
/lib
;
39807 for ac_extension
in a so sl dylib
; do
39808 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
39809 ac_find_libraries
=$ac_dir
39816 if test "$ac_find_libraries" = "" ; then
39817 echo "$as_me:$LINENO: result: no" >&5
39818 echo "${ECHO_T}no" >&6
39819 wxUSE_GSTREAMER
="no"
39821 echo "$as_me:$LINENO: result: yes" >&5
39822 echo "${ECHO_T}yes" >&6
39825 if test "$wxUSE_GSTREAMER" = "yes"; then
39826 cat >>confdefs.h
<<\_ACEOF
39827 #define wxUSE_GSTREAMER 1
39830 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
39831 echo "${ECHO_T}GStreamer detection successful" >&6
39834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
39835 cat >>confdefs.h
<<\_ACEOF
39836 #define wxUSE_MEDIACTRL 1
39842 if test "$cross_compiling" = "yes"; then
39845 OSINFO
=`uname -s -r -m`
39846 OSINFO
="\"$OSINFO\""
39849 cat >>confdefs.h
<<_ACEOF
39850 #define WXWIN_OS_DESCRIPTION $OSINFO
39855 if test "x$prefix" != "xNONE"; then
39858 wxPREFIX
=$ac_default_prefix
39861 cat >>confdefs.h
<<_ACEOF
39862 #define wxINSTALL_PREFIX "$wxPREFIX"
39868 CORE_BASE_LIBS
="net base"
39869 CORE_GUI_LIBS
="adv core"
39871 if test "$wxUSE_XML" = "yes" ; then
39872 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
39874 if test "$wxUSE_ODBC" != "no" ; then
39875 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
39876 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
39878 if test "$wxUSE_HTML" = "yes" ; then
39879 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
39881 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
39882 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
39884 if test "$wxUSE_XRC" = "yes" ; then
39885 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
39888 if test "$wxUSE_GUI" != "yes"; then
39899 if test "$wxUSE_MAC" = 1 ; then
39900 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39901 if test "$USE_DARWIN" = 1; then
39902 LDFLAGS
="$LDFLAGS -framework QuickTime"
39904 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
39907 if test "$USE_DARWIN" = 1; then
39908 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39910 LDFLAGS
="$LDFLAGS -lCarbonLib"
39913 if test "$wxUSE_COCOA" = 1 ; then
39914 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
39915 if test "$wxUSE_MEDIACTRL" = "yes"; then
39916 LDFLAGS
="$LDFLAGS -framework QuickTime"
39921 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39928 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39929 echo "$as_me:$LINENO: checking for $ac_func" >&5
39930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39931 if eval "test \"\${$as_ac_var+set}\" = set"; then
39932 echo $ECHO_N "(cached) $ECHO_C" >&6
39934 cat >conftest.
$ac_ext <<_ACEOF
39937 cat confdefs.h
>>conftest.
$ac_ext
39938 cat >>conftest.
$ac_ext <<_ACEOF
39939 /* end confdefs.h. */
39940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39942 #define $ac_func innocuous_$ac_func
39944 /* System header to define __stub macros and hopefully few prototypes,
39945 which can conflict with char $ac_func (); below.
39946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39947 <limits.h> exists even on freestanding compilers. */
39950 # include <limits.h>
39952 # include <assert.h>
39957 /* Override any gcc2 internal prototype to avoid an error. */
39962 /* We use char because int might match the return type of a gcc2
39963 builtin and then its argument prototype would still apply. */
39965 /* The GNU C library defines this for functions which it implements
39966 to always fail with ENOSYS. Some functions are actually named
39967 something starting with __ and the normal name is an alias. */
39968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39971 char (*f) () = $ac_func;
39980 return f != $ac_func;
39985 rm -f conftest.
$ac_objext conftest
$ac_exeext
39986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39987 (eval $ac_link) 2>conftest.er1
39989 grep -v '^ *+' conftest.er1
>conftest.err
39991 cat conftest.err
>&5
39992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39993 (exit $ac_status); } &&
39994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39996 (eval $ac_try) 2>&5
39998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39999 (exit $ac_status); }; } &&
40000 { ac_try
='test -s conftest$ac_exeext'
40001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40002 (eval $ac_try) 2>&5
40004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40005 (exit $ac_status); }; }; then
40006 eval "$as_ac_var=yes"
40008 echo "$as_me: failed program was:" >&5
40009 sed 's/^/| /' conftest.
$ac_ext >&5
40011 eval "$as_ac_var=no"
40013 rm -f conftest.err conftest.
$ac_objext \
40014 conftest
$ac_exeext conftest.
$ac_ext
40016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40018 if test `eval echo '${'$as_ac_var'}'` = yes; then
40019 cat >>confdefs.h
<<_ACEOF
40020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40027 for ac_func
in floor
40029 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40030 echo "$as_me:$LINENO: checking for $ac_func" >&5
40031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40032 if eval "test \"\${$as_ac_var+set}\" = set"; then
40033 echo $ECHO_N "(cached) $ECHO_C" >&6
40035 cat >conftest.
$ac_ext <<_ACEOF
40038 cat confdefs.h
>>conftest.
$ac_ext
40039 cat >>conftest.
$ac_ext <<_ACEOF
40040 /* end confdefs.h. */
40041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40043 #define $ac_func innocuous_$ac_func
40045 /* System header to define __stub macros and hopefully few prototypes,
40046 which can conflict with char $ac_func (); below.
40047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40048 <limits.h> exists even on freestanding compilers. */
40051 # include <limits.h>
40053 # include <assert.h>
40058 /* Override any gcc2 internal prototype to avoid an error. */
40063 /* We use char because int might match the return type of a gcc2
40064 builtin and then its argument prototype would still apply. */
40066 /* The GNU C library defines this for functions which it implements
40067 to always fail with ENOSYS. Some functions are actually named
40068 something starting with __ and the normal name is an alias. */
40069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40072 char (*f) () = $ac_func;
40081 return f != $ac_func;
40086 rm -f conftest.
$ac_objext conftest
$ac_exeext
40087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40088 (eval $ac_link) 2>conftest.er1
40090 grep -v '^ *+' conftest.er1
>conftest.err
40092 cat conftest.err
>&5
40093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40094 (exit $ac_status); } &&
40095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40097 (eval $ac_try) 2>&5
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); }; } &&
40101 { ac_try
='test -s conftest$ac_exeext'
40102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40103 (eval $ac_try) 2>&5
40105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40106 (exit $ac_status); }; }; then
40107 eval "$as_ac_var=yes"
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.
$ac_ext >&5
40112 eval "$as_ac_var=no"
40114 rm -f conftest.err conftest.
$ac_objext \
40115 conftest
$ac_exeext conftest.
$ac_ext
40117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40119 if test `eval echo '${'$as_ac_var'}'` = yes; then
40120 cat >>confdefs.h
<<_ACEOF
40121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40127 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40128 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40129 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40130 echo "$as_me:$LINENO: result: yes" >&5
40131 echo "${ECHO_T}yes" >&6
40133 echo "$as_me:$LINENO: result: no" >&5
40134 echo "${ECHO_T}no" >&6
40136 # use different functions to avoid configure caching
40142 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40143 echo "$as_me:$LINENO: checking for $ac_func" >&5
40144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40145 if eval "test \"\${$as_ac_var+set}\" = set"; then
40146 echo $ECHO_N "(cached) $ECHO_C" >&6
40148 cat >conftest.
$ac_ext <<_ACEOF
40151 cat confdefs.h
>>conftest.
$ac_ext
40152 cat >>conftest.
$ac_ext <<_ACEOF
40153 /* end confdefs.h. */
40154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40156 #define $ac_func innocuous_$ac_func
40158 /* System header to define __stub macros and hopefully few prototypes,
40159 which can conflict with char $ac_func (); below.
40160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40161 <limits.h> exists even on freestanding compilers. */
40164 # include <limits.h>
40166 # include <assert.h>
40171 /* Override any gcc2 internal prototype to avoid an error. */
40176 /* We use char because int might match the return type of a gcc2
40177 builtin and then its argument prototype would still apply. */
40179 /* The GNU C library defines this for functions which it implements
40180 to always fail with ENOSYS. Some functions are actually named
40181 something starting with __ and the normal name is an alias. */
40182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40185 char (*f) () = $ac_func;
40194 return f != $ac_func;
40199 rm -f conftest.
$ac_objext conftest
$ac_exeext
40200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40201 (eval $ac_link) 2>conftest.er1
40203 grep -v '^ *+' conftest.er1
>conftest.err
40205 cat conftest.err
>&5
40206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40207 (exit $ac_status); } &&
40208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40210 (eval $ac_try) 2>&5
40212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40213 (exit $ac_status); }; } &&
40214 { ac_try
='test -s conftest$ac_exeext'
40215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40216 (eval $ac_try) 2>&5
40218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40219 (exit $ac_status); }; }; then
40220 eval "$as_ac_var=yes"
40222 echo "$as_me: failed program was:" >&5
40223 sed 's/^/| /' conftest.
$ac_ext >&5
40225 eval "$as_ac_var=no"
40227 rm -f conftest.err conftest.
$ac_objext \
40228 conftest
$ac_exeext conftest.
$ac_ext
40230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40232 if test `eval echo '${'$as_ac_var'}'` = yes; then
40233 cat >>confdefs.h
<<_ACEOF
40234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40241 for ac_func
in ceil
40243 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40244 echo "$as_me:$LINENO: checking for $ac_func" >&5
40245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40246 if eval "test \"\${$as_ac_var+set}\" = set"; then
40247 echo $ECHO_N "(cached) $ECHO_C" >&6
40249 cat >conftest.
$ac_ext <<_ACEOF
40252 cat confdefs.h
>>conftest.
$ac_ext
40253 cat >>conftest.
$ac_ext <<_ACEOF
40254 /* end confdefs.h. */
40255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40257 #define $ac_func innocuous_$ac_func
40259 /* System header to define __stub macros and hopefully few prototypes,
40260 which can conflict with char $ac_func (); below.
40261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40262 <limits.h> exists even on freestanding compilers. */
40265 # include <limits.h>
40267 # include <assert.h>
40272 /* Override any gcc2 internal prototype to avoid an error. */
40277 /* We use char because int might match the return type of a gcc2
40278 builtin and then its argument prototype would still apply. */
40280 /* The GNU C library defines this for functions which it implements
40281 to always fail with ENOSYS. Some functions are actually named
40282 something starting with __ and the normal name is an alias. */
40283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40286 char (*f) () = $ac_func;
40295 return f != $ac_func;
40300 rm -f conftest.
$ac_objext conftest
$ac_exeext
40301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40302 (eval $ac_link) 2>conftest.er1
40304 grep -v '^ *+' conftest.er1
>conftest.err
40306 cat conftest.err
>&5
40307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40308 (exit $ac_status); } &&
40309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40311 (eval $ac_try) 2>&5
40313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40314 (exit $ac_status); }; } &&
40315 { ac_try
='test -s conftest$ac_exeext'
40316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40317 (eval $ac_try) 2>&5
40319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40320 (exit $ac_status); }; }; then
40321 eval "$as_ac_var=yes"
40323 echo "$as_me: failed program was:" >&5
40324 sed 's/^/| /' conftest.
$ac_ext >&5
40326 eval "$as_ac_var=no"
40328 rm -f conftest.err conftest.
$ac_objext \
40329 conftest
$ac_exeext conftest.
$ac_ext
40331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40333 if test `eval echo '${'$as_ac_var'}'` = yes; then
40334 cat >>confdefs.h
<<_ACEOF
40335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40341 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40342 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40343 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40344 echo "$as_me:$LINENO: result: yes" >&5
40345 echo "${ECHO_T}yes" >&6
40347 echo "$as_me:$LINENO: result: no" >&5
40348 echo "${ECHO_T}no" >&6
40349 # not sure we should warn the user, crash, etc.
40353 if test "$wxUSE_GUI" = "yes"; then
40356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40357 dynamic erase event exec font image minimal mobile \
40358 mobile/wxedit mobile/styles propsize render \
40359 richedit rotate shaped vscroll widgets"
40361 if test "$wxUSE_MONOLITHIC" != "yes"; then
40362 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
40364 if test "$TOOLKIT" = "MSW"; then
40365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
40366 if test "$wxUSE_UNIVERSAL" != "yes"; then
40367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40370 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
40374 SAMPLES_SUBDIRS
="console"
40378 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40379 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40381 if test "$GXX" = yes ; then
40383 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
40386 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40388 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40389 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40390 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40392 if test "x$MWCC" = "xyes"; then
40394 CC
="$CC -cwd source -I-"
40395 CXX
="$CXX -cwd source -I-"
40400 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40401 EXTRALIBS_XML
="$EXPAT_LINK"
40402 EXTRALIBS_HTML
="$MSPACK_LINK"
40403 EXTRALIBS_ODBC
="$ODBC_LINK"
40404 if test "$wxUSE_GUI" = "yes"; then
40405 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40407 if test "$wxUSE_OPENGL" = "yes"; then
40408 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
40411 LDFLAGS
="$LDFLAGS $PROFILE"
40413 if test "$wxUSE_GTK" = 1; then
40416 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
40419 WXCONFIG_EXTRALIBS
="$LIBS"
40421 if test "$wxUSE_REGEX" = "builtin" ; then
40422 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
40424 if test "$wxUSE_EXPAT" = "builtin" ; then
40425 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
40427 if test "$wxUSE_ODBC" = "builtin" ; then
40428 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40430 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40431 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
40433 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40434 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
40436 if test "$wxUSE_LIBPNG" = "builtin" ; then
40437 wxconfig_3rdparty
="$wxconfig_3rdparty png"
40439 if test "$wxUSE_ZLIB" = "builtin" ; then
40440 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
40442 if test "$wxUSE_ODBC" = "builtin" ; then
40443 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40446 for i
in $wxconfig_3rdparty ; do
40447 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
40451 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40465 if test $wxUSE_MONOLITHIC = "yes" ; then
40471 if test $wxUSE_PLUGINS = "yes" ; then
40477 if test $wxUSE_ODBC != "no" ; then
40483 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40489 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40517 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40528 TOOLKIT_USER
="GTK+"
40529 if test "$WXGTK20" = 1; then
40530 TOOLKIT_USER
="$TOOLKIT_USER 2"
40535 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
40542 if test "x$BAKEFILE_HOST" = "x"; then
40543 BAKEFILE_HOST
="${host}"
40546 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40548 if test -n "$ac_tool_prefix"; then
40549 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40550 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
40551 echo "$as_me:$LINENO: checking for $ac_word" >&5
40552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40553 if test "${ac_cv_prog_RANLIB+set}" = set; then
40554 echo $ECHO_N "(cached) $ECHO_C" >&6
40556 if test -n "$RANLIB"; then
40557 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
40559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40560 for as_dir
in $PATH
40563 test -z "$as_dir" && as_dir
=.
40564 for ac_exec_ext
in '' $ac_executable_extensions; do
40565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40566 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
40567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40575 RANLIB
=$ac_cv_prog_RANLIB
40576 if test -n "$RANLIB"; then
40577 echo "$as_me:$LINENO: result: $RANLIB" >&5
40578 echo "${ECHO_T}$RANLIB" >&6
40580 echo "$as_me:$LINENO: result: no" >&5
40581 echo "${ECHO_T}no" >&6
40585 if test -z "$ac_cv_prog_RANLIB"; then
40586 ac_ct_RANLIB
=$RANLIB
40587 # Extract the first word of "ranlib", so it can be a program name with args.
40588 set dummy ranlib
; ac_word
=$2
40589 echo "$as_me:$LINENO: checking for $ac_word" >&5
40590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40591 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40592 echo $ECHO_N "(cached) $ECHO_C" >&6
40594 if test -n "$ac_ct_RANLIB"; then
40595 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
40597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40598 for as_dir
in $PATH
40601 test -z "$as_dir" && as_dir
=.
40602 for ac_exec_ext
in '' $ac_executable_extensions; do
40603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40604 ac_cv_prog_ac_ct_RANLIB
="ranlib"
40605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40611 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
40614 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
40615 if test -n "$ac_ct_RANLIB"; then
40616 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40617 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40619 echo "$as_me:$LINENO: result: no" >&5
40620 echo "${ECHO_T}no" >&6
40623 RANLIB
=$ac_ct_RANLIB
40625 RANLIB
="$ac_cv_prog_RANLIB"
40628 # Find a good install program. We prefer a C program (faster),
40629 # so one script is as good as another. But avoid the broken or
40630 # incompatible versions:
40631 # SysV /etc/install, /usr/sbin/install
40632 # SunOS /usr/etc/install
40633 # IRIX /sbin/install
40635 # AmigaOS /C/install, which installs bootblocks on floppy discs
40636 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40637 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40638 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40639 # OS/2's system install, which has a completely different semantic
40640 # ./install, which can be erroneously created by make from ./install.sh.
40641 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40642 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40643 if test -z "$INSTALL"; then
40644 if test "${ac_cv_path_install+set}" = set; then
40645 echo $ECHO_N "(cached) $ECHO_C" >&6
40647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40648 for as_dir
in $PATH
40651 test -z "$as_dir" && as_dir
=.
40652 # Account for people who put trailing slashes in PATH elements.
40654 .
/ | .
// | /cC
/* | \
40655 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
40656 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
40659 # OSF1 and SCO ODT 3.0 have their own names for install.
40660 # Don't use installbsd from OSF since it installs stuff as root
40662 for ac_prog
in ginstall scoinst
install; do
40663 for ac_exec_ext
in '' $ac_executable_extensions; do
40664 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40665 if test $ac_prog = install &&
40666 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40667 # AIX install. It has an incompatible calling convention.
40669 elif test $ac_prog = install &&
40670 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40671 # program-specific install script used by HP pwplus--don't use.
40674 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
40686 if test "${ac_cv_path_install+set}" = set; then
40687 INSTALL
=$ac_cv_path_install
40689 # As a last resort, use the slow shell script. We don't cache a
40690 # path for INSTALL within a source directory, because that will
40691 # break other packages using the cache if that directory is
40692 # removed, or if the path is relative.
40693 INSTALL
=$ac_install_sh
40696 echo "$as_me:$LINENO: result: $INSTALL" >&5
40697 echo "${ECHO_T}$INSTALL" >&6
40699 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40700 # It thinks the first close brace ends the variable substitution.
40701 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
40703 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
40705 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
40707 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40708 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40710 if test "$LN_S" = "ln -s"; then
40711 echo "$as_me:$LINENO: result: yes" >&5
40712 echo "${ECHO_T}yes" >&6
40714 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40715 echo "${ECHO_T}no, using $LN_S" >&6
40719 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40720 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40721 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40722 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40723 echo $ECHO_N "(cached) $ECHO_C" >&6
40725 cat >conftest.
make <<\_ACEOF
40727 @
echo 'ac_maketemp="$(MAKE)"'
40729 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40730 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40731 if test -n "$ac_maketemp"; then
40732 eval ac_cv_prog_make_
${ac_make}_set
=yes
40734 eval ac_cv_prog_make_
${ac_make}_set
=no
40736 rm -f conftest.
make
40738 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40739 echo "$as_me:$LINENO: result: yes" >&5
40740 echo "${ECHO_T}yes" >&6
40743 echo "$as_me:$LINENO: result: no" >&5
40744 echo "${ECHO_T}no" >&6
40745 SET_MAKE
="MAKE=${MAKE-make}"
40750 if test -n "$ac_tool_prefix"; then
40751 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40752 set dummy
${ac_tool_prefix}ar; ac_word
=$2
40753 echo "$as_me:$LINENO: checking for $ac_word" >&5
40754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40755 if test "${ac_cv_prog_AR+set}" = set; then
40756 echo $ECHO_N "(cached) $ECHO_C" >&6
40758 if test -n "$AR"; then
40759 ac_cv_prog_AR
="$AR" # Let the user override the test.
40761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40762 for as_dir
in $PATH
40765 test -z "$as_dir" && as_dir
=.
40766 for ac_exec_ext
in '' $ac_executable_extensions; do
40767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40768 ac_cv_prog_AR
="${ac_tool_prefix}ar"
40769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40778 if test -n "$AR"; then
40779 echo "$as_me:$LINENO: result: $AR" >&5
40780 echo "${ECHO_T}$AR" >&6
40782 echo "$as_me:$LINENO: result: no" >&5
40783 echo "${ECHO_T}no" >&6
40787 if test -z "$ac_cv_prog_AR"; then
40789 # Extract the first word of "ar", so it can be a program name with args.
40790 set dummy
ar; ac_word
=$2
40791 echo "$as_me:$LINENO: checking for $ac_word" >&5
40792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40793 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
40794 echo $ECHO_N "(cached) $ECHO_C" >&6
40796 if test -n "$ac_ct_AR"; then
40797 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
40799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40800 for as_dir
in $PATH
40803 test -z "$as_dir" && as_dir
=.
40804 for ac_exec_ext
in '' $ac_executable_extensions; do
40805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40806 ac_cv_prog_ac_ct_AR
="ar"
40807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40813 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
40816 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
40817 if test -n "$ac_ct_AR"; then
40818 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
40819 echo "${ECHO_T}$ac_ct_AR" >&6
40821 echo "$as_me:$LINENO: result: no" >&5
40822 echo "${ECHO_T}no" >&6
40827 AR
="$ac_cv_prog_AR"
40830 if test -n "$ac_tool_prefix"; then
40831 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
40832 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
40833 echo "$as_me:$LINENO: checking for $ac_word" >&5
40834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40835 if test "${ac_cv_prog_STRIP+set}" = set; then
40836 echo $ECHO_N "(cached) $ECHO_C" >&6
40838 if test -n "$STRIP"; then
40839 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
40841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40842 for as_dir
in $PATH
40845 test -z "$as_dir" && as_dir
=.
40846 for ac_exec_ext
in '' $ac_executable_extensions; do
40847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40848 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
40849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40857 STRIP
=$ac_cv_prog_STRIP
40858 if test -n "$STRIP"; then
40859 echo "$as_me:$LINENO: result: $STRIP" >&5
40860 echo "${ECHO_T}$STRIP" >&6
40862 echo "$as_me:$LINENO: result: no" >&5
40863 echo "${ECHO_T}no" >&6
40867 if test -z "$ac_cv_prog_STRIP"; then
40869 # Extract the first word of "strip", so it can be a program name with args.
40870 set dummy strip
; ac_word
=$2
40871 echo "$as_me:$LINENO: checking for $ac_word" >&5
40872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40873 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40874 echo $ECHO_N "(cached) $ECHO_C" >&6
40876 if test -n "$ac_ct_STRIP"; then
40877 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
40879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40880 for as_dir
in $PATH
40883 test -z "$as_dir" && as_dir
=.
40884 for ac_exec_ext
in '' $ac_executable_extensions; do
40885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40886 ac_cv_prog_ac_ct_STRIP
="strip"
40887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40893 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
40896 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
40897 if test -n "$ac_ct_STRIP"; then
40898 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40899 echo "${ECHO_T}$ac_ct_STRIP" >&6
40901 echo "$as_me:$LINENO: result: no" >&5
40902 echo "${ECHO_T}no" >&6
40907 STRIP
="$ac_cv_prog_STRIP"
40910 if test -n "$ac_tool_prefix"; then
40911 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40912 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
40913 echo "$as_me:$LINENO: checking for $ac_word" >&5
40914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40915 if test "${ac_cv_prog_NM+set}" = set; then
40916 echo $ECHO_N "(cached) $ECHO_C" >&6
40918 if test -n "$NM"; then
40919 ac_cv_prog_NM
="$NM" # Let the user override the test.
40921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40922 for as_dir
in $PATH
40925 test -z "$as_dir" && as_dir
=.
40926 for ac_exec_ext
in '' $ac_executable_extensions; do
40927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40928 ac_cv_prog_NM
="${ac_tool_prefix}nm"
40929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40938 if test -n "$NM"; then
40939 echo "$as_me:$LINENO: result: $NM" >&5
40940 echo "${ECHO_T}$NM" >&6
40942 echo "$as_me:$LINENO: result: no" >&5
40943 echo "${ECHO_T}no" >&6
40947 if test -z "$ac_cv_prog_NM"; then
40949 # Extract the first word of "nm", so it can be a program name with args.
40950 set dummy nm
; ac_word
=$2
40951 echo "$as_me:$LINENO: checking for $ac_word" >&5
40952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40953 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
40954 echo $ECHO_N "(cached) $ECHO_C" >&6
40956 if test -n "$ac_ct_NM"; then
40957 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
40959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40960 for as_dir
in $PATH
40963 test -z "$as_dir" && as_dir
=.
40964 for ac_exec_ext
in '' $ac_executable_extensions; do
40965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40966 ac_cv_prog_ac_ct_NM
="nm"
40967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40973 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
40976 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
40977 if test -n "$ac_ct_NM"; then
40978 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
40979 echo "${ECHO_T}$ac_ct_NM" >&6
40981 echo "$as_me:$LINENO: result: no" >&5
40982 echo "${ECHO_T}no" >&6
40987 NM
="$ac_cv_prog_NM"
40991 case ${BAKEFILE_HOST} in
40993 INSTALL_DIR
="mkdir -p"
40995 *) INSTALL_DIR
="$INSTALL -d"
41001 case ${BAKEFILE_HOST} in
41002 *-*-cygwin* | *-*-mingw32* )
41003 LDFLAGS_GUI
="-mwindows"
41009 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41010 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41011 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41012 echo $ECHO_N "(cached) $ECHO_C" >&6
41015 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
41016 egrep -s GNU
> /dev
/null
); then
41017 bakefile_cv_prog_makeisgnu
="yes"
41019 bakefile_cv_prog_makeisgnu
="no"
41023 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41024 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41026 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41043 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41044 case "${BAKEFILE_HOST}" in
41045 *-*-cygwin* | *-*-mingw32* )
41051 *-pc-os2_emx | *-pc-os2-emx )
41054 powerpc
-*-darwin* )
41061 powerpc
-apple-macos* )
41070 case "$BAKEFILE_FORCE_PLATFORM" in
41091 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41092 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41093 { (exit 1); exit 1; }; }
41108 # Check whether --enable-omf or --disable-omf was given.
41109 if test "${enable_omf+set}" = set; then
41110 enableval
="$enable_omf"
41111 bk_os2_use_omf
="$enableval"
41114 case "${BAKEFILE_HOST}" in
41116 CFLAGS
="$CFLAGS -fno-common"
41117 CXXFLAGS
="$CXXFLAGS -fno-common"
41120 *-pc-os2_emx | *-pc-os2-emx )
41121 if test "x$bk_os2_use_omf" = "xyes" ; then
41124 LDFLAGS
="-Zomf $LDFLAGS"
41125 CFLAGS
="-Zomf $CFLAGS"
41126 CXXFLAGS
="-Zomf $CXXFLAGS"
41134 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
41140 SO_SUFFIX_MODULE
="so"
41145 DLLPREFIX_MODULE
=""
41148 case "${BAKEFILE_HOST}" in
41151 SO_SUFFIX_MODULE
="sl"
41155 SO_SUFFIX_MODULE
="a"
41157 *-*-cygwin* | *-*-mingw32* )
41159 SO_SUFFIX_MODULE
="dll"
41160 DLLIMP_SUFFIX
="dll.a"
41168 *-pc-os2_emx | *-pc-os2-emx )
41170 SO_SUFFIX_MODULE
="dll"
41171 DLLIMP_SUFFIX
=$OS2_LIBEXT
41175 LIBEXT
=".$OS2_LIBEXT"
41177 powerpc
-*-darwin* )
41179 SO_SUFFIX_MODULE
="bundle"
41183 if test "x$DLLIMP_SUFFIX" = "x" ; then
41184 DLLIMP_SUFFIX
="$SO_SUFFIX"
41198 if test "x$GCC" = "xyes"; then
41202 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41203 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41205 case "${BAKEFILE_HOST}" in
41207 if test "x$GCC" != "xyes"; then
41208 LDFLAGS
="$LDFLAGS -L/usr/lib"
41210 SHARED_LD_CC
="${CC} -b -o"
41211 SHARED_LD_CXX
="${CXX} -b -o"
41217 if test "x$GCC" != "xyes"; then
41218 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41219 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41220 if test "${bakefile_cv_prog_icc+set}" = set; then
41221 echo $ECHO_N "(cached) $ECHO_C" >&6
41224 cat >conftest.
$ac_ext <<_ACEOF
41227 cat confdefs.h
>>conftest.
$ac_ext
41228 cat >>conftest.
$ac_ext <<_ACEOF
41229 /* end confdefs.h. */
41235 #ifndef __INTEL_COMPILER
41243 rm -f conftest.
$ac_objext
41244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41245 (eval $ac_compile) 2>conftest.er1
41247 grep -v '^ *+' conftest.er1
>conftest.err
41249 cat conftest.err
>&5
41250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41251 (exit $ac_status); } &&
41252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41254 (eval $ac_try) 2>&5
41256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41257 (exit $ac_status); }; } &&
41258 { ac_try
='test -s conftest.$ac_objext'
41259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41260 (eval $ac_try) 2>&5
41262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41263 (exit $ac_status); }; }; then
41264 bakefile_cv_prog_icc
=yes
41266 echo "$as_me: failed program was:" >&5
41267 sed 's/^/| /' conftest.
$ac_ext >&5
41269 bakefile_cv_prog_icc
=no
41272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41275 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41276 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41277 if test "$bakefile_cv_prog_icc" = "yes"; then
41284 if test "x$GCC" != xyes
; then
41285 SHARED_LD_CC
="${CC} -G -o"
41286 SHARED_LD_CXX
="${CXX} -G -o"
41293 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41294 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41295 if test "${wx_cv_gcc31+set}" = set; then
41296 echo $ECHO_N "(cached) $ECHO_C" >&6
41299 cat >conftest.
$ac_ext <<_ACEOF
41302 cat confdefs.h
>>conftest.
$ac_ext
41303 cat >>conftest.
$ac_ext <<_ACEOF
41304 /* end confdefs.h. */
41310 #if (__GNUC__ < 3) || \
41311 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41319 rm -f conftest.
$ac_objext
41320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41321 (eval $ac_compile) 2>conftest.er1
41323 grep -v '^ *+' conftest.er1
>conftest.err
41325 cat conftest.err
>&5
41326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41327 (exit $ac_status); } &&
41328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41330 (eval $ac_try) 2>&5
41332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41333 (exit $ac_status); }; } &&
41334 { ac_try
='test -s conftest.$ac_objext'
41335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41336 (eval $ac_try) 2>&5
41338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41339 (exit $ac_status); }; }; then
41344 echo "$as_me: failed program was:" >&5
41345 sed 's/^/| /' conftest.
$ac_ext >&5
41352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41355 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41356 echo "${ECHO_T}$wx_cv_gcc31" >&6
41357 if test "$wx_cv_gcc31" = "no"; then
41360 cat <<EOF >shared-ld-sh
41362 #-----------------------------------------------------------------------------
41363 #-- Name: distrib/mac/shared-ld-sh
41364 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41365 #-- Author: Gilles Depeyrot
41366 #-- Copyright: (c) 2002 Gilles Depeyrot
41367 #-- Licence: any use permitted
41368 #-----------------------------------------------------------------------------
41373 linking_flag="-dynamiclib"
41375 while test ${D}# -gt 0; do
41382 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41383 # collect these options and values
41384 args="${D}{args} ${D}1 ${D}2"
41388 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41389 # collect these options
41390 args="${D}{args} ${D}1"
41393 -dynamiclib|-bundle)
41394 linking_flag="${D}1"
41398 echo "shared-ld: unhandled option '${D}1'"
41402 *.o | *.a | *.dylib)
41403 # collect object files
41404 objects="${D}{objects} ${D}1"
41408 echo "shared-ld: unhandled argument '${D}1'"
41417 # Link one module containing all the others
41419 if test ${D}{verbose} = 1; then
41420 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41422 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41424 if test ${D}{status} != 0; then
41429 # Link the shared library from the single module created
41431 if test ${D}{verbose} = 1; then
41432 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41434 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41436 if test ${D}{status} != 0; then
41441 # Remove intermediate module
41443 rm -f master.${D}${D}.o
41448 chmod +x shared
-ld-sh
41450 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41451 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41452 SHARED_LD_CXX
="$SHARED_LD_CC"
41453 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
41455 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41456 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41457 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41458 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41461 PIC_FLAG
="-dynamic -fPIC"
41465 if test "x$GCC" != "xyes"; then
41466 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41467 set dummy makeC
++SharedLib
; ac_word
=$2
41468 echo "$as_me:$LINENO: checking for $ac_word" >&5
41469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41470 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41471 echo $ECHO_N "(cached) $ECHO_C" >&6
41473 if test -n "$AIX_CXX_LD"; then
41474 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
41476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41477 for as_dir
in $PATH
41480 test -z "$as_dir" && as_dir
=.
41481 for ac_exec_ext
in '' $ac_executable_extensions; do
41482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41483 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
41484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41490 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
41493 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
41494 if test -n "$AIX_CXX_LD"; then
41495 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41496 echo "${ECHO_T}$AIX_CXX_LD" >&6
41498 echo "$as_me:$LINENO: result: no" >&5
41499 echo "${ECHO_T}no" >&6
41502 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
41503 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
41508 SHARED_LD_CC
="${LD} -nostart -o"
41509 SHARED_LD_CXX
="${LD} -nostart -o"
41513 if test "x$GCC" != "xyes"; then
41518 *-*-cygwin* | *-*-mingw32* )
41520 SHARED_LD_CC
="\$(CC) -shared -o"
41521 SHARED_LD_CXX
="\$(CXX) -shared -o"
41524 *-pc-os2_emx | *-pc-os2-emx )
41525 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41526 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41530 cat <<EOF >dllar.sh
41533 # dllar - a tool to build both a .dll and an .a file
41534 # from a set of object (.o) files for EMX/OS2.
41536 # Written by Andrew Zabolotny, bit@freya.etu.ru
41537 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41539 # This script will accept a set of files on the command line.
41540 # All the public symbols from the .o files will be exported into
41541 # a .DEF file, then linker will be run (through gcc) against them to
41542 # build a shared library consisting of all given .o files. All libraries
41543 # (.a) will be first decompressed into component .o files then act as
41544 # described above. You can optionally give a description (-d "description")
41545 # which will be put into .DLL. To see the list of accepted options (as well
41546 # as command-line format) simply run this program without options. The .DLL
41547 # is built to be imported by name (there is no guarantee that new versions
41548 # of the library you build will have same ordinals for same symbols).
41550 # dllar is free software; you can redistribute it and/or modify
41551 # it under the terms of the GNU General Public License as published by
41552 # the Free Software Foundation; either version 2, or (at your option)
41553 # any later version.
41555 # dllar is distributed in the hope that it will be useful,
41556 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41557 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41558 # GNU General Public License for more details.
41560 # You should have received a copy of the GNU General Public License
41561 # along with dllar; see the file COPYING. If not, write to the Free
41562 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41565 # To successfuly run this program you will need:
41566 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41567 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41569 # (used to build the .dll)
41571 # (used to create .def file from .o files)
41573 # (used to create .a file from .def file)
41574 # - GNU text utilites (cat, sort, uniq)
41575 # used to process emxexp output
41576 # - GNU file utilities (mv, rm)
41578 # - lxlite (optional, see flag below)
41579 # (used for general .dll cleanup)
41586 # basnam, variant of basename, which does _not_ remove the path, _iff_
41587 # second argument (suffix to remove) is given
41591 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41594 echo ${D}1 | sed 's/'${D}2'${D}//'
41597 echo "error in basnam ${D}*"
41603 # Cleanup temporary files and output
41606 for i in ${D}inputFiles ; do
41609 rm -rf \`basnam ${D}i !\`
41616 # Kill result in case of failure as there is just to many stupid make/nmake
41617 # things out there which doesn't do this.
41618 if [ ${D}# -eq 0 ]; then
41619 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41623 # Print usage and exit script with rc=1.
41625 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41626 echo ' [-name-mangler-script script.sh]'
41627 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41628 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41629 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41630 echo ' [*.o] [*.a]'
41631 echo '*> "output_file" should have no extension.'
41632 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41633 echo ' The import library name is derived from this and is set to "name".a,'
41634 echo ' unless overridden by -import'
41635 echo '*> "importlib_name" should have no extension.'
41636 echo ' If it has the .o, or .a extension, it is automatically removed.'
41637 echo ' This name is used as the import library name and may be longer and'
41638 echo ' more descriptive than the DLL name which has to follow the old '
41639 echo ' 8.3 convention of FAT.'
41640 echo '*> "script.sh may be given to override the output_file name by a'
41641 echo ' different name. It is mainly useful if the regular make process'
41642 echo ' of some package does not take into account OS/2 restriction of'
41643 echo ' DLL name lengths. It takes the importlib name as input and is'
41644 echo ' supposed to procude a shorter name as output. The script should'
41645 echo ' expect to get importlib_name without extension and should produce'
41646 echo ' a (max.) 8 letter name without extension.'
41647 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41648 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41649 echo ' These flags will be put at the start of GCC command line.'
41650 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41651 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41652 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41653 echo ' If the last character of a symbol is "*", all symbols beginning'
41654 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41655 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41656 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41657 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41658 echo ' C runtime DLLs.'
41659 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41660 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41661 echo ' unchanged to GCC at the end of command line.'
41662 echo '*> If you create a DLL from a library and you do not specify -o,'
41663 echo ' the basename for DLL and import library will be set to library name,'
41664 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41665 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41666 echo ' library will be renamed into gcc_s.a.'
41669 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41670 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41675 # Execute a command.
41676 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41677 # @Uses Whatever CleanUp() uses.
41683 if [ ${D}rcCmd -ne 0 ]; then
41684 echo "command failed, exit code="${D}rcCmd
41699 CFLAGS="-s -Zcrtdll"
41701 EXPORT_BY_ORDINALS=0
41706 case ${D}curDirS in
41710 curDirS=${D}{curDirS}"/"
41713 # Parse commandline
41716 while [ ${D}1 ]; do
41719 EXPORT_BY_ORDINALS=1;
41729 -name-mangler-script)
41750 exclude_symbols=${D}{exclude_symbols}${D}1" "
41754 library_flags=${D}{library_flags}${D}1" "
41773 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41776 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
41777 if [ ${D}omfLinking -eq 1 ]; then
41778 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
41780 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
41785 if [ ${D}libsToLink -ne 0 ]; then
41786 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41788 for file in ${D}1 ; do
41789 if [ -f ${D}file ]; then
41790 inputFiles="${D}{inputFiles} ${D}file"
41794 if [ ${D}found -eq 0 ]; then
41795 echo "ERROR: No file(s) found: "${D}1
41802 done # iterate cmdline words
41805 if [ -z "${D}inputFiles" ]; then
41806 echo "dllar: no input files"
41810 # Now extract all .o files from .a files
41812 for file in ${D}inputFiles ; do
41823 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
41828 dirname=\`basnam ${D}file ${D}suffix\`"_%"
41830 if [ ${D}? -ne 0 ]; then
41831 echo "Failed to create subdirectory ./${D}dirname"
41835 # Append '!' to indicate archive
41836 newInputFiles="${D}newInputFiles ${D}{dirname}!"
41837 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
41840 for subfile in ${D}dirname/*.o* ; do
41841 if [ -f ${D}subfile ]; then
41843 if [ -s ${D}subfile ]; then
41844 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
41845 newInputFiles="${D}newInputFiles ${D}subfile"
41849 if [ ${D}found -eq 0 ]; then
41850 echo "WARNING: there are no files in archive \\'${D}file\\'"
41854 newInputFiles="${D}{newInputFiles} ${D}file"
41858 inputFiles="${D}newInputFiles"
41860 # Output filename(s).
41862 if [ -z ${D}outFile ]; then
41864 set outFile ${D}inputFiles; outFile=${D}2
41867 # If it is an archive, remove the '!' and the '_%' suffixes
41868 case ${D}outFile in
41870 outFile=\`basnam ${D}outFile _%!\`
41875 case ${D}outFile in
41877 outFile=\`basnam ${D}outFile .dll\`
41880 outFile=\`basnam ${D}outFile .DLL\`
41883 outFile=\`basnam ${D}outFile .o\`
41886 outFile=\`basnam ${D}outFile .obj\`
41889 outFile=\`basnam ${D}outFile .a\`
41892 outFile=\`basnam ${D}outFile .lib\`
41897 case ${D}outimpFile in
41899 outimpFile=\`basnam ${D}outimpFile .a\`
41902 outimpFile=\`basnam ${D}outimpFile .lib\`
41907 if [ -z ${D}outimpFile ]; then
41908 outimpFile=${D}outFile
41910 defFile="${D}{outFile}.def"
41911 arcFile="${D}{outimpFile}.a"
41912 arcFile2="${D}{outimpFile}.lib"
41914 #create ${D}dllFile as something matching 8.3 restrictions,
41915 if [ -z ${D}renameScript ] ; then
41916 dllFile="${D}outFile"
41918 dllFile=\`${D}renameScript ${D}outimpFile\`
41921 if [ ${D}do_backup -ne 0 ] ; then
41922 if [ -f ${D}arcFile ] ; then
41923 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41925 if [ -f ${D}arcFile2 ] ; then
41926 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41930 # Extract public symbols from all the object files.
41931 tmpdefFile=${D}{defFile}_%
41932 rm -f ${D}tmpdefFile
41933 for file in ${D}inputFiles ; do
41938 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41943 # Create the def file.
41945 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41946 dllFile="${D}{dllFile}.dll"
41947 if [ ! -z ${D}description ]; then
41948 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
41950 echo "EXPORTS" >> ${D}defFile
41952 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
41953 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
41955 # Checks if the export is ok or not.
41956 for word in ${D}exclude_symbols; do
41957 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
41958 mv ${D}{tmpdefFile}% ${D}tmpdefFile
41962 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41963 sed "=" < ${D}tmpdefFile | \\
41967 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
41969 ' > ${D}{tmpdefFile}%
41970 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
41972 rm -f ${D}{tmpdefFile}%
41974 cat ${D}tmpdefFile >> ${D}defFile
41975 rm -f ${D}tmpdefFile
41977 # Do linking, create implib, and apply lxlite.
41979 for file in ${D}inputFiles ; do
41984 gccCmdl="${D}gccCmdl ${D}file"
41988 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
41989 touch "${D}{outFile}.dll"
41991 doCommand "emximp -o ${D}arcFile ${D}defFile"
41992 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
41994 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41997 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
41999 doCommand "emxomf -s -l ${D}arcFile"
42009 powerpc
-apple-macos* | \
42010 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42018 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42019 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42020 { (exit 1); exit 1; }; }
42023 if test "x$PIC_FLAG" != "x" ; then
42024 PIC_FLAG
="$PIC_FLAG -DPIC"
42027 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42028 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
42030 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42031 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
42048 case "${BAKEFILE_HOST}" in
42049 *-*-linux* | *-*-freebsd* )
42050 SONAME_FLAG
="-Wl,-soname,"
42078 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42079 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42082 if test "x$GCC" = "xyes"; then
42085 case "${BAKEFILE_HOST}" in
42086 powerpc
-*-darwin* )
42087 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
42090 DEPSFLAG_GCC
="-MMD"
42093 echo "$as_me:$LINENO: result: gcc" >&5
42094 echo "${ECHO_T}gcc" >&6
42095 elif test "x$MWCC" = "xyes"; then
42098 DEPSFLAG_MWCC
="-MM"
42099 echo "$as_me:$LINENO: result: mwcc" >&5
42100 echo "${ECHO_T}mwcc" >&6
42102 echo "$as_me:$LINENO: result: none" >&5
42103 echo "${ECHO_T}none" >&6
42106 if test $DEPS_TRACKING = 1 ; then
42112 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42113 # script. It is used to track C/C++ files dependencies in portable way.
42115 # Permission is given to use this file in any way.
42117 DEPSMODE=${DEPSMODE}
42119 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42120 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42122 mkdir -p ${D}DEPSDIR
42124 if test ${D}DEPSMODE = gcc ; then
42125 ${D}* ${D}{DEPSFLAG_GCC}
42127 if test ${D}{status} != 0 ; then
42130 # move created file to the location we want it in:
42131 while test ${D}# -gt 0; do
42145 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42146 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42147 if test -f ${D}depfile ; then
42148 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42151 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42152 if test -f ${D}depfile ; then
42153 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42158 elif test ${D}DEPSMODE = mwcc ; then
42161 if test ${D}{status} != 0 ; then
42164 # Run mwcc again with -MM and redirect into the dep file we want
42165 # NOTE: We can't use shift here because we need ${D}* to be valid
42167 for arg in ${D}* ; do
42168 if test "${D}prevarg" = "-o"; then
42181 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42198 case ${BAKEFILE_HOST} in
42199 *-*-cygwin* | *-*-mingw32* )
42200 if test "$build" != "$host" ; then
42201 RESCOMP
=$host_alias-windres
42203 # Extract the first word of "windres", so it can be a program name with args.
42204 set dummy windres
; ac_word
=$2
42205 echo "$as_me:$LINENO: checking for $ac_word" >&5
42206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42207 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42208 echo $ECHO_N "(cached) $ECHO_C" >&6
42210 if test -n "$RESCOMP"; then
42211 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42214 for as_dir
in $PATH
42217 test -z "$as_dir" && as_dir
=.
42218 for ac_exec_ext
in '' $ac_executable_extensions; do
42219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42220 ac_cv_prog_RESCOMP
="windres"
42221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42227 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42230 RESCOMP
=$ac_cv_prog_RESCOMP
42231 if test -n "$RESCOMP"; then
42232 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42233 echo "${ECHO_T}$RESCOMP" >&6
42235 echo "$as_me:$LINENO: result: no" >&5
42236 echo "${ECHO_T}no" >&6
42242 *-*-darwin* | powerpc
-apple-macos* )
42243 # Extract the first word of "Rez", so it can be a program name with args.
42244 set dummy Rez
; ac_word
=$2
42245 echo "$as_me:$LINENO: checking for $ac_word" >&5
42246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42247 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42248 echo $ECHO_N "(cached) $ECHO_C" >&6
42250 if test -n "$RESCOMP"; then
42251 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42254 for as_dir
in $PATH
42257 test -z "$as_dir" && as_dir
=.
42258 for ac_exec_ext
in '' $ac_executable_extensions; do
42259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42260 ac_cv_prog_RESCOMP
="Rez"
42261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42267 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
42270 RESCOMP
=$ac_cv_prog_RESCOMP
42271 if test -n "$RESCOMP"; then
42272 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42273 echo "${ECHO_T}$RESCOMP" >&6
42275 echo "$as_me:$LINENO: result: no" >&5
42276 echo "${ECHO_T}no" >&6
42279 # Extract the first word of "SetFile", so it can be a program name with args.
42280 set dummy SetFile
; ac_word
=$2
42281 echo "$as_me:$LINENO: checking for $ac_word" >&5
42282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42283 if test "${ac_cv_prog_SETFILE+set}" = set; then
42284 echo $ECHO_N "(cached) $ECHO_C" >&6
42286 if test -n "$SETFILE"; then
42287 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
42289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42290 for as_dir
in $PATH
42293 test -z "$as_dir" && as_dir
=.
42294 for ac_exec_ext
in '' $ac_executable_extensions; do
42295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42296 ac_cv_prog_SETFILE
="SetFile"
42297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42303 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
42306 SETFILE
=$ac_cv_prog_SETFILE
42307 if test -n "$SETFILE"; then
42308 echo "$as_me:$LINENO: result: $SETFILE" >&5
42309 echo "${ECHO_T}$SETFILE" >&6
42311 echo "$as_me:$LINENO: result: no" >&5
42312 echo "${ECHO_T}no" >&6
42322 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.8"
42325 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.8"
42329 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42330 if test "${enable_precomp_headers+set}" = set; then
42331 enableval
="$enable_precomp_headers"
42332 bk_use_pch
="$enableval"
42337 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42338 if test "x$GCC" = "xyes"; then
42339 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42340 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42341 cat >conftest.
$ac_ext <<_ACEOF
42344 cat confdefs.h
>>conftest.
$ac_ext
42345 cat >>conftest.
$ac_ext <<_ACEOF
42346 /* end confdefs.h. */
42352 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42353 #error "no pch support"
42356 #error "no pch support"
42358 #if (__GNUC__ == 3) && \
42359 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42360 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42361 #error "no pch support"
42368 rm -f conftest.
$ac_objext
42369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42370 (eval $ac_compile) 2>conftest.er1
42372 grep -v '^ *+' conftest.er1
>conftest.err
42374 cat conftest.err
>&5
42375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42376 (exit $ac_status); } &&
42377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42379 (eval $ac_try) 2>&5
42381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42382 (exit $ac_status); }; } &&
42383 { ac_try
='test -s conftest.$ac_objext'
42384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42385 (eval $ac_try) 2>&5
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); }; }; then
42390 echo "$as_me:$LINENO: result: yes" >&5
42391 echo "${ECHO_T}yes" >&6
42395 echo "$as_me: failed program was:" >&5
42396 sed 's/^/| /' conftest.
$ac_ext >&5
42399 echo "$as_me:$LINENO: result: no" >&5
42400 echo "${ECHO_T}no" >&6
42403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42404 if test $GCC_PCH = 1 ; then
42407 cat <<EOF >bk-make-pch
42410 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42411 # script. It is used to generated precompiled headers.
42413 # Permission is given to use this file in any way.
42422 while test ${D}{#} -gt 0; do
42425 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42426 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42427 headerfile="${D}{incdir}/${D}{header}"
42431 compiler="${D}{compiler} ${D}{1}"
42435 if test "x${D}{headerfile}" = "x" ; then
42436 echo "error: can't find header ${D}{header} in include paths" >2
42438 if test -f ${D}{outfile} ; then
42439 rm -f ${D}{outfile}
42441 mkdir -p \`dirname ${D}{outfile}\`
42443 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42445 # can do this because gcc is >= 3.4:
42446 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42451 chmod +x bk
-make-pch
42458 COND_BUILD_DEBUG
="#"
42459 if test "x$BUILD" = "xdebug" ; then
42460 COND_BUILD_DEBUG
=""
42463 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
42464 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42465 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
42468 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
42469 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42470 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
42473 COND_BUILD_DEBUG_UNICODE_0
="#"
42474 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42475 COND_BUILD_DEBUG_UNICODE_0
=""
42478 COND_BUILD_DEBUG_UNICODE_1
="#"
42479 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42480 COND_BUILD_DEBUG_UNICODE_1
=""
42483 COND_BUILD_RELEASE
="#"
42484 if test "x$BUILD" = "xrelease" ; then
42485 COND_BUILD_RELEASE
=""
42488 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
42489 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42490 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
42493 COND_BUILD_RELEASE_UNICODE_0
="#"
42494 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42495 COND_BUILD_RELEASE_UNICODE_0
=""
42498 COND_BUILD_RELEASE_UNICODE_1
="#"
42499 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42500 COND_BUILD_RELEASE_UNICODE_1
=""
42503 COND_DEBUG_FLAG_1
="#"
42504 if test "x$DEBUG_FLAG" = "x1" ; then
42505 COND_DEBUG_FLAG_1
=""
42508 COND_DEBUG_INFO_0
="#"
42509 if test "x$DEBUG_INFO" = "x0" ; then
42510 COND_DEBUG_INFO_0
=""
42513 COND_DEBUG_INFO_1
="#"
42514 if test "x$DEBUG_INFO" = "x1" ; then
42515 COND_DEBUG_INFO_1
=""
42518 COND_DEPS_TRACKING_0
="#"
42519 if test "x$DEPS_TRACKING" = "x0" ; then
42520 COND_DEPS_TRACKING_0
=""
42523 COND_DEPS_TRACKING_1
="#"
42524 if test "x$DEPS_TRACKING" = "x1" ; then
42525 COND_DEPS_TRACKING_1
=""
42529 if test "x$GCC_PCH" = "x1" ; then
42533 COND_MONOLITHIC_0
="#"
42534 if test "x$MONOLITHIC" = "x0" ; then
42535 COND_MONOLITHIC_0
=""
42538 COND_MONOLITHIC_0_SHARED_0
="#"
42539 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42540 COND_MONOLITHIC_0_SHARED_0
=""
42543 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
42544 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42545 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
42548 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
42549 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42550 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
42553 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
42554 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42555 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
42558 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
42559 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42560 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
42563 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
42564 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42565 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
42568 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
42569 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42570 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
42573 COND_MONOLITHIC_0_SHARED_1
="#"
42574 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42575 COND_MONOLITHIC_0_SHARED_1
=""
42578 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
42579 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42580 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
42583 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
42584 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42585 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
42588 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
42589 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42590 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
42593 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
42594 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42595 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
42598 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
42599 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42600 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
42603 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
42604 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42605 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
42608 COND_MONOLITHIC_0_USE_ODBC_1
="#"
42609 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42610 COND_MONOLITHIC_0_USE_ODBC_1
=""
42613 COND_MONOLITHIC_1
="#"
42614 if test "x$MONOLITHIC" = "x1" ; then
42615 COND_MONOLITHIC_1
=""
42618 COND_MONOLITHIC_1_SHARED_0
="#"
42619 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42620 COND_MONOLITHIC_1_SHARED_0
=""
42623 COND_MONOLITHIC_1_SHARED_1
="#"
42624 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42625 COND_MONOLITHIC_1_SHARED_1
=""
42628 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
42629 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42630 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
42633 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
42634 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42635 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
42638 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
42639 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42640 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
42643 COND_PLATFORM_MACOSX_1
="#"
42644 if test "x$PLATFORM_MACOSX" = "x1" ; then
42645 COND_PLATFORM_MACOSX_1
=""
42648 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
42649 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42650 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
42653 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
42654 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42655 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
42658 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
42659 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42660 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
42663 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
42664 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42665 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
42668 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
42669 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42670 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
42673 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42674 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42675 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42678 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
42679 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42680 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
42683 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
42684 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42685 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
42688 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
42689 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42690 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
42693 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
42694 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42695 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
42698 COND_PLATFORM_MACOS_1
="#"
42699 if test "x$PLATFORM_MACOS" = "x1" ; then
42700 COND_PLATFORM_MACOS_1
=""
42703 COND_PLATFORM_MAC_1
="#"
42704 if test "x$PLATFORM_MAC" = "x1" ; then
42705 COND_PLATFORM_MAC_1
=""
42708 COND_PLATFORM_OS2_1
="#"
42709 if test "x$PLATFORM_OS2" = "x1" ; then
42710 COND_PLATFORM_OS2_1
=""
42713 COND_PLATFORM_UNIX_0
="#"
42714 if test "x$PLATFORM_UNIX" = "x0" ; then
42715 COND_PLATFORM_UNIX_0
=""
42718 COND_PLATFORM_UNIX_1
="#"
42719 if test "x$PLATFORM_UNIX" = "x1" ; then
42720 COND_PLATFORM_UNIX_1
=""
42723 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
42724 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42725 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
42728 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
42729 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42730 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
42733 COND_PLATFORM_WIN32_0
="#"
42734 if test "x$PLATFORM_WIN32" = "x0" ; then
42735 COND_PLATFORM_WIN32_0
=""
42738 COND_PLATFORM_WIN32_1
="#"
42739 if test "x$PLATFORM_WIN32" = "x1" ; then
42740 COND_PLATFORM_WIN32_1
=""
42744 if test "x$SHARED" = "x0" ; then
42748 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
42749 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42750 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
42753 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
42754 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
42755 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
42758 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
42759 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
42760 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
42763 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
42764 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42765 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
42768 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42769 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42770 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42773 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42774 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42775 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42778 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42779 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42780 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42783 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
42784 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
42785 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
42788 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
42789 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
42790 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
42793 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
42794 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
42795 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
42798 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
42799 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
42800 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
42804 if test "x$SHARED" = "x1" ; then
42808 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
42809 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42810 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
42814 if test "x$TOOLKIT" = "x" ; then
42818 COND_TOOLKIT_COCOA
="#"
42819 if test "x$TOOLKIT" = "xCOCOA" ; then
42820 COND_TOOLKIT_COCOA
=""
42823 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
42824 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
42825 COND_TOOLKIT_COCOA_USE_GUI_1
=""
42828 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
42829 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42830 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
42833 COND_TOOLKIT_GTK
="#"
42834 if test "x$TOOLKIT" = "xGTK" ; then
42835 COND_TOOLKIT_GTK
=""
42838 COND_TOOLKIT_GTK_USE_GUI_1
="#"
42839 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
42840 COND_TOOLKIT_GTK_USE_GUI_1
=""
42843 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
42844 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42845 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
42848 COND_TOOLKIT_MAC
="#"
42849 if test "x$TOOLKIT" = "xMAC" ; then
42850 COND_TOOLKIT_MAC
=""
42853 COND_TOOLKIT_MAC_USE_GUI_1
="#"
42854 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42855 COND_TOOLKIT_MAC_USE_GUI_1
=""
42858 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42859 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42860 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42863 COND_TOOLKIT_MGL
="#"
42864 if test "x$TOOLKIT" = "xMGL" ; then
42865 COND_TOOLKIT_MGL
=""
42868 COND_TOOLKIT_MGL_USE_GUI_1
="#"
42869 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
42870 COND_TOOLKIT_MGL_USE_GUI_1
=""
42873 COND_TOOLKIT_MOTIF
="#"
42874 if test "x$TOOLKIT" = "xMOTIF" ; then
42875 COND_TOOLKIT_MOTIF
=""
42878 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
42879 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42880 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
42883 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
42884 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42885 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
42888 COND_TOOLKIT_MSW
="#"
42889 if test "x$TOOLKIT" = "xMSW" ; then
42890 COND_TOOLKIT_MSW
=""
42893 COND_TOOLKIT_MSW_USE_GUI_1
="#"
42894 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42895 COND_TOOLKIT_MSW_USE_GUI_1
=""
42898 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
42899 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42900 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
42903 COND_TOOLKIT_PM
="#"
42904 if test "x$TOOLKIT" = "xPM" ; then
42908 COND_TOOLKIT_PM_USE_GUI_1
="#"
42909 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42910 COND_TOOLKIT_PM_USE_GUI_1
=""
42913 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
42914 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42915 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
42918 COND_TOOLKIT_WINCE
="#"
42919 if test "x$TOOLKIT" = "xWINCE" ; then
42920 COND_TOOLKIT_WINCE
=""
42923 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
42924 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42925 COND_TOOLKIT_WINCE_USE_GUI_1
=""
42928 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
42929 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42930 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
42933 COND_TOOLKIT_X11
="#"
42934 if test "x$TOOLKIT" = "xX11" ; then
42935 COND_TOOLKIT_X11
=""
42938 COND_TOOLKIT_X11_USE_GUI_1
="#"
42939 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42940 COND_TOOLKIT_X11_USE_GUI_1
=""
42944 if test "x$UNICODE" = "x1" ; then
42948 COND_USE_EXCEPTIONS_0
="#"
42949 if test "x$USE_EXCEPTIONS" = "x0" ; then
42950 COND_USE_EXCEPTIONS_0
=""
42953 COND_USE_EXCEPTIONS_1
="#"
42954 if test "x$USE_EXCEPTIONS" = "x1" ; then
42955 COND_USE_EXCEPTIONS_1
=""
42959 if test "x$USE_GUI" = "x0" ; then
42964 if test "x$USE_GUI" = "x1" ; then
42968 COND_USE_GUI_1_WXUNIV_0
="#"
42969 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42970 COND_USE_GUI_1_WXUNIV_0
=""
42973 COND_USE_GUI_1_WXUNIV_1
="#"
42974 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
42975 COND_USE_GUI_1_WXUNIV_1
=""
42978 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42979 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42980 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42983 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42984 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42985 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42988 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42989 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42990 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42993 COND_USE_ODBC_1
="#"
42994 if test "x$USE_ODBC" = "x1" ; then
42998 COND_USE_OPENGL_1
="#"
42999 if test "x$USE_OPENGL" = "x1" ; then
43000 COND_USE_OPENGL_1
=""
43003 COND_USE_PLUGINS_0
="#"
43004 if test "x$USE_PLUGINS" = "x0" ; then
43005 COND_USE_PLUGINS_0
=""
43008 COND_USE_RTTI_0
="#"
43009 if test "x$USE_RTTI" = "x0" ; then
43013 COND_USE_RTTI_1
="#"
43014 if test "x$USE_RTTI" = "x1" ; then
43018 COND_USE_SOSYMLINKS_1
="#"
43019 if test "x$USE_SOSYMLINKS" = "x1" ; then
43020 COND_USE_SOSYMLINKS_1
=""
43023 COND_USE_SOVERLINUX_1
="#"
43024 if test "x$USE_SOVERLINUX" = "x1" ; then
43025 COND_USE_SOVERLINUX_1
=""
43028 COND_USE_SOVERSION_0
="#"
43029 if test "x$USE_SOVERSION" = "x0" ; then
43030 COND_USE_SOVERSION_0
=""
43033 COND_USE_SOVERSOLARIS_1
="#"
43034 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43035 COND_USE_SOVERSOLARIS_1
=""
43038 COND_USE_THREADS_0
="#"
43039 if test "x$USE_THREADS" = "x0" ; then
43040 COND_USE_THREADS_0
=""
43043 COND_USE_THREADS_1
="#"
43044 if test "x$USE_THREADS" = "x1" ; then
43045 COND_USE_THREADS_1
=""
43049 if test "x$USE_XRC" = "x1" ; then
43053 COND_WITH_PLUGIN_SDL_1
="#"
43054 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43055 COND_WITH_PLUGIN_SDL_1
=""
43059 if test "x$WXUNIV" = "x0" ; then
43064 if test "x$WXUNIV" = "x1" ; then
43068 COND_WXUSE_EXPAT_BUILTIN
="#"
43069 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43070 COND_WXUSE_EXPAT_BUILTIN
=""
43073 COND_WXUSE_LIBJPEG_BUILTIN
="#"
43074 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43075 COND_WXUSE_LIBJPEG_BUILTIN
=""
43078 COND_WXUSE_LIBPNG_BUILTIN
="#"
43079 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43080 COND_WXUSE_LIBPNG_BUILTIN
=""
43083 COND_WXUSE_LIBTIFF_BUILTIN
="#"
43084 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43085 COND_WXUSE_LIBTIFF_BUILTIN
=""
43088 COND_WXUSE_ODBC_BUILTIN
="#"
43089 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43090 COND_WXUSE_ODBC_BUILTIN
=""
43093 COND_WXUSE_REGEX_BUILTIN
="#"
43094 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43095 COND_WXUSE_REGEX_BUILTIN
=""
43098 COND_WXUSE_ZLIB_BUILTIN
="#"
43099 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43100 COND_WXUSE_ZLIB_BUILTIN
=""
43105 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43106 { { 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
43107 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;}
43108 { (exit 1); exit 1; }; }
43112 if test "$wxUSE_SHARED" = "yes"; then
43114 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
43115 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
43118 *-pc-os2_emx | *-pc-os2-emx )
43119 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43120 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43121 cp -p ${srcdir}/src
/os
2/dllnames.sh .
43122 cp -p ${srcdir}/src
/os
2/dllar.sh .
43127 EXE_LINKER
="$CXX -o"
43130 if test "$wxUSE_OMF" = "yes"; then
43132 *-pc-os2_emx | *-pc-os2-emx )
43133 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
43134 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43135 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43140 GCC_PRAGMA_FLAGS
=""
43142 if test $GCC_PCH = 1 ; then
43143 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43144 PCH_FLAGS
="-DWX_PRECOMP"
43147 powerpc
-*-darwin* )
43148 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43151 if test "$wxUSE_STL" = "yes" -o \
43152 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43153 "$wxUSE_NO_RTTI" != "yes"; then
43154 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43155 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43156 cat >conftest.
$ac_ext <<_ACEOF
43159 cat confdefs.h
>>conftest.
$ac_ext
43160 cat >>conftest.
$ac_ext <<_ACEOF
43161 /* end confdefs.h. */
43166 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43167 #error "Not GCC 3.2 or greater"
43174 rm -f conftest.
$ac_objext
43175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43176 (eval $ac_compile) 2>conftest.er1
43178 grep -v '^ *+' conftest.er1
>conftest.err
43180 cat conftest.err
>&5
43181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43182 (exit $ac_status); } &&
43183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43185 (eval $ac_try) 2>&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); }; } &&
43189 { ac_try
='test -s conftest.$ac_objext'
43190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43191 (eval $ac_try) 2>&5
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); }; }; then
43195 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43196 echo "$as_me:$LINENO: result: yes" >&5
43197 echo "${ECHO_T}yes" >&6
43199 echo "$as_me: failed program was:" >&5
43200 sed 's/^/| /' conftest.
$ac_ext >&5
43202 echo "$as_me:$LINENO: result: no" >&5
43203 echo "${ECHO_T}no" >&6
43205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43208 *-pc-os2_emx | *-pc-os2-emx )
43209 if test "$wxUSE_STL" = "yes"; then
43210 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43211 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43212 cat >conftest.
$ac_ext <<_ACEOF
43215 cat confdefs.h
>>conftest.
$ac_ext
43216 cat >>conftest.
$ac_ext <<_ACEOF
43217 /* end confdefs.h. */
43222 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43223 #error "Not GCC 3.2 or greater"
43230 rm -f conftest.
$ac_objext
43231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43232 (eval $ac_compile) 2>conftest.er1
43234 grep -v '^ *+' conftest.er1
>conftest.err
43236 cat conftest.err
>&5
43237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43238 (exit $ac_status); } &&
43239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43241 (eval $ac_try) 2>&5
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); }; } &&
43245 { ac_try
='test -s conftest.$ac_objext'
43246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43247 (eval $ac_try) 2>&5
43249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43250 (exit $ac_status); }; }; then
43251 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43252 echo "$as_me:$LINENO: result: yes" >&5
43253 echo "${ECHO_T}yes" >&6
43255 echo "$as_me: failed program was:" >&5
43256 sed 's/^/| /' conftest.
$ac_ext >&5
43258 echo "$as_me:$LINENO: result: no" >&5
43259 echo "${ECHO_T}no" >&6
43261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43266 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43269 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43333 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43334 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43335 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43336 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43337 echo $ECHO_N "(cached) $ECHO_C" >&6
43339 cat >conftest.
make <<\_ACEOF
43341 @
echo 'ac_maketemp="$(MAKE)"'
43343 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43344 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43345 if test -n "$ac_maketemp"; then
43346 eval ac_cv_prog_make_
${ac_make}_set
=yes
43348 eval ac_cv_prog_make_
${ac_make}_set
=no
43350 rm -f conftest.
make
43352 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43353 echo "$as_me:$LINENO: result: yes" >&5
43354 echo "${ECHO_T}yes" >&6
43357 echo "$as_me:$LINENO: result: no" >&5
43358 echo "${ECHO_T}no" >&6
43359 SET_MAKE
="MAKE=${MAKE-make}"
43364 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43367 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43370 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43373 ac_config_files
="$ac_config_files version-script Makefile"
43376 ac_config_commands
="$ac_config_commands wx-config
43382 if test "$wxUSE_GUI" = "yes"; then
43383 SUBDIRS
="samples demos utils contrib"
43384 else SUBDIRS
="samples utils"
43389 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43390 if test "${with_cppunit_prefix+set}" = set; then
43391 withval
="$with_cppunit_prefix"
43392 cppunit_config_prefix
="$withval"
43394 cppunit_config_prefix
=""
43397 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43398 if test "${with_cppunit_exec_prefix+set}" = set; then
43399 withval
="$with_cppunit_exec_prefix"
43400 cppunit_config_exec_prefix
="$withval"
43402 cppunit_config_exec_prefix
=""
43405 if test x
$cppunit_config_exec_prefix != x
; then
43406 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43407 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43408 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
43411 if test x
$cppunit_config_prefix != x
; then
43412 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
43413 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43414 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
43418 # Extract the first word of "cppunit-config", so it can be a program name with args.
43419 set dummy cppunit
-config; ac_word
=$2
43420 echo "$as_me:$LINENO: checking for $ac_word" >&5
43421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43422 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43423 echo $ECHO_N "(cached) $ECHO_C" >&6
43425 case $CPPUNIT_CONFIG in
43427 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43431 for as_dir
in $PATH
43434 test -z "$as_dir" && as_dir
=.
43435 for ac_exec_ext
in '' $ac_executable_extensions; do
43436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43437 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43444 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
43448 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
43450 if test -n "$CPPUNIT_CONFIG"; then
43451 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43452 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43454 echo "$as_me:$LINENO: result: no" >&5
43455 echo "${ECHO_T}no" >&6
43458 cppunit_version_min
=1.8.0
43460 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43461 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43463 if test "$CPPUNIT_CONFIG" = "no" ; then
43466 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
43467 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
43468 cppunit_version
=`$CPPUNIT_CONFIG --version`
43470 cppunit_major_version
=`echo $cppunit_version | \
43471 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43472 cppunit_minor_version
=`echo $cppunit_version | \
43473 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43474 cppunit_micro_version
=`echo $cppunit_version | \
43475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43477 cppunit_major_min
=`echo $cppunit_version_min | \
43478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43479 cppunit_minor_min
=`echo $cppunit_version_min | \
43480 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43481 cppunit_micro_min
=`echo $cppunit_version_min | \
43482 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43484 cppunit_version_proper
=`expr \
43485 $cppunit_major_version \> $cppunit_major_min \| \
43486 $cppunit_major_version \= $cppunit_major_min \& \
43487 $cppunit_minor_version \> $cppunit_minor_min \| \
43488 $cppunit_major_version \= $cppunit_major_min \& \
43489 $cppunit_minor_version \= $cppunit_minor_min \& \
43490 $cppunit_micro_version \>= $cppunit_micro_min `
43492 if test "$cppunit_version_proper" = "1" ; then
43493 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43494 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43496 echo "$as_me:$LINENO: result: no" >&5
43497 echo "${ECHO_T}no" >&6
43502 if test "x$no_cppunit" = x
; then
43503 SUBDIRS
="$SUBDIRS tests"
43514 for subdir
in `echo $SUBDIRS`; do
43515 if test -d ${srcdir}/${subdir} ; then
43516 if test "$wxUSE_GUI" = "yes"; then
43517 if test ${subdir} = "samples"; then
43518 makefiles
="samples/Makefile.in $makefiles"
43519 for sample
in `echo $SAMPLES_SUBDIRS`; do
43520 if test -d $srcdir/samples
/$sample; then
43521 makefiles
="samples/$sample/Makefile.in $makefiles"
43524 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43526 else if test ${subdir} = "samples"; then
43527 makefiles
="samples/Makefile.in samples/console/Makefile.in"
43528 elif test ${subdir} = "utils"; then
43530 for util
in HelpGen tex2rtf
; do
43531 if test -d $srcdir/utils
/$util ; then
43532 makefiles
="utils/$util/Makefile.in \
43533 utils/$util/src/Makefile.in \
43537 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43541 for mkin
in $makefiles ; do
43542 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43543 ac_config_files
="$ac_config_files $mk"
43550 cat >confcache
<<\_ACEOF
43551 # This file is a shell script that caches the results of configure
43552 # tests run on this system so they can be shared between configure
43553 # scripts and configure runs, see configure's option --config-cache.
43554 # It is not useful on other systems. If it contains results you don't
43555 # want to keep, you may remove or edit it.
43557 # config.status only pays attention to the cache file if you give it
43558 # the --recheck option to rerun configure.
43560 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43561 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43562 # following values.
43566 # The following way of writing the cache mishandles newlines in values,
43567 # but we know of no workaround that is simple, portable, and efficient.
43568 # So, don't put newlines in cache variables' values.
43569 # Ultrix sh set writes to stderr and can't be redirected directly,
43570 # and sets the high bit in the cache file unless we assign to the vars.
43573 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43575 # `set' does not quote correctly, so add quotes (double-quote
43576 # substitution turns \\\\ into \\, and sed turns \\ into \).
43579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43582 # `set' quotes correctly as required by POSIX, so do not add quotes.
43584 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43591 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43593 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43595 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
43596 if test -w $cache_file; then
43597 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43598 cat confcache
>$cache_file
43600 echo "not updating unwritable cache $cache_file"
43605 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
43606 # Let make expand exec_prefix.
43607 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
43609 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43610 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43611 # trailing colons and then remove the whole line if VPATH becomes empty
43612 # (actually we leave an empty line to preserve line numbers).
43613 if test "x$srcdir" = x.
; then
43614 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
43615 s/:*\$(srcdir):*/:/;
43616 s/:*\${srcdir}:*/:/;
43618 s/^\([^=]*=[ ]*\):*/\1/;
43624 DEFS
=-DHAVE_CONFIG_H
43628 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
43629 # 1. Remove the extension, and $U if already installed.
43630 ac_i
=`echo "$ac_i" |
43631 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43633 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
43634 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
43636 LIBOBJS
=$ac_libobjs
43638 LTLIBOBJS
=$ac_ltlibobjs
43642 : ${CONFIG_STATUS=./config.status}
43643 ac_clean_files_save
=$ac_clean_files
43644 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
43645 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43646 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43647 cat >$CONFIG_STATUS <<_ACEOF
43649 # Generated by $as_me.
43650 # Run this file to recreate the current configuration.
43651 # Compiler output produced by configure, useful for debugging
43652 # configure, is in config.log if it exists.
43655 ac_cs_recheck=false
43657 SHELL=\${CONFIG_SHELL-$SHELL}
43660 cat >>$CONFIG_STATUS <<\_ACEOF
43661 ## --------------------- ##
43662 ## M4sh Initialization. ##
43663 ## --------------------- ##
43665 # Be Bourne compatible
43666 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
43669 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43670 # is contrary to our usage. Disable this feature.
43671 alias -g '${1+"$@"}'='"$@"'
43672 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
43675 DUALCASE
=1; export DUALCASE
# for MKS sh
43677 # Support unset when possible.
43678 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
43685 # Work around bugs in pre-3.0 UWIN ksh.
43686 $as_unset ENV MAIL MAILPATH
43693 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43694 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43695 LC_TELEPHONE LC_TIME
43697 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43698 eval $as_var=C
; export $as_var
43704 # Required to use basename.
43705 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43711 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
43712 as_basename
=basename
43718 # Name of the executable.
43719 as_me
=`$as_basename "$0" ||
43720 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43721 X"$0" : 'X\(//\)$' \| \
43722 X"$0" : 'X\(/\)$' \| \
43723 . : '\(.\)' 2>/dev/null ||
43725 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43726 /^X\/\(\/\/\)$/{ s//\1/; q; }
43727 /^X\/\(\/\).*/{ s//\1/; q; }
43731 # PATH needs CR, and LINENO needs CR and PATH.
43732 # Avoid depending upon Character Ranges.
43733 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
43734 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43735 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
43736 as_cr_digits
='0123456789'
43737 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43739 # The user is always right.
43740 if test "${PATH_SEPARATOR+set}" != set; then
43741 echo "#! /bin/sh" >conf$$.sh
43742 echo "exit 0" >>conf$$.sh
43744 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
43753 as_lineno_1
=$LINENO
43754 as_lineno_2
=$LINENO
43755 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
43756 test "x$as_lineno_1" != "x$as_lineno_2" &&
43757 test "x$as_lineno_3" = "x$as_lineno_2" || {
43758 # Find who we are. Look in the path if we contain no path at all
43761 *[\\/]* ) as_myself
=$0 ;;
43762 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43763 for as_dir
in $PATH
43766 test -z "$as_dir" && as_dir
=.
43767 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
43772 # We did not find ourselves, most probably we were run as `sh COMMAND'
43773 # in which case we are not to be found in the path.
43774 if test "x$as_myself" = x
; then
43777 if test ! -f "$as_myself"; then
43778 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43779 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43780 { (exit 1); exit 1; }; }
43782 case $CONFIG_SHELL in
43784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43785 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
43788 test -z "$as_dir" && as_dir
=.
43789 for as_base
in sh bash ksh sh5
; do
43792 if ("$as_dir/$as_base" -c '
43793 as_lineno_1=$LINENO
43794 as_lineno_2=$LINENO
43795 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43796 test "x$as_lineno_1" != "x$as_lineno_2" &&
43797 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
43798 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
43799 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
43800 CONFIG_SHELL
=$as_dir/$as_base
43801 export CONFIG_SHELL
43802 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
43810 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43811 # uniformly replaced by the line number. The first 'sed' inserts a
43812 # line-number line before each line; the second 'sed' does the real
43813 # work. The second script uses 'N' to pair each line-number line
43814 # with the numbered line, and appends trailing '-' during
43815 # substitution so that $LINENO is not a special case at line end.
43816 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43817 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
43818 sed '=' <$as_myself |
43823 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
43826 s,^['$as_cr_digits']*\n,,
43827 ' >$as_me.lineno
&&
43828 chmod +x
$as_me.lineno
||
43829 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
43830 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
43831 { (exit 1); exit 1; }; }
43833 # Don't try to exec as it changes $[0], causing all sort of problems
43834 # (the dirname of $[0] is not the place where we might find the
43835 # original and so on. Autoconf is especially sensible to this).
43837 # Exit status is that of the last command.
43842 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
43843 *c
*,-n*) ECHO_N
= ECHO_C
='
43845 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
43846 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
43849 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43855 rm -f conf$$ conf$$.exe conf$$.
file
43857 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
43858 # We could just check for DJGPP; but this test a) works b) is more generic
43859 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
43860 if test -f conf$$.exe
; then
43861 # Don't use ln at all; we don't have any links
43866 elif ln conf$$.
file conf$$
2>/dev
/null
; then
43871 rm -f conf$$ conf$$.exe conf$$.
file
43873 if mkdir -p .
2>/dev
/null
; then
43876 test -d .
/-p && rmdir .
/-p
43880 as_executable_p
="test -f"
43882 # Sed expression to map a string onto a valid CPP name.
43883 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43885 # Sed expression to map a string onto a valid variable name.
43886 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43890 # We need space, tab and new line, in precisely that order.
43900 # Open the log real soon, to keep \$[0] and so on meaningful, and to
43901 # report actual input values of CONFIG_FILES etc. instead of their
43902 # values after options handling. Logging --version etc. is OK.
43906 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43907 ## Running $as_me. ##
43912 This file was extended by wxWidgets $as_me 2.5.5, which was
43913 generated by GNU Autoconf 2.59. Invocation command line was
43915 CONFIG_FILES = $CONFIG_FILES
43916 CONFIG_HEADERS = $CONFIG_HEADERS
43917 CONFIG_LINKS = $CONFIG_LINKS
43918 CONFIG_COMMANDS = $CONFIG_COMMANDS
43922 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43926 # Files that config.status was made for.
43927 if test -n "$ac_config_files"; then
43928 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43931 if test -n "$ac_config_headers"; then
43932 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43935 if test -n "$ac_config_links"; then
43936 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43939 if test -n "$ac_config_commands"; then
43940 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43943 cat >>$CONFIG_STATUS <<\_ACEOF
43946 \`$as_me' instantiates files from templates according to the
43947 current configuration.
43949 Usage: $0 [OPTIONS] [FILE]...
43951 -h, --help print this help, then exit
43952 -V, --version print version number, then exit
43953 -q, --quiet do not print progress messages
43954 -d, --debug don't remove temporary files
43955 --recheck update $as_me by reconfiguring in the same conditions
43956 --file=FILE[:TEMPLATE]
43957 instantiate the configuration file FILE
43958 --header=FILE[:TEMPLATE]
43959 instantiate the configuration header FILE
43961 Configuration files:
43964 Configuration headers:
43967 Configuration commands:
43970 Report bugs to <bug-autoconf@gnu.org>."
43973 cat >>$CONFIG_STATUS <<_ACEOF
43975 wxWidgets config.status 2.5.5
43976 configured by $0, generated by GNU Autoconf 2.59,
43977 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43979 Copyright (C) 2003 Free Software Foundation, Inc.
43980 This config.status script is free software; the Free Software Foundation
43981 gives unlimited permission to copy, distribute and modify it."
43986 cat >>$CONFIG_STATUS <<\_ACEOF
43987 # If no file are specified by the user, then we need to provide default
43988 # value. By we need to know if files were specified by the user.
43994 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
43995 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
44003 *) # This is not an option, so the user has probably given explicit
44006 ac_need_defaults
=false
;;
44010 # Handling of the options.
44012 cat >>$CONFIG_STATUS <<\_ACEOF
44013 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44015 --version | --vers* | -V )
44016 echo "$ac_cs_version"; exit 0 ;;
44018 # Conflict between --help and --header
44019 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44020 Try \`$0 --help' for more information." >&5
44021 echo "$as_me: error: ambiguous option: $1
44022 Try \`$0 --help' for more information." >&2;}
44023 { (exit 1); exit 1; }; };;
44024 --help | --hel | -h )
44025 echo "$ac_cs_usage"; exit 0 ;;
44026 --debug | --d* | -d )
44028 --file | --fil | --fi | --f )
44030 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
44031 ac_need_defaults
=false
;;
44032 --header | --heade | --head | --hea )
44034 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
44035 ac_need_defaults
=false
;;
44036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44037 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44040 # This is an error.
44041 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44042 Try \`$0 --help' for more information." >&5
44043 echo "$as_me: error: unrecognized option: $1
44044 Try \`$0 --help' for more information." >&2;}
44045 { (exit 1); exit 1; }; } ;;
44047 *) ac_config_targets
="$ac_config_targets $1" ;;
44053 ac_configure_extra_args
=
44055 if $ac_cs_silent; then
44057 ac_configure_extra_args
="$ac_configure_extra_args --silent"
44061 cat >>$CONFIG_STATUS <<_ACEOF
44062 if \$ac_cs_recheck; then
44063 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44064 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44069 cat >>$CONFIG_STATUS <<_ACEOF
44071 # INIT-COMMANDS section.
44074 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44075 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44076 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44084 cat >>$CONFIG_STATUS <<\_ACEOF
44085 for ac_config_target
in $ac_config_targets
44087 case "$ac_config_target" in
44088 # Handling of arguments.
44089 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44090 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44091 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
44092 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
44093 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
44094 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
44095 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44096 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44097 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44098 { (exit 1); exit 1; }; };;
44102 # If the user did not use the arguments to specify the items to instantiate,
44103 # then the envvar interface is used. Set only those that are not.
44104 # We use the long form for the default assignment because of an extremely
44105 # bizarre bug on SunOS 4.1.3.
44106 if $ac_need_defaults; then
44107 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
44108 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
44109 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
44112 # Have a temporary directory for convenience. Make it in the build tree
44113 # simply because there is no reason to put it here, and in addition,
44114 # creating and moving files from /tmp can sometimes cause problems.
44115 # Create a temporary directory, and hook for its removal unless debugging.
44118 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44119 trap '{ (exit 1); exit 1; }' 1 2 13 15
44122 # Create a (secure) tmp directory for tmp files.
44125 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44126 test -n "$tmp" && test -d "$tmp"
44129 tmp
=.
/confstat$$
-$RANDOM
44130 (umask 077 && mkdir $tmp)
44133 echo "$me: cannot create a temporary directory in ." >&2
44134 { (exit 1); exit 1; }
44139 cat >>$CONFIG_STATUS <<_ACEOF
44142 # CONFIG_FILES section.
44145 # No need to generate the scripts if there are no CONFIG_FILES.
44146 # This happens for instance when ./config.status config.h
44147 if test -n "\$CONFIG_FILES"; then
44148 # Protect against being on the right side of a sed subst in config.status.
44149 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44150 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44151 s,@SHELL@,$SHELL,;t t
44152 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44153 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44154 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44155 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44156 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44157 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44158 s,@exec_prefix@,$exec_prefix,;t t
44159 s,@prefix@,$prefix,;t t
44160 s,@program_transform_name@,$program_transform_name,;t t
44161 s,@bindir@,$bindir,;t t
44162 s,@sbindir@,$sbindir,;t t
44163 s,@libexecdir@,$libexecdir,;t t
44164 s,@datadir@,$datadir,;t t
44165 s,@sysconfdir@,$sysconfdir,;t t
44166 s,@sharedstatedir@,$sharedstatedir,;t t
44167 s,@localstatedir@,$localstatedir,;t t
44168 s,@libdir@,$libdir,;t t
44169 s,@includedir@,$includedir,;t t
44170 s,@oldincludedir@,$oldincludedir,;t t
44171 s,@infodir@,$infodir,;t t
44172 s,@mandir@,$mandir,;t t
44173 s,@build_alias@,$build_alias,;t t
44174 s,@host_alias@,$host_alias,;t t
44175 s,@target_alias@,$target_alias,;t t
44176 s,@DEFS@,$DEFS,;t t
44177 s,@ECHO_C@,$ECHO_C,;t t
44178 s,@ECHO_N@,$ECHO_N,;t t
44179 s,@ECHO_T@,$ECHO_T,;t t
44180 s,@LIBS@,$LIBS,;t t
44181 s,@build@,$build,;t t
44182 s,@build_cpu@,$build_cpu,;t t
44183 s,@build_vendor@,$build_vendor,;t t
44184 s,@build_os@,$build_os,;t t
44185 s,@host@,$host,;t t
44186 s,@host_cpu@,$host_cpu,;t t
44187 s,@host_vendor@,$host_vendor,;t t
44188 s,@host_os@,$host_os,;t t
44189 s,@target@,$target,;t t
44190 s,@target_cpu@,$target_cpu,;t t
44191 s,@target_vendor@,$target_vendor,;t t
44192 s,@target_os@,$target_os,;t t
44194 s,@CFLAGS@,$CFLAGS,;t t
44195 s,@LDFLAGS@,$LDFLAGS,;t t
44196 s,@CPPFLAGS@,$CPPFLAGS,;t t
44197 s,@ac_ct_CC@,$ac_ct_CC,;t t
44198 s,@EXEEXT@,$EXEEXT,;t t
44199 s,@OBJEXT@,$OBJEXT,;t t
44201 s,@EGREP@,$EGREP,;t t
44203 s,@CXXFLAGS@,$CXXFLAGS,;t t
44204 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44205 s,@RANLIB@,$RANLIB,;t t
44206 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44208 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44209 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44210 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44211 s,@STRIP@,$STRIP,;t t
44212 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44213 s,@LN_S@,$LN_S,;t t
44214 s,@CXXCPP@,$CXXCPP,;t t
44215 s,@subdirs@,$subdirs,;t t
44216 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44217 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44218 s,@GTK_LIBS@,$GTK_LIBS,;t t
44219 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44220 s,@X_CFLAGS@,$X_CFLAGS,;t t
44221 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44222 s,@X_LIBS@,$X_LIBS,;t t
44223 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44224 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44225 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44226 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44227 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44228 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44229 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44230 s,@RESCOMP@,$RESCOMP,;t t
44231 s,@DEREZ@,$DEREZ,;t t
44232 s,@SETFILE@,$SETFILE,;t t
44233 s,@LIBICONV@,$LIBICONV,;t t
44234 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44235 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44236 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44237 s,@SDL_LIBS@,$SDL_LIBS,;t t
44238 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44239 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44240 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44241 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44242 s,@GST_INSPECT@,$GST_INSPECT,;t t
44243 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44244 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44245 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44246 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44247 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44248 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44249 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44250 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44251 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44252 s,@VENDOR@,$VENDOR,;t t
44253 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44254 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44255 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44256 s,@WXUNIV@,$WXUNIV,;t t
44257 s,@MONOLITHIC@,$MONOLITHIC,;t t
44258 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44259 s,@EXTRALIBS@,$EXTRALIBS,;t t
44260 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44261 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44262 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44263 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44264 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44265 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44266 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44267 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44268 s,@UNICODE@,$UNICODE,;t t
44269 s,@BUILD@,$BUILD,;t t
44270 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44271 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44272 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44273 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44274 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44275 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44276 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44277 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44278 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44279 s,@SET_MAKE@,$SET_MAKE,;t t
44280 s,@MAKE_SET@,$MAKE_SET,;t t
44281 s,@ac_ct_AR@,$ac_ct_AR,;t t
44282 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44284 s,@ac_ct_NM@,$ac_ct_NM,;t t
44285 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44286 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44287 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44288 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44289 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44290 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44291 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44292 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44293 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44294 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44295 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44296 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44297 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44298 s,@LIBPREFIX@,$LIBPREFIX,;t t
44299 s,@LIBEXT@,$LIBEXT,;t t
44300 s,@DLLPREFIX@,$DLLPREFIX,;t t
44301 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44302 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44303 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44304 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44305 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44306 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44307 s,@PIC_FLAG@,$PIC_FLAG,;t t
44308 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44309 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44310 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44311 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44312 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44313 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44314 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44315 s,@GCC_PCH@,$GCC_PCH,;t t
44316 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44317 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44318 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44319 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44320 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44321 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44322 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44323 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44324 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44325 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44326 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44327 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44328 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44329 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44330 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44331 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44332 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44333 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44334 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
44335 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
44336 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
44337 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44338 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44339 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44340 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44341 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
44342 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
44343 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
44344 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44345 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44346 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44347 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44348 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44349 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44350 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44351 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44352 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44353 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44354 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44355 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44356 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44357 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44358 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44359 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
44360 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44361 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44362 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44363 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44364 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44365 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44366 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44367 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44368 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44369 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44370 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44371 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44372 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44373 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44374 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44375 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44376 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44377 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44378 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44379 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44380 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44381 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44382 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44383 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44384 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44385 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44386 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44387 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44388 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44389 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44390 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44391 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44392 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44393 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44394 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44395 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44396 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44397 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44398 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44399 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44400 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44401 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44402 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44403 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44404 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44405 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44406 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44407 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44408 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44409 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44410 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44411 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44412 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44413 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44414 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44415 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44416 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44417 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44418 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44419 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44420 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44421 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44422 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44423 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44424 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44425 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44426 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44427 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44428 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44429 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44430 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44431 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44432 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44433 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44434 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44435 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44436 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44437 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44438 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44439 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44440 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44441 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44442 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44443 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44444 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44445 s,@SHARED@,$SHARED,;t t
44446 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44447 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44448 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44449 s,@USE_GUI@,$USE_GUI,;t t
44450 s,@AFMINSTALL@,$AFMINSTALL,;t t
44451 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44452 s,@TOOLKIT@,$TOOLKIT,;t t
44453 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44454 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44455 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44456 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44457 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44458 s,@cross_compiling@,$cross_compiling,;t t
44459 s,@WIDGET_SET@,$WIDGET_SET,;t t
44460 s,@WX_RELEASE@,$WX_RELEASE,;t t
44461 s,@WX_VERSION@,$WX_VERSION,;t t
44462 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44463 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44464 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44465 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44466 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44467 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44468 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44469 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44470 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44471 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44472 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44473 s,@EXE_LINKER@,$EXE_LINKER,;t t
44474 s,@GUIDIST@,$GUIDIST,;t t
44475 s,@DISTDIR@,$DISTDIR,;t t
44476 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44477 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44478 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44479 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44480 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44481 s,@RESFLAGS@,$RESFLAGS,;t t
44482 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44483 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44484 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44485 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44486 s,@MACRESCOMP@,$MACRESCOMP,;t t
44487 s,@MACSETFILE@,$MACSETFILE,;t t
44488 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44490 s,@DLLTOOL@,$DLLTOOL,;t t
44491 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44492 s,@LIBOBJS@,$LIBOBJS,;t t
44493 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44498 cat >>$CONFIG_STATUS <<\_ACEOF
44499 # Split the substitutions into bite-sized pieces for seds with
44500 # small command number limits, like on Digital OSF/1 and HP-UX.
44501 ac_max_sed_lines
=48
44502 ac_sed_frag
=1 # Number of current file.
44503 ac_beg
=1 # First line for current file.
44504 ac_end
=$ac_max_sed_lines # Line after last line for current file.
44507 while $ac_more_lines; do
44508 if test $ac_beg -gt 1; then
44509 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44511 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44513 if test ! -s $tmp/subs.frag
; then
44514 ac_more_lines
=false
44516 # The purpose of the label and of the branching condition is to
44517 # speed up the sed processing (if there are no `@' at all, there
44518 # is no need to browse any of the substitutions).
44519 # These are the two extra sed commands mentioned above.
44521 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
44522 if test -z "$ac_sed_cmds"; then
44523 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
44525 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44527 ac_sed_frag
=`expr $ac_sed_frag + 1`
44529 ac_end
=`expr $ac_end + $ac_max_sed_lines`
44532 if test -z "$ac_sed_cmds"; then
44535 fi # test -n "$CONFIG_FILES"
44538 cat >>$CONFIG_STATUS <<\_ACEOF
44539 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
44540 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44542 - | *:- | *:-:* ) # input from stdin
44544 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44545 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44546 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44547 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44548 * ) ac_file_in
=$ac_file.
in ;;
44551 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44552 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44553 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44554 X"$ac_file" : 'X\(//\)[^/]' \| \
44555 X"$ac_file" : 'X\(//\)$' \| \
44556 X"$ac_file" : 'X\(/\)' \| \
44557 . : '\(.\)' 2>/dev/null ||
44559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44560 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44561 /^X\(\/\/\)$/{ s//\1/; q; }
44562 /^X\(\/\).*/{ s//\1/; q; }
44564 { if $as_mkdir_p; then
44569 while test ! -d "$as_dir"; do
44570 as_dirs
="$as_dir $as_dirs"
44571 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44572 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44573 X"$as_dir" : 'X\(//\)[^/]' \| \
44574 X"$as_dir" : 'X\(//\)$' \| \
44575 X"$as_dir" : 'X\(/\)' \| \
44576 . : '\(.\)' 2>/dev/null ||
44578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44579 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44580 /^X\(\/\/\)$/{ s//\1/; q; }
44581 /^X\(\/\).*/{ s//\1/; q; }
44584 test ! -n "$as_dirs" || mkdir $as_dirs
44585 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44586 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44587 { (exit 1); exit 1; }; }; }
44591 if test "$ac_dir" != .
; then
44592 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44593 # A "../" for each directory in $ac_dir_suffix.
44594 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44596 ac_dir_suffix
= ac_top_builddir
=
44600 .
) # No --srcdir option. We are building in place.
44602 if test -z "$ac_top_builddir"; then
44605 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44607 [\\/]* | ?
:[\\/]* ) # Absolute path.
44608 ac_srcdir
=$srcdir$ac_dir_suffix;
44609 ac_top_srcdir
=$srcdir ;;
44610 *) # Relative path.
44611 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44612 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44615 # Do not use `cd foo && pwd` to compute absolute paths, because
44616 # the directories may not exist.
44618 .
) ac_abs_builddir
="$ac_dir";;
44621 .
) ac_abs_builddir
=`pwd`;;
44622 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44623 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44626 case $ac_abs_builddir in
44627 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44629 case ${ac_top_builddir}.
in
44630 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44631 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44632 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44635 case $ac_abs_builddir in
44636 .
) ac_abs_srcdir
=$ac_srcdir;;
44639 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44640 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44641 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44644 case $ac_abs_builddir in
44645 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44647 case $ac_top_srcdir in
44648 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44649 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44650 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44656 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
44657 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
44660 # Let's still pretend it is `configure' which instantiates (i.e., don't
44661 # use $as_me), people would be surprised to read:
44662 # /* config.h. Generated by config.status. */
44663 if test x
"$ac_file" = x
-; then
44666 configure_input
="$ac_file. "
44668 configure_input
=$configure_input"Generated from `echo $ac_file_in |
44669 sed 's,.*/,,'` by configure."
44671 # First look for the input files in the build tree, otherwise in the
44673 ac_file_inputs
=`IFS=:
44674 for f in $ac_file_in; do
44676 -) echo $tmp/stdin ;;
44678 # Absolute (can't be DOS-style, as IFS=:)
44679 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44680 echo "$as_me: error: cannot find input file: $f" >&2;}
44681 { (exit 1); exit 1; }; }
44684 if test -f "$f"; then
44687 elif test -f "$srcdir/$f"; then
44692 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44693 echo "$as_me: error: cannot find input file: $f" >&2;}
44694 { (exit 1); exit 1; }; }
44697 done` || { (exit 1); exit 1; }
44699 if test x
"$ac_file" != x
-; then
44700 { echo "$as_me:$LINENO: creating $ac_file" >&5
44701 echo "$as_me: creating $ac_file" >&6;}
44705 cat >>$CONFIG_STATUS <<_ACEOF
44709 cat >>$CONFIG_STATUS <<\_ACEOF
44711 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
44712 s
,@configure_input@
,$configure_input,;t t
44713 s
,@srcdir@
,$ac_srcdir,;t t
44714 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
44715 s
,@top_srcdir@
,$ac_top_srcdir,;t t
44716 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
44717 s
,@builddir@
,$ac_builddir,;t t
44718 s
,@abs_builddir@
,$ac_abs_builddir,;t t
44719 s
,@top_builddir@
,$ac_top_builddir,;t t
44720 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
44721 s
,@INSTALL@
,$ac_INSTALL,;t t
44722 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44724 if test x"$ac_file" != x-; then
44725 mv $tmp/out $ac_file
44731 # Run the commands associated with the file.
44733 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44734 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44738 cat >>$CONFIG_STATUS <<\_ACEOF
44741 # CONFIG_HEADER section.
44744 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
44745 # NAME is the cpp macro being defined and VALUE is the value it is being given.
44747 # ac_d sets the value in "#define NAME VALUE" lines.
44748 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44749 ac_dB
='[ ].*$,\1#\2'
44752 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44753 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44754 ac_uB
='$,\1#\2define\3'
44758 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
44759 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44761 - | *:- | *:-:* ) # input from stdin
44763 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44764 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44765 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44766 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44767 * ) ac_file_in
=$ac_file.
in ;;
44770 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44771 echo "$as_me: creating $ac_file" >&6;}
44773 # First look for the input files in the build tree, otherwise in the
44775 ac_file_inputs
=`IFS=:
44776 for f in $ac_file_in; do
44778 -) echo $tmp/stdin ;;
44780 # Absolute (can't be DOS-style, as IFS=:)
44781 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44782 echo "$as_me: error: cannot find input file: $f" >&2;}
44783 { (exit 1); exit 1; }; }
44784 # Do quote $f, to prevent DOS paths from being IFS'd.
44787 if test -f "$f"; then
44790 elif test -f "$srcdir/$f"; then
44795 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44796 echo "$as_me: error: cannot find input file: $f" >&2;}
44797 { (exit 1); exit 1; }; }
44800 done` || { (exit 1); exit 1; }
44801 # Remove the trailing spaces.
44802 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
44806 # Transform confdefs.h into two sed scripts, `conftest.defines' and
44807 # `conftest.undefs', that substitutes the proper values into
44808 # config.h.in to produce config.h. The first handles `#define'
44809 # templates, and the second `#undef' templates.
44810 # And first: Protect against being on the right side of a sed subst in
44811 # config.status. Protect against being in an unquoted here document
44812 # in config.status.
44813 rm -f conftest.defines conftest.undefs
44814 # Using a here document instead of a string reduces the quoting nightmare.
44815 # Putting comments in sed scripts is not portable.
44817 # `end' is used to avoid that the second main sed command (meant for
44818 # 0-ary CPP macros) applies to n-ary macro definitions.
44819 # See the Autoconf documentation for `clear'.
44820 cat >confdef2sed.
sed <<\_ACEOF
44825 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
44827 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
44830 # If some macros were called several times there might be several times
44831 # the same #defines, which is useless. Nevertheless, we may not want to
44832 # sort them, since we want the *last* AC-DEFINE to be honored.
44833 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
44834 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
44835 rm -f confdef2sed.sed
44837 # This sed command replaces #undef with comments. This is necessary, for
44838 # example, in the case of _POSIX_SOURCE, which is predefined and required
44839 # on some systems where configure will not decide to define it.
44840 cat >>conftest.undefs <<\_ACEOF
44841 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44844 # Break up conftest.defines because some shells have a limit on the size
44845 # of here documents, and old seds have small limits too (100 cmds).
44846 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
44847 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
44848 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
44849 echo ' :' >>$CONFIG_STATUS
44850 rm -f conftest.tail
44851 while grep . conftest.defines >/dev/null
44853 # Write a limited-size here document to $tmp/defines.sed.
44854 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
44855 # Speed up: don't consider the non `#define' lines.
44856 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
44857 # Work around the forget-to-reset-the-flag bug.
44858 echo 't clr' >>$CONFIG_STATUS
44859 echo ': clr' >>$CONFIG_STATUS
44860 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
44862 sed -f $tmp/defines.sed $tmp/in >$tmp/out
44864 mv $tmp/out $tmp/in
44866 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
44867 rm -f conftest.defines
44868 mv conftest.
tail conftest.defines
44870 rm -f conftest.defines
44871 echo ' fi # grep' >>$CONFIG_STATUS
44872 echo >>$CONFIG_STATUS
44874 # Break up conftest.undefs because some shells have a limit on the size
44875 # of here documents, and old seds have small limits too (100 cmds).
44876 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
44877 rm -f conftest.
tail
44878 while grep . conftest.undefs
>/dev
/null
44880 # Write a limited-size here document to $tmp/undefs.sed.
44881 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
44882 # Speed up: don't consider the non
`#undef'
44883 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
44884 # Work around the forget-to-reset-the-flag bug.
44885 echo 't clr' >>$CONFIG_STATUS
44886 echo ': clr' >>$CONFIG_STATUS
44887 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
44889 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
44891 mv $tmp/out $tmp/in
44893 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
44894 rm -f conftest.undefs
44895 mv conftest.tail conftest.undefs
44897 rm -f conftest.undefs
44899 cat >>$CONFIG_STATUS <<\_ACEOF
44900 # Let's still pretend it is `configure
' which instantiates (i.e., don't
44901 # use $as_me), people would be surprised to read:
44902 # /* config.h. Generated by config.status. */
44903 if test x
"$ac_file" = x
-; then
44904 echo "/* Generated by configure. */" >$tmp/config.h
44906 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
44908 cat $tmp/in >>$tmp/config.h
44910 if test x
"$ac_file" != x
-; then
44911 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
44912 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44913 echo "$as_me: $ac_file is unchanged" >&6;}
44915 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44916 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44917 X"$ac_file" : 'X\(//\)[^/]' \| \
44918 X"$ac_file" : 'X\(//\)$' \| \
44919 X"$ac_file" : 'X\(/\)' \| \
44920 . : '\(.\)' 2>/dev/null ||
44922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44923 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44924 /^X\(\/\/\)$/{ s//\1/; q; }
44925 /^X\(\/\).*/{ s//\1/; q; }
44927 { if $as_mkdir_p; then
44932 while test ! -d "$as_dir"; do
44933 as_dirs
="$as_dir $as_dirs"
44934 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44935 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44936 X"$as_dir" : 'X\(//\)[^/]' \| \
44937 X"$as_dir" : 'X\(//\)$' \| \
44938 X"$as_dir" : 'X\(/\)' \| \
44939 . : '\(.\)' 2>/dev/null ||
44941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44943 /^X\(\/\/\)$/{ s//\1/; q; }
44944 /^X\(\/\).*/{ s//\1/; q; }
44947 test ! -n "$as_dirs" || mkdir $as_dirs
44948 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44949 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44950 { (exit 1); exit 1; }; }; }
44953 mv $tmp/config.h
$ac_file
44957 rm -f $tmp/config.h
44961 cat >>$CONFIG_STATUS <<\_ACEOF
44964 # CONFIG_COMMANDS section.
44966 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
44967 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
44968 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44969 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
44970 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44971 X"$ac_dest" : 'X\(//\)[^/]' \| \
44972 X"$ac_dest" : 'X\(//\)$' \| \
44973 X"$ac_dest" : 'X\(/\)' \| \
44974 . : '\(.\)' 2>/dev/null ||
44976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44977 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44978 /^X\(\/\/\)$/{ s//\1/; q; }
44979 /^X\(\/\).*/{ s//\1/; q; }
44981 { if $as_mkdir_p; then
44986 while test ! -d "$as_dir"; do
44987 as_dirs
="$as_dir $as_dirs"
44988 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44989 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44990 X"$as_dir" : 'X\(//\)[^/]' \| \
44991 X"$as_dir" : 'X\(//\)$' \| \
44992 X"$as_dir" : 'X\(/\)' \| \
44993 . : '\(.\)' 2>/dev/null ||
44995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44996 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44997 /^X\(\/\/\)$/{ s//\1/; q; }
44998 /^X\(\/\).*/{ s//\1/; q; }
45001 test ! -n "$as_dirs" || mkdir $as_dirs
45002 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45003 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45004 { (exit 1); exit 1; }; }; }
45008 if test "$ac_dir" != .
; then
45009 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45010 # A "../" for each directory in $ac_dir_suffix.
45011 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45013 ac_dir_suffix
= ac_top_builddir
=
45017 .
) # No --srcdir option. We are building in place.
45019 if test -z "$ac_top_builddir"; then
45022 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45024 [\\/]* | ?
:[\\/]* ) # Absolute path.
45025 ac_srcdir
=$srcdir$ac_dir_suffix;
45026 ac_top_srcdir
=$srcdir ;;
45027 *) # Relative path.
45028 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45029 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45032 # Do not use `cd foo && pwd` to compute absolute paths, because
45033 # the directories may not exist.
45035 .
) ac_abs_builddir
="$ac_dir";;
45038 .
) ac_abs_builddir
=`pwd`;;
45039 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45040 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45043 case $ac_abs_builddir in
45044 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45046 case ${ac_top_builddir}.
in
45047 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45048 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45049 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45052 case $ac_abs_builddir in
45053 .
) ac_abs_srcdir
=$ac_srcdir;;
45056 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45057 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45058 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45061 case $ac_abs_builddir in
45062 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45064 case $ac_top_srcdir in
45065 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45066 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45067 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45072 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45073 echo "$as_me: executing $ac_dest commands" >&6;}
45075 wx
-config ) rm -f wx
-config
45076 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
45082 cat >>$CONFIG_STATUS <<\_ACEOF
45084 { (exit 0); exit 0; }
45086 chmod +x
$CONFIG_STATUS
45087 ac_clean_files
=$ac_clean_files_save
45090 # configure is writing to config.log, and then calls config.status.
45091 # config.status does its own redirection, appending to config.log.
45092 # Unfortunately, on DOS this fails, as config.log is still kept open
45093 # by configure, so config.status won't be able to write to it; its
45094 # output is simply discarded. So we exec the FD to /dev/null,
45095 # effectively closing config.log, so it can be properly (re)opened and
45096 # appended to by config.status. When coming back to configure, we
45097 # need to make the FD available again.
45098 if test "$no_create" != yes; then
45100 ac_config_status_args
=
45101 test "$silent" = yes &&
45102 ac_config_status_args
="$ac_config_status_args --quiet"
45104 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
45106 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45107 # would make configure fail if this is the last instruction.
45108 $ac_cs_success || { (exit 1); exit 1; }
45112 # CONFIG_SUBDIRS section.
45114 if test "$no_recursion" != yes; then
45116 # Remove --cache-file and --srcdir arguments so they do not pile up.
45117 ac_sub_configure_args
=
45119 for ac_arg
in $ac_configure_args; do
45120 if test -n "$ac_prev"; then
45125 -cache-file | --cache-file | --cache-fil | --cache-fi \
45126 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45127 ac_prev
=cache_file
;;
45128 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45129 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45132 --config-cache | -C)
45134 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45136 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45138 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45140 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45142 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
45146 # Always prepend --prefix to ensure using the same prefix
45147 # in subdir configurations.
45148 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
45151 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
45153 # Do not complain, so a configure script can configure whichever
45154 # parts of a large source tree are present.
45155 test -d $srcdir/$ac_dir || continue
45157 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45158 echo "$as_me: configuring in $ac_dir" >&6;}
45159 { if $as_mkdir_p; then
45164 while test ! -d "$as_dir"; do
45165 as_dirs
="$as_dir $as_dirs"
45166 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45168 X"$as_dir" : 'X\(//\)[^/]' \| \
45169 X"$as_dir" : 'X\(//\)$' \| \
45170 X"$as_dir" : 'X\(/\)' \| \
45171 . : '\(.\)' 2>/dev/null ||
45173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45174 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45175 /^X\(\/\/\)$/{ s//\1/; q; }
45176 /^X\(\/\).*/{ s//\1/; q; }
45179 test ! -n "$as_dirs" || mkdir $as_dirs
45180 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45181 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45182 { (exit 1); exit 1; }; }; }
45186 if test "$ac_dir" != .
; then
45187 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45188 # A "../" for each directory in $ac_dir_suffix.
45189 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45191 ac_dir_suffix
= ac_top_builddir
=
45195 .
) # No --srcdir option. We are building in place.
45197 if test -z "$ac_top_builddir"; then
45200 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45202 [\\/]* | ?
:[\\/]* ) # Absolute path.
45203 ac_srcdir
=$srcdir$ac_dir_suffix;
45204 ac_top_srcdir
=$srcdir ;;
45205 *) # Relative path.
45206 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45207 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45210 # Do not use `cd foo && pwd` to compute absolute paths, because
45211 # the directories may not exist.
45213 .
) ac_abs_builddir
="$ac_dir";;
45216 .
) ac_abs_builddir
=`pwd`;;
45217 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45218 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45221 case $ac_abs_builddir in
45222 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45224 case ${ac_top_builddir}.
in
45225 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45226 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45227 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45230 case $ac_abs_builddir in
45231 .
) ac_abs_srcdir
=$ac_srcdir;;
45234 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45235 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45236 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45239 case $ac_abs_builddir in
45240 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45242 case $ac_top_srcdir in
45243 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45244 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45245 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45252 # Check for guested configure; otherwise get Cygnus style configure.
45253 if test -f $ac_srcdir/configure.gnu
; then
45254 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
45255 elif test -f $ac_srcdir/configure
; then
45256 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
45257 elif test -f $ac_srcdir/configure.
in; then
45258 ac_sub_configure
=$ac_configure
45260 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45261 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45265 # The recursion is here.
45266 if test -n "$ac_sub_configure"; then
45267 # Make the cache file name correct relative to the subdirectory.
45268 case $cache_file in
45269 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
45270 *) # Relative path.
45271 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
45274 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45275 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45276 # The eval makes quoting arguments work.
45277 eval $ac_sub_configure $ac_sub_configure_args \
45278 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45279 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45280 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45281 { (exit 1); exit 1; }; }
45290 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45292 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45293 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45295 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45296 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45297 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45299 echo " What level of wxWidgets compatibility should be enabled?"
45300 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45301 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45303 echo " Which libraries should wxWidgets use?"
45304 echo " jpeg ${wxUSE_LIBJPEG-none}"
45305 echo " png ${wxUSE_LIBPNG-none}"
45306 echo " regex ${wxUSE_REGEX}"
45307 echo " tiff ${wxUSE_LIBTIFF-none}"
45308 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45309 echo " xpm ${wxUSE_LIBXPM-none}"
45311 echo " zlib ${wxUSE_ZLIB}"
45312 echo " odbc ${wxUSE_ODBC}"
45313 echo " expat ${wxUSE_EXPAT}"
45314 echo " libmspack ${wxUSE_LIBMSPACK}"
45315 echo " sdl ${wxUSE_LIBSDL}"
45316 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"