2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.4.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.5.4'
274 PACKAGE_STRING
='wxWidgets 2.5.4'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.5.4 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.5.4:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
908 --enable-backtrace use wxStackWalker class
for getting backtraces
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-dialupman use dialup network classes
912 --enable-dynlib use wxLibrary class
for DLL loading
913 --enable-dynamicloader use
(new
) wxDynamicLibrary class
914 --enable-exceptions build exception
-safe library
915 --enable-ffile use wxFFile class
916 --enable-file use wxFile class
917 --enable-filesystem use virtual
file systems classes
918 --enable-fontmap use font encodings conversion classes
919 --enable-fs_inet use virtual HTTP
/FTP filesystems
920 --enable-fs_zip use virtual ZIP filesystems
921 --enable-geometry use geometry class
922 --enable-log use logging system
923 --enable-longlong use wxLongLong class
924 --enable-mimetype use wxMimeTypesManager
925 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
926 --enable-snglinst use wxSingleInstanceChecker class
927 --enable-streams use wxStream etc classes
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-stopwatch use wxStopWatch class
930 --enable-sysoptions use wxSystemOptions
931 --enable-textbuf use wxTextBuffer class
932 --enable-textfile use wxTextFile class
933 --enable-timer use wxTimer class
934 --enable-unicode compile wxString with Unicode support
935 --enable-sound use wxSound class
936 --enable-mediactrl use wxMediaCtrl class
937 --enable-wxprintfv use wxWidgets implementation of vprintf
()
938 --enable-zipstream use wxZip streams
939 --enable-url use wxURL class
940 --enable-protocol use wxProtocol class
941 --enable-protocol-http HTTP support
in wxProtocol
942 --enable-protocol-ftp FTP support
in wxProtocol
943 --enable-protocol-file FILE support
in wxProtocol
944 --enable-threads use threads
945 --enable-docview use document view architecture
946 --enable-help use
help subsystem
947 --enable-mshtmlhelp use MS HTML Help
(win32
)
948 --enable-html use wxHTML sub
-library
949 --enable-htmlhelp use wxHTML
-based help
950 --enable-xrc use XRC resources sub
-library
951 --enable-constraints use layout
-constraints system
952 --enable-printarch use printing architecture
953 --enable-mdi use multiple document interface architecture
954 --enable-mdidoc use docview architecture with MDI
955 --enable-loggui use standard GUI logger
956 --enable-logwin use wxLogWindow
957 --enable-logdialog use wxLogDialog
958 --enable-webkit use wxWebKitCtrl
(Mac
)
959 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
960 --enable-prologio not available
; see contrib
961 --enable-resources not available
; see contrib
962 --enable-clipboard use wxClipboard class
963 --enable-dnd use Drag
'n'Drop classes
964 --enable-metafile use win32 metafiles
965 --enable-controls use all usual controls
966 --enable-accel use accelerators
967 --enable-button use wxButton class
968 --enable-bmpbutton use wxBitmapButton class
969 --enable-calendar use wxCalendarCtrl class
970 --enable-caret use wxCaret class
971 --enable-checkbox use wxCheckBox class
972 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
973 --enable-choice use wxChoice class
974 --enable-choicebook use wxChoicebook class
975 --enable-combobox use wxComboBox class
976 --enable-datepick use wxDatePickerCtrl class
977 --enable-display use wxDisplay class
978 --enable-gauge use wxGauge class
979 --enable-grid use wxGrid class
980 --enable-imaglist use wxImageList class
981 --enable-listbook use wxListbook class
982 --enable-listbox use wxListBox class
983 --enable-listctrl use wxListCtrl class
984 --enable-notebook use wxNotebook class
985 --enable-radiobox use wxRadioBox class
986 --enable-radiobtn use wxRadioButton class
987 --enable-sash use wxSashWindow class
988 --enable-scrollbar use wxScrollBar class and scrollable windows
989 --enable-slider use wxSlider class
990 --enable-spinbtn use wxSpinButton class
991 --enable-spinctrl use wxSpinCtrl class
992 --enable-splitter use wxSplitterWindow class
993 --enable-statbmp use wxStaticBitmap class
994 --enable-statbox use wxStaticBox class
995 --enable-statline use wxStaticLine class
996 --enable-stattext use wxStaticText class
997 --enable-statusbar use wxStatusBar class
998 --enable-tabdialog use wxTabControl class
999 --enable-textctrl use wxTextCtrl class
1000 --enable-togglebtn use wxToggleButton class
1001 --enable-toolbar use wxToolBar class
1002 --enable-tbarnative use native wxToolBar class
1003 --enable-tbarsmpl use wxToolBarSimple class
1004 --enable-treectrl use wxTreeCtrl class
1005 --enable-tipwindow use wxTipWindow class
1006 --enable-popupwin use wxPopUpWindow class
1007 --enable-commondlg use all common dialogs
1008 --enable-choicedlg use wxChoiceDialog
1009 --enable-coldlg use wxColourDialog
1010 --enable-filedlg use wxFileDialog
1011 --enable-finddlg use wxFindReplaceDialog
1012 --enable-fontdlg use wxFontDialog
1013 --enable-dirdlg use wxDirDialog
1014 --enable-msgdlg use wxMessageDialog
1015 --enable-numberdlg use wxNumberEntryDialog
1016 --enable-splash use wxSplashScreen
1017 --enable-textdlg use wxTextDialog
1018 --enable-tipdlg use startup tips
1019 --enable-progressdlg use wxProgressDialog
1020 --enable-wizarddlg use wxWizard
1021 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1022 --enable-miniframe use wxMiniFrame class
1023 --enable-tooltips use wxToolTip class
1024 --enable-splines use spline drawing code
1025 --enable-validators use wxValidator and derived classes
1026 --enable-busyinfo use wxBusyInfo
1027 --enable-joystick use wxJoystick
1028 --enable-metafiles use wxMetaFile
(Windows only
)
1029 --enable-dragimage use wxDragImage
1030 --enable-accessibility enable accessibility support
1031 --enable-palette use wxPalette class
1032 --enable-image use wxImage class
1033 --enable-gif use gif images
(GIF
file format
)
1034 --enable-pcx use pcx images
(PCX
file format
)
1035 --enable-iff use iff images
(IFF
file format
)
1036 --enable-pnm use pnm images
(PNM
file format
)
1037 --enable-xpm use xpm images
(XPM
file format
)
1038 --enable-icocur use Windows ICO and CUR formats
1039 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1040 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1041 --disable-largefile omit support
for large files
1042 --disable-gtktest do not try to compile and run a
test GTK
+ program
1043 --disable-gtktest Do not try to compile and run a
test GTK program
1044 --disable-sdltest Do not try to compile and run a
test SDL program
1045 --enable-omf use OMF object format
(OS
/2)
1046 --disable-precomp-headers
1047 don
't use precompiled headers even if compiler can
1050 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1051 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1053 --with-motif use Motif/Lesstif
1054 --with-mac use Mac OS X
1055 --with-cocoa use Cocoa
1056 --with-wine use Wine
1057 --with-msw use MS-Windows
1058 --with-pm use OS/2 Presentation Manager
1059 --with-mgl use SciTech MGL
1060 --with-microwin use MicroWindows
1062 --with-libpng use libpng (PNG image format)
1063 --with-libjpeg use libjpeg (JPEG file format)
1064 --with-libtiff use libtiff (TIFF file format)
1065 --with-libxpm use libxpm (XPM file format)
1066 --with-libmspack use libmspack (CHM help files loading)
1067 --with-sdl use SDL for audio on Unix
1068 --with-gnomeprint use GNOME print for printing under Unix
1069 --with-opengl use OpenGL (or Mesa)
1070 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1071 --with-regex enable support for wxRegEx class
1072 --with-zlib use zlib for LZW compression
1073 --with-odbc use the IODBC and wxODBC classes
1074 --with-expat enable XML support using expat parser
1075 --with-flavour=NAME specify a name to identify this build
1076 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1077 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1078 --with-x use the X Window System
1079 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1080 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1081 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1082 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1083 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1085 Some influential environment variables:
1086 CC C compiler command
1087 CFLAGS C compiler flags
1088 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1089 nonstandard directory <lib dir>
1090 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1091 headers in a nonstandard directory <include dir>
1093 CXX C++ compiler command
1094 CXXFLAGS C++ compiler flags
1095 CXXCPP C++ preprocessor
1097 Use these variables to override the choices made by `configure' or to
help
1098 it to
find libraries and programs with nonstandard names
/locations.
1100 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1104 if test "$ac_init_help" = "recursive"; then
1105 # If there are subdirs, report their specific --help.
1107 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1108 test -d $ac_dir || continue
1111 if test "$ac_dir" != .
; then
1112 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1113 # A "../" for each directory in $ac_dir_suffix.
1114 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1116 ac_dir_suffix
= ac_top_builddir
=
1120 .
) # No --srcdir option. We are building in place.
1122 if test -z "$ac_top_builddir"; then
1125 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1127 [\\/]* | ?
:[\\/]* ) # Absolute path.
1128 ac_srcdir
=$srcdir$ac_dir_suffix;
1129 ac_top_srcdir
=$srcdir ;;
1131 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1132 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1135 # Do not use `cd foo && pwd` to compute absolute paths, because
1136 # the directories may not exist.
1138 .
) ac_abs_builddir
="$ac_dir";;
1141 .
) ac_abs_builddir
=`pwd`;;
1142 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1143 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1146 case $ac_abs_builddir in
1147 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1149 case ${ac_top_builddir}.
in
1150 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1151 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1152 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1155 case $ac_abs_builddir in
1156 .
) ac_abs_srcdir
=$ac_srcdir;;
1159 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1160 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1161 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1164 case $ac_abs_builddir in
1165 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1167 case $ac_top_srcdir in
1168 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1169 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1170 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1175 # Check for guested configure; otherwise get Cygnus style configure.
1176 if test -f $ac_srcdir/configure.gnu
; then
1178 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1179 elif test -f $ac_srcdir/configure
; then
1181 $SHELL $ac_srcdir/configure
--help=recursive
1182 elif test -f $ac_srcdir/configure.ac
||
1183 test -f $ac_srcdir/configure.
in; then
1185 $ac_configure --help
1187 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1193 test -n "$ac_init_help" && exit 0
1194 if $ac_init_version; then
1196 wxWidgets configure
2.5.4
1197 generated by GNU Autoconf
2.59
1199 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1200 This configure
script is free software
; the Free Software Foundation
1201 gives unlimited permission to copy
, distribute and modify it.
1207 This file contains any messages produced by compilers while
1208 running configure, to aid debugging if configure makes a mistake.
1210 It was created by wxWidgets $as_me 2.5.4, which was
1211 generated by GNU Autoconf 2.59. Invocation command line was
1222 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1223 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1224 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1225 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1226 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1228 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1229 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1231 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1232 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1233 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1234 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1235 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1236 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1237 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1245 test -z "$as_dir" && as_dir
=.
1246 echo "PATH: $as_dir"
1261 # Keep a trace of the command line.
1262 # Strip out --no-create and --no-recursion so they do not pile up.
1263 # Strip out --silent because we don't want to record it for future runs.
1264 # Also quote any args containing shell meta-characters.
1265 # Make two passes to allow for proper duplicate-argument suppression.
1270 ac_must_keep_next
=false
1276 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1277 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1278 | -silent | --silent | --silen | --sile | --sil)
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1286 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1287 if test $ac_must_keep_next = true
; then
1288 ac_must_keep_next
=false
# Got value, back to normal.
1291 *=* | --config-cache | -C | -disable-* | --disable-* \
1292 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1293 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1294 | -with-* | --with-* | -without-* | --without-* | --x)
1295 case "$ac_configure_args0 " in
1296 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1299 -* ) ac_must_keep_next
=true
;;
1302 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1303 # Get rid of the leading space.
1309 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1310 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1312 # When interrupted or exit'd, cleanup temporary files, and complete
1313 # config.log. We remove comments because anyway the quotes in there
1314 # would cause problems or look ugly.
1315 # WARNING: Be sure not to use single quotes in there, as some shells,
1316 # such as our DU 5.0 friend, will then `close' the trap.
1317 trap 'exit_status=$?
1318 # Save into config.log some information that might help in debugging.
1323 ## ---------------- ##
1324 ## Cache variables. ##
1325 ## ---------------- ##
1328 # The following way of writing the cache mishandles newlines in values,
1331 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1334 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1339 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1346 ## ----------------- ##
1347 ## Output variables. ##
1348 ## ----------------- ##
1351 for ac_var in $ac_subst_vars
1353 eval ac_val=$`echo $ac_var`
1354 echo "$ac_var='"'"'$ac_val'"'"'"
1358 if test -n "$ac_subst_files"; then
1365 for ac_var in $ac_subst_files
1367 eval ac_val=$`echo $ac_var`
1368 echo "$ac_var='"'"'$ac_val'"'"'"
1373 if test -s confdefs.h; then
1380 sed "/^$/d" confdefs.h | sort
1383 test "$ac_signal" != 0 &&
1384 echo "$as_me: caught signal $ac_signal"
1385 echo "$as_me: exit $exit_status"
1387 rm -f core *.core &&
1388 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1391 for ac_signal
in 1 2 13 15; do
1392 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1396 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1397 rm -rf conftest
* confdefs.h
1398 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1401 # Predefined preprocessor variables.
1403 cat >>confdefs.h
<<_ACEOF
1404 #define PACKAGE_NAME "$PACKAGE_NAME"
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1418 cat >>confdefs.h
<<_ACEOF
1419 #define PACKAGE_STRING "$PACKAGE_STRING"
1423 cat >>confdefs.h
<<_ACEOF
1424 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1428 # Let the site file select an alternate cache file if it wants to.
1429 # Prefer explicitly selected file to automatically selected ones.
1430 if test -z "$CONFIG_SITE"; then
1431 if test "x$prefix" != xNONE
; then
1432 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1434 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1437 for ac_site_file
in $CONFIG_SITE; do
1438 if test -r "$ac_site_file"; then
1439 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1440 echo "$as_me: loading site script $ac_site_file" >&6;}
1441 sed 's/^/| /' "$ac_site_file" >&5
1446 if test -r "$cache_file"; then
1447 # Some versions of bash will fail to source /dev/null (special
1448 # files actually), so we avoid doing that.
1449 if test -f "$cache_file"; then
1450 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1451 echo "$as_me: loading cache $cache_file" >&6;}
1453 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1454 *) . .
/$cache_file;;
1458 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1459 echo "$as_me: creating cache $cache_file" >&6;}
1463 # Check that the precious variables saved in the cache have kept the same
1465 ac_cache_corrupted
=false
1466 for ac_var
in `(set) 2>&1 |
1467 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1468 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1469 eval ac_new_set
=\
$ac_env_${ac_var}_set
1470 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1471 eval ac_new_val
="\$ac_env_${ac_var}_value"
1472 case $ac_old_set,$ac_new_set in
1474 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1475 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1476 ac_cache_corrupted
=: ;;
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1480 ac_cache_corrupted
=: ;;
1483 if test "x$ac_old_val" != "x$ac_new_val"; then
1484 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1485 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1486 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1487 echo "$as_me: former value: $ac_old_val" >&2;}
1488 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1489 echo "$as_me: current value: $ac_new_val" >&2;}
1490 ac_cache_corrupted
=:
1493 # Pass precious variables to config.status.
1494 if test "$ac_new_set" = set; then
1496 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1497 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1498 *) ac_arg
=$ac_var=$ac_new_val ;;
1500 case " $ac_configure_args " in
1501 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1502 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1506 if $ac_cache_corrupted; then
1507 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1508 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1509 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1510 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1511 { (exit 1); exit 1; }; }
1515 ac_cpp
='$CPP $CPPFLAGS'
1516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1550 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1551 if test -f $ac_dir/install-sh; then
1553 ac_install_sh
="$ac_aux_dir/install-sh -c"
1555 elif test -f $ac_dir/install.sh
; then
1557 ac_install_sh
="$ac_aux_dir/install.sh -c"
1559 elif test -f $ac_dir/shtool
; then
1561 ac_install_sh
="$ac_aux_dir/shtool install -c"
1565 if test -z "$ac_aux_dir"; then
1566 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1567 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1568 { (exit 1); exit 1; }; }
1570 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1571 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1572 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1574 # Make sure we can run config.sub.
1575 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1576 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1577 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1578 { (exit 1); exit 1; }; }
1580 echo "$as_me:$LINENO: checking build system type" >&5
1581 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1582 if test "${ac_cv_build+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 ac_cv_build_alias
=$build_alias
1586 test -z "$ac_cv_build_alias" &&
1587 ac_cv_build_alias
=`$ac_config_guess`
1588 test -z "$ac_cv_build_alias" &&
1589 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1590 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1591 { (exit 1); exit 1; }; }
1592 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1593 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1594 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1595 { (exit 1); exit 1; }; }
1598 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1599 echo "${ECHO_T}$ac_cv_build" >&6
1601 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1602 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1603 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1606 echo "$as_me:$LINENO: checking host system type" >&5
1607 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1608 if test "${ac_cv_host+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1611 ac_cv_host_alias
=$host_alias
1612 test -z "$ac_cv_host_alias" &&
1613 ac_cv_host_alias
=$ac_cv_build_alias
1614 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1615 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1616 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1617 { (exit 1); exit 1; }; }
1620 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1621 echo "${ECHO_T}$ac_cv_host" >&6
1623 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1624 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1625 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1628 echo "$as_me:$LINENO: checking target system type" >&5
1629 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1630 if test "${ac_cv_target+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 ac_cv_target_alias
=$target_alias
1634 test "x$ac_cv_target_alias" = "x" &&
1635 ac_cv_target_alias
=$ac_cv_host_alias
1636 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1637 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1638 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1639 { (exit 1); exit 1; }; }
1642 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1643 echo "${ECHO_T}$ac_cv_target" >&6
1644 target
=$ac_cv_target
1645 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1646 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1647 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1650 # The aliases save the names the user supplied, while $host etc.
1651 # will get canonicalized.
1652 test -n "$target_alias" &&
1653 test "$program_prefix$program_suffix$program_transform_name" = \
1655 program_prefix
=${target_alias}-
1659 wx_major_version_number
=2
1660 wx_minor_version_number
=5
1662 wx_subrelease_number
=1
1664 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1665 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1666 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1668 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1684 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1690 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1696 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1698 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1700 DEFAULT_wxUSE_COCOA
=0
1704 DEFAULT_wxUSE_MICROWIN
=0
1705 DEFAULT_wxUSE_MOTIF
=0
1710 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1711 DEFAULT_DEFAULT_wxUSE_GTK
=0
1712 DEFAULT_DEFAULT_wxUSE_MAC
=0
1713 DEFAULT_DEFAULT_wxUSE_MGL
=0
1714 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1715 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1716 DEFAULT_DEFAULT_wxUSE_MSW
=0
1717 DEFAULT_DEFAULT_wxUSE_PM
=0
1718 DEFAULT_DEFAULT_wxUSE_X11
=0
1723 SAMPLES_RPATH_POSTLINK
=
1728 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1729 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1731 cat >>confdefs.h
<<\_ACEOF
1738 cat >>confdefs.h
<<\_ACEOF
1743 if test "x$TMP" = "xalpha"; then
1745 cat >>confdefs.h
<<\_ACEOF
1750 DEFAULT_DEFAULT_wxUSE_GTK
=1
1752 *-*-gnu* | *-*-k*bsd
*-gnu )
1755 if test "x$TMP" = "xalpha"; then
1757 cat >>confdefs.h
<<\_ACEOF
1762 DEFAULT_DEFAULT_wxUSE_GTK
=1
1764 *-*-irix5* | *-*-irix6* )
1767 cat >>confdefs.h
<<\_ACEOF
1771 cat >>confdefs.h
<<\_ACEOF
1775 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1781 cat >>confdefs.h
<<\_ACEOF
1785 cat >>confdefs.h
<<\_ACEOF
1786 #define __SOLARIS__ 1
1789 cat >>confdefs.h
<<\_ACEOF
1793 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1794 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1800 cat >>confdefs.h
<<\_ACEOF
1804 cat >>confdefs.h
<<\_ACEOF
1808 cat >>confdefs.h
<<\_ACEOF
1812 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1817 cat >>confdefs.h
<<\_ACEOF
1818 #define __FREEBSD__ 1
1821 cat >>confdefs.h
<<\_ACEOF
1825 DEFAULT_DEFAULT_wxUSE_GTK
=1
1830 cat >>confdefs.h
<<\_ACEOF
1831 #define __OPENBSD__ 1
1834 cat >>confdefs.h
<<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_GTK
=1
1843 cat >>confdefs.h
<<\_ACEOF
1844 #define __NETBSD__ 1
1847 cat >>confdefs.h
<<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_GTK
=1
1856 cat >>confdefs.h
<<\_ACEOF
1860 cat >>confdefs.h
<<\_ACEOF
1864 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1865 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1870 cat >>confdefs.h
<<\_ACEOF
1874 cat >>confdefs.h
<<\_ACEOF
1878 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1883 cat >>confdefs.h
<<\_ACEOF
1887 cat >>confdefs.h
<<\_ACEOF
1891 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1898 cat >>confdefs.h
<<\_ACEOF
1902 cat >>confdefs.h
<<\_ACEOF
1906 cat >>confdefs.h
<<\_ACEOF
1910 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1917 cat >>confdefs.h
<<\_ACEOF
1918 #define __UNIXWARE__ 1
1923 *-*-cygwin* | *-*-mingw32* )
1927 DEFAULT_DEFAULT_wxUSE_MSW
=1
1933 cat >>confdefs.h
<<\_ACEOF
1938 DEFAULT_DEFAULT_wxUSE_MGL
=1
1939 LIBS
="$LIBS -lstdc++"
1942 *-pc-os2_emx | *-pc-os2-emx )
1943 cat >>confdefs.h
<<\_ACEOF
1948 cat >>confdefs.h
<<\_ACEOF
1953 DEFAULT_DEFAULT_wxUSE_PM
=1
1955 LDFLAGS
="$LDFLAGS -Zcrtdll"
1956 ac_executable_extensions
=".exe"
1957 export ac_executable_extensions
1961 for ac_dir
in $PATH; do
1963 if test -z "$ac_TEMP_PATH"; then
1964 ac_TEMP_PATH
="$ac_dir"
1966 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1969 export PATH
="$ac_TEMP_PATH"
1977 cat >>confdefs.h
<<\_ACEOF
1981 cat >>confdefs.h
<<\_ACEOF
1982 #define __DARWIN__ 1
1985 cat >>confdefs.h
<<\_ACEOF
1986 #define TARGET_CARBON 1
1989 DEFAULT_DEFAULT_wxUSE_MAC
=1
1991 powerpc
-apple-macos* )
1993 ac_cv_c_bigendian
=yes
1995 DEFAULT_DEFAULT_wxUSE_MAC
=1
2000 cat >>confdefs.h
<<\_ACEOF
2007 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2008 echo "$as_me: error: unknown system type ${host}." >&2;}
2009 { (exit 1); exit 1; }; }
2015 wx_arg_cache_file
="configarg.cache"
2016 echo "loading argument cache $wx_arg_cache_file"
2017 rm -f ${wx_arg_cache_file}.tmp
2018 touch ${wx_arg_cache_file}.tmp
2019 touch ${wx_arg_cache_file}
2023 if test $DEBUG_CONFIGURE = 1; then
2024 DEFAULT_wxUSE_UNIVERSAL
=no
2025 DEFAULT_wxUSE_STL
=no
2027 DEFAULT_wxUSE_NANOX
=no
2029 DEFAULT_wxUSE_THREADS
=yes
2031 DEFAULT_wxUSE_SHARED
=yes
2032 DEFAULT_wxUSE_OPTIMISE
=no
2033 DEFAULT_wxUSE_PROFILE
=no
2034 DEFAULT_wxUSE_NO_DEPS
=no
2035 DEFAULT_wxUSE_NO_RTTI
=no
2036 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2037 DEFAULT_wxUSE_RPATH
=yes
2038 DEFAULT_wxUSE_PERMISSIVE
=no
2039 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2040 DEFAULT_wxUSE_DEBUG_INFO
=yes
2041 DEFAULT_wxUSE_DEBUG_GDB
=yes
2042 DEFAULT_wxUSE_MEM_TRACING
=no
2043 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2044 DEFAULT_wxUSE_DMALLOC
=no
2045 DEFAULT_wxUSE_APPLE_IEEE
=no
2047 DEFAULT_wxUSE_EXCEPTIONS
=no
2048 DEFAULT_wxUSE_LOG
=yes
2049 DEFAULT_wxUSE_LOGWINDOW
=no
2050 DEFAULT_wxUSE_LOGGUI
=no
2051 DEFAULT_wxUSE_LOGDIALOG
=no
2053 DEFAULT_wxUSE_GUI
=yes
2054 DEFAULT_wxUSE_CONTROLS
=no
2056 DEFAULT_wxUSE_REGEX
=no
2057 DEFAULT_wxUSE_XML
=no
2058 DEFAULT_wxUSE_EXPAT
=no
2059 DEFAULT_wxUSE_ZLIB
=no
2060 DEFAULT_wxUSE_LIBPNG
=no
2061 DEFAULT_wxUSE_LIBJPEG
=no
2062 DEFAULT_wxUSE_LIBTIFF
=no
2063 DEFAULT_wxUSE_LIBXPM
=no
2064 DEFAULT_wxUSE_LIBMSPACK
=no
2065 DEFAULT_wxUSE_LIBSDL
=no
2066 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2067 DEFAULT_wxUSE_ODBC
=no
2068 DEFAULT_wxUSE_OPENGL
=no
2070 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2071 DEFAULT_wxUSE_STACKWALKER
=no
2072 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2073 DEFAULT_wxUSE_STD_IOSTREAM
=no
2074 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2075 DEFAULT_wxUSE_DATETIME
=no
2076 DEFAULT_wxUSE_TIMER
=no
2077 DEFAULT_wxUSE_STOPWATCH
=no
2078 DEFAULT_wxUSE_FILE
=no
2079 DEFAULT_wxUSE_FFILE
=no
2080 DEFAULT_wxUSE_TEXTBUFFER
=no
2081 DEFAULT_wxUSE_TEXTFILE
=no
2082 DEFAULT_wxUSE_SOUND
=no
2083 DEFAULT_wxUSE_MEDIACTRL
=no
2084 DEFAULT_wxUSE_DIRECTSHOW
=no
2085 DEFAULT_wxUSE_INTL
=no
2086 DEFAULT_wxUSE_CONFIG
=no
2087 DEFAULT_wxUSE_FONTMAP
=no
2088 DEFAULT_wxUSE_STREAMS
=no
2089 DEFAULT_wxUSE_SOCKETS
=no
2090 DEFAULT_wxUSE_OLE
=no
2091 DEFAULT_wxUSE_DATAOBJ
=no
2092 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2093 DEFAULT_wxUSE_JOYSTICK
=no
2094 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2095 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2096 DEFAULT_wxUSE_LONGLONG
=no
2097 DEFAULT_wxUSE_GEOMETRY
=no
2099 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2100 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2101 DEFAULT_wxUSE_POSTSCRIPT
=no
2103 DEFAULT_wxUSE_CLIPBOARD
=no
2104 DEFAULT_wxUSE_TOOLTIPS
=no
2105 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2106 DEFAULT_wxUSE_DRAGIMAGE
=no
2107 DEFAULT_wxUSE_SPLINES
=no
2109 DEFAULT_wxUSE_MDI
=no
2110 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2111 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2112 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2114 DEFAULT_wxUSE_RESOURCES
=no
2115 DEFAULT_wxUSE_CONSTRAINTS
=no
2116 DEFAULT_wxUSE_IPC
=no
2117 DEFAULT_wxUSE_HELP
=no
2118 DEFAULT_wxUSE_MS_HTML_HELP
=no
2119 DEFAULT_wxUSE_WXHTML_HELP
=no
2120 DEFAULT_wxUSE_TREELAYOUT
=no
2121 DEFAULT_wxUSE_METAFILE
=no
2122 DEFAULT_wxUSE_MIMETYPE
=no
2123 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2124 DEFAULT_wxUSE_PROTOCOL
=no
2125 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2126 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2127 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2128 DEFAULT_wxUSE_URL
=no
2130 DEFAULT_wxUSE_COMMONDLGS
=no
2131 DEFAULT_wxUSE_CHOICEDLG
=no
2132 DEFAULT_wxUSE_COLOURDLG
=no
2133 DEFAULT_wxUSE_DIRDLG
=no
2134 DEFAULT_wxUSE_FILEDLG
=no
2135 DEFAULT_wxUSE_FINDREPLDLG
=no
2136 DEFAULT_wxUSE_FONTDLG
=no
2137 DEFAULT_wxUSE_MSGDLG
=no
2138 DEFAULT_wxUSE_NUMBERDLG
=no
2139 DEFAULT_wxUSE_TEXTDLG
=no
2140 DEFAULT_wxUSE_SPLASH
=no
2141 DEFAULT_wxUSE_STARTUP_TIPS
=no
2142 DEFAULT_wxUSE_PROGRESSDLG
=no
2143 DEFAULT_wxUSE_WIZARDDLG
=no
2145 DEFAULT_wxUSE_MENUS
=no
2146 DEFAULT_wxUSE_MINIFRAME
=no
2147 DEFAULT_wxUSE_HTML
=no
2148 DEFAULT_wxUSE_XRC
=no
2149 DEFAULT_wxUSE_WEBKIT
=no
2150 DEFAULT_wxUSE_FILESYSTEM
=no
2151 DEFAULT_wxUSE_FS_INET
=no
2152 DEFAULT_wxUSE_FS_ZIP
=no
2153 DEFAULT_wxUSE_BUSYINFO
=no
2154 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2155 DEFAULT_wxUSE_ZIPSTREAM
=no
2156 DEFAULT_wxUSE_VALIDATORS
=no
2158 DEFAULT_wxUSE_ACCEL
=no
2159 DEFAULT_wxUSE_BUTTON
=no
2160 DEFAULT_wxUSE_BMPBUTTON
=no
2161 DEFAULT_wxUSE_CALCTRL
=no
2162 DEFAULT_wxUSE_CARET
=no
2163 DEFAULT_wxUSE_CHECKBOX
=no
2164 DEFAULT_wxUSE_CHECKLST
=no
2165 DEFAULT_wxUSE_CHOICE
=no
2166 DEFAULT_wxUSE_CHOICEBOOK
=no
2167 DEFAULT_wxUSE_COMBOBOX
=no
2168 DEFAULT_wxUSE_DATEPICKCTRL
=no
2169 DEFAULT_wxUSE_DISPLAY
=no
2170 DEFAULT_wxUSE_GAUGE
=no
2171 DEFAULT_wxUSE_GRID
=no
2172 DEFAULT_wxUSE_IMAGLIST
=no
2173 DEFAULT_wxUSE_LISTBOOK
=no
2174 DEFAULT_wxUSE_LISTBOX
=no
2175 DEFAULT_wxUSE_LISTCTRL
=no
2176 DEFAULT_wxUSE_NOTEBOOK
=no
2177 DEFAULT_wxUSE_RADIOBOX
=no
2178 DEFAULT_wxUSE_RADIOBTN
=no
2179 DEFAULT_wxUSE_SASH
=no
2180 DEFAULT_wxUSE_SCROLLBAR
=no
2181 DEFAULT_wxUSE_SLIDER
=no
2182 DEFAULT_wxUSE_SPINBTN
=no
2183 DEFAULT_wxUSE_SPINCTRL
=no
2184 DEFAULT_wxUSE_SPLITTER
=no
2185 DEFAULT_wxUSE_STATBMP
=no
2186 DEFAULT_wxUSE_STATBOX
=no
2187 DEFAULT_wxUSE_STATLINE
=no
2188 DEFAULT_wxUSE_STATTEXT
=no
2189 DEFAULT_wxUSE_STATUSBAR
=yes
2190 DEFAULT_wxUSE_TABDIALOG
=no
2191 DEFAULT_wxUSE_TEXTCTRL
=no
2192 DEFAULT_wxUSE_TOGGLEBTN
=no
2193 DEFAULT_wxUSE_TOOLBAR
=no
2194 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2195 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2196 DEFAULT_wxUSE_TREECTRL
=no
2197 DEFAULT_wxUSE_POPUPWIN
=no
2198 DEFAULT_wxUSE_TIPWINDOW
=no
2200 DEFAULT_wxUSE_UNICODE
=no
2201 DEFAULT_wxUSE_UNICODE_MSLU
=no
2202 DEFAULT_wxUSE_WCSRTOMBS
=no
2204 DEFAULT_wxUSE_PALETTE
=no
2205 DEFAULT_wxUSE_IMAGE
=no
2206 DEFAULT_wxUSE_GIF
=no
2207 DEFAULT_wxUSE_PCX
=no
2208 DEFAULT_wxUSE_PNM
=no
2209 DEFAULT_wxUSE_IFF
=no
2210 DEFAULT_wxUSE_XPM
=no
2211 DEFAULT_wxUSE_ICO_CUR
=no
2212 DEFAULT_wxUSE_ACCESSIBILITY
=no
2214 DEFAULT_wxUSE_MONOLITHIC
=no
2215 DEFAULT_wxUSE_PLUGINS
=no
2216 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2218 DEFAULT_wxUSE_UNIVERSAL
=no
2219 DEFAULT_wxUSE_STL
=no
2221 DEFAULT_wxUSE_NANOX
=no
2223 DEFAULT_wxUSE_THREADS
=yes
2225 DEFAULT_wxUSE_SHARED
=yes
2226 DEFAULT_wxUSE_OPTIMISE
=yes
2227 DEFAULT_wxUSE_PROFILE
=no
2228 DEFAULT_wxUSE_NO_DEPS
=no
2229 DEFAULT_wxUSE_NO_RTTI
=no
2230 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2231 DEFAULT_wxUSE_RPATH
=yes
2232 DEFAULT_wxUSE_PERMISSIVE
=no
2233 DEFAULT_wxUSE_DEBUG_FLAG
=no
2234 DEFAULT_wxUSE_DEBUG_INFO
=no
2235 DEFAULT_wxUSE_DEBUG_GDB
=no
2236 DEFAULT_wxUSE_MEM_TRACING
=no
2237 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2238 DEFAULT_wxUSE_DMALLOC
=no
2239 DEFAULT_wxUSE_APPLE_IEEE
=yes
2241 DEFAULT_wxUSE_EXCEPTIONS
=yes
2242 DEFAULT_wxUSE_LOG
=yes
2243 DEFAULT_wxUSE_LOGWINDOW
=yes
2244 DEFAULT_wxUSE_LOGGUI
=yes
2245 DEFAULT_wxUSE_LOGDIALOG
=yes
2247 DEFAULT_wxUSE_GUI
=yes
2249 DEFAULT_wxUSE_REGEX
=yes
2250 DEFAULT_wxUSE_XML
=yes
2251 DEFAULT_wxUSE_EXPAT
=yes
2252 DEFAULT_wxUSE_ZLIB
=yes
2253 DEFAULT_wxUSE_LIBPNG
=yes
2254 DEFAULT_wxUSE_LIBJPEG
=yes
2255 DEFAULT_wxUSE_LIBTIFF
=yes
2256 DEFAULT_wxUSE_LIBXPM
=yes
2257 DEFAULT_wxUSE_LIBMSPACK
=yes
2258 DEFAULT_wxUSE_LIBSDL
=no
2259 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2260 DEFAULT_wxUSE_ODBC
=no
2261 DEFAULT_wxUSE_OPENGL
=no
2263 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2264 DEFAULT_wxUSE_STACKWALKER
=yes
2265 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2266 DEFAULT_wxUSE_STD_IOSTREAM
=no
2267 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2268 DEFAULT_wxUSE_DATETIME
=yes
2269 DEFAULT_wxUSE_TIMER
=yes
2270 DEFAULT_wxUSE_STOPWATCH
=yes
2271 DEFAULT_wxUSE_FILE
=yes
2272 DEFAULT_wxUSE_FFILE
=yes
2273 DEFAULT_wxUSE_TEXTBUFFER
=yes
2274 DEFAULT_wxUSE_TEXTFILE
=yes
2275 DEFAULT_wxUSE_SOUND
=yes
2276 DEFAULT_wxUSE_MEDIACTRL
=no
2277 DEFAULT_wxUSE_DIRECTSHOW
=no
2278 DEFAULT_wxUSE_INTL
=yes
2279 DEFAULT_wxUSE_CONFIG
=yes
2280 DEFAULT_wxUSE_FONTMAP
=yes
2281 DEFAULT_wxUSE_STREAMS
=yes
2282 DEFAULT_wxUSE_SOCKETS
=yes
2283 DEFAULT_wxUSE_OLE
=yes
2284 DEFAULT_wxUSE_DATAOBJ
=yes
2285 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2286 DEFAULT_wxUSE_JOYSTICK
=yes
2287 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2288 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2289 DEFAULT_wxUSE_LONGLONG
=yes
2290 DEFAULT_wxUSE_GEOMETRY
=yes
2292 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2293 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2294 DEFAULT_wxUSE_POSTSCRIPT
=yes
2296 DEFAULT_wxUSE_CLIPBOARD
=yes
2297 DEFAULT_wxUSE_TOOLTIPS
=yes
2298 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2299 DEFAULT_wxUSE_DRAGIMAGE
=yes
2300 DEFAULT_wxUSE_SPLINES
=yes
2302 DEFAULT_wxUSE_MDI
=yes
2303 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2304 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2305 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2307 DEFAULT_wxUSE_RESOURCES
=no
2308 DEFAULT_wxUSE_CONSTRAINTS
=yes
2309 DEFAULT_wxUSE_IPC
=yes
2310 DEFAULT_wxUSE_HELP
=yes
2311 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2312 DEFAULT_wxUSE_WXHTML_HELP
=yes
2313 DEFAULT_wxUSE_TREELAYOUT
=yes
2314 DEFAULT_wxUSE_METAFILE
=yes
2315 DEFAULT_wxUSE_MIMETYPE
=yes
2316 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2317 DEFAULT_wxUSE_PROTOCOL
=yes
2318 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2319 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2320 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2321 DEFAULT_wxUSE_URL
=yes
2323 DEFAULT_wxUSE_COMMONDLGS
=yes
2324 DEFAULT_wxUSE_CHOICEDLG
=yes
2325 DEFAULT_wxUSE_COLOURDLG
=yes
2326 DEFAULT_wxUSE_DIRDLG
=yes
2327 DEFAULT_wxUSE_FILEDLG
=yes
2328 DEFAULT_wxUSE_FINDREPLDLG
=yes
2329 DEFAULT_wxUSE_FONTDLG
=yes
2330 DEFAULT_wxUSE_MSGDLG
=yes
2331 DEFAULT_wxUSE_NUMBERDLG
=yes
2332 DEFAULT_wxUSE_TEXTDLG
=yes
2333 DEFAULT_wxUSE_SPLASH
=yes
2334 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2335 DEFAULT_wxUSE_PROGRESSDLG
=yes
2336 DEFAULT_wxUSE_WIZARDDLG
=yes
2338 DEFAULT_wxUSE_MENUS
=yes
2339 DEFAULT_wxUSE_MINIFRAME
=yes
2340 DEFAULT_wxUSE_HTML
=yes
2341 DEFAULT_wxUSE_XRC
=yes
2342 DEFAULT_wxUSE_WEBKIT
=yes
2343 DEFAULT_wxUSE_FILESYSTEM
=yes
2344 DEFAULT_wxUSE_FS_INET
=yes
2345 DEFAULT_wxUSE_FS_ZIP
=yes
2346 DEFAULT_wxUSE_BUSYINFO
=yes
2347 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2348 DEFAULT_wxUSE_ZIPSTREAM
=yes
2349 DEFAULT_wxUSE_VALIDATORS
=yes
2351 DEFAULT_wxUSE_ACCEL
=yes
2352 DEFAULT_wxUSE_BUTTON
=yes
2353 DEFAULT_wxUSE_BMPBUTTON
=yes
2354 DEFAULT_wxUSE_CALCTRL
=yes
2355 DEFAULT_wxUSE_CARET
=yes
2356 DEFAULT_wxUSE_CHECKBOX
=yes
2357 DEFAULT_wxUSE_CHECKLST
=yes
2358 DEFAULT_wxUSE_CHOICE
=yes
2359 DEFAULT_wxUSE_CHOICEBOOK
=yes
2360 DEFAULT_wxUSE_COMBOBOX
=yes
2361 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2362 DEFAULT_wxUSE_DISPLAY
=yes
2363 DEFAULT_wxUSE_GAUGE
=yes
2364 DEFAULT_wxUSE_GRID
=yes
2365 DEFAULT_wxUSE_IMAGLIST
=yes
2366 DEFAULT_wxUSE_LISTBOOK
=yes
2367 DEFAULT_wxUSE_LISTBOX
=yes
2368 DEFAULT_wxUSE_LISTCTRL
=yes
2369 DEFAULT_wxUSE_NOTEBOOK
=yes
2370 DEFAULT_wxUSE_RADIOBOX
=yes
2371 DEFAULT_wxUSE_RADIOBTN
=yes
2372 DEFAULT_wxUSE_SASH
=yes
2373 DEFAULT_wxUSE_SCROLLBAR
=yes
2374 DEFAULT_wxUSE_SLIDER
=yes
2375 DEFAULT_wxUSE_SPINBTN
=yes
2376 DEFAULT_wxUSE_SPINCTRL
=yes
2377 DEFAULT_wxUSE_SPLITTER
=yes
2378 DEFAULT_wxUSE_STATBMP
=yes
2379 DEFAULT_wxUSE_STATBOX
=yes
2380 DEFAULT_wxUSE_STATLINE
=yes
2381 DEFAULT_wxUSE_STATTEXT
=yes
2382 DEFAULT_wxUSE_STATUSBAR
=yes
2383 DEFAULT_wxUSE_TABDIALOG
=no
2384 DEFAULT_wxUSE_TEXTCTRL
=yes
2385 DEFAULT_wxUSE_TOGGLEBTN
=yes
2386 DEFAULT_wxUSE_TOOLBAR
=yes
2387 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2388 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2389 DEFAULT_wxUSE_TREECTRL
=yes
2390 DEFAULT_wxUSE_POPUPWIN
=yes
2391 DEFAULT_wxUSE_TIPWINDOW
=yes
2393 DEFAULT_wxUSE_UNICODE
=no
2394 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2395 DEFAULT_wxUSE_WCSRTOMBS
=no
2397 DEFAULT_wxUSE_PALETTE
=yes
2398 DEFAULT_wxUSE_IMAGE
=yes
2399 DEFAULT_wxUSE_GIF
=yes
2400 DEFAULT_wxUSE_PCX
=yes
2401 DEFAULT_wxUSE_IFF
=no
2402 DEFAULT_wxUSE_PNM
=yes
2403 DEFAULT_wxUSE_XPM
=yes
2404 DEFAULT_wxUSE_ICO_CUR
=yes
2405 DEFAULT_wxUSE_ACCESSIBILITY
=no
2407 DEFAULT_wxUSE_MONOLITHIC
=no
2408 DEFAULT_wxUSE_PLUGINS
=no
2409 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2411 DEFAULT_wxUSE_GTK2
=yes
2416 for toolkit
in `echo $ALL_TOOLKITS`; do
2417 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2418 if test "x$LINE" != "x" ; then
2419 has_toolkit_in_cache
=1
2420 eval "DEFAULT_$LINE"
2421 eval "CACHE_$toolkit=1"
2428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2429 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2431 # Check whether --enable-gui or --disable-gui was given.
2432 if test "${enable_gui+set}" = set; then
2433 enableval
="$enable_gui"
2435 if test "$enableval" = yes; then
2436 ac_cv_use_gui
='wxUSE_GUI=yes'
2438 ac_cv_use_gui
='wxUSE_GUI=no'
2443 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2444 if test "x$LINE" != x
; then
2445 eval "DEFAULT_$LINE"
2450 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2454 eval "$ac_cv_use_gui"
2455 if test "$no_cache" != 1; then
2456 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2459 if test "$wxUSE_GUI" = yes; then
2460 echo "$as_me:$LINENO: result: yes" >&5
2461 echo "${ECHO_T}yes" >&6
2463 echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2470 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2472 # Check whether --enable-monolithic or --disable-monolithic was given.
2473 if test "${enable_monolithic+set}" = set; then
2474 enableval
="$enable_monolithic"
2476 if test "$enableval" = yes; then
2477 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2479 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2484 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2485 if test "x$LINE" != x
; then
2486 eval "DEFAULT_$LINE"
2491 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2495 eval "$ac_cv_use_monolithic"
2496 if test "$no_cache" != 1; then
2497 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2500 if test "$wxUSE_MONOLITHIC" = yes; then
2501 echo "$as_me:$LINENO: result: yes" >&5
2502 echo "${ECHO_T}yes" >&6
2504 echo "$as_me:$LINENO: result: no" >&5
2505 echo "${ECHO_T}no" >&6
2510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2511 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2513 # Check whether --enable-plugins or --disable-plugins was given.
2514 if test "${enable_plugins+set}" = set; then
2515 enableval
="$enable_plugins"
2517 if test "$enableval" = yes; then
2518 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2520 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2525 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2526 if test "x$LINE" != x
; then
2527 eval "DEFAULT_$LINE"
2532 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2536 eval "$ac_cv_use_plugins"
2537 if test "$no_cache" != 1; then
2538 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2541 if test "$wxUSE_PLUGINS" = yes; then
2542 echo "$as_me:$LINENO: result: yes" >&5
2543 echo "${ECHO_T}yes" >&6
2545 echo "$as_me:$LINENO: result: no" >&5
2546 echo "${ECHO_T}no" >&6
2550 if test "$wxUSE_GUI" = "yes"; then
2554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2555 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2557 # Check whether --enable-universal or --disable-universal was given.
2558 if test "${enable_universal+set}" = set; then
2559 enableval
="$enable_universal"
2561 if test "$enableval" = yes; then
2562 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2564 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2569 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2570 if test "x$LINE" != x
; then
2571 eval "DEFAULT_$LINE"
2576 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2580 eval "$ac_cv_use_universal"
2581 if test "$no_cache" != 1; then
2582 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2585 if test "$wxUSE_UNIVERSAL" = yes; then
2586 echo "$as_me:$LINENO: result: yes" >&5
2587 echo "${ECHO_T}yes" >&6
2589 echo "$as_me:$LINENO: result: no" >&5
2590 echo "${ECHO_T}no" >&6
2594 # Check whether --with-gtk or --without-gtk was given.
2595 if test "${with_gtk+set}" = set; then
2597 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2600 # Check whether --with-motif or --without-motif was given.
2601 if test "${with_motif+set}" = set; then
2602 withval
="$with_motif"
2603 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2606 # Check whether --with-mac or --without-mac was given.
2607 if test "${with_mac+set}" = set; then
2609 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2612 # Check whether --with-cocoa or --without-cocoa was given.
2613 if test "${with_cocoa+set}" = set; then
2614 withval
="$with_cocoa"
2615 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2618 # Check whether --with-wine or --without-wine was given.
2619 if test "${with_wine+set}" = set; then
2620 withval
="$with_wine"
2621 wxUSE_WINE
="$withval" CACHE_WINE
=1
2624 # Check whether --with-msw or --without-msw was given.
2625 if test "${with_msw+set}" = set; then
2627 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2630 # Check whether --with-pm or --without-pm was given.
2631 if test "${with_pm+set}" = set; then
2633 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2636 # Check whether --with-mgl or --without-mgl was given.
2637 if test "${with_mgl+set}" = set; then
2639 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2642 # Check whether --with-microwin or --without-microwin was given.
2643 if test "${with_microwin+set}" = set; then
2644 withval
="$with_microwin"
2645 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2648 # Check whether --with-x11 or --without-x11 was given.
2649 if test "${with_x11+set}" = set; then
2651 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2656 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2658 # Check whether --enable-nanox or --disable-nanox was given.
2659 if test "${enable_nanox+set}" = set; then
2660 enableval
="$enable_nanox"
2662 if test "$enableval" = yes; then
2663 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2665 ac_cv_use_nanox
='wxUSE_NANOX=no'
2670 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2671 if test "x$LINE" != x
; then
2672 eval "DEFAULT_$LINE"
2677 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2681 eval "$ac_cv_use_nanox"
2682 if test "$no_cache" != 1; then
2683 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2686 if test "$wxUSE_NANOX" = yes; then
2687 echo "$as_me:$LINENO: result: yes" >&5
2688 echo "${ECHO_T}yes" >&6
2690 echo "$as_me:$LINENO: result: no" >&5
2691 echo "${ECHO_T}no" >&6
2697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2698 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2700 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2701 if test "${enable_gtk2+set}" = set; then
2702 enableval
="$enable_gtk2"
2704 if test "$enableval" = yes; then
2705 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2707 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2712 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x
; then
2714 eval "DEFAULT_$LINE"
2719 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2723 eval "$ac_cv_use_gtk2"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2728 if test "$wxUSE_GTK2" = yes; then
2729 echo "$as_me:$LINENO: result: yes" >&5
2730 echo "${ECHO_T}yes" >&6
2732 echo "$as_me:$LINENO: result: no" >&5
2733 echo "${ECHO_T}no" >&6
2738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2739 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2741 # Check whether --enable-gpe or --disable-gpe was given.
2742 if test "${enable_gpe+set}" = set; then
2743 enableval
="$enable_gpe"
2745 if test "$enableval" = yes; then
2746 ac_cv_use_gpe
='wxUSE_GPE=yes'
2748 ac_cv_use_gpe
='wxUSE_GPE=no'
2753 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2754 if test "x$LINE" != x
; then
2755 eval "DEFAULT_$LINE"
2760 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2764 eval "$ac_cv_use_gpe"
2765 if test "$no_cache" != 1; then
2766 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2769 if test "$wxUSE_GPE" = yes; then
2770 echo "$as_me:$LINENO: result: yes" >&5
2771 echo "${ECHO_T}yes" >&6
2773 echo "$as_me:$LINENO: result: no" >&5
2774 echo "${ECHO_T}no" >&6
2779 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2780 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2783 # Check whether --with-libpng or --without-libpng was given.
2784 if test "${with_libpng+set}" = set; then
2785 withval
="$with_libpng"
2787 if test "$withval" = yes; then
2788 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2789 elif test "$withval" = no
; then
2790 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2791 elif test "$withval" = sys
; then
2792 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2793 elif test "$withval" = builtin; then
2794 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2796 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2797 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2798 { (exit 1); exit 1; }; }
2803 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2804 if test "x$LINE" != x
; then
2805 eval "DEFAULT_$LINE"
2810 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2814 eval "$ac_cv_use_libpng"
2815 if test "$no_cache" != 1; then
2816 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2819 if test "$wxUSE_LIBPNG" = yes; then
2820 echo "$as_me:$LINENO: result: yes" >&5
2821 echo "${ECHO_T}yes" >&6
2822 elif test "$wxUSE_LIBPNG" = no
; then
2823 echo "$as_me:$LINENO: result: no" >&5
2824 echo "${ECHO_T}no" >&6
2825 elif test "$wxUSE_LIBPNG" = sys
; then
2826 echo "$as_me:$LINENO: result: system version" >&5
2827 echo "${ECHO_T}system version" >&6
2828 elif test "$wxUSE_LIBPNG" = builtin; then
2829 echo "$as_me:$LINENO: result: builtin version" >&5
2830 echo "${ECHO_T}builtin version" >&6
2832 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2833 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2834 { (exit 1); exit 1; }; }
2838 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2839 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2842 # Check whether --with-libjpeg or --without-libjpeg was given.
2843 if test "${with_libjpeg+set}" = set; then
2844 withval
="$with_libjpeg"
2846 if test "$withval" = yes; then
2847 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2848 elif test "$withval" = no
; then
2849 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2850 elif test "$withval" = sys
; then
2851 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2852 elif test "$withval" = builtin; then
2853 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2855 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2856 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2857 { (exit 1); exit 1; }; }
2862 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2863 if test "x$LINE" != x
; then
2864 eval "DEFAULT_$LINE"
2869 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2873 eval "$ac_cv_use_libjpeg"
2874 if test "$no_cache" != 1; then
2875 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2878 if test "$wxUSE_LIBJPEG" = yes; then
2879 echo "$as_me:$LINENO: result: yes" >&5
2880 echo "${ECHO_T}yes" >&6
2881 elif test "$wxUSE_LIBJPEG" = no
; then
2882 echo "$as_me:$LINENO: result: no" >&5
2883 echo "${ECHO_T}no" >&6
2884 elif test "$wxUSE_LIBJPEG" = sys
; then
2885 echo "$as_me:$LINENO: result: system version" >&5
2886 echo "${ECHO_T}system version" >&6
2887 elif test "$wxUSE_LIBJPEG" = builtin; then
2888 echo "$as_me:$LINENO: result: builtin version" >&5
2889 echo "${ECHO_T}builtin version" >&6
2891 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2892 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2893 { (exit 1); exit 1; }; }
2897 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2898 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2901 # Check whether --with-libtiff or --without-libtiff was given.
2902 if test "${with_libtiff+set}" = set; then
2903 withval
="$with_libtiff"
2905 if test "$withval" = yes; then
2906 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2907 elif test "$withval" = no
; then
2908 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2909 elif test "$withval" = sys
; then
2910 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2911 elif test "$withval" = builtin; then
2912 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2914 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2915 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2916 { (exit 1); exit 1; }; }
2921 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2922 if test "x$LINE" != x
; then
2923 eval "DEFAULT_$LINE"
2928 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2932 eval "$ac_cv_use_libtiff"
2933 if test "$no_cache" != 1; then
2934 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2937 if test "$wxUSE_LIBTIFF" = yes; then
2938 echo "$as_me:$LINENO: result: yes" >&5
2939 echo "${ECHO_T}yes" >&6
2940 elif test "$wxUSE_LIBTIFF" = no
; then
2941 echo "$as_me:$LINENO: result: no" >&5
2942 echo "${ECHO_T}no" >&6
2943 elif test "$wxUSE_LIBTIFF" = sys
; then
2944 echo "$as_me:$LINENO: result: system version" >&5
2945 echo "${ECHO_T}system version" >&6
2946 elif test "$wxUSE_LIBTIFF" = builtin; then
2947 echo "$as_me:$LINENO: result: builtin version" >&5
2948 echo "${ECHO_T}builtin version" >&6
2950 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2951 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2952 { (exit 1); exit 1; }; }
2956 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2957 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2960 # Check whether --with-libxpm or --without-libxpm was given.
2961 if test "${with_libxpm+set}" = set; then
2962 withval
="$with_libxpm"
2964 if test "$withval" = yes; then
2965 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2966 elif test "$withval" = no
; then
2967 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2968 elif test "$withval" = sys
; then
2969 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2970 elif test "$withval" = builtin; then
2971 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2973 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2974 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2975 { (exit 1); exit 1; }; }
2980 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2981 if test "x$LINE" != x
; then
2982 eval "DEFAULT_$LINE"
2987 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2991 eval "$ac_cv_use_libxpm"
2992 if test "$no_cache" != 1; then
2993 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2996 if test "$wxUSE_LIBXPM" = yes; then
2997 echo "$as_me:$LINENO: result: yes" >&5
2998 echo "${ECHO_T}yes" >&6
2999 elif test "$wxUSE_LIBXPM" = no
; then
3000 echo "$as_me:$LINENO: result: no" >&5
3001 echo "${ECHO_T}no" >&6
3002 elif test "$wxUSE_LIBXPM" = sys
; then
3003 echo "$as_me:$LINENO: result: system version" >&5
3004 echo "${ECHO_T}system version" >&6
3005 elif test "$wxUSE_LIBXPM" = builtin; then
3006 echo "$as_me:$LINENO: result: builtin version" >&5
3007 echo "${ECHO_T}builtin version" >&6
3009 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3010 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3011 { (exit 1); exit 1; }; }
3015 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3016 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3019 # Check whether --with-libmspack or --without-libmspack was given.
3020 if test "${with_libmspack+set}" = set; then
3021 withval
="$with_libmspack"
3023 if test "$withval" = yes; then
3024 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3026 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3031 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x
; then
3033 eval "DEFAULT_$LINE"
3038 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3042 eval "$ac_cv_use_libmspack"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3047 if test "$wxUSE_LIBMSPACK" = yes; then
3048 echo "$as_me:$LINENO: result: yes" >&5
3049 echo "${ECHO_T}yes" >&6
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3056 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3057 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3060 # Check whether --with-sdl or --without-sdl was given.
3061 if test "${with_sdl+set}" = set; then
3064 if test "$withval" = yes; then
3065 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3067 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3072 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3073 if test "x$LINE" != x
; then
3074 eval "DEFAULT_$LINE"
3079 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3083 eval "$ac_cv_use_sdl"
3084 if test "$no_cache" != 1; then
3085 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3088 if test "$wxUSE_LIBSDL" = yes; then
3089 echo "$as_me:$LINENO: result: yes" >&5
3090 echo "${ECHO_T}yes" >&6
3092 echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6
3097 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3098 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3101 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3102 if test "${with_gnomeprint+set}" = set; then
3103 withval
="$with_gnomeprint"
3105 if test "$withval" = yes; then
3106 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3108 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3113 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3114 if test "x$LINE" != x
; then
3115 eval "DEFAULT_$LINE"
3120 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3124 eval "$ac_cv_use_gnomeprint"
3125 if test "$no_cache" != 1; then
3126 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3129 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3130 echo "$as_me:$LINENO: result: yes" >&5
3131 echo "${ECHO_T}yes" >&6
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3138 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3139 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3142 # Check whether --with-opengl or --without-opengl was given.
3143 if test "${with_opengl+set}" = set; then
3144 withval
="$with_opengl"
3146 if test "$withval" = yes; then
3147 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3149 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3154 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x
; then
3156 eval "DEFAULT_$LINE"
3161 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3165 eval "$ac_cv_use_opengl"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3170 if test "$wxUSE_OPENGL" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3182 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3183 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3186 # Check whether --with-dmalloc or --without-dmalloc was given.
3187 if test "${with_dmalloc+set}" = set; then
3188 withval
="$with_dmalloc"
3190 if test "$withval" = yes; then
3191 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3193 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3198 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3199 if test "x$LINE" != x
; then
3200 eval "DEFAULT_$LINE"
3205 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3209 eval "$ac_cv_use_dmalloc"
3210 if test "$no_cache" != 1; then
3211 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3214 if test "$wxUSE_DMALLOC" = yes; then
3215 echo "$as_me:$LINENO: result: yes" >&5
3216 echo "${ECHO_T}yes" >&6
3218 echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3223 echo "$as_me:$LINENO: checking for --with-regex" >&5
3224 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3227 # Check whether --with-regex or --without-regex was given.
3228 if test "${with_regex+set}" = set; then
3229 withval
="$with_regex"
3231 if test "$withval" = yes; then
3232 ac_cv_use_regex
='wxUSE_REGEX=yes'
3233 elif test "$withval" = no
; then
3234 ac_cv_use_regex
='wxUSE_REGEX=no'
3235 elif test "$withval" = sys
; then
3236 ac_cv_use_regex
='wxUSE_REGEX=sys'
3237 elif test "$withval" = builtin; then
3238 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3240 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3241 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3242 { (exit 1); exit 1; }; }
3247 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3248 if test "x$LINE" != x
; then
3249 eval "DEFAULT_$LINE"
3254 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3258 eval "$ac_cv_use_regex"
3259 if test "$no_cache" != 1; then
3260 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3263 if test "$wxUSE_REGEX" = yes; then
3264 echo "$as_me:$LINENO: result: yes" >&5
3265 echo "${ECHO_T}yes" >&6
3266 elif test "$wxUSE_REGEX" = no
; then
3267 echo "$as_me:$LINENO: result: no" >&5
3268 echo "${ECHO_T}no" >&6
3269 elif test "$wxUSE_REGEX" = sys
; then
3270 echo "$as_me:$LINENO: result: system version" >&5
3271 echo "${ECHO_T}system version" >&6
3272 elif test "$wxUSE_REGEX" = builtin; then
3273 echo "$as_me:$LINENO: result: builtin version" >&5
3274 echo "${ECHO_T}builtin version" >&6
3276 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3277 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3278 { (exit 1); exit 1; }; }
3282 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3283 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3286 # Check whether --with-zlib or --without-zlib was given.
3287 if test "${with_zlib+set}" = set; then
3288 withval
="$with_zlib"
3290 if test "$withval" = yes; then
3291 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3292 elif test "$withval" = no
; then
3293 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3294 elif test "$withval" = sys
; then
3295 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3296 elif test "$withval" = builtin; then
3297 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3299 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3300 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3301 { (exit 1); exit 1; }; }
3306 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x
; then
3308 eval "DEFAULT_$LINE"
3313 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3317 eval "$ac_cv_use_zlib"
3318 if test "$no_cache" != 1; then
3319 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3322 if test "$wxUSE_ZLIB" = yes; then
3323 echo "$as_me:$LINENO: result: yes" >&5
3324 echo "${ECHO_T}yes" >&6
3325 elif test "$wxUSE_ZLIB" = no
; then
3326 echo "$as_me:$LINENO: result: no" >&5
3327 echo "${ECHO_T}no" >&6
3328 elif test "$wxUSE_ZLIB" = sys
; then
3329 echo "$as_me:$LINENO: result: system version" >&5
3330 echo "${ECHO_T}system version" >&6
3331 elif test "$wxUSE_ZLIB" = builtin; then
3332 echo "$as_me:$LINENO: result: builtin version" >&5
3333 echo "${ECHO_T}builtin version" >&6
3335 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3336 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3337 { (exit 1); exit 1; }; }
3341 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3342 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3345 # Check whether --with-odbc or --without-odbc was given.
3346 if test "${with_odbc+set}" = set; then
3347 withval
="$with_odbc"
3349 if test "$withval" = yes; then
3350 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3351 elif test "$withval" = no
; then
3352 ac_cv_use_odbc
='wxUSE_ODBC=no'
3353 elif test "$withval" = sys
; then
3354 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3355 elif test "$withval" = builtin; then
3356 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3358 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3359 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3360 { (exit 1); exit 1; }; }
3365 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x
; then
3367 eval "DEFAULT_$LINE"
3372 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3376 eval "$ac_cv_use_odbc"
3377 if test "$no_cache" != 1; then
3378 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3381 if test "$wxUSE_ODBC" = yes; then
3382 echo "$as_me:$LINENO: result: yes" >&5
3383 echo "${ECHO_T}yes" >&6
3384 elif test "$wxUSE_ODBC" = no
; then
3385 echo "$as_me:$LINENO: result: no" >&5
3386 echo "${ECHO_T}no" >&6
3387 elif test "$wxUSE_ODBC" = sys
; then
3388 echo "$as_me:$LINENO: result: system version" >&5
3389 echo "${ECHO_T}system version" >&6
3390 elif test "$wxUSE_ODBC" = builtin; then
3391 echo "$as_me:$LINENO: result: builtin version" >&5
3392 echo "${ECHO_T}builtin version" >&6
3394 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3395 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3396 { (exit 1); exit 1; }; }
3400 echo "$as_me:$LINENO: checking for --with-expat" >&5
3401 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3404 # Check whether --with-expat or --without-expat was given.
3405 if test "${with_expat+set}" = set; then
3406 withval
="$with_expat"
3408 if test "$withval" = yes; then
3409 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3410 elif test "$withval" = no
; then
3411 ac_cv_use_expat
='wxUSE_EXPAT=no'
3412 elif test "$withval" = sys
; then
3413 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3414 elif test "$withval" = builtin; then
3415 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3417 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3418 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3419 { (exit 1); exit 1; }; }
3424 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3425 if test "x$LINE" != x
; then
3426 eval "DEFAULT_$LINE"
3431 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3435 eval "$ac_cv_use_expat"
3436 if test "$no_cache" != 1; then
3437 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3440 if test "$wxUSE_EXPAT" = yes; then
3441 echo "$as_me:$LINENO: result: yes" >&5
3442 echo "${ECHO_T}yes" >&6
3443 elif test "$wxUSE_EXPAT" = no
; then
3444 echo "$as_me:$LINENO: result: no" >&5
3445 echo "${ECHO_T}no" >&6
3446 elif test "$wxUSE_EXPAT" = sys
; then
3447 echo "$as_me:$LINENO: result: system version" >&5
3448 echo "${ECHO_T}system version" >&6
3449 elif test "$wxUSE_EXPAT" = builtin; then
3450 echo "$as_me:$LINENO: result: builtin version" >&5
3451 echo "${ECHO_T}builtin version" >&6
3453 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3454 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3455 { (exit 1); exit 1; }; }
3462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3463 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3465 # Check whether --enable-shared or --disable-shared was given.
3466 if test "${enable_shared+set}" = set; then
3467 enableval
="$enable_shared"
3469 if test "$enableval" = yes; then
3470 ac_cv_use_shared
='wxUSE_SHARED=yes'
3472 ac_cv_use_shared
='wxUSE_SHARED=no'
3477 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3478 if test "x$LINE" != x
; then
3479 eval "DEFAULT_$LINE"
3484 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3488 eval "$ac_cv_use_shared"
3489 if test "$no_cache" != 1; then
3490 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3493 if test "$wxUSE_SHARED" = yes; then
3494 echo "$as_me:$LINENO: result: yes" >&5
3495 echo "${ECHO_T}yes" >&6
3497 echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6
3503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3504 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3506 # Check whether --enable-optimise or --disable-optimise was given.
3507 if test "${enable_optimise+set}" = set; then
3508 enableval
="$enable_optimise"
3510 if test "$enableval" = yes; then
3511 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3513 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3518 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x
; then
3520 eval "DEFAULT_$LINE"
3525 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3529 eval "$ac_cv_use_optimise"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3534 if test "$wxUSE_OPTIMISE" = yes; then
3535 echo "$as_me:$LINENO: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6
3538 echo "$as_me:$LINENO: result: no" >&5
3539 echo "${ECHO_T}no" >&6
3544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3545 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3547 # Check whether --enable-debug or --disable-debug was given.
3548 if test "${enable_debug+set}" = set; then
3549 enableval
="$enable_debug"
3551 if test "$enableval" = yes; then
3552 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3554 ac_cv_use_debug
='wxUSE_DEBUG=no'
3559 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3560 if test "x$LINE" != x
; then
3561 eval "DEFAULT_$LINE"
3566 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3570 eval "$ac_cv_use_debug"
3571 if test "$no_cache" != 1; then
3572 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3575 if test "$wxUSE_DEBUG" = yes; then
3576 echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6
3579 echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6
3585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3586 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3588 # Check whether --enable-stl or --disable-stl was given.
3589 if test "${enable_stl+set}" = set; then
3590 enableval
="$enable_stl"
3592 if test "$enableval" = yes; then
3593 ac_cv_use_stl
='wxUSE_STL=yes'
3595 ac_cv_use_stl
='wxUSE_STL=no'
3600 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3601 if test "x$LINE" != x
; then
3602 eval "DEFAULT_$LINE"
3607 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3611 eval "$ac_cv_use_stl"
3612 if test "$no_cache" != 1; then
3613 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3616 if test "$wxUSE_STL" = yes; then
3617 echo "$as_me:$LINENO: result: yes" >&5
3618 echo "${ECHO_T}yes" >&6
3620 echo "$as_me:$LINENO: result: no" >&5
3621 echo "${ECHO_T}no" >&6
3624 if test "$USE_OS2" = "1"; then
3627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3628 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3630 # Check whether --enable-omf or --disable-omf was given.
3631 if test "${enable_omf+set}" = set; then
3632 enableval
="$enable_omf"
3634 if test "$enableval" = yes; then
3635 ac_cv_use_omf
='wxUSE_OMF=yes'
3637 ac_cv_use_omf
='wxUSE_OMF=no'
3642 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x
; then
3644 eval "DEFAULT_$LINE"
3649 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3653 eval "$ac_cv_use_omf"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_OMF" = yes; then
3659 echo "$as_me:$LINENO: result: yes" >&5
3660 echo "${ECHO_T}yes" >&6
3662 echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6
3668 if test "$wxUSE_DEBUG" = "yes"; then
3669 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3670 DEFAULT_wxUSE_DEBUG_INFO
=yes
3672 elif test "$wxUSE_DEBUG" = "no"; then
3673 DEFAULT_wxUSE_DEBUG_FLAG
=no
3674 DEFAULT_wxUSE_DEBUG_INFO
=no
3680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3681 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3683 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3684 if test "${enable_debug_flag+set}" = set; then
3685 enableval
="$enable_debug_flag"
3687 if test "$enableval" = yes; then
3688 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3690 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3695 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x
; then
3697 eval "DEFAULT_$LINE"
3702 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3706 eval "$ac_cv_use_debug_flag"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3711 if test "$wxUSE_DEBUG_FLAG" = yes; then
3712 echo "$as_me:$LINENO: result: yes" >&5
3713 echo "${ECHO_T}yes" >&6
3715 echo "$as_me:$LINENO: result: no" >&5
3716 echo "${ECHO_T}no" >&6
3721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3722 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3724 # Check whether --enable-debug_info or --disable-debug_info was given.
3725 if test "${enable_debug_info+set}" = set; then
3726 enableval
="$enable_debug_info"
3728 if test "$enableval" = yes; then
3729 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3731 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3736 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x
; then
3738 eval "DEFAULT_$LINE"
3743 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3747 eval "$ac_cv_use_debug_info"
3748 if test "$no_cache" != 1; then
3749 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3752 if test "$wxUSE_DEBUG_INFO" = yes; then
3753 echo "$as_me:$LINENO: result: yes" >&5
3754 echo "${ECHO_T}yes" >&6
3756 echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6
3762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3763 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3765 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3766 if test "${enable_debug_gdb+set}" = set; then
3767 enableval
="$enable_debug_gdb"
3769 if test "$enableval" = yes; then
3770 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3772 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3777 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3778 if test "x$LINE" != x
; then
3779 eval "DEFAULT_$LINE"
3784 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3788 eval "$ac_cv_use_debug_gdb"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3793 if test "$wxUSE_DEBUG_GDB" = yes; then
3794 echo "$as_me:$LINENO: result: yes" >&5
3795 echo "${ECHO_T}yes" >&6
3797 echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3804 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3806 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3807 if test "${enable_debug_cntxt+set}" = set; then
3808 enableval
="$enable_debug_cntxt"
3810 if test "$enableval" = yes; then
3811 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3813 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3818 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3819 if test "x$LINE" != x
; then
3820 eval "DEFAULT_$LINE"
3825 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3829 eval "$ac_cv_use_debug_cntxt"
3830 if test "$no_cache" != 1; then
3831 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3834 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3835 echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6
3838 echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6
3844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3845 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3847 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3848 if test "${enable_mem_tracing+set}" = set; then
3849 enableval
="$enable_mem_tracing"
3851 if test "$enableval" = yes; then
3852 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3854 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3859 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3860 if test "x$LINE" != x
; then
3861 eval "DEFAULT_$LINE"
3866 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3870 eval "$ac_cv_use_mem_tracing"
3871 if test "$no_cache" != 1; then
3872 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3875 if test "$wxUSE_MEM_TRACING" = yes; then
3876 echo "$as_me:$LINENO: result: yes" >&5
3877 echo "${ECHO_T}yes" >&6
3879 echo "$as_me:$LINENO: result: no" >&5
3880 echo "${ECHO_T}no" >&6
3885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3886 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3888 # Check whether --enable-profile or --disable-profile was given.
3889 if test "${enable_profile+set}" = set; then
3890 enableval
="$enable_profile"
3892 if test "$enableval" = yes; then
3893 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3895 ac_cv_use_profile
='wxUSE_PROFILE=no'
3900 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3901 if test "x$LINE" != x
; then
3902 eval "DEFAULT_$LINE"
3907 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3911 eval "$ac_cv_use_profile"
3912 if test "$no_cache" != 1; then
3913 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3916 if test "$wxUSE_PROFILE" = yes; then
3917 echo "$as_me:$LINENO: result: yes" >&5
3918 echo "${ECHO_T}yes" >&6
3920 echo "$as_me:$LINENO: result: no" >&5
3921 echo "${ECHO_T}no" >&6
3926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3927 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3929 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3930 if test "${enable_no_rtti+set}" = set; then
3931 enableval
="$enable_no_rtti"
3933 if test "$enableval" = yes; then
3934 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3936 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3941 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3942 if test "x$LINE" != x
; then
3943 eval "DEFAULT_$LINE"
3948 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3952 eval "$ac_cv_use_no_rtti"
3953 if test "$no_cache" != 1; then
3954 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3957 if test "$wxUSE_NO_RTTI" = yes; then
3958 echo "$as_me:$LINENO: result: yes" >&5
3959 echo "${ECHO_T}yes" >&6
3961 echo "$as_me:$LINENO: result: no" >&5
3962 echo "${ECHO_T}no" >&6
3967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3968 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3970 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3971 if test "${enable_no_exceptions+set}" = set; then
3972 enableval
="$enable_no_exceptions"
3974 if test "$enableval" = yes; then
3975 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3977 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3982 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3983 if test "x$LINE" != x
; then
3984 eval "DEFAULT_$LINE"
3989 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3993 eval "$ac_cv_use_no_exceptions"
3994 if test "$no_cache" != 1; then
3995 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3998 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3999 echo "$as_me:$LINENO: result: yes" >&5
4000 echo "${ECHO_T}yes" >&6
4002 echo "$as_me:$LINENO: result: no" >&5
4003 echo "${ECHO_T}no" >&6
4008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4009 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4011 # Check whether --enable-permissive or --disable-permissive was given.
4012 if test "${enable_permissive+set}" = set; then
4013 enableval
="$enable_permissive"
4015 if test "$enableval" = yes; then
4016 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4018 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4023 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4024 if test "x$LINE" != x
; then
4025 eval "DEFAULT_$LINE"
4030 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4034 eval "$ac_cv_use_permissive"
4035 if test "$no_cache" != 1; then
4036 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4039 if test "$wxUSE_PERMISSIVE" = yes; then
4040 echo "$as_me:$LINENO: result: yes" >&5
4041 echo "${ECHO_T}yes" >&6
4043 echo "$as_me:$LINENO: result: no" >&5
4044 echo "${ECHO_T}no" >&6
4049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4050 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4052 # Check whether --enable-no_deps or --disable-no_deps was given.
4053 if test "${enable_no_deps+set}" = set; then
4054 enableval
="$enable_no_deps"
4056 if test "$enableval" = yes; then
4057 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4059 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4064 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4065 if test "x$LINE" != x
; then
4066 eval "DEFAULT_$LINE"
4071 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4075 eval "$ac_cv_use_no_deps"
4076 if test "$no_cache" != 1; then
4077 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4080 if test "$wxUSE_NO_DEPS" = yes; then
4081 echo "$as_me:$LINENO: result: yes" >&5
4082 echo "${ECHO_T}yes" >&6
4084 echo "$as_me:$LINENO: result: no" >&5
4085 echo "${ECHO_T}no" >&6
4091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4092 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4094 # Check whether --enable-compat22 or --disable-compat22 was given.
4095 if test "${enable_compat22+set}" = set; then
4096 enableval
="$enable_compat22"
4098 if test "$enableval" = yes; then
4099 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4101 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4106 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4107 if test "x$LINE" != x
; then
4108 eval "DEFAULT_$LINE"
4113 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4117 eval "$ac_cv_use_compat22"
4118 if test "$no_cache" != 1; then
4119 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4122 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4123 echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6
4126 echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6
4131 enablestring
=disable
4132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4133 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4135 # Check whether --enable-compat24 or --disable-compat24 was given.
4136 if test "${enable_compat24+set}" = set; then
4137 enableval
="$enable_compat24"
4139 if test "$enableval" = yes; then
4140 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4142 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4147 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4148 if test "x$LINE" != x
; then
4149 eval "DEFAULT_$LINE"
4154 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4158 eval "$ac_cv_use_compat24"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4163 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4164 echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6
4167 echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6
4174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4175 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4177 # Check whether --enable-rpath or --disable-rpath was given.
4178 if test "${enable_rpath+set}" = set; then
4179 enableval
="$enable_rpath"
4181 if test "$enableval" = yes; then
4182 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4184 ac_cv_use_rpath
='wxUSE_RPATH=no'
4189 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4190 if test "x$LINE" != x
; then
4191 eval "DEFAULT_$LINE"
4196 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4200 eval "$ac_cv_use_rpath"
4201 if test "$no_cache" != 1; then
4202 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4205 if test "$wxUSE_RPATH" = yes; then
4206 echo "$as_me:$LINENO: result: yes" >&5
4207 echo "${ECHO_T}yes" >&6
4209 echo "$as_me:$LINENO: result: no" >&5
4210 echo "${ECHO_T}no" >&6
4218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4219 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4221 # Check whether --enable-intl or --disable-intl was given.
4222 if test "${enable_intl+set}" = set; then
4223 enableval
="$enable_intl"
4225 if test "$enableval" = yes; then
4226 ac_cv_use_intl
='wxUSE_INTL=yes'
4228 ac_cv_use_intl
='wxUSE_INTL=no'
4233 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4234 if test "x$LINE" != x
; then
4235 eval "DEFAULT_$LINE"
4240 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4244 eval "$ac_cv_use_intl"
4245 if test "$no_cache" != 1; then
4246 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4249 if test "$wxUSE_INTL" = yes; then
4250 echo "$as_me:$LINENO: result: yes" >&5
4251 echo "${ECHO_T}yes" >&6
4253 echo "$as_me:$LINENO: result: no" >&5
4254 echo "${ECHO_T}no" >&6
4259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4260 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4262 # Check whether --enable-config or --disable-config was given.
4263 if test "${enable_config+set}" = set; then
4264 enableval
="$enable_config"
4266 if test "$enableval" = yes; then
4267 ac_cv_use_config
='wxUSE_CONFIG=yes'
4269 ac_cv_use_config
='wxUSE_CONFIG=no'
4274 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x
; then
4276 eval "DEFAULT_$LINE"
4281 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4285 eval "$ac_cv_use_config"
4286 if test "$no_cache" != 1; then
4287 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4290 if test "$wxUSE_CONFIG" = yes; then
4291 echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6
4294 echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6
4301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4302 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4304 # Check whether --enable-protocols or --disable-protocols was given.
4305 if test "${enable_protocols+set}" = set; then
4306 enableval
="$enable_protocols"
4308 if test "$enableval" = yes; then
4309 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4311 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4316 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x
; then
4318 eval "DEFAULT_$LINE"
4323 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4327 eval "$ac_cv_use_protocols"
4328 if test "$no_cache" != 1; then
4329 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4332 if test "$wxUSE_PROTOCOL" = yes; then
4333 echo "$as_me:$LINENO: result: yes" >&5
4334 echo "${ECHO_T}yes" >&6
4336 echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6
4342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4343 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4345 # Check whether --enable-ftp or --disable-ftp was given.
4346 if test "${enable_ftp+set}" = set; then
4347 enableval
="$enable_ftp"
4349 if test "$enableval" = yes; then
4350 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4352 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4357 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x
; then
4359 eval "DEFAULT_$LINE"
4364 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4368 eval "$ac_cv_use_ftp"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4373 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4374 echo "$as_me:$LINENO: result: yes" >&5
4375 echo "${ECHO_T}yes" >&6
4377 echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6
4383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4384 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4386 # Check whether --enable-http or --disable-http was given.
4387 if test "${enable_http+set}" = set; then
4388 enableval
="$enable_http"
4390 if test "$enableval" = yes; then
4391 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4393 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4398 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x
; then
4400 eval "DEFAULT_$LINE"
4405 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4409 eval "$ac_cv_use_http"
4410 if test "$no_cache" != 1; then
4411 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4414 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4415 echo "$as_me:$LINENO: result: yes" >&5
4416 echo "${ECHO_T}yes" >&6
4418 echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4425 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4427 # Check whether --enable-fileproto or --disable-fileproto was given.
4428 if test "${enable_fileproto+set}" = set; then
4429 enableval
="$enable_fileproto"
4431 if test "$enableval" = yes; then
4432 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4434 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4439 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4440 if test "x$LINE" != x
; then
4441 eval "DEFAULT_$LINE"
4446 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4450 eval "$ac_cv_use_fileproto"
4451 if test "$no_cache" != 1; then
4452 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4455 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4456 echo "$as_me:$LINENO: result: yes" >&5
4457 echo "${ECHO_T}yes" >&6
4459 echo "$as_me:$LINENO: result: no" >&5
4460 echo "${ECHO_T}no" >&6
4465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4468 # Check whether --enable-sockets or --disable-sockets was given.
4469 if test "${enable_sockets+set}" = set; then
4470 enableval
="$enable_sockets"
4472 if test "$enableval" = yes; then
4473 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4475 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4480 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x
; then
4482 eval "DEFAULT_$LINE"
4487 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4491 eval "$ac_cv_use_sockets"
4492 if test "$no_cache" != 1; then
4493 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4496 if test "$wxUSE_SOCKETS" = yes; then
4497 echo "$as_me:$LINENO: result: yes" >&5
4498 echo "${ECHO_T}yes" >&6
4500 echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6
4506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4507 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4509 # Check whether --enable-ole or --disable-ole was given.
4510 if test "${enable_ole+set}" = set; then
4511 enableval
="$enable_ole"
4513 if test "$enableval" = yes; then
4514 ac_cv_use_ole
='wxUSE_OLE=yes'
4516 ac_cv_use_ole
='wxUSE_OLE=no'
4521 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x
; then
4523 eval "DEFAULT_$LINE"
4528 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4532 eval "$ac_cv_use_ole"
4533 if test "$no_cache" != 1; then
4534 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4537 if test "$wxUSE_OLE" = yes; then
4538 echo "$as_me:$LINENO: result: yes" >&5
4539 echo "${ECHO_T}yes" >&6
4541 echo "$as_me:$LINENO: result: no" >&5
4542 echo "${ECHO_T}no" >&6
4547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4548 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4550 # Check whether --enable-dataobj or --disable-dataobj was given.
4551 if test "${enable_dataobj+set}" = set; then
4552 enableval
="$enable_dataobj"
4554 if test "$enableval" = yes; then
4555 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4557 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4562 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x
; then
4564 eval "DEFAULT_$LINE"
4569 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4573 eval "$ac_cv_use_dataobj"
4574 if test "$no_cache" != 1; then
4575 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4578 if test "$wxUSE_DATAOBJ" = yes; then
4579 echo "$as_me:$LINENO: result: yes" >&5
4580 echo "${ECHO_T}yes" >&6
4582 echo "$as_me:$LINENO: result: no" >&5
4583 echo "${ECHO_T}no" >&6
4589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4592 # Check whether --enable-ipc or --disable-ipc was given.
4593 if test "${enable_ipc+set}" = set; then
4594 enableval
="$enable_ipc"
4596 if test "$enableval" = yes; then
4597 ac_cv_use_ipc
='wxUSE_IPC=yes'
4599 ac_cv_use_ipc
='wxUSE_IPC=no'
4604 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4605 if test "x$LINE" != x
; then
4606 eval "DEFAULT_$LINE"
4611 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4615 eval "$ac_cv_use_ipc"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_IPC" = yes; then
4621 echo "$as_me:$LINENO: result: yes" >&5
4622 echo "${ECHO_T}yes" >&6
4624 echo "$as_me:$LINENO: result: no" >&5
4625 echo "${ECHO_T}no" >&6
4631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4632 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4634 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4635 if test "${enable_apple_ieee+set}" = set; then
4636 enableval
="$enable_apple_ieee"
4638 if test "$enableval" = yes; then
4639 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4641 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4646 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4647 if test "x$LINE" != x
; then
4648 eval "DEFAULT_$LINE"
4653 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4657 eval "$ac_cv_use_apple_ieee"
4658 if test "$no_cache" != 1; then
4659 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4662 if test "$wxUSE_APPLE_IEEE" = yes; then
4663 echo "$as_me:$LINENO: result: yes" >&5
4664 echo "${ECHO_T}yes" >&6
4666 echo "$as_me:$LINENO: result: no" >&5
4667 echo "${ECHO_T}no" >&6
4672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4673 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4675 # Check whether --enable-arcstream or --disable-arcstream was given.
4676 if test "${enable_arcstream+set}" = set; then
4677 enableval
="$enable_arcstream"
4679 if test "$enableval" = yes; then
4680 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4682 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4687 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4688 if test "x$LINE" != x
; then
4689 eval "DEFAULT_$LINE"
4694 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4698 eval "$ac_cv_use_arcstream"
4699 if test "$no_cache" != 1; then
4700 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4703 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4704 echo "$as_me:$LINENO: result: yes" >&5
4705 echo "${ECHO_T}yes" >&6
4707 echo "$as_me:$LINENO: result: no" >&5
4708 echo "${ECHO_T}no" >&6
4713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4714 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4716 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4717 if test "${enable_catch_segvs+set}" = set; then
4718 enableval
="$enable_catch_segvs"
4720 if test "$enableval" = yes; then
4721 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4723 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4728 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4729 if test "x$LINE" != x
; then
4730 eval "DEFAULT_$LINE"
4735 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4739 eval "$ac_cv_use_catch_segvs"
4740 if test "$no_cache" != 1; then
4741 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4744 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4745 echo "$as_me:$LINENO: result: yes" >&5
4746 echo "${ECHO_T}yes" >&6
4748 echo "$as_me:$LINENO: result: no" >&5
4749 echo "${ECHO_T}no" >&6
4754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4755 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4757 # Check whether --enable-backtrace or --disable-backtrace was given.
4758 if test "${enable_backtrace+set}" = set; then
4759 enableval
="$enable_backtrace"
4761 if test "$enableval" = yes; then
4762 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4764 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4769 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4770 if test "x$LINE" != x
; then
4771 eval "DEFAULT_$LINE"
4776 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4780 eval "$ac_cv_use_backtrace"
4781 if test "$no_cache" != 1; then
4782 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4785 if test "$wxUSE_STACKWALKER" = yes; then
4786 echo "$as_me:$LINENO: result: yes" >&5
4787 echo "${ECHO_T}yes" >&6
4789 echo "$as_me:$LINENO: result: no" >&5
4790 echo "${ECHO_T}no" >&6
4795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4798 # Check whether --enable-cmdline or --disable-cmdline was given.
4799 if test "${enable_cmdline+set}" = set; then
4800 enableval
="$enable_cmdline"
4802 if test "$enableval" = yes; then
4803 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4805 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4810 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4811 if test "x$LINE" != x
; then
4812 eval "DEFAULT_$LINE"
4817 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4821 eval "$ac_cv_use_cmdline"
4822 if test "$no_cache" != 1; then
4823 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4826 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4827 echo "$as_me:$LINENO: result: yes" >&5
4828 echo "${ECHO_T}yes" >&6
4830 echo "$as_me:$LINENO: result: no" >&5
4831 echo "${ECHO_T}no" >&6
4836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4837 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4839 # Check whether --enable-datetime or --disable-datetime was given.
4840 if test "${enable_datetime+set}" = set; then
4841 enableval
="$enable_datetime"
4843 if test "$enableval" = yes; then
4844 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4846 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4851 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4852 if test "x$LINE" != x
; then
4853 eval "DEFAULT_$LINE"
4858 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4862 eval "$ac_cv_use_datetime"
4863 if test "$no_cache" != 1; then
4864 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4867 if test "$wxUSE_DATETIME" = yes; then
4868 echo "$as_me:$LINENO: result: yes" >&5
4869 echo "${ECHO_T}yes" >&6
4871 echo "$as_me:$LINENO: result: no" >&5
4872 echo "${ECHO_T}no" >&6
4877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4878 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4880 # Check whether --enable-dialupman or --disable-dialupman was given.
4881 if test "${enable_dialupman+set}" = set; then
4882 enableval
="$enable_dialupman"
4884 if test "$enableval" = yes; then
4885 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4887 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4892 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4893 if test "x$LINE" != x
; then
4894 eval "DEFAULT_$LINE"
4899 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4903 eval "$ac_cv_use_dialupman"
4904 if test "$no_cache" != 1; then
4905 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4908 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4909 echo "$as_me:$LINENO: result: yes" >&5
4910 echo "${ECHO_T}yes" >&6
4912 echo "$as_me:$LINENO: result: no" >&5
4913 echo "${ECHO_T}no" >&6
4918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4919 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4921 # Check whether --enable-dynlib or --disable-dynlib was given.
4922 if test "${enable_dynlib+set}" = set; then
4923 enableval
="$enable_dynlib"
4925 if test "$enableval" = yes; then
4926 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4928 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4933 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4934 if test "x$LINE" != x
; then
4935 eval "DEFAULT_$LINE"
4940 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4944 eval "$ac_cv_use_dynlib"
4945 if test "$no_cache" != 1; then
4946 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4949 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4950 echo "$as_me:$LINENO: result: yes" >&5
4951 echo "${ECHO_T}yes" >&6
4953 echo "$as_me:$LINENO: result: no" >&5
4954 echo "${ECHO_T}no" >&6
4959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4960 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4962 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4963 if test "${enable_dynamicloader+set}" = set; then
4964 enableval
="$enable_dynamicloader"
4966 if test "$enableval" = yes; then
4967 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4969 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4974 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4975 if test "x$LINE" != x
; then
4976 eval "DEFAULT_$LINE"
4981 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4985 eval "$ac_cv_use_dynamicloader"
4986 if test "$no_cache" != 1; then
4987 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4990 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4991 echo "$as_me:$LINENO: result: yes" >&5
4992 echo "${ECHO_T}yes" >&6
4994 echo "$as_me:$LINENO: result: no" >&5
4995 echo "${ECHO_T}no" >&6
5000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5001 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5003 # Check whether --enable-exceptions or --disable-exceptions was given.
5004 if test "${enable_exceptions+set}" = set; then
5005 enableval
="$enable_exceptions"
5007 if test "$enableval" = yes; then
5008 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5010 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5015 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5016 if test "x$LINE" != x
; then
5017 eval "DEFAULT_$LINE"
5022 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5026 eval "$ac_cv_use_exceptions"
5027 if test "$no_cache" != 1; then
5028 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5031 if test "$wxUSE_EXCEPTIONS" = yes; then
5032 echo "$as_me:$LINENO: result: yes" >&5
5033 echo "${ECHO_T}yes" >&6
5035 echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6
5041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5042 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5044 # Check whether --enable-ffile or --disable-ffile was given.
5045 if test "${enable_ffile+set}" = set; then
5046 enableval
="$enable_ffile"
5048 if test "$enableval" = yes; then
5049 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5051 ac_cv_use_ffile
='wxUSE_FFILE=no'
5056 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5057 if test "x$LINE" != x
; then
5058 eval "DEFAULT_$LINE"
5063 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5067 eval "$ac_cv_use_ffile"
5068 if test "$no_cache" != 1; then
5069 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5072 if test "$wxUSE_FFILE" = yes; then
5073 echo "$as_me:$LINENO: result: yes" >&5
5074 echo "${ECHO_T}yes" >&6
5076 echo "$as_me:$LINENO: result: no" >&5
5077 echo "${ECHO_T}no" >&6
5082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5083 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5085 # Check whether --enable-file or --disable-file was given.
5086 if test "${enable_file+set}" = set; then
5087 enableval
="$enable_file"
5089 if test "$enableval" = yes; then
5090 ac_cv_use_file
='wxUSE_FILE=yes'
5092 ac_cv_use_file
='wxUSE_FILE=no'
5097 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5098 if test "x$LINE" != x
; then
5099 eval "DEFAULT_$LINE"
5104 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5108 eval "$ac_cv_use_file"
5109 if test "$no_cache" != 1; then
5110 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5113 if test "$wxUSE_FILE" = yes; then
5114 echo "$as_me:$LINENO: result: yes" >&5
5115 echo "${ECHO_T}yes" >&6
5117 echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6
5123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5124 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5126 # Check whether --enable-filesystem or --disable-filesystem was given.
5127 if test "${enable_filesystem+set}" = set; then
5128 enableval
="$enable_filesystem"
5130 if test "$enableval" = yes; then
5131 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5133 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5138 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5139 if test "x$LINE" != x
; then
5140 eval "DEFAULT_$LINE"
5145 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5149 eval "$ac_cv_use_filesystem"
5150 if test "$no_cache" != 1; then
5151 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5154 if test "$wxUSE_FILESYSTEM" = yes; then
5155 echo "$as_me:$LINENO: result: yes" >&5
5156 echo "${ECHO_T}yes" >&6
5158 echo "$as_me:$LINENO: result: no" >&5
5159 echo "${ECHO_T}no" >&6
5164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5165 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5167 # Check whether --enable-fontmap or --disable-fontmap was given.
5168 if test "${enable_fontmap+set}" = set; then
5169 enableval
="$enable_fontmap"
5171 if test "$enableval" = yes; then
5172 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5174 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5179 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5180 if test "x$LINE" != x
; then
5181 eval "DEFAULT_$LINE"
5186 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5190 eval "$ac_cv_use_fontmap"
5191 if test "$no_cache" != 1; then
5192 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5195 if test "$wxUSE_FONTMAP" = yes; then
5196 echo "$as_me:$LINENO: result: yes" >&5
5197 echo "${ECHO_T}yes" >&6
5199 echo "$as_me:$LINENO: result: no" >&5
5200 echo "${ECHO_T}no" >&6
5205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5206 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5208 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5209 if test "${enable_fs_inet+set}" = set; then
5210 enableval
="$enable_fs_inet"
5212 if test "$enableval" = yes; then
5213 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5215 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5220 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5221 if test "x$LINE" != x
; then
5222 eval "DEFAULT_$LINE"
5227 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5231 eval "$ac_cv_use_fs_inet"
5232 if test "$no_cache" != 1; then
5233 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5236 if test "$wxUSE_FS_INET" = yes; then
5237 echo "$as_me:$LINENO: result: yes" >&5
5238 echo "${ECHO_T}yes" >&6
5240 echo "$as_me:$LINENO: result: no" >&5
5241 echo "${ECHO_T}no" >&6
5246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5247 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5249 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5250 if test "${enable_fs_zip+set}" = set; then
5251 enableval
="$enable_fs_zip"
5253 if test "$enableval" = yes; then
5254 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5256 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5261 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5262 if test "x$LINE" != x
; then
5263 eval "DEFAULT_$LINE"
5268 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5272 eval "$ac_cv_use_fs_zip"
5273 if test "$no_cache" != 1; then
5274 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5277 if test "$wxUSE_FS_ZIP" = yes; then
5278 echo "$as_me:$LINENO: result: yes" >&5
5279 echo "${ECHO_T}yes" >&6
5281 echo "$as_me:$LINENO: result: no" >&5
5282 echo "${ECHO_T}no" >&6
5287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5288 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5290 # Check whether --enable-geometry or --disable-geometry was given.
5291 if test "${enable_geometry+set}" = set; then
5292 enableval
="$enable_geometry"
5294 if test "$enableval" = yes; then
5295 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5297 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5302 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5303 if test "x$LINE" != x
; then
5304 eval "DEFAULT_$LINE"
5309 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5313 eval "$ac_cv_use_geometry"
5314 if test "$no_cache" != 1; then
5315 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5318 if test "$wxUSE_GEOMETRY" = yes; then
5319 echo "$as_me:$LINENO: result: yes" >&5
5320 echo "${ECHO_T}yes" >&6
5322 echo "$as_me:$LINENO: result: no" >&5
5323 echo "${ECHO_T}no" >&6
5328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5329 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5331 # Check whether --enable-log or --disable-log was given.
5332 if test "${enable_log+set}" = set; then
5333 enableval
="$enable_log"
5335 if test "$enableval" = yes; then
5336 ac_cv_use_log
='wxUSE_LOG=yes'
5338 ac_cv_use_log
='wxUSE_LOG=no'
5343 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5344 if test "x$LINE" != x
; then
5345 eval "DEFAULT_$LINE"
5350 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5354 eval "$ac_cv_use_log"
5355 if test "$no_cache" != 1; then
5356 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5359 if test "$wxUSE_LOG" = yes; then
5360 echo "$as_me:$LINENO: result: yes" >&5
5361 echo "${ECHO_T}yes" >&6
5363 echo "$as_me:$LINENO: result: no" >&5
5364 echo "${ECHO_T}no" >&6
5369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5370 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5372 # Check whether --enable-longlong or --disable-longlong was given.
5373 if test "${enable_longlong+set}" = set; then
5374 enableval
="$enable_longlong"
5376 if test "$enableval" = yes; then
5377 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5379 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5384 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x
; then
5386 eval "DEFAULT_$LINE"
5391 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5395 eval "$ac_cv_use_longlong"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5400 if test "$wxUSE_LONGLONG" = yes; then
5401 echo "$as_me:$LINENO: result: yes" >&5
5402 echo "${ECHO_T}yes" >&6
5404 echo "$as_me:$LINENO: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5411 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5413 # Check whether --enable-mimetype or --disable-mimetype was given.
5414 if test "${enable_mimetype+set}" = set; then
5415 enableval
="$enable_mimetype"
5417 if test "$enableval" = yes; then
5418 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5420 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5425 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5426 if test "x$LINE" != x
; then
5427 eval "DEFAULT_$LINE"
5432 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5436 eval "$ac_cv_use_mimetype"
5437 if test "$no_cache" != 1; then
5438 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5441 if test "$wxUSE_MIMETYPE" = yes; then
5442 echo "$as_me:$LINENO: result: yes" >&5
5443 echo "${ECHO_T}yes" >&6
5445 echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6
5451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5452 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5454 # Check whether --enable-mslu or --disable-mslu was given.
5455 if test "${enable_mslu+set}" = set; then
5456 enableval
="$enable_mslu"
5458 if test "$enableval" = yes; then
5459 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5461 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5466 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5467 if test "x$LINE" != x
; then
5468 eval "DEFAULT_$LINE"
5473 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5477 eval "$ac_cv_use_mslu"
5478 if test "$no_cache" != 1; then
5479 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5482 if test "$wxUSE_UNICODE_MSLU" = yes; then
5483 echo "$as_me:$LINENO: result: yes" >&5
5484 echo "${ECHO_T}yes" >&6
5486 echo "$as_me:$LINENO: result: no" >&5
5487 echo "${ECHO_T}no" >&6
5492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5493 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5495 # Check whether --enable-snglinst or --disable-snglinst was given.
5496 if test "${enable_snglinst+set}" = set; then
5497 enableval
="$enable_snglinst"
5499 if test "$enableval" = yes; then
5500 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5502 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5507 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5508 if test "x$LINE" != x
; then
5509 eval "DEFAULT_$LINE"
5514 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5518 eval "$ac_cv_use_snglinst"
5519 if test "$no_cache" != 1; then
5520 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5523 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5524 echo "$as_me:$LINENO: result: yes" >&5
5525 echo "${ECHO_T}yes" >&6
5527 echo "$as_me:$LINENO: result: no" >&5
5528 echo "${ECHO_T}no" >&6
5533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5536 # Check whether --enable-streams or --disable-streams was given.
5537 if test "${enable_streams+set}" = set; then
5538 enableval
="$enable_streams"
5540 if test "$enableval" = yes; then
5541 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5543 ac_cv_use_streams
='wxUSE_STREAMS=no'
5548 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x
; then
5550 eval "DEFAULT_$LINE"
5555 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5559 eval "$ac_cv_use_streams"
5560 if test "$no_cache" != 1; then
5561 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5564 if test "$wxUSE_STREAMS" = yes; then
5565 echo "$as_me:$LINENO: result: yes" >&5
5566 echo "${ECHO_T}yes" >&6
5568 echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6
5574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5575 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5577 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5578 if test "${enable_std_iostreams+set}" = set; then
5579 enableval
="$enable_std_iostreams"
5581 if test "$enableval" = yes; then
5582 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5584 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5589 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5590 if test "x$LINE" != x
; then
5591 eval "DEFAULT_$LINE"
5596 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5600 eval "$ac_cv_use_std_iostreams"
5601 if test "$no_cache" != 1; then
5602 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5605 if test "$wxUSE_STD_IOSTREAM" = yes; then
5606 echo "$as_me:$LINENO: result: yes" >&5
5607 echo "${ECHO_T}yes" >&6
5609 echo "$as_me:$LINENO: result: no" >&5
5610 echo "${ECHO_T}no" >&6
5615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5616 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5618 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5619 if test "${enable_stopwatch+set}" = set; then
5620 enableval
="$enable_stopwatch"
5622 if test "$enableval" = yes; then
5623 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5625 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5630 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5631 if test "x$LINE" != x
; then
5632 eval "DEFAULT_$LINE"
5637 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5641 eval "$ac_cv_use_stopwatch"
5642 if test "$no_cache" != 1; then
5643 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5646 if test "$wxUSE_STOPWATCH" = yes; then
5647 echo "$as_me:$LINENO: result: yes" >&5
5648 echo "${ECHO_T}yes" >&6
5650 echo "$as_me:$LINENO: result: no" >&5
5651 echo "${ECHO_T}no" >&6
5656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5657 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5659 # Check whether --enable-system_options or --disable-system_options was given.
5660 if test "${enable_system_options+set}" = set; then
5661 enableval
="$enable_system_options"
5663 if test "$enableval" = yes; then
5664 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5666 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5671 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x
; then
5673 eval "DEFAULT_$LINE"
5678 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5682 eval "$ac_cv_use_system_options"
5683 if test "$no_cache" != 1; then
5684 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5687 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5688 echo "$as_me:$LINENO: result: yes" >&5
5689 echo "${ECHO_T}yes" >&6
5691 echo "$as_me:$LINENO: result: no" >&5
5692 echo "${ECHO_T}no" >&6
5697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5698 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5700 # Check whether --enable-textbuf or --disable-textbuf was given.
5701 if test "${enable_textbuf+set}" = set; then
5702 enableval
="$enable_textbuf"
5704 if test "$enableval" = yes; then
5705 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5707 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5712 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5713 if test "x$LINE" != x
; then
5714 eval "DEFAULT_$LINE"
5719 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5723 eval "$ac_cv_use_textbuf"
5724 if test "$no_cache" != 1; then
5725 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5728 if test "$wxUSE_TEXTBUFFER" = yes; then
5729 echo "$as_me:$LINENO: result: yes" >&5
5730 echo "${ECHO_T}yes" >&6
5732 echo "$as_me:$LINENO: result: no" >&5
5733 echo "${ECHO_T}no" >&6
5738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5741 # Check whether --enable-textfile or --disable-textfile was given.
5742 if test "${enable_textfile+set}" = set; then
5743 enableval
="$enable_textfile"
5745 if test "$enableval" = yes; then
5746 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5748 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5753 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5754 if test "x$LINE" != x
; then
5755 eval "DEFAULT_$LINE"
5760 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5764 eval "$ac_cv_use_textfile"
5765 if test "$no_cache" != 1; then
5766 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5769 if test "$wxUSE_TEXTFILE" = yes; then
5770 echo "$as_me:$LINENO: result: yes" >&5
5771 echo "${ECHO_T}yes" >&6
5773 echo "$as_me:$LINENO: result: no" >&5
5774 echo "${ECHO_T}no" >&6
5779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5780 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5782 # Check whether --enable-timer or --disable-timer was given.
5783 if test "${enable_timer+set}" = set; then
5784 enableval
="$enable_timer"
5786 if test "$enableval" = yes; then
5787 ac_cv_use_timer
='wxUSE_TIMER=yes'
5789 ac_cv_use_timer
='wxUSE_TIMER=no'
5794 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5795 if test "x$LINE" != x
; then
5796 eval "DEFAULT_$LINE"
5801 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5805 eval "$ac_cv_use_timer"
5806 if test "$no_cache" != 1; then
5807 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5810 if test "$wxUSE_TIMER" = yes; then
5811 echo "$as_me:$LINENO: result: yes" >&5
5812 echo "${ECHO_T}yes" >&6
5814 echo "$as_me:$LINENO: result: no" >&5
5815 echo "${ECHO_T}no" >&6
5820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5821 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5823 # Check whether --enable-unicode or --disable-unicode was given.
5824 if test "${enable_unicode+set}" = set; then
5825 enableval
="$enable_unicode"
5827 if test "$enableval" = yes; then
5828 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5830 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5835 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5836 if test "x$LINE" != x
; then
5837 eval "DEFAULT_$LINE"
5842 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5846 eval "$ac_cv_use_unicode"
5847 if test "$no_cache" != 1; then
5848 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5851 if test "$wxUSE_UNICODE" = yes; then
5852 echo "$as_me:$LINENO: result: yes" >&5
5853 echo "${ECHO_T}yes" >&6
5855 echo "$as_me:$LINENO: result: no" >&5
5856 echo "${ECHO_T}no" >&6
5861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5862 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5864 # Check whether --enable-sound or --disable-sound was given.
5865 if test "${enable_sound+set}" = set; then
5866 enableval
="$enable_sound"
5868 if test "$enableval" = yes; then
5869 ac_cv_use_sound
='wxUSE_SOUND=yes'
5871 ac_cv_use_sound
='wxUSE_SOUND=no'
5876 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5877 if test "x$LINE" != x
; then
5878 eval "DEFAULT_$LINE"
5883 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5887 eval "$ac_cv_use_sound"
5888 if test "$no_cache" != 1; then
5889 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5892 if test "$wxUSE_SOUND" = yes; then
5893 echo "$as_me:$LINENO: result: yes" >&5
5894 echo "${ECHO_T}yes" >&6
5896 echo "$as_me:$LINENO: result: no" >&5
5897 echo "${ECHO_T}no" >&6
5902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5905 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5906 if test "${enable_mediactrl+set}" = set; then
5907 enableval
="$enable_mediactrl"
5909 if test "$enableval" = yes; then
5910 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
5912 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
5917 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5918 if test "x$LINE" != x
; then
5919 eval "DEFAULT_$LINE"
5924 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5928 eval "$ac_cv_use_mediactrl"
5929 if test "$no_cache" != 1; then
5930 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5933 if test "$wxUSE_MEDIACTRL" = yes; then
5934 echo "$as_me:$LINENO: result: yes" >&5
5935 echo "${ECHO_T}yes" >&6
5937 echo "$as_me:$LINENO: result: no" >&5
5938 echo "${ECHO_T}no" >&6
5943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5944 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5946 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5947 if test "${enable_wxprintfv+set}" = set; then
5948 enableval
="$enable_wxprintfv"
5950 if test "$enableval" = yes; then
5951 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5953 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5958 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5959 if test "x$LINE" != x
; then
5960 eval "DEFAULT_$LINE"
5965 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5969 eval "$ac_cv_use_wxprintfv"
5970 if test "$no_cache" != 1; then
5971 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5974 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5975 echo "$as_me:$LINENO: result: yes" >&5
5976 echo "${ECHO_T}yes" >&6
5978 echo "$as_me:$LINENO: result: no" >&5
5979 echo "${ECHO_T}no" >&6
5984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5985 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5987 # Check whether --enable-zipstream or --disable-zipstream was given.
5988 if test "${enable_zipstream+set}" = set; then
5989 enableval
="$enable_zipstream"
5991 if test "$enableval" = yes; then
5992 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5994 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5999 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6000 if test "x$LINE" != x
; then
6001 eval "DEFAULT_$LINE"
6006 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6010 eval "$ac_cv_use_zipstream"
6011 if test "$no_cache" != 1; then
6012 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6015 if test "$wxUSE_ZIPSTREAM" = yes; then
6016 echo "$as_me:$LINENO: result: yes" >&5
6017 echo "${ECHO_T}yes" >&6
6019 echo "$as_me:$LINENO: result: no" >&5
6020 echo "${ECHO_T}no" >&6
6026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6029 # Check whether --enable-url or --disable-url was given.
6030 if test "${enable_url+set}" = set; then
6031 enableval
="$enable_url"
6033 if test "$enableval" = yes; then
6034 ac_cv_use_url
='wxUSE_URL=yes'
6036 ac_cv_use_url
='wxUSE_URL=no'
6041 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6042 if test "x$LINE" != x
; then
6043 eval "DEFAULT_$LINE"
6048 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6052 eval "$ac_cv_use_url"
6053 if test "$no_cache" != 1; then
6054 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6057 if test "$wxUSE_URL" = yes; then
6058 echo "$as_me:$LINENO: result: yes" >&5
6059 echo "${ECHO_T}yes" >&6
6061 echo "$as_me:$LINENO: result: no" >&5
6062 echo "${ECHO_T}no" >&6
6067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6070 # Check whether --enable-protocol or --disable-protocol was given.
6071 if test "${enable_protocol+set}" = set; then
6072 enableval
="$enable_protocol"
6074 if test "$enableval" = yes; then
6075 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6077 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6082 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6083 if test "x$LINE" != x
; then
6084 eval "DEFAULT_$LINE"
6089 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6093 eval "$ac_cv_use_protocol"
6094 if test "$no_cache" != 1; then
6095 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6098 if test "$wxUSE_PROTOCOL" = yes; then
6099 echo "$as_me:$LINENO: result: yes" >&5
6100 echo "${ECHO_T}yes" >&6
6102 echo "$as_me:$LINENO: result: no" >&5
6103 echo "${ECHO_T}no" >&6
6108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6109 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6111 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6112 if test "${enable_protocol_http+set}" = set; then
6113 enableval
="$enable_protocol_http"
6115 if test "$enableval" = yes; then
6116 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6118 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6123 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x
; then
6125 eval "DEFAULT_$LINE"
6130 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6134 eval "$ac_cv_use_protocol_http"
6135 if test "$no_cache" != 1; then
6136 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6139 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6140 echo "$as_me:$LINENO: result: yes" >&5
6141 echo "${ECHO_T}yes" >&6
6143 echo "$as_me:$LINENO: result: no" >&5
6144 echo "${ECHO_T}no" >&6
6149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6150 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6152 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6153 if test "${enable_protocol_ftp+set}" = set; then
6154 enableval
="$enable_protocol_ftp"
6156 if test "$enableval" = yes; then
6157 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6159 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6164 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6165 if test "x$LINE" != x
; then
6166 eval "DEFAULT_$LINE"
6171 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6175 eval "$ac_cv_use_protocol_ftp"
6176 if test "$no_cache" != 1; then
6177 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6180 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6181 echo "$as_me:$LINENO: result: yes" >&5
6182 echo "${ECHO_T}yes" >&6
6184 echo "$as_me:$LINENO: result: no" >&5
6185 echo "${ECHO_T}no" >&6
6190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6193 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6194 if test "${enable_protocol_file+set}" = set; then
6195 enableval
="$enable_protocol_file"
6197 if test "$enableval" = yes; then
6198 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6200 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6205 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6206 if test "x$LINE" != x
; then
6207 eval "DEFAULT_$LINE"
6212 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6216 eval "$ac_cv_use_protocol_file"
6217 if test "$no_cache" != 1; then
6218 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6221 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6222 echo "$as_me:$LINENO: result: yes" >&5
6223 echo "${ECHO_T}yes" >&6
6225 echo "$as_me:$LINENO: result: no" >&5
6226 echo "${ECHO_T}no" >&6
6234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6237 # Check whether --enable-threads or --disable-threads was given.
6238 if test "${enable_threads+set}" = set; then
6239 enableval
="$enable_threads"
6241 if test "$enableval" = yes; then
6242 ac_cv_use_threads
='wxUSE_THREADS=yes'
6244 ac_cv_use_threads
='wxUSE_THREADS=no'
6249 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x
; then
6251 eval "DEFAULT_$LINE"
6256 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6260 eval "$ac_cv_use_threads"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6265 if test "$wxUSE_THREADS" = yes; then
6266 echo "$as_me:$LINENO: result: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6274 if test "$wxUSE_GUI" = "yes"; then
6279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6280 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6282 # Check whether --enable-docview or --disable-docview was given.
6283 if test "${enable_docview+set}" = set; then
6284 enableval
="$enable_docview"
6286 if test "$enableval" = yes; then
6287 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6289 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6294 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x
; then
6296 eval "DEFAULT_$LINE"
6301 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6305 eval "$ac_cv_use_docview"
6306 if test "$no_cache" != 1; then
6307 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6310 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 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
6320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6323 # Check whether --enable-help or --disable-help was given.
6324 if test "${enable_help+set}" = set; then
6325 enableval
="$enable_help"
6327 if test "$enableval" = yes; then
6328 ac_cv_use_help
='wxUSE_HELP=yes'
6330 ac_cv_use_help
='wxUSE_HELP=no'
6335 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6336 if test "x$LINE" != x
; then
6337 eval "DEFAULT_$LINE"
6342 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6346 eval "$ac_cv_use_help"
6347 if test "$no_cache" != 1; then
6348 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6351 if test "$wxUSE_HELP" = yes; then
6352 echo "$as_me:$LINENO: result: yes" >&5
6353 echo "${ECHO_T}yes" >&6
6355 echo "$as_me:$LINENO: result: no" >&5
6356 echo "${ECHO_T}no" >&6
6361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6362 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6364 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6365 if test "${enable_mshtmlhelp+set}" = set; then
6366 enableval
="$enable_mshtmlhelp"
6368 if test "$enableval" = yes; then
6369 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6371 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6376 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6377 if test "x$LINE" != x
; then
6378 eval "DEFAULT_$LINE"
6383 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6387 eval "$ac_cv_use_mshtmlhelp"
6388 if test "$no_cache" != 1; then
6389 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6392 if test "$wxUSE_MS_HTML_HELP" = yes; then
6393 echo "$as_me:$LINENO: result: yes" >&5
6394 echo "${ECHO_T}yes" >&6
6396 echo "$as_me:$LINENO: result: no" >&5
6397 echo "${ECHO_T}no" >&6
6402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6403 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6405 # Check whether --enable-html or --disable-html was given.
6406 if test "${enable_html+set}" = set; then
6407 enableval
="$enable_html"
6409 if test "$enableval" = yes; then
6410 ac_cv_use_html
='wxUSE_HTML=yes'
6412 ac_cv_use_html
='wxUSE_HTML=no'
6417 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6418 if test "x$LINE" != x
; then
6419 eval "DEFAULT_$LINE"
6424 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6428 eval "$ac_cv_use_html"
6429 if test "$no_cache" != 1; then
6430 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6433 if test "$wxUSE_HTML" = yes; then
6434 echo "$as_me:$LINENO: result: yes" >&5
6435 echo "${ECHO_T}yes" >&6
6437 echo "$as_me:$LINENO: result: no" >&5
6438 echo "${ECHO_T}no" >&6
6443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6444 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6446 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6447 if test "${enable_htmlhelp+set}" = set; then
6448 enableval
="$enable_htmlhelp"
6450 if test "$enableval" = yes; then
6451 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6453 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6458 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x
; then
6460 eval "DEFAULT_$LINE"
6465 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6469 eval "$ac_cv_use_htmlhelp"
6470 if test "$no_cache" != 1; then
6471 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6474 if test "$wxUSE_WXHTML_HELP" = yes; then
6475 echo "$as_me:$LINENO: result: yes" >&5
6476 echo "${ECHO_T}yes" >&6
6478 echo "$as_me:$LINENO: result: no" >&5
6479 echo "${ECHO_T}no" >&6
6484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6485 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6487 # Check whether --enable-xrc or --disable-xrc was given.
6488 if test "${enable_xrc+set}" = set; then
6489 enableval
="$enable_xrc"
6491 if test "$enableval" = yes; then
6492 ac_cv_use_xrc
='wxUSE_XRC=yes'
6494 ac_cv_use_xrc
='wxUSE_XRC=no'
6499 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x
; then
6501 eval "DEFAULT_$LINE"
6506 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6510 eval "$ac_cv_use_xrc"
6511 if test "$no_cache" != 1; then
6512 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6515 if test "$wxUSE_XRC" = yes; then
6516 echo "$as_me:$LINENO: result: yes" >&5
6517 echo "${ECHO_T}yes" >&6
6519 echo "$as_me:$LINENO: result: no" >&5
6520 echo "${ECHO_T}no" >&6
6525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6526 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6528 # Check whether --enable-constraints or --disable-constraints was given.
6529 if test "${enable_constraints+set}" = set; then
6530 enableval
="$enable_constraints"
6532 if test "$enableval" = yes; then
6533 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6535 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6540 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6541 if test "x$LINE" != x
; then
6542 eval "DEFAULT_$LINE"
6547 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6551 eval "$ac_cv_use_constraints"
6552 if test "$no_cache" != 1; then
6553 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6556 if test "$wxUSE_CONSTRAINTS" = yes; then
6557 echo "$as_me:$LINENO: result: yes" >&5
6558 echo "${ECHO_T}yes" >&6
6560 echo "$as_me:$LINENO: result: no" >&5
6561 echo "${ECHO_T}no" >&6
6566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6567 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6569 # Check whether --enable-printarch or --disable-printarch was given.
6570 if test "${enable_printarch+set}" = set; then
6571 enableval
="$enable_printarch"
6573 if test "$enableval" = yes; then
6574 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6576 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6581 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6582 if test "x$LINE" != x
; then
6583 eval "DEFAULT_$LINE"
6588 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6592 eval "$ac_cv_use_printarch"
6593 if test "$no_cache" != 1; then
6594 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6597 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6598 echo "$as_me:$LINENO: result: yes" >&5
6599 echo "${ECHO_T}yes" >&6
6601 echo "$as_me:$LINENO: result: no" >&5
6602 echo "${ECHO_T}no" >&6
6607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6608 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6610 # Check whether --enable-mdi or --disable-mdi was given.
6611 if test "${enable_mdi+set}" = set; then
6612 enableval
="$enable_mdi"
6614 if test "$enableval" = yes; then
6615 ac_cv_use_mdi
='wxUSE_MDI=yes'
6617 ac_cv_use_mdi
='wxUSE_MDI=no'
6622 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x
; then
6624 eval "DEFAULT_$LINE"
6629 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6633 eval "$ac_cv_use_mdi"
6634 if test "$no_cache" != 1; then
6635 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6638 if test "$wxUSE_MDI" = yes; then
6639 echo "$as_me:$LINENO: result: yes" >&5
6640 echo "${ECHO_T}yes" >&6
6642 echo "$as_me:$LINENO: result: no" >&5
6643 echo "${ECHO_T}no" >&6
6648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6651 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6652 if test "${enable_mdidoc+set}" = set; then
6653 enableval
="$enable_mdidoc"
6655 if test "$enableval" = yes; then
6656 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6658 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6663 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6664 if test "x$LINE" != x
; then
6665 eval "DEFAULT_$LINE"
6670 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6674 eval "$ac_cv_use_mdidoc"
6675 if test "$no_cache" != 1; then
6676 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6679 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6680 echo "$as_me:$LINENO: result: yes" >&5
6681 echo "${ECHO_T}yes" >&6
6683 echo "$as_me:$LINENO: result: no" >&5
6684 echo "${ECHO_T}no" >&6
6689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6692 # Check whether --enable-loggui or --disable-loggui was given.
6693 if test "${enable_loggui+set}" = set; then
6694 enableval
="$enable_loggui"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6699 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6704 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x
; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6715 eval "$ac_cv_use_loggui"
6716 if test "$no_cache" != 1; then
6717 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6720 if test "$wxUSE_LOGGUI" = yes; then
6721 echo "$as_me:$LINENO: result: yes" >&5
6722 echo "${ECHO_T}yes" >&6
6724 echo "$as_me:$LINENO: result: no" >&5
6725 echo "${ECHO_T}no" >&6
6730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6733 # Check whether --enable-logwin or --disable-logwin was given.
6734 if test "${enable_logwin+set}" = set; then
6735 enableval
="$enable_logwin"
6737 if test "$enableval" = yes; then
6738 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6740 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6745 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6746 if test "x$LINE" != x
; then
6747 eval "DEFAULT_$LINE"
6752 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6756 eval "$ac_cv_use_logwin"
6757 if test "$no_cache" != 1; then
6758 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6761 if test "$wxUSE_LOGWINDOW" = yes; then
6762 echo "$as_me:$LINENO: result: yes" >&5
6763 echo "${ECHO_T}yes" >&6
6765 echo "$as_me:$LINENO: result: no" >&5
6766 echo "${ECHO_T}no" >&6
6771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6772 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6774 # Check whether --enable-logdialog or --disable-logdialog was given.
6775 if test "${enable_logdialog+set}" = set; then
6776 enableval
="$enable_logdialog"
6778 if test "$enableval" = yes; then
6779 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6781 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6786 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x
; then
6788 eval "DEFAULT_$LINE"
6793 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6797 eval "$ac_cv_use_logdialog"
6798 if test "$no_cache" != 1; then
6799 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6802 if test "$wxUSE_LOGDIALOG" = yes; then
6803 echo "$as_me:$LINENO: result: yes" >&5
6804 echo "${ECHO_T}yes" >&6
6806 echo "$as_me:$LINENO: result: no" >&5
6807 echo "${ECHO_T}no" >&6
6812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6815 # Check whether --enable-webkit or --disable-webkit was given.
6816 if test "${enable_webkit+set}" = set; then
6817 enableval
="$enable_webkit"
6819 if test "$enableval" = yes; then
6820 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6822 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6827 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x
; then
6829 eval "DEFAULT_$LINE"
6834 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6838 eval "$ac_cv_use_webkit"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6843 if test "$wxUSE_WEBKIT" = yes; then
6844 echo "$as_me:$LINENO: result: yes" >&5
6845 echo "${ECHO_T}yes" >&6
6847 echo "$as_me:$LINENO: result: no" >&5
6848 echo "${ECHO_T}no" >&6
6854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6857 # Check whether --enable-postscript or --disable-postscript was given.
6858 if test "${enable_postscript+set}" = set; then
6859 enableval
="$enable_postscript"
6861 if test "$enableval" = yes; then
6862 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6864 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6869 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6870 if test "x$LINE" != x
; then
6871 eval "DEFAULT_$LINE"
6876 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6880 eval "$ac_cv_use_postscript"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6885 if test "$wxUSE_POSTSCRIPT" = yes; then
6886 echo "$as_me:$LINENO: result: yes" >&5
6887 echo "${ECHO_T}yes" >&6
6889 echo "$as_me:$LINENO: result: no" >&5
6890 echo "${ECHO_T}no" >&6
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6901 # Check whether --enable-prologio or --disable-prologio was given.
6902 if test "${enable_prologio+set}" = set; then
6903 enableval
="$enable_prologio"
6905 if test "$enableval" = yes; then
6906 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6908 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6913 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x
; then
6915 eval "DEFAULT_$LINE"
6920 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6924 eval "$ac_cv_use_prologio"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6929 if test "$wxUSE_PROLOGIO" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6
6933 echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6942 # Check whether --enable-resources or --disable-resources was given.
6943 if test "${enable_resources+set}" = set; then
6944 enableval
="$enable_resources"
6946 if test "$enableval" = yes; then
6947 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6949 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6954 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x
; then
6956 eval "DEFAULT_$LINE"
6961 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6965 eval "$ac_cv_use_resources"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_RESOURCES" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6985 # Check whether --enable-clipboard or --disable-clipboard was given.
6986 if test "${enable_clipboard+set}" = set; then
6987 enableval
="$enable_clipboard"
6989 if test "$enableval" = yes; then
6990 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6992 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6997 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6998 if test "x$LINE" != x
; then
6999 eval "DEFAULT_$LINE"
7004 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7008 eval "$ac_cv_use_clipboard"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7013 if test "$wxUSE_CLIPBOARD" = yes; then
7014 echo "$as_me:$LINENO: result: yes" >&5
7015 echo "${ECHO_T}yes" >&6
7017 echo "$as_me:$LINENO: result: no" >&5
7018 echo "${ECHO_T}no" >&6
7023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7026 # Check whether --enable-dnd or --disable-dnd was given.
7027 if test "${enable_dnd+set}" = set; then
7028 enableval
="$enable_dnd"
7030 if test "$enableval" = yes; then
7031 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7033 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7038 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x
; then
7040 eval "DEFAULT_$LINE"
7045 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7049 eval "$ac_cv_use_dnd"
7050 if test "$no_cache" != 1; then
7051 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7054 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7055 echo "$as_me:$LINENO: result: yes" >&5
7056 echo "${ECHO_T}yes" >&6
7058 echo "$as_me:$LINENO: result: no" >&5
7059 echo "${ECHO_T}no" >&6
7064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7065 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7067 # Check whether --enable-metafile or --disable-metafile was given.
7068 if test "${enable_metafile+set}" = set; then
7069 enableval
="$enable_metafile"
7071 if test "$enableval" = yes; then
7072 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7074 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7079 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x
; then
7081 eval "DEFAULT_$LINE"
7086 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7090 eval "$ac_cv_use_metafile"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7095 if test "$wxUSE_METAFILE" = yes; then
7096 echo "$as_me:$LINENO: result: yes" >&5
7097 echo "${ECHO_T}yes" >&6
7099 echo "$as_me:$LINENO: result: no" >&5
7100 echo "${ECHO_T}no" >&6
7108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7109 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7111 # Check whether --enable-controls or --disable-controls was given.
7112 if test "${enable_controls+set}" = set; then
7113 enableval
="$enable_controls"
7115 if test "$enableval" = yes; then
7116 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7118 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7123 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x
; then
7125 eval "DEFAULT_$LINE"
7130 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7134 eval "$ac_cv_use_controls"
7135 if test "$no_cache" != 1; then
7136 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7139 if test "$wxUSE_CONTROLS" = yes; then
7140 echo "$as_me:$LINENO: result: yes" >&5
7141 echo "${ECHO_T}yes" >&6
7143 echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7148 if test "$wxUSE_CONTROLS" = "yes"; then
7149 DEFAULT_wxUSE_ACCEL
=yes
7150 DEFAULT_wxUSE_BMPBUTTON
=yes
7151 DEFAULT_wxUSE_BUTTON
=yes
7152 DEFAULT_wxUSE_CALCTRL
=yes
7153 DEFAULT_wxUSE_CARET
=yes
7154 DEFAULT_wxUSE_COMBOBOX
=yes
7155 DEFAULT_wxUSE_CHECKBOX
=yes
7156 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7157 DEFAULT_wxUSE_CHOICE
=yes
7158 DEFAULT_wxUSE_CHOICEBOOK
=yes
7159 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7160 DEFAULT_wxUSE_GAUGE
=yes
7161 DEFAULT_wxUSE_GRID
=yes
7162 DEFAULT_wxUSE_IMAGLIST
=yes
7163 DEFAULT_wxUSE_LISTBOOK
=yes
7164 DEFAULT_wxUSE_LISTBOX
=yes
7165 DEFAULT_wxUSE_LISTCTRL
=yes
7166 DEFAULT_wxUSE_NOTEBOOK
=yes
7167 DEFAULT_wxUSE_RADIOBOX
=yes
7168 DEFAULT_wxUSE_RADIOBTN
=yes
7169 DEFAULT_wxUSE_SASH
=yes
7170 DEFAULT_wxUSE_SCROLLBAR
=yes
7171 DEFAULT_wxUSE_SLIDER
=yes
7172 DEFAULT_wxUSE_SPINBTN
=yes
7173 DEFAULT_wxUSE_SPINCTRL
=yes
7174 DEFAULT_wxUSE_SPLITTER
=yes
7175 DEFAULT_wxUSE_STATBMP
=yes
7176 DEFAULT_wxUSE_STATBOX
=yes
7177 DEFAULT_wxUSE_STATLINE
=yes
7178 DEFAULT_wxUSE_STATUSBAR
=yes
7179 DEFAULT_wxUSE_TAB_DIALOG
=yes
7180 DEFAULT_wxUSE_TOGGLEBTN
=yes
7181 DEFAULT_wxUSE_TOOLBAR
=yes
7182 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7183 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7184 DEFAULT_wxUSE_TOOLTIPS
=yes
7185 DEFAULT_wxUSE_TREECTRL
=yes
7186 DEFAULT_wxUSE_POPUPWIN
=yes
7187 DEFAULT_wxUSE_TIPWINDOW
=yes
7188 elif test "$wxUSE_CONTROLS" = "no"; then
7189 DEFAULT_wxUSE_ACCEL
=no
7190 DEFAULT_wxUSE_BMPBUTTON
=no
7191 DEFAULT_wxUSE_BUTTON
=no
7192 DEFAULT_wxUSE_CALCTRL
=no
7193 DEFAULT_wxUSE_CARET
=no
7194 DEFAULT_wxUSE_COMBOBOX
=no
7195 DEFAULT_wxUSE_CHECKBOX
=no
7196 DEFAULT_wxUSE_CHECKLISTBOX
=no
7197 DEFAULT_wxUSE_CHOICE
=no
7198 DEFAULT_wxUSE_CHOICEBOOK
=no
7199 DEFAULT_wxUSE_DATEPICKCTRL
=no
7200 DEFAULT_wxUSE_GAUGE
=no
7201 DEFAULT_wxUSE_GRID
=no
7202 DEFAULT_wxUSE_IMAGLIST
=no
7203 DEFAULT_wxUSE_LISTBOOK
=no
7204 DEFAULT_wxUSE_LISTBOX
=no
7205 DEFAULT_wxUSE_LISTCTRL
=no
7206 DEFAULT_wxUSE_NOTEBOOK
=no
7207 DEFAULT_wxUSE_RADIOBOX
=no
7208 DEFAULT_wxUSE_RADIOBTN
=no
7209 DEFAULT_wxUSE_SASH
=no
7210 DEFAULT_wxUSE_SCROLLBAR
=no
7211 DEFAULT_wxUSE_SLIDER
=no
7212 DEFAULT_wxUSE_SPINBTN
=no
7213 DEFAULT_wxUSE_SPINCTRL
=no
7214 DEFAULT_wxUSE_SPLITTER
=no
7215 DEFAULT_wxUSE_STATBMP
=no
7216 DEFAULT_wxUSE_STATBOX
=no
7217 DEFAULT_wxUSE_STATLINE
=no
7218 DEFAULT_wxUSE_STATUSBAR
=no
7219 DEFAULT_wxUSE_TAB_DIALOG
=no
7220 DEFAULT_wxUSE_TOGGLEBTN
=no
7221 DEFAULT_wxUSE_TOOLBAR
=no
7222 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7223 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7224 DEFAULT_wxUSE_TOOLTIPS
=no
7225 DEFAULT_wxUSE_TREECTRL
=no
7226 DEFAULT_wxUSE_POPUPWIN
=no
7227 DEFAULT_wxUSE_TIPWINDOW
=no
7232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7233 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7235 # Check whether --enable-accel or --disable-accel was given.
7236 if test "${enable_accel+set}" = set; then
7237 enableval
="$enable_accel"
7239 if test "$enableval" = yes; then
7240 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7242 ac_cv_use_accel
='wxUSE_ACCEL=no'
7247 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7248 if test "x$LINE" != x
; then
7249 eval "DEFAULT_$LINE"
7254 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7258 eval "$ac_cv_use_accel"
7259 if test "$no_cache" != 1; then
7260 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7263 if test "$wxUSE_ACCEL" = yes; then
7264 echo "$as_me:$LINENO: result: yes" >&5
7265 echo "${ECHO_T}yes" >&6
7267 echo "$as_me:$LINENO: result: no" >&5
7268 echo "${ECHO_T}no" >&6
7273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7274 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7276 # Check whether --enable-button or --disable-button was given.
7277 if test "${enable_button+set}" = set; then
7278 enableval
="$enable_button"
7280 if test "$enableval" = yes; then
7281 ac_cv_use_button
='wxUSE_BUTTON=yes'
7283 ac_cv_use_button
='wxUSE_BUTTON=no'
7288 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7289 if test "x$LINE" != x
; then
7290 eval "DEFAULT_$LINE"
7295 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7299 eval "$ac_cv_use_button"
7300 if test "$no_cache" != 1; then
7301 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7304 if test "$wxUSE_BUTTON" = yes; then
7305 echo "$as_me:$LINENO: result: yes" >&5
7306 echo "${ECHO_T}yes" >&6
7308 echo "$as_me:$LINENO: result: no" >&5
7309 echo "${ECHO_T}no" >&6
7314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7315 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7317 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7318 if test "${enable_bmpbutton+set}" = set; then
7319 enableval
="$enable_bmpbutton"
7321 if test "$enableval" = yes; then
7322 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7324 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7329 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7330 if test "x$LINE" != x
; then
7331 eval "DEFAULT_$LINE"
7336 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7340 eval "$ac_cv_use_bmpbutton"
7341 if test "$no_cache" != 1; then
7342 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7345 if test "$wxUSE_BMPBUTTON" = yes; then
7346 echo "$as_me:$LINENO: result: yes" >&5
7347 echo "${ECHO_T}yes" >&6
7349 echo "$as_me:$LINENO: result: no" >&5
7350 echo "${ECHO_T}no" >&6
7355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7358 # Check whether --enable-calendar or --disable-calendar was given.
7359 if test "${enable_calendar+set}" = set; then
7360 enableval
="$enable_calendar"
7362 if test "$enableval" = yes; then
7363 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7365 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7370 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7371 if test "x$LINE" != x
; then
7372 eval "DEFAULT_$LINE"
7377 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7381 eval "$ac_cv_use_calendar"
7382 if test "$no_cache" != 1; then
7383 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7386 if test "$wxUSE_CALCTRL" = yes; then
7387 echo "$as_me:$LINENO: result: yes" >&5
7388 echo "${ECHO_T}yes" >&6
7390 echo "$as_me:$LINENO: result: no" >&5
7391 echo "${ECHO_T}no" >&6
7396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7397 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7399 # Check whether --enable-caret or --disable-caret was given.
7400 if test "${enable_caret+set}" = set; then
7401 enableval
="$enable_caret"
7403 if test "$enableval" = yes; then
7404 ac_cv_use_caret
='wxUSE_CARET=yes'
7406 ac_cv_use_caret
='wxUSE_CARET=no'
7411 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7412 if test "x$LINE" != x
; then
7413 eval "DEFAULT_$LINE"
7418 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7422 eval "$ac_cv_use_caret"
7423 if test "$no_cache" != 1; then
7424 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7427 if test "$wxUSE_CARET" = yes; then
7428 echo "$as_me:$LINENO: result: yes" >&5
7429 echo "${ECHO_T}yes" >&6
7431 echo "$as_me:$LINENO: result: no" >&5
7432 echo "${ECHO_T}no" >&6
7437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7440 # Check whether --enable-checkbox or --disable-checkbox was given.
7441 if test "${enable_checkbox+set}" = set; then
7442 enableval
="$enable_checkbox"
7444 if test "$enableval" = yes; then
7445 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7447 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7452 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x
; then
7454 eval "DEFAULT_$LINE"
7459 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7463 eval "$ac_cv_use_checkbox"
7464 if test "$no_cache" != 1; then
7465 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7468 if test "$wxUSE_CHECKBOX" = yes; then
7469 echo "$as_me:$LINENO: result: yes" >&5
7470 echo "${ECHO_T}yes" >&6
7472 echo "$as_me:$LINENO: result: no" >&5
7473 echo "${ECHO_T}no" >&6
7478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7481 # Check whether --enable-checklst or --disable-checklst was given.
7482 if test "${enable_checklst+set}" = set; then
7483 enableval
="$enable_checklst"
7485 if test "$enableval" = yes; then
7486 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7488 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7493 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7494 if test "x$LINE" != x
; then
7495 eval "DEFAULT_$LINE"
7500 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7504 eval "$ac_cv_use_checklst"
7505 if test "$no_cache" != 1; then
7506 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7509 if test "$wxUSE_CHECKLST" = yes; then
7510 echo "$as_me:$LINENO: result: yes" >&5
7511 echo "${ECHO_T}yes" >&6
7513 echo "$as_me:$LINENO: result: no" >&5
7514 echo "${ECHO_T}no" >&6
7519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7522 # Check whether --enable-choice or --disable-choice was given.
7523 if test "${enable_choice+set}" = set; then
7524 enableval
="$enable_choice"
7526 if test "$enableval" = yes; then
7527 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7529 ac_cv_use_choice
='wxUSE_CHOICE=no'
7534 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x
; then
7536 eval "DEFAULT_$LINE"
7541 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7545 eval "$ac_cv_use_choice"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7550 if test "$wxUSE_CHOICE" = yes; then
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7554 echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7563 # Check whether --enable-choicebook or --disable-choicebook was given.
7564 if test "${enable_choicebook+set}" = set; then
7565 enableval
="$enable_choicebook"
7567 if test "$enableval" = yes; then
7568 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7570 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7575 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x
; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7586 eval "$ac_cv_use_choicebook"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7591 if test "$wxUSE_CHOICEBOOK" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7604 # Check whether --enable-combobox or --disable-combobox was given.
7605 if test "${enable_combobox+set}" = set; then
7606 enableval
="$enable_combobox"
7608 if test "$enableval" = yes; then
7609 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7611 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7616 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x
; then
7618 eval "DEFAULT_$LINE"
7623 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7627 eval "$ac_cv_use_combobox"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7632 if test "$wxUSE_COMBOBOX" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7645 # Check whether --enable-datepick or --disable-datepick was given.
7646 if test "${enable_datepick+set}" = set; then
7647 enableval
="$enable_datepick"
7649 if test "$enableval" = yes; then
7650 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7652 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7657 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7658 if test "x$LINE" != x
; then
7659 eval "DEFAULT_$LINE"
7664 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7668 eval "$ac_cv_use_datepick"
7669 if test "$no_cache" != 1; then
7670 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7673 if test "$wxUSE_DATEPICKCTRL" = yes; then
7674 echo "$as_me:$LINENO: result: yes" >&5
7675 echo "${ECHO_T}yes" >&6
7677 echo "$as_me:$LINENO: result: no" >&5
7678 echo "${ECHO_T}no" >&6
7683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7686 # Check whether --enable-display or --disable-display was given.
7687 if test "${enable_display+set}" = set; then
7688 enableval
="$enable_display"
7690 if test "$enableval" = yes; then
7691 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7693 ac_cv_use_display
='wxUSE_DISPLAY=no'
7698 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7699 if test "x$LINE" != x
; then
7700 eval "DEFAULT_$LINE"
7705 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7709 eval "$ac_cv_use_display"
7710 if test "$no_cache" != 1; then
7711 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7714 if test "$wxUSE_DISPLAY" = yes; then
7715 echo "$as_me:$LINENO: result: yes" >&5
7716 echo "${ECHO_T}yes" >&6
7718 echo "$as_me:$LINENO: result: no" >&5
7719 echo "${ECHO_T}no" >&6
7724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7727 # Check whether --enable-gauge or --disable-gauge was given.
7728 if test "${enable_gauge+set}" = set; then
7729 enableval
="$enable_gauge"
7731 if test "$enableval" = yes; then
7732 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7734 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7739 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7740 if test "x$LINE" != x
; then
7741 eval "DEFAULT_$LINE"
7746 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7750 eval "$ac_cv_use_gauge"
7751 if test "$no_cache" != 1; then
7752 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7755 if test "$wxUSE_GAUGE" = yes; then
7756 echo "$as_me:$LINENO: result: yes" >&5
7757 echo "${ECHO_T}yes" >&6
7759 echo "$as_me:$LINENO: result: no" >&5
7760 echo "${ECHO_T}no" >&6
7765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7766 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7768 # Check whether --enable-grid or --disable-grid was given.
7769 if test "${enable_grid+set}" = set; then
7770 enableval
="$enable_grid"
7772 if test "$enableval" = yes; then
7773 ac_cv_use_grid
='wxUSE_GRID=yes'
7775 ac_cv_use_grid
='wxUSE_GRID=no'
7780 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7781 if test "x$LINE" != x
; then
7782 eval "DEFAULT_$LINE"
7787 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7791 eval "$ac_cv_use_grid"
7792 if test "$no_cache" != 1; then
7793 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7796 if test "$wxUSE_GRID" = yes; then
7797 echo "$as_me:$LINENO: result: yes" >&5
7798 echo "${ECHO_T}yes" >&6
7800 echo "$as_me:$LINENO: result: no" >&5
7801 echo "${ECHO_T}no" >&6
7806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7807 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7809 # Check whether --enable-imaglist or --disable-imaglist was given.
7810 if test "${enable_imaglist+set}" = set; then
7811 enableval
="$enable_imaglist"
7813 if test "$enableval" = yes; then
7814 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7816 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7821 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7822 if test "x$LINE" != x
; then
7823 eval "DEFAULT_$LINE"
7828 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7832 eval "$ac_cv_use_imaglist"
7833 if test "$no_cache" != 1; then
7834 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7837 if test "$wxUSE_IMAGLIST" = yes; then
7838 echo "$as_me:$LINENO: result: yes" >&5
7839 echo "${ECHO_T}yes" >&6
7841 echo "$as_me:$LINENO: result: no" >&5
7842 echo "${ECHO_T}no" >&6
7847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7848 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7850 # Check whether --enable-listbook or --disable-listbook was given.
7851 if test "${enable_listbook+set}" = set; then
7852 enableval
="$enable_listbook"
7854 if test "$enableval" = yes; then
7855 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7857 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7862 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7863 if test "x$LINE" != x
; then
7864 eval "DEFAULT_$LINE"
7869 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7873 eval "$ac_cv_use_listbook"
7874 if test "$no_cache" != 1; then
7875 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7878 if test "$wxUSE_LISTBOOK" = yes; then
7879 echo "$as_me:$LINENO: result: yes" >&5
7880 echo "${ECHO_T}yes" >&6
7882 echo "$as_me:$LINENO: result: no" >&5
7883 echo "${ECHO_T}no" >&6
7888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7889 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7891 # Check whether --enable-listbox or --disable-listbox was given.
7892 if test "${enable_listbox+set}" = set; then
7893 enableval
="$enable_listbox"
7895 if test "$enableval" = yes; then
7896 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7898 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7903 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7904 if test "x$LINE" != x
; then
7905 eval "DEFAULT_$LINE"
7910 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7914 eval "$ac_cv_use_listbox"
7915 if test "$no_cache" != 1; then
7916 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7919 if test "$wxUSE_LISTBOX" = yes; then
7920 echo "$as_me:$LINENO: result: yes" >&5
7921 echo "${ECHO_T}yes" >&6
7923 echo "$as_me:$LINENO: result: no" >&5
7924 echo "${ECHO_T}no" >&6
7929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7930 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7932 # Check whether --enable-listctrl or --disable-listctrl was given.
7933 if test "${enable_listctrl+set}" = set; then
7934 enableval
="$enable_listctrl"
7936 if test "$enableval" = yes; then
7937 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7939 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7944 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7945 if test "x$LINE" != x
; then
7946 eval "DEFAULT_$LINE"
7951 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7955 eval "$ac_cv_use_listctrl"
7956 if test "$no_cache" != 1; then
7957 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7960 if test "$wxUSE_LISTCTRL" = yes; then
7961 echo "$as_me:$LINENO: result: yes" >&5
7962 echo "${ECHO_T}yes" >&6
7964 echo "$as_me:$LINENO: result: no" >&5
7965 echo "${ECHO_T}no" >&6
7970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7971 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7973 # Check whether --enable-notebook or --disable-notebook was given.
7974 if test "${enable_notebook+set}" = set; then
7975 enableval
="$enable_notebook"
7977 if test "$enableval" = yes; then
7978 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7980 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7985 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x
; then
7987 eval "DEFAULT_$LINE"
7992 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7996 eval "$ac_cv_use_notebook"
7997 if test "$no_cache" != 1; then
7998 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8001 if test "$wxUSE_NOTEBOOK" = yes; then
8002 echo "$as_me:$LINENO: result: yes" >&5
8003 echo "${ECHO_T}yes" >&6
8005 echo "$as_me:$LINENO: result: no" >&5
8006 echo "${ECHO_T}no" >&6
8011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8014 # Check whether --enable-radiobox or --disable-radiobox was given.
8015 if test "${enable_radiobox+set}" = set; then
8016 enableval
="$enable_radiobox"
8018 if test "$enableval" = yes; then
8019 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8021 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8026 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8027 if test "x$LINE" != x
; then
8028 eval "DEFAULT_$LINE"
8033 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8037 eval "$ac_cv_use_radiobox"
8038 if test "$no_cache" != 1; then
8039 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8042 if test "$wxUSE_RADIOBOX" = yes; then
8043 echo "$as_me:$LINENO: result: yes" >&5
8044 echo "${ECHO_T}yes" >&6
8046 echo "$as_me:$LINENO: result: no" >&5
8047 echo "${ECHO_T}no" >&6
8052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8053 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8055 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8056 if test "${enable_radiobtn+set}" = set; then
8057 enableval
="$enable_radiobtn"
8059 if test "$enableval" = yes; then
8060 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8062 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8067 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8068 if test "x$LINE" != x
; then
8069 eval "DEFAULT_$LINE"
8074 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8078 eval "$ac_cv_use_radiobtn"
8079 if test "$no_cache" != 1; then
8080 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8083 if test "$wxUSE_RADIOBTN" = yes; then
8084 echo "$as_me:$LINENO: result: yes" >&5
8085 echo "${ECHO_T}yes" >&6
8087 echo "$as_me:$LINENO: result: no" >&5
8088 echo "${ECHO_T}no" >&6
8093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8096 # Check whether --enable-sash or --disable-sash was given.
8097 if test "${enable_sash+set}" = set; then
8098 enableval
="$enable_sash"
8100 if test "$enableval" = yes; then
8101 ac_cv_use_sash
='wxUSE_SASH=yes'
8103 ac_cv_use_sash
='wxUSE_SASH=no'
8108 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x
; then
8110 eval "DEFAULT_$LINE"
8115 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8119 eval "$ac_cv_use_sash"
8120 if test "$no_cache" != 1; then
8121 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8124 if test "$wxUSE_SASH" = yes; then
8125 echo "$as_me:$LINENO: result: yes" >&5
8126 echo "${ECHO_T}yes" >&6
8128 echo "$as_me:$LINENO: result: no" >&5
8129 echo "${ECHO_T}no" >&6
8134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8135 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8137 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8138 if test "${enable_scrollbar+set}" = set; then
8139 enableval
="$enable_scrollbar"
8141 if test "$enableval" = yes; then
8142 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8144 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8149 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8150 if test "x$LINE" != x
; then
8151 eval "DEFAULT_$LINE"
8156 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8160 eval "$ac_cv_use_scrollbar"
8161 if test "$no_cache" != 1; then
8162 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8165 if test "$wxUSE_SCROLLBAR" = yes; then
8166 echo "$as_me:$LINENO: result: yes" >&5
8167 echo "${ECHO_T}yes" >&6
8169 echo "$as_me:$LINENO: result: no" >&5
8170 echo "${ECHO_T}no" >&6
8175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8176 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8178 # Check whether --enable-slider or --disable-slider was given.
8179 if test "${enable_slider+set}" = set; then
8180 enableval
="$enable_slider"
8182 if test "$enableval" = yes; then
8183 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8185 ac_cv_use_slider
='wxUSE_SLIDER=no'
8190 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8191 if test "x$LINE" != x
; then
8192 eval "DEFAULT_$LINE"
8197 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8201 eval "$ac_cv_use_slider"
8202 if test "$no_cache" != 1; then
8203 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8206 if test "$wxUSE_SLIDER" = yes; then
8207 echo "$as_me:$LINENO: result: yes" >&5
8208 echo "${ECHO_T}yes" >&6
8210 echo "$as_me:$LINENO: result: no" >&5
8211 echo "${ECHO_T}no" >&6
8216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8217 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8219 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8220 if test "${enable_spinbtn+set}" = set; then
8221 enableval
="$enable_spinbtn"
8223 if test "$enableval" = yes; then
8224 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8226 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8231 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8232 if test "x$LINE" != x
; then
8233 eval "DEFAULT_$LINE"
8238 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8242 eval "$ac_cv_use_spinbtn"
8243 if test "$no_cache" != 1; then
8244 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8247 if test "$wxUSE_SPINBTN" = yes; then
8248 echo "$as_me:$LINENO: result: yes" >&5
8249 echo "${ECHO_T}yes" >&6
8251 echo "$as_me:$LINENO: result: no" >&5
8252 echo "${ECHO_T}no" >&6
8257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8258 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8260 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8261 if test "${enable_spinctrl+set}" = set; then
8262 enableval
="$enable_spinctrl"
8264 if test "$enableval" = yes; then
8265 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8267 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8272 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8273 if test "x$LINE" != x
; then
8274 eval "DEFAULT_$LINE"
8279 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8283 eval "$ac_cv_use_spinctrl"
8284 if test "$no_cache" != 1; then
8285 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8288 if test "$wxUSE_SPINCTRL" = yes; then
8289 echo "$as_me:$LINENO: result: yes" >&5
8290 echo "${ECHO_T}yes" >&6
8292 echo "$as_me:$LINENO: result: no" >&5
8293 echo "${ECHO_T}no" >&6
8298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8299 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8301 # Check whether --enable-splitter or --disable-splitter was given.
8302 if test "${enable_splitter+set}" = set; then
8303 enableval
="$enable_splitter"
8305 if test "$enableval" = yes; then
8306 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8308 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8313 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x
; then
8315 eval "DEFAULT_$LINE"
8320 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8324 eval "$ac_cv_use_splitter"
8325 if test "$no_cache" != 1; then
8326 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8329 if test "$wxUSE_SPLITTER" = yes; then
8330 echo "$as_me:$LINENO: result: yes" >&5
8331 echo "${ECHO_T}yes" >&6
8333 echo "$as_me:$LINENO: result: no" >&5
8334 echo "${ECHO_T}no" >&6
8339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8340 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8342 # Check whether --enable-statbmp or --disable-statbmp was given.
8343 if test "${enable_statbmp+set}" = set; then
8344 enableval
="$enable_statbmp"
8346 if test "$enableval" = yes; then
8347 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8349 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8354 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8355 if test "x$LINE" != x
; then
8356 eval "DEFAULT_$LINE"
8361 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8365 eval "$ac_cv_use_statbmp"
8366 if test "$no_cache" != 1; then
8367 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8370 if test "$wxUSE_STATBMP" = yes; then
8371 echo "$as_me:$LINENO: result: yes" >&5
8372 echo "${ECHO_T}yes" >&6
8374 echo "$as_me:$LINENO: result: no" >&5
8375 echo "${ECHO_T}no" >&6
8380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8381 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8383 # Check whether --enable-statbox or --disable-statbox was given.
8384 if test "${enable_statbox+set}" = set; then
8385 enableval
="$enable_statbox"
8387 if test "$enableval" = yes; then
8388 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8390 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8395 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8396 if test "x$LINE" != x
; then
8397 eval "DEFAULT_$LINE"
8402 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8406 eval "$ac_cv_use_statbox"
8407 if test "$no_cache" != 1; then
8408 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8411 if test "$wxUSE_STATBOX" = yes; then
8412 echo "$as_me:$LINENO: result: yes" >&5
8413 echo "${ECHO_T}yes" >&6
8415 echo "$as_me:$LINENO: result: no" >&5
8416 echo "${ECHO_T}no" >&6
8421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8422 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8424 # Check whether --enable-statline or --disable-statline was given.
8425 if test "${enable_statline+set}" = set; then
8426 enableval
="$enable_statline"
8428 if test "$enableval" = yes; then
8429 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8431 ac_cv_use_statline
='wxUSE_STATLINE=no'
8436 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8437 if test "x$LINE" != x
; then
8438 eval "DEFAULT_$LINE"
8443 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8447 eval "$ac_cv_use_statline"
8448 if test "$no_cache" != 1; then
8449 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8452 if test "$wxUSE_STATLINE" = yes; then
8453 echo "$as_me:$LINENO: result: yes" >&5
8454 echo "${ECHO_T}yes" >&6
8456 echo "$as_me:$LINENO: result: no" >&5
8457 echo "${ECHO_T}no" >&6
8462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8463 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8465 # Check whether --enable-stattext or --disable-stattext was given.
8466 if test "${enable_stattext+set}" = set; then
8467 enableval
="$enable_stattext"
8469 if test "$enableval" = yes; then
8470 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8472 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8477 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8478 if test "x$LINE" != x
; then
8479 eval "DEFAULT_$LINE"
8484 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8488 eval "$ac_cv_use_stattext"
8489 if test "$no_cache" != 1; then
8490 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8493 if test "$wxUSE_STATTEXT" = yes; then
8494 echo "$as_me:$LINENO: result: yes" >&5
8495 echo "${ECHO_T}yes" >&6
8497 echo "$as_me:$LINENO: result: no" >&5
8498 echo "${ECHO_T}no" >&6
8503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8506 # Check whether --enable-statusbar or --disable-statusbar was given.
8507 if test "${enable_statusbar+set}" = set; then
8508 enableval
="$enable_statusbar"
8510 if test "$enableval" = yes; then
8511 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8513 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8518 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8519 if test "x$LINE" != x
; then
8520 eval "DEFAULT_$LINE"
8525 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8529 eval "$ac_cv_use_statusbar"
8530 if test "$no_cache" != 1; then
8531 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8534 if test "$wxUSE_STATUSBAR" = yes; then
8535 echo "$as_me:$LINENO: result: yes" >&5
8536 echo "${ECHO_T}yes" >&6
8538 echo "$as_me:$LINENO: result: no" >&5
8539 echo "${ECHO_T}no" >&6
8544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8545 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8547 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8548 if test "${enable_tabdialog+set}" = set; then
8549 enableval
="$enable_tabdialog"
8551 if test "$enableval" = yes; then
8552 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8554 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8559 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8560 if test "x$LINE" != x
; then
8561 eval "DEFAULT_$LINE"
8566 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8570 eval "$ac_cv_use_tabdialog"
8571 if test "$no_cache" != 1; then
8572 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8575 if test "$wxUSE_TABDIALOG" = yes; then
8576 echo "$as_me:$LINENO: result: yes" >&5
8577 echo "${ECHO_T}yes" >&6
8579 echo "$as_me:$LINENO: result: no" >&5
8580 echo "${ECHO_T}no" >&6
8585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8588 # Check whether --enable-textctrl or --disable-textctrl was given.
8589 if test "${enable_textctrl+set}" = set; then
8590 enableval
="$enable_textctrl"
8592 if test "$enableval" = yes; then
8593 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8595 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8600 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8601 if test "x$LINE" != x
; then
8602 eval "DEFAULT_$LINE"
8607 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8611 eval "$ac_cv_use_textctrl"
8612 if test "$no_cache" != 1; then
8613 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8616 if test "$wxUSE_TEXTCTRL" = yes; then
8617 echo "$as_me:$LINENO: result: yes" >&5
8618 echo "${ECHO_T}yes" >&6
8620 echo "$as_me:$LINENO: result: no" >&5
8621 echo "${ECHO_T}no" >&6
8626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8627 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8629 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8630 if test "${enable_togglebtn+set}" = set; then
8631 enableval
="$enable_togglebtn"
8633 if test "$enableval" = yes; then
8634 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8636 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8641 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8642 if test "x$LINE" != x
; then
8643 eval "DEFAULT_$LINE"
8648 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8652 eval "$ac_cv_use_togglebtn"
8653 if test "$no_cache" != 1; then
8654 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8657 if test "$wxUSE_TOGGLEBTN" = yes; then
8658 echo "$as_me:$LINENO: result: yes" >&5
8659 echo "${ECHO_T}yes" >&6
8661 echo "$as_me:$LINENO: result: no" >&5
8662 echo "${ECHO_T}no" >&6
8667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8670 # Check whether --enable-toolbar or --disable-toolbar was given.
8671 if test "${enable_toolbar+set}" = set; then
8672 enableval
="$enable_toolbar"
8674 if test "$enableval" = yes; then
8675 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8677 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8682 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8683 if test "x$LINE" != x
; then
8684 eval "DEFAULT_$LINE"
8689 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8693 eval "$ac_cv_use_toolbar"
8694 if test "$no_cache" != 1; then
8695 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8698 if test "$wxUSE_TOOLBAR" = yes; then
8699 echo "$as_me:$LINENO: result: yes" >&5
8700 echo "${ECHO_T}yes" >&6
8702 echo "$as_me:$LINENO: result: no" >&5
8703 echo "${ECHO_T}no" >&6
8708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8709 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8711 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8712 if test "${enable_tbarnative+set}" = set; then
8713 enableval
="$enable_tbarnative"
8715 if test "$enableval" = yes; then
8716 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8718 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8723 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8724 if test "x$LINE" != x
; then
8725 eval "DEFAULT_$LINE"
8730 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8734 eval "$ac_cv_use_tbarnative"
8735 if test "$no_cache" != 1; then
8736 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8739 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8740 echo "$as_me:$LINENO: result: yes" >&5
8741 echo "${ECHO_T}yes" >&6
8743 echo "$as_me:$LINENO: result: no" >&5
8744 echo "${ECHO_T}no" >&6
8749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8752 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8753 if test "${enable_tbarsmpl+set}" = set; then
8754 enableval
="$enable_tbarsmpl"
8756 if test "$enableval" = yes; then
8757 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8759 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8764 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8765 if test "x$LINE" != x
; then
8766 eval "DEFAULT_$LINE"
8771 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8775 eval "$ac_cv_use_tbarsmpl"
8776 if test "$no_cache" != 1; then
8777 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8780 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8781 echo "$as_me:$LINENO: result: yes" >&5
8782 echo "${ECHO_T}yes" >&6
8784 echo "$as_me:$LINENO: result: no" >&5
8785 echo "${ECHO_T}no" >&6
8790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8791 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8793 # Check whether --enable-treectrl or --disable-treectrl was given.
8794 if test "${enable_treectrl+set}" = set; then
8795 enableval
="$enable_treectrl"
8797 if test "$enableval" = yes; then
8798 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8800 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8805 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8806 if test "x$LINE" != x
; then
8807 eval "DEFAULT_$LINE"
8812 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8816 eval "$ac_cv_use_treectrl"
8817 if test "$no_cache" != 1; then
8818 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8821 if test "$wxUSE_TREECTRL" = yes; then
8822 echo "$as_me:$LINENO: result: yes" >&5
8823 echo "${ECHO_T}yes" >&6
8825 echo "$as_me:$LINENO: result: no" >&5
8826 echo "${ECHO_T}no" >&6
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8832 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8834 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8835 if test "${enable_tipwindow+set}" = set; then
8836 enableval
="$enable_tipwindow"
8838 if test "$enableval" = yes; then
8839 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8841 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8846 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x
; then
8848 eval "DEFAULT_$LINE"
8853 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8857 eval "$ac_cv_use_tipwindow"
8858 if test "$no_cache" != 1; then
8859 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8862 if test "$wxUSE_TIPWINDOW" = yes; then
8863 echo "$as_me:$LINENO: result: yes" >&5
8864 echo "${ECHO_T}yes" >&6
8866 echo "$as_me:$LINENO: result: no" >&5
8867 echo "${ECHO_T}no" >&6
8872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8875 # Check whether --enable-popupwin or --disable-popupwin was given.
8876 if test "${enable_popupwin+set}" = set; then
8877 enableval
="$enable_popupwin"
8879 if test "$enableval" = yes; then
8880 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8882 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8887 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x
; then
8889 eval "DEFAULT_$LINE"
8894 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8898 eval "$ac_cv_use_popupwin"
8899 if test "$no_cache" != 1; then
8900 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8903 if test "$wxUSE_POPUPWIN" = yes; then
8904 echo "$as_me:$LINENO: result: yes" >&5
8905 echo "${ECHO_T}yes" >&6
8907 echo "$as_me:$LINENO: result: no" >&5
8908 echo "${ECHO_T}no" >&6
8915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8916 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8918 # Check whether --enable-commondlg or --disable-commondlg was given.
8919 if test "${enable_commondlg+set}" = set; then
8920 enableval
="$enable_commondlg"
8922 if test "$enableval" = yes; then
8923 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8925 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8930 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8931 if test "x$LINE" != x
; then
8932 eval "DEFAULT_$LINE"
8937 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8941 eval "$ac_cv_use_commondlg"
8942 if test "$no_cache" != 1; then
8943 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8946 if test "$wxUSE_COMMONDLGS" = yes; then
8947 echo "$as_me:$LINENO: result: yes" >&5
8948 echo "${ECHO_T}yes" >&6
8950 echo "$as_me:$LINENO: result: no" >&5
8951 echo "${ECHO_T}no" >&6
8956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8957 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8959 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8960 if test "${enable_choicedlg+set}" = set; then
8961 enableval
="$enable_choicedlg"
8963 if test "$enableval" = yes; then
8964 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8966 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8971 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8972 if test "x$LINE" != x
; then
8973 eval "DEFAULT_$LINE"
8978 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8982 eval "$ac_cv_use_choicedlg"
8983 if test "$no_cache" != 1; then
8984 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8987 if test "$wxUSE_CHOICEDLG" = yes; then
8988 echo "$as_me:$LINENO: result: yes" >&5
8989 echo "${ECHO_T}yes" >&6
8991 echo "$as_me:$LINENO: result: no" >&5
8992 echo "${ECHO_T}no" >&6
8997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8998 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9000 # Check whether --enable-coldlg or --disable-coldlg was given.
9001 if test "${enable_coldlg+set}" = set; then
9002 enableval
="$enable_coldlg"
9004 if test "$enableval" = yes; then
9005 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9007 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9012 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9013 if test "x$LINE" != x
; then
9014 eval "DEFAULT_$LINE"
9019 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9023 eval "$ac_cv_use_coldlg"
9024 if test "$no_cache" != 1; then
9025 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9028 if test "$wxUSE_COLOURDLG" = yes; then
9029 echo "$as_me:$LINENO: result: yes" >&5
9030 echo "${ECHO_T}yes" >&6
9032 echo "$as_me:$LINENO: result: no" >&5
9033 echo "${ECHO_T}no" >&6
9038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9039 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9041 # Check whether --enable-filedlg or --disable-filedlg was given.
9042 if test "${enable_filedlg+set}" = set; then
9043 enableval
="$enable_filedlg"
9045 if test "$enableval" = yes; then
9046 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9048 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9053 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x
; then
9055 eval "DEFAULT_$LINE"
9060 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9064 eval "$ac_cv_use_filedlg"
9065 if test "$no_cache" != 1; then
9066 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9069 if test "$wxUSE_FILEDLG" = yes; then
9070 echo "$as_me:$LINENO: result: yes" >&5
9071 echo "${ECHO_T}yes" >&6
9073 echo "$as_me:$LINENO: result: no" >&5
9074 echo "${ECHO_T}no" >&6
9079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9080 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9082 # Check whether --enable-finddlg or --disable-finddlg was given.
9083 if test "${enable_finddlg+set}" = set; then
9084 enableval
="$enable_finddlg"
9086 if test "$enableval" = yes; then
9087 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9089 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9094 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9095 if test "x$LINE" != x
; then
9096 eval "DEFAULT_$LINE"
9101 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9105 eval "$ac_cv_use_finddlg"
9106 if test "$no_cache" != 1; then
9107 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9110 if test "$wxUSE_FINDREPLDLG" = yes; then
9111 echo "$as_me:$LINENO: result: yes" >&5
9112 echo "${ECHO_T}yes" >&6
9114 echo "$as_me:$LINENO: result: no" >&5
9115 echo "${ECHO_T}no" >&6
9120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9121 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9123 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9124 if test "${enable_fontdlg+set}" = set; then
9125 enableval
="$enable_fontdlg"
9127 if test "$enableval" = yes; then
9128 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9130 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9135 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9136 if test "x$LINE" != x
; then
9137 eval "DEFAULT_$LINE"
9142 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9146 eval "$ac_cv_use_fontdlg"
9147 if test "$no_cache" != 1; then
9148 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9151 if test "$wxUSE_FONTDLG" = yes; then
9152 echo "$as_me:$LINENO: result: yes" >&5
9153 echo "${ECHO_T}yes" >&6
9155 echo "$as_me:$LINENO: result: no" >&5
9156 echo "${ECHO_T}no" >&6
9161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9164 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9165 if test "${enable_dirdlg+set}" = set; then
9166 enableval
="$enable_dirdlg"
9168 if test "$enableval" = yes; then
9169 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9171 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9176 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9177 if test "x$LINE" != x
; then
9178 eval "DEFAULT_$LINE"
9183 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9187 eval "$ac_cv_use_dirdlg"
9188 if test "$no_cache" != 1; then
9189 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9192 if test "$wxUSE_DIRDLG" = yes; then
9193 echo "$as_me:$LINENO: result: yes" >&5
9194 echo "${ECHO_T}yes" >&6
9196 echo "$as_me:$LINENO: result: no" >&5
9197 echo "${ECHO_T}no" >&6
9202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9205 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9206 if test "${enable_msgdlg+set}" = set; then
9207 enableval
="$enable_msgdlg"
9209 if test "$enableval" = yes; then
9210 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9212 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9217 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x
; then
9219 eval "DEFAULT_$LINE"
9224 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9228 eval "$ac_cv_use_msgdlg"
9229 if test "$no_cache" != 1; then
9230 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9233 if test "$wxUSE_MSGDLG" = yes; then
9234 echo "$as_me:$LINENO: result: yes" >&5
9235 echo "${ECHO_T}yes" >&6
9237 echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9246 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9247 if test "${enable_numberdlg+set}" = set; then
9248 enableval
="$enable_numberdlg"
9250 if test "$enableval" = yes; then
9251 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9253 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9258 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x
; then
9260 eval "DEFAULT_$LINE"
9265 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9269 eval "$ac_cv_use_numberdlg"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9274 if test "$wxUSE_NUMBERDLG" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6
9278 echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9287 # Check whether --enable-splash or --disable-splash was given.
9288 if test "${enable_splash+set}" = set; then
9289 enableval
="$enable_splash"
9291 if test "$enableval" = yes; then
9292 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9294 ac_cv_use_splash
='wxUSE_SPLASH=no'
9299 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x
; then
9301 eval "DEFAULT_$LINE"
9306 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9310 eval "$ac_cv_use_splash"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9315 if test "$wxUSE_SPLASH" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6
9319 echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9328 # Check whether --enable-textdlg or --disable-textdlg was given.
9329 if test "${enable_textdlg+set}" = set; then
9330 enableval
="$enable_textdlg"
9332 if test "$enableval" = yes; then
9333 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9335 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9340 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x
; then
9342 eval "DEFAULT_$LINE"
9347 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9351 eval "$ac_cv_use_textdlg"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9356 if test "$wxUSE_TEXTDLG" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6
9360 echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9369 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9370 if test "${enable_tipdlg+set}" = set; then
9371 enableval
="$enable_tipdlg"
9373 if test "$enableval" = yes; then
9374 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9376 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9381 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x
; then
9383 eval "DEFAULT_$LINE"
9388 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9392 eval "$ac_cv_use_tipdlg"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9397 if test "$wxUSE_STARTUP_TIPS" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9410 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9411 if test "${enable_progressdlg+set}" = set; then
9412 enableval
="$enable_progressdlg"
9414 if test "$enableval" = yes; then
9415 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9417 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9422 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x
; then
9424 eval "DEFAULT_$LINE"
9429 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9433 eval "$ac_cv_use_progressdlg"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9438 if test "$wxUSE_PROGRESSDLG" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9451 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9452 if test "${enable_wizarddlg+set}" = set; then
9453 enableval
="$enable_wizarddlg"
9455 if test "$enableval" = yes; then
9456 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9458 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9463 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x
; then
9465 eval "DEFAULT_$LINE"
9470 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9474 eval "$ac_cv_use_wizarddlg"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9479 if test "$wxUSE_WIZARDDLG" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6
9483 echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6
9491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9492 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9494 # Check whether --enable-menus or --disable-menus was given.
9495 if test "${enable_menus+set}" = set; then
9496 enableval
="$enable_menus"
9498 if test "$enableval" = yes; then
9499 ac_cv_use_menus
='wxUSE_MENUS=yes'
9501 ac_cv_use_menus
='wxUSE_MENUS=no'
9506 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9507 if test "x$LINE" != x
; then
9508 eval "DEFAULT_$LINE"
9513 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9517 eval "$ac_cv_use_menus"
9518 if test "$no_cache" != 1; then
9519 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9522 if test "$wxUSE_MENUS" = yes; then
9523 echo "$as_me:$LINENO: result: yes" >&5
9524 echo "${ECHO_T}yes" >&6
9526 echo "$as_me:$LINENO: result: no" >&5
9527 echo "${ECHO_T}no" >&6
9532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9535 # Check whether --enable-miniframe or --disable-miniframe was given.
9536 if test "${enable_miniframe+set}" = set; then
9537 enableval
="$enable_miniframe"
9539 if test "$enableval" = yes; then
9540 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9542 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9547 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x
; then
9549 eval "DEFAULT_$LINE"
9554 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9558 eval "$ac_cv_use_miniframe"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9563 if test "$wxUSE_MINIFRAME" = yes; then
9564 echo "$as_me:$LINENO: result: yes" >&5
9565 echo "${ECHO_T}yes" >&6
9567 echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6
9573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9576 # Check whether --enable-tooltips or --disable-tooltips was given.
9577 if test "${enable_tooltips+set}" = set; then
9578 enableval
="$enable_tooltips"
9580 if test "$enableval" = yes; then
9581 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9583 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9588 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9589 if test "x$LINE" != x
; then
9590 eval "DEFAULT_$LINE"
9595 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9599 eval "$ac_cv_use_tooltips"
9600 if test "$no_cache" != 1; then
9601 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9604 if test "$wxUSE_TOOLTIPS" = yes; then
9605 echo "$as_me:$LINENO: result: yes" >&5
9606 echo "${ECHO_T}yes" >&6
9608 echo "$as_me:$LINENO: result: no" >&5
9609 echo "${ECHO_T}no" >&6
9614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9617 # Check whether --enable-splines or --disable-splines was given.
9618 if test "${enable_splines+set}" = set; then
9619 enableval
="$enable_splines"
9621 if test "$enableval" = yes; then
9622 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9624 ac_cv_use_splines
='wxUSE_SPLINES=no'
9629 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9630 if test "x$LINE" != x
; then
9631 eval "DEFAULT_$LINE"
9636 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9640 eval "$ac_cv_use_splines"
9641 if test "$no_cache" != 1; then
9642 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9645 if test "$wxUSE_SPLINES" = yes; then
9646 echo "$as_me:$LINENO: result: yes" >&5
9647 echo "${ECHO_T}yes" >&6
9649 echo "$as_me:$LINENO: result: no" >&5
9650 echo "${ECHO_T}no" >&6
9655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9656 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9658 # Check whether --enable-validators or --disable-validators was given.
9659 if test "${enable_validators+set}" = set; then
9660 enableval
="$enable_validators"
9662 if test "$enableval" = yes; then
9663 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9665 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9670 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9671 if test "x$LINE" != x
; then
9672 eval "DEFAULT_$LINE"
9677 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9681 eval "$ac_cv_use_validators"
9682 if test "$no_cache" != 1; then
9683 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9686 if test "$wxUSE_VALIDATORS" = yes; then
9687 echo "$as_me:$LINENO: result: yes" >&5
9688 echo "${ECHO_T}yes" >&6
9690 echo "$as_me:$LINENO: result: no" >&5
9691 echo "${ECHO_T}no" >&6
9696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9697 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9699 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9700 if test "${enable_busyinfo+set}" = set; then
9701 enableval
="$enable_busyinfo"
9703 if test "$enableval" = yes; then
9704 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9706 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9711 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9712 if test "x$LINE" != x
; then
9713 eval "DEFAULT_$LINE"
9718 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9722 eval "$ac_cv_use_busyinfo"
9723 if test "$no_cache" != 1; then
9724 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9727 if test "$wxUSE_BUSYINFO" = yes; then
9728 echo "$as_me:$LINENO: result: yes" >&5
9729 echo "${ECHO_T}yes" >&6
9731 echo "$as_me:$LINENO: result: no" >&5
9732 echo "${ECHO_T}no" >&6
9737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9740 # Check whether --enable-joystick or --disable-joystick was given.
9741 if test "${enable_joystick+set}" = set; then
9742 enableval
="$enable_joystick"
9744 if test "$enableval" = yes; then
9745 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9747 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9752 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9753 if test "x$LINE" != x
; then
9754 eval "DEFAULT_$LINE"
9759 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9763 eval "$ac_cv_use_joystick"
9764 if test "$no_cache" != 1; then
9765 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9768 if test "$wxUSE_JOYSTICK" = yes; then
9769 echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6
9772 echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6
9778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9781 # Check whether --enable-metafile or --disable-metafile was given.
9782 if test "${enable_metafile+set}" = set; then
9783 enableval
="$enable_metafile"
9785 if test "$enableval" = yes; then
9786 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9788 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9793 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9794 if test "x$LINE" != x
; then
9795 eval "DEFAULT_$LINE"
9800 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9804 eval "$ac_cv_use_metafile"
9805 if test "$no_cache" != 1; then
9806 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9809 if test "$wxUSE_METAFILE" = yes; then
9810 echo "$as_me:$LINENO: result: yes" >&5
9811 echo "${ECHO_T}yes" >&6
9813 echo "$as_me:$LINENO: result: no" >&5
9814 echo "${ECHO_T}no" >&6
9819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9822 # Check whether --enable-dragimage or --disable-dragimage was given.
9823 if test "${enable_dragimage+set}" = set; then
9824 enableval
="$enable_dragimage"
9826 if test "$enableval" = yes; then
9827 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9829 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9834 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9835 if test "x$LINE" != x
; then
9836 eval "DEFAULT_$LINE"
9841 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9845 eval "$ac_cv_use_dragimage"
9846 if test "$no_cache" != 1; then
9847 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9850 if test "$wxUSE_DRAGIMAGE" = yes; then
9851 echo "$as_me:$LINENO: result: yes" >&5
9852 echo "${ECHO_T}yes" >&6
9854 echo "$as_me:$LINENO: result: no" >&5
9855 echo "${ECHO_T}no" >&6
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9863 # Check whether --enable-accessibility or --disable-accessibility was given.
9864 if test "${enable_accessibility+set}" = set; then
9865 enableval
="$enable_accessibility"
9867 if test "$enableval" = yes; then
9868 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9870 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9875 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x
; then
9877 eval "DEFAULT_$LINE"
9882 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9886 eval "$ac_cv_use_accessibility"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9891 if test "$wxUSE_ACCESSIBILITY" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9904 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9906 # Check whether --enable-palette or --disable-palette was given.
9907 if test "${enable_palette+set}" = set; then
9908 enableval
="$enable_palette"
9910 if test "$enableval" = yes; then
9911 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9913 ac_cv_use_palette
='wxUSE_PALETTE=no'
9918 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9919 if test "x$LINE" != x
; then
9920 eval "DEFAULT_$LINE"
9925 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9929 eval "$ac_cv_use_palette"
9930 if test "$no_cache" != 1; then
9931 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9934 if test "$wxUSE_PALETTE" = yes; then
9935 echo "$as_me:$LINENO: result: yes" >&5
9936 echo "${ECHO_T}yes" >&6
9938 echo "$as_me:$LINENO: result: no" >&5
9939 echo "${ECHO_T}no" >&6
9944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9945 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9947 # Check whether --enable-image or --disable-image was given.
9948 if test "${enable_image+set}" = set; then
9949 enableval
="$enable_image"
9951 if test "$enableval" = yes; then
9952 ac_cv_use_image
='wxUSE_IMAGE=yes'
9954 ac_cv_use_image
='wxUSE_IMAGE=no'
9959 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9960 if test "x$LINE" != x
; then
9961 eval "DEFAULT_$LINE"
9966 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9970 eval "$ac_cv_use_image"
9971 if test "$no_cache" != 1; then
9972 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9975 if test "$wxUSE_IMAGE" = yes; then
9976 echo "$as_me:$LINENO: result: yes" >&5
9977 echo "${ECHO_T}yes" >&6
9979 echo "$as_me:$LINENO: result: no" >&5
9980 echo "${ECHO_T}no" >&6
9985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9986 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9988 # Check whether --enable-gif or --disable-gif was given.
9989 if test "${enable_gif+set}" = set; then
9990 enableval
="$enable_gif"
9992 if test "$enableval" = yes; then
9993 ac_cv_use_gif
='wxUSE_GIF=yes'
9995 ac_cv_use_gif
='wxUSE_GIF=no'
10000 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10001 if test "x$LINE" != x
; then
10002 eval "DEFAULT_$LINE"
10007 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10011 eval "$ac_cv_use_gif"
10012 if test "$no_cache" != 1; then
10013 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10016 if test "$wxUSE_GIF" = yes; then
10017 echo "$as_me:$LINENO: result: yes" >&5
10018 echo "${ECHO_T}yes" >&6
10020 echo "$as_me:$LINENO: result: no" >&5
10021 echo "${ECHO_T}no" >&6
10026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10029 # Check whether --enable-pcx or --disable-pcx was given.
10030 if test "${enable_pcx+set}" = set; then
10031 enableval
="$enable_pcx"
10033 if test "$enableval" = yes; then
10034 ac_cv_use_pcx
='wxUSE_PCX=yes'
10036 ac_cv_use_pcx
='wxUSE_PCX=no'
10041 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10042 if test "x$LINE" != x
; then
10043 eval "DEFAULT_$LINE"
10048 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10052 eval "$ac_cv_use_pcx"
10053 if test "$no_cache" != 1; then
10054 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10057 if test "$wxUSE_PCX" = yes; then
10058 echo "$as_me:$LINENO: result: yes" >&5
10059 echo "${ECHO_T}yes" >&6
10061 echo "$as_me:$LINENO: result: no" >&5
10062 echo "${ECHO_T}no" >&6
10067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10070 # Check whether --enable-iff or --disable-iff was given.
10071 if test "${enable_iff+set}" = set; then
10072 enableval
="$enable_iff"
10074 if test "$enableval" = yes; then
10075 ac_cv_use_iff
='wxUSE_IFF=yes'
10077 ac_cv_use_iff
='wxUSE_IFF=no'
10082 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10083 if test "x$LINE" != x
; then
10084 eval "DEFAULT_$LINE"
10089 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10093 eval "$ac_cv_use_iff"
10094 if test "$no_cache" != 1; then
10095 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10098 if test "$wxUSE_IFF" = yes; then
10099 echo "$as_me:$LINENO: result: yes" >&5
10100 echo "${ECHO_T}yes" >&6
10102 echo "$as_me:$LINENO: result: no" >&5
10103 echo "${ECHO_T}no" >&6
10108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10111 # Check whether --enable-pnm or --disable-pnm was given.
10112 if test "${enable_pnm+set}" = set; then
10113 enableval
="$enable_pnm"
10115 if test "$enableval" = yes; then
10116 ac_cv_use_pnm
='wxUSE_PNM=yes'
10118 ac_cv_use_pnm
='wxUSE_PNM=no'
10123 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10124 if test "x$LINE" != x
; then
10125 eval "DEFAULT_$LINE"
10130 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10134 eval "$ac_cv_use_pnm"
10135 if test "$no_cache" != 1; then
10136 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10139 if test "$wxUSE_PNM" = yes; then
10140 echo "$as_me:$LINENO: result: yes" >&5
10141 echo "${ECHO_T}yes" >&6
10143 echo "$as_me:$LINENO: result: no" >&5
10144 echo "${ECHO_T}no" >&6
10149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10152 # Check whether --enable-xpm or --disable-xpm was given.
10153 if test "${enable_xpm+set}" = set; then
10154 enableval
="$enable_xpm"
10156 if test "$enableval" = yes; then
10157 ac_cv_use_xpm
='wxUSE_XPM=yes'
10159 ac_cv_use_xpm
='wxUSE_XPM=no'
10164 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10165 if test "x$LINE" != x
; then
10166 eval "DEFAULT_$LINE"
10171 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10175 eval "$ac_cv_use_xpm"
10176 if test "$no_cache" != 1; then
10177 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10180 if test "$wxUSE_XPM" = yes; then
10181 echo "$as_me:$LINENO: result: yes" >&5
10182 echo "${ECHO_T}yes" >&6
10184 echo "$as_me:$LINENO: result: no" >&5
10185 echo "${ECHO_T}no" >&6
10190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10193 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10194 if test "${enable_ico_cur+set}" = set; then
10195 enableval
="$enable_ico_cur"
10197 if test "$enableval" = yes; then
10198 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10200 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10205 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10206 if test "x$LINE" != x
; then
10207 eval "DEFAULT_$LINE"
10212 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10216 eval "$ac_cv_use_ico_cur"
10217 if test "$no_cache" != 1; then
10218 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10221 if test "$wxUSE_ICO_CUR" = yes; then
10222 echo "$as_me:$LINENO: result: yes" >&5
10223 echo "${ECHO_T}yes" >&6
10225 echo "$as_me:$LINENO: result: no" >&5
10226 echo "${ECHO_T}no" >&6
10234 # Check whether --with-flavour or --without-flavour was given.
10235 if test "${with_flavour+set}" = set; then
10236 withval
="$with_flavour"
10237 WX_FLAVOUR
="$withval"
10243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10246 # Check whether --enable-official_build or --disable-official_build was given.
10247 if test "${enable_official_build+set}" = set; then
10248 enableval
="$enable_official_build"
10250 if test "$enableval" = yes; then
10251 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10253 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10258 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10259 if test "x$LINE" != x
; then
10260 eval "DEFAULT_$LINE"
10265 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10269 eval "$ac_cv_use_official_build"
10270 if test "$no_cache" != 1; then
10271 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10274 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10275 echo "$as_me:$LINENO: result: yes" >&5
10276 echo "${ECHO_T}yes" >&6
10278 echo "$as_me:$LINENO: result: no" >&5
10279 echo "${ECHO_T}no" >&6
10282 # Check whether --enable-vendor or --disable-vendor was given.
10283 if test "${enable_vendor+set}" = set; then
10284 enableval
="$enable_vendor"
10285 VENDOR
="$enableval"
10287 if test "x$VENDOR" = "x"; then
10294 echo "saving argument cache $wx_arg_cache_file"
10295 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10299 echo "$as_me:$LINENO: checking for toolkit" >&5
10300 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10302 # In Wine, we need to default to MSW, not GTK or MOTIF
10303 if test "$wxUSE_WINE" = "yes"; then
10304 DEFAULT_DEFAULT_wxUSE_GTK
=0
10305 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10306 DEFAULT_DEFAULT_wxUSE_MSW
=1
10310 if test "$wxUSE_GUI" = "yes"; then
10312 if test "$USE_BEOS" = 1; then
10313 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10314 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10315 { (exit 1); exit 1; }; }
10318 if test "$TOOLKIT_GIVEN" = 1; then
10319 for toolkit
in `echo $ALL_TOOLKITS`; do
10321 eval "value=\$${var}"
10322 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10325 for toolkit
in `echo $ALL_TOOLKITS`; do
10326 if test "$has_toolkit_in_cache" != 1; then
10327 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10329 var
=DEFAULT_wxUSE_
$toolkit
10331 eval "wxUSE_$toolkit=\$${var}"
10335 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10336 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10337 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10340 *-pc-os2_emx | *-pc-os2-emx )
10341 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10344 case "$NUM_TOOLKITS" in
10348 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10349 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10350 { (exit 1); exit 1; }; }
10353 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10354 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10355 { (exit 1); exit 1; }; }
10358 for toolkit
in `echo $ALL_TOOLKITS`; do
10360 eval "value=\$${var}"
10361 if test "x$value" != x
; then
10362 cache_var
=CACHE_
$toolkit
10363 eval "cache=\$${cache_var}"
10364 if test "$cache" = 1; then
10365 echo "$var=$value" >> ${wx_arg_cache_file}
10367 if test "$value" = 1; then
10368 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10369 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10370 echo "${ECHO_T}$toolkit_echo" >&6
10375 if test "x$host_alias" != "x"; then
10376 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10377 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10379 echo "$as_me:$LINENO: result: base only" >&5
10380 echo "${ECHO_T}base only" >&6
10385 doesnt_want_win32
=0
10388 if test "$wxUSE_MSW" = 1 ; then
10391 doesnt_want_win32
=1
10399 if test "$wxUSE_WINE" = "yes"; then
10404 LDFLAGS_GUI
="-mwindows"
10407 if test "$wants_win32" = 1 ; then
10410 cat >>confdefs.h
<<\_ACEOF
10411 #define __WIN32__ 1
10414 cat >>confdefs.h
<<\_ACEOF
10415 #define __WIN95__ 1
10418 cat >>confdefs.h
<<\_ACEOF
10419 #define __WINDOWS__ 1
10422 cat >>confdefs.h
<<\_ACEOF
10423 #define __GNUWIN32__ 1
10426 cat >>confdefs.h
<<\_ACEOF
10430 cat >>confdefs.h
<<\_ACEOF
10431 #define WINVER 0x0400
10435 if test "$doesnt_want_win32" = 1 ; then
10440 if test "$USE_UNIX" = 1 ; then
10442 cat >>confdefs.h
<<\_ACEOF
10449 cat >confcache
<<\_ACEOF
10450 # This file is a shell script that caches the results of configure
10451 # tests run on this system so they can be shared between configure
10452 # scripts and configure runs, see configure's option --config-cache.
10453 # It is not useful on other systems. If it contains results you don't
10454 # want to keep, you may remove or edit it.
10456 # config.status only pays attention to the cache file if you give it
10457 # the --recheck option to rerun configure.
10459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10461 # following values.
10465 # The following way of writing the cache mishandles newlines in values,
10466 # but we know of no workaround that is simple, portable, and efficient.
10467 # So, don't put newlines in cache variables' values.
10468 # Ultrix sh set writes to stderr and can't be redirected directly,
10469 # and sets the high bit in the cache file unless we assign to the vars.
10472 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10474 # `set' does not quote correctly, so add quotes (double-quote
10475 # substitution turns \\\\ into \\, and sed turns \\ into \).
10478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10481 # `set' quotes correctly as required by POSIX, so do not add quotes.
10483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10492 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10494 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10495 if test -w $cache_file; then
10496 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10497 cat confcache
>$cache_file
10499 echo "not updating unwritable cache $cache_file"
10504 if test "$build" != "$host" ; then
10505 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10507 CXX
=$host_alias-c++
10509 RANLIB
=$host_alias-ranlib
10510 DLLTOOL
=$host_alias-dlltool
10511 RESCOMP
=$host_alias-windres
10512 STRIP
=$host_alias-strip
10513 elif test "x$CC" '!=' "x"; then
10514 echo "You set CC, I assume you know what you are doing."
10516 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10517 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10518 { (exit 1); exit 1; }; }
10524 ac_cpp
='$CPP $CPPFLAGS'
10525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10528 if test -n "$ac_tool_prefix"; then
10529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10530 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10531 echo "$as_me:$LINENO: checking for $ac_word" >&5
10532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10533 if test "${ac_cv_prog_CC+set}" = set; then
10534 echo $ECHO_N "(cached) $ECHO_C" >&6
10536 if test -n "$CC"; then
10537 ac_cv_prog_CC
="$CC" # Let the user override the test.
10539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10540 for as_dir
in $PATH
10543 test -z "$as_dir" && as_dir
=.
10544 for ac_exec_ext
in '' $ac_executable_extensions; do
10545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10546 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10556 if test -n "$CC"; then
10557 echo "$as_me:$LINENO: result: $CC" >&5
10558 echo "${ECHO_T}$CC" >&6
10560 echo "$as_me:$LINENO: result: no" >&5
10561 echo "${ECHO_T}no" >&6
10565 if test -z "$ac_cv_prog_CC"; then
10567 # Extract the first word of "gcc", so it can be a program name with args.
10568 set dummy gcc
; ac_word
=$2
10569 echo "$as_me:$LINENO: checking for $ac_word" >&5
10570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10571 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10572 echo $ECHO_N "(cached) $ECHO_C" >&6
10574 if test -n "$ac_ct_CC"; then
10575 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10578 for as_dir
in $PATH
10581 test -z "$as_dir" && as_dir
=.
10582 for ac_exec_ext
in '' $ac_executable_extensions; do
10583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10584 ac_cv_prog_ac_ct_CC
="gcc"
10585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10593 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10594 if test -n "$ac_ct_CC"; then
10595 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10596 echo "${ECHO_T}$ac_ct_CC" >&6
10598 echo "$as_me:$LINENO: result: no" >&5
10599 echo "${ECHO_T}no" >&6
10604 CC
="$ac_cv_prog_CC"
10607 if test -z "$CC"; then
10608 if test -n "$ac_tool_prefix"; then
10609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10610 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10611 echo "$as_me:$LINENO: checking for $ac_word" >&5
10612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10613 if test "${ac_cv_prog_CC+set}" = set; then
10614 echo $ECHO_N "(cached) $ECHO_C" >&6
10616 if test -n "$CC"; then
10617 ac_cv_prog_CC
="$CC" # Let the user override the test.
10619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10620 for as_dir
in $PATH
10623 test -z "$as_dir" && as_dir
=.
10624 for ac_exec_ext
in '' $ac_executable_extensions; do
10625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10626 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10636 if test -n "$CC"; then
10637 echo "$as_me:$LINENO: result: $CC" >&5
10638 echo "${ECHO_T}$CC" >&6
10640 echo "$as_me:$LINENO: result: no" >&5
10641 echo "${ECHO_T}no" >&6
10645 if test -z "$ac_cv_prog_CC"; then
10647 # Extract the first word of "cc", so it can be a program name with args.
10648 set dummy cc
; ac_word
=$2
10649 echo "$as_me:$LINENO: checking for $ac_word" >&5
10650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10652 echo $ECHO_N "(cached) $ECHO_C" >&6
10654 if test -n "$ac_ct_CC"; then
10655 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10658 for as_dir
in $PATH
10661 test -z "$as_dir" && as_dir
=.
10662 for ac_exec_ext
in '' $ac_executable_extensions; do
10663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10664 ac_cv_prog_ac_ct_CC
="cc"
10665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10673 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10674 if test -n "$ac_ct_CC"; then
10675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10676 echo "${ECHO_T}$ac_ct_CC" >&6
10678 echo "$as_me:$LINENO: result: no" >&5
10679 echo "${ECHO_T}no" >&6
10684 CC
="$ac_cv_prog_CC"
10688 if test -z "$CC"; then
10689 # Extract the first word of "cc", so it can be a program name with args.
10690 set dummy cc
; ac_word
=$2
10691 echo "$as_me:$LINENO: checking for $ac_word" >&5
10692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10693 if test "${ac_cv_prog_CC+set}" = set; then
10694 echo $ECHO_N "(cached) $ECHO_C" >&6
10696 if test -n "$CC"; then
10697 ac_cv_prog_CC
="$CC" # Let the user override the test.
10699 ac_prog_rejected
=no
10700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10701 for as_dir
in $PATH
10704 test -z "$as_dir" && as_dir
=.
10705 for ac_exec_ext
in '' $ac_executable_extensions; do
10706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10708 ac_prog_rejected
=yes
10712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10718 if test $ac_prog_rejected = yes; then
10719 # We found a bogon in the path, so make sure we never use it.
10720 set dummy
$ac_cv_prog_CC
10722 if test $# != 0; then
10723 # We chose a different compiler from the bogus one.
10724 # However, it has the same basename, so the bogon will be chosen
10725 # first if we set CC to just the basename; use the full file name.
10727 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10733 if test -n "$CC"; then
10734 echo "$as_me:$LINENO: result: $CC" >&5
10735 echo "${ECHO_T}$CC" >&6
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10742 if test -z "$CC"; then
10743 if test -n "$ac_tool_prefix"; then
10746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10747 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10748 echo "$as_me:$LINENO: checking for $ac_word" >&5
10749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10750 if test "${ac_cv_prog_CC+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 if test -n "$CC"; then
10754 ac_cv_prog_CC
="$CC" # Let the user override the test.
10756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10757 for as_dir
in $PATH
10760 test -z "$as_dir" && as_dir
=.
10761 for ac_exec_ext
in '' $ac_executable_extensions; do
10762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10763 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10773 if test -n "$CC"; then
10774 echo "$as_me:$LINENO: result: $CC" >&5
10775 echo "${ECHO_T}$CC" >&6
10777 echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10781 test -n "$CC" && break
10784 if test -z "$CC"; then
10788 # Extract the first word of "$ac_prog", so it can be a program name with args.
10789 set dummy
$ac_prog; ac_word
=$2
10790 echo "$as_me:$LINENO: checking for $ac_word" >&5
10791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10793 echo $ECHO_N "(cached) $ECHO_C" >&6
10795 if test -n "$ac_ct_CC"; then
10796 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10799 for as_dir
in $PATH
10802 test -z "$as_dir" && as_dir
=.
10803 for ac_exec_ext
in '' $ac_executable_extensions; do
10804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10805 ac_cv_prog_ac_ct_CC
="$ac_prog"
10806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10814 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10815 if test -n "$ac_ct_CC"; then
10816 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10817 echo "${ECHO_T}$ac_ct_CC" >&6
10819 echo "$as_me:$LINENO: result: no" >&5
10820 echo "${ECHO_T}no" >&6
10823 test -n "$ac_ct_CC" && break
10832 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10833 See \`config.log' for more details." >&5
10834 echo "$as_me: error: no acceptable C compiler found in \$PATH
10835 See \`config.log' for more details." >&2;}
10836 { (exit 1); exit 1; }; }
10838 # Provide some information about the compiler.
10839 echo "$as_me:$LINENO:" \
10840 "checking for C compiler version" >&5
10841 ac_compiler
=`set X $ac_compile; echo $2`
10842 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10843 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); }
10847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10848 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); }
10852 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10853 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); }
10858 cat >conftest.
$ac_ext <<_ACEOF
10861 cat confdefs.h
>>conftest.
$ac_ext
10862 cat >>conftest.
$ac_ext <<_ACEOF
10863 /* end confdefs.h. */
10873 ac_clean_files_save
=$ac_clean_files
10874 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10875 # Try to create an executable without -o first, disregard a.out.
10876 # It will help us diagnose broken compilers, and finding out an intuition
10878 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10879 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10880 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10881 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10882 (eval $ac_link_default) 2>&5
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); }; then
10886 # Find the output, starting from the most likely. This scheme is
10887 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10890 # Be careful to initialize this variable, since it used to be cached.
10891 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10893 # b.out is created by i960 compilers.
10894 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10896 test -f "$ac_file" || continue
10898 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10901 # This is the source file.
10904 # We found the default executable, but exeext='' is most
10908 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10909 # FIXME: I believe we export ac_cv_exeext for Libtool,
10910 # but it would be cool to find out if it's true. Does anybody
10911 # maintain Libtool? --akim.
10912 export ac_cv_exeext
10919 echo "$as_me: failed program was:" >&5
10920 sed 's/^/| /' conftest.
$ac_ext >&5
10922 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10923 See \`config.log' for more details." >&5
10924 echo "$as_me: error: C compiler cannot create executables
10925 See \`config.log' for more details." >&2;}
10926 { (exit 77); exit 77; }; }
10929 ac_exeext
=$ac_cv_exeext
10930 echo "$as_me:$LINENO: result: $ac_file" >&5
10931 echo "${ECHO_T}$ac_file" >&6
10933 # Check the compiler produces executables we can run. If not, either
10934 # the compiler is broken, or we cross compile.
10935 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10936 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10937 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10938 # If not cross compiling, check that we can run a simple program.
10939 if test "$cross_compiling" != yes; then
10940 if { ac_try
='./$ac_file'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; }; then
10948 if test "$cross_compiling" = maybe
; then
10949 cross_compiling
=yes
10951 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10952 If you meant to cross compile, use \`--host'.
10953 See \`config.log' for more details." >&5
10954 echo "$as_me: error: cannot run C compiled programs.
10955 If you meant to cross compile, use \`--host'.
10956 See \`config.log' for more details." >&2;}
10957 { (exit 1); exit 1; }; }
10961 echo "$as_me:$LINENO: result: yes" >&5
10962 echo "${ECHO_T}yes" >&6
10964 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10965 ac_clean_files
=$ac_clean_files_save
10966 # Check the compiler produces executables we can run. If not, either
10967 # the compiler is broken, or we cross compile.
10968 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10969 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10970 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10971 echo "${ECHO_T}$cross_compiling" >&6
10973 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10974 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10976 (eval $ac_link) 2>&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; then
10980 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10981 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10982 # work properly (i.e., refer to `conftest.exe'), while it won't with
10984 for ac_file
in conftest.exe conftest conftest.
*; do
10985 test -f "$ac_file" || continue
10987 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10988 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10989 export ac_cv_exeext
10995 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10996 See \`config.log' for more details." >&5
10997 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10998 See \`config.log' for more details." >&2;}
10999 { (exit 1); exit 1; }; }
11002 rm -f conftest
$ac_cv_exeext
11003 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11004 echo "${ECHO_T}$ac_cv_exeext" >&6
11006 rm -f conftest.
$ac_ext
11007 EXEEXT
=$ac_cv_exeext
11009 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11010 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11011 if test "${ac_cv_objext+set}" = set; then
11012 echo $ECHO_N "(cached) $ECHO_C" >&6
11014 cat >conftest.
$ac_ext <<_ACEOF
11017 cat confdefs.h
>>conftest.
$ac_ext
11018 cat >>conftest.
$ac_ext <<_ACEOF
11019 /* end confdefs.h. */
11029 rm -f conftest.o conftest.obj
11030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11031 (eval $ac_compile) 2>&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }; then
11035 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11037 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11038 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11043 echo "$as_me: failed program was:" >&5
11044 sed 's/^/| /' conftest.
$ac_ext >&5
11046 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11047 See \`config.log' for more details." >&5
11048 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11049 See \`config.log' for more details." >&2;}
11050 { (exit 1); exit 1; }; }
11053 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11055 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11056 echo "${ECHO_T}$ac_cv_objext" >&6
11057 OBJEXT
=$ac_cv_objext
11059 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11060 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11061 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11064 cat >conftest.
$ac_ext <<_ACEOF
11067 cat confdefs.h
>>conftest.
$ac_ext
11068 cat >>conftest.
$ac_ext <<_ACEOF
11069 /* end confdefs.h. */
11082 rm -f conftest.
$ac_objext
11083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11084 (eval $ac_compile) 2>conftest.er1
11086 grep -v '^ *+' conftest.er1
>conftest.err
11088 cat conftest.err
>&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); } &&
11091 { ac_try
='test -z "$ac_c_werror_flag"
11092 || test ! -s conftest.err'
11093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11094 (eval $ac_try) 2>&5
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); }; } &&
11098 { ac_try
='test -s conftest.$ac_objext'
11099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100 (eval $ac_try) 2>&5
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; }; then
11104 ac_compiler_gnu
=yes
11106 echo "$as_me: failed program was:" >&5
11107 sed 's/^/| /' conftest.
$ac_ext >&5
11111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11112 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11115 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11116 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11117 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11118 ac_test_CFLAGS
=${CFLAGS+set}
11119 ac_save_CFLAGS
=$CFLAGS
11121 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11122 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11123 if test "${ac_cv_prog_cc_g+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 cat >conftest.
$ac_ext <<_ACEOF
11129 cat confdefs.h
>>conftest.
$ac_ext
11130 cat >>conftest.
$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11141 rm -f conftest.
$ac_objext
11142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11143 (eval $ac_compile) 2>conftest.er1
11145 grep -v '^ *+' conftest.er1
>conftest.err
11147 cat conftest.err
>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); } &&
11150 { ac_try
='test -z "$ac_c_werror_flag"
11151 || test ! -s conftest.err'
11152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11153 (eval $ac_try) 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; } &&
11157 { ac_try
='test -s conftest.$ac_objext'
11158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11159 (eval $ac_try) 2>&5
11161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11162 (exit $ac_status); }; }; then
11163 ac_cv_prog_cc_g
=yes
11165 echo "$as_me: failed program was:" >&5
11166 sed 's/^/| /' conftest.
$ac_ext >&5
11170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11172 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11173 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11174 if test "$ac_test_CFLAGS" = set; then
11175 CFLAGS
=$ac_save_CFLAGS
11176 elif test $ac_cv_prog_cc_g = yes; then
11177 if test "$GCC" = yes; then
11183 if test "$GCC" = yes; then
11189 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11190 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11191 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 ac_cv_prog_cc_stdc
=no
11196 cat >conftest.
$ac_ext <<_ACEOF
11199 cat confdefs.h
>>conftest.
$ac_ext
11200 cat >>conftest.
$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11202 #include <stdarg.h>
11204 #include <sys/types.h>
11205 #include <sys/stat.h>
11206 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11207 struct buf { int x; };
11208 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11209 static char *e (p, i)
11215 static char *f (char * (*g) (char **, int), char **p, ...)
11220 s = g (p, va_arg (v,int));
11225 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11226 function prototypes and stuff, but not '\xHH' hex character constants.
11227 These don't provoke an error unfortunately, instead are silently treated
11228 as 'x'. The following induces an error, until -std1 is added to get
11229 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11230 array size at least. It's necessary to write '\x00'==0 to get something
11231 that's true only with -std1. */
11232 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11234 int test (int i, double x);
11235 struct s1 {int (*f) (int a);};
11236 struct s2 {int (*f) (double a);};
11237 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11243 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11248 # Don't try gcc -ansi; that turns off useful extensions and
11249 # breaks some systems' header files.
11250 # AIX -qlanglvl=ansi
11251 # Ultrix and OSF/1 -std1
11252 # HP-UX 10.20 and later -Ae
11253 # HP-UX older versions -Aa -D_HPUX_SOURCE
11254 # SVR4 -Xc -D__EXTENSIONS__
11255 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11257 CC
="$ac_save_CC $ac_arg"
11258 rm -f conftest.
$ac_objext
11259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11260 (eval $ac_compile) 2>conftest.er1
11262 grep -v '^ *+' conftest.er1
>conftest.err
11264 cat conftest.err
>&5
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); } &&
11267 { ac_try
='test -z "$ac_c_werror_flag"
11268 || test ! -s conftest.err'
11269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11270 (eval $ac_try) 2>&5
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; } &&
11274 { ac_try
='test -s conftest.$ac_objext'
11275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11276 (eval $ac_try) 2>&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); }; }; then
11280 ac_cv_prog_cc_stdc
=$ac_arg
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.
$ac_ext >&5
11287 rm -f conftest.err conftest.
$ac_objext
11289 rm -f conftest.
$ac_ext conftest.
$ac_objext
11294 case "x$ac_cv_prog_cc_stdc" in
11296 echo "$as_me:$LINENO: result: none needed" >&5
11297 echo "${ECHO_T}none needed" >&6 ;;
11299 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11300 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11301 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11304 # Some people use a C++ compiler to compile C. Since we use `exit',
11305 # in C++ we need to declare it. In case someone uses the same compiler
11306 # for both compiling C and C++ we need to have the C++ compiler decide
11307 # the declaration of exit, since it's the most demanding environment.
11308 cat >conftest.
$ac_ext <<_ACEOF
11309 #ifndef __cplusplus
11313 rm -f conftest.
$ac_objext
11314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11315 (eval $ac_compile) 2>conftest.er1
11317 grep -v '^ *+' conftest.er1
>conftest.err
11319 cat conftest.err
>&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); } &&
11322 { ac_try
='test -z "$ac_c_werror_flag"
11323 || test ! -s conftest.err'
11324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11325 (eval $ac_try) 2>&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); }; } &&
11329 { ac_try
='test -s conftest.$ac_objext'
11330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 (eval $ac_try) 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; }; then
11335 for ac_declaration
in \
11337 'extern "C" void std::exit (int) throw (); using std::exit;' \
11338 'extern "C" void std::exit (int); using std::exit;' \
11339 'extern "C" void exit (int) throw ();' \
11340 'extern "C" void exit (int);' \
11343 cat >conftest.
$ac_ext <<_ACEOF
11346 cat confdefs.h
>>conftest.
$ac_ext
11347 cat >>conftest.
$ac_ext <<_ACEOF
11348 /* end confdefs.h. */
11350 #include <stdlib.h>
11359 rm -f conftest.
$ac_objext
11360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11361 (eval $ac_compile) 2>conftest.er1
11363 grep -v '^ *+' conftest.er1
>conftest.err
11365 cat conftest.err
>&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); } &&
11368 { ac_try
='test -z "$ac_c_werror_flag"
11369 || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try
='test -s conftest.$ac_objext'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; }; then
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.
$ac_ext >&5
11388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11389 cat >conftest.
$ac_ext <<_ACEOF
11392 cat confdefs.h
>>conftest.
$ac_ext
11393 cat >>conftest.
$ac_ext <<_ACEOF
11394 /* end confdefs.h. */
11404 rm -f conftest.
$ac_objext
11405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11406 (eval $ac_compile) 2>conftest.er1
11408 grep -v '^ *+' conftest.er1
>conftest.err
11410 cat conftest.err
>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); } &&
11413 { ac_try
='test -z "$ac_c_werror_flag"
11414 || test ! -s conftest.err'
11415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11416 (eval $ac_try) 2>&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); }; } &&
11420 { ac_try
='test -s conftest.$ac_objext'
11421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11422 (eval $ac_try) 2>&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); }; }; then
11428 echo "$as_me: failed program was:" >&5
11429 sed 's/^/| /' conftest.
$ac_ext >&5
11432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11435 if test -n "$ac_declaration"; then
11436 echo '#ifdef __cplusplus' >>confdefs.h
11437 echo $ac_declaration >>confdefs.h
11438 echo '#endif' >>confdefs.h
11442 echo "$as_me: failed program was:" >&5
11443 sed 's/^/| /' conftest.
$ac_ext >&5
11446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11448 ac_cpp
='$CPP $CPPFLAGS'
11449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11453 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11454 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11455 if test "${wx_cv_c_exto+set}" = set; then
11456 echo $ECHO_N "(cached) $ECHO_C" >&6
11458 cat >conftest.
$ac_ext <<_ACEOF
11461 cat confdefs.h
>>conftest.
$ac_ext
11462 cat >>conftest.
$ac_ext <<_ACEOF
11463 /* end confdefs.h. */
11473 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11475 (eval $ac_compile) 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }; then
11479 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11481 conftest.
$ac_ext.o
)
11482 wx_cv_c_exto
="-ext o"
11489 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11490 See \`config.log' for more details." >&5
11491 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11492 See \`config.log' for more details." >&2;}
11493 { (exit 1); exit 1; }; }
11497 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11500 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11501 echo "${ECHO_T}$wx_cv_c_exto" >&6
11502 if test "x$wx_cv_c_exto" '!=' "x"; then
11503 if test "c" = "c"; then
11504 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11506 if test "c" = "cxx"; then
11507 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11511 if test "x$wx_cv_c_exto" '!=' "x"; then
11512 unset ac_cv_prog_cc_g
11513 ac_test_CFLAGS
=${CFLAGS+set}
11514 ac_save_CFLAGS
=$CFLAGS
11516 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11517 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11518 if test "${ac_cv_prog_cc_g+set}" = set; then
11519 echo $ECHO_N "(cached) $ECHO_C" >&6
11521 cat >conftest.
$ac_ext <<_ACEOF
11524 cat confdefs.h
>>conftest.
$ac_ext
11525 cat >>conftest.
$ac_ext <<_ACEOF
11526 /* end confdefs.h. */
11536 rm -f conftest.
$ac_objext
11537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11538 (eval $ac_compile) 2>conftest.er1
11540 grep -v '^ *+' conftest.er1
>conftest.err
11542 cat conftest.err
>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); } &&
11545 { ac_try
='test -z "$ac_c_werror_flag"
11546 || test ! -s conftest.err'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; } &&
11552 { ac_try
='test -s conftest.$ac_objext'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; }; then
11558 ac_cv_prog_cc_g
=yes
11560 echo "$as_me: failed program was:" >&5
11561 sed 's/^/| /' conftest.
$ac_ext >&5
11565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11567 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11568 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11569 if test "$ac_test_CFLAGS" = set; then
11570 CFLAGS
=$ac_save_CFLAGS
11571 elif test $ac_cv_prog_cc_g = yes; then
11572 if test "$GCC" = yes; then
11578 if test "$GCC" = yes; then
11587 ac_cpp
='$CPP $CPPFLAGS'
11588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11592 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11593 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11594 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11595 echo $ECHO_N "(cached) $ECHO_C" >&6
11597 cat >conftest.
$ac_ext <<_ACEOF
11600 cat confdefs.h
>>conftest.
$ac_ext
11601 cat >>conftest.
$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11615 rm -f conftest.
$ac_objext
11616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11617 (eval $ac_compile) 2>conftest.er1
11619 grep -v '^ *+' conftest.er1
>conftest.err
11621 cat conftest.err
>&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); } &&
11624 { ac_try
='test -z "$ac_c_werror_flag"
11625 || test ! -s conftest.err'
11626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11627 (eval $ac_try) 2>&5
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); }; } &&
11631 { ac_try
='test -s conftest.$ac_objext'
11632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); }; }; then
11637 bakefile_compiler_mwerks
=yes
11639 echo "$as_me: failed program was:" >&5
11640 sed 's/^/| /' conftest.
$ac_ext >&5
11642 bakefile_compiler_mwerks
=no
11644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11645 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11648 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11649 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11651 MWCC
=`test $bakefile_compiler_mwerks = yes && echo yes`
11653 ac_cpp
='$CPP $CPPFLAGS'
11654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11660 ac_cpp
='$CPP $CPPFLAGS'
11661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11665 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11666 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11667 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11668 echo $ECHO_N "(cached) $ECHO_C" >&6
11670 cat >conftest.
$ac_ext <<_ACEOF
11673 cat confdefs.h
>>conftest.
$ac_ext
11674 cat >>conftest.
$ac_ext <<_ACEOF
11675 /* end confdefs.h. */
11688 rm -f conftest.
$ac_objext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11690 (eval $ac_compile) 2>conftest.er1
11692 grep -v '^ *+' conftest.er1
>conftest.err
11694 cat conftest.err
>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } &&
11697 { ac_try
='test -z "$ac_c_werror_flag"
11698 || test ! -s conftest.err'
11699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11700 (eval $ac_try) 2>&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); }; } &&
11704 { ac_try
='test -s conftest.$ac_objext'
11705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11706 (eval $ac_try) 2>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); }; }; then
11710 wx_compiler_xlc
=yes
11712 echo "$as_me: failed program was:" >&5
11713 sed 's/^/| /' conftest.
$ac_ext >&5
11717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11718 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11721 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11722 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11724 XLCC
=`test $wx_compiler_xlc = yes && echo yes`
11726 ac_cpp
='$CPP $CPPFLAGS'
11727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11734 ac_cpp
='$CPP $CPPFLAGS'
11735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11738 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11739 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11740 # On Suns, sometimes $CPP names a directory.
11741 if test -n "$CPP" && test -d "$CPP"; then
11744 if test -z "$CPP"; then
11745 if test "${ac_cv_prog_CPP+set}" = set; then
11746 echo $ECHO_N "(cached) $ECHO_C" >&6
11748 # Double quotes because CPP needs to be expanded
11749 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11751 ac_preproc_ok
=false
11752 for ac_c_preproc_warn_flag
in '' yes
11754 # Use a header file that comes with gcc, so configuring glibc
11755 # with a fresh cross-compiler works.
11756 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11757 # <limits.h> exists even on freestanding compilers.
11758 # On the NeXT, cc -E runs the code through the compiler's parser,
11759 # not just through cpp. "Syntax error" is here to catch this case.
11760 cat >conftest.
$ac_ext <<_ACEOF
11763 cat confdefs.h
>>conftest.
$ac_ext
11764 cat >>conftest.
$ac_ext <<_ACEOF
11765 /* end confdefs.h. */
11767 # include <limits.h>
11769 # include <assert.h>
11773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11774 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11776 grep -v '^ *+' conftest.er1
>conftest.err
11778 cat conftest.err
>&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); } >/dev
/null
; then
11781 if test -s conftest.err
; then
11782 ac_cpp_err
=$ac_c_preproc_warn_flag
11783 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11790 if test -z "$ac_cpp_err"; then
11793 echo "$as_me: failed program was:" >&5
11794 sed 's/^/| /' conftest.
$ac_ext >&5
11796 # Broken: fails on valid input.
11799 rm -f conftest.err conftest.
$ac_ext
11801 # OK, works on sane cases. Now check whether non-existent headers
11802 # can be detected and how.
11803 cat >conftest.
$ac_ext <<_ACEOF
11806 cat confdefs.h
>>conftest.
$ac_ext
11807 cat >>conftest.
$ac_ext <<_ACEOF
11808 /* end confdefs.h. */
11809 #include <ac_nonexistent.h>
11811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11812 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11814 grep -v '^ *+' conftest.er1
>conftest.err
11816 cat conftest.err
>&5
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); } >/dev
/null
; then
11819 if test -s conftest.err
; then
11820 ac_cpp_err
=$ac_c_preproc_warn_flag
11821 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11828 if test -z "$ac_cpp_err"; then
11829 # Broken: success on invalid input.
11832 echo "$as_me: failed program was:" >&5
11833 sed 's/^/| /' conftest.
$ac_ext >&5
11835 # Passes both tests.
11839 rm -f conftest.err conftest.
$ac_ext
11842 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11843 rm -f conftest.err conftest.
$ac_ext
11844 if $ac_preproc_ok; then
11849 ac_cv_prog_CPP
=$CPP
11852 CPP
=$ac_cv_prog_CPP
11854 ac_cv_prog_CPP
=$CPP
11856 echo "$as_me:$LINENO: result: $CPP" >&5
11857 echo "${ECHO_T}$CPP" >&6
11858 ac_preproc_ok
=false
11859 for ac_c_preproc_warn_flag
in '' yes
11861 # Use a header file that comes with gcc, so configuring glibc
11862 # with a fresh cross-compiler works.
11863 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11864 # <limits.h> exists even on freestanding compilers.
11865 # On the NeXT, cc -E runs the code through the compiler's parser,
11866 # not just through cpp. "Syntax error" is here to catch this case.
11867 cat >conftest.
$ac_ext <<_ACEOF
11870 cat confdefs.h
>>conftest.
$ac_ext
11871 cat >>conftest.
$ac_ext <<_ACEOF
11872 /* end confdefs.h. */
11874 # include <limits.h>
11876 # include <assert.h>
11880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11881 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11883 grep -v '^ *+' conftest.er1
>conftest.err
11885 cat conftest.err
>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } >/dev
/null
; then
11888 if test -s conftest.err
; then
11889 ac_cpp_err
=$ac_c_preproc_warn_flag
11890 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11897 if test -z "$ac_cpp_err"; then
11900 echo "$as_me: failed program was:" >&5
11901 sed 's/^/| /' conftest.
$ac_ext >&5
11903 # Broken: fails on valid input.
11906 rm -f conftest.err conftest.
$ac_ext
11908 # OK, works on sane cases. Now check whether non-existent headers
11909 # can be detected and how.
11910 cat >conftest.
$ac_ext <<_ACEOF
11913 cat confdefs.h
>>conftest.
$ac_ext
11914 cat >>conftest.
$ac_ext <<_ACEOF
11915 /* end confdefs.h. */
11916 #include <ac_nonexistent.h>
11918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11919 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11921 grep -v '^ *+' conftest.er1
>conftest.err
11923 cat conftest.err
>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); } >/dev
/null
; then
11926 if test -s conftest.err
; then
11927 ac_cpp_err
=$ac_c_preproc_warn_flag
11928 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11935 if test -z "$ac_cpp_err"; then
11936 # Broken: success on invalid input.
11939 echo "$as_me: failed program was:" >&5
11940 sed 's/^/| /' conftest.
$ac_ext >&5
11942 # Passes both tests.
11946 rm -f conftest.err conftest.
$ac_ext
11949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11950 rm -f conftest.err conftest.
$ac_ext
11951 if $ac_preproc_ok; then
11954 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11955 See \`config.log' for more details." >&5
11956 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11957 See \`config.log' for more details." >&2;}
11958 { (exit 1); exit 1; }; }
11962 ac_cpp
='$CPP $CPPFLAGS'
11963 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11964 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11965 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11968 echo "$as_me:$LINENO: checking for egrep" >&5
11969 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11970 if test "${ac_cv_prog_egrep+set}" = set; then
11971 echo $ECHO_N "(cached) $ECHO_C" >&6
11973 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11974 then ac_cv_prog_egrep
='grep -E'
11975 else ac_cv_prog_egrep
='egrep'
11978 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11979 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11980 EGREP
=$ac_cv_prog_egrep
11983 if test $ac_cv_c_compiler_gnu = yes; then
11984 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11985 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11986 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11987 echo $ECHO_N "(cached) $ECHO_C" >&6
11989 ac_pattern
="Autoconf.*'x'"
11990 cat >conftest.
$ac_ext <<_ACEOF
11993 cat confdefs.h
>>conftest.
$ac_ext
11994 cat >>conftest.
$ac_ext <<_ACEOF
11995 /* end confdefs.h. */
11999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12000 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12001 ac_cv_prog_gcc_traditional
=yes
12003 ac_cv_prog_gcc_traditional
=no
12008 if test $ac_cv_prog_gcc_traditional = no
; then
12009 cat >conftest.
$ac_ext <<_ACEOF
12012 cat confdefs.h
>>conftest.
$ac_ext
12013 cat >>conftest.
$ac_ext <<_ACEOF
12014 /* end confdefs.h. */
12015 #include <termio.h>
12018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12019 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12020 ac_cv_prog_gcc_traditional
=yes
12026 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12027 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12028 if test $ac_cv_prog_gcc_traditional = yes; then
12029 CC
="$CC -traditional"
12037 ac_cpp
='$CXXCPP $CPPFLAGS'
12038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12043 CXXFLAGS
=${CXXFLAGS:=}
12045 ac_cpp
='$CXXCPP $CPPFLAGS'
12046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12049 if test -n "$ac_tool_prefix"; then
12050 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12052 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12053 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12054 echo "$as_me:$LINENO: checking for $ac_word" >&5
12055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12056 if test "${ac_cv_prog_CXX+set}" = set; then
12057 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 if test -n "$CXX"; then
12060 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12063 for as_dir
in $PATH
12066 test -z "$as_dir" && as_dir
=.
12067 for ac_exec_ext
in '' $ac_executable_extensions; do
12068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12069 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12078 CXX
=$ac_cv_prog_CXX
12079 if test -n "$CXX"; then
12080 echo "$as_me:$LINENO: result: $CXX" >&5
12081 echo "${ECHO_T}$CXX" >&6
12083 echo "$as_me:$LINENO: result: no" >&5
12084 echo "${ECHO_T}no" >&6
12087 test -n "$CXX" && break
12090 if test -z "$CXX"; then
12092 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12094 # Extract the first word of "$ac_prog", so it can be a program name with args.
12095 set dummy
$ac_prog; ac_word
=$2
12096 echo "$as_me:$LINENO: checking for $ac_word" >&5
12097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12098 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12101 if test -n "$ac_ct_CXX"; then
12102 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12105 for as_dir
in $PATH
12108 test -z "$as_dir" && as_dir
=.
12109 for ac_exec_ext
in '' $ac_executable_extensions; do
12110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12111 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12120 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12121 if test -n "$ac_ct_CXX"; then
12122 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12123 echo "${ECHO_T}$ac_ct_CXX" >&6
12125 echo "$as_me:$LINENO: result: no" >&5
12126 echo "${ECHO_T}no" >&6
12129 test -n "$ac_ct_CXX" && break
12131 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12137 # Provide some information about the compiler.
12138 echo "$as_me:$LINENO:" \
12139 "checking for C++ compiler version" >&5
12140 ac_compiler
=`set X $ac_compile; echo $2`
12141 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12142 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }
12146 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12147 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); }
12151 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12152 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); }
12157 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12158 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12159 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12160 echo $ECHO_N "(cached) $ECHO_C" >&6
12162 cat >conftest.
$ac_ext <<_ACEOF
12165 cat confdefs.h
>>conftest.
$ac_ext
12166 cat >>conftest.
$ac_ext <<_ACEOF
12167 /* end confdefs.h. */
12180 rm -f conftest.
$ac_objext
12181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12182 (eval $ac_compile) 2>conftest.er1
12184 grep -v '^ *+' conftest.er1
>conftest.err
12186 cat conftest.err
>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } &&
12189 { ac_try
='test -z "$ac_cxx_werror_flag"
12190 || test ! -s conftest.err'
12191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12192 (eval $ac_try) 2>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); }; } &&
12196 { ac_try
='test -s conftest.$ac_objext'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; }; then
12202 ac_compiler_gnu
=yes
12204 echo "$as_me: failed program was:" >&5
12205 sed 's/^/| /' conftest.
$ac_ext >&5
12209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12210 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12213 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12214 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12215 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12216 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12217 ac_save_CXXFLAGS
=$CXXFLAGS
12219 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12220 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12221 if test "${ac_cv_prog_cxx_g+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12224 cat >conftest.
$ac_ext <<_ACEOF
12227 cat confdefs.h
>>conftest.
$ac_ext
12228 cat >>conftest.
$ac_ext <<_ACEOF
12229 /* end confdefs.h. */
12239 rm -f conftest.
$ac_objext
12240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12241 (eval $ac_compile) 2>conftest.er1
12243 grep -v '^ *+' conftest.er1
>conftest.err
12245 cat conftest.err
>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); } &&
12248 { ac_try
='test -z "$ac_cxx_werror_flag"
12249 || test ! -s conftest.err'
12250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12251 (eval $ac_try) 2>&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); }; } &&
12255 { ac_try
='test -s conftest.$ac_objext'
12256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12257 (eval $ac_try) 2>&5
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); }; }; then
12261 ac_cv_prog_cxx_g
=yes
12263 echo "$as_me: failed program was:" >&5
12264 sed 's/^/| /' conftest.
$ac_ext >&5
12266 ac_cv_prog_cxx_g
=no
12268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12270 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12271 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12272 if test "$ac_test_CXXFLAGS" = set; then
12273 CXXFLAGS
=$ac_save_CXXFLAGS
12274 elif test $ac_cv_prog_cxx_g = yes; then
12275 if test "$GXX" = yes; then
12281 if test "$GXX" = yes; then
12287 for ac_declaration
in \
12289 'extern "C" void std::exit (int) throw (); using std::exit;' \
12290 'extern "C" void std::exit (int); using std::exit;' \
12291 'extern "C" void exit (int) throw ();' \
12292 'extern "C" void exit (int);' \
12295 cat >conftest.
$ac_ext <<_ACEOF
12298 cat confdefs.h
>>conftest.
$ac_ext
12299 cat >>conftest.
$ac_ext <<_ACEOF
12300 /* end confdefs.h. */
12302 #include <stdlib.h>
12311 rm -f conftest.
$ac_objext
12312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12313 (eval $ac_compile) 2>conftest.er1
12315 grep -v '^ *+' conftest.er1
>conftest.err
12317 cat conftest.err
>&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } &&
12320 { ac_try
='test -z "$ac_cxx_werror_flag"
12321 || test ! -s conftest.err'
12322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12323 (eval $ac_try) 2>&5
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); }; } &&
12327 { ac_try
='test -s conftest.$ac_objext'
12328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12329 (eval $ac_try) 2>&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); }; }; then
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.
$ac_ext >&5
12340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12341 cat >conftest.
$ac_ext <<_ACEOF
12344 cat confdefs.h
>>conftest.
$ac_ext
12345 cat >>conftest.
$ac_ext <<_ACEOF
12346 /* end confdefs.h. */
12356 rm -f conftest.
$ac_objext
12357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12358 (eval $ac_compile) 2>conftest.er1
12360 grep -v '^ *+' conftest.er1
>conftest.err
12362 cat conftest.err
>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); } &&
12365 { ac_try
='test -z "$ac_cxx_werror_flag"
12366 || test ! -s conftest.err'
12367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368 (eval $ac_try) 2>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; } &&
12372 { ac_try
='test -s conftest.$ac_objext'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; }; then
12380 echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.
$ac_ext >&5
12384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12387 if test -n "$ac_declaration"; then
12388 echo '#ifdef __cplusplus' >>confdefs.h
12389 echo $ac_declaration >>confdefs.h
12390 echo '#endif' >>confdefs.h
12394 ac_cpp
='$CXXCPP $CPPFLAGS'
12395 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12396 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12397 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12399 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12400 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12401 if test "${wx_cv_cxx_exto+set}" = set; then
12402 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 cat >conftest.
$ac_ext <<_ACEOF
12407 cat confdefs.h
>>conftest.
$ac_ext
12408 cat >>conftest.
$ac_ext <<_ACEOF
12409 /* end confdefs.h. */
12419 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12421 (eval $ac_compile) 2>&5
12423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12424 (exit $ac_status); }; then
12425 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12427 conftest.
$ac_ext.o
)
12428 wx_cv_cxx_exto
="-ext o"
12435 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12436 See \`config.log' for more details." >&5
12437 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12438 See \`config.log' for more details." >&2;}
12439 { (exit 1); exit 1; }; }
12443 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12446 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12447 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12448 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12449 if test "cxx" = "c"; then
12450 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12452 if test "cxx" = "cxx"; then
12453 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12457 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12458 unset ac_cv_prog_cxx_g
12459 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12460 ac_save_CXXFLAGS
=$CXXFLAGS
12462 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12463 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12464 if test "${ac_cv_prog_cxx_g+set}" = set; then
12465 echo $ECHO_N "(cached) $ECHO_C" >&6
12467 cat >conftest.
$ac_ext <<_ACEOF
12470 cat confdefs.h
>>conftest.
$ac_ext
12471 cat >>conftest.
$ac_ext <<_ACEOF
12472 /* end confdefs.h. */
12482 rm -f conftest.
$ac_objext
12483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12484 (eval $ac_compile) 2>conftest.er1
12486 grep -v '^ *+' conftest.er1
>conftest.err
12488 cat conftest.err
>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); } &&
12491 { ac_try
='test -z "$ac_cxx_werror_flag"
12492 || test ! -s conftest.err'
12493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12494 (eval $ac_try) 2>&5
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); }; } &&
12498 { ac_try
='test -s conftest.$ac_objext'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; }; then
12504 ac_cv_prog_cxx_g
=yes
12506 echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.
$ac_ext >&5
12509 ac_cv_prog_cxx_g
=no
12511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12513 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12514 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12515 if test "$ac_test_CXXFLAGS" = set; then
12516 CXXFLAGS
=$ac_save_CXXFLAGS
12517 elif test $ac_cv_prog_cxx_g = yes; then
12518 if test "$GXX" = yes; then
12524 if test "$GXX" = yes; then
12533 ac_cpp
='$CXXCPP $CPPFLAGS'
12534 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12535 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12536 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12538 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12539 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12540 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12541 echo $ECHO_N "(cached) $ECHO_C" >&6
12543 cat >conftest.
$ac_ext <<_ACEOF
12546 cat confdefs.h
>>conftest.
$ac_ext
12547 cat >>conftest.
$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12561 rm -f conftest.
$ac_objext
12562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12563 (eval $ac_compile) 2>conftest.er1
12565 grep -v '^ *+' conftest.er1
>conftest.err
12567 cat conftest.err
>&5
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 (exit $ac_status); } &&
12570 { ac_try
='test -z "$ac_cxx_werror_flag"
12571 || 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 bakefile_compiler_mwerks
=yes
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.
$ac_ext >&5
12588 bakefile_compiler_mwerks
=no
12590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12591 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12594 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12595 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12597 MWCXX
=`test $bakefile_compiler_mwerks = yes && echo yes`
12599 ac_cpp
='$CXXCPP $CPPFLAGS'
12600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12606 ac_cpp
='$CXXCPP $CPPFLAGS'
12607 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12608 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12609 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12611 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12612 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12613 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12614 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 cat >conftest.
$ac_ext <<_ACEOF
12619 cat confdefs.h
>>conftest.
$ac_ext
12620 cat >>conftest.
$ac_ext <<_ACEOF
12621 /* end confdefs.h. */
12634 rm -f conftest.
$ac_objext
12635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12636 (eval $ac_compile) 2>conftest.er1
12638 grep -v '^ *+' conftest.er1
>conftest.err
12640 cat conftest.err
>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); } &&
12643 { ac_try
='test -z "$ac_cxx_werror_flag"
12644 || test ! -s conftest.err'
12645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12646 (eval $ac_try) 2>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; } &&
12650 { ac_try
='test -s conftest.$ac_objext'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; }; then
12656 wx_compiler_xlc
=yes
12658 echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.
$ac_ext >&5
12663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12664 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12667 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12668 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12670 XLCXX
=`test $wx_compiler_xlc = yes && echo yes`
12672 ac_cpp
='$CXXCPP $CPPFLAGS'
12673 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12674 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12675 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12680 ac_cpp
='$CPP $CPPFLAGS'
12681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12686 if test -n "$ac_tool_prefix"; then
12687 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12688 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12689 echo "$as_me:$LINENO: checking for $ac_word" >&5
12690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12691 if test "${ac_cv_prog_RANLIB+set}" = set; then
12692 echo $ECHO_N "(cached) $ECHO_C" >&6
12694 if test -n "$RANLIB"; then
12695 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12698 for as_dir
in $PATH
12701 test -z "$as_dir" && as_dir
=.
12702 for ac_exec_ext
in '' $ac_executable_extensions; do
12703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12704 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12713 RANLIB
=$ac_cv_prog_RANLIB
12714 if test -n "$RANLIB"; then
12715 echo "$as_me:$LINENO: result: $RANLIB" >&5
12716 echo "${ECHO_T}$RANLIB" >&6
12718 echo "$as_me:$LINENO: result: no" >&5
12719 echo "${ECHO_T}no" >&6
12723 if test -z "$ac_cv_prog_RANLIB"; then
12724 ac_ct_RANLIB
=$RANLIB
12725 # Extract the first word of "ranlib", so it can be a program name with args.
12726 set dummy ranlib
; ac_word
=$2
12727 echo "$as_me:$LINENO: checking for $ac_word" >&5
12728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12729 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12730 echo $ECHO_N "(cached) $ECHO_C" >&6
12732 if test -n "$ac_ct_RANLIB"; then
12733 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12736 for as_dir
in $PATH
12739 test -z "$as_dir" && as_dir
=.
12740 for ac_exec_ext
in '' $ac_executable_extensions; do
12741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12742 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12749 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12752 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12753 if test -n "$ac_ct_RANLIB"; then
12754 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12755 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12757 echo "$as_me:$LINENO: result: no" >&5
12758 echo "${ECHO_T}no" >&6
12761 RANLIB
=$ac_ct_RANLIB
12763 RANLIB
="$ac_cv_prog_RANLIB"
12767 # Extract the first word of "ar", so it can be a program name with args.
12768 set dummy
ar; ac_word
=$2
12769 echo "$as_me:$LINENO: checking for $ac_word" >&5
12770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12771 if test "${ac_cv_prog_AR+set}" = set; then
12772 echo $ECHO_N "(cached) $ECHO_C" >&6
12774 if test -n "$AR"; then
12775 ac_cv_prog_AR
="$AR" # Let the user override the test.
12777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12778 for as_dir
in $PATH
12781 test -z "$as_dir" && as_dir
=.
12782 for ac_exec_ext
in '' $ac_executable_extensions; do
12783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12794 if test -n "$AR"; then
12795 echo "$as_me:$LINENO: result: $AR" >&5
12796 echo "${ECHO_T}$AR" >&6
12798 echo "$as_me:$LINENO: result: no" >&5
12799 echo "${ECHO_T}no" >&6
12802 if test "x$AR" = "x" ; then
12803 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12804 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12805 { (exit 1); exit 1; }; }
12808 # Find a good install program. We prefer a C program (faster),
12809 # so one script is as good as another. But avoid the broken or
12810 # incompatible versions:
12811 # SysV /etc/install, /usr/sbin/install
12812 # SunOS /usr/etc/install
12813 # IRIX /sbin/install
12815 # AmigaOS /C/install, which installs bootblocks on floppy discs
12816 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12817 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12818 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12819 # OS/2's system install, which has a completely different semantic
12820 # ./install, which can be erroneously created by make from ./install.sh.
12821 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12822 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12823 if test -z "$INSTALL"; then
12824 if test "${ac_cv_path_install+set}" = set; then
12825 echo $ECHO_N "(cached) $ECHO_C" >&6
12827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12828 for as_dir
in $PATH
12831 test -z "$as_dir" && as_dir
=.
12832 # Account for people who put trailing slashes in PATH elements.
12834 .
/ | .
// | /cC
/* | \
12835 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12836 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12839 # OSF1 and SCO ODT 3.0 have their own names for install.
12840 # Don't use installbsd from OSF since it installs stuff as root
12842 for ac_prog
in ginstall scoinst
install; do
12843 for ac_exec_ext
in '' $ac_executable_extensions; do
12844 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12845 if test $ac_prog = install &&
12846 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12847 # AIX install. It has an incompatible calling convention.
12849 elif test $ac_prog = install &&
12850 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12851 # program-specific install script used by HP pwplus--don't use.
12854 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12866 if test "${ac_cv_path_install+set}" = set; then
12867 INSTALL
=$ac_cv_path_install
12869 # As a last resort, use the slow shell script. We don't cache a
12870 # path for INSTALL within a source directory, because that will
12871 # break other packages using the cache if that directory is
12872 # removed, or if the path is relative.
12873 INSTALL
=$ac_install_sh
12876 echo "$as_me:$LINENO: result: $INSTALL" >&5
12877 echo "${ECHO_T}$INSTALL" >&6
12879 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12880 # It thinks the first close brace ends the variable substitution.
12881 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12883 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12885 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12891 ?
:* ) # Drive letter, considered as absolute.
12894 INSTALL
=`pwd`/${INSTALL} ;;
12900 powerpc
-*-darwin* )
12901 INSTALL_PROGRAM
="cp -fp"
12902 INSTALL_DATA
="cp -fp"
12908 # Extract the first word of "strip", so it can be a program name with args.
12909 set dummy strip
; ac_word
=$2
12910 echo "$as_me:$LINENO: checking for $ac_word" >&5
12911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12912 if test "${ac_cv_prog_STRIP+set}" = set; then
12913 echo $ECHO_N "(cached) $ECHO_C" >&6
12915 if test -n "$STRIP"; then
12916 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12919 for as_dir
in $PATH
12922 test -z "$as_dir" && as_dir
=.
12923 for ac_exec_ext
in '' $ac_executable_extensions; do
12924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12925 ac_cv_prog_STRIP
="strip"
12926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12932 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12935 STRIP
=$ac_cv_prog_STRIP
12936 if test -n "$STRIP"; then
12937 echo "$as_me:$LINENO: result: $STRIP" >&5
12938 echo "${ECHO_T}$STRIP" >&6
12940 echo "$as_me:$LINENO: result: no" >&5
12941 echo "${ECHO_T}no" >&6
12945 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12946 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12947 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12952 egrep -s GNU
> /dev
/null
); then
12953 wx_cv_prog_makeisgnu
="yes"
12955 wx_cv_prog_makeisgnu
="no"
12959 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12960 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12962 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12970 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12971 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12972 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12973 if test "${wx_cv_prog_makevpath+set}" = set; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 cat - << EOF > confMake
12983 if test ! -d sub
; then
12986 echo dummy
> sub
/file
12987 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12989 rm -f sub
/file check final_file confMake
12991 if test "$RESULT" = 0; then
12992 wx_cv_prog_makevpath
="yes"
12994 wx_cv_prog_makevpath
="no"
12998 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12999 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13001 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13002 { { echo "$as_me:$LINENO: error:
13003 You need a make-utility that is able to use the variable
13005 If your version of make does not support VPATH correctly,
13006 please install GNU-make (possibly as gmake), and start
13007 configure with the following command:
13008 export MAKE=gmake; ./configure for sh-type shells
13009 setenv MAKE gmake; ./configure for csh-type shells
13010 Also please do remember to use gmake in this case every time
13011 you are trying to compile.
13013 echo "$as_me: error:
13014 You need a make-utility that is able to use the variable
13016 If your version of make does not support VPATH correctly,
13017 please install GNU-make (possibly as gmake), and start
13018 configure with the following command:
13019 export MAKE=gmake; ./configure for sh-type shells
13020 setenv MAKE gmake; ./configure for csh-type shells
13021 Also please do remember to use gmake in this case every time
13022 you are trying to compile.
13024 { (exit 1); exit 1; }; }
13026 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13027 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13029 if test "$LN_S" = "ln -s"; then
13030 echo "$as_me:$LINENO: result: yes" >&5
13031 echo "${ECHO_T}yes" >&6
13033 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13034 echo "${ECHO_T}no, using $LN_S" >&6
13039 if test "x$XLCXX" = "xyes"; then
13040 CXXFLAGS
="$CXXFLAGS -qunique"
13045 powerpc
-*-darwin* )
13046 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13047 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13048 cat >conftest.
$ac_ext <<_ACEOF
13051 cat confdefs.h
>>conftest.
$ac_ext
13052 cat >>conftest.
$ac_ext <<_ACEOF
13053 /* end confdefs.h. */
13058 #ifndef __POWERPC__
13059 choke me for lack of PowerPC
13066 rm -f conftest.
$ac_objext
13067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13068 (eval $ac_compile) 2>conftest.er1
13070 grep -v '^ *+' conftest.er1
>conftest.err
13072 cat conftest.err
>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); } &&
13075 { ac_try
='test -z "$ac_c_werror_flag"
13076 || test ! -s conftest.err'
13077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13078 (eval $ac_try) 2>&5
13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); }; } &&
13082 { ac_try
='test -s conftest.$ac_objext'
13083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13084 (eval $ac_try) 2>&5
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); }; }; then
13088 echo "$as_me:$LINENO: result: yes" >&5
13089 echo "${ECHO_T}yes" >&6
13091 echo "$as_me: failed program was:" >&5
13092 sed 's/^/| /' conftest.
$ac_ext >&5
13094 echo "$as_me:$LINENO: result: no" >&5
13095 echo "${ECHO_T}no" >&6
13096 cat >>confdefs.h
<<\_ACEOF
13097 #define __POWERPC__ 1
13102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13103 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13104 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13105 cat >conftest.
$ac_ext <<_ACEOF
13108 cat confdefs.h
>>conftest.
$ac_ext
13109 cat >>conftest.
$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13111 #include <CoreFoundation/CFBase.h>
13121 rm -f conftest.
$ac_objext
13122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13123 (eval $ac_compile) 2>conftest.er1
13125 grep -v '^ *+' conftest.er1
>conftest.err
13127 cat conftest.err
>&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); } &&
13130 { ac_try
='test -z "$ac_c_werror_flag"
13131 || test ! -s conftest.err'
13132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13133 (eval $ac_try) 2>&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); }; } &&
13137 { ac_try
='test -s conftest.$ac_objext'
13138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13139 (eval $ac_try) 2>&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); }; }; then
13143 echo "$as_me:$LINENO: result: yes" >&5
13144 echo "${ECHO_T}yes" >&6
13146 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.
$ac_ext >&5
13149 echo "$as_me:$LINENO: result: no" >&5
13150 echo "${ECHO_T}no" >&6
13151 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13152 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13153 cat >conftest.
$ac_ext <<_ACEOF
13156 cat confdefs.h
>>conftest.
$ac_ext
13157 cat >>conftest.
$ac_ext <<_ACEOF
13158 /* end confdefs.h. */
13159 #define __CF_USE_FRAMEWORK_INCLUDES__
13160 #include <CoreFoundation/CFBase.h>
13170 rm -f conftest.
$ac_objext
13171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13172 (eval $ac_compile) 2>conftest.er1
13174 grep -v '^ *+' conftest.er1
>conftest.err
13176 cat conftest.err
>&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); } &&
13179 { ac_try
='test -z "$ac_c_werror_flag"
13180 || test ! -s conftest.err'
13181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13182 (eval $ac_try) 2>&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); }; } &&
13186 { ac_try
='test -s conftest.$ac_objext'
13187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13188 (eval $ac_try) 2>&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); }; }; then
13192 echo "$as_me:$LINENO: result: yes" >&5
13193 echo "${ECHO_T}yes" >&6
13194 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13196 echo "$as_me: failed program was:" >&5
13197 sed 's/^/| /' conftest.
$ac_ext >&5
13199 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13200 See \`config.log' for more details." >&5
13201 echo "$as_me: error: no. CoreFoundation not available.
13202 See \`config.log' for more details." >&2;}
13203 { (exit 1); exit 1; }; }
13206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13215 *-pc-os2_emx | *-pc-os2-emx )
13216 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13217 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13218 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13219 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13220 echo $ECHO_N "(cached) $ECHO_C" >&6
13222 ac_check_lib_save_LIBS
=$LIBS
13223 LIBS
="-lcExt $LIBS"
13224 cat >conftest.
$ac_ext <<_ACEOF
13227 cat confdefs.h
>>conftest.
$ac_ext
13228 cat >>conftest.
$ac_ext <<_ACEOF
13229 /* end confdefs.h. */
13231 /* Override any gcc2 internal prototype to avoid an error. */
13235 /* We use char because int might match the return type of a gcc2
13236 builtin and then its argument prototype would still apply. */
13246 rm -f conftest.
$ac_objext conftest
$ac_exeext
13247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13248 (eval $ac_link) 2>conftest.er1
13250 grep -v '^ *+' conftest.er1
>conftest.err
13252 cat conftest.err
>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); } &&
13255 { ac_try
='test -z "$ac_c_werror_flag"
13256 || test ! -s conftest.err'
13257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258 (eval $ac_try) 2>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }; } &&
13262 { ac_try
='test -s conftest$ac_exeext'
13263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13264 (eval $ac_try) 2>&5
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); }; }; then
13268 ac_cv_lib_cExt_drand48
=yes
13270 echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.
$ac_ext >&5
13273 ac_cv_lib_cExt_drand48
=no
13275 rm -f conftest.err conftest.
$ac_objext \
13276 conftest
$ac_exeext conftest.
$ac_ext
13277 LIBS
=$ac_check_lib_save_LIBS
13279 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13280 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13281 if test $ac_cv_lib_cExt_drand48 = yes; then
13282 LIBS
="$LIBS -lcExt"
13286 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13288 echo "$as_me:$LINENO: checking for gcc version" >&5
13289 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
13290 if test "${wx_cv_gccversion+set}" = set; then
13291 echo $ECHO_N "(cached) $ECHO_C" >&6
13294 if test "$cross_compiling" = yes; then
13295 wx_cv_gccversion
="EMX2"
13298 cat >conftest.
$ac_ext <<_ACEOF
13301 cat confdefs.h
>>conftest.
$ac_ext
13302 cat >>conftest.
$ac_ext <<_ACEOF
13303 /* end confdefs.h. */
13309 FILE *f=fopen("conftestval", "w");
13314 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13316 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13326 rm -f conftest
$ac_exeext
13327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13328 (eval $ac_link) 2>&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13333 (eval $ac_try) 2>&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); }; }; then
13337 wx_cv_gccversion
=`cat conftestval`
13339 echo "$as_me: program exited with status $ac_status" >&5
13340 echo "$as_me: failed program was:" >&5
13341 sed 's/^/| /' conftest.
$ac_ext >&5
13343 ( exit $ac_status )
13344 wx_cv_gccversion
="EMX2"
13346 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13350 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13351 echo "${ECHO_T}$wx_cv_gccversion" >&6
13352 if test "$wx_cv_gccversion" = "EMX2"; then
13353 LIBS
="$LIBS -lstdcpp"
13354 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13356 if test "$wx_cv_gccversion" = "EMX3"; then
13357 LIBS
="$LIBS -lstdcxx"
13358 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13360 LIBS
="$LIBS -lstdc++"
13363 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13364 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13365 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13369 if test "$wxUSE_OMF" = "yes"; then
13370 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK -Zlinker /PMTYPE:PM"
13378 ac_cpp
='$CXXCPP $CPPFLAGS'
13379 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13380 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13381 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13384 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13385 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13386 if test "${ac_cv_string_strcasecmp+set}" = set; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13390 cat >conftest.
$ac_ext <<_ACEOF
13393 cat confdefs.h
>>conftest.
$ac_ext
13394 cat >>conftest.
$ac_ext <<_ACEOF
13395 /* end confdefs.h. */
13397 #include <string.h>
13403 strcasecmp("foo", "bar");
13409 rm -f conftest.
$ac_objext conftest
$ac_exeext
13410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13411 (eval $ac_link) 2>conftest.er1
13413 grep -v '^ *+' conftest.er1
>conftest.err
13415 cat conftest.err
>&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); } &&
13418 { ac_try
='test -z "$ac_cxx_werror_flag"
13419 || test ! -s conftest.err'
13420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13421 (eval $ac_try) 2>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; } &&
13425 { ac_try
='test -s conftest$ac_exeext'
13426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13427 (eval $ac_try) 2>&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); }; }; then
13431 ac_cv_string_strcasecmp
=yes
13433 echo "$as_me: failed program was:" >&5
13434 sed 's/^/| /' conftest.
$ac_ext >&5
13436 ac_cv_string_strcasecmp
=no
13439 rm -f conftest.err conftest.
$ac_objext \
13440 conftest
$ac_exeext conftest.
$ac_ext
13443 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13444 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13446 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13447 cat >>confdefs.h
<<\_ACEOF
13448 #define HAVE_STRCASECMP_IN_STRING_H 1
13452 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13453 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13454 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 cat >conftest.
$ac_ext <<_ACEOF
13461 cat confdefs.h
>>conftest.
$ac_ext
13462 cat >>conftest.
$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13465 #include <strings.h>
13471 strcasecmp("foo", "bar");
13477 rm -f conftest.
$ac_objext conftest
$ac_exeext
13478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13479 (eval $ac_link) 2>conftest.er1
13481 grep -v '^ *+' conftest.er1
>conftest.err
13483 cat conftest.err
>&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } &&
13486 { ac_try
='test -z "$ac_cxx_werror_flag"
13487 || test ! -s conftest.err'
13488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13489 (eval $ac_try) 2>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; } &&
13493 { ac_try
='test -s conftest$ac_exeext'
13494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13495 (eval $ac_try) 2>&5
13497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498 (exit $ac_status); }; }; then
13499 ac_cv_strings_strcasecmp
=yes
13501 echo "$as_me: failed program was:" >&5
13502 sed 's/^/| /' conftest.
$ac_ext >&5
13504 ac_cv_strings_strcasecmp
=no
13507 rm -f conftest.err conftest.
$ac_objext \
13508 conftest
$ac_exeext conftest.
$ac_ext
13511 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13512 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13514 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13515 cat >>confdefs.h
<<\_ACEOF
13516 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13520 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13521 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13522 { (exit 1); exit 1; }; }
13527 ac_cpp
='$CPP $CPPFLAGS'
13528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13536 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13537 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13538 if test "${ac_cv_header_stdc+set}" = set; then
13539 echo $ECHO_N "(cached) $ECHO_C" >&6
13541 cat >conftest.
$ac_ext <<_ACEOF
13544 cat confdefs.h
>>conftest.
$ac_ext
13545 cat >>conftest.
$ac_ext <<_ACEOF
13546 /* end confdefs.h. */
13547 #include <stdlib.h>
13548 #include <stdarg.h>
13549 #include <string.h>
13560 rm -f conftest.
$ac_objext
13561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13562 (eval $ac_compile) 2>conftest.er1
13564 grep -v '^ *+' conftest.er1
>conftest.err
13566 cat conftest.err
>&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); } &&
13569 { ac_try
='test -z "$ac_c_werror_flag"
13570 || test ! -s conftest.err'
13571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13572 (eval $ac_try) 2>&5
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); }; } &&
13576 { ac_try
='test -s conftest.$ac_objext'
13577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13578 (eval $ac_try) 2>&5
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); }; }; then
13582 ac_cv_header_stdc
=yes
13584 echo "$as_me: failed program was:" >&5
13585 sed 's/^/| /' conftest.
$ac_ext >&5
13587 ac_cv_header_stdc
=no
13589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13591 if test $ac_cv_header_stdc = yes; then
13592 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13593 cat >conftest.
$ac_ext <<_ACEOF
13596 cat confdefs.h
>>conftest.
$ac_ext
13597 cat >>conftest.
$ac_ext <<_ACEOF
13598 /* end confdefs.h. */
13599 #include <string.h>
13602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13603 $EGREP "memchr" >/dev
/null
2>&1; then
13606 ac_cv_header_stdc
=no
13612 if test $ac_cv_header_stdc = yes; then
13613 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13614 cat >conftest.
$ac_ext <<_ACEOF
13617 cat confdefs.h
>>conftest.
$ac_ext
13618 cat >>conftest.
$ac_ext <<_ACEOF
13619 /* end confdefs.h. */
13620 #include <stdlib.h>
13623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13624 $EGREP "free" >/dev
/null
2>&1; then
13627 ac_cv_header_stdc
=no
13633 if test $ac_cv_header_stdc = yes; then
13634 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13635 if test "$cross_compiling" = yes; then
13638 cat >conftest.
$ac_ext <<_ACEOF
13641 cat confdefs.h
>>conftest.
$ac_ext
13642 cat >>conftest.
$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13645 #if ((' ' & 0x0FF) == 0x020)
13646 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13647 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13649 # define ISLOWER(c) \
13650 (('a' <= (c) && (c) <= 'i') \
13651 || ('j' <= (c) && (c) <= 'r') \
13652 || ('s' <= (c) && (c) <= 'z'))
13653 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13656 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13661 for (i = 0; i < 256; i++)
13662 if (XOR (islower (i), ISLOWER (i))
13663 || toupper (i) != TOUPPER (i))
13668 rm -f conftest
$ac_exeext
13669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13670 (eval $ac_link) 2>&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13675 (eval $ac_try) 2>&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); }; }; then
13681 echo "$as_me: program exited with status $ac_status" >&5
13682 echo "$as_me: failed program was:" >&5
13683 sed 's/^/| /' conftest.
$ac_ext >&5
13685 ( exit $ac_status )
13686 ac_cv_header_stdc
=no
13688 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13692 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13693 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13694 if test $ac_cv_header_stdc = yes; then
13696 cat >>confdefs.h
<<\_ACEOF
13697 #define STDC_HEADERS 1
13702 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13712 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13713 inttypes.h stdint.h unistd.h
13715 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13716 echo "$as_me:$LINENO: checking for $ac_header" >&5
13717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13719 echo $ECHO_N "(cached) $ECHO_C" >&6
13721 cat >conftest.
$ac_ext <<_ACEOF
13724 cat confdefs.h
>>conftest.
$ac_ext
13725 cat >>conftest.
$ac_ext <<_ACEOF
13726 /* end confdefs.h. */
13727 $ac_includes_default
13729 #include <$ac_header>
13731 rm -f conftest.
$ac_objext
13732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13733 (eval $ac_compile) 2>conftest.er1
13735 grep -v '^ *+' conftest.er1
>conftest.err
13737 cat conftest.err
>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try
='test -z "$ac_c_werror_flag"
13741 || test ! -s conftest.err'
13742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13743 (eval $ac_try) 2>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; } &&
13747 { ac_try
='test -s conftest.$ac_objext'
13748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13749 (eval $ac_try) 2>&5
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); }; }; then
13753 eval "$as_ac_Header=yes"
13755 echo "$as_me: failed program was:" >&5
13756 sed 's/^/| /' conftest.
$ac_ext >&5
13758 eval "$as_ac_Header=no"
13760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13765 cat >>confdefs.h
<<_ACEOF
13766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13775 for ac_header
in stdlib.h
13777 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13779 echo "$as_me:$LINENO: checking for $ac_header" >&5
13780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13782 echo $ECHO_N "(cached) $ECHO_C" >&6
13784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13787 # Is the header compilable?
13788 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13789 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13790 cat >conftest.
$ac_ext <<_ACEOF
13793 cat confdefs.h
>>conftest.
$ac_ext
13794 cat >>conftest.
$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13796 $ac_includes_default
13797 #include <$ac_header>
13799 rm -f conftest.
$ac_objext
13800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13801 (eval $ac_compile) 2>conftest.er1
13803 grep -v '^ *+' conftest.er1
>conftest.err
13805 cat conftest.err
>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } &&
13808 { ac_try
='test -z "$ac_c_werror_flag"
13809 || test ! -s conftest.err'
13810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13811 (eval $ac_try) 2>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); }; } &&
13815 { ac_try
='test -s conftest.$ac_objext'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; }; then
13821 ac_header_compiler
=yes
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.
$ac_ext >&5
13826 ac_header_compiler
=no
13828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13830 echo "${ECHO_T}$ac_header_compiler" >&6
13832 # Is the header present?
13833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13835 cat >conftest.
$ac_ext <<_ACEOF
13838 cat confdefs.h
>>conftest.
$ac_ext
13839 cat >>conftest.
$ac_ext <<_ACEOF
13840 /* end confdefs.h. */
13841 #include <$ac_header>
13843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13844 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13846 grep -v '^ *+' conftest.er1
>conftest.err
13848 cat conftest.err
>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); } >/dev
/null
; then
13851 if test -s conftest.err
; then
13852 ac_cpp_err
=$ac_c_preproc_warn_flag
13853 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13860 if test -z "$ac_cpp_err"; then
13861 ac_header_preproc
=yes
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.
$ac_ext >&5
13866 ac_header_preproc
=no
13868 rm -f conftest.err conftest.
$ac_ext
13869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13870 echo "${ECHO_T}$ac_header_preproc" >&6
13872 # So? What about this header?
13873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13879 ac_header_preproc
=yes
13882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13896 ## ----------------------------------------- ##
13897 ## Report this to wx-dev@lists.wxwidgets.org ##
13898 ## ----------------------------------------- ##
13901 sed "s/^/$as_me: WARNING: /" >&2
13904 echo "$as_me:$LINENO: checking for $ac_header" >&5
13905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13907 echo $ECHO_N "(cached) $ECHO_C" >&6
13909 eval "$as_ac_Header=\$ac_header_preproc"
13911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13916 cat >>confdefs.h
<<_ACEOF
13917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13925 for ac_header
in malloc.h
13927 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13929 echo "$as_me:$LINENO: checking for $ac_header" >&5
13930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13932 echo $ECHO_N "(cached) $ECHO_C" >&6
13934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13937 # Is the header compilable?
13938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13940 cat >conftest.
$ac_ext <<_ACEOF
13943 cat confdefs.h
>>conftest.
$ac_ext
13944 cat >>conftest.
$ac_ext <<_ACEOF
13945 /* end confdefs.h. */
13946 $ac_includes_default
13947 #include <$ac_header>
13949 rm -f conftest.
$ac_objext
13950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13951 (eval $ac_compile) 2>conftest.er1
13953 grep -v '^ *+' conftest.er1
>conftest.err
13955 cat conftest.err
>&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } &&
13958 { ac_try
='test -z "$ac_c_werror_flag"
13959 || test ! -s conftest.err'
13960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13961 (eval $ac_try) 2>&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); }; } &&
13965 { ac_try
='test -s conftest.$ac_objext'
13966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967 (eval $ac_try) 2>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }; }; then
13971 ac_header_compiler
=yes
13973 echo "$as_me: failed program was:" >&5
13974 sed 's/^/| /' conftest.
$ac_ext >&5
13976 ac_header_compiler
=no
13978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13980 echo "${ECHO_T}$ac_header_compiler" >&6
13982 # Is the header present?
13983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13985 cat >conftest.
$ac_ext <<_ACEOF
13988 cat confdefs.h
>>conftest.
$ac_ext
13989 cat >>conftest.
$ac_ext <<_ACEOF
13990 /* end confdefs.h. */
13991 #include <$ac_header>
13993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13994 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13996 grep -v '^ *+' conftest.er1
>conftest.err
13998 cat conftest.err
>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); } >/dev
/null
; then
14001 if test -s conftest.err
; then
14002 ac_cpp_err
=$ac_c_preproc_warn_flag
14003 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14010 if test -z "$ac_cpp_err"; then
14011 ac_header_preproc
=yes
14013 echo "$as_me: failed program was:" >&5
14014 sed 's/^/| /' conftest.
$ac_ext >&5
14016 ac_header_preproc
=no
14018 rm -f conftest.err conftest.
$ac_ext
14019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14020 echo "${ECHO_T}$ac_header_preproc" >&6
14022 # So? What about this header?
14023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14029 ac_header_preproc
=yes
14032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14046 ## ----------------------------------------- ##
14047 ## Report this to wx-dev@lists.wxwidgets.org ##
14048 ## ----------------------------------------- ##
14051 sed "s/^/$as_me: WARNING: /" >&2
14054 echo "$as_me:$LINENO: checking for $ac_header" >&5
14055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14059 eval "$as_ac_Header=\$ac_header_preproc"
14061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14066 cat >>confdefs.h
<<_ACEOF
14067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14075 for ac_header
in unistd.h
14077 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14079 echo "$as_me:$LINENO: checking for $ac_header" >&5
14080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14082 echo $ECHO_N "(cached) $ECHO_C" >&6
14084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14087 # Is the header compilable?
14088 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14089 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14090 cat >conftest.
$ac_ext <<_ACEOF
14093 cat confdefs.h
>>conftest.
$ac_ext
14094 cat >>conftest.
$ac_ext <<_ACEOF
14095 /* end confdefs.h. */
14096 $ac_includes_default
14097 #include <$ac_header>
14099 rm -f conftest.
$ac_objext
14100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14101 (eval $ac_compile) 2>conftest.er1
14103 grep -v '^ *+' conftest.er1
>conftest.err
14105 cat conftest.err
>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); } &&
14108 { ac_try
='test -z "$ac_c_werror_flag"
14109 || test ! -s conftest.err'
14110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14111 (eval $ac_try) 2>&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); }; } &&
14115 { ac_try
='test -s conftest.$ac_objext'
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 (eval $ac_try) 2>&5
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; }; then
14121 ac_header_compiler
=yes
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.
$ac_ext >&5
14126 ac_header_compiler
=no
14128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14130 echo "${ECHO_T}$ac_header_compiler" >&6
14132 # Is the header present?
14133 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14134 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14135 cat >conftest.
$ac_ext <<_ACEOF
14138 cat confdefs.h
>>conftest.
$ac_ext
14139 cat >>conftest.
$ac_ext <<_ACEOF
14140 /* end confdefs.h. */
14141 #include <$ac_header>
14143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14146 grep -v '^ *+' conftest.er1
>conftest.err
14148 cat conftest.err
>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); } >/dev
/null
; then
14151 if test -s conftest.err
; then
14152 ac_cpp_err
=$ac_c_preproc_warn_flag
14153 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14160 if test -z "$ac_cpp_err"; then
14161 ac_header_preproc
=yes
14163 echo "$as_me: failed program was:" >&5
14164 sed 's/^/| /' conftest.
$ac_ext >&5
14166 ac_header_preproc
=no
14168 rm -f conftest.err conftest.
$ac_ext
14169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14170 echo "${ECHO_T}$ac_header_preproc" >&6
14172 # So? What about this header?
14173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14178 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14179 ac_header_preproc
=yes
14182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14187 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14189 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14193 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14196 ## ----------------------------------------- ##
14197 ## Report this to wx-dev@lists.wxwidgets.org ##
14198 ## ----------------------------------------- ##
14201 sed "s/^/$as_me: WARNING: /" >&2
14204 echo "$as_me:$LINENO: checking for $ac_header" >&5
14205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14207 echo $ECHO_N "(cached) $ECHO_C" >&6
14209 eval "$as_ac_Header=\$ac_header_preproc"
14211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14216 cat >>confdefs.h
<<_ACEOF
14217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14225 for ac_header
in wchar.h
14227 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14229 echo "$as_me:$LINENO: checking for $ac_header" >&5
14230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14232 echo $ECHO_N "(cached) $ECHO_C" >&6
14234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14237 # Is the header compilable?
14238 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14239 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14240 cat >conftest.
$ac_ext <<_ACEOF
14243 cat confdefs.h
>>conftest.
$ac_ext
14244 cat >>conftest.
$ac_ext <<_ACEOF
14245 /* end confdefs.h. */
14246 $ac_includes_default
14247 #include <$ac_header>
14249 rm -f conftest.
$ac_objext
14250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14251 (eval $ac_compile) 2>conftest.er1
14253 grep -v '^ *+' conftest.er1
>conftest.err
14255 cat conftest.err
>&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); } &&
14258 { ac_try
='test -z "$ac_c_werror_flag"
14259 || test ! -s conftest.err'
14260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14261 (eval $ac_try) 2>&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); }; } &&
14265 { ac_try
='test -s conftest.$ac_objext'
14266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14267 (eval $ac_try) 2>&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); }; }; then
14271 ac_header_compiler
=yes
14273 echo "$as_me: failed program was:" >&5
14274 sed 's/^/| /' conftest.
$ac_ext >&5
14276 ac_header_compiler
=no
14278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14280 echo "${ECHO_T}$ac_header_compiler" >&6
14282 # Is the header present?
14283 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14284 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14285 cat >conftest.
$ac_ext <<_ACEOF
14288 cat confdefs.h
>>conftest.
$ac_ext
14289 cat >>conftest.
$ac_ext <<_ACEOF
14290 /* end confdefs.h. */
14291 #include <$ac_header>
14293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14294 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14296 grep -v '^ *+' conftest.er1
>conftest.err
14298 cat conftest.err
>&5
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); } >/dev
/null
; then
14301 if test -s conftest.err
; then
14302 ac_cpp_err
=$ac_c_preproc_warn_flag
14303 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14310 if test -z "$ac_cpp_err"; then
14311 ac_header_preproc
=yes
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.
$ac_ext >&5
14316 ac_header_preproc
=no
14318 rm -f conftest.err conftest.
$ac_ext
14319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14320 echo "${ECHO_T}$ac_header_preproc" >&6
14322 # So? What about this header?
14323 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14325 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14326 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14328 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14329 ac_header_preproc
=yes
14332 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14333 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14334 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14335 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14336 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14337 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14338 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14339 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14342 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14343 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14346 ## ----------------------------------------- ##
14347 ## Report this to wx-dev@lists.wxwidgets.org ##
14348 ## ----------------------------------------- ##
14351 sed "s/^/$as_me: WARNING: /" >&2
14354 echo "$as_me:$LINENO: checking for $ac_header" >&5
14355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14357 echo $ECHO_N "(cached) $ECHO_C" >&6
14359 eval "$as_ac_Header=\$ac_header_preproc"
14361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14366 cat >>confdefs.h
<<_ACEOF
14367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14375 if test "$ac_cv_header_wchar_h" != "yes"; then
14377 for ac_header
in wcstr.h
14379 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14381 echo "$as_me:$LINENO: checking for $ac_header" >&5
14382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14384 echo $ECHO_N "(cached) $ECHO_C" >&6
14386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14389 # Is the header compilable?
14390 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14391 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14392 cat >conftest.
$ac_ext <<_ACEOF
14395 cat confdefs.h
>>conftest.
$ac_ext
14396 cat >>conftest.
$ac_ext <<_ACEOF
14397 /* end confdefs.h. */
14398 $ac_includes_default
14399 #include <$ac_header>
14401 rm -f conftest.
$ac_objext
14402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14403 (eval $ac_compile) 2>conftest.er1
14405 grep -v '^ *+' conftest.er1
>conftest.err
14407 cat conftest.err
>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); } &&
14410 { ac_try
='test -z "$ac_c_werror_flag"
14411 || test ! -s conftest.err'
14412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14413 (eval $ac_try) 2>&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); }; } &&
14417 { ac_try
='test -s conftest.$ac_objext'
14418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14419 (eval $ac_try) 2>&5
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); }; }; then
14423 ac_header_compiler
=yes
14425 echo "$as_me: failed program was:" >&5
14426 sed 's/^/| /' conftest.
$ac_ext >&5
14428 ac_header_compiler
=no
14430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14432 echo "${ECHO_T}$ac_header_compiler" >&6
14434 # Is the header present?
14435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14437 cat >conftest.
$ac_ext <<_ACEOF
14440 cat confdefs.h
>>conftest.
$ac_ext
14441 cat >>conftest.
$ac_ext <<_ACEOF
14442 /* end confdefs.h. */
14443 #include <$ac_header>
14445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14446 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14448 grep -v '^ *+' conftest.er1
>conftest.err
14450 cat conftest.err
>&5
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); } >/dev
/null
; then
14453 if test -s conftest.err
; then
14454 ac_cpp_err
=$ac_c_preproc_warn_flag
14455 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14462 if test -z "$ac_cpp_err"; then
14463 ac_header_preproc
=yes
14465 echo "$as_me: failed program was:" >&5
14466 sed 's/^/| /' conftest.
$ac_ext >&5
14468 ac_header_preproc
=no
14470 rm -f conftest.err conftest.
$ac_ext
14471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14472 echo "${ECHO_T}$ac_header_preproc" >&6
14474 # So? What about this header?
14475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14480 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14481 ac_header_preproc
=yes
14484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14487 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14488 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14489 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14490 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14491 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14494 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14495 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14498 ## ----------------------------------------- ##
14499 ## Report this to wx-dev@lists.wxwidgets.org ##
14500 ## ----------------------------------------- ##
14503 sed "s/^/$as_me: WARNING: /" >&2
14506 echo "$as_me:$LINENO: checking for $ac_header" >&5
14507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 eval "$as_ac_Header=\$ac_header_preproc"
14513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14518 cat >>confdefs.h
<<_ACEOF
14519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14529 for ac_header
in fnmatch.h
14531 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14533 echo "$as_me:$LINENO: checking for $ac_header" >&5
14534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14536 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14541 # Is the header compilable?
14542 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14543 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14544 cat >conftest.
$ac_ext <<_ACEOF
14547 cat confdefs.h
>>conftest.
$ac_ext
14548 cat >>conftest.
$ac_ext <<_ACEOF
14549 /* end confdefs.h. */
14550 $ac_includes_default
14551 #include <$ac_header>
14553 rm -f conftest.
$ac_objext
14554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14555 (eval $ac_compile) 2>conftest.er1
14557 grep -v '^ *+' conftest.er1
>conftest.err
14559 cat conftest.err
>&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); } &&
14562 { ac_try
='test -z "$ac_c_werror_flag"
14563 || test ! -s conftest.err'
14564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14565 (eval $ac_try) 2>&5
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); }; } &&
14569 { ac_try
='test -s conftest.$ac_objext'
14570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14571 (eval $ac_try) 2>&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); }; }; then
14575 ac_header_compiler
=yes
14577 echo "$as_me: failed program was:" >&5
14578 sed 's/^/| /' conftest.
$ac_ext >&5
14580 ac_header_compiler
=no
14582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14583 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14584 echo "${ECHO_T}$ac_header_compiler" >&6
14586 # Is the header present?
14587 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14589 cat >conftest.
$ac_ext <<_ACEOF
14592 cat confdefs.h
>>conftest.
$ac_ext
14593 cat >>conftest.
$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595 #include <$ac_header>
14597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14598 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14600 grep -v '^ *+' conftest.er1
>conftest.err
14602 cat conftest.err
>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } >/dev
/null
; then
14605 if test -s conftest.err
; then
14606 ac_cpp_err
=$ac_c_preproc_warn_flag
14607 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14614 if test -z "$ac_cpp_err"; then
14615 ac_header_preproc
=yes
14617 echo "$as_me: failed program was:" >&5
14618 sed 's/^/| /' conftest.
$ac_ext >&5
14620 ac_header_preproc
=no
14622 rm -f conftest.err conftest.
$ac_ext
14623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14624 echo "${ECHO_T}$ac_header_preproc" >&6
14626 # So? What about this header?
14627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14629 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14630 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14632 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14633 ac_header_preproc
=yes
14636 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14637 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14638 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14639 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14640 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14641 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14642 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14643 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14645 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14646 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14647 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14650 ## ----------------------------------------- ##
14651 ## Report this to wx-dev@lists.wxwidgets.org ##
14652 ## ----------------------------------------- ##
14655 sed "s/^/$as_me: WARNING: /" >&2
14658 echo "$as_me:$LINENO: checking for $ac_header" >&5
14659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14661 echo $ECHO_N "(cached) $ECHO_C" >&6
14663 eval "$as_ac_Header=\$ac_header_preproc"
14665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14670 cat >>confdefs.h
<<_ACEOF
14671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14679 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14681 for ac_func
in fnmatch
14683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14684 echo "$as_me:$LINENO: checking for $ac_func" >&5
14685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14686 if eval "test \"\${$as_ac_var+set}\" = set"; then
14687 echo $ECHO_N "(cached) $ECHO_C" >&6
14689 cat >conftest.
$ac_ext <<_ACEOF
14692 cat confdefs.h
>>conftest.
$ac_ext
14693 cat >>conftest.
$ac_ext <<_ACEOF
14694 /* end confdefs.h. */
14695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14697 #define $ac_func innocuous_$ac_func
14699 /* System header to define __stub macros and hopefully few prototypes,
14700 which can conflict with char $ac_func (); below.
14701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14702 <limits.h> exists even on freestanding compilers. */
14705 # include <limits.h>
14707 # include <assert.h>
14712 /* Override any gcc2 internal prototype to avoid an error. */
14717 /* We use char because int might match the return type of a gcc2
14718 builtin and then its argument prototype would still apply. */
14720 /* The GNU C library defines this for functions which it implements
14721 to always fail with ENOSYS. Some functions are actually named
14722 something starting with __ and the normal name is an alias. */
14723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14726 char (*f) () = $ac_func;
14735 return f != $ac_func;
14740 rm -f conftest.
$ac_objext conftest
$ac_exeext
14741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14742 (eval $ac_link) 2>conftest.er1
14744 grep -v '^ *+' conftest.er1
>conftest.err
14746 cat conftest.err
>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); } &&
14749 { ac_try
='test -z "$ac_c_werror_flag"
14750 || test ! -s conftest.err'
14751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14752 (eval $ac_try) 2>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); }; } &&
14756 { ac_try
='test -s conftest$ac_exeext'
14757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14758 (eval $ac_try) 2>&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); }; }; then
14762 eval "$as_ac_var=yes"
14764 echo "$as_me: failed program was:" >&5
14765 sed 's/^/| /' conftest.
$ac_ext >&5
14767 eval "$as_ac_var=no"
14769 rm -f conftest.err conftest.
$ac_objext \
14770 conftest
$ac_exeext conftest.
$ac_ext
14772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14774 if test `eval echo '${'$as_ac_var'}'` = yes; then
14775 cat >>confdefs.h
<<_ACEOF
14776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14785 for ac_header
in langinfo.h
14787 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14789 echo "$as_me:$LINENO: checking for $ac_header" >&5
14790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14792 echo $ECHO_N "(cached) $ECHO_C" >&6
14794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14797 # Is the header compilable?
14798 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14799 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14800 cat >conftest.
$ac_ext <<_ACEOF
14803 cat confdefs.h
>>conftest.
$ac_ext
14804 cat >>conftest.
$ac_ext <<_ACEOF
14805 /* end confdefs.h. */
14806 $ac_includes_default
14807 #include <$ac_header>
14809 rm -f conftest.
$ac_objext
14810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14811 (eval $ac_compile) 2>conftest.er1
14813 grep -v '^ *+' conftest.er1
>conftest.err
14815 cat conftest.err
>&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); } &&
14818 { ac_try
='test -z "$ac_c_werror_flag"
14819 || test ! -s conftest.err'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; } &&
14825 { ac_try
='test -s conftest.$ac_objext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 ac_header_compiler
=yes
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.
$ac_ext >&5
14836 ac_header_compiler
=no
14838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14839 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14840 echo "${ECHO_T}$ac_header_compiler" >&6
14842 # Is the header present?
14843 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14844 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14845 cat >conftest.
$ac_ext <<_ACEOF
14848 cat confdefs.h
>>conftest.
$ac_ext
14849 cat >>conftest.
$ac_ext <<_ACEOF
14850 /* end confdefs.h. */
14851 #include <$ac_header>
14853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14854 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14856 grep -v '^ *+' conftest.er1
>conftest.err
14858 cat conftest.err
>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); } >/dev
/null
; then
14861 if test -s conftest.err
; then
14862 ac_cpp_err
=$ac_c_preproc_warn_flag
14863 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14870 if test -z "$ac_cpp_err"; then
14871 ac_header_preproc
=yes
14873 echo "$as_me: failed program was:" >&5
14874 sed 's/^/| /' conftest.
$ac_ext >&5
14876 ac_header_preproc
=no
14878 rm -f conftest.err conftest.
$ac_ext
14879 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14880 echo "${ECHO_T}$ac_header_preproc" >&6
14882 # So? What about this header?
14883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14885 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14886 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14888 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14889 ac_header_preproc
=yes
14892 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14894 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14896 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14897 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14898 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14899 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14902 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14903 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14906 ## ----------------------------------------- ##
14907 ## Report this to wx-dev@lists.wxwidgets.org ##
14908 ## ----------------------------------------- ##
14911 sed "s/^/$as_me: WARNING: /" >&2
14914 echo "$as_me:$LINENO: checking for $ac_header" >&5
14915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14917 echo $ECHO_N "(cached) $ECHO_C" >&6
14919 eval "$as_ac_Header=\$ac_header_preproc"
14921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14926 cat >>confdefs.h
<<_ACEOF
14927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14936 *-pc-os2_emx | *-pc-os2-emx )
14937 if test $ac_cv_header_langinfo_h = "yes" \
14938 -a \
( "$wx_cv_gccversion" = "EMX2" \
14939 -o "$wx_cv_gccversion" = "EMX3" \
14940 -o "$wx_cv_gccversion" = "Innotek5" \
); then
14941 LIBS
="$LIBS -lintl"
14946 if test "$wxUSE_GUI" = "yes"; then
14947 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14949 for ac_header
in X
11/Xlib.h
14951 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14953 echo "$as_me:$LINENO: checking for $ac_header" >&5
14954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14956 echo $ECHO_N "(cached) $ECHO_C" >&6
14958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14961 # Is the header compilable?
14962 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14963 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14964 cat >conftest.
$ac_ext <<_ACEOF
14967 cat confdefs.h
>>conftest.
$ac_ext
14968 cat >>conftest.
$ac_ext <<_ACEOF
14969 /* end confdefs.h. */
14970 $ac_includes_default
14971 #include <$ac_header>
14973 rm -f conftest.
$ac_objext
14974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14975 (eval $ac_compile) 2>conftest.er1
14977 grep -v '^ *+' conftest.er1
>conftest.err
14979 cat conftest.err
>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } &&
14982 { ac_try
='test -z "$ac_c_werror_flag"
14983 || test ! -s conftest.err'
14984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14985 (eval $ac_try) 2>&5
14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); }; } &&
14989 { ac_try
='test -s conftest.$ac_objext'
14990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14991 (eval $ac_try) 2>&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); }; }; then
14995 ac_header_compiler
=yes
14997 echo "$as_me: failed program was:" >&5
14998 sed 's/^/| /' conftest.
$ac_ext >&5
15000 ac_header_compiler
=no
15002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15004 echo "${ECHO_T}$ac_header_compiler" >&6
15006 # Is the header present?
15007 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15009 cat >conftest.
$ac_ext <<_ACEOF
15012 cat confdefs.h
>>conftest.
$ac_ext
15013 cat >>conftest.
$ac_ext <<_ACEOF
15014 /* end confdefs.h. */
15015 #include <$ac_header>
15017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15018 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15020 grep -v '^ *+' conftest.er1
>conftest.err
15022 cat conftest.err
>&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); } >/dev
/null
; then
15025 if test -s conftest.err
; then
15026 ac_cpp_err
=$ac_c_preproc_warn_flag
15027 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15034 if test -z "$ac_cpp_err"; then
15035 ac_header_preproc
=yes
15037 echo "$as_me: failed program was:" >&5
15038 sed 's/^/| /' conftest.
$ac_ext >&5
15040 ac_header_preproc
=no
15042 rm -f conftest.err conftest.
$ac_ext
15043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15044 echo "${ECHO_T}$ac_header_preproc" >&6
15046 # So? What about this header?
15047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15052 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15053 ac_header_preproc
=yes
15056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15060 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15061 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15062 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15063 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15066 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15067 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15070 ## ----------------------------------------- ##
15071 ## Report this to wx-dev@lists.wxwidgets.org ##
15072 ## ----------------------------------------- ##
15075 sed "s/^/$as_me: WARNING: /" >&2
15078 echo "$as_me:$LINENO: checking for $ac_header" >&5
15079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15083 eval "$as_ac_Header=\$ac_header_preproc"
15085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15090 cat >>confdefs.h
<<_ACEOF
15091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15099 for ac_header
in X
11/XKBlib.h
15101 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15102 echo "$as_me:$LINENO: checking for $ac_header" >&5
15103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15105 echo $ECHO_N "(cached) $ECHO_C" >&6
15107 cat >conftest.
$ac_ext <<_ACEOF
15110 cat confdefs.h
>>conftest.
$ac_ext
15111 cat >>conftest.
$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15114 #if HAVE_X11_XLIB_H
15115 #include <X11/Xlib.h>
15119 #include <$ac_header>
15121 rm -f conftest.
$ac_objext
15122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15123 (eval $ac_compile) 2>conftest.er1
15125 grep -v '^ *+' conftest.er1
>conftest.err
15127 cat conftest.err
>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } &&
15130 { ac_try
='test -z "$ac_c_werror_flag"
15131 || test ! -s conftest.err'
15132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15133 (eval $ac_try) 2>&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); }; } &&
15137 { ac_try
='test -s conftest.$ac_objext'
15138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15139 (eval $ac_try) 2>&5
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); }; }; then
15143 eval "$as_ac_Header=yes"
15145 echo "$as_me: failed program was:" >&5
15146 sed 's/^/| /' conftest.
$ac_ext >&5
15148 eval "$as_ac_Header=no"
15150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15155 cat >>confdefs.h
<<_ACEOF
15156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15167 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15168 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15169 if test "${ac_cv_c_const+set}" = set; then
15170 echo $ECHO_N "(cached) $ECHO_C" >&6
15172 cat >conftest.
$ac_ext <<_ACEOF
15175 cat confdefs.h
>>conftest.
$ac_ext
15176 cat >>conftest.
$ac_ext <<_ACEOF
15177 /* end confdefs.h. */
15182 /* FIXME: Include the comments suggested by Paul. */
15183 #ifndef __cplusplus
15184 /* Ultrix mips cc rejects this. */
15185 typedef int charset[2];
15187 /* SunOS 4.1.1 cc rejects this. */
15188 char const *const *ccp;
15190 /* NEC SVR4.0.2 mips cc rejects this. */
15191 struct point {int x, y;};
15192 static struct point const zero = {0,0};
15193 /* AIX XL C 1.02.0.0 rejects this.
15194 It does not let you subtract one const X* pointer from another in
15195 an arm of an if-expression whose if-part is not a constant
15197 const char *g = "string";
15198 ccp = &g + (g ? g-g : 0);
15199 /* HPUX 7.0 cc rejects these. */
15202 ccp = (char const *const *) p;
15203 { /* SCO 3.2v4 cc rejects this. */
15205 char const *s = 0 ? (char *) 0 : (char const *) 0;
15209 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15210 int x[] = {25, 17};
15211 const int *foo = &x[0];
15214 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15215 typedef const int *iptr;
15219 { /* AIX XL C 1.02.0.0 rejects this saying
15220 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15221 struct s { int j; const int *ap[3]; };
15222 struct s *b; b->j = 5;
15224 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15225 const int foo = 10;
15233 rm -f conftest.
$ac_objext
15234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15235 (eval $ac_compile) 2>conftest.er1
15237 grep -v '^ *+' conftest.er1
>conftest.err
15239 cat conftest.err
>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } &&
15242 { ac_try
='test -z "$ac_c_werror_flag"
15243 || test ! -s conftest.err'
15244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15245 (eval $ac_try) 2>&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }; } &&
15249 { ac_try
='test -s conftest.$ac_objext'
15250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251 (eval $ac_try) 2>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; }; then
15257 echo "$as_me: failed program was:" >&5
15258 sed 's/^/| /' conftest.
$ac_ext >&5
15262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15264 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15265 echo "${ECHO_T}$ac_cv_c_const" >&6
15266 if test $ac_cv_c_const = no
; then
15268 cat >>confdefs.h
<<\_ACEOF
15274 echo "$as_me:$LINENO: checking for inline" >&5
15275 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15276 if test "${ac_cv_c_inline+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15280 for ac_kw
in inline __inline__ __inline
; do
15281 cat >conftest.
$ac_ext <<_ACEOF
15284 cat confdefs.h
>>conftest.
$ac_ext
15285 cat >>conftest.
$ac_ext <<_ACEOF
15286 /* end confdefs.h. */
15287 #ifndef __cplusplus
15289 static $ac_kw foo_t static_foo () {return 0; }
15290 $ac_kw foo_t foo () {return 0; }
15294 rm -f conftest.
$ac_objext
15295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15296 (eval $ac_compile) 2>conftest.er1
15298 grep -v '^ *+' conftest.er1
>conftest.err
15300 cat conftest.err
>&5
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); } &&
15303 { ac_try
='test -z "$ac_c_werror_flag"
15304 || test ! -s conftest.err'
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); }; } &&
15310 { ac_try
='test -s conftest.$ac_objext'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; }; then
15316 ac_cv_c_inline
=$ac_kw; break
15318 echo "$as_me: failed program was:" >&5
15319 sed 's/^/| /' conftest.
$ac_ext >&5
15322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15326 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15327 echo "${ECHO_T}$ac_cv_c_inline" >&6
15330 case $ac_cv_c_inline in
15333 case $ac_cv_c_inline in
15335 *) ac_val
=$ac_cv_c_inline;;
15337 cat >>confdefs.h
<<_ACEOF
15338 #ifndef __cplusplus
15339 #define inline $ac_val
15346 echo "$as_me:$LINENO: checking for char" >&5
15347 echo $ECHO_N "checking for char... $ECHO_C" >&6
15348 if test "${ac_cv_type_char+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 cat >conftest.
$ac_ext <<_ACEOF
15354 cat confdefs.h
>>conftest.
$ac_ext
15355 cat >>conftest.
$ac_ext <<_ACEOF
15356 /* end confdefs.h. */
15357 $ac_includes_default
15369 rm -f conftest.
$ac_objext
15370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15371 (eval $ac_compile) 2>conftest.er1
15373 grep -v '^ *+' conftest.er1
>conftest.err
15375 cat conftest.err
>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } &&
15378 { ac_try
='test -z "$ac_c_werror_flag"
15379 || test ! -s conftest.err'
15380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15381 (eval $ac_try) 2>&5
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); }; } &&
15385 { ac_try
='test -s conftest.$ac_objext'
15386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15387 (eval $ac_try) 2>&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); }; }; then
15391 ac_cv_type_char
=yes
15393 echo "$as_me: failed program was:" >&5
15394 sed 's/^/| /' conftest.
$ac_ext >&5
15398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15400 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15401 echo "${ECHO_T}$ac_cv_type_char" >&6
15403 echo "$as_me:$LINENO: checking size of char" >&5
15404 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15405 if test "${ac_cv_sizeof_char+set}" = set; then
15406 echo $ECHO_N "(cached) $ECHO_C" >&6
15408 if test "$ac_cv_type_char" = yes; then
15409 # The cast to unsigned long works around a bug in the HP C Compiler
15410 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15411 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15412 # This bug is HP SR number 8606223364.
15413 if test "$cross_compiling" = yes; then
15414 # Depending upon the size, compute the lo and hi bounds.
15415 cat >conftest.
$ac_ext <<_ACEOF
15418 cat confdefs.h
>>conftest.
$ac_ext
15419 cat >>conftest.
$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15421 $ac_includes_default
15425 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15432 rm -f conftest.
$ac_objext
15433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15434 (eval $ac_compile) 2>conftest.er1
15436 grep -v '^ *+' conftest.er1
>conftest.err
15438 cat conftest.err
>&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } &&
15441 { ac_try
='test -z "$ac_c_werror_flag"
15442 || test ! -s conftest.err'
15443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15444 (eval $ac_try) 2>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); }; } &&
15448 { ac_try
='test -s conftest.$ac_objext'
15449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15450 (eval $ac_try) 2>&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); }; }; then
15456 cat >conftest.
$ac_ext <<_ACEOF
15459 cat confdefs.h
>>conftest.
$ac_ext
15460 cat >>conftest.
$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462 $ac_includes_default
15466 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15473 rm -f conftest.
$ac_objext
15474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15475 (eval $ac_compile) 2>conftest.er1
15477 grep -v '^ *+' conftest.er1
>conftest.err
15479 cat conftest.err
>&5
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); } &&
15482 { ac_try
='test -z "$ac_c_werror_flag"
15483 || test ! -s conftest.err'
15484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15485 (eval $ac_try) 2>&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; } &&
15489 { ac_try
='test -s conftest.$ac_objext'
15490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15491 (eval $ac_try) 2>&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); }; }; then
15495 ac_hi
=$ac_mid; break
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.
$ac_ext >&5
15500 ac_lo
=`expr $ac_mid + 1`
15501 if test $ac_lo -le $ac_mid; then
15505 ac_mid
=`expr 2 '*' $ac_mid + 1`
15507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15510 echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.
$ac_ext >&5
15513 cat >conftest.
$ac_ext <<_ACEOF
15516 cat confdefs.h
>>conftest.
$ac_ext
15517 cat >>conftest.
$ac_ext <<_ACEOF
15518 /* end confdefs.h. */
15519 $ac_includes_default
15523 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15530 rm -f conftest.
$ac_objext
15531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15532 (eval $ac_compile) 2>conftest.er1
15534 grep -v '^ *+' conftest.er1
>conftest.err
15536 cat conftest.err
>&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); } &&
15539 { ac_try
='test -z "$ac_c_werror_flag"
15540 || test ! -s conftest.err'
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); }; } &&
15546 { ac_try
='test -s conftest.$ac_objext'
15547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15548 (eval $ac_try) 2>&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); }; }; then
15554 cat >conftest.
$ac_ext <<_ACEOF
15557 cat confdefs.h
>>conftest.
$ac_ext
15558 cat >>conftest.
$ac_ext <<_ACEOF
15559 /* end confdefs.h. */
15560 $ac_includes_default
15564 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15571 rm -f conftest.
$ac_objext
15572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15573 (eval $ac_compile) 2>conftest.er1
15575 grep -v '^ *+' conftest.er1
>conftest.err
15577 cat conftest.err
>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try
='test -z "$ac_c_werror_flag"
15581 || test ! -s conftest.err'
15582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15583 (eval $ac_try) 2>&5
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); }; } &&
15587 { ac_try
='test -s conftest.$ac_objext'
15588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15589 (eval $ac_try) 2>&5
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); }; }; then
15593 ac_lo
=$ac_mid; break
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.
$ac_ext >&5
15598 ac_hi
=`expr '(' $ac_mid ')' - 1`
15599 if test $ac_mid -le $ac_hi; then
15603 ac_mid
=`expr 2 '*' $ac_mid`
15605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15608 echo "$as_me: failed program was:" >&5
15609 sed 's/^/| /' conftest.
$ac_ext >&5
15613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15616 # Binary search between lo and hi bounds.
15617 while test "x$ac_lo" != "x$ac_hi"; do
15618 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15619 cat >conftest.
$ac_ext <<_ACEOF
15622 cat confdefs.h
>>conftest.
$ac_ext
15623 cat >>conftest.
$ac_ext <<_ACEOF
15624 /* end confdefs.h. */
15625 $ac_includes_default
15629 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15636 rm -f conftest.
$ac_objext
15637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15638 (eval $ac_compile) 2>conftest.er1
15640 grep -v '^ *+' conftest.er1
>conftest.err
15642 cat conftest.err
>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); } &&
15645 { ac_try
='test -z "$ac_c_werror_flag"
15646 || test ! -s conftest.err'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; } &&
15652 { ac_try
='test -s conftest.$ac_objext'
15653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15654 (eval $ac_try) 2>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.
$ac_ext >&5
15663 ac_lo
=`expr '(' $ac_mid ')' + 1`
15665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15668 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15669 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15670 See \`config.log' for more details." >&5
15671 echo "$as_me: error: cannot compute sizeof (char), 77
15672 See \`config.log' for more details." >&2;}
15673 { (exit 1); exit 1; }; } ;;
15676 if test "$cross_compiling" = yes; then
15677 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15678 See \`config.log' for more details." >&5
15679 echo "$as_me: error: cannot run test program while cross compiling
15680 See \`config.log' for more details." >&2;}
15681 { (exit 1); exit 1; }; }
15683 cat >conftest.
$ac_ext <<_ACEOF
15686 cat confdefs.h
>>conftest.
$ac_ext
15687 cat >>conftest.
$ac_ext <<_ACEOF
15688 /* end confdefs.h. */
15689 $ac_includes_default
15690 long longval () { return (long) (sizeof (char)); }
15691 unsigned long ulongval () { return (long) (sizeof (char)); }
15693 #include <stdlib.h>
15698 FILE *f = fopen ("conftest.val", "w");
15701 if (((long) (sizeof (char))) < 0)
15703 long i = longval ();
15704 if (i != ((long) (sizeof (char))))
15706 fprintf (f, "%ld\n", i);
15710 unsigned long i = ulongval ();
15711 if (i != ((long) (sizeof (char))))
15713 fprintf (f, "%lu\n", i);
15715 exit (ferror (f) || fclose (f) != 0);
15721 rm -f conftest
$ac_exeext
15722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15723 (eval $ac_link) 2>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15728 (eval $ac_try) 2>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); }; }; then
15732 ac_cv_sizeof_char
=`cat conftest.val`
15734 echo "$as_me: program exited with status $ac_status" >&5
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.
$ac_ext >&5
15738 ( exit $ac_status )
15739 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15740 See \`config.log' for more details." >&5
15741 echo "$as_me: error: cannot compute sizeof (char), 77
15742 See \`config.log' for more details." >&2;}
15743 { (exit 1); exit 1; }; }
15745 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15750 ac_cv_sizeof_char
=0
15753 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15754 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15755 cat >>confdefs.h
<<_ACEOF
15756 #define SIZEOF_CHAR $ac_cv_sizeof_char
15760 echo "$as_me:$LINENO: checking for short" >&5
15761 echo $ECHO_N "checking for short... $ECHO_C" >&6
15762 if test "${ac_cv_type_short+set}" = set; then
15763 echo $ECHO_N "(cached) $ECHO_C" >&6
15765 cat >conftest.
$ac_ext <<_ACEOF
15768 cat confdefs.h
>>conftest.
$ac_ext
15769 cat >>conftest.
$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 $ac_includes_default
15777 if (sizeof (short))
15783 rm -f conftest.
$ac_objext
15784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15785 (eval $ac_compile) 2>conftest.er1
15787 grep -v '^ *+' conftest.er1
>conftest.err
15789 cat conftest.err
>&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); } &&
15792 { ac_try
='test -z "$ac_c_werror_flag"
15793 || test ! -s conftest.err'
15794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15795 (eval $ac_try) 2>&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); }; } &&
15799 { ac_try
='test -s conftest.$ac_objext'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; }; then
15805 ac_cv_type_short
=yes
15807 echo "$as_me: failed program was:" >&5
15808 sed 's/^/| /' conftest.
$ac_ext >&5
15810 ac_cv_type_short
=no
15812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15814 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15815 echo "${ECHO_T}$ac_cv_type_short" >&6
15817 echo "$as_me:$LINENO: checking size of short" >&5
15818 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15819 if test "${ac_cv_sizeof_short+set}" = set; then
15820 echo $ECHO_N "(cached) $ECHO_C" >&6
15822 if test "$ac_cv_type_short" = yes; then
15823 # The cast to unsigned long works around a bug in the HP C Compiler
15824 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15825 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15826 # This bug is HP SR number 8606223364.
15827 if test "$cross_compiling" = yes; then
15828 # Depending upon the size, compute the lo and hi bounds.
15829 cat >conftest.
$ac_ext <<_ACEOF
15832 cat confdefs.h
>>conftest.
$ac_ext
15833 cat >>conftest.
$ac_ext <<_ACEOF
15834 /* end confdefs.h. */
15835 $ac_includes_default
15839 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15846 rm -f conftest.
$ac_objext
15847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15848 (eval $ac_compile) 2>conftest.er1
15850 grep -v '^ *+' conftest.er1
>conftest.err
15852 cat conftest.err
>&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); } &&
15855 { ac_try
='test -z "$ac_c_werror_flag"
15856 || test ! -s conftest.err'
15857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15858 (eval $ac_try) 2>&5
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); }; } &&
15862 { ac_try
='test -s conftest.$ac_objext'
15863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15864 (eval $ac_try) 2>&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); }; }; then
15870 cat >conftest.
$ac_ext <<_ACEOF
15873 cat confdefs.h
>>conftest.
$ac_ext
15874 cat >>conftest.
$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876 $ac_includes_default
15880 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15887 rm -f conftest.
$ac_objext
15888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15889 (eval $ac_compile) 2>conftest.er1
15891 grep -v '^ *+' conftest.er1
>conftest.err
15893 cat conftest.err
>&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); } &&
15896 { ac_try
='test -z "$ac_c_werror_flag"
15897 || test ! -s conftest.err'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; } &&
15903 { ac_try
='test -s conftest.$ac_objext'
15904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15905 (eval $ac_try) 2>&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); }; }; then
15909 ac_hi
=$ac_mid; break
15911 echo "$as_me: failed program was:" >&5
15912 sed 's/^/| /' conftest.
$ac_ext >&5
15914 ac_lo
=`expr $ac_mid + 1`
15915 if test $ac_lo -le $ac_mid; then
15919 ac_mid
=`expr 2 '*' $ac_mid + 1`
15921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15924 echo "$as_me: failed program was:" >&5
15925 sed 's/^/| /' conftest.
$ac_ext >&5
15927 cat >conftest.
$ac_ext <<_ACEOF
15930 cat confdefs.h
>>conftest.
$ac_ext
15931 cat >>conftest.
$ac_ext <<_ACEOF
15932 /* end confdefs.h. */
15933 $ac_includes_default
15937 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15944 rm -f conftest.
$ac_objext
15945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15946 (eval $ac_compile) 2>conftest.er1
15948 grep -v '^ *+' conftest.er1
>conftest.err
15950 cat conftest.err
>&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); } &&
15953 { ac_try
='test -z "$ac_c_werror_flag"
15954 || test ! -s conftest.err'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; } &&
15960 { ac_try
='test -s conftest.$ac_objext'
15961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15962 (eval $ac_try) 2>&5
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; }; then
15968 cat >conftest.
$ac_ext <<_ACEOF
15971 cat confdefs.h
>>conftest.
$ac_ext
15972 cat >>conftest.
$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 $ac_includes_default
15978 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15985 rm -f conftest.
$ac_objext
15986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15987 (eval $ac_compile) 2>conftest.er1
15989 grep -v '^ *+' conftest.er1
>conftest.err
15991 cat conftest.err
>&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); } &&
15994 { ac_try
='test -z "$ac_c_werror_flag"
15995 || test ! -s conftest.err'
15996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15997 (eval $ac_try) 2>&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); }; } &&
16001 { ac_try
='test -s conftest.$ac_objext'
16002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16003 (eval $ac_try) 2>&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); }; }; then
16007 ac_lo
=$ac_mid; break
16009 echo "$as_me: failed program was:" >&5
16010 sed 's/^/| /' conftest.
$ac_ext >&5
16012 ac_hi
=`expr '(' $ac_mid ')' - 1`
16013 if test $ac_mid -le $ac_hi; then
16017 ac_mid
=`expr 2 '*' $ac_mid`
16019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.
$ac_ext >&5
16027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16030 # Binary search between lo and hi bounds.
16031 while test "x$ac_lo" != "x$ac_hi"; do
16032 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16033 cat >conftest.
$ac_ext <<_ACEOF
16036 cat confdefs.h
>>conftest.
$ac_ext
16037 cat >>conftest.
$ac_ext <<_ACEOF
16038 /* end confdefs.h. */
16039 $ac_includes_default
16043 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16050 rm -f conftest.
$ac_objext
16051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16052 (eval $ac_compile) 2>conftest.er1
16054 grep -v '^ *+' conftest.er1
>conftest.err
16056 cat conftest.err
>&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); } &&
16059 { ac_try
='test -z "$ac_c_werror_flag"
16060 || test ! -s conftest.err'
16061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16062 (eval $ac_try) 2>&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); }; } &&
16066 { ac_try
='test -s conftest.$ac_objext'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; }; then
16074 echo "$as_me: failed program was:" >&5
16075 sed 's/^/| /' conftest.
$ac_ext >&5
16077 ac_lo
=`expr '(' $ac_mid ')' + 1`
16079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16082 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16083 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16084 See \`config.log' for more details." >&5
16085 echo "$as_me: error: cannot compute sizeof (short), 77
16086 See \`config.log' for more details." >&2;}
16087 { (exit 1); exit 1; }; } ;;
16090 if test "$cross_compiling" = yes; then
16091 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16092 See \`config.log' for more details." >&5
16093 echo "$as_me: error: cannot run test program while cross compiling
16094 See \`config.log' for more details." >&2;}
16095 { (exit 1); exit 1; }; }
16097 cat >conftest.
$ac_ext <<_ACEOF
16100 cat confdefs.h
>>conftest.
$ac_ext
16101 cat >>conftest.
$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103 $ac_includes_default
16104 long longval () { return (long) (sizeof (short)); }
16105 unsigned long ulongval () { return (long) (sizeof (short)); }
16107 #include <stdlib.h>
16112 FILE *f = fopen ("conftest.val", "w");
16115 if (((long) (sizeof (short))) < 0)
16117 long i = longval ();
16118 if (i != ((long) (sizeof (short))))
16120 fprintf (f, "%ld\n", i);
16124 unsigned long i = ulongval ();
16125 if (i != ((long) (sizeof (short))))
16127 fprintf (f, "%lu\n", i);
16129 exit (ferror (f) || fclose (f) != 0);
16135 rm -f conftest
$ac_exeext
16136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16137 (eval $ac_link) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; }; then
16146 ac_cv_sizeof_short
=`cat conftest.val`
16148 echo "$as_me: program exited with status $ac_status" >&5
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.
$ac_ext >&5
16152 ( exit $ac_status )
16153 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16154 See \`config.log' for more details." >&5
16155 echo "$as_me: error: cannot compute sizeof (short), 77
16156 See \`config.log' for more details." >&2;}
16157 { (exit 1); exit 1; }; }
16159 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16164 ac_cv_sizeof_short
=0
16167 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16168 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16169 cat >>confdefs.h
<<_ACEOF
16170 #define SIZEOF_SHORT $ac_cv_sizeof_short
16174 echo "$as_me:$LINENO: checking for void *" >&5
16175 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16176 if test "${ac_cv_type_void_p+set}" = set; then
16177 echo $ECHO_N "(cached) $ECHO_C" >&6
16179 cat >conftest.
$ac_ext <<_ACEOF
16182 cat confdefs.h
>>conftest.
$ac_ext
16183 cat >>conftest.
$ac_ext <<_ACEOF
16184 /* end confdefs.h. */
16185 $ac_includes_default
16191 if (sizeof (void *))
16197 rm -f conftest.
$ac_objext
16198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16199 (eval $ac_compile) 2>conftest.er1
16201 grep -v '^ *+' conftest.er1
>conftest.err
16203 cat conftest.err
>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); } &&
16206 { ac_try
='test -z "$ac_c_werror_flag"
16207 || test ! -s conftest.err'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; } &&
16213 { ac_try
='test -s conftest.$ac_objext'
16214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16215 (eval $ac_try) 2>&5
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }; }; then
16219 ac_cv_type_void_p
=yes
16221 echo "$as_me: failed program was:" >&5
16222 sed 's/^/| /' conftest.
$ac_ext >&5
16224 ac_cv_type_void_p
=no
16226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16228 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16229 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16231 echo "$as_me:$LINENO: checking size of void *" >&5
16232 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16233 if test "${ac_cv_sizeof_void_p+set}" = set; then
16234 echo $ECHO_N "(cached) $ECHO_C" >&6
16236 if test "$ac_cv_type_void_p" = yes; then
16237 # The cast to unsigned long works around a bug in the HP C Compiler
16238 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16239 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16240 # This bug is HP SR number 8606223364.
16241 if test "$cross_compiling" = yes; then
16242 # Depending upon the size, compute the lo and hi bounds.
16243 cat >conftest.
$ac_ext <<_ACEOF
16246 cat confdefs.h
>>conftest.
$ac_ext
16247 cat >>conftest.
$ac_ext <<_ACEOF
16248 /* end confdefs.h. */
16249 $ac_includes_default
16253 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16260 rm -f conftest.
$ac_objext
16261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16262 (eval $ac_compile) 2>conftest.er1
16264 grep -v '^ *+' conftest.er1
>conftest.err
16266 cat conftest.err
>&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); } &&
16269 { ac_try
='test -z "$ac_c_werror_flag"
16270 || test ! -s conftest.err'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; } &&
16276 { ac_try
='test -s conftest.$ac_objext'
16277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278 (eval $ac_try) 2>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); }; }; then
16284 cat >conftest.
$ac_ext <<_ACEOF
16287 cat confdefs.h
>>conftest.
$ac_ext
16288 cat >>conftest.
$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16290 $ac_includes_default
16294 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16301 rm -f conftest.
$ac_objext
16302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16303 (eval $ac_compile) 2>conftest.er1
16305 grep -v '^ *+' conftest.er1
>conftest.err
16307 cat conftest.err
>&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } &&
16310 { ac_try
='test -z "$ac_c_werror_flag"
16311 || test ! -s conftest.err'
16312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16313 (eval $ac_try) 2>&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); }; } &&
16317 { ac_try
='test -s conftest.$ac_objext'
16318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16319 (eval $ac_try) 2>&5
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); }; }; then
16323 ac_hi
=$ac_mid; break
16325 echo "$as_me: failed program was:" >&5
16326 sed 's/^/| /' conftest.
$ac_ext >&5
16328 ac_lo
=`expr $ac_mid + 1`
16329 if test $ac_lo -le $ac_mid; then
16333 ac_mid
=`expr 2 '*' $ac_mid + 1`
16335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16338 echo "$as_me: failed program was:" >&5
16339 sed 's/^/| /' conftest.
$ac_ext >&5
16341 cat >conftest.
$ac_ext <<_ACEOF
16344 cat confdefs.h
>>conftest.
$ac_ext
16345 cat >>conftest.
$ac_ext <<_ACEOF
16346 /* end confdefs.h. */
16347 $ac_includes_default
16351 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16358 rm -f conftest.
$ac_objext
16359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16360 (eval $ac_compile) 2>conftest.er1
16362 grep -v '^ *+' conftest.er1
>conftest.err
16364 cat conftest.err
>&5
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); } &&
16367 { ac_try
='test -z "$ac_c_werror_flag"
16368 || test ! -s conftest.err'
16369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16370 (eval $ac_try) 2>&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); }; } &&
16374 { ac_try
='test -s conftest.$ac_objext'
16375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16376 (eval $ac_try) 2>&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); }; }; then
16382 cat >conftest.
$ac_ext <<_ACEOF
16385 cat confdefs.h
>>conftest.
$ac_ext
16386 cat >>conftest.
$ac_ext <<_ACEOF
16387 /* end confdefs.h. */
16388 $ac_includes_default
16392 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16399 rm -f conftest.
$ac_objext
16400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16401 (eval $ac_compile) 2>conftest.er1
16403 grep -v '^ *+' conftest.er1
>conftest.err
16405 cat conftest.err
>&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); } &&
16408 { ac_try
='test -z "$ac_c_werror_flag"
16409 || test ! -s conftest.err'
16410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16411 (eval $ac_try) 2>&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); }; } &&
16415 { ac_try
='test -s conftest.$ac_objext'
16416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417 (eval $ac_try) 2>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); }; }; then
16421 ac_lo
=$ac_mid; break
16423 echo "$as_me: failed program was:" >&5
16424 sed 's/^/| /' conftest.
$ac_ext >&5
16426 ac_hi
=`expr '(' $ac_mid ')' - 1`
16427 if test $ac_mid -le $ac_hi; then
16431 ac_mid
=`expr 2 '*' $ac_mid`
16433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16436 echo "$as_me: failed program was:" >&5
16437 sed 's/^/| /' conftest.
$ac_ext >&5
16441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16444 # Binary search between lo and hi bounds.
16445 while test "x$ac_lo" != "x$ac_hi"; do
16446 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16447 cat >conftest.
$ac_ext <<_ACEOF
16450 cat confdefs.h
>>conftest.
$ac_ext
16451 cat >>conftest.
$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16453 $ac_includes_default
16457 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16464 rm -f conftest.
$ac_objext
16465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16466 (eval $ac_compile) 2>conftest.er1
16468 grep -v '^ *+' conftest.er1
>conftest.err
16470 cat conftest.err
>&5
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); } &&
16473 { ac_try
='test -z "$ac_c_werror_flag"
16474 || test ! -s conftest.err'
16475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16476 (eval $ac_try) 2>&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); }; } &&
16480 { ac_try
='test -s conftest.$ac_objext'
16481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16482 (eval $ac_try) 2>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); }; }; then
16488 echo "$as_me: failed program was:" >&5
16489 sed 's/^/| /' conftest.
$ac_ext >&5
16491 ac_lo
=`expr '(' $ac_mid ')' + 1`
16493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16496 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16497 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16498 See \`config.log' for more details." >&5
16499 echo "$as_me: error: cannot compute sizeof (void *), 77
16500 See \`config.log' for more details." >&2;}
16501 { (exit 1); exit 1; }; } ;;
16504 if test "$cross_compiling" = yes; then
16505 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16506 See \`config.log' for more details." >&5
16507 echo "$as_me: error: cannot run test program while cross compiling
16508 See \`config.log' for more details." >&2;}
16509 { (exit 1); exit 1; }; }
16511 cat >conftest.
$ac_ext <<_ACEOF
16514 cat confdefs.h
>>conftest.
$ac_ext
16515 cat >>conftest.
$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16517 $ac_includes_default
16518 long longval () { return (long) (sizeof (void *)); }
16519 unsigned long ulongval () { return (long) (sizeof (void *)); }
16521 #include <stdlib.h>
16526 FILE *f = fopen ("conftest.val", "w");
16529 if (((long) (sizeof (void *))) < 0)
16531 long i = longval ();
16532 if (i != ((long) (sizeof (void *))))
16534 fprintf (f, "%ld\n", i);
16538 unsigned long i = ulongval ();
16539 if (i != ((long) (sizeof (void *))))
16541 fprintf (f, "%lu\n", i);
16543 exit (ferror (f) || fclose (f) != 0);
16549 rm -f conftest
$ac_exeext
16550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16551 (eval $ac_link) 2>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16556 (eval $ac_try) 2>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; }; then
16560 ac_cv_sizeof_void_p
=`cat conftest.val`
16562 echo "$as_me: program exited with status $ac_status" >&5
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.
$ac_ext >&5
16566 ( exit $ac_status )
16567 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16568 See \`config.log' for more details." >&5
16569 echo "$as_me: error: cannot compute sizeof (void *), 77
16570 See \`config.log' for more details." >&2;}
16571 { (exit 1); exit 1; }; }
16573 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16578 ac_cv_sizeof_void_p
=0
16581 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16582 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16583 cat >>confdefs.h
<<_ACEOF
16584 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16588 echo "$as_me:$LINENO: checking for int" >&5
16589 echo $ECHO_N "checking for int... $ECHO_C" >&6
16590 if test "${ac_cv_type_int+set}" = set; then
16591 echo $ECHO_N "(cached) $ECHO_C" >&6
16593 cat >conftest.
$ac_ext <<_ACEOF
16596 cat confdefs.h
>>conftest.
$ac_ext
16597 cat >>conftest.
$ac_ext <<_ACEOF
16598 /* end confdefs.h. */
16599 $ac_includes_default
16611 rm -f conftest.
$ac_objext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16613 (eval $ac_compile) 2>conftest.er1
16615 grep -v '^ *+' conftest.er1
>conftest.err
16617 cat conftest.err
>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try
='test -z "$ac_c_werror_flag"
16621 || test ! -s conftest.err'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; } &&
16627 { ac_try
='test -s conftest.$ac_objext'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; }; then
16635 echo "$as_me: failed program was:" >&5
16636 sed 's/^/| /' conftest.
$ac_ext >&5
16640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16642 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16643 echo "${ECHO_T}$ac_cv_type_int" >&6
16645 echo "$as_me:$LINENO: checking size of int" >&5
16646 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16647 if test "${ac_cv_sizeof_int+set}" = set; then
16648 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 if test "$ac_cv_type_int" = yes; then
16651 # The cast to unsigned long works around a bug in the HP C Compiler
16652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16654 # This bug is HP SR number 8606223364.
16655 if test "$cross_compiling" = yes; then
16656 # Depending upon the size, compute the lo and hi bounds.
16657 cat >conftest.
$ac_ext <<_ACEOF
16660 cat confdefs.h
>>conftest.
$ac_ext
16661 cat >>conftest.
$ac_ext <<_ACEOF
16662 /* end confdefs.h. */
16663 $ac_includes_default
16667 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16674 rm -f conftest.
$ac_objext
16675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16676 (eval $ac_compile) 2>conftest.er1
16678 grep -v '^ *+' conftest.er1
>conftest.err
16680 cat conftest.err
>&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); } &&
16683 { ac_try
='test -z "$ac_c_werror_flag"
16684 || test ! -s conftest.err'
16685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16686 (eval $ac_try) 2>&5
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); }; } &&
16690 { ac_try
='test -s conftest.$ac_objext'
16691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16692 (eval $ac_try) 2>&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); }; }; then
16698 cat >conftest.
$ac_ext <<_ACEOF
16701 cat confdefs.h
>>conftest.
$ac_ext
16702 cat >>conftest.
$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704 $ac_includes_default
16708 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16715 rm -f conftest.
$ac_objext
16716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16717 (eval $ac_compile) 2>conftest.er1
16719 grep -v '^ *+' conftest.er1
>conftest.err
16721 cat conftest.err
>&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } &&
16724 { ac_try
='test -z "$ac_c_werror_flag"
16725 || test ! -s conftest.err'
16726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16727 (eval $ac_try) 2>&5
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); }; } &&
16731 { ac_try
='test -s conftest.$ac_objext'
16732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16733 (eval $ac_try) 2>&5
16735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); }; }; then
16737 ac_hi
=$ac_mid; break
16739 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.
$ac_ext >&5
16742 ac_lo
=`expr $ac_mid + 1`
16743 if test $ac_lo -le $ac_mid; then
16747 ac_mid
=`expr 2 '*' $ac_mid + 1`
16749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16752 echo "$as_me: failed program was:" >&5
16753 sed 's/^/| /' conftest.
$ac_ext >&5
16755 cat >conftest.
$ac_ext <<_ACEOF
16758 cat confdefs.h
>>conftest.
$ac_ext
16759 cat >>conftest.
$ac_ext <<_ACEOF
16760 /* end confdefs.h. */
16761 $ac_includes_default
16765 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16772 rm -f conftest.
$ac_objext
16773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16774 (eval $ac_compile) 2>conftest.er1
16776 grep -v '^ *+' conftest.er1
>conftest.err
16778 cat conftest.err
>&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } &&
16781 { ac_try
='test -z "$ac_c_werror_flag"
16782 || test ! -s conftest.err'
16783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16784 (eval $ac_try) 2>&5
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); }; } &&
16788 { ac_try
='test -s conftest.$ac_objext'
16789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16790 (eval $ac_try) 2>&5
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); }; }; then
16796 cat >conftest.
$ac_ext <<_ACEOF
16799 cat confdefs.h
>>conftest.
$ac_ext
16800 cat >>conftest.
$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 $ac_includes_default
16806 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16813 rm -f conftest.
$ac_objext
16814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16815 (eval $ac_compile) 2>conftest.er1
16817 grep -v '^ *+' conftest.er1
>conftest.err
16819 cat conftest.err
>&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); } &&
16822 { ac_try
='test -z "$ac_c_werror_flag"
16823 || test ! -s conftest.err'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; } &&
16829 { ac_try
='test -s conftest.$ac_objext'
16830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16831 (eval $ac_try) 2>&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); }; }; then
16835 ac_lo
=$ac_mid; break
16837 echo "$as_me: failed program was:" >&5
16838 sed 's/^/| /' conftest.
$ac_ext >&5
16840 ac_hi
=`expr '(' $ac_mid ')' - 1`
16841 if test $ac_mid -le $ac_hi; then
16845 ac_mid
=`expr 2 '*' $ac_mid`
16847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16850 echo "$as_me: failed program was:" >&5
16851 sed 's/^/| /' conftest.
$ac_ext >&5
16855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16858 # Binary search between lo and hi bounds.
16859 while test "x$ac_lo" != "x$ac_hi"; do
16860 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16861 cat >conftest.
$ac_ext <<_ACEOF
16864 cat confdefs.h
>>conftest.
$ac_ext
16865 cat >>conftest.
$ac_ext <<_ACEOF
16866 /* end confdefs.h. */
16867 $ac_includes_default
16871 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16878 rm -f conftest.
$ac_objext
16879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16880 (eval $ac_compile) 2>conftest.er1
16882 grep -v '^ *+' conftest.er1
>conftest.err
16884 cat conftest.err
>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); } &&
16887 { ac_try
='test -z "$ac_c_werror_flag"
16888 || test ! -s conftest.err'
16889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16890 (eval $ac_try) 2>&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); }; } &&
16894 { ac_try
='test -s conftest.$ac_objext'
16895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16896 (eval $ac_try) 2>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); }; }; then
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.
$ac_ext >&5
16905 ac_lo
=`expr '(' $ac_mid ')' + 1`
16907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16910 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16911 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16912 See \`config.log' for more details." >&5
16913 echo "$as_me: error: cannot compute sizeof (int), 77
16914 See \`config.log' for more details." >&2;}
16915 { (exit 1); exit 1; }; } ;;
16918 if test "$cross_compiling" = yes; then
16919 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16920 See \`config.log' for more details." >&5
16921 echo "$as_me: error: cannot run test program while cross compiling
16922 See \`config.log' for more details." >&2;}
16923 { (exit 1); exit 1; }; }
16925 cat >conftest.
$ac_ext <<_ACEOF
16928 cat confdefs.h
>>conftest.
$ac_ext
16929 cat >>conftest.
$ac_ext <<_ACEOF
16930 /* end confdefs.h. */
16931 $ac_includes_default
16932 long longval () { return (long) (sizeof (int)); }
16933 unsigned long ulongval () { return (long) (sizeof (int)); }
16935 #include <stdlib.h>
16940 FILE *f = fopen ("conftest.val", "w");
16943 if (((long) (sizeof (int))) < 0)
16945 long i = longval ();
16946 if (i != ((long) (sizeof (int))))
16948 fprintf (f, "%ld\n", i);
16952 unsigned long i = ulongval ();
16953 if (i != ((long) (sizeof (int))))
16955 fprintf (f, "%lu\n", i);
16957 exit (ferror (f) || fclose (f) != 0);
16963 rm -f conftest
$ac_exeext
16964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16965 (eval $ac_link) 2>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16970 (eval $ac_try) 2>&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); }; }; then
16974 ac_cv_sizeof_int
=`cat conftest.val`
16976 echo "$as_me: program exited with status $ac_status" >&5
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.
$ac_ext >&5
16980 ( exit $ac_status )
16981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16982 See \`config.log' for more details." >&5
16983 echo "$as_me: error: cannot compute sizeof (int), 77
16984 See \`config.log' for more details." >&2;}
16985 { (exit 1); exit 1; }; }
16987 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16995 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16996 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16997 cat >>confdefs.h
<<_ACEOF
16998 #define SIZEOF_INT $ac_cv_sizeof_int
17002 echo "$as_me:$LINENO: checking for long" >&5
17003 echo $ECHO_N "checking for long... $ECHO_C" >&6
17004 if test "${ac_cv_type_long+set}" = set; then
17005 echo $ECHO_N "(cached) $ECHO_C" >&6
17007 cat >conftest.
$ac_ext <<_ACEOF
17010 cat confdefs.h
>>conftest.
$ac_ext
17011 cat >>conftest.
$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17013 $ac_includes_default
17025 rm -f conftest.
$ac_objext
17026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17027 (eval $ac_compile) 2>conftest.er1
17029 grep -v '^ *+' conftest.er1
>conftest.err
17031 cat conftest.err
>&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); } &&
17034 { ac_try
='test -z "$ac_c_werror_flag"
17035 || test ! -s conftest.err'
17036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17037 (eval $ac_try) 2>&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; } &&
17041 { ac_try
='test -s conftest.$ac_objext'
17042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17043 (eval $ac_try) 2>&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); }; }; then
17047 ac_cv_type_long
=yes
17049 echo "$as_me: failed program was:" >&5
17050 sed 's/^/| /' conftest.
$ac_ext >&5
17054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17056 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17057 echo "${ECHO_T}$ac_cv_type_long" >&6
17059 echo "$as_me:$LINENO: checking size of long" >&5
17060 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17061 if test "${ac_cv_sizeof_long+set}" = set; then
17062 echo $ECHO_N "(cached) $ECHO_C" >&6
17064 if test "$ac_cv_type_long" = yes; then
17065 # The cast to unsigned long works around a bug in the HP C Compiler
17066 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17067 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17068 # This bug is HP SR number 8606223364.
17069 if test "$cross_compiling" = yes; then
17070 # Depending upon the size, compute the lo and hi bounds.
17071 cat >conftest.
$ac_ext <<_ACEOF
17074 cat confdefs.h
>>conftest.
$ac_ext
17075 cat >>conftest.
$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077 $ac_includes_default
17081 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17088 rm -f conftest.
$ac_objext
17089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17090 (eval $ac_compile) 2>conftest.er1
17092 grep -v '^ *+' conftest.er1
>conftest.err
17094 cat conftest.err
>&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); } &&
17097 { ac_try
='test -z "$ac_c_werror_flag"
17098 || test ! -s conftest.err'
17099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17100 (eval $ac_try) 2>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); }; } &&
17104 { ac_try
='test -s conftest.$ac_objext'
17105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17106 (eval $ac_try) 2>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); }; }; then
17112 cat >conftest.
$ac_ext <<_ACEOF
17115 cat confdefs.h
>>conftest.
$ac_ext
17116 cat >>conftest.
$ac_ext <<_ACEOF
17117 /* end confdefs.h. */
17118 $ac_includes_default
17122 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17129 rm -f conftest.
$ac_objext
17130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17131 (eval $ac_compile) 2>conftest.er1
17133 grep -v '^ *+' conftest.er1
>conftest.err
17135 cat conftest.err
>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); } &&
17138 { ac_try
='test -z "$ac_c_werror_flag"
17139 || test ! -s conftest.err'
17140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17141 (eval $ac_try) 2>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); }; } &&
17145 { ac_try
='test -s conftest.$ac_objext'
17146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17147 (eval $ac_try) 2>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }; }; then
17151 ac_hi
=$ac_mid; break
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.
$ac_ext >&5
17156 ac_lo
=`expr $ac_mid + 1`
17157 if test $ac_lo -le $ac_mid; then
17161 ac_mid
=`expr 2 '*' $ac_mid + 1`
17163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17166 echo "$as_me: failed program was:" >&5
17167 sed 's/^/| /' conftest.
$ac_ext >&5
17169 cat >conftest.
$ac_ext <<_ACEOF
17172 cat confdefs.h
>>conftest.
$ac_ext
17173 cat >>conftest.
$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17175 $ac_includes_default
17179 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17186 rm -f conftest.
$ac_objext
17187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17188 (eval $ac_compile) 2>conftest.er1
17190 grep -v '^ *+' conftest.er1
>conftest.err
17192 cat conftest.err
>&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } &&
17195 { ac_try
='test -z "$ac_c_werror_flag"
17196 || test ! -s conftest.err'
17197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17198 (eval $ac_try) 2>&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); }; } &&
17202 { ac_try
='test -s conftest.$ac_objext'
17203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204 (eval $ac_try) 2>&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; }; then
17210 cat >conftest.
$ac_ext <<_ACEOF
17213 cat confdefs.h
>>conftest.
$ac_ext
17214 cat >>conftest.
$ac_ext <<_ACEOF
17215 /* end confdefs.h. */
17216 $ac_includes_default
17220 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17227 rm -f conftest.
$ac_objext
17228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17229 (eval $ac_compile) 2>conftest.er1
17231 grep -v '^ *+' conftest.er1
>conftest.err
17233 cat conftest.err
>&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); } &&
17236 { ac_try
='test -z "$ac_c_werror_flag"
17237 || test ! -s conftest.err'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; } &&
17243 { ac_try
='test -s conftest.$ac_objext'
17244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17245 (eval $ac_try) 2>&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; }; then
17249 ac_lo
=$ac_mid; break
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.
$ac_ext >&5
17254 ac_hi
=`expr '(' $ac_mid ')' - 1`
17255 if test $ac_mid -le $ac_hi; then
17259 ac_mid
=`expr 2 '*' $ac_mid`
17261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.
$ac_ext >&5
17269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17272 # Binary search between lo and hi bounds.
17273 while test "x$ac_lo" != "x$ac_hi"; do
17274 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17275 cat >conftest.
$ac_ext <<_ACEOF
17278 cat confdefs.h
>>conftest.
$ac_ext
17279 cat >>conftest.
$ac_ext <<_ACEOF
17280 /* end confdefs.h. */
17281 $ac_includes_default
17285 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17292 rm -f conftest.
$ac_objext
17293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17294 (eval $ac_compile) 2>conftest.er1
17296 grep -v '^ *+' conftest.er1
>conftest.err
17298 cat conftest.err
>&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); } &&
17301 { ac_try
='test -z "$ac_c_werror_flag"
17302 || test ! -s conftest.err'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; } &&
17308 { ac_try
='test -s conftest.$ac_objext'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; }; then
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.
$ac_ext >&5
17319 ac_lo
=`expr '(' $ac_mid ')' + 1`
17321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17324 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17325 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17326 See \`config.log' for more details." >&5
17327 echo "$as_me: error: cannot compute sizeof (long), 77
17328 See \`config.log' for more details." >&2;}
17329 { (exit 1); exit 1; }; } ;;
17332 if test "$cross_compiling" = yes; then
17333 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17334 See \`config.log' for more details." >&5
17335 echo "$as_me: error: cannot run test program while cross compiling
17336 See \`config.log' for more details." >&2;}
17337 { (exit 1); exit 1; }; }
17339 cat >conftest.
$ac_ext <<_ACEOF
17342 cat confdefs.h
>>conftest.
$ac_ext
17343 cat >>conftest.
$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17345 $ac_includes_default
17346 long longval () { return (long) (sizeof (long)); }
17347 unsigned long ulongval () { return (long) (sizeof (long)); }
17349 #include <stdlib.h>
17354 FILE *f = fopen ("conftest.val", "w");
17357 if (((long) (sizeof (long))) < 0)
17359 long i = longval ();
17360 if (i != ((long) (sizeof (long))))
17362 fprintf (f, "%ld\n", i);
17366 unsigned long i = ulongval ();
17367 if (i != ((long) (sizeof (long))))
17369 fprintf (f, "%lu\n", i);
17371 exit (ferror (f) || fclose (f) != 0);
17377 rm -f conftest
$ac_exeext
17378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17379 (eval $ac_link) 2>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17384 (eval $ac_try) 2>&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); }; }; then
17388 ac_cv_sizeof_long
=`cat conftest.val`
17390 echo "$as_me: program exited with status $ac_status" >&5
17391 echo "$as_me: failed program was:" >&5
17392 sed 's/^/| /' conftest.
$ac_ext >&5
17394 ( exit $ac_status )
17395 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17396 See \`config.log' for more details." >&5
17397 echo "$as_me: error: cannot compute sizeof (long), 77
17398 See \`config.log' for more details." >&2;}
17399 { (exit 1); exit 1; }; }
17401 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17406 ac_cv_sizeof_long
=0
17409 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17410 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17411 cat >>confdefs.h
<<_ACEOF
17412 #define SIZEOF_LONG $ac_cv_sizeof_long
17416 echo "$as_me:$LINENO: checking for size_t" >&5
17417 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17418 if test "${ac_cv_type_size_t+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17421 cat >conftest.
$ac_ext <<_ACEOF
17424 cat confdefs.h
>>conftest.
$ac_ext
17425 cat >>conftest.
$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17427 $ac_includes_default
17433 if (sizeof (size_t))
17439 rm -f conftest.
$ac_objext
17440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17441 (eval $ac_compile) 2>conftest.er1
17443 grep -v '^ *+' conftest.er1
>conftest.err
17445 cat conftest.err
>&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); } &&
17448 { ac_try
='test -z "$ac_c_werror_flag"
17449 || test ! -s conftest.err'
17450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17451 (eval $ac_try) 2>&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); }; } &&
17455 { ac_try
='test -s conftest.$ac_objext'
17456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; }; then
17461 ac_cv_type_size_t
=yes
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.
$ac_ext >&5
17466 ac_cv_type_size_t
=no
17468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17470 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17471 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17473 echo "$as_me:$LINENO: checking size of size_t" >&5
17474 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17475 if test "${ac_cv_sizeof_size_t+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 if test "$ac_cv_type_size_t" = yes; then
17479 # The cast to unsigned long works around a bug in the HP C Compiler
17480 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17481 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17482 # This bug is HP SR number 8606223364.
17483 if test "$cross_compiling" = yes; then
17484 # Depending upon the size, compute the lo and hi bounds.
17485 cat >conftest.
$ac_ext <<_ACEOF
17488 cat confdefs.h
>>conftest.
$ac_ext
17489 cat >>conftest.
$ac_ext <<_ACEOF
17490 /* end confdefs.h. */
17491 $ac_includes_default
17495 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17502 rm -f conftest.
$ac_objext
17503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17504 (eval $ac_compile) 2>conftest.er1
17506 grep -v '^ *+' conftest.er1
>conftest.err
17508 cat conftest.err
>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); } &&
17511 { ac_try
='test -z "$ac_c_werror_flag"
17512 || test ! -s conftest.err'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; } &&
17518 { ac_try
='test -s conftest.$ac_objext'
17519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17520 (eval $ac_try) 2>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; }; then
17526 cat >conftest.
$ac_ext <<_ACEOF
17529 cat confdefs.h
>>conftest.
$ac_ext
17530 cat >>conftest.
$ac_ext <<_ACEOF
17531 /* end confdefs.h. */
17532 $ac_includes_default
17536 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17543 rm -f conftest.
$ac_objext
17544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17545 (eval $ac_compile) 2>conftest.er1
17547 grep -v '^ *+' conftest.er1
>conftest.err
17549 cat conftest.err
>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); } &&
17552 { ac_try
='test -z "$ac_c_werror_flag"
17553 || test ! -s conftest.err'
17554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17555 (eval $ac_try) 2>&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); }; } &&
17559 { ac_try
='test -s conftest.$ac_objext'
17560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17561 (eval $ac_try) 2>&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); }; }; then
17565 ac_hi
=$ac_mid; break
17567 echo "$as_me: failed program was:" >&5
17568 sed 's/^/| /' conftest.
$ac_ext >&5
17570 ac_lo
=`expr $ac_mid + 1`
17571 if test $ac_lo -le $ac_mid; then
17575 ac_mid
=`expr 2 '*' $ac_mid + 1`
17577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.
$ac_ext >&5
17583 cat >conftest.
$ac_ext <<_ACEOF
17586 cat confdefs.h
>>conftest.
$ac_ext
17587 cat >>conftest.
$ac_ext <<_ACEOF
17588 /* end confdefs.h. */
17589 $ac_includes_default
17593 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17600 rm -f conftest.
$ac_objext
17601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17602 (eval $ac_compile) 2>conftest.er1
17604 grep -v '^ *+' conftest.er1
>conftest.err
17606 cat conftest.err
>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } &&
17609 { ac_try
='test -z "$ac_c_werror_flag"
17610 || test ! -s conftest.err'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; } &&
17616 { ac_try
='test -s conftest.$ac_objext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17624 cat >conftest.
$ac_ext <<_ACEOF
17627 cat confdefs.h
>>conftest.
$ac_ext
17628 cat >>conftest.
$ac_ext <<_ACEOF
17629 /* end confdefs.h. */
17630 $ac_includes_default
17634 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17641 rm -f conftest.
$ac_objext
17642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17643 (eval $ac_compile) 2>conftest.er1
17645 grep -v '^ *+' conftest.er1
>conftest.err
17647 cat conftest.err
>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); } &&
17650 { ac_try
='test -z "$ac_c_werror_flag"
17651 || test ! -s conftest.err'
17652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17653 (eval $ac_try) 2>&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); }; } &&
17657 { ac_try
='test -s conftest.$ac_objext'
17658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659 (eval $ac_try) 2>&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); }; }; then
17663 ac_lo
=$ac_mid; break
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.
$ac_ext >&5
17668 ac_hi
=`expr '(' $ac_mid ')' - 1`
17669 if test $ac_mid -le $ac_hi; then
17673 ac_mid
=`expr 2 '*' $ac_mid`
17675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17678 echo "$as_me: failed program was:" >&5
17679 sed 's/^/| /' conftest.
$ac_ext >&5
17683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17686 # Binary search between lo and hi bounds.
17687 while test "x$ac_lo" != "x$ac_hi"; do
17688 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17689 cat >conftest.
$ac_ext <<_ACEOF
17692 cat confdefs.h
>>conftest.
$ac_ext
17693 cat >>conftest.
$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17695 $ac_includes_default
17699 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17706 rm -f conftest.
$ac_objext
17707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17708 (eval $ac_compile) 2>conftest.er1
17710 grep -v '^ *+' conftest.er1
>conftest.err
17712 cat conftest.err
>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } &&
17715 { ac_try
='test -z "$ac_c_werror_flag"
17716 || test ! -s conftest.err'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; } &&
17722 { ac_try
='test -s conftest.$ac_objext'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; }; then
17730 echo "$as_me: failed program was:" >&5
17731 sed 's/^/| /' conftest.
$ac_ext >&5
17733 ac_lo
=`expr '(' $ac_mid ')' + 1`
17735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17738 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17739 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17740 See \`config.log' for more details." >&5
17741 echo "$as_me: error: cannot compute sizeof (size_t), 77
17742 See \`config.log' for more details." >&2;}
17743 { (exit 1); exit 1; }; } ;;
17746 if test "$cross_compiling" = yes; then
17747 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17748 See \`config.log' for more details." >&5
17749 echo "$as_me: error: cannot run test program while cross compiling
17750 See \`config.log' for more details." >&2;}
17751 { (exit 1); exit 1; }; }
17753 cat >conftest.
$ac_ext <<_ACEOF
17756 cat confdefs.h
>>conftest.
$ac_ext
17757 cat >>conftest.
$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17759 $ac_includes_default
17760 long longval () { return (long) (sizeof (size_t)); }
17761 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17763 #include <stdlib.h>
17768 FILE *f = fopen ("conftest.val", "w");
17771 if (((long) (sizeof (size_t))) < 0)
17773 long i = longval ();
17774 if (i != ((long) (sizeof (size_t))))
17776 fprintf (f, "%ld\n", i);
17780 unsigned long i = ulongval ();
17781 if (i != ((long) (sizeof (size_t))))
17783 fprintf (f, "%lu\n", i);
17785 exit (ferror (f) || fclose (f) != 0);
17791 rm -f conftest
$ac_exeext
17792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17793 (eval $ac_link) 2>&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; }; then
17802 ac_cv_sizeof_size_t
=`cat conftest.val`
17804 echo "$as_me: program exited with status $ac_status" >&5
17805 echo "$as_me: failed program was:" >&5
17806 sed 's/^/| /' conftest.
$ac_ext >&5
17808 ( exit $ac_status )
17809 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17810 See \`config.log' for more details." >&5
17811 echo "$as_me: error: cannot compute sizeof (size_t), 77
17812 See \`config.log' for more details." >&2;}
17813 { (exit 1); exit 1; }; }
17815 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17820 ac_cv_sizeof_size_t
=0
17823 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17824 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17825 cat >>confdefs.h
<<_ACEOF
17826 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17833 echo "$as_me:$LINENO: checking for long long" >&5
17834 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17835 if test "${ac_cv_type_long_long+set}" = set; then
17836 echo $ECHO_N "(cached) $ECHO_C" >&6
17838 cat >conftest.
$ac_ext <<_ACEOF
17841 cat confdefs.h
>>conftest.
$ac_ext
17842 cat >>conftest.
$ac_ext <<_ACEOF
17843 /* end confdefs.h. */
17844 $ac_includes_default
17848 if ((long long *) 0)
17850 if (sizeof (long long))
17856 rm -f conftest.
$ac_objext
17857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17858 (eval $ac_compile) 2>conftest.er1
17860 grep -v '^ *+' conftest.er1
>conftest.err
17862 cat conftest.err
>&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); } &&
17865 { ac_try
='test -z "$ac_c_werror_flag"
17866 || test ! -s conftest.err'
17867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17868 (eval $ac_try) 2>&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); }; } &&
17872 { ac_try
='test -s conftest.$ac_objext'
17873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17874 (eval $ac_try) 2>&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); }; }; then
17878 ac_cv_type_long_long
=yes
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.
$ac_ext >&5
17883 ac_cv_type_long_long
=no
17885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17887 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17888 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17890 echo "$as_me:$LINENO: checking size of long long" >&5
17891 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17892 if test "${ac_cv_sizeof_long_long+set}" = set; then
17893 echo $ECHO_N "(cached) $ECHO_C" >&6
17895 if test "$ac_cv_type_long_long" = yes; then
17896 # The cast to unsigned long works around a bug in the HP C Compiler
17897 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17898 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17899 # This bug is HP SR number 8606223364.
17900 if test "$cross_compiling" = yes; then
17901 # Depending upon the size, compute the lo and hi bounds.
17902 cat >conftest.
$ac_ext <<_ACEOF
17905 cat confdefs.h
>>conftest.
$ac_ext
17906 cat >>conftest.
$ac_ext <<_ACEOF
17907 /* end confdefs.h. */
17908 $ac_includes_default
17912 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17919 rm -f conftest.
$ac_objext
17920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17921 (eval $ac_compile) 2>conftest.er1
17923 grep -v '^ *+' conftest.er1
>conftest.err
17925 cat conftest.err
>&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); } &&
17928 { ac_try
='test -z "$ac_c_werror_flag"
17929 || test ! -s conftest.err'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; } &&
17935 { ac_try
='test -s conftest.$ac_objext'
17936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17937 (eval $ac_try) 2>&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; }; then
17943 cat >conftest.
$ac_ext <<_ACEOF
17946 cat confdefs.h
>>conftest.
$ac_ext
17947 cat >>conftest.
$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17949 $ac_includes_default
17953 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17960 rm -f conftest.
$ac_objext
17961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17962 (eval $ac_compile) 2>conftest.er1
17964 grep -v '^ *+' conftest.er1
>conftest.err
17966 cat conftest.err
>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try
='test -z "$ac_c_werror_flag"
17970 || test ! -s conftest.err'
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17972 (eval $ac_try) 2>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; } &&
17976 { ac_try
='test -s conftest.$ac_objext'
17977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17978 (eval $ac_try) 2>&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }; }; then
17982 ac_hi
=$ac_mid; break
17984 echo "$as_me: failed program was:" >&5
17985 sed 's/^/| /' conftest.
$ac_ext >&5
17987 ac_lo
=`expr $ac_mid + 1`
17988 if test $ac_lo -le $ac_mid; then
17992 ac_mid
=`expr 2 '*' $ac_mid + 1`
17994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17997 echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.
$ac_ext >&5
18000 cat >conftest.
$ac_ext <<_ACEOF
18003 cat confdefs.h
>>conftest.
$ac_ext
18004 cat >>conftest.
$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 $ac_includes_default
18010 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18017 rm -f conftest.
$ac_objext
18018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18019 (eval $ac_compile) 2>conftest.er1
18021 grep -v '^ *+' conftest.er1
>conftest.err
18023 cat conftest.err
>&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); } &&
18026 { ac_try
='test -z "$ac_c_werror_flag"
18027 || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try
='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18041 cat >conftest.
$ac_ext <<_ACEOF
18044 cat confdefs.h
>>conftest.
$ac_ext
18045 cat >>conftest.
$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 $ac_includes_default
18051 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18058 rm -f conftest.
$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>conftest.er1
18062 grep -v '^ *+' conftest.er1
>conftest.err
18064 cat conftest.err
>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try
='test -z "$ac_c_werror_flag"
18068 || test ! -s conftest.err'
18069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18070 (eval $ac_try) 2>&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; } &&
18074 { ac_try
='test -s conftest.$ac_objext'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; }; then
18080 ac_lo
=$ac_mid; break
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.
$ac_ext >&5
18085 ac_hi
=`expr '(' $ac_mid ')' - 1`
18086 if test $ac_mid -le $ac_hi; then
18090 ac_mid
=`expr 2 '*' $ac_mid`
18092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.
$ac_ext >&5
18100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18103 # Binary search between lo and hi bounds.
18104 while test "x$ac_lo" != "x$ac_hi"; do
18105 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18106 cat >conftest.
$ac_ext <<_ACEOF
18109 cat confdefs.h
>>conftest.
$ac_ext
18110 cat >>conftest.
$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112 $ac_includes_default
18116 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18123 rm -f conftest.
$ac_objext
18124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18125 (eval $ac_compile) 2>conftest.er1
18127 grep -v '^ *+' conftest.er1
>conftest.err
18129 cat conftest.err
>&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); } &&
18132 { ac_try
='test -z "$ac_c_werror_flag"
18133 || 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: cannot run test program while cross compiling
18165 See \`config.log' for more details." >&5
18166 echo "$as_me: error: cannot run test program while cross compiling
18167 See \`config.log' for more details." >&2;}
18168 { (exit 1); exit 1; }; }
18170 cat >conftest.
$ac_ext <<_ACEOF
18173 cat confdefs.h
>>conftest.
$ac_ext
18174 cat >>conftest.
$ac_ext <<_ACEOF
18175 /* end confdefs.h. */
18176 $ac_includes_default
18177 long longval () { return (long) (sizeof (long long)); }
18178 unsigned long ulongval () { return (long) (sizeof (long long)); }
18180 #include <stdlib.h>
18185 FILE *f = fopen ("conftest.val", "w");
18188 if (((long) (sizeof (long long))) < 0)
18190 long i = longval ();
18191 if (i != ((long) (sizeof (long long))))
18193 fprintf (f, "%ld\n", i);
18197 unsigned long i = ulongval ();
18198 if (i != ((long) (sizeof (long long))))
18200 fprintf (f, "%lu\n", i);
18202 exit (ferror (f) || fclose (f) != 0);
18208 rm -f conftest
$ac_exeext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18210 (eval $ac_link) 2>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; }; then
18219 ac_cv_sizeof_long_long
=`cat conftest.val`
18221 echo "$as_me: program exited with status $ac_status" >&5
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.
$ac_ext >&5
18225 ( exit $ac_status )
18226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18227 See \`config.log' for more details." >&5
18228 echo "$as_me: error: cannot compute sizeof (long long), 77
18229 See \`config.log' for more details." >&2;}
18230 { (exit 1); exit 1; }; }
18232 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18237 ac_cv_sizeof_long_long
=0
18240 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18241 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18242 cat >>confdefs.h
<<_ACEOF
18243 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18249 echo "$as_me:$LINENO: checking for long long" >&5
18250 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18251 if test "${ac_cv_type_long_long+set}" = set; then
18252 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 cat >conftest.
$ac_ext <<_ACEOF
18257 cat confdefs.h
>>conftest.
$ac_ext
18258 cat >>conftest.
$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18260 $ac_includes_default
18264 if ((long long *) 0)
18266 if (sizeof (long long))
18272 rm -f conftest.
$ac_objext
18273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18274 (eval $ac_compile) 2>conftest.er1
18276 grep -v '^ *+' conftest.er1
>conftest.err
18278 cat conftest.err
>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try
='test -z "$ac_c_werror_flag"
18282 || test ! -s conftest.err'
18283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284 (eval $ac_try) 2>&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; } &&
18288 { ac_try
='test -s conftest.$ac_objext'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; }; then
18294 ac_cv_type_long_long
=yes
18296 echo "$as_me: failed program was:" >&5
18297 sed 's/^/| /' conftest.
$ac_ext >&5
18299 ac_cv_type_long_long
=no
18301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18303 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18304 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18306 echo "$as_me:$LINENO: checking size of long long" >&5
18307 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18308 if test "${ac_cv_sizeof_long_long+set}" = set; then
18309 echo $ECHO_N "(cached) $ECHO_C" >&6
18311 if test "$ac_cv_type_long_long" = yes; then
18312 # The cast to unsigned long works around a bug in the HP C Compiler
18313 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18314 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18315 # This bug is HP SR number 8606223364.
18316 if test "$cross_compiling" = yes; then
18317 # Depending upon the size, compute the lo and hi bounds.
18318 cat >conftest.
$ac_ext <<_ACEOF
18321 cat confdefs.h
>>conftest.
$ac_ext
18322 cat >>conftest.
$ac_ext <<_ACEOF
18323 /* end confdefs.h. */
18324 $ac_includes_default
18328 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18335 rm -f conftest.
$ac_objext
18336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18337 (eval $ac_compile) 2>conftest.er1
18339 grep -v '^ *+' conftest.er1
>conftest.err
18341 cat conftest.err
>&5
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); } &&
18344 { ac_try
='test -z "$ac_c_werror_flag"
18345 || test ! -s conftest.err'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; } &&
18351 { ac_try
='test -s conftest.$ac_objext'
18352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353 (eval $ac_try) 2>&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; }; then
18359 cat >conftest.
$ac_ext <<_ACEOF
18362 cat confdefs.h
>>conftest.
$ac_ext
18363 cat >>conftest.
$ac_ext <<_ACEOF
18364 /* end confdefs.h. */
18365 $ac_includes_default
18369 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18376 rm -f conftest.
$ac_objext
18377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18378 (eval $ac_compile) 2>conftest.er1
18380 grep -v '^ *+' conftest.er1
>conftest.err
18382 cat conftest.err
>&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } &&
18385 { ac_try
='test -z "$ac_c_werror_flag"
18386 || test ! -s conftest.err'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; } &&
18392 { ac_try
='test -s conftest.$ac_objext'
18393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18394 (eval $ac_try) 2>&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); }; }; then
18398 ac_hi
=$ac_mid; break
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.
$ac_ext >&5
18403 ac_lo
=`expr $ac_mid + 1`
18404 if test $ac_lo -le $ac_mid; then
18408 ac_mid
=`expr 2 '*' $ac_mid + 1`
18410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18413 echo "$as_me: failed program was:" >&5
18414 sed 's/^/| /' conftest.
$ac_ext >&5
18416 cat >conftest.
$ac_ext <<_ACEOF
18419 cat confdefs.h
>>conftest.
$ac_ext
18420 cat >>conftest.
$ac_ext <<_ACEOF
18421 /* end confdefs.h. */
18422 $ac_includes_default
18426 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18433 rm -f conftest.
$ac_objext
18434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18435 (eval $ac_compile) 2>conftest.er1
18437 grep -v '^ *+' conftest.er1
>conftest.err
18439 cat conftest.err
>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); } &&
18442 { ac_try
='test -z "$ac_c_werror_flag"
18443 || test ! -s conftest.err'
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); }; } &&
18449 { ac_try
='test -s conftest.$ac_objext'
18450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18451 (eval $ac_try) 2>&5
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); }; }; then
18457 cat >conftest.
$ac_ext <<_ACEOF
18460 cat confdefs.h
>>conftest.
$ac_ext
18461 cat >>conftest.
$ac_ext <<_ACEOF
18462 /* end confdefs.h. */
18463 $ac_includes_default
18467 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18474 rm -f conftest.
$ac_objext
18475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18476 (eval $ac_compile) 2>conftest.er1
18478 grep -v '^ *+' conftest.er1
>conftest.err
18480 cat conftest.err
>&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); } &&
18483 { ac_try
='test -z "$ac_c_werror_flag"
18484 || test ! -s conftest.err'
18485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18486 (eval $ac_try) 2>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); }; } &&
18490 { ac_try
='test -s conftest.$ac_objext'
18491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18492 (eval $ac_try) 2>&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); }; }; then
18496 ac_lo
=$ac_mid; break
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.
$ac_ext >&5
18501 ac_hi
=`expr '(' $ac_mid ')' - 1`
18502 if test $ac_mid -le $ac_hi; then
18506 ac_mid
=`expr 2 '*' $ac_mid`
18508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18511 echo "$as_me: failed program was:" >&5
18512 sed 's/^/| /' conftest.
$ac_ext >&5
18516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18519 # Binary search between lo and hi bounds.
18520 while test "x$ac_lo" != "x$ac_hi"; do
18521 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18522 cat >conftest.
$ac_ext <<_ACEOF
18525 cat confdefs.h
>>conftest.
$ac_ext
18526 cat >>conftest.
$ac_ext <<_ACEOF
18527 /* end confdefs.h. */
18528 $ac_includes_default
18532 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18539 rm -f conftest.
$ac_objext
18540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18541 (eval $ac_compile) 2>conftest.er1
18543 grep -v '^ *+' conftest.er1
>conftest.err
18545 cat conftest.err
>&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); } &&
18548 { ac_try
='test -z "$ac_c_werror_flag"
18549 || test ! -s conftest.err'
18550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18551 (eval $ac_try) 2>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); }; } &&
18555 { ac_try
='test -s conftest.$ac_objext'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; }; then
18563 echo "$as_me: failed program was:" >&5
18564 sed 's/^/| /' conftest.
$ac_ext >&5
18566 ac_lo
=`expr '(' $ac_mid ')' + 1`
18568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18571 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18572 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18573 See \`config.log' for more details." >&5
18574 echo "$as_me: error: cannot compute sizeof (long long), 77
18575 See \`config.log' for more details." >&2;}
18576 { (exit 1); exit 1; }; } ;;
18579 if test "$cross_compiling" = yes; then
18580 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18581 See \`config.log' for more details." >&5
18582 echo "$as_me: error: cannot run test program while cross compiling
18583 See \`config.log' for more details." >&2;}
18584 { (exit 1); exit 1; }; }
18586 cat >conftest.
$ac_ext <<_ACEOF
18589 cat confdefs.h
>>conftest.
$ac_ext
18590 cat >>conftest.
$ac_ext <<_ACEOF
18591 /* end confdefs.h. */
18592 $ac_includes_default
18593 long longval () { return (long) (sizeof (long long)); }
18594 unsigned long ulongval () { return (long) (sizeof (long long)); }
18596 #include <stdlib.h>
18601 FILE *f = fopen ("conftest.val", "w");
18604 if (((long) (sizeof (long long))) < 0)
18606 long i = longval ();
18607 if (i != ((long) (sizeof (long long))))
18609 fprintf (f, "%ld\n", i);
18613 unsigned long i = ulongval ();
18614 if (i != ((long) (sizeof (long long))))
18616 fprintf (f, "%lu\n", i);
18618 exit (ferror (f) || fclose (f) != 0);
18624 rm -f conftest
$ac_exeext
18625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18626 (eval $ac_link) 2>&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; }; then
18635 ac_cv_sizeof_long_long
=`cat conftest.val`
18637 echo "$as_me: program exited with status $ac_status" >&5
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.
$ac_ext >&5
18641 ( exit $ac_status )
18642 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18643 See \`config.log' for more details." >&5
18644 echo "$as_me: error: cannot compute sizeof (long long), 77
18645 See \`config.log' for more details." >&2;}
18646 { (exit 1); exit 1; }; }
18648 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18653 ac_cv_sizeof_long_long
=0
18656 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18657 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18658 cat >>confdefs.h
<<_ACEOF
18659 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18663 if test "$ac_cv_sizeof_long_long" != "0"; then
18664 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18668 echo "$as_me:$LINENO: checking for long long" >&5
18669 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18670 if test "${ac_cv_type_long_long+set}" = set; then
18671 echo $ECHO_N "(cached) $ECHO_C" >&6
18673 cat >conftest.
$ac_ext <<_ACEOF
18676 cat confdefs.h
>>conftest.
$ac_ext
18677 cat >>conftest.
$ac_ext <<_ACEOF
18678 /* end confdefs.h. */
18679 $ac_includes_default
18683 if ((long long *) 0)
18685 if (sizeof (long long))
18691 rm -f conftest.
$ac_objext
18692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18693 (eval $ac_compile) 2>conftest.er1
18695 grep -v '^ *+' conftest.er1
>conftest.err
18697 cat conftest.err
>&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); } &&
18700 { ac_try
='test -z "$ac_c_werror_flag"
18701 || test ! -s conftest.err'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; } &&
18707 { ac_try
='test -s conftest.$ac_objext'
18708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18709 (eval $ac_try) 2>&5
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; }; then
18713 ac_cv_type_long_long
=yes
18715 echo "$as_me: failed program was:" >&5
18716 sed 's/^/| /' conftest.
$ac_ext >&5
18718 ac_cv_type_long_long
=no
18720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18722 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18723 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18725 echo "$as_me:$LINENO: checking size of long long" >&5
18726 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18727 if test "${ac_cv_sizeof_long_long+set}" = set; then
18728 echo $ECHO_N "(cached) $ECHO_C" >&6
18730 if test "$ac_cv_type_long_long" = yes; then
18731 # The cast to unsigned long works around a bug in the HP C Compiler
18732 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18733 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18734 # This bug is HP SR number 8606223364.
18735 if test "$cross_compiling" = yes; then
18736 # Depending upon the size, compute the lo and hi bounds.
18737 cat >conftest.
$ac_ext <<_ACEOF
18740 cat confdefs.h
>>conftest.
$ac_ext
18741 cat >>conftest.
$ac_ext <<_ACEOF
18742 /* end confdefs.h. */
18743 $ac_includes_default
18747 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18754 rm -f conftest.
$ac_objext
18755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18756 (eval $ac_compile) 2>conftest.er1
18758 grep -v '^ *+' conftest.er1
>conftest.err
18760 cat conftest.err
>&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } &&
18763 { ac_try
='test -z "$ac_c_werror_flag"
18764 || test ! -s conftest.err'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; } &&
18770 { ac_try
='test -s conftest.$ac_objext'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; }; then
18778 cat >conftest.
$ac_ext <<_ACEOF
18781 cat confdefs.h
>>conftest.
$ac_ext
18782 cat >>conftest.
$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18784 $ac_includes_default
18788 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18795 rm -f conftest.
$ac_objext
18796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18797 (eval $ac_compile) 2>conftest.er1
18799 grep -v '^ *+' conftest.er1
>conftest.err
18801 cat conftest.err
>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); } &&
18804 { ac_try
='test -z "$ac_c_werror_flag"
18805 || test ! -s conftest.err'
18806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807 (eval $ac_try) 2>&5
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); }; } &&
18811 { ac_try
='test -s conftest.$ac_objext'
18812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18813 (eval $ac_try) 2>&5
18815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18816 (exit $ac_status); }; }; then
18817 ac_hi
=$ac_mid; break
18819 echo "$as_me: failed program was:" >&5
18820 sed 's/^/| /' conftest.
$ac_ext >&5
18822 ac_lo
=`expr $ac_mid + 1`
18823 if test $ac_lo -le $ac_mid; then
18827 ac_mid
=`expr 2 '*' $ac_mid + 1`
18829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18832 echo "$as_me: failed program was:" >&5
18833 sed 's/^/| /' conftest.
$ac_ext >&5
18835 cat >conftest.
$ac_ext <<_ACEOF
18838 cat confdefs.h
>>conftest.
$ac_ext
18839 cat >>conftest.
$ac_ext <<_ACEOF
18840 /* end confdefs.h. */
18841 $ac_includes_default
18845 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18852 rm -f conftest.
$ac_objext
18853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18854 (eval $ac_compile) 2>conftest.er1
18856 grep -v '^ *+' conftest.er1
>conftest.err
18858 cat conftest.err
>&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); } &&
18861 { ac_try
='test -z "$ac_c_werror_flag"
18862 || test ! -s conftest.err'
18863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864 (eval $ac_try) 2>&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); }; } &&
18868 { ac_try
='test -s conftest.$ac_objext'
18869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18870 (eval $ac_try) 2>&5
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); }; }; then
18876 cat >conftest.
$ac_ext <<_ACEOF
18879 cat confdefs.h
>>conftest.
$ac_ext
18880 cat >>conftest.
$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18882 $ac_includes_default
18886 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18893 rm -f conftest.
$ac_objext
18894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18895 (eval $ac_compile) 2>conftest.er1
18897 grep -v '^ *+' conftest.er1
>conftest.err
18899 cat conftest.err
>&5
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); } &&
18902 { ac_try
='test -z "$ac_c_werror_flag"
18903 || test ! -s conftest.err'
18904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18905 (eval $ac_try) 2>&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); }; } &&
18909 { ac_try
='test -s conftest.$ac_objext'
18910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18911 (eval $ac_try) 2>&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); }; }; then
18915 ac_lo
=$ac_mid; break
18917 echo "$as_me: failed program was:" >&5
18918 sed 's/^/| /' conftest.
$ac_ext >&5
18920 ac_hi
=`expr '(' $ac_mid ')' - 1`
18921 if test $ac_mid -le $ac_hi; then
18925 ac_mid
=`expr 2 '*' $ac_mid`
18927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.
$ac_ext >&5
18935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18938 # Binary search between lo and hi bounds.
18939 while test "x$ac_lo" != "x$ac_hi"; do
18940 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18941 cat >conftest.
$ac_ext <<_ACEOF
18944 cat confdefs.h
>>conftest.
$ac_ext
18945 cat >>conftest.
$ac_ext <<_ACEOF
18946 /* end confdefs.h. */
18947 $ac_includes_default
18951 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18958 rm -f conftest.
$ac_objext
18959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18960 (eval $ac_compile) 2>conftest.er1
18962 grep -v '^ *+' conftest.er1
>conftest.err
18964 cat conftest.err
>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); } &&
18967 { ac_try
='test -z "$ac_c_werror_flag"
18968 || test ! -s conftest.err'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; } &&
18974 { ac_try
='test -s conftest.$ac_objext'
18975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18976 (eval $ac_try) 2>&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); }; }; then
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.
$ac_ext >&5
18985 ac_lo
=`expr '(' $ac_mid ')' + 1`
18987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18990 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18991 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18992 See \`config.log' for more details." >&5
18993 echo "$as_me: error: cannot compute sizeof (long long), 77
18994 See \`config.log' for more details." >&2;}
18995 { (exit 1); exit 1; }; } ;;
18998 if test "$cross_compiling" = yes; then
18999 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19000 See \`config.log' for more details." >&5
19001 echo "$as_me: error: cannot run test program while cross compiling
19002 See \`config.log' for more details." >&2;}
19003 { (exit 1); exit 1; }; }
19005 cat >conftest.
$ac_ext <<_ACEOF
19008 cat confdefs.h
>>conftest.
$ac_ext
19009 cat >>conftest.
$ac_ext <<_ACEOF
19010 /* end confdefs.h. */
19011 $ac_includes_default
19012 long longval () { return (long) (sizeof (long long)); }
19013 unsigned long ulongval () { return (long) (sizeof (long long)); }
19015 #include <stdlib.h>
19020 FILE *f = fopen ("conftest.val", "w");
19023 if (((long) (sizeof (long long))) < 0)
19025 long i = longval ();
19026 if (i != ((long) (sizeof (long long))))
19028 fprintf (f, "%ld\n", i);
19032 unsigned long i = ulongval ();
19033 if (i != ((long) (sizeof (long long))))
19035 fprintf (f, "%lu\n", i);
19037 exit (ferror (f) || fclose (f) != 0);
19043 rm -f conftest
$ac_exeext
19044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19045 (eval $ac_link) 2>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; }; then
19054 ac_cv_sizeof_long_long
=`cat conftest.val`
19056 echo "$as_me: program exited with status $ac_status" >&5
19057 echo "$as_me: failed program was:" >&5
19058 sed 's/^/| /' conftest.
$ac_ext >&5
19060 ( exit $ac_status )
19061 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19062 See \`config.log' for more details." >&5
19063 echo "$as_me: error: cannot compute sizeof (long long), 77
19064 See \`config.log' for more details." >&2;}
19065 { (exit 1); exit 1; }; }
19067 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19072 ac_cv_sizeof_long_long
=0
19075 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19076 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19077 cat >>confdefs.h
<<_ACEOF
19078 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19084 echo "$as_me:$LINENO: checking for wchar_t" >&5
19085 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19086 if test "${ac_cv_type_wchar_t+set}" = set; then
19087 echo $ECHO_N "(cached) $ECHO_C" >&6
19089 cat >conftest.
$ac_ext <<_ACEOF
19092 cat confdefs.h
>>conftest.
$ac_ext
19093 cat >>conftest.
$ac_ext <<_ACEOF
19094 /* end confdefs.h. */
19096 /* DJGPP only has fake wchar_t: */
19098 # error "fake wchar_t"
19100 #ifdef HAVE_WCHAR_H
19102 # include <stddef.h>
19104 # include <wchar.h>
19106 #ifdef HAVE_STDLIB_H
19107 # include <stdlib.h>
19118 if (sizeof (wchar_t))
19124 rm -f conftest.
$ac_objext
19125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19126 (eval $ac_compile) 2>conftest.er1
19128 grep -v '^ *+' conftest.er1
>conftest.err
19130 cat conftest.err
>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } &&
19133 { ac_try
='test -z "$ac_c_werror_flag"
19134 || test ! -s conftest.err'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; } &&
19140 { ac_try
='test -s conftest.$ac_objext'
19141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19142 (eval $ac_try) 2>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; }; then
19146 ac_cv_type_wchar_t
=yes
19148 echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.
$ac_ext >&5
19151 ac_cv_type_wchar_t
=no
19153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19155 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19156 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19158 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19159 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19160 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19161 echo $ECHO_N "(cached) $ECHO_C" >&6
19163 if test "$ac_cv_type_wchar_t" = yes; then
19164 # The cast to unsigned long works around a bug in the HP C Compiler
19165 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19166 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19167 # This bug is HP SR number 8606223364.
19168 if test "$cross_compiling" = yes; then
19169 # Depending upon the size, compute the lo and hi bounds.
19170 cat >conftest.
$ac_ext <<_ACEOF
19173 cat confdefs.h
>>conftest.
$ac_ext
19174 cat >>conftest.
$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19177 /* DJGPP only has fake wchar_t: */
19179 # error "fake wchar_t"
19181 #ifdef HAVE_WCHAR_H
19183 # include <stddef.h>
19185 # include <wchar.h>
19187 #ifdef HAVE_STDLIB_H
19188 # include <stdlib.h>
19197 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19204 rm -f conftest.
$ac_objext
19205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19206 (eval $ac_compile) 2>conftest.er1
19208 grep -v '^ *+' conftest.er1
>conftest.err
19210 cat conftest.err
>&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); } &&
19213 { ac_try
='test -z "$ac_c_werror_flag"
19214 || test ! -s conftest.err'
19215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 (eval $ac_try) 2>&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); }; } &&
19220 { ac_try
='test -s conftest.$ac_objext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19228 cat >conftest.
$ac_ext <<_ACEOF
19231 cat confdefs.h
>>conftest.
$ac_ext
19232 cat >>conftest.
$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19235 /* DJGPP only has fake wchar_t: */
19237 # error "fake wchar_t"
19239 #ifdef HAVE_WCHAR_H
19241 # include <stddef.h>
19243 # include <wchar.h>
19245 #ifdef HAVE_STDLIB_H
19246 # include <stdlib.h>
19255 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19262 rm -f conftest.
$ac_objext
19263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19264 (eval $ac_compile) 2>conftest.er1
19266 grep -v '^ *+' conftest.er1
>conftest.err
19268 cat conftest.err
>&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); } &&
19271 { ac_try
='test -z "$ac_c_werror_flag"
19272 || test ! -s conftest.err'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; } &&
19278 { ac_try
='test -s conftest.$ac_objext'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; }; then
19284 ac_hi
=$ac_mid; break
19286 echo "$as_me: failed program was:" >&5
19287 sed 's/^/| /' conftest.
$ac_ext >&5
19289 ac_lo
=`expr $ac_mid + 1`
19290 if test $ac_lo -le $ac_mid; then
19294 ac_mid
=`expr 2 '*' $ac_mid + 1`
19296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.
$ac_ext >&5
19302 cat >conftest.
$ac_ext <<_ACEOF
19305 cat confdefs.h
>>conftest.
$ac_ext
19306 cat >>conftest.
$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19309 /* DJGPP only has fake wchar_t: */
19311 # error "fake wchar_t"
19313 #ifdef HAVE_WCHAR_H
19315 # include <stddef.h>
19317 # include <wchar.h>
19319 #ifdef HAVE_STDLIB_H
19320 # include <stdlib.h>
19329 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19336 rm -f conftest.
$ac_objext
19337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19338 (eval $ac_compile) 2>conftest.er1
19340 grep -v '^ *+' conftest.er1
>conftest.err
19342 cat conftest.err
>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } &&
19345 { ac_try
='test -z "$ac_c_werror_flag"
19346 || test ! -s conftest.err'
19347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19348 (eval $ac_try) 2>&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); }; } &&
19352 { ac_try
='test -s conftest.$ac_objext'
19353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19354 (eval $ac_try) 2>&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); }; }; then
19360 cat >conftest.
$ac_ext <<_ACEOF
19363 cat confdefs.h
>>conftest.
$ac_ext
19364 cat >>conftest.
$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19367 /* DJGPP only has fake wchar_t: */
19369 # error "fake wchar_t"
19371 #ifdef HAVE_WCHAR_H
19373 # include <stddef.h>
19375 # include <wchar.h>
19377 #ifdef HAVE_STDLIB_H
19378 # include <stdlib.h>
19387 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19394 rm -f conftest.
$ac_objext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>conftest.er1
19398 grep -v '^ *+' conftest.er1
>conftest.err
19400 cat conftest.err
>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try
='test -z "$ac_c_werror_flag"
19404 || test ! -s conftest.err'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; } &&
19410 { ac_try
='test -s conftest.$ac_objext'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19416 ac_lo
=$ac_mid; break
19418 echo "$as_me: failed program was:" >&5
19419 sed 's/^/| /' conftest.
$ac_ext >&5
19421 ac_hi
=`expr '(' $ac_mid ')' - 1`
19422 if test $ac_mid -le $ac_hi; then
19426 ac_mid
=`expr 2 '*' $ac_mid`
19428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.
$ac_ext >&5
19436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19439 # Binary search between lo and hi bounds.
19440 while test "x$ac_lo" != "x$ac_hi"; do
19441 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19442 cat >conftest.
$ac_ext <<_ACEOF
19445 cat confdefs.h
>>conftest.
$ac_ext
19446 cat >>conftest.
$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19449 /* DJGPP only has fake wchar_t: */
19451 # error "fake wchar_t"
19453 #ifdef HAVE_WCHAR_H
19455 # include <stddef.h>
19457 # include <wchar.h>
19459 #ifdef HAVE_STDLIB_H
19460 # include <stdlib.h>
19469 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19476 rm -f conftest.
$ac_objext
19477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19478 (eval $ac_compile) 2>conftest.er1
19480 grep -v '^ *+' conftest.er1
>conftest.err
19482 cat conftest.err
>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); } &&
19485 { ac_try
='test -z "$ac_c_werror_flag"
19486 || test ! -s conftest.err'
19487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19488 (eval $ac_try) 2>&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); }; } &&
19492 { ac_try
='test -s conftest.$ac_objext'
19493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19494 (eval $ac_try) 2>&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); }; }; then
19500 echo "$as_me: failed program was:" >&5
19501 sed 's/^/| /' conftest.
$ac_ext >&5
19503 ac_lo
=`expr '(' $ac_mid ')' + 1`
19505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19508 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19509 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19510 See \`config.log' for more details." >&5
19511 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19512 See \`config.log' for more details." >&2;}
19513 { (exit 1); exit 1; }; } ;;
19516 if test "$cross_compiling" = yes; then
19517 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19518 See \`config.log' for more details." >&5
19519 echo "$as_me: error: cannot run test program while cross compiling
19520 See \`config.log' for more details." >&2;}
19521 { (exit 1); exit 1; }; }
19523 cat >conftest.
$ac_ext <<_ACEOF
19526 cat confdefs.h
>>conftest.
$ac_ext
19527 cat >>conftest.
$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19530 /* DJGPP only has fake wchar_t: */
19532 # error "fake wchar_t"
19534 #ifdef HAVE_WCHAR_H
19536 # include <stddef.h>
19538 # include <wchar.h>
19540 #ifdef HAVE_STDLIB_H
19541 # include <stdlib.h>
19547 long longval () { return (long) (sizeof (wchar_t)); }
19548 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19550 #include <stdlib.h>
19555 FILE *f = fopen ("conftest.val", "w");
19558 if (((long) (sizeof (wchar_t))) < 0)
19560 long i = longval ();
19561 if (i != ((long) (sizeof (wchar_t))))
19563 fprintf (f, "%ld\n", i);
19567 unsigned long i = ulongval ();
19568 if (i != ((long) (sizeof (wchar_t))))
19570 fprintf (f, "%lu\n", i);
19572 exit (ferror (f) || fclose (f) != 0);
19578 rm -f conftest
$ac_exeext
19579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19580 (eval $ac_link) 2>&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; }; then
19589 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19591 echo "$as_me: program exited with status $ac_status" >&5
19592 echo "$as_me: failed program was:" >&5
19593 sed 's/^/| /' conftest.
$ac_ext >&5
19595 ( exit $ac_status )
19596 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19597 See \`config.log' for more details." >&5
19598 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19599 See \`config.log' for more details." >&2;}
19600 { (exit 1); exit 1; }; }
19602 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19607 ac_cv_sizeof_wchar_t
=0
19610 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19611 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19612 cat >>confdefs.h
<<_ACEOF
19613 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19618 echo "$as_me:$LINENO: checking for va_copy" >&5
19619 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19620 if test "${wx_cv_func_va_copy+set}" = set; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19624 cat >conftest.
$ac_ext <<_ACEOF
19626 #include <stdarg.h>
19627 void foo(char *f, ...)
19641 rm -f conftest.
$ac_objext conftest
$ac_exeext
19642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19643 (eval $ac_link) 2>conftest.er1
19645 grep -v '^ *+' conftest.er1
>conftest.err
19647 cat conftest.err
>&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } &&
19650 { ac_try
='test -z "$ac_c_werror_flag"
19651 || test ! -s conftest.err'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; } &&
19657 { ac_try
='test -s conftest$ac_exeext'
19658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19659 (eval $ac_try) 2>&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); }; }; then
19663 wx_cv_func_va_copy
=yes
19665 echo "$as_me: failed program was:" >&5
19666 sed 's/^/| /' conftest.
$ac_ext >&5
19668 wx_cv_func_va_copy
=no
19671 rm -f conftest.err conftest.
$ac_objext \
19672 conftest
$ac_exeext conftest.
$ac_ext
19676 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19677 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19679 if test $wx_cv_func_va_copy = "yes"; then
19680 cat >>confdefs.h
<<\_ACEOF
19681 #define HAVE_VA_COPY 1
19685 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19686 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19687 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19688 echo $ECHO_N "(cached) $ECHO_C" >&6
19691 if test "$cross_compiling" = yes; then
19692 wx_cv_type_va_list_lvalue
=yes
19695 cat >conftest.
$ac_ext <<_ACEOF
19697 #include <stdarg.h>
19698 int foo(char *f, ...)
19703 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19711 return foo("hi", 17);
19714 rm -f conftest
$ac_exeext
19715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19716 (eval $ac_link) 2>&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19721 (eval $ac_try) 2>&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); }; }; then
19725 wx_cv_type_va_list_lvalue
=yes
19727 echo "$as_me: program exited with status $ac_status" >&5
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.
$ac_ext >&5
19731 ( exit $ac_status )
19732 wx_cv_type_va_list_lvalue
=no
19734 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19739 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19740 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19742 if test $wx_cv_type_va_list_lvalue != "yes"; then
19743 cat >>confdefs.h
<<\_ACEOF
19744 #define VA_LIST_IS_ARRAY 1
19750 # Check whether --enable-largefile or --disable-largefile was given.
19751 if test "${enable_largefile+set}" = set; then
19752 enableval
="$enable_largefile"
19755 if test "$enable_largefile" != no
; then
19758 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19759 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19760 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19761 echo $ECHO_N "(cached) $ECHO_C" >&6
19764 cat >conftest.
$ac_ext <<_ACEOF
19767 cat confdefs.h
>>conftest.
$ac_ext
19768 cat >>conftest.
$ac_ext <<_ACEOF
19769 /* end confdefs.h. */
19770 #define _FILE_OFFSET_BITS 64
19771 #include <sys/types.h>
19776 unsigned int field: sizeof(off_t) == 8;
19783 rm -f conftest.
$ac_objext
19784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19785 (eval $ac_compile) 2>conftest.er1
19787 grep -v '^ *+' conftest.er1
>conftest.err
19789 cat conftest.err
>&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); } &&
19792 { ac_try
='test -z "$ac_c_werror_flag"
19793 || test ! -s conftest.err'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; } &&
19799 { ac_try
='test -s conftest.$ac_objext'
19800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19801 (eval $ac_try) 2>&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); }; }; then
19805 ac_cv_sys_file_offset_bits
=64
19807 echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.
$ac_ext >&5
19810 ac_cv_sys_file_offset_bits
=no
19812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19816 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19817 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19819 if test "$ac_cv_sys_file_offset_bits" != no
; then
19821 cat >>confdefs.h
<<_ACEOF
19822 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19827 if test "x$wx_largefile" != "xyes"; then
19829 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19830 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19831 if test "${ac_cv_sys_large_files+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19835 cat >conftest.
$ac_ext <<_ACEOF
19838 cat confdefs.h
>>conftest.
$ac_ext
19839 cat >>conftest.
$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19841 #define _LARGE_FILES 1
19842 #include <sys/types.h>
19847 unsigned int field: sizeof(off_t) == 8;
19854 rm -f conftest.
$ac_objext
19855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19856 (eval $ac_compile) 2>conftest.er1
19858 grep -v '^ *+' conftest.er1
>conftest.err
19860 cat conftest.err
>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } &&
19863 { ac_try
='test -z "$ac_c_werror_flag"
19864 || test ! -s conftest.err'
19865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19866 (eval $ac_try) 2>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); }; } &&
19870 { ac_try
='test -s conftest.$ac_objext'
19871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19872 (eval $ac_try) 2>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); }; }; then
19876 ac_cv_sys_large_files
=1
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.
$ac_ext >&5
19881 ac_cv_sys_large_files
=no
19883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19887 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19888 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19890 if test "$ac_cv_sys_large_files" != no
; then
19892 cat >>confdefs.h
<<_ACEOF
19893 #define _LARGE_FILES $ac_cv_sys_large_files
19900 echo "$as_me:$LINENO: checking if large file support is available" >&5
19901 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19902 if test "x$wx_largefile" = "xyes"; then
19903 cat >>confdefs.h
<<\_ACEOF
19904 #define HAVE_LARGEFILE_SUPPORT 1
19908 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19909 echo "${ECHO_T}$wx_largefile" >&6
19913 if test "x$wx_largefile" = "xyes"; then
19914 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19915 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19917 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
19919 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19920 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19921 if test "${ac_cv_sys_largefile_source+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 ac_cv_sys_largefile_source
=no
19926 cat >conftest.
$ac_ext <<_ACEOF
19929 cat confdefs.h
>>conftest.
$ac_ext
19930 cat >>conftest.
$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19941 rm -f conftest.
$ac_objext
19942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19943 (eval $ac_compile) 2>conftest.er1
19945 grep -v '^ *+' conftest.er1
>conftest.err
19947 cat conftest.err
>&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); } &&
19950 { ac_try
='test -z "$ac_c_werror_flag"
19951 || test ! -s conftest.err'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; } &&
19957 { ac_try
='test -s conftest.$ac_objext'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.
$ac_ext >&5
19969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19970 cat >conftest.
$ac_ext <<_ACEOF
19973 cat confdefs.h
>>conftest.
$ac_ext
19974 cat >>conftest.
$ac_ext <<_ACEOF
19975 /* end confdefs.h. */
19976 #define _LARGEFILE_SOURCE 1
19986 rm -f conftest.
$ac_objext
19987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19988 (eval $ac_compile) 2>conftest.er1
19990 grep -v '^ *+' conftest.er1
>conftest.err
19992 cat conftest.err
>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); } &&
19995 { ac_try
='test -z "$ac_c_werror_flag"
19996 || test ! -s conftest.err'
19997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19998 (eval $ac_try) 2>&5
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); }; } &&
20002 { ac_try
='test -s conftest.$ac_objext'
20003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20004 (eval $ac_try) 2>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); }; }; then
20008 ac_cv_sys_largefile_source
=1; break
20010 echo "$as_me: failed program was:" >&5
20011 sed 's/^/| /' conftest.
$ac_ext >&5
20014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20018 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20019 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20020 if test "$ac_cv_sys_largefile_source" != no
; then
20022 cat >>confdefs.h
<<_ACEOF
20023 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20029 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20030 # in glibc 2.1.3, but that breaks too many other things.
20031 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20032 echo "$as_me:$LINENO: checking for fseeko" >&5
20033 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20034 if test "${ac_cv_func_fseeko+set}" = set; then
20035 echo $ECHO_N "(cached) $ECHO_C" >&6
20037 cat >conftest.
$ac_ext <<_ACEOF
20040 cat confdefs.h
>>conftest.
$ac_ext
20041 cat >>conftest.
$ac_ext <<_ACEOF
20042 /* end confdefs.h. */
20047 return fseeko && fseeko (stdin, 0, 0);
20052 rm -f conftest.
$ac_objext conftest
$ac_exeext
20053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20054 (eval $ac_link) 2>conftest.er1
20056 grep -v '^ *+' conftest.er1
>conftest.err
20058 cat conftest.err
>&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); } &&
20061 { ac_try
='test -z "$ac_c_werror_flag"
20062 || test ! -s conftest.err'
20063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20064 (eval $ac_try) 2>&5
20066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 (exit $ac_status); }; } &&
20068 { ac_try
='test -s conftest$ac_exeext'
20069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20070 (eval $ac_try) 2>&5
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); }; }; then
20074 ac_cv_func_fseeko
=yes
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.
$ac_ext >&5
20079 ac_cv_func_fseeko
=no
20081 rm -f conftest.err conftest.
$ac_objext \
20082 conftest
$ac_exeext conftest.
$ac_ext
20084 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20085 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20086 if test $ac_cv_func_fseeko = yes; then
20088 cat >>confdefs.h
<<\_ACEOF
20089 #define HAVE_FSEEKO 1
20094 if test "$ac_cv_sys_largefile_source" != no
; then
20095 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20097 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20100 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20101 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20102 if test "${ac_cv_c_bigendian+set}" = set; then
20103 echo $ECHO_N "(cached) $ECHO_C" >&6
20105 ac_cv_c_bigendian
=unknown
20106 # See if sys/param.h defines the BYTE_ORDER macro.
20107 cat >conftest.
$ac_ext <<_ACEOF
20110 cat confdefs.h
>>conftest.
$ac_ext
20111 cat >>conftest.
$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 #include <sys/types.h>
20114 #include <sys/param.h>
20119 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20120 bogus endian macros
20126 rm -f conftest.
$ac_objext
20127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20128 (eval $ac_compile) 2>conftest.er1
20130 grep -v '^ *+' conftest.er1
>conftest.err
20132 cat conftest.err
>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); } &&
20135 { ac_try
='test -z "$ac_c_werror_flag"
20136 || test ! -s conftest.err'
20137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20138 (eval $ac_try) 2>&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); }; } &&
20142 { ac_try
='test -s conftest.$ac_objext'
20143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144 (eval $ac_try) 2>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); }; }; then
20148 # It does; now see whether it defined to BIG_ENDIAN or not.
20149 cat >conftest.
$ac_ext <<_ACEOF
20152 cat confdefs.h
>>conftest.
$ac_ext
20153 cat >>conftest.
$ac_ext <<_ACEOF
20154 /* end confdefs.h. */
20155 #include <sys/types.h>
20156 #include <sys/param.h>
20161 #if BYTE_ORDER != BIG_ENDIAN
20168 rm -f conftest.
$ac_objext
20169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20170 (eval $ac_compile) 2>conftest.er1
20172 grep -v '^ *+' conftest.er1
>conftest.err
20174 cat conftest.err
>&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); } &&
20177 { ac_try
='test -z "$ac_c_werror_flag"
20178 || test ! -s conftest.err'
20179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20180 (eval $ac_try) 2>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; } &&
20184 { ac_try
='test -s conftest.$ac_objext'
20185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20186 (eval $ac_try) 2>&5
20188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189 (exit $ac_status); }; }; then
20190 ac_cv_c_bigendian
=yes
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.
$ac_ext >&5
20195 ac_cv_c_bigendian
=no
20197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.
$ac_ext >&5
20203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20204 if test $ac_cv_c_bigendian = unknown
; then
20205 if test "$cross_compiling" = yes; then
20206 ac_cv_c_bigendian
=unknown
20208 cat >conftest.
$ac_ext <<_ACEOF
20211 cat confdefs.h
>>conftest.
$ac_ext
20212 cat >>conftest.
$ac_ext <<_ACEOF
20213 /* end confdefs.h. */
20215 /* Are we little or big endian? From Harbison&Steele. */
20219 char c[sizeof (long)];
20222 exit (u.c[sizeof (long) - 1] == 1);
20225 rm -f conftest
$ac_exeext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20227 (eval $ac_link) 2>&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20232 (eval $ac_try) 2>&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }; }; then
20236 ac_cv_c_bigendian
=no
20238 echo "$as_me: program exited with status $ac_status" >&5
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.
$ac_ext >&5
20242 ( exit $ac_status )
20243 ac_cv_c_bigendian
=yes
20245 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20249 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20250 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20251 if test $ac_cv_c_bigendian = unknown
; then
20252 { 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
20253 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;}
20255 if test $ac_cv_c_bigendian = yes; then
20256 cat >>confdefs.h
<<\_ACEOF
20257 #define WORDS_BIGENDIAN 1
20264 ac_cpp
='$CXXCPP $CPPFLAGS'
20265 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20266 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20267 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20268 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20269 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20270 if test -z "$CXXCPP"; then
20271 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20272 echo $ECHO_N "(cached) $ECHO_C" >&6
20274 # Double quotes because CXXCPP needs to be expanded
20275 for CXXCPP
in "$CXX -E" "/lib/cpp"
20277 ac_preproc_ok
=false
20278 for ac_cxx_preproc_warn_flag
in '' yes
20280 # Use a header file that comes with gcc, so configuring glibc
20281 # with a fresh cross-compiler works.
20282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20283 # <limits.h> exists even on freestanding compilers.
20284 # On the NeXT, cc -E runs the code through the compiler's parser,
20285 # not just through cpp. "Syntax error" is here to catch this case.
20286 cat >conftest.
$ac_ext <<_ACEOF
20289 cat confdefs.h
>>conftest.
$ac_ext
20290 cat >>conftest.
$ac_ext <<_ACEOF
20291 /* end confdefs.h. */
20293 # include <limits.h>
20295 # include <assert.h>
20299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20300 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20302 grep -v '^ *+' conftest.er1
>conftest.err
20304 cat conftest.err
>&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); } >/dev
/null
; then
20307 if test -s conftest.err
; then
20308 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20309 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20316 if test -z "$ac_cpp_err"; then
20319 echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.
$ac_ext >&5
20322 # Broken: fails on valid input.
20325 rm -f conftest.err conftest.
$ac_ext
20327 # OK, works on sane cases. Now check whether non-existent headers
20328 # can be detected and how.
20329 cat >conftest.
$ac_ext <<_ACEOF
20332 cat confdefs.h
>>conftest.
$ac_ext
20333 cat >>conftest.
$ac_ext <<_ACEOF
20334 /* end confdefs.h. */
20335 #include <ac_nonexistent.h>
20337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20338 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20340 grep -v '^ *+' conftest.er1
>conftest.err
20342 cat conftest.err
>&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } >/dev
/null
; then
20345 if test -s conftest.err
; then
20346 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20347 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20354 if test -z "$ac_cpp_err"; then
20355 # Broken: success on invalid input.
20358 echo "$as_me: failed program was:" >&5
20359 sed 's/^/| /' conftest.
$ac_ext >&5
20361 # Passes both tests.
20365 rm -f conftest.err conftest.
$ac_ext
20368 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20369 rm -f conftest.err conftest.
$ac_ext
20370 if $ac_preproc_ok; then
20375 ac_cv_prog_CXXCPP
=$CXXCPP
20378 CXXCPP
=$ac_cv_prog_CXXCPP
20380 ac_cv_prog_CXXCPP
=$CXXCPP
20382 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20383 echo "${ECHO_T}$CXXCPP" >&6
20384 ac_preproc_ok
=false
20385 for ac_cxx_preproc_warn_flag
in '' yes
20387 # Use a header file that comes with gcc, so configuring glibc
20388 # with a fresh cross-compiler works.
20389 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20390 # <limits.h> exists even on freestanding compilers.
20391 # On the NeXT, cc -E runs the code through the compiler's parser,
20392 # not just through cpp. "Syntax error" is here to catch this case.
20393 cat >conftest.
$ac_ext <<_ACEOF
20396 cat confdefs.h
>>conftest.
$ac_ext
20397 cat >>conftest.
$ac_ext <<_ACEOF
20398 /* end confdefs.h. */
20400 # include <limits.h>
20402 # include <assert.h>
20406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20409 grep -v '^ *+' conftest.er1
>conftest.err
20411 cat conftest.err
>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } >/dev
/null
; then
20414 if test -s conftest.err
; then
20415 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20416 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20423 if test -z "$ac_cpp_err"; then
20426 echo "$as_me: failed program was:" >&5
20427 sed 's/^/| /' conftest.
$ac_ext >&5
20429 # Broken: fails on valid input.
20432 rm -f conftest.err conftest.
$ac_ext
20434 # OK, works on sane cases. Now check whether non-existent headers
20435 # can be detected and how.
20436 cat >conftest.
$ac_ext <<_ACEOF
20439 cat confdefs.h
>>conftest.
$ac_ext
20440 cat >>conftest.
$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20442 #include <ac_nonexistent.h>
20444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20445 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20447 grep -v '^ *+' conftest.er1
>conftest.err
20449 cat conftest.err
>&5
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); } >/dev
/null
; then
20452 if test -s conftest.err
; then
20453 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20454 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20461 if test -z "$ac_cpp_err"; then
20462 # Broken: success on invalid input.
20465 echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.
$ac_ext >&5
20468 # Passes both tests.
20472 rm -f conftest.err conftest.
$ac_ext
20475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20476 rm -f conftest.err conftest.
$ac_ext
20477 if $ac_preproc_ok; then
20480 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20481 See \`config.log' for more details." >&5
20482 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20483 See \`config.log' for more details." >&2;}
20484 { (exit 1); exit 1; }; }
20488 ac_cpp
='$CXXCPP $CPPFLAGS'
20489 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20490 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20491 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20498 ac_cpp
='$CXXCPP $CPPFLAGS'
20499 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20500 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20501 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20505 for ac_header
in iostream
20507 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20509 echo "$as_me:$LINENO: checking for $ac_header" >&5
20510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20512 echo $ECHO_N "(cached) $ECHO_C" >&6
20514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20517 # Is the header compilable?
20518 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20520 cat >conftest.
$ac_ext <<_ACEOF
20523 cat confdefs.h
>>conftest.
$ac_ext
20524 cat >>conftest.
$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 $ac_includes_default
20527 #include <$ac_header>
20529 rm -f conftest.
$ac_objext
20530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20531 (eval $ac_compile) 2>conftest.er1
20533 grep -v '^ *+' conftest.er1
>conftest.err
20535 cat conftest.err
>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); } &&
20538 { ac_try
='test -z "$ac_cxx_werror_flag"
20539 || test ! -s conftest.err'
20540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20541 (eval $ac_try) 2>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); }; } &&
20545 { ac_try
='test -s conftest.$ac_objext'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; }; then
20551 ac_header_compiler
=yes
20553 echo "$as_me: failed program was:" >&5
20554 sed 's/^/| /' conftest.
$ac_ext >&5
20556 ac_header_compiler
=no
20558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20560 echo "${ECHO_T}$ac_header_compiler" >&6
20562 # Is the header present?
20563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20565 cat >conftest.
$ac_ext <<_ACEOF
20568 cat confdefs.h
>>conftest.
$ac_ext
20569 cat >>conftest.
$ac_ext <<_ACEOF
20570 /* end confdefs.h. */
20571 #include <$ac_header>
20573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20574 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20576 grep -v '^ *+' conftest.er1
>conftest.err
20578 cat conftest.err
>&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); } >/dev
/null
; then
20581 if test -s conftest.err
; then
20582 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20583 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20590 if test -z "$ac_cpp_err"; then
20591 ac_header_preproc
=yes
20593 echo "$as_me: failed program was:" >&5
20594 sed 's/^/| /' conftest.
$ac_ext >&5
20596 ac_header_preproc
=no
20598 rm -f conftest.err conftest.
$ac_ext
20599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20600 echo "${ECHO_T}$ac_header_preproc" >&6
20602 # So? What about this header?
20603 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20609 ac_header_preproc
=yes
20612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20626 ## ----------------------------------------- ##
20627 ## Report this to wx-dev@lists.wxwidgets.org ##
20628 ## ----------------------------------------- ##
20631 sed "s/^/$as_me: WARNING: /" >&2
20634 echo "$as_me:$LINENO: checking for $ac_header" >&5
20635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20639 eval "$as_ac_Header=\$ac_header_preproc"
20641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20646 cat >>confdefs.h
<<_ACEOF
20647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20655 if test "$ac_cv_header_iostream" = "yes" ; then
20658 cat >>confdefs.h
<<\_ACEOF
20659 #define wxUSE_IOSTREAMH 1
20665 ac_cpp
='$CPP $CPPFLAGS'
20666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20673 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20674 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20675 if test "${wx_cv_cpp_bool+set}" = set; then
20676 echo $ECHO_N "(cached) $ECHO_C" >&6
20682 ac_cpp
='$CXXCPP $CPPFLAGS'
20683 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20684 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20685 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20688 cat >conftest.
$ac_ext <<_ACEOF
20691 cat confdefs.h
>>conftest.
$ac_ext
20692 cat >>conftest.
$ac_ext <<_ACEOF
20693 /* end confdefs.h. */
20708 rm -f conftest.
$ac_objext
20709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20710 (eval $ac_compile) 2>conftest.er1
20712 grep -v '^ *+' conftest.er1
>conftest.err
20714 cat conftest.err
>&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); } &&
20717 { ac_try
='test -z "$ac_cxx_werror_flag"
20718 || test ! -s conftest.err'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; } &&
20724 { ac_try
='test -s conftest.$ac_objext'
20725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 (eval $ac_try) 2>&5
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); }; }; then
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.
$ac_ext >&5
20742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20745 ac_cpp
='$CPP $CPPFLAGS'
20746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20752 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20753 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20755 if test "$wx_cv_cpp_bool" = "yes"; then
20756 cat >>confdefs.h
<<\_ACEOF
20757 #define HAVE_BOOL 1
20764 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20765 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20766 if test "${wx_cv_explicit+set}" = set; then
20767 echo $ECHO_N "(cached) $ECHO_C" >&6
20773 ac_cpp
='$CXXCPP $CPPFLAGS'
20774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20779 cat >conftest.
$ac_ext <<_ACEOF
20782 cat confdefs.h
>>conftest.
$ac_ext
20783 cat >>conftest.
$ac_ext <<_ACEOF
20784 /* end confdefs.h. */
20786 class Foo { public: explicit Foo(int) {} };
20798 rm -f conftest.
$ac_objext
20799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20800 (eval $ac_compile) 2>conftest.er1
20802 grep -v '^ *+' conftest.er1
>conftest.err
20804 cat conftest.err
>&5
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); } &&
20807 { ac_try
='test -z "$ac_cxx_werror_flag"
20808 || test ! -s conftest.err'
20809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20810 (eval $ac_try) 2>&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; } &&
20814 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
20821 cat >conftest.
$ac_ext <<_ACEOF
20824 cat confdefs.h
>>conftest.
$ac_ext
20825 cat >>conftest.
$ac_ext <<_ACEOF
20826 /* end confdefs.h. */
20828 class Foo { public: explicit Foo(int) {} };
20829 static void TakeFoo(const Foo& foo) { }
20842 rm -f conftest.
$ac_objext
20843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20844 (eval $ac_compile) 2>conftest.er1
20846 grep -v '^ *+' conftest.er1
>conftest.err
20848 cat conftest.err
>&5
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); } &&
20851 { ac_try
='test -z "$ac_cxx_werror_flag"
20852 || test ! -s conftest.err'
20853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854 (eval $ac_try) 2>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; } &&
20858 { ac_try
='test -s conftest.$ac_objext'
20859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860 (eval $ac_try) 2>&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; }; then
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.
$ac_ext >&5
20872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.
$ac_ext >&5
20881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20884 ac_cpp
='$CPP $CPPFLAGS'
20885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20891 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20892 echo "${ECHO_T}$wx_cv_explicit" >&6
20894 if test "$wx_cv_explicit" = "yes"; then
20895 cat >>confdefs.h
<<\_ACEOF
20896 #define HAVE_EXPLICIT 1
20902 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20903 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20904 if test "${ac_cv_cxx_const_cast+set}" = set; then
20905 echo $ECHO_N "(cached) $ECHO_C" >&6
20910 ac_cpp
='$CXXCPP $CPPFLAGS'
20911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20915 cat >conftest.
$ac_ext <<_ACEOF
20918 cat confdefs.h
>>conftest.
$ac_ext
20919 cat >>conftest.
$ac_ext <<_ACEOF
20920 /* end confdefs.h. */
20925 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20930 rm -f conftest.
$ac_objext
20931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20932 (eval $ac_compile) 2>conftest.er1
20934 grep -v '^ *+' conftest.er1
>conftest.err
20936 cat conftest.err
>&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); } &&
20939 { ac_try
='test -z "$ac_cxx_werror_flag"
20940 || test ! -s conftest.err'
20941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20942 (eval $ac_try) 2>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); }; } &&
20946 { ac_try
='test -s conftest.$ac_objext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20952 ac_cv_cxx_const_cast
=yes
20954 echo "$as_me: failed program was:" >&5
20955 sed 's/^/| /' conftest.
$ac_ext >&5
20957 ac_cv_cxx_const_cast
=no
20959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20961 ac_cpp
='$CPP $CPPFLAGS'
20962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20968 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20969 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20970 if test "$ac_cv_cxx_const_cast" = yes; then
20972 cat >>confdefs.h
<<\_ACEOF
20973 #define HAVE_CONST_CAST
20978 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20979 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20980 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20981 echo $ECHO_N "(cached) $ECHO_C" >&6
20986 ac_cpp
='$CXXCPP $CPPFLAGS'
20987 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20988 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20989 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20991 cat >conftest.
$ac_ext <<_ACEOF
20994 cat confdefs.h
>>conftest.
$ac_ext
20995 cat >>conftest.
$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 #include <typeinfo>
20998 class Base { public : Base () {} virtual void f () = 0;};
20999 class Derived : public Base { public : Derived () {} virtual void f () {} };
21000 class Unrelated { public : Unrelated () {} };
21001 int g (Unrelated&) { return 0; }
21006 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21011 rm -f conftest.
$ac_objext
21012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21013 (eval $ac_compile) 2>conftest.er1
21015 grep -v '^ *+' conftest.er1
>conftest.err
21017 cat conftest.err
>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } &&
21020 { ac_try
='test -z "$ac_cxx_werror_flag"
21021 || test ! -s conftest.err'
21022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21023 (eval $ac_try) 2>&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); }; } &&
21027 { ac_try
='test -s conftest.$ac_objext'
21028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21029 (eval $ac_try) 2>&5
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); }; }; then
21033 ac_cv_cxx_reinterpret_cast
=yes
21035 echo "$as_me: failed program was:" >&5
21036 sed 's/^/| /' conftest.
$ac_ext >&5
21038 ac_cv_cxx_reinterpret_cast
=no
21040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21042 ac_cpp
='$CPP $CPPFLAGS'
21043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21049 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21050 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21051 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21053 cat >>confdefs.h
<<\_ACEOF
21054 #define HAVE_REINTERPRET_CAST
21059 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21060 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21061 if test "${ac_cv_cxx_static_cast+set}" = set; then
21062 echo $ECHO_N "(cached) $ECHO_C" >&6
21067 ac_cpp
='$CXXCPP $CPPFLAGS'
21068 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21069 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21070 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21072 cat >conftest.
$ac_ext <<_ACEOF
21075 cat confdefs.h
>>conftest.
$ac_ext
21076 cat >>conftest.
$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 #include <typeinfo>
21079 class Base { public : Base () {} virtual void f () = 0; };
21080 class Derived : public Base { public : Derived () {} virtual void f () {} };
21081 int g (Derived&) { return 0; }
21086 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21091 rm -f conftest.
$ac_objext
21092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21093 (eval $ac_compile) 2>conftest.er1
21095 grep -v '^ *+' conftest.er1
>conftest.err
21097 cat conftest.err
>&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); } &&
21100 { ac_try
='test -z "$ac_cxx_werror_flag"
21101 || test ! -s conftest.err'
21102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21103 (eval $ac_try) 2>&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); }; } &&
21107 { ac_try
='test -s conftest.$ac_objext'
21108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21109 (eval $ac_try) 2>&5
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); }; }; then
21113 ac_cv_cxx_static_cast
=yes
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.
$ac_ext >&5
21118 ac_cv_cxx_static_cast
=no
21120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21122 ac_cpp
='$CPP $CPPFLAGS'
21123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21129 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21130 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21131 if test "$ac_cv_cxx_static_cast" = yes; then
21133 cat >>confdefs.h
<<\_ACEOF
21134 #define HAVE_STATIC_CAST
21140 if test "$wxUSE_STL" = "yes"; then
21142 ac_cpp
='$CXXCPP $CPPFLAGS'
21143 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21145 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21148 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21149 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21150 cat >conftest.
$ac_ext <<_ACEOF
21153 cat confdefs.h
>>conftest.
$ac_ext
21154 cat >>conftest.
$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21157 #include <functional>
21158 #include <algorithm>
21164 std::vector<int> moo;
21165 std::list<int> foo;
21166 std::vector<int>::iterator it =
21167 std::find_if(moo.begin(), moo.end(),
21168 std::bind2nd(std::less<int>(), 3));
21173 rm -f conftest.
$ac_objext
21174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21175 (eval $ac_compile) 2>conftest.er1
21177 grep -v '^ *+' conftest.er1
>conftest.err
21179 cat conftest.err
>&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } &&
21182 { ac_try
='test -z "$ac_cxx_werror_flag"
21183 || test ! -s conftest.err'
21184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21185 (eval $ac_try) 2>&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); }; } &&
21189 { ac_try
='test -s conftest.$ac_objext'
21190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21191 (eval $ac_try) 2>&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); }; }; then
21195 echo "$as_me:$LINENO: result: yes" >&5
21196 echo "${ECHO_T}yes" >&6
21198 echo "$as_me: failed program was:" >&5
21199 sed 's/^/| /' conftest.
$ac_ext >&5
21201 echo "$as_me:$LINENO: result: no" >&5
21202 echo "${ECHO_T}no" >&6
21203 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21204 echo "$as_me: error: Basic STL functionality missing" >&2;}
21205 { (exit 1); exit 1; }; }
21207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21209 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21210 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21211 cat >conftest.
$ac_ext <<_ACEOF
21214 cat confdefs.h
>>conftest.
$ac_ext
21215 cat >>conftest.
$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21226 rm -f conftest.
$ac_objext
21227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21228 (eval $ac_compile) 2>conftest.er1
21230 grep -v '^ *+' conftest.er1
>conftest.err
21232 cat conftest.err
>&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } &&
21235 { ac_try
='test -z "$ac_cxx_werror_flag"
21236 || test ! -s conftest.err'
21237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238 (eval $ac_try) 2>&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); }; } &&
21242 { ac_try
='test -s conftest.$ac_objext'
21243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21244 (eval $ac_try) 2>&5
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); }; }; then
21248 echo "$as_me:$LINENO: result: yes" >&5
21249 echo "${ECHO_T}yes" >&6
21250 cat >>confdefs.h
<<\_ACEOF
21251 #define HAVE_STD_WSTRING 1
21255 echo "$as_me: failed program was:" >&5
21256 sed 's/^/| /' conftest.
$ac_ext >&5
21258 echo "$as_me:$LINENO: result: no" >&5
21259 echo "${ECHO_T}no" >&6
21261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21263 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21264 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21265 cat >conftest.
$ac_ext <<_ACEOF
21268 cat confdefs.h
>>conftest.
$ac_ext
21269 cat >>conftest.
$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21275 std::string foo, bar;
21277 foo.compare(1, 1, bar);
21278 foo.compare(1, 1, bar, 1, 1);
21280 foo.compare(1, 1, "");
21281 foo.compare(1, 1, "", 2);
21286 rm -f conftest.
$ac_objext
21287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21288 (eval $ac_compile) 2>conftest.er1
21290 grep -v '^ *+' conftest.er1
>conftest.err
21292 cat conftest.err
>&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } &&
21295 { ac_try
='test -z "$ac_cxx_werror_flag"
21296 || test ! -s conftest.err'
21297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21298 (eval $ac_try) 2>&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; } &&
21302 { ac_try
='test -s conftest.$ac_objext'
21303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21304 (eval $ac_try) 2>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); }; }; then
21308 echo "$as_me:$LINENO: result: yes" >&5
21309 echo "${ECHO_T}yes" >&6
21310 cat >>confdefs.h
<<\_ACEOF
21311 #define HAVE_STD_STRING_COMPARE 1
21315 echo "$as_me: failed program was:" >&5
21316 sed 's/^/| /' conftest.
$ac_ext >&5
21318 echo "$as_me:$LINENO: result: no" >&5
21319 echo "${ECHO_T}no" >&6
21321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21323 if test "${ac_cv_header_hash_map+set}" = set; then
21324 echo "$as_me:$LINENO: checking for hash_map" >&5
21325 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21326 if test "${ac_cv_header_hash_map+set}" = set; then
21327 echo $ECHO_N "(cached) $ECHO_C" >&6
21329 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21330 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21332 # Is the header compilable?
21333 echo "$as_me:$LINENO: checking hash_map usability" >&5
21334 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21335 cat >conftest.
$ac_ext <<_ACEOF
21338 cat confdefs.h
>>conftest.
$ac_ext
21339 cat >>conftest.
$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341 $ac_includes_default
21342 #include <hash_map>
21344 rm -f conftest.
$ac_objext
21345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21346 (eval $ac_compile) 2>conftest.er1
21348 grep -v '^ *+' conftest.er1
>conftest.err
21350 cat conftest.err
>&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } &&
21353 { ac_try
='test -z "$ac_cxx_werror_flag"
21354 || test ! -s conftest.err'
21355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21356 (eval $ac_try) 2>&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; } &&
21360 { ac_try
='test -s conftest.$ac_objext'
21361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21362 (eval $ac_try) 2>&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); }; }; then
21366 ac_header_compiler
=yes
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.
$ac_ext >&5
21371 ac_header_compiler
=no
21373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21375 echo "${ECHO_T}$ac_header_compiler" >&6
21377 # Is the header present?
21378 echo "$as_me:$LINENO: checking hash_map presence" >&5
21379 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21380 cat >conftest.
$ac_ext <<_ACEOF
21383 cat confdefs.h
>>conftest.
$ac_ext
21384 cat >>conftest.
$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21386 #include <hash_map>
21388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21389 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21391 grep -v '^ *+' conftest.er1
>conftest.err
21393 cat conftest.err
>&5
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); } >/dev
/null
; then
21396 if test -s conftest.err
; then
21397 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21398 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21405 if test -z "$ac_cpp_err"; then
21406 ac_header_preproc
=yes
21408 echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.
$ac_ext >&5
21411 ac_header_preproc
=no
21413 rm -f conftest.err conftest.
$ac_ext
21414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21415 echo "${ECHO_T}$ac_header_preproc" >&6
21417 # So? What about this header?
21418 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21420 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21421 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21422 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21423 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21424 ac_header_preproc
=yes
21427 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21428 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21429 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21430 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21431 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21432 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21433 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21434 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21435 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21436 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21437 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21438 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21441 ## ----------------------------------------- ##
21442 ## Report this to wx-dev@lists.wxwidgets.org ##
21443 ## ----------------------------------------- ##
21446 sed "s/^/$as_me: WARNING: /" >&2
21449 echo "$as_me:$LINENO: checking for hash_map" >&5
21450 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21451 if test "${ac_cv_header_hash_map+set}" = set; then
21452 echo $ECHO_N "(cached) $ECHO_C" >&6
21454 ac_cv_header_hash_map
=$ac_header_preproc
21456 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21457 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21460 if test $ac_cv_header_hash_map = yes; then
21461 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21462 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21463 cat >conftest.
$ac_ext <<_ACEOF
21466 cat confdefs.h
>>conftest.
$ac_ext
21467 cat >>conftest.
$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 #include <hash_map>
21470 #include <hash_set>
21474 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21475 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21480 rm -f conftest.
$ac_objext
21481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21482 (eval $ac_compile) 2>conftest.er1
21484 grep -v '^ *+' conftest.er1
>conftest.err
21486 cat conftest.err
>&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); } &&
21489 { ac_try
='test -z "$ac_cxx_werror_flag"
21490 || test ! -s conftest.err'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; } &&
21496 { ac_try
='test -s conftest.$ac_objext'
21497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21498 (eval $ac_try) 2>&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); }; }; then
21502 echo "$as_me:$LINENO: result: yes" >&5
21503 echo "${ECHO_T}yes" >&6
21504 cat >>confdefs.h
<<\_ACEOF
21505 #define HAVE_HASH_MAP 1
21508 cat >>confdefs.h
<<\_ACEOF
21509 #define HAVE_STD_HASH_MAP 1
21513 echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.
$ac_ext >&5
21516 echo "$as_me:$LINENO: result: no" >&5
21517 echo "${ECHO_T}no" >&6
21519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21525 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21526 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21527 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21528 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21529 echo $ECHO_N "(cached) $ECHO_C" >&6
21531 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21532 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21534 # Is the header compilable?
21535 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21536 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21537 cat >conftest.
$ac_ext <<_ACEOF
21540 cat confdefs.h
>>conftest.
$ac_ext
21541 cat >>conftest.
$ac_ext <<_ACEOF
21542 /* end confdefs.h. */
21543 $ac_includes_default
21544 #include <ext/hash_map>
21546 rm -f conftest.
$ac_objext
21547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21548 (eval $ac_compile) 2>conftest.er1
21550 grep -v '^ *+' conftest.er1
>conftest.err
21552 cat conftest.err
>&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); } &&
21555 { ac_try
='test -z "$ac_cxx_werror_flag"
21556 || test ! -s conftest.err'
21557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21558 (eval $ac_try) 2>&5
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); }; } &&
21562 { ac_try
='test -s conftest.$ac_objext'
21563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21564 (eval $ac_try) 2>&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); }; }; then
21568 ac_header_compiler
=yes
21570 echo "$as_me: failed program was:" >&5
21571 sed 's/^/| /' conftest.
$ac_ext >&5
21573 ac_header_compiler
=no
21575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21577 echo "${ECHO_T}$ac_header_compiler" >&6
21579 # Is the header present?
21580 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21581 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21582 cat >conftest.
$ac_ext <<_ACEOF
21585 cat confdefs.h
>>conftest.
$ac_ext
21586 cat >>conftest.
$ac_ext <<_ACEOF
21587 /* end confdefs.h. */
21588 #include <ext/hash_map>
21590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21591 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21593 grep -v '^ *+' conftest.er1
>conftest.err
21595 cat conftest.err
>&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); } >/dev
/null
; then
21598 if test -s conftest.err
; then
21599 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21600 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21607 if test -z "$ac_cpp_err"; then
21608 ac_header_preproc
=yes
21610 echo "$as_me: failed program was:" >&5
21611 sed 's/^/| /' conftest.
$ac_ext >&5
21613 ac_header_preproc
=no
21615 rm -f conftest.err conftest.
$ac_ext
21616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21617 echo "${ECHO_T}$ac_header_preproc" >&6
21619 # So? What about this header?
21620 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21622 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21623 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21624 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21625 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21626 ac_header_preproc
=yes
21629 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21630 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21631 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21632 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21633 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21634 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21635 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21636 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21637 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21638 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21639 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21640 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21643 ## ----------------------------------------- ##
21644 ## Report this to wx-dev@lists.wxwidgets.org ##
21645 ## ----------------------------------------- ##
21648 sed "s/^/$as_me: WARNING: /" >&2
21651 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21652 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21653 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21654 echo $ECHO_N "(cached) $ECHO_C" >&6
21656 ac_cv_header_ext_hash_map
=$ac_header_preproc
21658 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21659 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21662 if test $ac_cv_header_ext_hash_map = yes; then
21663 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21664 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21665 cat >conftest.
$ac_ext <<_ACEOF
21668 cat confdefs.h
>>conftest.
$ac_ext
21669 cat >>conftest.
$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21671 #include <ext/hash_map>
21672 #include <ext/hash_set>
21676 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21677 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21682 rm -f conftest.
$ac_objext
21683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21684 (eval $ac_compile) 2>conftest.er1
21686 grep -v '^ *+' conftest.er1
>conftest.err
21688 cat conftest.err
>&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); } &&
21691 { ac_try
='test -z "$ac_cxx_werror_flag"
21692 || test ! -s conftest.err'
21693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21694 (eval $ac_try) 2>&5
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); }; } &&
21698 { ac_try
='test -s conftest.$ac_objext'
21699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21700 (eval $ac_try) 2>&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; }; then
21704 echo "$as_me:$LINENO: result: yes" >&5
21705 echo "${ECHO_T}yes" >&6
21706 cat >>confdefs.h
<<\_ACEOF
21707 #define HAVE_EXT_HASH_MAP 1
21710 cat >>confdefs.h
<<\_ACEOF
21711 #define HAVE_GNU_CXX_HASH_MAP 1
21715 echo "$as_me: failed program was:" >&5
21716 sed 's/^/| /' conftest.
$ac_ext >&5
21718 echo "$as_me:$LINENO: result: no" >&5
21719 echo "${ECHO_T}no" >&6
21721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21728 ac_cpp
='$CPP $CPPFLAGS'
21729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21737 /usr/local/include \
21739 /usr/Motif-2.1/include \
21740 /usr/Motif-1.2/include \
21741 /usr/include/Motif1.2 \
21742 /opt/xpm/include/X11 \
21743 /opt/GBxpm/include/ \
21744 /opt/GBxpm/X11/include/ \
21747 /usr/openwin/include \
21751 /usr/X11R6/include \
21752 /usr/X11R6.4/include \
21753 /usr/X11R5/include \
21754 /usr/X11R4/include \
21756 /usr/include/X11R6 \
21757 /usr/include/X11R5 \
21758 /usr/include/X11R4 \
21760 /usr/local/X11R6/include \
21761 /usr/local/X11R5/include \
21762 /usr/local/X11R4/include \
21764 /usr/local/include/X11R6 \
21765 /usr/local/include/X11R5 \
21766 /usr/local/include/X11R4 \
21770 /usr/local/X11/include \
21771 /usr/local/include/X11 \
21773 /usr/X386/include \
21774 /usr/x386/include \
21775 /usr/XFree86/include/X11 \
21777 X:/XFree86/include \
21778 X:/XFree86/include/X11 \
21781 /usr/local/include/gtk \
21782 /usr/include/glib \
21783 /usr/local/include/glib \
21786 /usr/local/include/qt \
21788 /usr/local/arm/3.3.2/include \
21790 /usr/include/windows \
21791 /usr/include/wine \
21792 /usr/local/include/wine \
21794 /usr/unsupported/include \
21795 /usr/athena/include \
21796 /usr/local/x11r5/include \
21797 /usr/lpp/Xamples/include \
21799 /usr/openwin/share/include"
21801 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
21804 cat >confcache
<<\_ACEOF
21805 # This file is a shell script that caches the results of configure
21806 # tests run on this system so they can be shared between configure
21807 # scripts and configure runs, see configure's option --config-cache.
21808 # It is not useful on other systems. If it contains results you don't
21809 # want to keep, you may remove or edit it.
21811 # config.status only pays attention to the cache file if you give it
21812 # the --recheck option to rerun configure.
21814 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21815 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21816 # following values.
21820 # The following way of writing the cache mishandles newlines in values,
21821 # but we know of no workaround that is simple, portable, and efficient.
21822 # So, don't put newlines in cache variables' values.
21823 # Ultrix sh set writes to stderr and can't be redirected directly,
21824 # and sets the high bit in the cache file unless we assign to the vars.
21827 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21829 # `set' does not quote correctly, so add quotes (double-quote
21830 # substitution turns \\\\ into \\, and sed turns \\ into \).
21833 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21836 # `set' quotes correctly as required by POSIX, so do not add quotes.
21838 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21845 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21847 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21849 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21850 if test -w $cache_file; then
21851 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21852 cat confcache
>$cache_file
21854 echo "not updating unwritable cache $cache_file"
21859 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21860 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21861 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21862 if test "${wx_cv_lib_glibc21+set}" = set; then
21863 echo $ECHO_N "(cached) $ECHO_C" >&6
21866 cat >conftest.
$ac_ext <<_ACEOF
21869 cat confdefs.h
>>conftest.
$ac_ext
21870 cat >>conftest.
$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21872 #include <features.h>
21877 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21878 #error not glibc2.1
21885 rm -f conftest.
$ac_objext
21886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21887 (eval $ac_compile) 2>conftest.er1
21889 grep -v '^ *+' conftest.er1
>conftest.err
21891 cat conftest.err
>&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } &&
21894 { ac_try
='test -z "$ac_c_werror_flag"
21895 || test ! -s conftest.err'
21896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; } &&
21901 { ac_try
='test -s conftest.$ac_objext'
21902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21903 (eval $ac_try) 2>&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; }; then
21908 wx_cv_lib_glibc21
=yes
21911 echo "$as_me: failed program was:" >&5
21912 sed 's/^/| /' conftest.
$ac_ext >&5
21915 wx_cv_lib_glibc21
=no
21919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21922 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21923 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21924 if test "$wx_cv_lib_glibc21" = "yes"; then
21925 cat >>confdefs.h
<<\_ACEOF
21926 #define wxHAVE_GLIBC2 1
21932 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21933 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21934 cat >>confdefs.h
<<\_ACEOF
21935 #define _GNU_SOURCE 1
21943 if test "$wxUSE_REGEX" != "no"; then
21944 cat >>confdefs.h
<<\_ACEOF
21945 #define wxUSE_REGEX 1
21949 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21950 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21951 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21952 wxUSE_REGEX
=builtin
21955 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21956 if test "${ac_cv_header_regex_h+set}" = set; then
21957 echo "$as_me:$LINENO: checking for regex.h" >&5
21958 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21959 if test "${ac_cv_header_regex_h+set}" = set; then
21960 echo $ECHO_N "(cached) $ECHO_C" >&6
21962 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21963 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21965 # Is the header compilable?
21966 echo "$as_me:$LINENO: checking regex.h usability" >&5
21967 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21968 cat >conftest.
$ac_ext <<_ACEOF
21971 cat confdefs.h
>>conftest.
$ac_ext
21972 cat >>conftest.
$ac_ext <<_ACEOF
21973 /* end confdefs.h. */
21974 $ac_includes_default
21977 rm -f conftest.
$ac_objext
21978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21979 (eval $ac_compile) 2>conftest.er1
21981 grep -v '^ *+' conftest.er1
>conftest.err
21983 cat conftest.err
>&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } &&
21986 { ac_try
='test -z "$ac_c_werror_flag"
21987 || test ! -s conftest.err'
21988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21989 (eval $ac_try) 2>&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); }; } &&
21993 { ac_try
='test -s conftest.$ac_objext'
21994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21995 (eval $ac_try) 2>&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); }; }; then
21999 ac_header_compiler
=yes
22001 echo "$as_me: failed program was:" >&5
22002 sed 's/^/| /' conftest.
$ac_ext >&5
22004 ac_header_compiler
=no
22006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22008 echo "${ECHO_T}$ac_header_compiler" >&6
22010 # Is the header present?
22011 echo "$as_me:$LINENO: checking regex.h presence" >&5
22012 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22013 cat >conftest.
$ac_ext <<_ACEOF
22016 cat confdefs.h
>>conftest.
$ac_ext
22017 cat >>conftest.
$ac_ext <<_ACEOF
22018 /* end confdefs.h. */
22021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22024 grep -v '^ *+' conftest.er1
>conftest.err
22026 cat conftest.err
>&5
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); } >/dev
/null
; then
22029 if test -s conftest.err
; then
22030 ac_cpp_err
=$ac_c_preproc_warn_flag
22031 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22038 if test -z "$ac_cpp_err"; then
22039 ac_header_preproc
=yes
22041 echo "$as_me: failed program was:" >&5
22042 sed 's/^/| /' conftest.
$ac_ext >&5
22044 ac_header_preproc
=no
22046 rm -f conftest.err conftest.
$ac_ext
22047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22048 echo "${ECHO_T}$ac_header_preproc" >&6
22050 # So? What about this header?
22051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22053 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22054 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22055 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22056 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22057 ac_header_preproc
=yes
22060 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22061 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22062 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22063 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22064 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22065 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22066 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22067 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22068 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22069 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22070 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22071 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22074 ## ----------------------------------------- ##
22075 ## Report this to wx-dev@lists.wxwidgets.org ##
22076 ## ----------------------------------------- ##
22079 sed "s/^/$as_me: WARNING: /" >&2
22082 echo "$as_me:$LINENO: checking for regex.h" >&5
22083 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22084 if test "${ac_cv_header_regex_h+set}" = set; then
22085 echo $ECHO_N "(cached) $ECHO_C" >&6
22087 ac_cv_header_regex_h
=$ac_header_preproc
22089 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22090 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22093 if test $ac_cv_header_regex_h = yes; then
22095 for ac_func
in regcomp
22097 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22098 echo "$as_me:$LINENO: checking for $ac_func" >&5
22099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22100 if eval "test \"\${$as_ac_var+set}\" = set"; then
22101 echo $ECHO_N "(cached) $ECHO_C" >&6
22103 cat >conftest.
$ac_ext <<_ACEOF
22106 cat confdefs.h
>>conftest.
$ac_ext
22107 cat >>conftest.
$ac_ext <<_ACEOF
22108 /* end confdefs.h. */
22109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22111 #define $ac_func innocuous_$ac_func
22113 /* System header to define __stub macros and hopefully few prototypes,
22114 which can conflict with char $ac_func (); below.
22115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22116 <limits.h> exists even on freestanding compilers. */
22119 # include <limits.h>
22121 # include <assert.h>
22126 /* Override any gcc2 internal prototype to avoid an error. */
22131 /* We use char because int might match the return type of a gcc2
22132 builtin and then its argument prototype would still apply. */
22134 /* The GNU C library defines this for functions which it implements
22135 to always fail with ENOSYS. Some functions are actually named
22136 something starting with __ and the normal name is an alias. */
22137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22140 char (*f) () = $ac_func;
22149 return f != $ac_func;
22154 rm -f conftest.
$ac_objext conftest
$ac_exeext
22155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22156 (eval $ac_link) 2>conftest.er1
22158 grep -v '^ *+' conftest.er1
>conftest.err
22160 cat conftest.err
>&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); } &&
22163 { ac_try
='test -z "$ac_c_werror_flag"
22164 || test ! -s conftest.err'
22165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22166 (eval $ac_try) 2>&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); }; } &&
22170 { ac_try
='test -s conftest$ac_exeext'
22171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22172 (eval $ac_try) 2>&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; }; then
22176 eval "$as_ac_var=yes"
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.
$ac_ext >&5
22181 eval "$as_ac_var=no"
22183 rm -f conftest.err conftest.
$ac_objext \
22184 conftest
$ac_exeext conftest.
$ac_ext
22186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22188 if test `eval echo '${'$as_ac_var'}'` = yes; then
22189 cat >>confdefs.h
<<_ACEOF
22190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22200 if test "x$ac_cv_func_regcomp" != "xyes"; then
22201 if test "$wxUSE_REGEX" = "sys" ; then
22202 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22203 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22204 { (exit 1); exit 1; }; }
22206 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22207 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22208 wxUSE_REGEX
=builtin
22212 cat >>confdefs.h
<<\_ACEOF
22213 #define WX_NO_REGEX_ADVANCED 1
22222 if test "$wxUSE_ZLIB" != "no" ; then
22223 cat >>confdefs.h
<<\_ACEOF
22224 #define wxUSE_ZLIB 1
22228 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22229 if test "$USE_DARWIN" = 1; then
22230 system_zlib_h_ok
="yes"
22232 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22233 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22234 if test "${ac_cv_header_zlib_h+set}" = set; then
22235 echo $ECHO_N "(cached) $ECHO_C" >&6
22237 if test "$cross_compiling" = yes; then
22238 unset ac_cv_header_zlib_h
22241 cat >conftest.
$ac_ext <<_ACEOF
22244 cat confdefs.h
>>conftest.
$ac_ext
22245 cat >>conftest.
$ac_ext <<_ACEOF
22246 /* end confdefs.h. */
22253 FILE *f=fopen("conftestval", "w");
22256 ZLIB_VERSION[0] == '1' &&
22257 (ZLIB_VERSION[2] > '1' ||
22258 (ZLIB_VERSION[2] == '1' &&
22259 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22264 rm -f conftest
$ac_exeext
22265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22266 (eval $ac_link) 2>&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
22275 ac_cv_header_zlib_h
=`cat conftestval`
22277 echo "$as_me: program exited with status $ac_status" >&5
22278 echo "$as_me: failed program was:" >&5
22279 sed 's/^/| /' conftest.
$ac_ext >&5
22281 ( exit $ac_status )
22282 ac_cv_header_zlib_h
=no
22284 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22288 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22289 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22290 if test "${ac_cv_header_zlib_h+set}" = set; then
22291 echo "$as_me:$LINENO: checking for zlib.h" >&5
22292 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22293 if test "${ac_cv_header_zlib_h+set}" = set; then
22294 echo $ECHO_N "(cached) $ECHO_C" >&6
22296 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22297 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22299 # Is the header compilable?
22300 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22301 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22302 cat >conftest.
$ac_ext <<_ACEOF
22305 cat confdefs.h
>>conftest.
$ac_ext
22306 cat >>conftest.
$ac_ext <<_ACEOF
22307 /* end confdefs.h. */
22308 $ac_includes_default
22311 rm -f conftest.
$ac_objext
22312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22313 (eval $ac_compile) 2>conftest.er1
22315 grep -v '^ *+' conftest.er1
>conftest.err
22317 cat conftest.err
>&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } &&
22320 { ac_try
='test -z "$ac_c_werror_flag"
22321 || test ! -s conftest.err'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; } &&
22327 { ac_try
='test -s conftest.$ac_objext'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; }; then
22333 ac_header_compiler
=yes
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.
$ac_ext >&5
22338 ac_header_compiler
=no
22340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22342 echo "${ECHO_T}$ac_header_compiler" >&6
22344 # Is the header present?
22345 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22346 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22347 cat >conftest.
$ac_ext <<_ACEOF
22350 cat confdefs.h
>>conftest.
$ac_ext
22351 cat >>conftest.
$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22356 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22358 grep -v '^ *+' conftest.er1
>conftest.err
22360 cat conftest.err
>&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } >/dev
/null
; then
22363 if test -s conftest.err
; then
22364 ac_cpp_err
=$ac_c_preproc_warn_flag
22365 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22372 if test -z "$ac_cpp_err"; then
22373 ac_header_preproc
=yes
22375 echo "$as_me: failed program was:" >&5
22376 sed 's/^/| /' conftest.
$ac_ext >&5
22378 ac_header_preproc
=no
22380 rm -f conftest.err conftest.
$ac_ext
22381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22382 echo "${ECHO_T}$ac_header_preproc" >&6
22384 # So? What about this header?
22385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22387 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22388 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22389 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22390 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22391 ac_header_preproc
=yes
22394 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22395 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22396 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22397 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22398 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22399 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22400 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22401 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22402 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22403 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22404 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22405 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22408 ## ----------------------------------------- ##
22409 ## Report this to wx-dev@lists.wxwidgets.org ##
22410 ## ----------------------------------------- ##
22413 sed "s/^/$as_me: WARNING: /" >&2
22416 echo "$as_me:$LINENO: checking for zlib.h" >&5
22417 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22418 if test "${ac_cv_header_zlib_h+set}" = set; then
22419 echo $ECHO_N "(cached) $ECHO_C" >&6
22421 ac_cv_header_zlib_h
=$ac_header_preproc
22423 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22424 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22430 system_zlib_h_ok
=$ac_cv_header_zlib_h
22433 if test "$system_zlib_h_ok" = "yes"; then
22434 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22435 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22436 if test "${ac_cv_lib_z_deflate+set}" = set; then
22437 echo $ECHO_N "(cached) $ECHO_C" >&6
22439 ac_check_lib_save_LIBS
=$LIBS
22441 cat >conftest.
$ac_ext <<_ACEOF
22444 cat confdefs.h
>>conftest.
$ac_ext
22445 cat >>conftest.
$ac_ext <<_ACEOF
22446 /* end confdefs.h. */
22448 /* Override any gcc2 internal prototype to avoid an error. */
22452 /* We use char because int might match the return type of a gcc2
22453 builtin and then its argument prototype would still apply. */
22463 rm -f conftest.
$ac_objext conftest
$ac_exeext
22464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22465 (eval $ac_link) 2>conftest.er1
22467 grep -v '^ *+' conftest.er1
>conftest.err
22469 cat conftest.err
>&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } &&
22472 { ac_try
='test -z "$ac_c_werror_flag"
22473 || test ! -s conftest.err'
22474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22475 (eval $ac_try) 2>&5
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); }; } &&
22479 { ac_try
='test -s conftest$ac_exeext'
22480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22481 (eval $ac_try) 2>&5
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); }; }; then
22485 ac_cv_lib_z_deflate
=yes
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.
$ac_ext >&5
22490 ac_cv_lib_z_deflate
=no
22492 rm -f conftest.err conftest.
$ac_objext \
22493 conftest
$ac_exeext conftest.
$ac_ext
22494 LIBS
=$ac_check_lib_save_LIBS
22496 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22497 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22498 if test $ac_cv_lib_z_deflate = yes; then
22504 if test "x$ZLIB_LINK" = "x" ; then
22505 if test "$wxUSE_ZLIB" = "sys" ; then
22506 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22507 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22508 { (exit 1); exit 1; }; }
22510 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22511 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22522 if test "$wxUSE_LIBPNG" != "no" ; then
22523 cat >>confdefs.h
<<\_ACEOF
22524 #define wxUSE_LIBPNG 1
22528 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22529 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22530 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22534 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22535 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22536 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22537 wxUSE_LIBPNG
=builtin
22540 if test "$wxUSE_MGL" != 1 ; then
22541 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22542 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22543 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22544 if test "${ac_cv_header_png_h+set}" = set; then
22545 echo $ECHO_N "(cached) $ECHO_C" >&6
22547 if test "$cross_compiling" = yes; then
22548 unset ac_cv_header_png_h
22551 cat >conftest.
$ac_ext <<_ACEOF
22554 cat confdefs.h
>>conftest.
$ac_ext
22555 cat >>conftest.
$ac_ext <<_ACEOF
22556 /* end confdefs.h. */
22563 FILE *f=fopen("conftestval", "w");
22566 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22571 rm -f conftest
$ac_exeext
22572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22573 (eval $ac_link) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22578 (eval $ac_try) 2>&5
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); }; }; then
22582 ac_cv_header_png_h
=`cat conftestval`
22584 echo "$as_me: program exited with status $ac_status" >&5
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.
$ac_ext >&5
22588 ( exit $ac_status )
22589 ac_cv_header_png_h
=no
22591 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22595 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22596 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22597 if test "${ac_cv_header_png_h+set}" = set; then
22598 echo "$as_me:$LINENO: checking for png.h" >&5
22599 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22600 if test "${ac_cv_header_png_h+set}" = set; then
22601 echo $ECHO_N "(cached) $ECHO_C" >&6
22603 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22604 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22606 # Is the header compilable?
22607 echo "$as_me:$LINENO: checking png.h usability" >&5
22608 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22609 cat >conftest.
$ac_ext <<_ACEOF
22612 cat confdefs.h
>>conftest.
$ac_ext
22613 cat >>conftest.
$ac_ext <<_ACEOF
22614 /* end confdefs.h. */
22615 $ac_includes_default
22618 rm -f conftest.
$ac_objext
22619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22620 (eval $ac_compile) 2>conftest.er1
22622 grep -v '^ *+' conftest.er1
>conftest.err
22624 cat conftest.err
>&5
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); } &&
22627 { ac_try
='test -z "$ac_c_werror_flag"
22628 || test ! -s conftest.err'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; } &&
22634 { ac_try
='test -s conftest.$ac_objext'
22635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22636 (eval $ac_try) 2>&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); }; }; then
22640 ac_header_compiler
=yes
22642 echo "$as_me: failed program was:" >&5
22643 sed 's/^/| /' conftest.
$ac_ext >&5
22645 ac_header_compiler
=no
22647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22649 echo "${ECHO_T}$ac_header_compiler" >&6
22651 # Is the header present?
22652 echo "$as_me:$LINENO: checking png.h presence" >&5
22653 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22654 cat >conftest.
$ac_ext <<_ACEOF
22657 cat confdefs.h
>>conftest.
$ac_ext
22658 cat >>conftest.
$ac_ext <<_ACEOF
22659 /* end confdefs.h. */
22662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22663 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22665 grep -v '^ *+' conftest.er1
>conftest.err
22667 cat conftest.err
>&5
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); } >/dev
/null
; then
22670 if test -s conftest.err
; then
22671 ac_cpp_err
=$ac_c_preproc_warn_flag
22672 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22679 if test -z "$ac_cpp_err"; then
22680 ac_header_preproc
=yes
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.
$ac_ext >&5
22685 ac_header_preproc
=no
22687 rm -f conftest.err conftest.
$ac_ext
22688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22689 echo "${ECHO_T}$ac_header_preproc" >&6
22691 # So? What about this header?
22692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22694 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22695 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22696 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22697 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22698 ac_header_preproc
=yes
22701 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22702 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22703 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22704 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22705 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22706 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22707 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22708 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22709 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22710 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22711 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22712 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22715 ## ----------------------------------------- ##
22716 ## Report this to wx-dev@lists.wxwidgets.org ##
22717 ## ----------------------------------------- ##
22720 sed "s/^/$as_me: WARNING: /" >&2
22723 echo "$as_me:$LINENO: checking for png.h" >&5
22724 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22725 if test "${ac_cv_header_png_h+set}" = set; then
22726 echo $ECHO_N "(cached) $ECHO_C" >&6
22728 ac_cv_header_png_h
=$ac_header_preproc
22730 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22731 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22737 if test "$ac_cv_header_png_h" = "yes"; then
22738 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22739 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22740 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22741 echo $ECHO_N "(cached) $ECHO_C" >&6
22743 ac_check_lib_save_LIBS
=$LIBS
22744 LIBS
="-lpng -lz -lm $LIBS"
22745 cat >conftest.
$ac_ext <<_ACEOF
22748 cat confdefs.h
>>conftest.
$ac_ext
22749 cat >>conftest.
$ac_ext <<_ACEOF
22750 /* end confdefs.h. */
22752 /* Override any gcc2 internal prototype to avoid an error. */
22756 /* We use char because int might match the return type of a gcc2
22757 builtin and then its argument prototype would still apply. */
22758 char png_check_sig ();
22767 rm -f conftest.
$ac_objext conftest
$ac_exeext
22768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22769 (eval $ac_link) 2>conftest.er1
22771 grep -v '^ *+' conftest.er1
>conftest.err
22773 cat conftest.err
>&5
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); } &&
22776 { ac_try
='test -z "$ac_c_werror_flag"
22777 || test ! -s conftest.err'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; } &&
22783 { ac_try
='test -s conftest$ac_exeext'
22784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22785 (eval $ac_try) 2>&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); }; }; then
22789 ac_cv_lib_png_png_check_sig
=yes
22791 echo "$as_me: failed program was:" >&5
22792 sed 's/^/| /' conftest.
$ac_ext >&5
22794 ac_cv_lib_png_png_check_sig
=no
22796 rm -f conftest.err conftest.
$ac_objext \
22797 conftest
$ac_exeext conftest.
$ac_ext
22798 LIBS
=$ac_check_lib_save_LIBS
22800 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22801 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22802 if test $ac_cv_lib_png_png_check_sig = yes; then
22803 PNG_LINK
=" -lpng -lz"
22808 if test "x$PNG_LINK" = "x" ; then
22809 if test "$wxUSE_LIBPNG" = "sys" ; then
22810 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22811 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22812 { (exit 1); exit 1; }; }
22814 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22815 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22816 wxUSE_LIBPNG
=builtin
22824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
22829 if test "$wxUSE_LIBJPEG" != "no" ; then
22830 cat >>confdefs.h
<<\_ACEOF
22831 #define wxUSE_LIBJPEG 1
22835 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22836 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22837 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22841 if test "$wxUSE_MGL" != 1 ; then
22842 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22843 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22844 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22845 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22846 echo $ECHO_N "(cached) $ECHO_C" >&6
22848 cat >conftest.
$ac_ext <<_ACEOF
22851 cat confdefs.h
>>conftest.
$ac_ext
22852 cat >>conftest.
$ac_ext <<_ACEOF
22853 /* end confdefs.h. */
22855 #undef HAVE_STDLIB_H
22857 #include <jpeglib.h>
22868 rm -f conftest.
$ac_objext
22869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22870 (eval $ac_compile) 2>conftest.er1
22872 grep -v '^ *+' conftest.er1
>conftest.err
22874 cat conftest.err
>&5
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); } &&
22877 { ac_try
='test -z "$ac_c_werror_flag"
22878 || test ! -s conftest.err'
22879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22880 (eval $ac_try) 2>&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); }; } &&
22884 { ac_try
='test -s conftest.$ac_objext'
22885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22886 (eval $ac_try) 2>&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); }; }; then
22890 ac_cv_header_jpeglib_h
=yes
22892 echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.
$ac_ext >&5
22895 ac_cv_header_jpeglib_h
=no
22898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22902 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22903 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22905 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22906 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22907 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22908 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22909 echo $ECHO_N "(cached) $ECHO_C" >&6
22911 ac_check_lib_save_LIBS
=$LIBS
22912 LIBS
="-ljpeg $LIBS"
22913 cat >conftest.
$ac_ext <<_ACEOF
22916 cat confdefs.h
>>conftest.
$ac_ext
22917 cat >>conftest.
$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22920 /* Override any gcc2 internal prototype to avoid an error. */
22924 /* We use char because int might match the return type of a gcc2
22925 builtin and then its argument prototype would still apply. */
22926 char jpeg_read_header ();
22930 jpeg_read_header ();
22935 rm -f conftest.
$ac_objext conftest
$ac_exeext
22936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22937 (eval $ac_link) 2>conftest.er1
22939 grep -v '^ *+' conftest.er1
>conftest.err
22941 cat conftest.err
>&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } &&
22944 { ac_try
='test -z "$ac_c_werror_flag"
22945 || test ! -s conftest.err'
22946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22947 (eval $ac_try) 2>&5
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); }; } &&
22951 { ac_try
='test -s conftest$ac_exeext'
22952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22953 (eval $ac_try) 2>&5
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); }; }; then
22957 ac_cv_lib_jpeg_jpeg_read_header
=yes
22959 echo "$as_me: failed program was:" >&5
22960 sed 's/^/| /' conftest.
$ac_ext >&5
22962 ac_cv_lib_jpeg_jpeg_read_header
=no
22964 rm -f conftest.err conftest.
$ac_objext \
22965 conftest
$ac_exeext conftest.
$ac_ext
22966 LIBS
=$ac_check_lib_save_LIBS
22968 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22969 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22970 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22971 JPEG_LINK
=" -ljpeg"
22976 if test "x$JPEG_LINK" = "x" ; then
22977 if test "$wxUSE_LIBJPEG" = "sys" ; then
22978 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22979 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22980 { (exit 1); exit 1; }; }
22982 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22983 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22984 wxUSE_LIBJPEG
=builtin
22995 TIFF_PREREQ_LINKS
=-lm
22996 if test "$wxUSE_LIBTIFF" != "no" ; then
22997 cat >>confdefs.h
<<\_ACEOF
22998 #define wxUSE_LIBTIFF 1
23002 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23003 if test "$wxUSE_LIBJPEG" = "sys"; then
23004 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23006 if test "$wxUSE_ZLIB" = "sys"; then
23007 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23009 if test "${ac_cv_header_tiffio_h+set}" = set; then
23010 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23011 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23012 if test "${ac_cv_header_tiffio_h+set}" = set; then
23013 echo $ECHO_N "(cached) $ECHO_C" >&6
23015 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23016 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23018 # Is the header compilable?
23019 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23020 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23021 cat >conftest.
$ac_ext <<_ACEOF
23024 cat confdefs.h
>>conftest.
$ac_ext
23025 cat >>conftest.
$ac_ext <<_ACEOF
23026 /* end confdefs.h. */
23027 $ac_includes_default
23028 #include <tiffio.h>
23030 rm -f conftest.
$ac_objext
23031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23032 (eval $ac_compile) 2>conftest.er1
23034 grep -v '^ *+' conftest.er1
>conftest.err
23036 cat conftest.err
>&5
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); } &&
23039 { ac_try
='test -z "$ac_c_werror_flag"
23040 || test ! -s conftest.err'
23041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23042 (eval $ac_try) 2>&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); }; } &&
23046 { ac_try
='test -s conftest.$ac_objext'
23047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23048 (eval $ac_try) 2>&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); }; }; then
23052 ac_header_compiler
=yes
23054 echo "$as_me: failed program was:" >&5
23055 sed 's/^/| /' conftest.
$ac_ext >&5
23057 ac_header_compiler
=no
23059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23060 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23061 echo "${ECHO_T}$ac_header_compiler" >&6
23063 # Is the header present?
23064 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23065 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23066 cat >conftest.
$ac_ext <<_ACEOF
23069 cat confdefs.h
>>conftest.
$ac_ext
23070 cat >>conftest.
$ac_ext <<_ACEOF
23071 /* end confdefs.h. */
23072 #include <tiffio.h>
23074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23075 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23077 grep -v '^ *+' conftest.er1
>conftest.err
23079 cat conftest.err
>&5
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); } >/dev
/null
; then
23082 if test -s conftest.err
; then
23083 ac_cpp_err
=$ac_c_preproc_warn_flag
23084 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23091 if test -z "$ac_cpp_err"; then
23092 ac_header_preproc
=yes
23094 echo "$as_me: failed program was:" >&5
23095 sed 's/^/| /' conftest.
$ac_ext >&5
23097 ac_header_preproc
=no
23099 rm -f conftest.err conftest.
$ac_ext
23100 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23101 echo "${ECHO_T}$ac_header_preproc" >&6
23103 # So? What about this header?
23104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23106 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23107 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23108 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23109 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23110 ac_header_preproc
=yes
23113 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23114 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23115 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23116 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23117 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23118 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23119 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23120 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23121 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23122 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23123 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23124 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23127 ## ----------------------------------------- ##
23128 ## Report this to wx-dev@lists.wxwidgets.org ##
23129 ## ----------------------------------------- ##
23132 sed "s/^/$as_me: WARNING: /" >&2
23135 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23136 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23137 if test "${ac_cv_header_tiffio_h+set}" = set; then
23138 echo $ECHO_N "(cached) $ECHO_C" >&6
23140 ac_cv_header_tiffio_h
=$ac_header_preproc
23142 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23143 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23146 if test $ac_cv_header_tiffio_h = yes; then
23148 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23149 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23150 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23151 echo $ECHO_N "(cached) $ECHO_C" >&6
23153 ac_check_lib_save_LIBS
=$LIBS
23154 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23155 cat >conftest.
$ac_ext <<_ACEOF
23158 cat confdefs.h
>>conftest.
$ac_ext
23159 cat >>conftest.
$ac_ext <<_ACEOF
23160 /* end confdefs.h. */
23162 /* Override any gcc2 internal prototype to avoid an error. */
23166 /* We use char because int might match the return type of a gcc2
23167 builtin and then its argument prototype would still apply. */
23177 rm -f conftest.
$ac_objext conftest
$ac_exeext
23178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23179 (eval $ac_link) 2>conftest.er1
23181 grep -v '^ *+' conftest.er1
>conftest.err
23183 cat conftest.err
>&5
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); } &&
23186 { ac_try
='test -z "$ac_c_werror_flag"
23187 || test ! -s conftest.err'
23188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23189 (eval $ac_try) 2>&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); }; } &&
23193 { ac_try
='test -s conftest$ac_exeext'
23194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23195 (eval $ac_try) 2>&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); }; }; then
23199 ac_cv_lib_tiff_TIFFError
=yes
23201 echo "$as_me: failed program was:" >&5
23202 sed 's/^/| /' conftest.
$ac_ext >&5
23204 ac_cv_lib_tiff_TIFFError
=no
23206 rm -f conftest.err conftest.
$ac_objext \
23207 conftest
$ac_exeext conftest.
$ac_ext
23208 LIBS
=$ac_check_lib_save_LIBS
23210 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23211 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23212 if test $ac_cv_lib_tiff_TIFFError = yes; then
23213 TIFF_LINK
=" -ltiff"
23222 if test "x$TIFF_LINK" = "x" ; then
23223 if test "$wxUSE_LIBTIFF" = "sys" ; then
23224 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23225 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23226 { (exit 1); exit 1; }; }
23228 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23229 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23230 wxUSE_LIBTIFF
=builtin
23239 if test "$wxUSE_EXPAT" != "no"; then
23241 cat >>confdefs.h
<<\_ACEOF
23242 #define wxUSE_EXPAT 1
23245 cat >>confdefs.h
<<\_ACEOF
23246 #define wxUSE_XML 1
23250 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23251 if test "${ac_cv_header_expat_h+set}" = set; then
23252 echo "$as_me:$LINENO: checking for expat.h" >&5
23253 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23254 if test "${ac_cv_header_expat_h+set}" = set; then
23255 echo $ECHO_N "(cached) $ECHO_C" >&6
23257 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23258 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23260 # Is the header compilable?
23261 echo "$as_me:$LINENO: checking expat.h usability" >&5
23262 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23263 cat >conftest.
$ac_ext <<_ACEOF
23266 cat confdefs.h
>>conftest.
$ac_ext
23267 cat >>conftest.
$ac_ext <<_ACEOF
23268 /* end confdefs.h. */
23269 $ac_includes_default
23272 rm -f conftest.
$ac_objext
23273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23274 (eval $ac_compile) 2>conftest.er1
23276 grep -v '^ *+' conftest.er1
>conftest.err
23278 cat conftest.err
>&5
23279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280 (exit $ac_status); } &&
23281 { ac_try
='test -z "$ac_c_werror_flag"
23282 || test ! -s conftest.err'
23283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23284 (eval $ac_try) 2>&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); }; } &&
23288 { ac_try
='test -s conftest.$ac_objext'
23289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290 (eval $ac_try) 2>&5
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); }; }; then
23294 ac_header_compiler
=yes
23296 echo "$as_me: failed program was:" >&5
23297 sed 's/^/| /' conftest.
$ac_ext >&5
23299 ac_header_compiler
=no
23301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23302 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23303 echo "${ECHO_T}$ac_header_compiler" >&6
23305 # Is the header present?
23306 echo "$as_me:$LINENO: checking expat.h presence" >&5
23307 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23308 cat >conftest.
$ac_ext <<_ACEOF
23311 cat confdefs.h
>>conftest.
$ac_ext
23312 cat >>conftest.
$ac_ext <<_ACEOF
23313 /* end confdefs.h. */
23316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23317 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23319 grep -v '^ *+' conftest.er1
>conftest.err
23321 cat conftest.err
>&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } >/dev
/null
; then
23324 if test -s conftest.err
; then
23325 ac_cpp_err
=$ac_c_preproc_warn_flag
23326 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23333 if test -z "$ac_cpp_err"; then
23334 ac_header_preproc
=yes
23336 echo "$as_me: failed program was:" >&5
23337 sed 's/^/| /' conftest.
$ac_ext >&5
23339 ac_header_preproc
=no
23341 rm -f conftest.err conftest.
$ac_ext
23342 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23343 echo "${ECHO_T}$ac_header_preproc" >&6
23345 # So? What about this header?
23346 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23348 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23349 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23350 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23351 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23352 ac_header_preproc
=yes
23355 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23356 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23357 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23358 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23359 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23360 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23361 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23362 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23363 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23364 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23365 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23366 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23369 ## ----------------------------------------- ##
23370 ## Report this to wx-dev@lists.wxwidgets.org ##
23371 ## ----------------------------------------- ##
23374 sed "s/^/$as_me: WARNING: /" >&2
23377 echo "$as_me:$LINENO: checking for expat.h" >&5
23378 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23379 if test "${ac_cv_header_expat_h+set}" = set; then
23380 echo $ECHO_N "(cached) $ECHO_C" >&6
23382 ac_cv_header_expat_h
=$ac_header_preproc
23384 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23385 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23388 if test $ac_cv_header_expat_h = yes; then
23393 if test "x$found_expat_h" = "x1"; then
23394 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23395 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23396 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23397 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 ac_cpp
='$CXXCPP $CPPFLAGS'
23404 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23408 cat >conftest.
$ac_ext <<_ACEOF
23411 cat confdefs.h
>>conftest.
$ac_ext
23412 cat >>conftest.
$ac_ext <<_ACEOF
23413 /* end confdefs.h. */
23423 rm -f conftest.
$ac_objext
23424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23425 (eval $ac_compile) 2>conftest.er1
23427 grep -v '^ *+' conftest.er1
>conftest.err
23429 cat conftest.err
>&5
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); } &&
23432 { ac_try
='test -z "$ac_cxx_werror_flag"
23433 || test ! -s conftest.err'
23434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23435 (eval $ac_try) 2>&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; } &&
23439 { ac_try
='test -s conftest.$ac_objext'
23440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23441 (eval $ac_try) 2>&5
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); }; }; then
23445 wx_cv_expat_is_not_broken
=yes
23447 echo "$as_me: failed program was:" >&5
23448 sed 's/^/| /' conftest.
$ac_ext >&5
23450 wx_cv_expat_is_not_broken
=no
23453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23455 ac_cpp
='$CPP $CPPFLAGS'
23456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23463 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23464 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23465 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23466 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23467 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23468 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23469 echo $ECHO_N "(cached) $ECHO_C" >&6
23471 ac_check_lib_save_LIBS
=$LIBS
23472 LIBS
="-lexpat $LIBS"
23473 cat >conftest.
$ac_ext <<_ACEOF
23476 cat confdefs.h
>>conftest.
$ac_ext
23477 cat >>conftest.
$ac_ext <<_ACEOF
23478 /* end confdefs.h. */
23480 /* Override any gcc2 internal prototype to avoid an error. */
23484 /* We use char because int might match the return type of a gcc2
23485 builtin and then its argument prototype would still apply. */
23486 char XML_ParserCreate ();
23490 XML_ParserCreate ();
23495 rm -f conftest.
$ac_objext conftest
$ac_exeext
23496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23497 (eval $ac_link) 2>conftest.er1
23499 grep -v '^ *+' conftest.er1
>conftest.err
23501 cat conftest.err
>&5
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); } &&
23504 { ac_try
='test -z "$ac_c_werror_flag"
23505 || test ! -s conftest.err'
23506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23507 (eval $ac_try) 2>&5
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); }; } &&
23511 { ac_try
='test -s conftest$ac_exeext'
23512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23513 (eval $ac_try) 2>&5
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); }; }; then
23517 ac_cv_lib_expat_XML_ParserCreate
=yes
23519 echo "$as_me: failed program was:" >&5
23520 sed 's/^/| /' conftest.
$ac_ext >&5
23522 ac_cv_lib_expat_XML_ParserCreate
=no
23524 rm -f conftest.err conftest.
$ac_objext \
23525 conftest
$ac_exeext conftest.
$ac_ext
23526 LIBS
=$ac_check_lib_save_LIBS
23528 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23529 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23530 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23531 EXPAT_LINK
=" -lexpat"
23536 if test "x$EXPAT_LINK" = "x" ; then
23537 if test "$wxUSE_EXPAT" = "sys" ; then
23538 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23539 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23540 { (exit 1); exit 1; }; }
23542 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23543 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23544 wxUSE_EXPAT
=builtin
23550 if test "$wxUSE_EXPAT" = "builtin" ; then
23553 subdirs
="$subdirs src/expat"
23560 if test "$wxUSE_LIBMSPACK" != "no"; then
23561 if test "${ac_cv_header_mspack_h+set}" = set; then
23562 echo "$as_me:$LINENO: checking for mspack.h" >&5
23563 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23564 if test "${ac_cv_header_mspack_h+set}" = set; then
23565 echo $ECHO_N "(cached) $ECHO_C" >&6
23567 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23568 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23570 # Is the header compilable?
23571 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23572 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23573 cat >conftest.
$ac_ext <<_ACEOF
23576 cat confdefs.h
>>conftest.
$ac_ext
23577 cat >>conftest.
$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23579 $ac_includes_default
23580 #include <mspack.h>
23582 rm -f conftest.
$ac_objext
23583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23584 (eval $ac_compile) 2>conftest.er1
23586 grep -v '^ *+' conftest.er1
>conftest.err
23588 cat conftest.err
>&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); } &&
23591 { ac_try
='test -z "$ac_c_werror_flag"
23592 || test ! -s conftest.err'
23593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23594 (eval $ac_try) 2>&5
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); }; } &&
23598 { ac_try
='test -s conftest.$ac_objext'
23599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23600 (eval $ac_try) 2>&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); }; }; then
23604 ac_header_compiler
=yes
23606 echo "$as_me: failed program was:" >&5
23607 sed 's/^/| /' conftest.
$ac_ext >&5
23609 ac_header_compiler
=no
23611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23613 echo "${ECHO_T}$ac_header_compiler" >&6
23615 # Is the header present?
23616 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23617 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23618 cat >conftest.
$ac_ext <<_ACEOF
23621 cat confdefs.h
>>conftest.
$ac_ext
23622 cat >>conftest.
$ac_ext <<_ACEOF
23623 /* end confdefs.h. */
23624 #include <mspack.h>
23626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23627 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23629 grep -v '^ *+' conftest.er1
>conftest.err
23631 cat conftest.err
>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } >/dev
/null
; then
23634 if test -s conftest.err
; then
23635 ac_cpp_err
=$ac_c_preproc_warn_flag
23636 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23643 if test -z "$ac_cpp_err"; then
23644 ac_header_preproc
=yes
23646 echo "$as_me: failed program was:" >&5
23647 sed 's/^/| /' conftest.
$ac_ext >&5
23649 ac_header_preproc
=no
23651 rm -f conftest.err conftest.
$ac_ext
23652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23653 echo "${ECHO_T}$ac_header_preproc" >&6
23655 # So? What about this header?
23656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23658 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23659 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23660 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23661 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23662 ac_header_preproc
=yes
23665 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23666 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23667 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23668 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23669 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23670 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23671 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23672 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23673 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23674 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23675 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23676 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23679 ## ----------------------------------------- ##
23680 ## Report this to wx-dev@lists.wxwidgets.org ##
23681 ## ----------------------------------------- ##
23684 sed "s/^/$as_me: WARNING: /" >&2
23687 echo "$as_me:$LINENO: checking for mspack.h" >&5
23688 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23689 if test "${ac_cv_header_mspack_h+set}" = set; then
23690 echo $ECHO_N "(cached) $ECHO_C" >&6
23692 ac_cv_header_mspack_h
=$ac_header_preproc
23694 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23695 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23698 if test $ac_cv_header_mspack_h = yes; then
23703 if test "x$found_mspack_h" = "x1"; then
23704 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23705 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23706 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23707 echo $ECHO_N "(cached) $ECHO_C" >&6
23709 ac_check_lib_save_LIBS
=$LIBS
23710 LIBS
="-lmspack $LIBS"
23711 cat >conftest.
$ac_ext <<_ACEOF
23714 cat confdefs.h
>>conftest.
$ac_ext
23715 cat >>conftest.
$ac_ext <<_ACEOF
23716 /* end confdefs.h. */
23718 /* Override any gcc2 internal prototype to avoid an error. */
23722 /* We use char because int might match the return type of a gcc2
23723 builtin and then its argument prototype would still apply. */
23724 char mspack_create_chm_decompressor ();
23728 mspack_create_chm_decompressor ();
23733 rm -f conftest.
$ac_objext conftest
$ac_exeext
23734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23735 (eval $ac_link) 2>conftest.er1
23737 grep -v '^ *+' conftest.er1
>conftest.err
23739 cat conftest.err
>&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); } &&
23742 { ac_try
='test -z "$ac_c_werror_flag"
23743 || test ! -s conftest.err'
23744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23745 (eval $ac_try) 2>&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; } &&
23749 { ac_try
='test -s conftest$ac_exeext'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; }; then
23755 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23757 echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.
$ac_ext >&5
23760 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23762 rm -f conftest.err conftest.
$ac_objext \
23763 conftest
$ac_exeext conftest.
$ac_ext
23764 LIBS
=$ac_check_lib_save_LIBS
23766 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23767 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23768 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23769 MSPACK_LINK
=" -lmspack"
23773 if test "x$MSPACK_LINK" = "x" ; then
23778 if test "$wxUSE_LIBMSPACK" != "no"; then
23779 cat >>confdefs.h
<<\_ACEOF
23780 #define wxUSE_LIBMSPACK 1
23794 if test "$USE_WIN32" = 1 ; then
23796 for ac_header
in w32api.h
23798 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23800 echo "$as_me:$LINENO: checking for $ac_header" >&5
23801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23803 echo $ECHO_N "(cached) $ECHO_C" >&6
23805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23808 # Is the header compilable?
23809 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23811 cat >conftest.
$ac_ext <<_ACEOF
23814 cat confdefs.h
>>conftest.
$ac_ext
23815 cat >>conftest.
$ac_ext <<_ACEOF
23816 /* end confdefs.h. */
23817 $ac_includes_default
23818 #include <$ac_header>
23820 rm -f conftest.
$ac_objext
23821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23822 (eval $ac_compile) 2>conftest.er1
23824 grep -v '^ *+' conftest.er1
>conftest.err
23826 cat conftest.err
>&5
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); } &&
23829 { ac_try
='test -z "$ac_c_werror_flag"
23830 || test ! -s conftest.err'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; } &&
23836 { ac_try
='test -s conftest.$ac_objext'
23837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23838 (eval $ac_try) 2>&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); }; }; then
23842 ac_header_compiler
=yes
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.
$ac_ext >&5
23847 ac_header_compiler
=no
23849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23851 echo "${ECHO_T}$ac_header_compiler" >&6
23853 # Is the header present?
23854 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23855 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23856 cat >conftest.
$ac_ext <<_ACEOF
23859 cat confdefs.h
>>conftest.
$ac_ext
23860 cat >>conftest.
$ac_ext <<_ACEOF
23861 /* end confdefs.h. */
23862 #include <$ac_header>
23864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23865 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23867 grep -v '^ *+' conftest.er1
>conftest.err
23869 cat conftest.err
>&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } >/dev
/null
; then
23872 if test -s conftest.err
; then
23873 ac_cpp_err
=$ac_c_preproc_warn_flag
23874 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23881 if test -z "$ac_cpp_err"; then
23882 ac_header_preproc
=yes
23884 echo "$as_me: failed program was:" >&5
23885 sed 's/^/| /' conftest.
$ac_ext >&5
23887 ac_header_preproc
=no
23889 rm -f conftest.err conftest.
$ac_ext
23890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23891 echo "${ECHO_T}$ac_header_preproc" >&6
23893 # So? What about this header?
23894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23896 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23897 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23899 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23900 ac_header_preproc
=yes
23903 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23904 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23905 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23906 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23907 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23908 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23909 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23910 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23913 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23914 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23917 ## ----------------------------------------- ##
23918 ## Report this to wx-dev@lists.wxwidgets.org ##
23919 ## ----------------------------------------- ##
23922 sed "s/^/$as_me: WARNING: /" >&2
23925 echo "$as_me:$LINENO: checking for $ac_header" >&5
23926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23928 echo $ECHO_N "(cached) $ECHO_C" >&6
23930 eval "$as_ac_Header=\$ac_header_preproc"
23932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23937 cat >>confdefs.h
<<_ACEOF
23938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23945 if test "${ac_cv_header_windows_h+set}" = set; then
23946 echo "$as_me:$LINENO: checking for windows.h" >&5
23947 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23948 if test "${ac_cv_header_windows_h+set}" = set; then
23949 echo $ECHO_N "(cached) $ECHO_C" >&6
23951 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23952 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23954 # Is the header compilable?
23955 echo "$as_me:$LINENO: checking windows.h usability" >&5
23956 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23957 cat >conftest.
$ac_ext <<_ACEOF
23960 cat confdefs.h
>>conftest.
$ac_ext
23961 cat >>conftest.
$ac_ext <<_ACEOF
23962 /* end confdefs.h. */
23963 $ac_includes_default
23964 #include <windows.h>
23966 rm -f conftest.
$ac_objext
23967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23968 (eval $ac_compile) 2>conftest.er1
23970 grep -v '^ *+' conftest.er1
>conftest.err
23972 cat conftest.err
>&5
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); } &&
23975 { ac_try
='test -z "$ac_c_werror_flag"
23976 || test ! -s conftest.err'
23977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23978 (eval $ac_try) 2>&5
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); }; } &&
23982 { ac_try
='test -s conftest.$ac_objext'
23983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23984 (eval $ac_try) 2>&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); }; }; then
23988 ac_header_compiler
=yes
23990 echo "$as_me: failed program was:" >&5
23991 sed 's/^/| /' conftest.
$ac_ext >&5
23993 ac_header_compiler
=no
23995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23997 echo "${ECHO_T}$ac_header_compiler" >&6
23999 # Is the header present?
24000 echo "$as_me:$LINENO: checking windows.h presence" >&5
24001 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24002 cat >conftest.
$ac_ext <<_ACEOF
24005 cat confdefs.h
>>conftest.
$ac_ext
24006 cat >>conftest.
$ac_ext <<_ACEOF
24007 /* end confdefs.h. */
24008 #include <windows.h>
24010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24011 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24013 grep -v '^ *+' conftest.er1
>conftest.err
24015 cat conftest.err
>&5
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); } >/dev
/null
; then
24018 if test -s conftest.err
; then
24019 ac_cpp_err
=$ac_c_preproc_warn_flag
24020 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24027 if test -z "$ac_cpp_err"; then
24028 ac_header_preproc
=yes
24030 echo "$as_me: failed program was:" >&5
24031 sed 's/^/| /' conftest.
$ac_ext >&5
24033 ac_header_preproc
=no
24035 rm -f conftest.err conftest.
$ac_ext
24036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24037 echo "${ECHO_T}$ac_header_preproc" >&6
24039 # So? What about this header?
24040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24042 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24043 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24044 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24045 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24046 ac_header_preproc
=yes
24049 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24050 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24051 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24052 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24053 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24054 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24055 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24056 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24057 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24058 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24059 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24060 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24063 ## ----------------------------------------- ##
24064 ## Report this to wx-dev@lists.wxwidgets.org ##
24065 ## ----------------------------------------- ##
24068 sed "s/^/$as_me: WARNING: /" >&2
24071 echo "$as_me:$LINENO: checking for windows.h" >&5
24072 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24073 if test "${ac_cv_header_windows_h+set}" = set; then
24074 echo $ECHO_N "(cached) $ECHO_C" >&6
24076 ac_cv_header_windows_h
=$ac_header_preproc
24078 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24079 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24082 if test $ac_cv_header_windows_h = yes; then
24086 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24087 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24088 { (exit 1); exit 1; }; }
24094 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24096 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24097 LIBS
="$LIBS -loleacc"
24102 LIBS
="$LIBS -lkernel32 -luser32"
24103 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24106 if test "$wxUSE_ODBC" = "sys" ; then
24109 if test "$wxUSE_ODBC" = "yes" ; then
24110 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24111 cat >>confdefs.h
<<\_ACEOF
24112 #define wxUSE_ODBC 1
24117 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24118 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24120 WIN32INSTALL
=win32install
24123 if test "$wxUSE_GUI" = "yes"; then
24133 if test "$wxUSE_COCOA" = 1 ; then
24134 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24135 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24136 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24137 wxUSE_PRINTING_ARCHITECTURE
=no
24139 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24140 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24141 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24142 wxUSE_DRAG_AND_DROP
=no
24144 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24145 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24146 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24151 if test "$wxUSE_MSW" = 1 ; then
24157 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24161 if test "$wxUSE_GTK" = 1; then
24162 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24163 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24165 gtk_version_cached
=1
24166 if test "${wx_cv_lib_gtk+set}" = set; then
24167 echo $ECHO_N "(cached) $ECHO_C" >&6
24170 gtk_version_cached
=0
24171 echo "$as_me:$LINENO: result: " >&5
24172 echo "${ECHO_T}" >&6
24175 if test "$wxUSE_THREADS" = "yes"; then
24176 GTK_MODULES
=gthread
24180 if test "x$wxUSE_GTK2" = "xyes"; then
24181 # Check whether --enable-gtktest or --disable-gtktest was given.
24182 if test "${enable_gtktest+set}" = set; then
24183 enableval
="$enable_gtktest"
24189 pkg_config_args
=gtk
+-2.0
24190 for module
in .
$GTK_MODULES
24194 pkg_config_args
="$pkg_config_args gthread-2.0"
24201 # Extract the first word of "pkg-config", so it can be a program name with args.
24202 set dummy pkg
-config; ac_word
=$2
24203 echo "$as_me:$LINENO: checking for $ac_word" >&5
24204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24205 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24206 echo $ECHO_N "(cached) $ECHO_C" >&6
24208 case $PKG_CONFIG in
24210 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24214 for as_dir
in $PATH
24217 test -z "$as_dir" && as_dir
=.
24218 for ac_exec_ext
in '' $ac_executable_extensions; do
24219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24220 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24227 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24231 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24233 if test -n "$PKG_CONFIG"; then
24234 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24235 echo "${ECHO_T}$PKG_CONFIG" >&6
24237 echo "$as_me:$LINENO: result: no" >&5
24238 echo "${ECHO_T}no" >&6
24242 if test x
$PKG_CONFIG != xno
; then
24243 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24246 echo "*** pkg-config too old; version 0.7 or better required."
24254 min_gtk_version
=2.0.0
24255 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24256 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24258 if test x
$PKG_CONFIG != xno
; then
24259 ## don't try to run the test against uninstalled libtool libs
24260 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24261 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24265 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24272 if test x
"$no_gtk" = x
; then
24273 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24274 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24275 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24276 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24277 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24278 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24279 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24280 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24281 if test "x$enable_gtktest" = "xyes" ; then
24282 ac_save_CFLAGS
="$CFLAGS"
24283 ac_save_LIBS
="$LIBS"
24284 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24285 LIBS
="$GTK_LIBS $LIBS"
24287 if test "$cross_compiling" = yes; then
24288 echo $ac_n "cross compiling; assumed OK... $ac_c"
24290 cat >conftest.
$ac_ext <<_ACEOF
24293 cat confdefs.h
>>conftest.
$ac_ext
24294 cat >>conftest.
$ac_ext <<_ACEOF
24295 /* end confdefs.h. */
24297 #include <gtk/gtk.h>
24299 #include <stdlib.h>
24304 int major, minor, micro;
24307 system ("touch conf.gtktest");
24309 /* HP/UX 9 (%@#!) writes to sscanf strings */
24310 tmp_version = g_strdup("$min_gtk_version");
24311 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24312 printf("%s, bad version string\n", "$min_gtk_version");
24316 if ((gtk_major_version != $gtk_config_major_version) ||
24317 (gtk_minor_version != $gtk_config_minor_version) ||
24318 (gtk_micro_version != $gtk_config_micro_version))
24320 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24321 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24322 gtk_major_version, gtk_minor_version, gtk_micro_version);
24323 printf ("*** was found! If pkg-config was correct, then it is best\n");
24324 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24325 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24326 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24327 printf("*** required on your system.\n");
24328 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24329 printf("*** to point to the correct configuration files\n");
24331 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24332 (gtk_minor_version != GTK_MINOR_VERSION) ||
24333 (gtk_micro_version != GTK_MICRO_VERSION))
24335 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24336 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24337 printf("*** library (version %d.%d.%d)\n",
24338 gtk_major_version, gtk_minor_version, gtk_micro_version);
24342 if ((gtk_major_version > major) ||
24343 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24344 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24350 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24351 gtk_major_version, gtk_minor_version, gtk_micro_version);
24352 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24353 major, minor, micro);
24354 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24356 printf("*** If you have already installed a sufficiently new version, this error\n");
24357 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24358 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24359 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24360 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24361 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24362 printf("*** so that the correct libraries are found at run-time))\n");
24369 rm -f conftest
$ac_exeext
24370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24371 (eval $ac_link) 2>&5
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24376 (eval $ac_try) 2>&5
24378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); }; }; then
24382 echo "$as_me: program exited with status $ac_status" >&5
24383 echo "$as_me: failed program was:" >&5
24384 sed 's/^/| /' conftest.
$ac_ext >&5
24386 ( exit $ac_status )
24389 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24391 CFLAGS
="$ac_save_CFLAGS"
24392 LIBS
="$ac_save_LIBS"
24395 if test "x$no_gtk" = x
; then
24396 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24397 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24400 echo "$as_me:$LINENO: result: no" >&5
24401 echo "${ECHO_T}no" >&6
24402 if test "$PKG_CONFIG" = "no" ; then
24403 echo "*** A new enough version of pkg-config was not found."
24404 echo "*** See http://pkgconfig.sourceforge.net"
24406 if test -f conf.gtktest
; then
24409 echo "*** Could not run GTK+ test program, checking why..."
24410 ac_save_CFLAGS
="$CFLAGS"
24411 ac_save_LIBS
="$LIBS"
24412 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24413 LIBS
="$LIBS $GTK_LIBS"
24414 cat >conftest.
$ac_ext <<_ACEOF
24417 cat confdefs.h
>>conftest.
$ac_ext
24418 cat >>conftest.
$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24421 #include <gtk/gtk.h>
24427 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24432 rm -f conftest.
$ac_objext conftest
$ac_exeext
24433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24434 (eval $ac_link) 2>conftest.er1
24436 grep -v '^ *+' conftest.er1
>conftest.err
24438 cat conftest.err
>&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } &&
24441 { ac_try
='test -z "$ac_c_werror_flag"
24442 || test ! -s conftest.err'
24443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24444 (eval $ac_try) 2>&5
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); }; } &&
24448 { ac_try
='test -s conftest$ac_exeext'
24449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24450 (eval $ac_try) 2>&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); }; }; then
24454 echo "*** The test program compiled, but did not run. This usually means"
24455 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24456 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24457 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24458 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24459 echo "*** is required on your system"
24461 echo "*** If you have an old version installed, it is best to remove it, although"
24462 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24464 echo "$as_me: failed program was:" >&5
24465 sed 's/^/| /' conftest.
$ac_ext >&5
24467 echo "*** The test program failed to compile or link. See the file config.log for the"
24468 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24470 rm -f conftest.err conftest.
$ac_objext \
24471 conftest
$ac_exeext conftest.
$ac_ext
24472 CFLAGS
="$ac_save_CFLAGS"
24473 LIBS
="$ac_save_LIBS"
24486 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24487 if test "${with_gtk_prefix+set}" = set; then
24488 withval
="$with_gtk_prefix"
24489 gtk_config_prefix
="$withval"
24491 gtk_config_prefix
=""
24494 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24495 if test "${with_gtk_exec_prefix+set}" = set; then
24496 withval
="$with_gtk_exec_prefix"
24497 gtk_config_exec_prefix
="$withval"
24499 gtk_config_exec_prefix
=""
24501 # Check whether --enable-gtktest or --disable-gtktest was given.
24502 if test "${enable_gtktest+set}" = set; then
24503 enableval
="$enable_gtktest"
24509 for module
in .
$GTK_MODULES
24513 gtk_config_args
="$gtk_config_args gthread"
24518 if test x
$gtk_config_exec_prefix != x
; then
24519 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24520 if test x
${GTK_CONFIG+set} != xset
; then
24521 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24524 if test x
$gtk_config_prefix != x
; then
24525 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24526 if test x
${GTK_CONFIG+set} != xset
; then
24527 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24531 # Extract the first word of "gtk-config", so it can be a program name with args.
24532 set dummy gtk
-config; ac_word
=$2
24533 echo "$as_me:$LINENO: checking for $ac_word" >&5
24534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24535 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24536 echo $ECHO_N "(cached) $ECHO_C" >&6
24538 case $GTK_CONFIG in
24540 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24544 for as_dir
in $PATH
24547 test -z "$as_dir" && as_dir
=.
24548 for ac_exec_ext
in '' $ac_executable_extensions; do
24549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24550 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24557 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24561 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24563 if test -n "$GTK_CONFIG"; then
24564 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24565 echo "${ECHO_T}$GTK_CONFIG" >&6
24567 echo "$as_me:$LINENO: result: no" >&5
24568 echo "${ECHO_T}no" >&6
24571 min_gtk_version
=1.2.7
24572 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24573 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24575 if test "$GTK_CONFIG" = "no" ; then
24578 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24579 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24580 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24582 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24583 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24584 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24585 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24586 if test "x$enable_gtktest" = "xyes" ; then
24587 ac_save_CFLAGS
="$CFLAGS"
24588 ac_save_LIBS
="$LIBS"
24589 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24590 LIBS
="$GTK_LIBS $LIBS"
24592 if test "$cross_compiling" = yes; then
24593 echo $ac_n "cross compiling; assumed OK... $ac_c"
24595 cat >conftest.
$ac_ext <<_ACEOF
24598 cat confdefs.h
>>conftest.
$ac_ext
24599 cat >>conftest.
$ac_ext <<_ACEOF
24600 /* end confdefs.h. */
24602 #include <gtk/gtk.h>
24604 #include <stdlib.h>
24609 int major, minor, micro;
24612 system ("touch conf.gtktest");
24614 /* HP/UX 9 (%@#!) writes to sscanf strings */
24615 tmp_version = g_strdup("$min_gtk_version");
24616 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24617 printf("%s, bad version string\n", "$min_gtk_version");
24621 if ((gtk_major_version != $gtk_config_major_version) ||
24622 (gtk_minor_version != $gtk_config_minor_version) ||
24623 (gtk_micro_version != $gtk_config_micro_version))
24625 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24626 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24627 gtk_major_version, gtk_minor_version, gtk_micro_version);
24628 printf ("*** was found! If gtk-config was correct, then it is best\n");
24629 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24630 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24631 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24632 printf("*** required on your system.\n");
24633 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24634 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24635 printf("*** before re-running configure\n");
24637 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24638 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24639 (gtk_minor_version != GTK_MINOR_VERSION) ||
24640 (gtk_micro_version != GTK_MICRO_VERSION))
24642 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24643 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24644 printf("*** library (version %d.%d.%d)\n",
24645 gtk_major_version, gtk_minor_version, gtk_micro_version);
24647 #endif /* defined (GTK_MAJOR_VERSION) ... */
24650 if ((gtk_major_version > major) ||
24651 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24652 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24658 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24659 gtk_major_version, gtk_minor_version, gtk_micro_version);
24660 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24661 major, minor, micro);
24662 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24664 printf("*** If you have already installed a sufficiently new version, this error\n");
24665 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24666 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24667 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24668 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24669 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24670 printf("*** so that the correct libraries are found at run-time))\n");
24677 rm -f conftest
$ac_exeext
24678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24679 (eval $ac_link) 2>&5
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
24690 echo "$as_me: program exited with status $ac_status" >&5
24691 echo "$as_me: failed program was:" >&5
24692 sed 's/^/| /' conftest.
$ac_ext >&5
24694 ( exit $ac_status )
24697 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24699 CFLAGS
="$ac_save_CFLAGS"
24700 LIBS
="$ac_save_LIBS"
24703 if test "x$no_gtk" = x
; then
24704 echo "$as_me:$LINENO: result: yes" >&5
24705 echo "${ECHO_T}yes" >&6
24706 wx_cv_lib_gtk
=1.2.7
24708 echo "$as_me:$LINENO: result: no" >&5
24709 echo "${ECHO_T}no" >&6
24710 if test "$GTK_CONFIG" = "no" ; then
24711 echo "*** The gtk-config script installed by GTK could not be found"
24712 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24713 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24714 echo "*** full path to gtk-config."
24716 if test -f conf.gtktest
; then
24719 echo "*** Could not run GTK test program, checking why..."
24720 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24721 LIBS
="$LIBS $GTK_LIBS"
24722 cat >conftest.
$ac_ext <<_ACEOF
24725 cat confdefs.h
>>conftest.
$ac_ext
24726 cat >>conftest.
$ac_ext <<_ACEOF
24727 /* end confdefs.h. */
24729 #include <gtk/gtk.h>
24735 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24740 rm -f conftest.
$ac_objext conftest
$ac_exeext
24741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24742 (eval $ac_link) 2>conftest.er1
24744 grep -v '^ *+' conftest.er1
>conftest.err
24746 cat conftest.err
>&5
24747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748 (exit $ac_status); } &&
24749 { ac_try
='test -z "$ac_c_werror_flag"
24750 || test ! -s conftest.err'
24751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24752 (eval $ac_try) 2>&5
24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); }; } &&
24756 { ac_try
='test -s conftest$ac_exeext'
24757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24758 (eval $ac_try) 2>&5
24760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761 (exit $ac_status); }; }; then
24762 echo "*** The test program compiled, but did not run. This usually means"
24763 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24764 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24765 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24766 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24767 echo "*** is required on your system"
24769 echo "*** If you have an old version installed, it is best to remove it, although"
24770 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24772 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24773 echo "*** came with the system with the command"
24775 echo "*** rpm --erase --nodeps gtk gtk-devel"
24777 echo "$as_me: failed program was:" >&5
24778 sed 's/^/| /' conftest.
$ac_ext >&5
24780 echo "*** The test program failed to compile or link. See the file config.log for the"
24781 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24782 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24783 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24785 rm -f conftest.err conftest.
$ac_objext \
24786 conftest
$ac_exeext conftest.
$ac_ext
24787 CFLAGS
="$ac_save_CFLAGS"
24788 LIBS
="$ac_save_LIBS"
24800 if test -z "$wx_cv_lib_gtk"; then
24802 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24803 if test "${with_gtk_prefix+set}" = set; then
24804 withval
="$with_gtk_prefix"
24805 gtk_config_prefix
="$withval"
24807 gtk_config_prefix
=""
24810 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24811 if test "${with_gtk_exec_prefix+set}" = set; then
24812 withval
="$with_gtk_exec_prefix"
24813 gtk_config_exec_prefix
="$withval"
24815 gtk_config_exec_prefix
=""
24817 # Check whether --enable-gtktest or --disable-gtktest was given.
24818 if test "${enable_gtktest+set}" = set; then
24819 enableval
="$enable_gtktest"
24825 for module
in .
$GTK_MODULES
24829 gtk_config_args
="$gtk_config_args gthread"
24834 if test x
$gtk_config_exec_prefix != x
; then
24835 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24836 if test x
${GTK_CONFIG+set} != xset
; then
24837 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24840 if test x
$gtk_config_prefix != x
; then
24841 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24842 if test x
${GTK_CONFIG+set} != xset
; then
24843 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24847 # Extract the first word of "gtk-config", so it can be a program name with args.
24848 set dummy gtk
-config; ac_word
=$2
24849 echo "$as_me:$LINENO: checking for $ac_word" >&5
24850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24851 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24852 echo $ECHO_N "(cached) $ECHO_C" >&6
24854 case $GTK_CONFIG in
24856 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24860 for as_dir
in $PATH
24863 test -z "$as_dir" && as_dir
=.
24864 for ac_exec_ext
in '' $ac_executable_extensions; do
24865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24866 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24873 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24877 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24879 if test -n "$GTK_CONFIG"; then
24880 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24881 echo "${ECHO_T}$GTK_CONFIG" >&6
24883 echo "$as_me:$LINENO: result: no" >&5
24884 echo "${ECHO_T}no" >&6
24887 min_gtk_version
=1.2.3
24888 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24889 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24891 if test "$GTK_CONFIG" = "no" ; then
24894 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24895 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24896 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24897 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24898 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24899 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24900 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24902 if test "x$enable_gtktest" = "xyes" ; then
24903 ac_save_CFLAGS
="$CFLAGS"
24904 ac_save_LIBS
="$LIBS"
24905 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24906 LIBS
="$GTK_LIBS $LIBS"
24908 if test "$cross_compiling" = yes; then
24909 echo $ac_n "cross compiling; assumed OK... $ac_c"
24911 cat >conftest.
$ac_ext <<_ACEOF
24914 cat confdefs.h
>>conftest.
$ac_ext
24915 cat >>conftest.
$ac_ext <<_ACEOF
24916 /* end confdefs.h. */
24918 #include <gtk/gtk.h>
24920 #include <stdlib.h>
24925 int major, minor, micro;
24928 system ("touch conf.gtktest");
24930 /* HP/UX 9 (%@#!) writes to sscanf strings */
24931 tmp_version = g_strdup("$min_gtk_version");
24932 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24933 printf("%s, bad version string\n", "$min_gtk_version");
24937 if ((gtk_major_version != $gtk_config_major_version) ||
24938 (gtk_minor_version != $gtk_config_minor_version) ||
24939 (gtk_micro_version != $gtk_config_micro_version))
24941 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24942 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24943 gtk_major_version, gtk_minor_version, gtk_micro_version);
24944 printf ("*** was found! If gtk-config was correct, then it is best\n");
24945 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24946 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24947 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24948 printf("*** required on your system.\n");
24949 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24950 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24951 printf("*** before re-running configure\n");
24953 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24954 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24955 (gtk_minor_version != GTK_MINOR_VERSION) ||
24956 (gtk_micro_version != GTK_MICRO_VERSION))
24958 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24959 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24960 printf("*** library (version %d.%d.%d)\n",
24961 gtk_major_version, gtk_minor_version, gtk_micro_version);
24963 #endif /* defined (GTK_MAJOR_VERSION) ... */
24966 if ((gtk_major_version > major) ||
24967 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24968 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24974 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24975 gtk_major_version, gtk_minor_version, gtk_micro_version);
24976 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24977 major, minor, micro);
24978 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24980 printf("*** If you have already installed a sufficiently new version, this error\n");
24981 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24982 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24983 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24984 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24985 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24986 printf("*** so that the correct libraries are found at run-time))\n");
24993 rm -f conftest
$ac_exeext
24994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24995 (eval $ac_link) 2>&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25000 (eval $ac_try) 2>&5
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); }; }; then
25006 echo "$as_me: program exited with status $ac_status" >&5
25007 echo "$as_me: failed program was:" >&5
25008 sed 's/^/| /' conftest.
$ac_ext >&5
25010 ( exit $ac_status )
25013 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25015 CFLAGS
="$ac_save_CFLAGS"
25016 LIBS
="$ac_save_LIBS"
25019 if test "x$no_gtk" = x
; then
25020 echo "$as_me:$LINENO: result: yes" >&5
25021 echo "${ECHO_T}yes" >&6
25022 wx_cv_lib_gtk
=1.2.3
25024 echo "$as_me:$LINENO: result: no" >&5
25025 echo "${ECHO_T}no" >&6
25026 if test "$GTK_CONFIG" = "no" ; then
25027 echo "*** The gtk-config script installed by GTK could not be found"
25028 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25029 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25030 echo "*** full path to gtk-config."
25032 if test -f conf.gtktest
; then
25035 echo "*** Could not run GTK test program, checking why..."
25036 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25037 LIBS
="$LIBS $GTK_LIBS"
25038 cat >conftest.
$ac_ext <<_ACEOF
25041 cat confdefs.h
>>conftest.
$ac_ext
25042 cat >>conftest.
$ac_ext <<_ACEOF
25043 /* end confdefs.h. */
25045 #include <gtk/gtk.h>
25051 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25056 rm -f conftest.
$ac_objext conftest
$ac_exeext
25057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25058 (eval $ac_link) 2>conftest.er1
25060 grep -v '^ *+' conftest.er1
>conftest.err
25062 cat conftest.err
>&5
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); } &&
25065 { ac_try
='test -z "$ac_c_werror_flag"
25066 || test ! -s conftest.err'
25067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068 (eval $ac_try) 2>&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); }; } &&
25072 { ac_try
='test -s conftest$ac_exeext'
25073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25074 (eval $ac_try) 2>&5
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); }; }; then
25078 echo "*** The test program compiled, but did not run. This usually means"
25079 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25080 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25081 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25082 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25083 echo "*** is required on your system"
25085 echo "*** If you have an old version installed, it is best to remove it, although"
25086 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25088 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25089 echo "*** came with the system with the command"
25091 echo "*** rpm --erase --nodeps gtk gtk-devel"
25093 echo "$as_me: failed program was:" >&5
25094 sed 's/^/| /' conftest.
$ac_ext >&5
25096 echo "*** The test program failed to compile or link. See the file config.log for the"
25097 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25098 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25099 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25101 rm -f conftest.err conftest.
$ac_objext \
25102 conftest
$ac_exeext conftest.
$ac_ext
25103 CFLAGS
="$ac_save_CFLAGS"
25104 LIBS
="$ac_save_LIBS"
25118 if test -z "$wx_cv_lib_gtk"; then
25121 wx_cv_cflags_gtk
=$GTK_CFLAGS
25122 wx_cv_libs_gtk
=$GTK_LIBS
25129 if test "$gtk_version_cached" = 1; then
25130 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25131 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25134 case "$wx_cv_lib_gtk" in
25143 *) { { echo "$as_me:$LINENO: error:
25144 Please check that gtk-config is in path, the directory
25145 where GTK+ libraries are installed (returned by
25146 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25147 equivalent variable and GTK+ is version 1.2.3 or above.
25149 echo "$as_me: error:
25150 Please check that gtk-config is in path, the directory
25151 where GTK+ libraries are installed (returned by
25152 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25153 equivalent variable and GTK+ is version 1.2.3 or above.
25155 { (exit 1); exit 1; }; }
25159 if test "$WXGTK20" = 1; then
25160 save_CFLAGS
="$CFLAGS"
25162 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25163 LIBS
="$LIBS $GTK_LIBS"
25166 for ac_func
in pango_font_family_is_monospace
25168 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25169 echo "$as_me:$LINENO: checking for $ac_func" >&5
25170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25171 if eval "test \"\${$as_ac_var+set}\" = set"; then
25172 echo $ECHO_N "(cached) $ECHO_C" >&6
25174 cat >conftest.
$ac_ext <<_ACEOF
25177 cat confdefs.h
>>conftest.
$ac_ext
25178 cat >>conftest.
$ac_ext <<_ACEOF
25179 /* end confdefs.h. */
25180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25182 #define $ac_func innocuous_$ac_func
25184 /* System header to define __stub macros and hopefully few prototypes,
25185 which can conflict with char $ac_func (); below.
25186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25187 <limits.h> exists even on freestanding compilers. */
25190 # include <limits.h>
25192 # include <assert.h>
25197 /* Override any gcc2 internal prototype to avoid an error. */
25202 /* We use char because int might match the return type of a gcc2
25203 builtin and then its argument prototype would still apply. */
25205 /* The GNU C library defines this for functions which it implements
25206 to always fail with ENOSYS. Some functions are actually named
25207 something starting with __ and the normal name is an alias. */
25208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25211 char (*f) () = $ac_func;
25220 return f != $ac_func;
25225 rm -f conftest.
$ac_objext conftest
$ac_exeext
25226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25227 (eval $ac_link) 2>conftest.er1
25229 grep -v '^ *+' conftest.er1
>conftest.err
25231 cat conftest.err
>&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); } &&
25234 { ac_try
='test -z "$ac_c_werror_flag"
25235 || test ! -s conftest.err'
25236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25237 (eval $ac_try) 2>&5
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); }; } &&
25241 { ac_try
='test -s conftest$ac_exeext'
25242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25243 (eval $ac_try) 2>&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); }; }; then
25247 eval "$as_ac_var=yes"
25249 echo "$as_me: failed program was:" >&5
25250 sed 's/^/| /' conftest.
$ac_ext >&5
25252 eval "$as_ac_var=no"
25254 rm -f conftest.err conftest.
$ac_objext \
25255 conftest
$ac_exeext conftest.
$ac_ext
25257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25259 if test `eval echo '${'$as_ac_var'}'` = yes; then
25260 cat >>confdefs.h
<<_ACEOF
25261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25268 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25269 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25270 cat >conftest.
$ac_ext <<_ACEOF
25273 cat confdefs.h
>>conftest.
$ac_ext
25274 cat >>conftest.
$ac_ext <<_ACEOF
25275 /* end confdefs.h. */
25277 #include <gtk/gtk.h>
25283 #if !GTK_CHECK_VERSION(2,4,0)
25284 #error "Not GTK+ 2.4"
25291 rm -f conftest.
$ac_objext
25292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25293 (eval $ac_compile) 2>conftest.er1
25295 grep -v '^ *+' conftest.er1
>conftest.err
25297 cat conftest.err
>&5
25298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299 (exit $ac_status); } &&
25300 { ac_try
='test -z "$ac_c_werror_flag"
25301 || test ! -s conftest.err'
25302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25303 (eval $ac_try) 2>&5
25305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306 (exit $ac_status); }; } &&
25307 { ac_try
='test -s conftest.$ac_objext'
25308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25309 (eval $ac_try) 2>&5
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); }; }; then
25314 cat >>confdefs.h
<<\_ACEOF
25315 #define __WXGTK24__ 1
25318 echo "$as_me:$LINENO: result: yes" >&5
25319 echo "${ECHO_T}yes" >&6
25322 echo "$as_me: failed program was:" >&5
25323 sed 's/^/| /' conftest.
$ac_ext >&5
25326 echo "$as_me:$LINENO: result: no" >&5
25327 echo "${ECHO_T}no" >&6
25330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25332 CFLAGS
="$save_CFLAGS"
25335 if test "$wxUSE_UNICODE" = "yes"; then
25336 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25337 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25342 if test "$USE_DARWIN" != 1; then
25344 for ac_func
in poll
25346 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25347 echo "$as_me:$LINENO: checking for $ac_func" >&5
25348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25349 if eval "test \"\${$as_ac_var+set}\" = set"; then
25350 echo $ECHO_N "(cached) $ECHO_C" >&6
25352 cat >conftest.
$ac_ext <<_ACEOF
25355 cat confdefs.h
>>conftest.
$ac_ext
25356 cat >>conftest.
$ac_ext <<_ACEOF
25357 /* end confdefs.h. */
25358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25360 #define $ac_func innocuous_$ac_func
25362 /* System header to define __stub macros and hopefully few prototypes,
25363 which can conflict with char $ac_func (); below.
25364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25365 <limits.h> exists even on freestanding compilers. */
25368 # include <limits.h>
25370 # include <assert.h>
25375 /* Override any gcc2 internal prototype to avoid an error. */
25380 /* We use char because int might match the return type of a gcc2
25381 builtin and then its argument prototype would still apply. */
25383 /* The GNU C library defines this for functions which it implements
25384 to always fail with ENOSYS. Some functions are actually named
25385 something starting with __ and the normal name is an alias. */
25386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25389 char (*f) () = $ac_func;
25398 return f != $ac_func;
25403 rm -f conftest.
$ac_objext conftest
$ac_exeext
25404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25405 (eval $ac_link) 2>conftest.er1
25407 grep -v '^ *+' conftest.er1
>conftest.err
25409 cat conftest.err
>&5
25410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411 (exit $ac_status); } &&
25412 { ac_try
='test -z "$ac_c_werror_flag"
25413 || test ! -s conftest.err'
25414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25415 (eval $ac_try) 2>&5
25417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25418 (exit $ac_status); }; } &&
25419 { ac_try
='test -s conftest$ac_exeext'
25420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25421 (eval $ac_try) 2>&5
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); }; }; then
25425 eval "$as_ac_var=yes"
25427 echo "$as_me: failed program was:" >&5
25428 sed 's/^/| /' conftest.
$ac_ext >&5
25430 eval "$as_ac_var=no"
25432 rm -f conftest.err conftest.
$ac_objext \
25433 conftest
$ac_exeext conftest.
$ac_ext
25435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25437 if test `eval echo '${'$as_ac_var'}'` = yes; then
25438 cat >>confdefs.h
<<_ACEOF
25439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25447 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25448 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25450 AFMINSTALL
=afminstall
25454 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25455 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25456 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25457 echo $ECHO_N "(cached) $ECHO_C" >&6
25459 ac_check_lib_save_LIBS
=$LIBS
25461 cat >conftest.
$ac_ext <<_ACEOF
25464 cat confdefs.h
>>conftest.
$ac_ext
25465 cat >>conftest.
$ac_ext <<_ACEOF
25466 /* end confdefs.h. */
25468 /* Override any gcc2 internal prototype to avoid an error. */
25472 /* We use char because int might match the return type of a gcc2
25473 builtin and then its argument prototype would still apply. */
25474 char gdk_im_open ();
25483 rm -f conftest.
$ac_objext conftest
$ac_exeext
25484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25485 (eval $ac_link) 2>conftest.er1
25487 grep -v '^ *+' conftest.er1
>conftest.err
25489 cat conftest.err
>&5
25490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491 (exit $ac_status); } &&
25492 { ac_try
='test -z "$ac_c_werror_flag"
25493 || test ! -s conftest.err'
25494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25495 (eval $ac_try) 2>&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); }; } &&
25499 { ac_try
='test -s conftest$ac_exeext'
25500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501 (eval $ac_try) 2>&5
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); }; }; then
25505 ac_cv_lib_gdk_gdk_im_open
=yes
25507 echo "$as_me: failed program was:" >&5
25508 sed 's/^/| /' conftest.
$ac_ext >&5
25510 ac_cv_lib_gdk_gdk_im_open
=no
25512 rm -f conftest.err conftest.
$ac_objext \
25513 conftest
$ac_exeext conftest.
$ac_ext
25514 LIBS
=$ac_check_lib_save_LIBS
25516 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25517 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25518 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25519 cat >>confdefs.h
<<\_ACEOF
25527 if test "$wxUSE_GPE" = "yes"; then
25528 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25529 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25532 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25534 for ac_extension
in a so sl dylib
; do
25535 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25536 ac_find_libraries
=$ac_dir
25542 if test "$ac_find_libraries" != "" ; then
25544 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25546 if test $result = 0; then
25549 ac_path_to_link
=" -L$ac_find_libraries"
25552 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25554 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25555 echo "${ECHO_T}found at $ac_find_libraries" >&6
25557 echo "$as_me:$LINENO: result: not found" >&5
25558 echo "${ECHO_T}not found" >&6
25564 if test "$wxUSE_MGL" = 1; then
25565 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25566 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25567 if test "x$MGL_ROOT" = x
; then
25568 echo "$as_me:$LINENO: result: not found" >&5
25569 echo "${ECHO_T}not found" >&6
25570 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25571 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25572 { (exit 1); exit 1; }; }
25574 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25575 echo "${ECHO_T}$MGL_ROOT" >&6
25578 echo "$as_me:$LINENO: checking for libmgl location" >&5
25579 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25582 if test "x$wxUSE_SHARED" = xyes
; then
25583 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25585 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25589 mgl_os_candidates
="dos32/dj2"
25592 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25593 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25594 { (exit 1); exit 1; }; }
25600 for mgl_os_i
in $mgl_os_candidates ; do
25601 if test "x$mgl_os" = x
; then
25602 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25603 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
25604 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
25609 if test "x$mgl_lib_type" = x
; then
25610 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
25611 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
25612 mgl_lib_type
=release
25619 if test "x$mgl_os" = x
; then
25620 echo "$as_me:$LINENO: result: not found" >&5
25621 echo "${ECHO_T}not found" >&6
25622 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25623 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25624 { (exit 1); exit 1; }; }
25626 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25627 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25629 wxUSE_UNIVERSAL
="yes"
25631 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
25632 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25634 AFMINSTALL
=afminstall
25639 if test "$wxUSE_MICROWIN" = 1; then
25640 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25641 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25642 if test "x$MICROWINDOWS" = x
; then
25643 echo "$as_me:$LINENO: result: not found" >&5
25644 echo "${ECHO_T}not found" >&6
25645 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25646 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25647 { (exit 1); exit 1; }; }
25649 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25650 echo "${ECHO_T}$MICROWINDOWS" >&6
25653 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
25654 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25655 echo "${ECHO_T}MicroWindows' libraries found." >&6
25657 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25658 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25659 { (exit 1); exit 1; }; }
25662 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
25663 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25665 wxUSE_UNIVERSAL
="yes"
25667 AFMINSTALL
=afminstall
25669 GUIDIST
=MICROWIN_DIST
25671 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25674 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25675 echo "$as_me:$LINENO: checking for X" >&5
25676 echo $ECHO_N "checking for X... $ECHO_C" >&6
25679 # Check whether --with-x or --without-x was given.
25680 if test "${with_x+set}" = set; then
25684 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25685 if test "x$with_x" = xno
; then
25686 # The user explicitly disabled X.
25689 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25690 # Both variables are already set.
25693 if test "${ac_cv_have_x+set}" = set; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25696 # One or both of the vars are not set, and there is no cached value.
25697 ac_x_includes
=no ac_x_libraries
=no
25698 rm -fr conftest.dir
25699 if mkdir conftest.dir
; then
25701 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25702 cat >Imakefile
<<'_ACEOF'
25704 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25706 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25707 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25708 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25709 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25710 for ac_extension
in a so sl
; do
25711 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25712 test -f $ac_im_libdir/libX11.
$ac_extension; then
25713 ac_im_usrlibdir
=$ac_im_libdir; break
25716 # Screen out bogus values from the imake configuration. They are
25717 # bogus both because they are the default anyway, and because
25718 # using them would break gcc on systems where it needs fixed includes.
25719 case $ac_im_incroot in
25721 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25723 case $ac_im_usrlibdir in
25724 /usr
/lib
| /lib
) ;;
25725 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25729 rm -fr conftest.dir
25732 # Standard set of common directories for X headers.
25733 # Check X11 before X11Rn because it is often a symlink to the current release.
25745 /usr/local/X11/include
25746 /usr/local/X11R6/include
25747 /usr/local/X11R5/include
25748 /usr/local/X11R4/include
25750 /usr/local/include/X11
25751 /usr/local/include/X11R6
25752 /usr/local/include/X11R5
25753 /usr/local/include/X11R4
25757 /usr/XFree86/include/X11
25761 /usr/unsupported/include
25762 /usr/athena/include
25763 /usr/local/x11r5/include
25764 /usr/lpp/Xamples/include
25766 /usr/openwin/include
25767 /usr/openwin/share/include'
25769 if test "$ac_x_includes" = no
; then
25770 # Guess where to find include files, by looking for Intrinsic.h.
25771 # First, try using that file with no special directory specified.
25772 cat >conftest.
$ac_ext <<_ACEOF
25775 cat confdefs.h
>>conftest.
$ac_ext
25776 cat >>conftest.
$ac_ext <<_ACEOF
25777 /* end confdefs.h. */
25778 #include <X11/Intrinsic.h>
25780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25781 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25783 grep -v '^ *+' conftest.er1
>conftest.err
25785 cat conftest.err
>&5
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); } >/dev
/null
; then
25788 if test -s conftest.err
; then
25789 ac_cpp_err
=$ac_c_preproc_warn_flag
25790 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25797 if test -z "$ac_cpp_err"; then
25798 # We can compile using X headers with no special include directory.
25801 echo "$as_me: failed program was:" >&5
25802 sed 's/^/| /' conftest.
$ac_ext >&5
25804 for ac_dir
in $ac_x_header_dirs; do
25805 if test -r "$ac_dir/X11/Intrinsic.h"; then
25806 ac_x_includes
=$ac_dir
25811 rm -f conftest.err conftest.
$ac_ext
25812 fi # $ac_x_includes = no
25814 if test "$ac_x_libraries" = no
; then
25815 # Check for the libraries.
25816 # See if we find them without any special options.
25817 # Don't add to $LIBS permanently.
25820 cat >conftest.
$ac_ext <<_ACEOF
25823 cat confdefs.h
>>conftest.
$ac_ext
25824 cat >>conftest.
$ac_ext <<_ACEOF
25825 /* end confdefs.h. */
25826 #include <X11/Intrinsic.h>
25835 rm -f conftest.
$ac_objext conftest
$ac_exeext
25836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25837 (eval $ac_link) 2>conftest.er1
25839 grep -v '^ *+' conftest.er1
>conftest.err
25841 cat conftest.err
>&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); } &&
25844 { ac_try
='test -z "$ac_c_werror_flag"
25845 || test ! -s conftest.err'
25846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25847 (eval $ac_try) 2>&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); }; } &&
25851 { ac_try
='test -s conftest$ac_exeext'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; }; then
25858 # We can link X programs with no special library path.
25861 echo "$as_me: failed program was:" >&5
25862 sed 's/^/| /' conftest.
$ac_ext >&5
25865 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25867 # Don't even attempt the hair of trying to link an X program!
25868 for ac_extension
in a so sl
; do
25869 if test -r $ac_dir/libXt.
$ac_extension; then
25870 ac_x_libraries
=$ac_dir
25876 rm -f conftest.err conftest.
$ac_objext \
25877 conftest
$ac_exeext conftest.
$ac_ext
25878 fi # $ac_x_libraries = no
25880 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
25881 # Didn't find X anywhere. Cache the known absence of X.
25882 ac_cv_have_x
="have_x=no"
25884 # Record where we found X for the cache.
25885 ac_cv_have_x
="have_x=yes \
25886 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25891 eval "$ac_cv_have_x"
25894 if test "$have_x" != yes; then
25895 echo "$as_me:$LINENO: result: $have_x" >&5
25896 echo "${ECHO_T}$have_x" >&6
25899 # If each of the values was on the command line, it overrides each guess.
25900 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25901 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25902 # Update the cache value to reflect the command line values.
25903 ac_cv_have_x
="have_x=yes \
25904 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25905 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
25906 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
25909 if test "$no_x" = yes; then
25910 # Not all programs may use this symbol, but it does not hurt to define it.
25912 cat >>confdefs.h
<<\_ACEOF
25913 #define X_DISPLAY_MISSING 1
25916 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25918 if test -n "$x_includes"; then
25919 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25922 # It would also be nice to do this for all -L options, not just this one.
25923 if test -n "$x_libraries"; then
25924 X_LIBS
="$X_LIBS -L$x_libraries"
25925 # For Solaris; some versions of Sun CC require a space after -R and
25926 # others require no space. Words are not sufficient . . . .
25927 case `(uname -sr) 2>/dev/null` in
25929 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25930 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25931 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25932 cat >conftest.
$ac_ext <<_ACEOF
25935 cat confdefs.h
>>conftest.
$ac_ext
25936 cat >>conftest.
$ac_ext <<_ACEOF
25937 /* end confdefs.h. */
25947 rm -f conftest.
$ac_objext conftest
$ac_exeext
25948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25949 (eval $ac_link) 2>conftest.er1
25951 grep -v '^ *+' conftest.er1
>conftest.err
25953 cat conftest.err
>&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } &&
25956 { ac_try
='test -z "$ac_c_werror_flag"
25957 || test ! -s conftest.err'
25958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25959 (eval $ac_try) 2>&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; } &&
25963 { ac_try
='test -s conftest$ac_exeext'
25964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25965 (eval $ac_try) 2>&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); }; }; then
25971 echo "$as_me: failed program was:" >&5
25972 sed 's/^/| /' conftest.
$ac_ext >&5
25976 rm -f conftest.err conftest.
$ac_objext \
25977 conftest
$ac_exeext conftest.
$ac_ext
25978 if test $ac_R_nospace = yes; then
25979 echo "$as_me:$LINENO: result: no" >&5
25980 echo "${ECHO_T}no" >&6
25981 X_LIBS
="$X_LIBS -R$x_libraries"
25983 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25984 cat >conftest.
$ac_ext <<_ACEOF
25987 cat confdefs.h
>>conftest.
$ac_ext
25988 cat >>conftest.
$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25999 rm -f conftest.
$ac_objext conftest
$ac_exeext
26000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26001 (eval $ac_link) 2>conftest.er1
26003 grep -v '^ *+' conftest.er1
>conftest.err
26005 cat conftest.err
>&5
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); } &&
26008 { ac_try
='test -z "$ac_c_werror_flag"
26009 || test ! -s conftest.err'
26010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26011 (eval $ac_try) 2>&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); }; } &&
26015 { ac_try
='test -s conftest$ac_exeext'
26016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26017 (eval $ac_try) 2>&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); }; }; then
26023 echo "$as_me: failed program was:" >&5
26024 sed 's/^/| /' conftest.
$ac_ext >&5
26028 rm -f conftest.err conftest.
$ac_objext \
26029 conftest
$ac_exeext conftest.
$ac_ext
26030 if test $ac_R_space = yes; then
26031 echo "$as_me:$LINENO: result: yes" >&5
26032 echo "${ECHO_T}yes" >&6
26033 X_LIBS
="$X_LIBS -R $x_libraries"
26035 echo "$as_me:$LINENO: result: neither works" >&5
26036 echo "${ECHO_T}neither works" >&6
26039 LIBS
=$ac_xsave_LIBS
26043 # Check for system-dependent libraries X programs must link with.
26044 # Do this before checking for the system-independent R6 libraries
26045 # (-lICE), since we may need -lsocket or whatever for X linking.
26047 if test "$ISC" = yes; then
26048 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26050 # Martyn Johnson says this is needed for Ultrix, if the X
26051 # libraries were built with DECnet support. And Karl Berry says
26052 # the Alpha needs dnet_stub (dnet does not exist).
26053 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26054 cat >conftest.
$ac_ext <<_ACEOF
26057 cat confdefs.h
>>conftest.
$ac_ext
26058 cat >>conftest.
$ac_ext <<_ACEOF
26059 /* end confdefs.h. */
26061 /* Override any gcc2 internal prototype to avoid an error. */
26065 /* We use char because int might match the return type of a gcc2
26066 builtin and then its argument prototype would still apply. */
26067 char XOpenDisplay ();
26076 rm -f conftest.
$ac_objext conftest
$ac_exeext
26077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26078 (eval $ac_link) 2>conftest.er1
26080 grep -v '^ *+' conftest.er1
>conftest.err
26082 cat conftest.err
>&5
26083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26084 (exit $ac_status); } &&
26085 { ac_try
='test -z "$ac_c_werror_flag"
26086 || test ! -s conftest.err'
26087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26088 (eval $ac_try) 2>&5
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); }; } &&
26092 { ac_try
='test -s conftest$ac_exeext'
26093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26094 (eval $ac_try) 2>&5
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); }; }; then
26100 echo "$as_me: failed program was:" >&5
26101 sed 's/^/| /' conftest.
$ac_ext >&5
26103 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26104 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26105 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26106 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 ac_check_lib_save_LIBS
=$LIBS
26109 LIBS
="-ldnet $LIBS"
26110 cat >conftest.
$ac_ext <<_ACEOF
26113 cat confdefs.h
>>conftest.
$ac_ext
26114 cat >>conftest.
$ac_ext <<_ACEOF
26115 /* end confdefs.h. */
26117 /* Override any gcc2 internal prototype to avoid an error. */
26121 /* We use char because int might match the return type of a gcc2
26122 builtin and then its argument prototype would still apply. */
26132 rm -f conftest.
$ac_objext conftest
$ac_exeext
26133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26134 (eval $ac_link) 2>conftest.er1
26136 grep -v '^ *+' conftest.er1
>conftest.err
26138 cat conftest.err
>&5
26139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26140 (exit $ac_status); } &&
26141 { ac_try
='test -z "$ac_c_werror_flag"
26142 || test ! -s conftest.err'
26143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26144 (eval $ac_try) 2>&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); }; } &&
26148 { ac_try
='test -s conftest$ac_exeext'
26149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26150 (eval $ac_try) 2>&5
26152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153 (exit $ac_status); }; }; then
26154 ac_cv_lib_dnet_dnet_ntoa
=yes
26156 echo "$as_me: failed program was:" >&5
26157 sed 's/^/| /' conftest.
$ac_ext >&5
26159 ac_cv_lib_dnet_dnet_ntoa
=no
26161 rm -f conftest.err conftest.
$ac_objext \
26162 conftest
$ac_exeext conftest.
$ac_ext
26163 LIBS
=$ac_check_lib_save_LIBS
26165 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26166 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26167 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26168 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26171 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26172 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26173 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26174 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26175 echo $ECHO_N "(cached) $ECHO_C" >&6
26177 ac_check_lib_save_LIBS
=$LIBS
26178 LIBS
="-ldnet_stub $LIBS"
26179 cat >conftest.
$ac_ext <<_ACEOF
26182 cat confdefs.h
>>conftest.
$ac_ext
26183 cat >>conftest.
$ac_ext <<_ACEOF
26184 /* end confdefs.h. */
26186 /* Override any gcc2 internal prototype to avoid an error. */
26190 /* We use char because int might match the return type of a gcc2
26191 builtin and then its argument prototype would still apply. */
26201 rm -f conftest.
$ac_objext conftest
$ac_exeext
26202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26203 (eval $ac_link) 2>conftest.er1
26205 grep -v '^ *+' conftest.er1
>conftest.err
26207 cat conftest.err
>&5
26208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26209 (exit $ac_status); } &&
26210 { ac_try
='test -z "$ac_c_werror_flag"
26211 || test ! -s conftest.err'
26212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26213 (eval $ac_try) 2>&5
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); }; } &&
26217 { ac_try
='test -s conftest$ac_exeext'
26218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26219 (eval $ac_try) 2>&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); }; }; then
26223 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26225 echo "$as_me: failed program was:" >&5
26226 sed 's/^/| /' conftest.
$ac_ext >&5
26228 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26230 rm -f conftest.err conftest.
$ac_objext \
26231 conftest
$ac_exeext conftest.
$ac_ext
26232 LIBS
=$ac_check_lib_save_LIBS
26234 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26235 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26236 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26237 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26242 rm -f conftest.err conftest.
$ac_objext \
26243 conftest
$ac_exeext conftest.
$ac_ext
26244 LIBS
="$ac_xsave_LIBS"
26246 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26247 # to get the SysV transport functions.
26248 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26250 # The nsl library prevents programs from opening the X display
26251 # on Irix 5.2, according to T.E. Dickey.
26252 # The functions gethostbyname, getservbyname, and inet_addr are
26253 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26254 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26255 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26256 if test "${ac_cv_func_gethostbyname+set}" = set; then
26257 echo $ECHO_N "(cached) $ECHO_C" >&6
26259 cat >conftest.
$ac_ext <<_ACEOF
26262 cat confdefs.h
>>conftest.
$ac_ext
26263 cat >>conftest.
$ac_ext <<_ACEOF
26264 /* end confdefs.h. */
26265 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26267 #define gethostbyname innocuous_gethostbyname
26269 /* System header to define __stub macros and hopefully few prototypes,
26270 which can conflict with char gethostbyname (); below.
26271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26272 <limits.h> exists even on freestanding compilers. */
26275 # include <limits.h>
26277 # include <assert.h>
26280 #undef gethostbyname
26282 /* Override any gcc2 internal prototype to avoid an error. */
26287 /* We use char because int might match the return type of a gcc2
26288 builtin and then its argument prototype would still apply. */
26289 char gethostbyname ();
26290 /* The GNU C library defines this for functions which it implements
26291 to always fail with ENOSYS. Some functions are actually named
26292 something starting with __ and the normal name is an alias. */
26293 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26296 char (*f) () = gethostbyname;
26305 return f != gethostbyname;
26310 rm -f conftest.
$ac_objext conftest
$ac_exeext
26311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26312 (eval $ac_link) 2>conftest.er1
26314 grep -v '^ *+' conftest.er1
>conftest.err
26316 cat conftest.err
>&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); } &&
26319 { ac_try
='test -z "$ac_c_werror_flag"
26320 || test ! -s conftest.err'
26321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322 (eval $ac_try) 2>&5
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); }; } &&
26326 { ac_try
='test -s conftest$ac_exeext'
26327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26328 (eval $ac_try) 2>&5
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); }; }; then
26332 ac_cv_func_gethostbyname
=yes
26334 echo "$as_me: failed program was:" >&5
26335 sed 's/^/| /' conftest.
$ac_ext >&5
26337 ac_cv_func_gethostbyname
=no
26339 rm -f conftest.err conftest.
$ac_objext \
26340 conftest
$ac_exeext conftest.
$ac_ext
26342 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26343 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26345 if test $ac_cv_func_gethostbyname = no
; then
26346 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26347 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26348 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26351 ac_check_lib_save_LIBS
=$LIBS
26353 cat >conftest.
$ac_ext <<_ACEOF
26356 cat confdefs.h
>>conftest.
$ac_ext
26357 cat >>conftest.
$ac_ext <<_ACEOF
26358 /* end confdefs.h. */
26360 /* Override any gcc2 internal prototype to avoid an error. */
26364 /* We use char because int might match the return type of a gcc2
26365 builtin and then its argument prototype would still apply. */
26366 char gethostbyname ();
26375 rm -f conftest.
$ac_objext conftest
$ac_exeext
26376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26377 (eval $ac_link) 2>conftest.er1
26379 grep -v '^ *+' conftest.er1
>conftest.err
26381 cat conftest.err
>&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); } &&
26384 { ac_try
='test -z "$ac_c_werror_flag"
26385 || test ! -s conftest.err'
26386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387 (eval $ac_try) 2>&5
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); }; } &&
26391 { ac_try
='test -s conftest$ac_exeext'
26392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26393 (eval $ac_try) 2>&5
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); }; }; then
26397 ac_cv_lib_nsl_gethostbyname
=yes
26399 echo "$as_me: failed program was:" >&5
26400 sed 's/^/| /' conftest.
$ac_ext >&5
26402 ac_cv_lib_nsl_gethostbyname
=no
26404 rm -f conftest.err conftest.
$ac_objext \
26405 conftest
$ac_exeext conftest.
$ac_ext
26406 LIBS
=$ac_check_lib_save_LIBS
26408 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26409 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26410 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26411 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26414 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26415 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26416 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26417 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26418 echo $ECHO_N "(cached) $ECHO_C" >&6
26420 ac_check_lib_save_LIBS
=$LIBS
26422 cat >conftest.
$ac_ext <<_ACEOF
26425 cat confdefs.h
>>conftest.
$ac_ext
26426 cat >>conftest.
$ac_ext <<_ACEOF
26427 /* end confdefs.h. */
26429 /* Override any gcc2 internal prototype to avoid an error. */
26433 /* We use char because int might match the return type of a gcc2
26434 builtin and then its argument prototype would still apply. */
26435 char gethostbyname ();
26444 rm -f conftest.
$ac_objext conftest
$ac_exeext
26445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26446 (eval $ac_link) 2>conftest.er1
26448 grep -v '^ *+' conftest.er1
>conftest.err
26450 cat conftest.err
>&5
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); } &&
26453 { ac_try
='test -z "$ac_c_werror_flag"
26454 || test ! -s conftest.err'
26455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26456 (eval $ac_try) 2>&5
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); }; } &&
26460 { ac_try
='test -s conftest$ac_exeext'
26461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26462 (eval $ac_try) 2>&5
26464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26465 (exit $ac_status); }; }; then
26466 ac_cv_lib_bsd_gethostbyname
=yes
26468 echo "$as_me: failed program was:" >&5
26469 sed 's/^/| /' conftest.
$ac_ext >&5
26471 ac_cv_lib_bsd_gethostbyname
=no
26473 rm -f conftest.err conftest.
$ac_objext \
26474 conftest
$ac_exeext conftest.
$ac_ext
26475 LIBS
=$ac_check_lib_save_LIBS
26477 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26478 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26479 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26480 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26486 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26487 # socket/setsockopt and other routines are undefined under SCO ODT
26488 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26489 # on later versions), says Simon Leinen: it contains gethostby*
26490 # variants that don't use the name server (or something). -lsocket
26491 # must be given before -lnsl if both are needed. We assume that
26492 # if connect needs -lnsl, so does gethostbyname.
26493 echo "$as_me:$LINENO: checking for connect" >&5
26494 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26495 if test "${ac_cv_func_connect+set}" = set; then
26496 echo $ECHO_N "(cached) $ECHO_C" >&6
26498 cat >conftest.
$ac_ext <<_ACEOF
26501 cat confdefs.h
>>conftest.
$ac_ext
26502 cat >>conftest.
$ac_ext <<_ACEOF
26503 /* end confdefs.h. */
26504 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26506 #define connect innocuous_connect
26508 /* System header to define __stub macros and hopefully few prototypes,
26509 which can conflict with char connect (); below.
26510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26511 <limits.h> exists even on freestanding compilers. */
26514 # include <limits.h>
26516 # include <assert.h>
26521 /* Override any gcc2 internal prototype to avoid an error. */
26526 /* We use char because int might match the return type of a gcc2
26527 builtin and then its argument prototype would still apply. */
26529 /* The GNU C library defines this for functions which it implements
26530 to always fail with ENOSYS. Some functions are actually named
26531 something starting with __ and the normal name is an alias. */
26532 #if defined (__stub_connect) || defined (__stub___connect)
26535 char (*f) () = connect;
26544 return f != connect;
26549 rm -f conftest.
$ac_objext conftest
$ac_exeext
26550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26551 (eval $ac_link) 2>conftest.er1
26553 grep -v '^ *+' conftest.er1
>conftest.err
26555 cat conftest.err
>&5
26556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26557 (exit $ac_status); } &&
26558 { ac_try
='test -z "$ac_c_werror_flag"
26559 || test ! -s conftest.err'
26560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26561 (eval $ac_try) 2>&5
26563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26564 (exit $ac_status); }; } &&
26565 { ac_try
='test -s conftest$ac_exeext'
26566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26567 (eval $ac_try) 2>&5
26569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26570 (exit $ac_status); }; }; then
26571 ac_cv_func_connect
=yes
26573 echo "$as_me: failed program was:" >&5
26574 sed 's/^/| /' conftest.
$ac_ext >&5
26576 ac_cv_func_connect
=no
26578 rm -f conftest.err conftest.
$ac_objext \
26579 conftest
$ac_exeext conftest.
$ac_ext
26581 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26582 echo "${ECHO_T}$ac_cv_func_connect" >&6
26584 if test $ac_cv_func_connect = no
; then
26585 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26586 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26587 if test "${ac_cv_lib_socket_connect+set}" = set; then
26588 echo $ECHO_N "(cached) $ECHO_C" >&6
26590 ac_check_lib_save_LIBS
=$LIBS
26591 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26592 cat >conftest.
$ac_ext <<_ACEOF
26595 cat confdefs.h
>>conftest.
$ac_ext
26596 cat >>conftest.
$ac_ext <<_ACEOF
26597 /* end confdefs.h. */
26599 /* Override any gcc2 internal prototype to avoid an error. */
26603 /* We use char because int might match the return type of a gcc2
26604 builtin and then its argument prototype would still apply. */
26614 rm -f conftest.
$ac_objext conftest
$ac_exeext
26615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26616 (eval $ac_link) 2>conftest.er1
26618 grep -v '^ *+' conftest.er1
>conftest.err
26620 cat conftest.err
>&5
26621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26622 (exit $ac_status); } &&
26623 { ac_try
='test -z "$ac_c_werror_flag"
26624 || test ! -s conftest.err'
26625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26626 (eval $ac_try) 2>&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); }; } &&
26630 { ac_try
='test -s conftest$ac_exeext'
26631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26632 (eval $ac_try) 2>&5
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); }; }; then
26636 ac_cv_lib_socket_connect
=yes
26638 echo "$as_me: failed program was:" >&5
26639 sed 's/^/| /' conftest.
$ac_ext >&5
26641 ac_cv_lib_socket_connect
=no
26643 rm -f conftest.err conftest.
$ac_objext \
26644 conftest
$ac_exeext conftest.
$ac_ext
26645 LIBS
=$ac_check_lib_save_LIBS
26647 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26648 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26649 if test $ac_cv_lib_socket_connect = yes; then
26650 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26655 # Guillermo Gomez says -lposix is necessary on A/UX.
26656 echo "$as_me:$LINENO: checking for remove" >&5
26657 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26658 if test "${ac_cv_func_remove+set}" = set; then
26659 echo $ECHO_N "(cached) $ECHO_C" >&6
26661 cat >conftest.
$ac_ext <<_ACEOF
26664 cat confdefs.h
>>conftest.
$ac_ext
26665 cat >>conftest.
$ac_ext <<_ACEOF
26666 /* end confdefs.h. */
26667 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26669 #define remove innocuous_remove
26671 /* System header to define __stub macros and hopefully few prototypes,
26672 which can conflict with char remove (); below.
26673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26674 <limits.h> exists even on freestanding compilers. */
26677 # include <limits.h>
26679 # include <assert.h>
26684 /* 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. */
26692 /* The GNU C library defines this for functions which it implements
26693 to always fail with ENOSYS. Some functions are actually named
26694 something starting with __ and the normal name is an alias. */
26695 #if defined (__stub_remove) || defined (__stub___remove)
26698 char (*f) () = remove;
26707 return f != remove;
26712 rm -f conftest.
$ac_objext conftest
$ac_exeext
26713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26714 (eval $ac_link) 2>conftest.er1
26716 grep -v '^ *+' conftest.er1
>conftest.err
26718 cat conftest.err
>&5
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); } &&
26721 { ac_try
='test -z "$ac_c_werror_flag"
26722 || test ! -s conftest.err'
26723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26724 (eval $ac_try) 2>&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; } &&
26728 { ac_try
='test -s conftest$ac_exeext'
26729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26730 (eval $ac_try) 2>&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); }; }; then
26734 ac_cv_func_remove
=yes
26736 echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.
$ac_ext >&5
26739 ac_cv_func_remove
=no
26741 rm -f conftest.err conftest.
$ac_objext \
26742 conftest
$ac_exeext conftest.
$ac_ext
26744 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26745 echo "${ECHO_T}$ac_cv_func_remove" >&6
26747 if test $ac_cv_func_remove = no
; then
26748 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26749 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26750 if test "${ac_cv_lib_posix_remove+set}" = set; then
26751 echo $ECHO_N "(cached) $ECHO_C" >&6
26753 ac_check_lib_save_LIBS
=$LIBS
26754 LIBS
="-lposix $LIBS"
26755 cat >conftest.
$ac_ext <<_ACEOF
26758 cat confdefs.h
>>conftest.
$ac_ext
26759 cat >>conftest.
$ac_ext <<_ACEOF
26760 /* end confdefs.h. */
26762 /* Override any gcc2 internal prototype to avoid an error. */
26766 /* We use char because int might match the return type of a gcc2
26767 builtin and then its argument prototype would still apply. */
26777 rm -f conftest.
$ac_objext conftest
$ac_exeext
26778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26779 (eval $ac_link) 2>conftest.er1
26781 grep -v '^ *+' conftest.er1
>conftest.err
26783 cat conftest.err
>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } &&
26786 { ac_try
='test -z "$ac_c_werror_flag"
26787 || test ! -s conftest.err'
26788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26789 (eval $ac_try) 2>&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); }; } &&
26793 { ac_try
='test -s conftest$ac_exeext'
26794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26795 (eval $ac_try) 2>&5
26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798 (exit $ac_status); }; }; then
26799 ac_cv_lib_posix_remove
=yes
26801 echo "$as_me: failed program was:" >&5
26802 sed 's/^/| /' conftest.
$ac_ext >&5
26804 ac_cv_lib_posix_remove
=no
26806 rm -f conftest.err conftest.
$ac_objext \
26807 conftest
$ac_exeext conftest.
$ac_ext
26808 LIBS
=$ac_check_lib_save_LIBS
26810 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26811 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26812 if test $ac_cv_lib_posix_remove = yes; then
26813 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26818 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26819 echo "$as_me:$LINENO: checking for shmat" >&5
26820 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26821 if test "${ac_cv_func_shmat+set}" = set; then
26822 echo $ECHO_N "(cached) $ECHO_C" >&6
26824 cat >conftest.
$ac_ext <<_ACEOF
26827 cat confdefs.h
>>conftest.
$ac_ext
26828 cat >>conftest.
$ac_ext <<_ACEOF
26829 /* end confdefs.h. */
26830 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26832 #define shmat innocuous_shmat
26834 /* System header to define __stub macros and hopefully few prototypes,
26835 which can conflict with char shmat (); below.
26836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26837 <limits.h> exists even on freestanding compilers. */
26840 # include <limits.h>
26842 # include <assert.h>
26847 /* Override any gcc2 internal prototype to avoid an error. */
26852 /* We use char because int might match the return type of a gcc2
26853 builtin and then its argument prototype would still apply. */
26855 /* The GNU C library defines this for functions which it implements
26856 to always fail with ENOSYS. Some functions are actually named
26857 something starting with __ and the normal name is an alias. */
26858 #if defined (__stub_shmat) || defined (__stub___shmat)
26861 char (*f) () = shmat;
26875 rm -f conftest.
$ac_objext conftest
$ac_exeext
26876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26877 (eval $ac_link) 2>conftest.er1
26879 grep -v '^ *+' conftest.er1
>conftest.err
26881 cat conftest.err
>&5
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); } &&
26884 { ac_try
='test -z "$ac_c_werror_flag"
26885 || test ! -s conftest.err'
26886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26887 (eval $ac_try) 2>&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); }; } &&
26891 { ac_try
='test -s conftest$ac_exeext'
26892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26893 (eval $ac_try) 2>&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); }; }; then
26897 ac_cv_func_shmat
=yes
26899 echo "$as_me: failed program was:" >&5
26900 sed 's/^/| /' conftest.
$ac_ext >&5
26902 ac_cv_func_shmat
=no
26904 rm -f conftest.err conftest.
$ac_objext \
26905 conftest
$ac_exeext conftest.
$ac_ext
26907 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26908 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26910 if test $ac_cv_func_shmat = no
; then
26911 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26912 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26913 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26914 echo $ECHO_N "(cached) $ECHO_C" >&6
26916 ac_check_lib_save_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. */
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"
26950 || test ! -s conftest.err'
26951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26952 (eval $ac_try) 2>&5
26954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26955 (exit $ac_status); }; } &&
26956 { ac_try
='test -s conftest$ac_exeext'
26957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26958 (eval $ac_try) 2>&5
26960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26961 (exit $ac_status); }; }; then
26962 ac_cv_lib_ipc_shmat
=yes
26964 echo "$as_me: failed program was:" >&5
26965 sed 's/^/| /' conftest.
$ac_ext >&5
26967 ac_cv_lib_ipc_shmat
=no
26969 rm -f conftest.err conftest.
$ac_objext \
26970 conftest
$ac_exeext conftest.
$ac_ext
26971 LIBS
=$ac_check_lib_save_LIBS
26973 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26974 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26975 if test $ac_cv_lib_ipc_shmat = yes; then
26976 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26982 # Check for libraries that X11R6 Xt/Xaw programs need.
26983 ac_save_LDFLAGS
=$LDFLAGS
26984 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26985 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26986 # check for ICE first), but we must link in the order -lSM -lICE or
26987 # we get undefined symbols. So assume we have SM if we have ICE.
26988 # These have to be linked with before -lX11, unlike the other
26989 # libraries we check for below, so use a different variable.
26990 # John Interrante, Karl Berry
26991 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26992 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26993 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26994 echo $ECHO_N "(cached) $ECHO_C" >&6
26996 ac_check_lib_save_LIBS
=$LIBS
26997 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26998 cat >conftest.
$ac_ext <<_ACEOF
27001 cat confdefs.h
>>conftest.
$ac_ext
27002 cat >>conftest.
$ac_ext <<_ACEOF
27003 /* end confdefs.h. */
27005 /* Override any gcc2 internal prototype to avoid an error. */
27009 /* We use char because int might match the return type of a gcc2
27010 builtin and then its argument prototype would still apply. */
27011 char IceConnectionNumber ();
27015 IceConnectionNumber ();
27020 rm -f conftest.
$ac_objext conftest
$ac_exeext
27021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27022 (eval $ac_link) 2>conftest.er1
27024 grep -v '^ *+' conftest.er1
>conftest.err
27026 cat conftest.err
>&5
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); } &&
27029 { ac_try
='test -z "$ac_c_werror_flag"
27030 || test ! -s conftest.err'
27031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27032 (eval $ac_try) 2>&5
27034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035 (exit $ac_status); }; } &&
27036 { ac_try
='test -s conftest$ac_exeext'
27037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27038 (eval $ac_try) 2>&5
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); }; }; then
27042 ac_cv_lib_ICE_IceConnectionNumber
=yes
27044 echo "$as_me: failed program was:" >&5
27045 sed 's/^/| /' conftest.
$ac_ext >&5
27047 ac_cv_lib_ICE_IceConnectionNumber
=no
27049 rm -f conftest.err conftest.
$ac_objext \
27050 conftest
$ac_exeext conftest.
$ac_ext
27051 LIBS
=$ac_check_lib_save_LIBS
27053 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27054 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27055 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27056 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27059 LDFLAGS
=$ac_save_LDFLAGS
27064 if test "$no_x" = "yes"; then
27065 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27066 echo "$as_me: error: X11 not found" >&2;}
27067 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27070 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27071 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27072 AFMINSTALL
=afminstall
27073 COMPILED_X_PROGRAM
=0
27077 if test "$wxUSE_X11" = 1; then
27078 if test "$wxUSE_NANOX" = "yes"; then
27079 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27080 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27081 if test "x$MICROWIN" = x
; then
27082 echo "$as_me:$LINENO: result: not found" >&5
27083 echo "${ECHO_T}not found" >&6
27084 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27085 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27086 { (exit 1); exit 1; }; }
27088 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27089 echo "${ECHO_T}$MICROWIN" >&6
27090 cat >>confdefs.h
<<\_ACEOF
27091 #define wxUSE_NANOX 1
27097 if test "$wxUSE_UNICODE" = "yes"; then
27101 if test -z "$PKG_CONFIG"; then
27102 # Extract the first word of "pkg-config", so it can be a program name with args.
27103 set dummy pkg
-config; ac_word
=$2
27104 echo "$as_me:$LINENO: checking for $ac_word" >&5
27105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27106 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27107 echo $ECHO_N "(cached) $ECHO_C" >&6
27109 case $PKG_CONFIG in
27111 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27115 for as_dir
in $PATH
27118 test -z "$as_dir" && as_dir
=.
27119 for ac_exec_ext
in '' $ac_executable_extensions; do
27120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27121 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27128 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27132 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27134 if test -n "$PKG_CONFIG"; then
27135 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27136 echo "${ECHO_T}$PKG_CONFIG" >&6
27138 echo "$as_me:$LINENO: result: no" >&5
27139 echo "${ECHO_T}no" >&6
27144 if test "$PKG_CONFIG" = "no" ; then
27145 echo "*** The pkg-config script could not be found. Make sure it is"
27146 echo "*** in your path, or set the PKG_CONFIG environment variable"
27147 echo "*** to the full path to pkg-config."
27148 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27150 PKG_CONFIG_MIN_VERSION
=0.9.0
27151 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27152 echo "$as_me:$LINENO: checking for pangox" >&5
27153 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27155 if $PKG_CONFIG --exists "pangox" ; then
27156 echo "$as_me:$LINENO: result: yes" >&5
27157 echo "${ECHO_T}yes" >&6
27160 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27161 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27162 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27163 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27164 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27166 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27167 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27168 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27169 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27170 echo "${ECHO_T}$PANGOX_LIBS" >&6
27174 ## If we have a custom action on failure, don't print errors, but
27175 ## do set a variable so people can do so.
27176 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27183 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27184 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27188 if test $succeeded = yes; then
27190 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27191 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27195 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27196 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27197 { (exit 1); exit 1; }; }
27205 if test -z "$PKG_CONFIG"; then
27206 # Extract the first word of "pkg-config", so it can be a program name with args.
27207 set dummy pkg
-config; ac_word
=$2
27208 echo "$as_me:$LINENO: checking for $ac_word" >&5
27209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27210 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27211 echo $ECHO_N "(cached) $ECHO_C" >&6
27213 case $PKG_CONFIG in
27215 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27219 for as_dir
in $PATH
27222 test -z "$as_dir" && as_dir
=.
27223 for ac_exec_ext
in '' $ac_executable_extensions; do
27224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27225 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27232 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27236 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27238 if test -n "$PKG_CONFIG"; then
27239 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27240 echo "${ECHO_T}$PKG_CONFIG" >&6
27242 echo "$as_me:$LINENO: result: no" >&5
27243 echo "${ECHO_T}no" >&6
27248 if test "$PKG_CONFIG" = "no" ; then
27249 echo "*** The pkg-config script could not be found. Make sure it is"
27250 echo "*** in your path, or set the PKG_CONFIG environment variable"
27251 echo "*** to the full path to pkg-config."
27252 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27254 PKG_CONFIG_MIN_VERSION
=0.9.0
27255 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27256 echo "$as_me:$LINENO: checking for pangoft2" >&5
27257 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27259 if $PKG_CONFIG --exists "pangoft2" ; then
27260 echo "$as_me:$LINENO: result: yes" >&5
27261 echo "${ECHO_T}yes" >&6
27264 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27265 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27266 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27267 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27268 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27270 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27271 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27272 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27273 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27274 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27278 ## If we have a custom action on failure, don't print errors, but
27279 ## do set a variable so people can do so.
27280 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27287 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27288 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27292 if test $succeeded = yes; then
27294 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27295 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27299 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27300 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27301 wxUSE_PRINTING_ARCHITECTURE
="no"
27309 if test -z "$PKG_CONFIG"; then
27310 # Extract the first word of "pkg-config", so it can be a program name with args.
27311 set dummy pkg
-config; ac_word
=$2
27312 echo "$as_me:$LINENO: checking for $ac_word" >&5
27313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27314 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27315 echo $ECHO_N "(cached) $ECHO_C" >&6
27317 case $PKG_CONFIG in
27319 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27323 for as_dir
in $PATH
27326 test -z "$as_dir" && as_dir
=.
27327 for ac_exec_ext
in '' $ac_executable_extensions; do
27328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27329 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27336 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27340 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27342 if test -n "$PKG_CONFIG"; then
27343 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27344 echo "${ECHO_T}$PKG_CONFIG" >&6
27346 echo "$as_me:$LINENO: result: no" >&5
27347 echo "${ECHO_T}no" >&6
27352 if test "$PKG_CONFIG" = "no" ; then
27353 echo "*** The pkg-config script could not be found. Make sure it is"
27354 echo "*** in your path, or set the PKG_CONFIG environment variable"
27355 echo "*** to the full path to pkg-config."
27356 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27358 PKG_CONFIG_MIN_VERSION
=0.9.0
27359 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27360 echo "$as_me:$LINENO: checking for pangoxft" >&5
27361 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27363 if $PKG_CONFIG --exists "pangoxft" ; then
27364 echo "$as_me:$LINENO: result: yes" >&5
27365 echo "${ECHO_T}yes" >&6
27368 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27369 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27370 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27371 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27372 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27374 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27375 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27376 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27377 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27378 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27382 ## If we have a custom action on failure, don't print errors, but
27383 ## do set a variable so people can do so.
27384 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27391 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27392 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27396 if test $succeeded = yes; then
27398 cat >>confdefs.h
<<\_ACEOF
27399 #define HAVE_PANGO_XFT 1
27402 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27403 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27407 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27408 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27413 save_CFLAGS
="$CFLAGS"
27415 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27416 LIBS
="$LIBS $PANGOX_LIBS"
27418 for ac_func
in pango_font_family_is_monospace
27420 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27421 echo "$as_me:$LINENO: checking for $ac_func" >&5
27422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27423 if eval "test \"\${$as_ac_var+set}\" = set"; then
27424 echo $ECHO_N "(cached) $ECHO_C" >&6
27426 cat >conftest.
$ac_ext <<_ACEOF
27429 cat confdefs.h
>>conftest.
$ac_ext
27430 cat >>conftest.
$ac_ext <<_ACEOF
27431 /* end confdefs.h. */
27432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27434 #define $ac_func innocuous_$ac_func
27436 /* System header to define __stub macros and hopefully few prototypes,
27437 which can conflict with char $ac_func (); below.
27438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27439 <limits.h> exists even on freestanding compilers. */
27442 # include <limits.h>
27444 # include <assert.h>
27449 /* Override any gcc2 internal prototype to avoid an error. */
27454 /* We use char because int might match the return type of a gcc2
27455 builtin and then its argument prototype would still apply. */
27457 /* The GNU C library defines this for functions which it implements
27458 to always fail with ENOSYS. Some functions are actually named
27459 something starting with __ and the normal name is an alias. */
27460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27463 char (*f) () = $ac_func;
27472 return f != $ac_func;
27477 rm -f conftest.
$ac_objext conftest
$ac_exeext
27478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27479 (eval $ac_link) 2>conftest.er1
27481 grep -v '^ *+' conftest.er1
>conftest.err
27483 cat conftest.err
>&5
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); } &&
27486 { ac_try
='test -z "$ac_c_werror_flag"
27487 || test ! -s conftest.err'
27488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27489 (eval $ac_try) 2>&5
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); }; } &&
27493 { ac_try
='test -s conftest$ac_exeext'
27494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27495 (eval $ac_try) 2>&5
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); }; }; then
27499 eval "$as_ac_var=yes"
27501 echo "$as_me: failed program was:" >&5
27502 sed 's/^/| /' conftest.
$ac_ext >&5
27504 eval "$as_ac_var=no"
27506 rm -f conftest.err conftest.
$ac_objext \
27507 conftest
$ac_exeext conftest.
$ac_ext
27509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27511 if test `eval echo '${'$as_ac_var'}'` = yes; then
27512 cat >>confdefs.h
<<_ACEOF
27513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27519 CFLAGS
="$save_CFLAGS"
27523 wxUSE_UNIVERSAL
="yes"
27525 if test "$wxUSE_NANOX" = "yes"; then
27526 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27527 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"
27528 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27530 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
27537 if test "$wxUSE_MOTIF" = 1; then
27538 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27539 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27542 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27544 if test -f "$ac_dir/Xm/Xm.h"; then
27545 ac_find_includes
=$ac_dir
27550 if test "$ac_find_includes" != "" ; then
27551 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27552 echo "${ECHO_T}found in $ac_find_includes" >&6
27554 if test "x$ac_find_includes" = "x/usr/include"; then
27555 ac_path_to_include
=""
27557 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
27559 if test $result = 0; then
27560 ac_path_to_include
=""
27562 ac_path_to_include
=" -I$ac_find_includes"
27566 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
27568 cat >conftest.
$ac_ext <<_ACEOF
27571 cat confdefs.h
>>conftest.
$ac_ext
27572 cat >>conftest.
$ac_ext <<_ACEOF
27573 /* end confdefs.h. */
27582 version = xmUseVersion;
27588 rm -f conftest.
$ac_objext
27589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27590 (eval $ac_compile) 2>conftest.er1
27592 grep -v '^ *+' conftest.er1
>conftest.err
27594 cat conftest.err
>&5
27595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27596 (exit $ac_status); } &&
27597 { ac_try
='test -z "$ac_c_werror_flag"
27598 || test ! -s conftest.err'
27599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27600 (eval $ac_try) 2>&5
27602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27603 (exit $ac_status); }; } &&
27604 { ac_try
='test -s conftest.$ac_objext'
27605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27606 (eval $ac_try) 2>&5
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); }; }; then
27611 echo "$as_me:$LINENO: result: found in default search path" >&5
27612 echo "${ECHO_T}found in default search path" >&6
27613 COMPILED_X_PROGRAM
=1
27616 echo "$as_me: failed program was:" >&5
27617 sed 's/^/| /' conftest.
$ac_ext >&5
27620 echo "$as_me:$LINENO: result: no" >&5
27621 echo "${ECHO_T}no" >&6
27622 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27623 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27624 { (exit 1); exit 1; }; }
27628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27631 if test "$COMPILED_X_PROGRAM" = 0; then
27632 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27633 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27636 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27638 for ac_extension
in a so sl dylib
; do
27639 if test -f "$ac_dir/libXm.$ac_extension"; then
27640 ac_find_libraries
=$ac_dir
27646 if test "$ac_find_libraries" != "" ; then
27647 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27648 echo "${ECHO_T}found at $ac_find_libraries" >&6
27651 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27653 if test $result = 0; then
27656 ac_path_to_link
=" -L$ac_find_libraries"
27659 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27661 save_CFLAGS
=$CFLAGS
27662 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27664 cat >conftest.
$ac_ext <<_ACEOF
27667 cat confdefs.h
>>conftest.
$ac_ext
27668 cat >>conftest.
$ac_ext <<_ACEOF
27669 /* end confdefs.h. */
27678 version = xmUseVersion;
27684 rm -f conftest.
$ac_objext
27685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27686 (eval $ac_compile) 2>conftest.er1
27688 grep -v '^ *+' conftest.er1
>conftest.err
27690 cat conftest.err
>&5
27691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27692 (exit $ac_status); } &&
27693 { ac_try
='test -z "$ac_c_werror_flag"
27694 || test ! -s conftest.err'
27695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27696 (eval $ac_try) 2>&5
27698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699 (exit $ac_status); }; } &&
27700 { ac_try
='test -s conftest.$ac_objext'
27701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27702 (eval $ac_try) 2>&5
27704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705 (exit $ac_status); }; }; then
27707 echo "$as_me:$LINENO: result: found in default search path" >&5
27708 echo "${ECHO_T}found in default search path" >&6
27709 COMPILED_X_PROGRAM
=1
27712 echo "$as_me: failed program was:" >&5
27713 sed 's/^/| /' conftest.
$ac_ext >&5
27716 echo "$as_me:$LINENO: result: no" >&5
27717 echo "${ECHO_T}no" >&6
27718 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27719 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27720 { (exit 1); exit 1; }; }
27724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27726 CFLAGS
=$save_CFLAGS
27730 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27731 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27735 for libp
in "" " -lXp"; do
27736 if test "$libs_found" = "0"; then
27737 for libsm_ice
in "" " -lSM -lICE"; do
27738 if test "$libs_found" = "0"; then
27740 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27741 save_CFLAGS
=$CFLAGS
27742 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27744 cat >conftest.
$ac_ext <<_ACEOF
27747 cat confdefs.h
>>conftest.
$ac_ext
27748 cat >>conftest.
$ac_ext <<_ACEOF
27749 /* end confdefs.h. */
27752 #include <Xm/List.h>
27758 XmString string = NULL;
27761 XmListAddItem(w, string, position);
27767 rm -f conftest.
$ac_objext conftest
$ac_exeext
27768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27769 (eval $ac_link) 2>conftest.er1
27771 grep -v '^ *+' conftest.er1
>conftest.err
27773 cat conftest.err
>&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); } &&
27776 { ac_try
='test -z "$ac_c_werror_flag"
27777 || test ! -s conftest.err'
27778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27779 (eval $ac_try) 2>&5
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); }; } &&
27783 { ac_try
='test -s conftest$ac_exeext'
27784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27785 (eval $ac_try) 2>&5
27787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27788 (exit $ac_status); }; }; then
27791 libsm_ice_link
="$libsm_ice"
27792 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27793 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27797 echo "$as_me: failed program was:" >&5
27798 sed 's/^/| /' conftest.
$ac_ext >&5
27803 rm -f conftest.err conftest.
$ac_objext \
27804 conftest
$ac_exeext conftest.
$ac_ext
27807 CFLAGS
=$save_CFLAGS
27813 if test "$libs_found" = "0"; then
27814 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27815 echo "${ECHO_T}can't find the right libraries" >&6
27816 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27817 echo "$as_me: error: can't link a simple motif program" >&2;}
27818 { (exit 1); exit 1; }; }
27821 save_CFLAGS
=$CFLAGS
27822 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27823 echo "$as_me:$LINENO: checking for Motif 2" >&5
27824 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27825 cat >conftest.
$ac_ext <<_ACEOF
27828 cat confdefs.h
>>conftest.
$ac_ext
27829 cat >>conftest.
$ac_ext <<_ACEOF
27830 /* end confdefs.h. */
27838 #if XmVersion < 2000
27839 #error "Not Motif 2"
27846 rm -f conftest.
$ac_objext
27847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27848 (eval $ac_compile) 2>conftest.er1
27850 grep -v '^ *+' conftest.er1
>conftest.err
27852 cat conftest.err
>&5
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); } &&
27855 { ac_try
='test -z "$ac_c_werror_flag"
27856 || test ! -s conftest.err'
27857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27858 (eval $ac_try) 2>&5
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); }; } &&
27862 { ac_try
='test -s conftest.$ac_objext'
27863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27864 (eval $ac_try) 2>&5
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); }; }; then
27869 cat >>confdefs.h
<<\_ACEOF
27870 #define __WXMOTIF20__ 1
27873 echo "$as_me:$LINENO: result: found" >&5
27874 echo "${ECHO_T}found" >&6
27877 echo "$as_me: failed program was:" >&5
27878 sed 's/^/| /' conftest.
$ac_ext >&5
27881 cat >>confdefs.h
<<\_ACEOF
27882 #define __WXMOTIF20__ 0
27885 echo "$as_me:$LINENO: result: not found" >&5
27886 echo "${ECHO_T}not found" >&6
27889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27890 CFLAGS
=$save_CFLAGS
27892 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27897 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27898 if test "$wxUSE_LIBXPM" = "sys"; then
27899 echo "$as_me:$LINENO: checking for Xpm library" >&5
27900 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27903 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27905 for ac_extension
in a so sl dylib
; do
27906 if test -f "$ac_dir/libXpm.$ac_extension"; then
27907 ac_find_libraries
=$ac_dir
27913 if test "$ac_find_libraries" != "" ; then
27915 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27917 if test $result = 0; then
27920 ac_path_to_link
=" -L$ac_find_libraries"
27923 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27924 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27925 echo "${ECHO_T}found at $ac_find_libraries" >&6
27927 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27928 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27929 if test "${wx_cv_x11_xpm_h+set}" = set; then
27930 echo $ECHO_N "(cached) $ECHO_C" >&6
27933 save_CFLAGS
=$CFLAGS
27934 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27936 cat >conftest.
$ac_ext <<_ACEOF
27939 cat confdefs.h
>>conftest.
$ac_ext
27940 cat >>conftest.
$ac_ext <<_ACEOF
27941 /* end confdefs.h. */
27943 #include <X11/xpm.h>
27950 version = XpmLibraryVersion();
27956 rm -f conftest.
$ac_objext
27957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27958 (eval $ac_compile) 2>conftest.er1
27960 grep -v '^ *+' conftest.er1
>conftest.err
27962 cat conftest.err
>&5
27963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27964 (exit $ac_status); } &&
27965 { ac_try
='test -z "$ac_c_werror_flag"
27966 || test ! -s conftest.err'
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); }; } &&
27972 { ac_try
='test -s conftest.$ac_objext'
27973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27974 (eval $ac_try) 2>&5
27976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27977 (exit $ac_status); }; }; then
27978 wx_cv_x11_xpm_h
=yes
27980 echo "$as_me: failed program was:" >&5
27981 sed 's/^/| /' conftest.
$ac_ext >&5
27986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27988 CFLAGS
=$save_CFLAGS
27992 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27993 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27995 if test $wx_cv_x11_xpm_h = "yes"; then
27996 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
27997 cat >>confdefs.h
<<\_ACEOF
27998 #define wxHAVE_LIB_XPM 1
28002 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28003 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28009 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28010 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28011 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28012 echo $ECHO_N "(cached) $ECHO_C" >&6
28014 ac_check_lib_save_LIBS
=$LIBS
28015 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28016 cat >conftest.
$ac_ext <<_ACEOF
28019 cat confdefs.h
>>conftest.
$ac_ext
28020 cat >>conftest.
$ac_ext <<_ACEOF
28021 /* end confdefs.h. */
28023 /* Override any gcc2 internal prototype to avoid an error. */
28027 /* We use char because int might match the return type of a gcc2
28028 builtin and then its argument prototype would still apply. */
28029 char XShapeQueryExtension ();
28033 XShapeQueryExtension ();
28038 rm -f conftest.
$ac_objext conftest
$ac_exeext
28039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28040 (eval $ac_link) 2>conftest.er1
28042 grep -v '^ *+' conftest.er1
>conftest.err
28044 cat conftest.err
>&5
28045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28046 (exit $ac_status); } &&
28047 { ac_try
='test -z "$ac_c_werror_flag"
28048 || test ! -s conftest.err'
28049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28050 (eval $ac_try) 2>&5
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); }; } &&
28054 { ac_try
='test -s conftest$ac_exeext'
28055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28056 (eval $ac_try) 2>&5
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); }; }; then
28060 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28062 echo "$as_me: failed program was:" >&5
28063 sed 's/^/| /' conftest.
$ac_ext >&5
28065 ac_cv_lib_Xext_XShapeQueryExtension
=no
28067 rm -f conftest.err conftest.
$ac_objext \
28068 conftest
$ac_exeext conftest.
$ac_ext
28069 LIBS
=$ac_check_lib_save_LIBS
28071 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28072 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28073 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28075 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28081 if test "$wxHAVE_XEXT_LIB" = 1; then
28082 save_CFLAGS
="$CFLAGS"
28083 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28085 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28086 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28087 cat >conftest.
$ac_ext <<_ACEOF
28090 cat confdefs.h
>>conftest.
$ac_ext
28091 cat >>conftest.
$ac_ext <<_ACEOF
28092 /* end confdefs.h. */
28094 #include <X11/Xlib.h>
28095 #include <X11/extensions/shape.h>
28101 int dummy1, dummy2;
28102 XShapeQueryExtension((Display*)NULL,
28103 (int*)NULL, (int*)NULL);
28109 rm -f conftest.
$ac_objext
28110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28111 (eval $ac_compile) 2>conftest.er1
28113 grep -v '^ *+' conftest.er1
>conftest.err
28115 cat conftest.err
>&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); } &&
28118 { ac_try
='test -z "$ac_c_werror_flag"
28119 || test ! -s conftest.err'
28120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28121 (eval $ac_try) 2>&5
28123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124 (exit $ac_status); }; } &&
28125 { ac_try
='test -s conftest.$ac_objext'
28126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28127 (eval $ac_try) 2>&5
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); }; }; then
28132 cat >>confdefs.h
<<\_ACEOF
28133 #define HAVE_XSHAPE 1
28136 echo "$as_me:$LINENO: result: found" >&5
28137 echo "${ECHO_T}found" >&6
28140 echo "$as_me: failed program was:" >&5
28141 sed 's/^/| /' conftest.
$ac_ext >&5
28144 echo "$as_me:$LINENO: result: not found" >&5
28145 echo "${ECHO_T}not found" >&6
28148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28149 CFLAGS
="$save_CFLAGS"
28154 if test "$wxUSE_MAC" = 1; then
28155 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28156 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28157 if test "$GCC" = yes; then
28158 echo "$as_me:$LINENO: result: gcc" >&5
28159 echo "${ECHO_T}gcc" >&6
28160 CPPFLAGS_PASCAL
="-fpascal-strings"
28161 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28162 echo "$as_me:$LINENO: result: xlc" >&5
28163 echo "${ECHO_T}xlc" >&6
28164 CPPFLAGS_PASCAL
="-qmacpstr"
28166 echo "$as_me:$LINENO: result: none" >&5
28167 echo "${ECHO_T}none" >&6
28170 if test "x$wxUSE_UNIX" = "xyes"; then
28171 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28173 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28178 WXBASEPORT
="_carbon"
28181 if test "$wxUSE_COCOA" = 1; then
28186 if test "$wxUSE_PM" = 1; then
28189 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28190 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28191 if test "${wx_cv_spbcdata+set}" = set; then
28192 echo $ECHO_N "(cached) $ECHO_C" >&6
28195 cat >conftest.
$ac_ext <<_ACEOF
28198 cat confdefs.h
>>conftest.
$ac_ext
28199 cat >>conftest.
$ac_ext <<_ACEOF
28200 /* end confdefs.h. */
28215 rm -f conftest.
$ac_objext
28216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28217 (eval $ac_compile) 2>conftest.er1
28219 grep -v '^ *+' conftest.er1
>conftest.err
28221 cat conftest.err
>&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } &&
28224 { ac_try
='test -z "$ac_c_werror_flag"
28225 || test ! -s conftest.err'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; } &&
28231 { ac_try
='test -s conftest.$ac_objext'
28232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233 (eval $ac_try) 2>&5
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); }; }; then
28239 echo "$as_me: failed program was:" >&5
28240 sed 's/^/| /' conftest.
$ac_ext >&5
28245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28249 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28250 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28252 if test $wx_cv_spbcdata = "yes"; then
28253 cat >>confdefs.h
<<\_ACEOF
28254 #define HAVE_SPBCDATA 1
28260 if test "$TOOLKIT" = "PM" ; then
28263 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28266 if test "$wxUSE_UNIVERSAL" = "yes"; then
28267 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28271 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28272 DISTDIR
="wx\$(TOOLKIT)"
28278 if test "$USE_WIN32" = 1 ; then
28282 GUIDIST
="BASE_DIST"
28292 if test "$TOOLKIT" != "MSW" ; then
28294 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28296 if test "${ac_cv_header_sql_h+set}" = set; then
28297 echo "$as_me:$LINENO: checking for sql.h" >&5
28298 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28299 if test "${ac_cv_header_sql_h+set}" = set; then
28300 echo $ECHO_N "(cached) $ECHO_C" >&6
28302 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28303 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28305 # Is the header compilable?
28306 echo "$as_me:$LINENO: checking sql.h usability" >&5
28307 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28308 cat >conftest.
$ac_ext <<_ACEOF
28311 cat confdefs.h
>>conftest.
$ac_ext
28312 cat >>conftest.
$ac_ext <<_ACEOF
28313 /* end confdefs.h. */
28314 $ac_includes_default
28317 rm -f conftest.
$ac_objext
28318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28319 (eval $ac_compile) 2>conftest.er1
28321 grep -v '^ *+' conftest.er1
>conftest.err
28323 cat conftest.err
>&5
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); } &&
28326 { ac_try
='test -z "$ac_c_werror_flag"
28327 || test ! -s conftest.err'
28328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28329 (eval $ac_try) 2>&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); }; } &&
28333 { ac_try
='test -s conftest.$ac_objext'
28334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335 (eval $ac_try) 2>&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); }; }; then
28339 ac_header_compiler
=yes
28341 echo "$as_me: failed program was:" >&5
28342 sed 's/^/| /' conftest.
$ac_ext >&5
28344 ac_header_compiler
=no
28346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28348 echo "${ECHO_T}$ac_header_compiler" >&6
28350 # Is the header present?
28351 echo "$as_me:$LINENO: checking sql.h presence" >&5
28352 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28353 cat >conftest.
$ac_ext <<_ACEOF
28356 cat confdefs.h
>>conftest.
$ac_ext
28357 cat >>conftest.
$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28362 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28364 grep -v '^ *+' conftest.er1
>conftest.err
28366 cat conftest.err
>&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } >/dev
/null
; then
28369 if test -s conftest.err
; then
28370 ac_cpp_err
=$ac_c_preproc_warn_flag
28371 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28378 if test -z "$ac_cpp_err"; then
28379 ac_header_preproc
=yes
28381 echo "$as_me: failed program was:" >&5
28382 sed 's/^/| /' conftest.
$ac_ext >&5
28384 ac_header_preproc
=no
28386 rm -f conftest.err conftest.
$ac_ext
28387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28388 echo "${ECHO_T}$ac_header_preproc" >&6
28390 # So? What about this header?
28391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28393 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28394 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28395 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28396 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28397 ac_header_preproc
=yes
28400 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28401 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28402 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28403 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28404 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28405 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28406 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28407 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28408 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28409 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28410 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28411 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28414 ## ----------------------------------------- ##
28415 ## Report this to wx-dev@lists.wxwidgets.org ##
28416 ## ----------------------------------------- ##
28419 sed "s/^/$as_me: WARNING: /" >&2
28422 echo "$as_me:$LINENO: checking for sql.h" >&5
28423 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28424 if test "${ac_cv_header_sql_h+set}" = set; then
28425 echo $ECHO_N "(cached) $ECHO_C" >&6
28427 ac_cv_header_sql_h
=$ac_header_preproc
28429 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28430 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28433 if test $ac_cv_header_sql_h = yes; then
28438 if test "x$found_sql_h" = "x1" ; then
28439 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28440 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28441 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28442 echo $ECHO_N "(cached) $ECHO_C" >&6
28444 ac_check_lib_save_LIBS
=$LIBS
28445 LIBS
="-liodbc $LIBS"
28446 cat >conftest.
$ac_ext <<_ACEOF
28449 cat confdefs.h
>>conftest.
$ac_ext
28450 cat >>conftest.
$ac_ext <<_ACEOF
28451 /* end confdefs.h. */
28453 /* Override any gcc2 internal prototype to avoid an error. */
28457 /* We use char because int might match the return type of a gcc2
28458 builtin and then its argument prototype would still apply. */
28459 char SQLAllocEnv ();
28468 rm -f conftest.
$ac_objext conftest
$ac_exeext
28469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28470 (eval $ac_link) 2>conftest.er1
28472 grep -v '^ *+' conftest.er1
>conftest.err
28474 cat conftest.err
>&5
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); } &&
28477 { ac_try
='test -z "$ac_c_werror_flag"
28478 || test ! -s conftest.err'
28479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28480 (eval $ac_try) 2>&5
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); }; } &&
28484 { ac_try
='test -s conftest$ac_exeext'
28485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28486 (eval $ac_try) 2>&5
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); }; }; then
28490 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28492 echo "$as_me: failed program was:" >&5
28493 sed 's/^/| /' conftest.
$ac_ext >&5
28495 ac_cv_lib_iodbc_SQLAllocEnv
=no
28497 rm -f conftest.err conftest.
$ac_objext \
28498 conftest
$ac_exeext conftest.
$ac_ext
28499 LIBS
=$ac_check_lib_save_LIBS
28501 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28502 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28503 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28504 ODBC_LINK
=" -liodbc"
28507 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28508 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28509 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28510 echo $ECHO_N "(cached) $ECHO_C" >&6
28512 ac_check_lib_save_LIBS
=$LIBS
28513 LIBS
="-lunixodbc $LIBS"
28514 cat >conftest.
$ac_ext <<_ACEOF
28517 cat confdefs.h
>>conftest.
$ac_ext
28518 cat >>conftest.
$ac_ext <<_ACEOF
28519 /* end confdefs.h. */
28521 /* Override any gcc2 internal prototype to avoid an error. */
28525 /* We use char because int might match the return type of a gcc2
28526 builtin and then its argument prototype would still apply. */
28527 char SQLAllocEnv ();
28536 rm -f conftest.
$ac_objext conftest
$ac_exeext
28537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28538 (eval $ac_link) 2>conftest.er1
28540 grep -v '^ *+' conftest.er1
>conftest.err
28542 cat conftest.err
>&5
28543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544 (exit $ac_status); } &&
28545 { ac_try
='test -z "$ac_c_werror_flag"
28546 || test ! -s conftest.err'
28547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548 (eval $ac_try) 2>&5
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; } &&
28552 { ac_try
='test -s conftest$ac_exeext'
28553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28554 (eval $ac_try) 2>&5
28556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28557 (exit $ac_status); }; }; then
28558 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
28560 echo "$as_me: failed program was:" >&5
28561 sed 's/^/| /' conftest.
$ac_ext >&5
28563 ac_cv_lib_unixodbc_SQLAllocEnv
=no
28565 rm -f conftest.err conftest.
$ac_objext \
28566 conftest
$ac_exeext conftest.
$ac_ext
28567 LIBS
=$ac_check_lib_save_LIBS
28569 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28570 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28571 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28572 ODBC_LINK
=" -lunixodbc"
28575 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28576 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28577 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28578 echo $ECHO_N "(cached) $ECHO_C" >&6
28580 ac_check_lib_save_LIBS
=$LIBS
28581 LIBS
="-lodbc $LIBS"
28582 cat >conftest.
$ac_ext <<_ACEOF
28585 cat confdefs.h
>>conftest.
$ac_ext
28586 cat >>conftest.
$ac_ext <<_ACEOF
28587 /* end confdefs.h. */
28589 /* Override any gcc2 internal prototype to avoid an error. */
28593 /* We use char because int might match the return type of a gcc2
28594 builtin and then its argument prototype would still apply. */
28595 char SQLAllocEnv ();
28604 rm -f conftest.
$ac_objext conftest
$ac_exeext
28605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28606 (eval $ac_link) 2>conftest.er1
28608 grep -v '^ *+' conftest.er1
>conftest.err
28610 cat conftest.err
>&5
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); } &&
28613 { ac_try
='test -z "$ac_c_werror_flag"
28614 || test ! -s conftest.err'
28615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28616 (eval $ac_try) 2>&5
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); }; } &&
28620 { ac_try
='test -s conftest$ac_exeext'
28621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28622 (eval $ac_try) 2>&5
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); }; }; then
28626 ac_cv_lib_odbc_SQLAllocEnv
=yes
28628 echo "$as_me: failed program was:" >&5
28629 sed 's/^/| /' conftest.
$ac_ext >&5
28631 ac_cv_lib_odbc_SQLAllocEnv
=no
28633 rm -f conftest.err conftest.
$ac_objext \
28634 conftest
$ac_exeext conftest.
$ac_ext
28635 LIBS
=$ac_check_lib_save_LIBS
28637 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28638 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28639 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28640 ODBC_LINK
=" -lodbc"
28650 if test "x$ODBC_LINK" = "x" ; then
28651 if test "$wxUSE_ODBC" = "sys" ; then
28652 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28653 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28654 { (exit 1); exit 1; }; }
28656 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28657 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28665 if test "$wxUSE_ODBC" = "builtin" ; then
28666 cat >>confdefs.h
<<\_ACEOF
28667 #define wxUSE_BUILTIN_IODBC 1
28673 if test "$wxUSE_ODBC" != "no" ; then
28674 cat >>confdefs.h
<<\_ACEOF
28675 #define wxUSE_ODBC 1
28678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28680 WXODBCFLAG
="-D_IODBC_"
28684 if test "$wxUSE_DISPLAY" = "yes"; then
28685 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28686 echo "$as_me:$LINENO: checking for Xinerama" >&5
28687 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28690 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28692 for ac_extension
in a so sl dylib
; do
28693 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28694 ac_find_libraries
=$ac_dir
28700 if test "$ac_find_libraries" != "" ; then
28702 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28704 if test $result = 0; then
28707 ac_path_to_link
=" -L$ac_find_libraries"
28710 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28711 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28713 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28714 echo "$as_me:$LINENO: result: yes" >&5
28715 echo "${ECHO_T}yes" >&6
28717 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28718 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28721 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28723 for ac_extension
in a so sl dylib
; do
28724 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28725 ac_find_libraries
=$ac_dir
28731 if test "$ac_find_libraries" != "" ; then
28732 echo "$as_me:$LINENO: result: yes" >&5
28733 echo "${ECHO_T}yes" >&6
28735 for ac_header
in X
11/extensions
/xf86vmode.h
28737 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28738 echo "$as_me:$LINENO: checking for $ac_header" >&5
28739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28741 echo $ECHO_N "(cached) $ECHO_C" >&6
28743 cat >conftest.
$ac_ext <<_ACEOF
28746 cat confdefs.h
>>conftest.
$ac_ext
28747 cat >>conftest.
$ac_ext <<_ACEOF
28748 /* end confdefs.h. */
28750 #if HAVE_X11_XLIB_H
28751 #include <X11/Xlib.h>
28755 #include <$ac_header>
28757 rm -f conftest.
$ac_objext
28758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28759 (eval $ac_compile) 2>conftest.er1
28761 grep -v '^ *+' conftest.er1
>conftest.err
28763 cat conftest.err
>&5
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); } &&
28766 { ac_try
='test -z "$ac_c_werror_flag"
28767 || test ! -s conftest.err'
28768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28769 (eval $ac_try) 2>&5
28771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28772 (exit $ac_status); }; } &&
28773 { ac_try
='test -s conftest.$ac_objext'
28774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28775 (eval $ac_try) 2>&5
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); }; }; then
28779 eval "$as_ac_Header=yes"
28781 echo "$as_me: failed program was:" >&5
28782 sed 's/^/| /' conftest.
$ac_ext >&5
28784 eval "$as_ac_Header=no"
28786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28791 cat >>confdefs.h
<<_ACEOF
28792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28795 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28802 echo "$as_me:$LINENO: result: no" >&5
28803 echo "${ECHO_T}no" >&6
28807 echo "$as_me:$LINENO: result: no" >&5
28808 echo "${ECHO_T}no" >&6
28809 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28810 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28813 elif test "$wxUSE_MSW" = 1; then
28816 for ac_header
in multimon.h ddraw.h
28818 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28819 echo "$as_me:$LINENO: checking for $ac_header" >&5
28820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28822 echo $ECHO_N "(cached) $ECHO_C" >&6
28824 cat >conftest.
$ac_ext <<_ACEOF
28827 cat confdefs.h
>>conftest.
$ac_ext
28828 cat >>conftest.
$ac_ext <<_ACEOF
28829 /* end confdefs.h. */
28830 #include <windows.h>
28832 #include <$ac_header>
28834 rm -f conftest.
$ac_objext
28835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28836 (eval $ac_compile) 2>conftest.er1
28838 grep -v '^ *+' conftest.er1
>conftest.err
28840 cat conftest.err
>&5
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); } &&
28843 { ac_try
='test -z "$ac_c_werror_flag"
28844 || test ! -s conftest.err'
28845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28846 (eval $ac_try) 2>&5
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); }; } &&
28850 { ac_try
='test -s conftest.$ac_objext'
28851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28852 (eval $ac_try) 2>&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); }; }; then
28856 eval "$as_ac_Header=yes"
28858 echo "$as_me: failed program was:" >&5
28859 sed 's/^/| /' conftest.
$ac_ext >&5
28861 eval "$as_ac_Header=no"
28863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28868 cat >>confdefs.h
<<_ACEOF
28869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28875 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28876 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28887 if test "$wxUSE_OPENGL" = "yes"; then
28888 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28889 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28890 elif test "$wxUSE_MSW" = 1; then
28891 OPENGL_LIBS
="-lopengl32 -lglu32"
28896 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28898 if test -f "$ac_dir/GL/gl.h"; then
28899 ac_find_includes
=$ac_dir
28904 if test "$ac_find_includes" != "" ; then
28905 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28906 echo "${ECHO_T}found in $ac_find_includes" >&6
28908 if test "x$ac_find_includes" = "x/usr/include"; then
28909 ac_path_to_include
=""
28911 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28913 if test $result = 0; then
28914 ac_path_to_include
=""
28916 ac_path_to_include
=" -I$ac_find_includes"
28920 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
28923 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28924 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28925 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28926 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28927 echo $ECHO_N "(cached) $ECHO_C" >&6
28929 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28930 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28932 # Is the header compilable?
28933 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28934 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28935 cat >conftest.
$ac_ext <<_ACEOF
28938 cat confdefs.h
>>conftest.
$ac_ext
28939 cat >>conftest.
$ac_ext <<_ACEOF
28940 /* end confdefs.h. */
28941 $ac_includes_default
28944 rm -f conftest.
$ac_objext
28945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28946 (eval $ac_compile) 2>conftest.er1
28948 grep -v '^ *+' conftest.er1
>conftest.err
28950 cat conftest.err
>&5
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); } &&
28953 { ac_try
='test -z "$ac_c_werror_flag"
28954 || test ! -s conftest.err'
28955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28956 (eval $ac_try) 2>&5
28958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28959 (exit $ac_status); }; } &&
28960 { ac_try
='test -s conftest.$ac_objext'
28961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28962 (eval $ac_try) 2>&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); }; }; then
28966 ac_header_compiler
=yes
28968 echo "$as_me: failed program was:" >&5
28969 sed 's/^/| /' conftest.
$ac_ext >&5
28971 ac_header_compiler
=no
28973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28975 echo "${ECHO_T}$ac_header_compiler" >&6
28977 # Is the header present?
28978 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28979 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28980 cat >conftest.
$ac_ext <<_ACEOF
28983 cat confdefs.h
>>conftest.
$ac_ext
28984 cat >>conftest.
$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28991 grep -v '^ *+' conftest.er1
>conftest.err
28993 cat conftest.err
>&5
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); } >/dev
/null
; then
28996 if test -s conftest.err
; then
28997 ac_cpp_err
=$ac_c_preproc_warn_flag
28998 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29005 if test -z "$ac_cpp_err"; then
29006 ac_header_preproc
=yes
29008 echo "$as_me: failed program was:" >&5
29009 sed 's/^/| /' conftest.
$ac_ext >&5
29011 ac_header_preproc
=no
29013 rm -f conftest.err conftest.
$ac_ext
29014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29015 echo "${ECHO_T}$ac_header_preproc" >&6
29017 # So? What about this header?
29018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29020 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29021 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29022 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29023 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29024 ac_header_preproc
=yes
29027 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29028 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29029 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29030 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29031 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29032 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29033 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29034 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29035 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29036 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29037 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29038 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29041 ## ----------------------------------------- ##
29042 ## Report this to wx-dev@lists.wxwidgets.org ##
29043 ## ----------------------------------------- ##
29046 sed "s/^/$as_me: WARNING: /" >&2
29049 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29050 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29051 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29052 echo $ECHO_N "(cached) $ECHO_C" >&6
29054 ac_cv_header_GL_gl_h
=$ac_header_preproc
29056 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29057 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29060 if test $ac_cv_header_GL_gl_h = yes; then
29064 echo "$as_me:$LINENO: checking for -lGL" >&5
29065 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29068 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29070 for ac_extension
in a so sl dylib
; do
29071 if test -f "$ac_dir/libGL.$ac_extension"; then
29072 ac_find_libraries
=$ac_dir
29078 if test "$ac_find_libraries" != "" ; then
29080 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29082 if test $result = 0; then
29085 ac_path_to_link
=" -L$ac_find_libraries"
29088 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29089 LDFLAGS_GL
="$ac_path_to_link"
29094 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29096 for ac_extension
in a so sl dylib
; do
29097 if test -f "$ac_dir/libGLU.$ac_extension"; then
29098 ac_find_libraries
=$ac_dir
29104 if test "$ac_find_libraries" != "" ; then
29106 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29108 if test $result = 0; then
29111 ac_path_to_link
=" -L$ac_find_libraries"
29114 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29115 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29116 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29120 OPENGL_LIBS
="-lGL -lGLU"
29121 echo "$as_me:$LINENO: result: yes" >&5
29122 echo "${ECHO_T}yes" >&6
29126 if test "$found_gl" != 1; then
29127 echo "$as_me:$LINENO: result: no" >&5
29128 echo "${ECHO_T}no" >&6
29129 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29130 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29133 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29135 for ac_extension
in a so sl dylib
; do
29136 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29137 ac_find_libraries
=$ac_dir
29143 if test "$ac_find_libraries" != "" ; then
29145 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29147 if test $result = 0; then
29150 ac_path_to_link
=" -L$ac_find_libraries"
29153 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29154 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29155 echo "$as_me:$LINENO: result: yes" >&5
29156 echo "${ECHO_T}yes" >&6
29158 echo "$as_me:$LINENO: result: no" >&5
29159 echo "${ECHO_T}no" >&6
29167 if test "x$OPENGL_LIBS" = "x"; then
29168 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29169 echo "$as_me: error: OpenGL libraries not available" >&2;}
29170 { (exit 1); exit 1; }; }
29174 if test "$wxUSE_OPENGL" = "yes"; then
29176 cat >>confdefs.h
<<\_ACEOF
29177 #define wxUSE_OPENGL 1
29180 cat >>confdefs.h
<<\_ACEOF
29181 #define wxUSE_GLCANVAS 1
29184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29189 if test -n "$TOOLKIT" ; then
29190 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29195 if test "$wxUSE_SHARED" = "yes"; then
29199 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29200 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29205 if test "$wxUSE_SHARED" = "yes"; then
29208 found_versioning
=no
29211 if test $found_versioning = no
; then
29212 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29213 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29214 if test "${wx_cv_version_script+set}" = set; then
29215 echo $ECHO_N "(cached) $ECHO_C" >&6
29218 echo "VER_1 { *; };" >conftest.sym
29219 echo "int main() { return 0; }" >conftest.cpp
29222 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29223 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29225 (eval $ac_try) 2>&5
29227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29228 (exit $ac_status); }; } ; then
29229 if test -s conftest.stderr
; then
29230 wx_cv_version_script
=no
29232 wx_cv_version_script
=yes
29235 wx_cv_version_script
=no
29237 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29240 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29241 echo "${ECHO_T}$wx_cv_version_script" >&6
29242 if test $wx_cv_version_script = yes ; then
29243 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29249 *-*-linux* | *-*-gnu* )
29250 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29251 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29255 if test "$GCC" = yes ; then
29256 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29258 saveLdflags
="$LDFLAGS"
29259 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29260 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29261 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29262 cat >conftest.
$ac_ext <<_ACEOF
29265 cat confdefs.h
>>conftest.
$ac_ext
29266 cat >>conftest.
$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29277 rm -f conftest.
$ac_objext conftest
$ac_exeext
29278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29279 (eval $ac_link) 2>conftest.er1
29281 grep -v '^ *+' conftest.er1
>conftest.err
29283 cat conftest.err
>&5
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); } &&
29286 { ac_try
='test -z "$ac_c_werror_flag"
29287 || test ! -s conftest.err'
29288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29289 (eval $ac_try) 2>&5
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); }; } &&
29293 { ac_try
='test -s conftest$ac_exeext'
29294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29295 (eval $ac_try) 2>&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); }; }; then
29300 echo "$as_me:$LINENO: result: yes" >&5
29301 echo "${ECHO_T}yes" >&6
29302 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29303 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29306 echo "$as_me: failed program was:" >&5
29307 sed 's/^/| /' conftest.
$ac_ext >&5
29310 echo "$as_me:$LINENO: result: no" >&5
29311 echo "${ECHO_T}no" >&6
29312 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29313 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29314 LDFLAGS
="$saveLdflags -Wl,-R,/"
29315 cat >conftest.
$ac_ext <<_ACEOF
29318 cat confdefs.h
>>conftest.
$ac_ext
29319 cat >>conftest.
$ac_ext <<_ACEOF
29320 /* end confdefs.h. */
29330 rm -f conftest.
$ac_objext conftest
$ac_exeext
29331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29332 (eval $ac_link) 2>conftest.er1
29334 grep -v '^ *+' conftest.er1
>conftest.err
29336 cat conftest.err
>&5
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); } &&
29339 { ac_try
='test -z "$ac_c_werror_flag"
29340 || test ! -s conftest.err'
29341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29342 (eval $ac_try) 2>&5
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); }; } &&
29346 { ac_try
='test -s conftest$ac_exeext'
29347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29348 (eval $ac_try) 2>&5
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); }; }; then
29353 echo "$as_me:$LINENO: result: yes" >&5
29354 echo "${ECHO_T}yes" >&6
29355 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29356 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29359 echo "$as_me: failed program was:" >&5
29360 sed 's/^/| /' conftest.
$ac_ext >&5
29363 echo "$as_me:$LINENO: result: no" >&5
29364 echo "${ECHO_T}no" >&6
29367 rm -f conftest.err conftest.
$ac_objext \
29368 conftest
$ac_exeext conftest.
$ac_ext
29371 rm -f conftest.err conftest.
$ac_objext \
29372 conftest
$ac_exeext conftest.
$ac_ext
29373 LDFLAGS
="$saveLdflags"
29375 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29376 WXCONFIG_RPATH
="-R\$libdir"
29380 powerpc
-*-darwin* )
29381 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29382 cat <<EOF >change-install-names
29384 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29385 inst_cmd="install_name_tool "
29386 for i in \${libnames} ; do
29387 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29391 chmod +x change
-install-names
29394 *-*-cygwin* | *-*-mingw32* )
29395 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29399 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29400 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29405 if test $wxUSE_RPATH = "no"; then
29406 SAMPLES_RPATH_FLAG
=''
29407 SAMPLES_RPATH_POSTLINK
=''
29415 config_linkage_component
="-static"
29422 lib_unicode_suffix
=
29424 if test "$wxUSE_UNICODE" = "yes"; then
29425 lib_unicode_suffix
=u
29426 WX_CHARTYPE
="unicode"
29431 WX_DEBUGTYPE
="release"
29433 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29435 WX_DEBUGTYPE
="debug"
29439 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29440 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29443 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29447 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29449 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29451 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29453 if test "$cross_compiling" = "yes"; then
29454 HOST_SUFFIX
="-$host_alias"
29455 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29456 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29459 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29460 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29464 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29465 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29466 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29468 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29470 # Extract the first word of "Rez", so it can be a program name with args.
29471 set dummy Rez
; ac_word
=$2
29472 echo "$as_me:$LINENO: checking for $ac_word" >&5
29473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29474 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29475 echo $ECHO_N "(cached) $ECHO_C" >&6
29477 if test -n "$RESCOMP"; then
29478 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
29480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29481 for as_dir
in $PATH
29484 test -z "$as_dir" && as_dir
=.
29485 for ac_exec_ext
in '' $ac_executable_extensions; do
29486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29487 ac_cv_prog_RESCOMP
="Rez"
29488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29494 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29497 RESCOMP
=$ac_cv_prog_RESCOMP
29498 if test -n "$RESCOMP"; then
29499 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29500 echo "${ECHO_T}$RESCOMP" >&6
29502 echo "$as_me:$LINENO: result: no" >&5
29503 echo "${ECHO_T}no" >&6
29506 # Extract the first word of "DeRez", so it can be a program name with args.
29507 set dummy DeRez
; ac_word
=$2
29508 echo "$as_me:$LINENO: checking for $ac_word" >&5
29509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29510 if test "${ac_cv_prog_DEREZ+set}" = set; then
29511 echo $ECHO_N "(cached) $ECHO_C" >&6
29513 if test -n "$DEREZ"; then
29514 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29517 for as_dir
in $PATH
29520 test -z "$as_dir" && as_dir
=.
29521 for ac_exec_ext
in '' $ac_executable_extensions; do
29522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29523 ac_cv_prog_DEREZ
="DeRez"
29524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29530 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29533 DEREZ
=$ac_cv_prog_DEREZ
29534 if test -n "$DEREZ"; then
29535 echo "$as_me:$LINENO: result: $DEREZ" >&5
29536 echo "${ECHO_T}$DEREZ" >&6
29538 echo "$as_me:$LINENO: result: no" >&5
29539 echo "${ECHO_T}no" >&6
29542 # Extract the first word of "SetFile", so it can be a program name with args.
29543 set dummy SetFile
; ac_word
=$2
29544 echo "$as_me:$LINENO: checking for $ac_word" >&5
29545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29546 if test "${ac_cv_prog_SETFILE+set}" = set; then
29547 echo $ECHO_N "(cached) $ECHO_C" >&6
29549 if test -n "$SETFILE"; then
29550 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29553 for as_dir
in $PATH
29556 test -z "$as_dir" && as_dir
=.
29557 for ac_exec_ext
in '' $ac_executable_extensions; do
29558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29559 ac_cv_prog_SETFILE
="SetFile"
29560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29566 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29569 SETFILE
=$ac_cv_prog_SETFILE
29570 if test -n "$SETFILE"; then
29571 echo "$as_me:$LINENO: result: $SETFILE" >&5
29572 echo "${ECHO_T}$SETFILE" >&6
29574 echo "$as_me:$LINENO: result: no" >&5
29575 echo "${ECHO_T}no" >&6
29579 MACSETFILE
="\$(SETFILE)"
29581 if test "$wxUSE_MAC" = 1; then
29582 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29584 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29586 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29587 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29591 MACRESWXCONFIG
="@true"
29593 if test "$wxUSE_PM" = 1; then
29594 MACRESCOMP
="emxbind -ep"
29602 echo "$as_me:$LINENO: checking for mode_t" >&5
29603 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29604 if test "${ac_cv_type_mode_t+set}" = set; then
29605 echo $ECHO_N "(cached) $ECHO_C" >&6
29607 cat >conftest.
$ac_ext <<_ACEOF
29610 cat confdefs.h
>>conftest.
$ac_ext
29611 cat >>conftest.
$ac_ext <<_ACEOF
29612 /* end confdefs.h. */
29613 $ac_includes_default
29619 if (sizeof (mode_t))
29625 rm -f conftest.
$ac_objext
29626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29627 (eval $ac_compile) 2>conftest.er1
29629 grep -v '^ *+' conftest.er1
>conftest.err
29631 cat conftest.err
>&5
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); } &&
29634 { ac_try
='test -z "$ac_c_werror_flag"
29635 || test ! -s conftest.err'
29636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29637 (eval $ac_try) 2>&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); }; } &&
29641 { ac_try
='test -s conftest.$ac_objext'
29642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643 (eval $ac_try) 2>&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); }; }; then
29647 ac_cv_type_mode_t
=yes
29649 echo "$as_me: failed program was:" >&5
29650 sed 's/^/| /' conftest.
$ac_ext >&5
29652 ac_cv_type_mode_t
=no
29654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29656 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29657 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29658 if test $ac_cv_type_mode_t = yes; then
29662 cat >>confdefs.h
<<_ACEOF
29668 echo "$as_me:$LINENO: checking for off_t" >&5
29669 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29670 if test "${ac_cv_type_off_t+set}" = set; then
29671 echo $ECHO_N "(cached) $ECHO_C" >&6
29673 cat >conftest.
$ac_ext <<_ACEOF
29676 cat confdefs.h
>>conftest.
$ac_ext
29677 cat >>conftest.
$ac_ext <<_ACEOF
29678 /* end confdefs.h. */
29679 $ac_includes_default
29685 if (sizeof (off_t))
29691 rm -f conftest.
$ac_objext
29692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29693 (eval $ac_compile) 2>conftest.er1
29695 grep -v '^ *+' conftest.er1
>conftest.err
29697 cat conftest.err
>&5
29698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699 (exit $ac_status); } &&
29700 { ac_try
='test -z "$ac_c_werror_flag"
29701 || test ! -s conftest.err'
29702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703 (eval $ac_try) 2>&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); }; } &&
29707 { ac_try
='test -s conftest.$ac_objext'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; }; then
29713 ac_cv_type_off_t
=yes
29715 echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.
$ac_ext >&5
29718 ac_cv_type_off_t
=no
29720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29722 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29723 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29724 if test $ac_cv_type_off_t = yes; then
29728 cat >>confdefs.h
<<_ACEOF
29734 echo "$as_me:$LINENO: checking for pid_t" >&5
29735 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29736 if test "${ac_cv_type_pid_t+set}" = set; then
29737 echo $ECHO_N "(cached) $ECHO_C" >&6
29739 cat >conftest.
$ac_ext <<_ACEOF
29742 cat confdefs.h
>>conftest.
$ac_ext
29743 cat >>conftest.
$ac_ext <<_ACEOF
29744 /* end confdefs.h. */
29745 $ac_includes_default
29751 if (sizeof (pid_t))
29757 rm -f conftest.
$ac_objext
29758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29759 (eval $ac_compile) 2>conftest.er1
29761 grep -v '^ *+' conftest.er1
>conftest.err
29763 cat conftest.err
>&5
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); } &&
29766 { ac_try
='test -z "$ac_c_werror_flag"
29767 || test ! -s conftest.err'
29768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29769 (eval $ac_try) 2>&5
29771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29772 (exit $ac_status); }; } &&
29773 { ac_try
='test -s conftest.$ac_objext'
29774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29775 (eval $ac_try) 2>&5
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); }; }; then
29779 ac_cv_type_pid_t
=yes
29781 echo "$as_me: failed program was:" >&5
29782 sed 's/^/| /' conftest.
$ac_ext >&5
29784 ac_cv_type_pid_t
=no
29786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29788 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29789 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29790 if test $ac_cv_type_pid_t = yes; then
29794 cat >>confdefs.h
<<_ACEOF
29800 echo "$as_me:$LINENO: checking for size_t" >&5
29801 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29802 if test "${ac_cv_type_size_t+set}" = set; then
29803 echo $ECHO_N "(cached) $ECHO_C" >&6
29805 cat >conftest.
$ac_ext <<_ACEOF
29808 cat confdefs.h
>>conftest.
$ac_ext
29809 cat >>conftest.
$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29811 $ac_includes_default
29817 if (sizeof (size_t))
29823 rm -f conftest.
$ac_objext
29824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29825 (eval $ac_compile) 2>conftest.er1
29827 grep -v '^ *+' conftest.er1
>conftest.err
29829 cat conftest.err
>&5
29830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831 (exit $ac_status); } &&
29832 { ac_try
='test -z "$ac_c_werror_flag"
29833 || test ! -s conftest.err'
29834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29835 (eval $ac_try) 2>&5
29837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29838 (exit $ac_status); }; } &&
29839 { ac_try
='test -s conftest.$ac_objext'
29840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29841 (eval $ac_try) 2>&5
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); }; }; then
29845 ac_cv_type_size_t
=yes
29847 echo "$as_me: failed program was:" >&5
29848 sed 's/^/| /' conftest.
$ac_ext >&5
29850 ac_cv_type_size_t
=no
29852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29854 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29855 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29856 if test $ac_cv_type_size_t = yes; then
29860 cat >>confdefs.h
<<_ACEOF
29861 #define size_t unsigned
29866 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29867 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29868 if test "${ac_cv_type_uid_t+set}" = set; then
29869 echo $ECHO_N "(cached) $ECHO_C" >&6
29871 cat >conftest.
$ac_ext <<_ACEOF
29874 cat confdefs.h
>>conftest.
$ac_ext
29875 cat >>conftest.
$ac_ext <<_ACEOF
29876 /* end confdefs.h. */
29877 #include <sys/types.h>
29880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29881 $EGREP "uid_t" >/dev
/null
2>&1; then
29882 ac_cv_type_uid_t
=yes
29884 ac_cv_type_uid_t
=no
29889 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29890 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29891 if test $ac_cv_type_uid_t = no
; then
29893 cat >>confdefs.h
<<\_ACEOF
29898 cat >>confdefs.h
<<\_ACEOF
29905 echo "$as_me:$LINENO: checking for ssize_t" >&5
29906 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29907 if test "${ac_cv_type_ssize_t+set}" = set; then
29908 echo $ECHO_N "(cached) $ECHO_C" >&6
29910 cat >conftest.
$ac_ext <<_ACEOF
29913 cat confdefs.h
>>conftest.
$ac_ext
29914 cat >>conftest.
$ac_ext <<_ACEOF
29915 /* end confdefs.h. */
29916 $ac_includes_default
29922 if (sizeof (ssize_t))
29928 rm -f conftest.
$ac_objext
29929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29930 (eval $ac_compile) 2>conftest.er1
29932 grep -v '^ *+' conftest.er1
>conftest.err
29934 cat conftest.err
>&5
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); } &&
29937 { ac_try
='test -z "$ac_c_werror_flag"
29938 || test ! -s conftest.err'
29939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29940 (eval $ac_try) 2>&5
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); }; } &&
29944 { ac_try
='test -s conftest.$ac_objext'
29945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29946 (eval $ac_try) 2>&5
29948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29949 (exit $ac_status); }; }; then
29950 ac_cv_type_ssize_t
=yes
29952 echo "$as_me: failed program was:" >&5
29953 sed 's/^/| /' conftest.
$ac_ext >&5
29955 ac_cv_type_ssize_t
=no
29957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29959 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29960 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29961 if test $ac_cv_type_ssize_t = yes; then
29963 cat >>confdefs.h
<<_ACEOF
29964 #define HAVE_SSIZE_T 1
29974 ac_cpp
='$CXXCPP $CPPFLAGS'
29975 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29976 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29977 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29979 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29980 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29981 if test "${wx_cv_size_t_is_uint+set}" = set; then
29982 echo $ECHO_N "(cached) $ECHO_C" >&6
29985 cat >conftest.
$ac_ext <<_ACEOF
29988 cat confdefs.h
>>conftest.
$ac_ext
29989 cat >>conftest.
$ac_ext <<_ACEOF
29990 /* end confdefs.h. */
29991 #include <stddef.h>
29998 struct Foo { void foo(size_t); void foo(unsigned int); };
30006 rm -f conftest.
$ac_objext
30007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30008 (eval $ac_compile) 2>conftest.er1
30010 grep -v '^ *+' conftest.er1
>conftest.err
30012 cat conftest.err
>&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); } &&
30015 { ac_try
='test -z "$ac_cxx_werror_flag"
30016 || test ! -s conftest.err'
30017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018 (eval $ac_try) 2>&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); }; } &&
30022 { ac_try
='test -s conftest.$ac_objext'
30023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024 (eval $ac_try) 2>&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); }; }; then
30028 wx_cv_size_t_is_uint
=no
30030 echo "$as_me: failed program was:" >&5
30031 sed 's/^/| /' conftest.
$ac_ext >&5
30033 wx_cv_size_t_is_uint
=yes
30036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30040 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30041 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30043 if test "$wx_cv_size_t_is_uint" = "yes"; then
30044 cat >>confdefs.h
<<\_ACEOF
30045 #define wxSIZE_T_IS_UINT 1
30049 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30050 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30051 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30052 echo $ECHO_N "(cached) $ECHO_C" >&6
30054 cat >conftest.
$ac_ext <<_ACEOF
30057 cat confdefs.h
>>conftest.
$ac_ext
30058 cat >>conftest.
$ac_ext <<_ACEOF
30059 /* end confdefs.h. */
30060 #include <stddef.h>
30067 struct Foo { void foo(size_t); void foo(unsigned long); };
30075 rm -f conftest.
$ac_objext
30076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30077 (eval $ac_compile) 2>conftest.er1
30079 grep -v '^ *+' conftest.er1
>conftest.err
30081 cat conftest.err
>&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); } &&
30084 { ac_try
='test -z "$ac_cxx_werror_flag"
30085 || test ! -s conftest.err'
30086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30087 (eval $ac_try) 2>&5
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); }; } &&
30091 { ac_try
='test -s conftest.$ac_objext'
30092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30093 (eval $ac_try) 2>&5
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); }; }; then
30097 wx_cv_size_t_is_ulong
=no
30099 echo "$as_me: failed program was:" >&5
30100 sed 's/^/| /' conftest.
$ac_ext >&5
30102 wx_cv_size_t_is_ulong
=yes
30105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30108 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30109 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30111 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30112 cat >>confdefs.h
<<\_ACEOF
30113 #define wxSIZE_T_IS_ULONG 1
30120 ac_cpp
='$CPP $CPPFLAGS'
30121 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30122 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30123 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30127 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30128 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30129 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30130 echo $ECHO_N "(cached) $ECHO_C" >&6
30133 cat >conftest.
$ac_ext <<_ACEOF
30136 cat confdefs.h
>>conftest.
$ac_ext
30137 cat >>conftest.
$ac_ext <<_ACEOF
30138 /* end confdefs.h. */
30152 rm -f conftest.
$ac_objext
30153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30154 (eval $ac_compile) 2>conftest.er1
30156 grep -v '^ *+' conftest.er1
>conftest.err
30158 cat conftest.err
>&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); } &&
30161 { ac_try
='test -z "$ac_c_werror_flag"
30162 || test ! -s conftest.err'
30163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30164 (eval $ac_try) 2>&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); }; } &&
30168 { ac_try
='test -s conftest.$ac_objext'
30169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30170 (eval $ac_try) 2>&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; }; then
30175 wx_cv_struct_pw_gecos
=yes
30178 echo "$as_me: failed program was:" >&5
30179 sed 's/^/| /' conftest.
$ac_ext >&5
30182 wx_cv_struct_pw_gecos
=no
30186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30190 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30191 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30193 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30194 cat >>confdefs.h
<<\_ACEOF
30195 #define HAVE_PW_GECOS 1
30201 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30202 cat >>confdefs.h
<<\_ACEOF
30203 #define wxUSE_WCHAR_T 1
30210 for ac_func
in wcslen
30212 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30213 echo "$as_me:$LINENO: checking for $ac_func" >&5
30214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30215 if eval "test \"\${$as_ac_var+set}\" = set"; then
30216 echo $ECHO_N "(cached) $ECHO_C" >&6
30218 cat >conftest.
$ac_ext <<_ACEOF
30221 cat confdefs.h
>>conftest.
$ac_ext
30222 cat >>conftest.
$ac_ext <<_ACEOF
30223 /* end confdefs.h. */
30224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30226 #define $ac_func innocuous_$ac_func
30228 /* System header to define __stub macros and hopefully few prototypes,
30229 which can conflict with char $ac_func (); below.
30230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30231 <limits.h> exists even on freestanding compilers. */
30234 # include <limits.h>
30236 # include <assert.h>
30241 /* Override any gcc2 internal prototype to avoid an error. */
30246 /* We use char because int might match the return type of a gcc2
30247 builtin and then its argument prototype would still apply. */
30249 /* The GNU C library defines this for functions which it implements
30250 to always fail with ENOSYS. Some functions are actually named
30251 something starting with __ and the normal name is an alias. */
30252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30255 char (*f) () = $ac_func;
30264 return f != $ac_func;
30269 rm -f conftest.
$ac_objext conftest
$ac_exeext
30270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30271 (eval $ac_link) 2>conftest.er1
30273 grep -v '^ *+' conftest.er1
>conftest.err
30275 cat conftest.err
>&5
30276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277 (exit $ac_status); } &&
30278 { ac_try
='test -z "$ac_c_werror_flag"
30279 || test ! -s conftest.err'
30280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30281 (eval $ac_try) 2>&5
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); }; } &&
30285 { ac_try
='test -s conftest$ac_exeext'
30286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30287 (eval $ac_try) 2>&5
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); }; }; then
30291 eval "$as_ac_var=yes"
30293 echo "$as_me: failed program was:" >&5
30294 sed 's/^/| /' conftest.
$ac_ext >&5
30296 eval "$as_ac_var=no"
30298 rm -f conftest.err conftest.
$ac_objext \
30299 conftest
$ac_exeext conftest.
$ac_ext
30301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30303 if test `eval echo '${'$as_ac_var'}'` = yes; then
30304 cat >>confdefs.h
<<_ACEOF
30305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30312 if test "$WCSLEN_FOUND" = 0; then
30313 if test "$TOOLKIT" = "MSW"; then
30314 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30315 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30316 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30317 echo $ECHO_N "(cached) $ECHO_C" >&6
30319 ac_check_lib_save_LIBS
=$LIBS
30320 LIBS
="-lmsvcrt $LIBS"
30321 cat >conftest.
$ac_ext <<_ACEOF
30324 cat confdefs.h
>>conftest.
$ac_ext
30325 cat >>conftest.
$ac_ext <<_ACEOF
30326 /* end confdefs.h. */
30328 /* Override any gcc2 internal prototype to avoid an error. */
30332 /* We use char because int might match the return type of a gcc2
30333 builtin and then its argument prototype would still apply. */
30343 rm -f conftest.
$ac_objext conftest
$ac_exeext
30344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30345 (eval $ac_link) 2>conftest.er1
30347 grep -v '^ *+' conftest.er1
>conftest.err
30349 cat conftest.err
>&5
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); } &&
30352 { ac_try
='test -z "$ac_c_werror_flag"
30353 || test ! -s conftest.err'
30354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30355 (eval $ac_try) 2>&5
30357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30358 (exit $ac_status); }; } &&
30359 { ac_try
='test -s conftest$ac_exeext'
30360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30361 (eval $ac_try) 2>&5
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); }; }; then
30365 ac_cv_lib_msvcrt_wcslen
=yes
30367 echo "$as_me: failed program was:" >&5
30368 sed 's/^/| /' conftest.
$ac_ext >&5
30370 ac_cv_lib_msvcrt_wcslen
=no
30372 rm -f conftest.err conftest.
$ac_objext \
30373 conftest
$ac_exeext conftest.
$ac_ext
30374 LIBS
=$ac_check_lib_save_LIBS
30376 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30377 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30378 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30383 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30384 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30385 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30386 echo $ECHO_N "(cached) $ECHO_C" >&6
30388 ac_check_lib_save_LIBS
=$LIBS
30390 cat >conftest.
$ac_ext <<_ACEOF
30393 cat confdefs.h
>>conftest.
$ac_ext
30394 cat >>conftest.
$ac_ext <<_ACEOF
30395 /* end confdefs.h. */
30397 /* Override any gcc2 internal prototype to avoid an error. */
30401 /* We use char because int might match the return type of a gcc2
30402 builtin and then its argument prototype would still apply. */
30412 rm -f conftest.
$ac_objext conftest
$ac_exeext
30413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30414 (eval $ac_link) 2>conftest.er1
30416 grep -v '^ *+' conftest.er1
>conftest.err
30418 cat conftest.err
>&5
30419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420 (exit $ac_status); } &&
30421 { ac_try
='test -z "$ac_c_werror_flag"
30422 || test ! -s conftest.err'
30423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30424 (eval $ac_try) 2>&5
30426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30427 (exit $ac_status); }; } &&
30428 { ac_try
='test -s conftest$ac_exeext'
30429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30430 (eval $ac_try) 2>&5
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); }; }; then
30434 ac_cv_lib_w_wcslen
=yes
30436 echo "$as_me: failed program was:" >&5
30437 sed 's/^/| /' conftest.
$ac_ext >&5
30439 ac_cv_lib_w_wcslen
=no
30441 rm -f conftest.err conftest.
$ac_objext \
30442 conftest
$ac_exeext conftest.
$ac_ext
30443 LIBS
=$ac_check_lib_save_LIBS
30445 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30446 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30447 if test $ac_cv_lib_w_wcslen = yes; then
30457 if test "$WCSLEN_FOUND" = 1; then
30458 cat >>confdefs.h
<<\_ACEOF
30459 #define HAVE_WCSLEN 1
30464 if test "$USE_HPUX" = 1; then
30465 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30469 for ac_func
in wcsrtombs
30471 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30472 echo "$as_me:$LINENO: checking for $ac_func" >&5
30473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30474 if eval "test \"\${$as_ac_var+set}\" = set"; then
30475 echo $ECHO_N "(cached) $ECHO_C" >&6
30477 cat >conftest.
$ac_ext <<_ACEOF
30480 cat confdefs.h
>>conftest.
$ac_ext
30481 cat >>conftest.
$ac_ext <<_ACEOF
30482 /* end confdefs.h. */
30483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30485 #define $ac_func innocuous_$ac_func
30487 /* System header to define __stub macros and hopefully few prototypes,
30488 which can conflict with char $ac_func (); below.
30489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30490 <limits.h> exists even on freestanding compilers. */
30493 # include <limits.h>
30495 # include <assert.h>
30500 /* Override any gcc2 internal prototype to avoid an error. */
30505 /* We use char because int might match the return type of a gcc2
30506 builtin and then its argument prototype would still apply. */
30508 /* The GNU C library defines this for functions which it implements
30509 to always fail with ENOSYS. Some functions are actually named
30510 something starting with __ and the normal name is an alias. */
30511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30514 char (*f) () = $ac_func;
30523 return f != $ac_func;
30528 rm -f conftest.
$ac_objext conftest
$ac_exeext
30529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30530 (eval $ac_link) 2>conftest.er1
30532 grep -v '^ *+' conftest.er1
>conftest.err
30534 cat conftest.err
>&5
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); } &&
30537 { ac_try
='test -z "$ac_c_werror_flag"
30538 || test ! -s conftest.err'
30539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30540 (eval $ac_try) 2>&5
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); }; } &&
30544 { ac_try
='test -s conftest$ac_exeext'
30545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30546 (eval $ac_try) 2>&5
30548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30549 (exit $ac_status); }; }; then
30550 eval "$as_ac_var=yes"
30552 echo "$as_me: failed program was:" >&5
30553 sed 's/^/| /' conftest.
$ac_ext >&5
30555 eval "$as_ac_var=no"
30557 rm -f conftest.err conftest.
$ac_objext \
30558 conftest
$ac_exeext conftest.
$ac_ext
30560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30562 if test `eval echo '${'$as_ac_var'}'` = yes; then
30563 cat >>confdefs.h
<<_ACEOF
30564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30571 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30572 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30578 ac_cpp
='$CXXCPP $CPPFLAGS'
30579 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30580 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30581 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30585 for ac_func
in vsnprintf
30587 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30588 echo "$as_me:$LINENO: checking for $ac_func" >&5
30589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30590 if eval "test \"\${$as_ac_var+set}\" = set"; then
30591 echo $ECHO_N "(cached) $ECHO_C" >&6
30593 cat >conftest.
$ac_ext <<_ACEOF
30596 cat confdefs.h
>>conftest.
$ac_ext
30597 cat >>conftest.
$ac_ext <<_ACEOF
30598 /* end confdefs.h. */
30599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30601 #define $ac_func innocuous_$ac_func
30603 /* System header to define __stub macros and hopefully few prototypes,
30604 which can conflict with char $ac_func (); below.
30605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30606 <limits.h> exists even on freestanding compilers. */
30609 # include <limits.h>
30611 # include <assert.h>
30616 /* Override any gcc2 internal prototype to avoid an error. */
30621 /* We use char because int might match the return type of a gcc2
30622 builtin and then its argument prototype would still apply. */
30624 /* The GNU C library defines this for functions which it implements
30625 to always fail with ENOSYS. Some functions are actually named
30626 something starting with __ and the normal name is an alias. */
30627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30630 char (*f) () = $ac_func;
30639 return f != $ac_func;
30644 rm -f conftest.
$ac_objext conftest
$ac_exeext
30645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30646 (eval $ac_link) 2>conftest.er1
30648 grep -v '^ *+' conftest.er1
>conftest.err
30650 cat conftest.err
>&5
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); } &&
30653 { ac_try
='test -z "$ac_cxx_werror_flag"
30654 || test ! -s conftest.err'
30655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30656 (eval $ac_try) 2>&5
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); }; } &&
30660 { ac_try
='test -s conftest$ac_exeext'
30661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30662 (eval $ac_try) 2>&5
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); }; }; then
30666 eval "$as_ac_var=yes"
30668 echo "$as_me: failed program was:" >&5
30669 sed 's/^/| /' conftest.
$ac_ext >&5
30671 eval "$as_ac_var=no"
30673 rm -f conftest.err conftest.
$ac_objext \
30674 conftest
$ac_exeext conftest.
$ac_ext
30676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30678 if test `eval echo '${'$as_ac_var'}'` = yes; then
30679 cat >>confdefs.h
<<_ACEOF
30680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30687 if test "$ac_cv_func_vsnprintf" = "yes"; then
30688 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30689 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30690 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30691 echo $ECHO_N "(cached) $ECHO_C" >&6
30694 cat >conftest.
$ac_ext <<_ACEOF
30697 cat confdefs.h
>>conftest.
$ac_ext
30698 cat >>conftest.
$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30702 #include <stdarg.h>
30710 vsnprintf(buf, 10u, "%s", ap);
30716 rm -f conftest.
$ac_objext
30717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30718 (eval $ac_compile) 2>conftest.er1
30720 grep -v '^ *+' conftest.er1
>conftest.err
30722 cat conftest.err
>&5
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); } &&
30725 { ac_try
='test -z "$ac_cxx_werror_flag"
30726 || test ! -s conftest.err'
30727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728 (eval $ac_try) 2>&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); }; } &&
30732 { ac_try
='test -s conftest.$ac_objext'
30733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734 (eval $ac_try) 2>&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); }; }; then
30738 wx_cv_func_vsnprintf_decl
=yes
30740 echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.
$ac_ext >&5
30744 cat >conftest.
$ac_ext <<_ACEOF
30747 cat confdefs.h
>>conftest.
$ac_ext
30748 cat >>conftest.
$ac_ext <<_ACEOF
30749 /* end confdefs.h. */
30752 #include <stdarg.h>
30753 using namespace std;
30761 vsnprintf(buf, 10u, "%s", ap);
30767 rm -f conftest.
$ac_objext
30768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30769 (eval $ac_compile) 2>conftest.er1
30771 grep -v '^ *+' conftest.er1
>conftest.err
30773 cat conftest.err
>&5
30774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30775 (exit $ac_status); } &&
30776 { ac_try
='test -z "$ac_cxx_werror_flag"
30777 || test ! -s conftest.err'
30778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30779 (eval $ac_try) 2>&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); }; } &&
30783 { ac_try
='test -s conftest.$ac_objext'
30784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30785 (eval $ac_try) 2>&5
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); }; }; then
30789 wx_cv_func_vsnprintf_decl
=yes
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.
$ac_ext >&5
30794 wx_cv_func_vsnprintf_decl
=no
30797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30805 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30806 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30808 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30809 cat >>confdefs.h
<<\_ACEOF
30810 #define HAVE_VSNPRINTF_DECL 1
30816 if test "$wxUSE_UNICODE" = yes; then
30823 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
30825 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30826 echo "$as_me:$LINENO: checking for $ac_func" >&5
30827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30828 if eval "test \"\${$as_ac_var+set}\" = set"; then
30829 echo $ECHO_N "(cached) $ECHO_C" >&6
30831 cat >conftest.
$ac_ext <<_ACEOF
30834 cat confdefs.h
>>conftest.
$ac_ext
30835 cat >>conftest.
$ac_ext <<_ACEOF
30836 /* end confdefs.h. */
30837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30839 #define $ac_func innocuous_$ac_func
30841 /* System header to define __stub macros and hopefully few prototypes,
30842 which can conflict with char $ac_func (); below.
30843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30844 <limits.h> exists even on freestanding compilers. */
30847 # include <limits.h>
30849 # include <assert.h>
30854 /* Override any gcc2 internal prototype to avoid an error. */
30859 /* We use char because int might match the return type of a gcc2
30860 builtin and then its argument prototype would still apply. */
30862 /* The GNU C library defines this for functions which it implements
30863 to always fail with ENOSYS. Some functions are actually named
30864 something starting with __ and the normal name is an alias. */
30865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30868 char (*f) () = $ac_func;
30877 return f != $ac_func;
30882 rm -f conftest.
$ac_objext conftest
$ac_exeext
30883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30884 (eval $ac_link) 2>conftest.er1
30886 grep -v '^ *+' conftest.er1
>conftest.err
30888 cat conftest.err
>&5
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); } &&
30891 { ac_try
='test -z "$ac_cxx_werror_flag"
30892 || test ! -s conftest.err'
30893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30894 (eval $ac_try) 2>&5
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); }; } &&
30898 { ac_try
='test -s conftest$ac_exeext'
30899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30900 (eval $ac_try) 2>&5
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); }; }; then
30904 eval "$as_ac_var=yes"
30906 echo "$as_me: failed program was:" >&5
30907 sed 's/^/| /' conftest.
$ac_ext >&5
30909 eval "$as_ac_var=no"
30911 rm -f conftest.err conftest.
$ac_objext \
30912 conftest
$ac_exeext conftest.
$ac_ext
30914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30916 if test `eval echo '${'$as_ac_var'}'` = yes; then
30917 cat >>confdefs.h
<<_ACEOF
30918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30925 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30926 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30927 cat >conftest.
$ac_ext <<_ACEOF
30930 cat confdefs.h
>>conftest.
$ac_ext
30931 cat >>conftest.
$ac_ext <<_ACEOF
30932 /* end confdefs.h. */
30942 rm -f conftest.
$ac_objext
30943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30944 (eval $ac_compile) 2>conftest.er1
30946 grep -v '^ *+' conftest.er1
>conftest.err
30948 cat conftest.err
>&5
30949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950 (exit $ac_status); } &&
30951 { ac_try
='test -z "$ac_cxx_werror_flag"
30952 || test ! -s conftest.err'
30953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30954 (eval $ac_try) 2>&5
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); }; } &&
30958 { ac_try
='test -s conftest.$ac_objext'
30959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30960 (eval $ac_try) 2>&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; }; then
30964 echo "$as_me:$LINENO: result: yes" >&5
30965 echo "${ECHO_T}yes" >&6
30966 cat >>confdefs.h
<<\_ACEOF
30967 #define HAVE__VSNWPRINTF 1
30971 echo "$as_me: failed program was:" >&5
30972 sed 's/^/| /' conftest.
$ac_ext >&5
30974 echo "$as_me:$LINENO: result: no" >&5
30975 echo "${ECHO_T}no" >&6
30977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30981 ac_cpp
='$CPP $CPPFLAGS'
30982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30989 if test "$TOOLKIT" != "MSW"; then
30995 ac_cpp
='$CXXCPP $CPPFLAGS'
30996 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30997 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30998 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31003 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31004 if test "${with_libiconv_prefix+set}" = set; then
31005 withval
="$with_libiconv_prefix"
31007 for dir
in `echo "$withval" | tr : ' '`; do
31008 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31009 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31014 echo "$as_me:$LINENO: checking for iconv" >&5
31015 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31016 if test "${am_cv_func_iconv+set}" = set; then
31017 echo $ECHO_N "(cached) $ECHO_C" >&6
31020 am_cv_func_iconv
="no, consider installing GNU libiconv"
31022 cat >conftest.
$ac_ext <<_ACEOF
31025 cat confdefs.h
>>conftest.
$ac_ext
31026 cat >>conftest.
$ac_ext <<_ACEOF
31027 /* end confdefs.h. */
31028 #include <stdlib.h>
31033 iconv_t cd = iconv_open("","");
31034 iconv(cd,NULL,NULL,NULL,NULL);
31040 rm -f conftest.
$ac_objext conftest
$ac_exeext
31041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31042 (eval $ac_link) 2>conftest.er1
31044 grep -v '^ *+' conftest.er1
>conftest.err
31046 cat conftest.err
>&5
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); } &&
31049 { ac_try
='test -z "$ac_cxx_werror_flag"
31050 || test ! -s conftest.err'
31051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31052 (eval $ac_try) 2>&5
31054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055 (exit $ac_status); }; } &&
31056 { ac_try
='test -s conftest$ac_exeext'
31057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31058 (eval $ac_try) 2>&5
31060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061 (exit $ac_status); }; }; then
31062 am_cv_func_iconv
=yes
31064 echo "$as_me: failed program was:" >&5
31065 sed 's/^/| /' conftest.
$ac_ext >&5
31068 rm -f conftest.err conftest.
$ac_objext \
31069 conftest
$ac_exeext conftest.
$ac_ext
31070 if test "$am_cv_func_iconv" != yes; then
31071 am_save_LIBS
="$LIBS"
31072 LIBS
="$LIBS -liconv"
31073 cat >conftest.
$ac_ext <<_ACEOF
31076 cat confdefs.h
>>conftest.
$ac_ext
31077 cat >>conftest.
$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31079 #include <stdlib.h>
31084 iconv_t cd = iconv_open("","");
31085 iconv(cd,NULL,NULL,NULL,NULL);
31091 rm -f conftest.
$ac_objext conftest
$ac_exeext
31092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31093 (eval $ac_link) 2>conftest.er1
31095 grep -v '^ *+' conftest.er1
>conftest.err
31097 cat conftest.err
>&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); } &&
31100 { ac_try
='test -z "$ac_cxx_werror_flag"
31101 || test ! -s conftest.err'
31102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31103 (eval $ac_try) 2>&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); }; } &&
31107 { ac_try
='test -s conftest$ac_exeext'
31108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31109 (eval $ac_try) 2>&5
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); }; }; then
31113 am_cv_lib_iconv
=yes
31114 am_cv_func_iconv
=yes
31116 echo "$as_me: failed program was:" >&5
31117 sed 's/^/| /' conftest.
$ac_ext >&5
31120 rm -f conftest.err conftest.
$ac_objext \
31121 conftest
$ac_exeext conftest.
$ac_ext
31122 LIBS
="$am_save_LIBS"
31126 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31127 echo "${ECHO_T}$am_cv_func_iconv" >&6
31128 if test "$am_cv_func_iconv" = yes; then
31130 cat >>confdefs.h
<<\_ACEOF
31131 #define HAVE_ICONV 1
31134 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31135 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31136 if test "${wx_cv_func_iconv_const+set}" = set; then
31137 echo $ECHO_N "(cached) $ECHO_C" >&6
31139 cat >conftest.
$ac_ext <<_ACEOF
31142 cat confdefs.h
>>conftest.
$ac_ext
31143 cat >>conftest.
$ac_ext <<_ACEOF
31144 /* end confdefs.h. */
31146 #include <stdlib.h>
31152 #if defined(__STDC__) || defined(__cplusplus)
31153 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31166 rm -f conftest.
$ac_objext
31167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31168 (eval $ac_compile) 2>conftest.er1
31170 grep -v '^ *+' conftest.er1
>conftest.err
31172 cat conftest.err
>&5
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); } &&
31175 { ac_try
='test -z "$ac_cxx_werror_flag"
31176 || test ! -s conftest.err'
31177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31178 (eval $ac_try) 2>&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; } &&
31182 { ac_try
='test -s conftest.$ac_objext'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; }; then
31188 wx_cv_func_iconv_const
="no"
31190 echo "$as_me: failed program was:" >&5
31191 sed 's/^/| /' conftest.
$ac_ext >&5
31193 wx_cv_func_iconv_const
="yes"
31196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31199 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31200 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31203 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31204 iconv_const
="const"
31208 cat >>confdefs.h
<<_ACEOF
31209 #define ICONV_CONST $iconv_const
31214 if test "$am_cv_lib_iconv" = yes; then
31219 LIBS
="$LIBICONV $LIBS"
31221 ac_cpp
='$CPP $CPPFLAGS'
31222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31227 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31229 for ac_func
in sigaction
31231 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31232 echo "$as_me:$LINENO: checking for $ac_func" >&5
31233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31234 if eval "test \"\${$as_ac_var+set}\" = set"; then
31235 echo $ECHO_N "(cached) $ECHO_C" >&6
31237 cat >conftest.
$ac_ext <<_ACEOF
31240 cat confdefs.h
>>conftest.
$ac_ext
31241 cat >>conftest.
$ac_ext <<_ACEOF
31242 /* end confdefs.h. */
31243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31245 #define $ac_func innocuous_$ac_func
31247 /* System header to define __stub macros and hopefully few prototypes,
31248 which can conflict with char $ac_func (); below.
31249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31250 <limits.h> exists even on freestanding compilers. */
31253 # include <limits.h>
31255 # include <assert.h>
31260 /* Override any gcc2 internal prototype to avoid an error. */
31265 /* We use char because int might match the return type of a gcc2
31266 builtin and then its argument prototype would still apply. */
31268 /* The GNU C library defines this for functions which it implements
31269 to always fail with ENOSYS. Some functions are actually named
31270 something starting with __ and the normal name is an alias. */
31271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31274 char (*f) () = $ac_func;
31283 return f != $ac_func;
31288 rm -f conftest.
$ac_objext conftest
$ac_exeext
31289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31290 (eval $ac_link) 2>conftest.er1
31292 grep -v '^ *+' conftest.er1
>conftest.err
31294 cat conftest.err
>&5
31295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31296 (exit $ac_status); } &&
31297 { ac_try
='test -z "$ac_c_werror_flag"
31298 || test ! -s conftest.err'
31299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31300 (eval $ac_try) 2>&5
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); }; } &&
31304 { ac_try
='test -s conftest$ac_exeext'
31305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31306 (eval $ac_try) 2>&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); }; }; then
31310 eval "$as_ac_var=yes"
31312 echo "$as_me: failed program was:" >&5
31313 sed 's/^/| /' conftest.
$ac_ext >&5
31315 eval "$as_ac_var=no"
31317 rm -f conftest.err conftest.
$ac_objext \
31318 conftest
$ac_exeext conftest.
$ac_ext
31320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31322 if test `eval echo '${'$as_ac_var'}'` = yes; then
31323 cat >>confdefs.h
<<_ACEOF
31324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31331 if test "$ac_cv_func_sigaction" = "no"; then
31332 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31333 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31334 wxUSE_ON_FATAL_EXCEPTION
=no
31337 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31341 ac_cpp
='$CXXCPP $CPPFLAGS'
31342 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31343 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31344 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31347 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31348 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31349 if test "${wx_cv_type_sa_handler+set}" = set; then
31350 echo $ECHO_N "(cached) $ECHO_C" >&6
31353 cat >conftest.
$ac_ext <<_ACEOF
31356 cat confdefs.h
>>conftest.
$ac_ext
31357 cat >>conftest.
$ac_ext <<_ACEOF
31358 /* end confdefs.h. */
31359 #include <signal.h>
31364 extern void testSigHandler(int);
31366 struct sigaction sa;
31367 sa.sa_handler = testSigHandler;
31373 rm -f conftest.
$ac_objext
31374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31375 (eval $ac_compile) 2>conftest.er1
31377 grep -v '^ *+' conftest.er1
>conftest.err
31379 cat conftest.err
>&5
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); } &&
31382 { ac_try
='test -z "$ac_cxx_werror_flag"
31383 || test ! -s conftest.err'
31384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31385 (eval $ac_try) 2>&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); }; } &&
31389 { ac_try
='test -s conftest.$ac_objext'
31390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31391 (eval $ac_try) 2>&5
31393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394 (exit $ac_status); }; }; then
31396 wx_cv_type_sa_handler
=int
31399 echo "$as_me: failed program was:" >&5
31400 sed 's/^/| /' conftest.
$ac_ext >&5
31403 wx_cv_type_sa_handler
=void
31406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31409 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31410 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31413 ac_cpp
='$CPP $CPPFLAGS'
31414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31419 cat >>confdefs.h
<<_ACEOF
31420 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31426 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31430 ac_cpp
='$CXXCPP $CPPFLAGS'
31431 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31432 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31433 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31436 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31437 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31438 if test "${wx_cv_func_backtrace+set}" = set; then
31439 echo $ECHO_N "(cached) $ECHO_C" >&6
31442 cat >conftest.
$ac_ext <<_ACEOF
31445 cat confdefs.h
>>conftest.
$ac_ext
31446 cat >>conftest.
$ac_ext <<_ACEOF
31447 /* end confdefs.h. */
31448 #include <execinfo.h>
31456 backtrace(trace, 1);
31457 messages = backtrace_symbols(trace, 1);
31463 rm -f conftest.
$ac_objext
31464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31465 (eval $ac_compile) 2>conftest.er1
31467 grep -v '^ *+' conftest.er1
>conftest.err
31469 cat conftest.err
>&5
31470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31471 (exit $ac_status); } &&
31472 { ac_try
='test -z "$ac_cxx_werror_flag"
31473 || test ! -s conftest.err'
31474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31475 (eval $ac_try) 2>&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); }; } &&
31479 { ac_try
='test -s conftest.$ac_objext'
31480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481 (eval $ac_try) 2>&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); }; }; then
31485 wx_cv_func_backtrace
=yes
31487 echo "$as_me: failed program was:" >&5
31488 sed 's/^/| /' conftest.
$ac_ext >&5
31490 wx_cv_func_backtrace
=no
31493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31497 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31498 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31501 if test "$wx_cv_func_backtrace" = "no"; then
31502 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31503 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31504 wxUSE_STACKWALKER
=no
31506 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31507 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31508 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31509 echo $ECHO_N "(cached) $ECHO_C" >&6
31512 cat >conftest.
$ac_ext <<_ACEOF
31515 cat confdefs.h
>>conftest.
$ac_ext
31516 cat >>conftest.
$ac_ext <<_ACEOF
31517 /* end confdefs.h. */
31518 #include <cxxabi.h>
31524 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31530 rm -f conftest.
$ac_objext
31531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31532 (eval $ac_compile) 2>conftest.er1
31534 grep -v '^ *+' conftest.er1
>conftest.err
31536 cat conftest.err
>&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } &&
31539 { ac_try
='test -z "$ac_cxx_werror_flag"
31540 || test ! -s conftest.err'
31541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31542 (eval $ac_try) 2>&5
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); }; } &&
31546 { ac_try
='test -s conftest.$ac_objext'
31547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548 (eval $ac_try) 2>&5
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); }; }; then
31552 wx_cv_func_cxa_demangle
=yes
31554 echo "$as_me: failed program was:" >&5
31555 sed 's/^/| /' conftest.
$ac_ext >&5
31557 wx_cv_func_cxa_demangle
=no
31560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31564 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31565 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31567 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31568 cat >>confdefs.h
<<\_ACEOF
31569 #define HAVE_CXA_DEMANGLE 1
31576 ac_cpp
='$CPP $CPPFLAGS'
31577 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31585 for ac_func
in mkstemp mktemp
31587 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31588 echo "$as_me:$LINENO: checking for $ac_func" >&5
31589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31590 if eval "test \"\${$as_ac_var+set}\" = set"; then
31591 echo $ECHO_N "(cached) $ECHO_C" >&6
31593 cat >conftest.
$ac_ext <<_ACEOF
31596 cat confdefs.h
>>conftest.
$ac_ext
31597 cat >>conftest.
$ac_ext <<_ACEOF
31598 /* end confdefs.h. */
31599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31601 #define $ac_func innocuous_$ac_func
31603 /* System header to define __stub macros and hopefully few prototypes,
31604 which can conflict with char $ac_func (); below.
31605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31606 <limits.h> exists even on freestanding compilers. */
31609 # include <limits.h>
31611 # include <assert.h>
31616 /* Override any gcc2 internal prototype to avoid an error. */
31621 /* We use char because int might match the return type of a gcc2
31622 builtin and then its argument prototype would still apply. */
31624 /* The GNU C library defines this for functions which it implements
31625 to always fail with ENOSYS. Some functions are actually named
31626 something starting with __ and the normal name is an alias. */
31627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31630 char (*f) () = $ac_func;
31639 return f != $ac_func;
31644 rm -f conftest.
$ac_objext conftest
$ac_exeext
31645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31646 (eval $ac_link) 2>conftest.er1
31648 grep -v '^ *+' conftest.er1
>conftest.err
31650 cat conftest.err
>&5
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); } &&
31653 { ac_try
='test -z "$ac_c_werror_flag"
31654 || test ! -s conftest.err'
31655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31656 (eval $ac_try) 2>&5
31658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31659 (exit $ac_status); }; } &&
31660 { ac_try
='test -s conftest$ac_exeext'
31661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31662 (eval $ac_try) 2>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; }; then
31666 eval "$as_ac_var=yes"
31668 echo "$as_me: failed program was:" >&5
31669 sed 's/^/| /' conftest.
$ac_ext >&5
31671 eval "$as_ac_var=no"
31673 rm -f conftest.err conftest.
$ac_objext \
31674 conftest
$ac_exeext conftest.
$ac_ext
31676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31678 if test `eval echo '${'$as_ac_var'}'` = yes; then
31679 cat >>confdefs.h
<<_ACEOF
31680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31687 echo "$as_me:$LINENO: checking for statfs" >&5
31688 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31689 if test "${wx_cv_func_statfs+set}" = set; then
31690 echo $ECHO_N "(cached) $ECHO_C" >&6
31692 cat >conftest.
$ac_ext <<_ACEOF
31695 cat confdefs.h
>>conftest.
$ac_ext
31696 cat >>conftest.
$ac_ext <<_ACEOF
31697 /* end confdefs.h. */
31699 #if defined(__BSD__)
31700 #include <sys/param.h>
31701 #include <sys/mount.h>
31703 #include <sys/vfs.h>
31721 rm -f conftest.
$ac_objext
31722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31723 (eval $ac_compile) 2>conftest.er1
31725 grep -v '^ *+' conftest.er1
>conftest.err
31727 cat conftest.err
>&5
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); } &&
31730 { ac_try
='test -z "$ac_c_werror_flag"
31731 || test ! -s conftest.err'
31732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31733 (eval $ac_try) 2>&5
31735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31736 (exit $ac_status); }; } &&
31737 { ac_try
='test -s conftest.$ac_objext'
31738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31739 (eval $ac_try) 2>&5
31741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31742 (exit $ac_status); }; }; then
31744 wx_cv_func_statfs
=yes
31747 echo "$as_me: failed program was:" >&5
31748 sed 's/^/| /' conftest.
$ac_ext >&5
31751 wx_cv_func_statfs
=no
31755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31758 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31759 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31761 if test "$wx_cv_func_statfs" = "yes"; then
31762 wx_cv_type_statvfs_t
="struct statfs"
31763 cat >>confdefs.h
<<\_ACEOF
31764 #define HAVE_STATFS 1
31768 echo "$as_me:$LINENO: checking for statvfs" >&5
31769 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31770 if test "${wx_cv_func_statvfs+set}" = set; then
31771 echo $ECHO_N "(cached) $ECHO_C" >&6
31773 cat >conftest.
$ac_ext <<_ACEOF
31776 cat confdefs.h
>>conftest.
$ac_ext
31777 cat >>conftest.
$ac_ext <<_ACEOF
31778 /* end confdefs.h. */
31780 #include <stddef.h>
31781 #include <sys/statvfs.h>
31787 statvfs("/", NULL);
31793 rm -f conftest.
$ac_objext
31794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31795 (eval $ac_compile) 2>conftest.er1
31797 grep -v '^ *+' conftest.er1
>conftest.err
31799 cat conftest.err
>&5
31800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31801 (exit $ac_status); } &&
31802 { ac_try
='test -z "$ac_c_werror_flag"
31803 || test ! -s conftest.err'
31804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31805 (eval $ac_try) 2>&5
31807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808 (exit $ac_status); }; } &&
31809 { ac_try
='test -s conftest.$ac_objext'
31810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31811 (eval $ac_try) 2>&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); }; }; then
31815 wx_cv_func_statvfs
=yes
31817 echo "$as_me: failed program was:" >&5
31818 sed 's/^/| /' conftest.
$ac_ext >&5
31820 wx_cv_func_statvfs
=no
31823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31826 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31827 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31829 if test "$wx_cv_func_statvfs" = "yes"; then
31833 ac_cpp
='$CXXCPP $CPPFLAGS'
31834 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31835 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31836 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31839 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31840 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31841 if test "${wx_cv_type_statvfs_t+set}" = set; then
31842 echo $ECHO_N "(cached) $ECHO_C" >&6
31844 cat >conftest.
$ac_ext <<_ACEOF
31847 cat confdefs.h
>>conftest.
$ac_ext
31848 cat >>conftest.
$ac_ext <<_ACEOF
31849 /* end confdefs.h. */
31851 #include <sys/statvfs.h>
31868 rm -f conftest.
$ac_objext
31869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31870 (eval $ac_compile) 2>conftest.er1
31872 grep -v '^ *+' conftest.er1
>conftest.err
31874 cat conftest.err
>&5
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); } &&
31877 { ac_try
='test -z "$ac_cxx_werror_flag"
31878 || test ! -s conftest.err'
31879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31880 (eval $ac_try) 2>&5
31882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31883 (exit $ac_status); }; } &&
31884 { ac_try
='test -s conftest.$ac_objext'
31885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31886 (eval $ac_try) 2>&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); }; }; then
31890 wx_cv_type_statvfs_t
=statvfs_t
31892 echo "$as_me: failed program was:" >&5
31893 sed 's/^/| /' conftest.
$ac_ext >&5
31896 cat >conftest.
$ac_ext <<_ACEOF
31899 cat confdefs.h
>>conftest.
$ac_ext
31900 cat >>conftest.
$ac_ext <<_ACEOF
31901 /* end confdefs.h. */
31903 #include <sys/statvfs.h>
31920 rm -f conftest.
$ac_objext
31921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31922 (eval $ac_compile) 2>conftest.er1
31924 grep -v '^ *+' conftest.er1
>conftest.err
31926 cat conftest.err
>&5
31927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928 (exit $ac_status); } &&
31929 { ac_try
='test -z "$ac_cxx_werror_flag"
31930 || test ! -s conftest.err'
31931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31932 (eval $ac_try) 2>&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); }; } &&
31936 { ac_try
='test -s conftest.$ac_objext'
31937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31938 (eval $ac_try) 2>&5
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); }; }; then
31942 wx_cv_type_statvfs_t
="struct statvfs"
31944 echo "$as_me: failed program was:" >&5
31945 sed 's/^/| /' conftest.
$ac_ext >&5
31947 wx_cv_type_statvfs_t
="unknown"
31950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31957 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31958 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31961 ac_cpp
='$CPP $CPPFLAGS'
31962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31967 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31968 cat >>confdefs.h
<<\_ACEOF
31969 #define HAVE_STATVFS 1
31974 wx_cv_type_statvfs_t
="unknown"
31978 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31979 cat >>confdefs.h
<<_ACEOF
31980 #define WX_STATFS_T $wx_cv_type_statvfs_t
31984 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31985 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31988 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31991 for ac_func
in fcntl flock
31993 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31994 echo "$as_me:$LINENO: checking for $ac_func" >&5
31995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31996 if eval "test \"\${$as_ac_var+set}\" = set"; then
31997 echo $ECHO_N "(cached) $ECHO_C" >&6
31999 cat >conftest.
$ac_ext <<_ACEOF
32002 cat confdefs.h
>>conftest.
$ac_ext
32003 cat >>conftest.
$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32007 #define $ac_func innocuous_$ac_func
32009 /* System header to define __stub macros and hopefully few prototypes,
32010 which can conflict with char $ac_func (); below.
32011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32012 <limits.h> exists even on freestanding compilers. */
32015 # include <limits.h>
32017 # include <assert.h>
32022 /* Override any gcc2 internal prototype to avoid an error. */
32027 /* We use char because int might match the return type of a gcc2
32028 builtin and then its argument prototype would still apply. */
32030 /* The GNU C library defines this for functions which it implements
32031 to always fail with ENOSYS. Some functions are actually named
32032 something starting with __ and the normal name is an alias. */
32033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32036 char (*f) () = $ac_func;
32045 return f != $ac_func;
32050 rm -f conftest.
$ac_objext conftest
$ac_exeext
32051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32052 (eval $ac_link) 2>conftest.er1
32054 grep -v '^ *+' conftest.er1
>conftest.err
32056 cat conftest.err
>&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try
='test -z "$ac_c_werror_flag"
32060 || test ! -s conftest.err'
32061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32062 (eval $ac_try) 2>&5
32064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32065 (exit $ac_status); }; } &&
32066 { ac_try
='test -s conftest$ac_exeext'
32067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32068 (eval $ac_try) 2>&5
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); }; }; then
32072 eval "$as_ac_var=yes"
32074 echo "$as_me: failed program was:" >&5
32075 sed 's/^/| /' conftest.
$ac_ext >&5
32077 eval "$as_ac_var=no"
32079 rm -f conftest.err conftest.
$ac_objext \
32080 conftest
$ac_exeext conftest.
$ac_ext
32082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32084 if test `eval echo '${'$as_ac_var'}'` = yes; then
32085 cat >>confdefs.h
<<_ACEOF
32086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32093 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32094 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32095 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32096 wxUSE_SNGLINST_CHECKER
=no
32101 for ac_func
in timegm
32103 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32104 echo "$as_me:$LINENO: checking for $ac_func" >&5
32105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32106 if eval "test \"\${$as_ac_var+set}\" = set"; then
32107 echo $ECHO_N "(cached) $ECHO_C" >&6
32109 cat >conftest.
$ac_ext <<_ACEOF
32112 cat confdefs.h
>>conftest.
$ac_ext
32113 cat >>conftest.
$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32117 #define $ac_func innocuous_$ac_func
32119 /* System header to define __stub macros and hopefully few prototypes,
32120 which can conflict with char $ac_func (); below.
32121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32122 <limits.h> exists even on freestanding compilers. */
32125 # include <limits.h>
32127 # include <assert.h>
32132 /* Override any gcc2 internal prototype to avoid an error. */
32137 /* We use char because int might match the return type of a gcc2
32138 builtin and then its argument prototype would still apply. */
32140 /* The GNU C library defines this for functions which it implements
32141 to always fail with ENOSYS. Some functions are actually named
32142 something starting with __ and the normal name is an alias. */
32143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32146 char (*f) () = $ac_func;
32155 return f != $ac_func;
32160 rm -f conftest.
$ac_objext conftest
$ac_exeext
32161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32162 (eval $ac_link) 2>conftest.er1
32164 grep -v '^ *+' conftest.er1
>conftest.err
32166 cat conftest.err
>&5
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); } &&
32169 { ac_try
='test -z "$ac_c_werror_flag"
32170 || test ! -s conftest.err'
32171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32172 (eval $ac_try) 2>&5
32174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32175 (exit $ac_status); }; } &&
32176 { ac_try
='test -s conftest$ac_exeext'
32177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32178 (eval $ac_try) 2>&5
32180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32181 (exit $ac_status); }; }; then
32182 eval "$as_ac_var=yes"
32184 echo "$as_me: failed program was:" >&5
32185 sed 's/^/| /' conftest.
$ac_ext >&5
32187 eval "$as_ac_var=no"
32189 rm -f conftest.err conftest.
$ac_objext \
32190 conftest
$ac_exeext conftest.
$ac_ext
32192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32194 if test `eval echo '${'$as_ac_var'}'` = yes; then
32195 cat >>confdefs.h
<<_ACEOF
32196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32205 for ac_func
in putenv setenv
32207 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32208 echo "$as_me:$LINENO: checking for $ac_func" >&5
32209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32210 if eval "test \"\${$as_ac_var+set}\" = set"; then
32211 echo $ECHO_N "(cached) $ECHO_C" >&6
32213 cat >conftest.
$ac_ext <<_ACEOF
32216 cat confdefs.h
>>conftest.
$ac_ext
32217 cat >>conftest.
$ac_ext <<_ACEOF
32218 /* end confdefs.h. */
32219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32221 #define $ac_func innocuous_$ac_func
32223 /* System header to define __stub macros and hopefully few prototypes,
32224 which can conflict with char $ac_func (); below.
32225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32226 <limits.h> exists even on freestanding compilers. */
32229 # include <limits.h>
32231 # include <assert.h>
32236 /* Override any gcc2 internal prototype to avoid an error. */
32241 /* We use char because int might match the return type of a gcc2
32242 builtin and then its argument prototype would still apply. */
32244 /* The GNU C library defines this for functions which it implements
32245 to always fail with ENOSYS. Some functions are actually named
32246 something starting with __ and the normal name is an alias. */
32247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32250 char (*f) () = $ac_func;
32259 return f != $ac_func;
32264 rm -f conftest.
$ac_objext conftest
$ac_exeext
32265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32266 (eval $ac_link) 2>conftest.er1
32268 grep -v '^ *+' conftest.er1
>conftest.err
32270 cat conftest.err
>&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); } &&
32273 { ac_try
='test -z "$ac_c_werror_flag"
32274 || test ! -s conftest.err'
32275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32276 (eval $ac_try) 2>&5
32278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32279 (exit $ac_status); }; } &&
32280 { ac_try
='test -s conftest$ac_exeext'
32281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32282 (eval $ac_try) 2>&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); }; }; then
32286 eval "$as_ac_var=yes"
32288 echo "$as_me: failed program was:" >&5
32289 sed 's/^/| /' conftest.
$ac_ext >&5
32291 eval "$as_ac_var=no"
32293 rm -f conftest.err conftest.
$ac_objext \
32294 conftest
$ac_exeext conftest.
$ac_ext
32296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32298 if test `eval echo '${'$as_ac_var'}'` = yes; then
32299 cat >>confdefs.h
<<_ACEOF
32300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32307 HAVE_SOME_SLEEP_FUNC
=0
32308 if test "$USE_BEOS" = 1; then
32309 cat >>confdefs.h
<<\_ACEOF
32310 #define HAVE_SLEEP 1
32313 HAVE_SOME_SLEEP_FUNC
=1
32316 if test "$USE_DARWIN" = 1; then
32317 cat >>confdefs.h
<<\_ACEOF
32318 #define HAVE_USLEEP 1
32321 HAVE_SOME_SLEEP_FUNC
=1
32324 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32327 for ac_func
in nanosleep
32329 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32330 echo "$as_me:$LINENO: checking for $ac_func" >&5
32331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32332 if eval "test \"\${$as_ac_var+set}\" = set"; then
32333 echo $ECHO_N "(cached) $ECHO_C" >&6
32335 cat >conftest.
$ac_ext <<_ACEOF
32338 cat confdefs.h
>>conftest.
$ac_ext
32339 cat >>conftest.
$ac_ext <<_ACEOF
32340 /* end confdefs.h. */
32341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32343 #define $ac_func innocuous_$ac_func
32345 /* System header to define __stub macros and hopefully few prototypes,
32346 which can conflict with char $ac_func (); below.
32347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32348 <limits.h> exists even on freestanding compilers. */
32351 # include <limits.h>
32353 # include <assert.h>
32358 /* Override any gcc2 internal prototype to avoid an error. */
32363 /* We use char because int might match the return type of a gcc2
32364 builtin and then its argument prototype would still apply. */
32366 /* The GNU C library defines this for functions which it implements
32367 to always fail with ENOSYS. Some functions are actually named
32368 something starting with __ and the normal name is an alias. */
32369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32372 char (*f) () = $ac_func;
32381 return f != $ac_func;
32386 rm -f conftest.
$ac_objext conftest
$ac_exeext
32387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32388 (eval $ac_link) 2>conftest.er1
32390 grep -v '^ *+' conftest.er1
>conftest.err
32392 cat conftest.err
>&5
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); } &&
32395 { ac_try
='test -z "$ac_c_werror_flag"
32396 || test ! -s conftest.err'
32397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32398 (eval $ac_try) 2>&5
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); }; } &&
32402 { ac_try
='test -s conftest$ac_exeext'
32403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32404 (eval $ac_try) 2>&5
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); }; }; then
32408 eval "$as_ac_var=yes"
32410 echo "$as_me: failed program was:" >&5
32411 sed 's/^/| /' conftest.
$ac_ext >&5
32413 eval "$as_ac_var=no"
32415 rm -f conftest.err conftest.
$ac_objext \
32416 conftest
$ac_exeext conftest.
$ac_ext
32418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32420 if test `eval echo '${'$as_ac_var'}'` = yes; then
32421 cat >>confdefs.h
<<_ACEOF
32422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32424 cat >>confdefs.h
<<\_ACEOF
32425 #define HAVE_NANOSLEEP 1
32430 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32431 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32432 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32433 echo $ECHO_N "(cached) $ECHO_C" >&6
32435 ac_check_lib_save_LIBS
=$LIBS
32436 LIBS
="-lposix4 $LIBS"
32437 cat >conftest.
$ac_ext <<_ACEOF
32440 cat confdefs.h
>>conftest.
$ac_ext
32441 cat >>conftest.
$ac_ext <<_ACEOF
32442 /* end confdefs.h. */
32444 /* Override any gcc2 internal prototype to avoid an error. */
32448 /* We use char because int might match the return type of a gcc2
32449 builtin and then its argument prototype would still apply. */
32459 rm -f conftest.
$ac_objext conftest
$ac_exeext
32460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32461 (eval $ac_link) 2>conftest.er1
32463 grep -v '^ *+' conftest.er1
>conftest.err
32465 cat conftest.err
>&5
32466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32467 (exit $ac_status); } &&
32468 { ac_try
='test -z "$ac_c_werror_flag"
32469 || test ! -s conftest.err'
32470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32471 (eval $ac_try) 2>&5
32473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32474 (exit $ac_status); }; } &&
32475 { ac_try
='test -s conftest$ac_exeext'
32476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32477 (eval $ac_try) 2>&5
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); }; }; then
32481 ac_cv_lib_posix4_nanosleep
=yes
32483 echo "$as_me: failed program was:" >&5
32484 sed 's/^/| /' conftest.
$ac_ext >&5
32486 ac_cv_lib_posix4_nanosleep
=no
32488 rm -f conftest.err conftest.
$ac_objext \
32489 conftest
$ac_exeext conftest.
$ac_ext
32490 LIBS
=$ac_check_lib_save_LIBS
32492 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32493 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32494 if test $ac_cv_lib_posix4_nanosleep = yes; then
32496 cat >>confdefs.h
<<\_ACEOF
32497 #define HAVE_NANOSLEEP 1
32500 POSIX4_LINK
=" -lposix4"
32505 for ac_func
in usleep
32507 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32508 echo "$as_me:$LINENO: checking for $ac_func" >&5
32509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32510 if eval "test \"\${$as_ac_var+set}\" = set"; then
32511 echo $ECHO_N "(cached) $ECHO_C" >&6
32513 cat >conftest.
$ac_ext <<_ACEOF
32516 cat confdefs.h
>>conftest.
$ac_ext
32517 cat >>conftest.
$ac_ext <<_ACEOF
32518 /* end confdefs.h. */
32519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32521 #define $ac_func innocuous_$ac_func
32523 /* System header to define __stub macros and hopefully few prototypes,
32524 which can conflict with char $ac_func (); below.
32525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32526 <limits.h> exists even on freestanding compilers. */
32529 # include <limits.h>
32531 # include <assert.h>
32536 /* Override any gcc2 internal prototype to avoid an error. */
32541 /* We use char because int might match the return type of a gcc2
32542 builtin and then its argument prototype would still apply. */
32544 /* The GNU C library defines this for functions which it implements
32545 to always fail with ENOSYS. Some functions are actually named
32546 something starting with __ and the normal name is an alias. */
32547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32550 char (*f) () = $ac_func;
32559 return f != $ac_func;
32564 rm -f conftest.
$ac_objext conftest
$ac_exeext
32565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32566 (eval $ac_link) 2>conftest.er1
32568 grep -v '^ *+' conftest.er1
>conftest.err
32570 cat conftest.err
>&5
32571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572 (exit $ac_status); } &&
32573 { ac_try
='test -z "$ac_c_werror_flag"
32574 || test ! -s conftest.err'
32575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32576 (eval $ac_try) 2>&5
32578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32579 (exit $ac_status); }; } &&
32580 { ac_try
='test -s conftest$ac_exeext'
32581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32582 (eval $ac_try) 2>&5
32584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32585 (exit $ac_status); }; }; then
32586 eval "$as_ac_var=yes"
32588 echo "$as_me: failed program was:" >&5
32589 sed 's/^/| /' conftest.
$ac_ext >&5
32591 eval "$as_ac_var=no"
32593 rm -f conftest.err conftest.
$ac_objext \
32594 conftest
$ac_exeext conftest.
$ac_ext
32596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32598 if test `eval echo '${'$as_ac_var'}'` = yes; then
32599 cat >>confdefs.h
<<_ACEOF
32600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32602 cat >>confdefs.h
<<\_ACEOF
32603 #define HAVE_USLEEP 1
32607 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32608 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32626 for ac_func
in uname gethostname
32628 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32629 echo "$as_me:$LINENO: checking for $ac_func" >&5
32630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32631 if eval "test \"\${$as_ac_var+set}\" = set"; then
32632 echo $ECHO_N "(cached) $ECHO_C" >&6
32634 cat >conftest.
$ac_ext <<_ACEOF
32637 cat confdefs.h
>>conftest.
$ac_ext
32638 cat >>conftest.
$ac_ext <<_ACEOF
32639 /* end confdefs.h. */
32640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32642 #define $ac_func innocuous_$ac_func
32644 /* System header to define __stub macros and hopefully few prototypes,
32645 which can conflict with char $ac_func (); below.
32646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32647 <limits.h> exists even on freestanding compilers. */
32650 # include <limits.h>
32652 # include <assert.h>
32657 /* Override any gcc2 internal prototype to avoid an error. */
32662 /* We use char because int might match the return type of a gcc2
32663 builtin and then its argument prototype would still apply. */
32665 /* The GNU C library defines this for functions which it implements
32666 to always fail with ENOSYS. Some functions are actually named
32667 something starting with __ and the normal name is an alias. */
32668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32671 char (*f) () = $ac_func;
32680 return f != $ac_func;
32685 rm -f conftest.
$ac_objext conftest
$ac_exeext
32686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32687 (eval $ac_link) 2>conftest.er1
32689 grep -v '^ *+' conftest.er1
>conftest.err
32691 cat conftest.err
>&5
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); } &&
32694 { ac_try
='test -z "$ac_c_werror_flag"
32695 || test ! -s conftest.err'
32696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32697 (eval $ac_try) 2>&5
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); }; } &&
32701 { ac_try
='test -s conftest$ac_exeext'
32702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32703 (eval $ac_try) 2>&5
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); }; }; then
32707 eval "$as_ac_var=yes"
32709 echo "$as_me: failed program was:" >&5
32710 sed 's/^/| /' conftest.
$ac_ext >&5
32712 eval "$as_ac_var=no"
32714 rm -f conftest.err conftest.
$ac_objext \
32715 conftest
$ac_exeext conftest.
$ac_ext
32717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32719 if test `eval echo '${'$as_ac_var'}'` = yes; then
32720 cat >>confdefs.h
<<_ACEOF
32721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32731 ac_cpp
='$CXXCPP $CPPFLAGS'
32732 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32733 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32734 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32738 for ac_func
in strtok_r
32740 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32741 echo "$as_me:$LINENO: checking for $ac_func" >&5
32742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32743 if eval "test \"\${$as_ac_var+set}\" = set"; then
32744 echo $ECHO_N "(cached) $ECHO_C" >&6
32746 cat >conftest.
$ac_ext <<_ACEOF
32749 cat confdefs.h
>>conftest.
$ac_ext
32750 cat >>conftest.
$ac_ext <<_ACEOF
32751 /* end confdefs.h. */
32752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32754 #define $ac_func innocuous_$ac_func
32756 /* System header to define __stub macros and hopefully few prototypes,
32757 which can conflict with char $ac_func (); below.
32758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32759 <limits.h> exists even on freestanding compilers. */
32762 # include <limits.h>
32764 # include <assert.h>
32769 /* Override any gcc2 internal prototype to avoid an error. */
32774 /* We use char because int might match the return type of a gcc2
32775 builtin and then its argument prototype would still apply. */
32777 /* The GNU C library defines this for functions which it implements
32778 to always fail with ENOSYS. Some functions are actually named
32779 something starting with __ and the normal name is an alias. */
32780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32783 char (*f) () = $ac_func;
32792 return f != $ac_func;
32797 rm -f conftest.
$ac_objext conftest
$ac_exeext
32798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32799 (eval $ac_link) 2>conftest.er1
32801 grep -v '^ *+' conftest.er1
>conftest.err
32803 cat conftest.err
>&5
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); } &&
32806 { ac_try
='test -z "$ac_cxx_werror_flag"
32807 || test ! -s conftest.err'
32808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32809 (eval $ac_try) 2>&5
32811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32812 (exit $ac_status); }; } &&
32813 { ac_try
='test -s conftest$ac_exeext'
32814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32815 (eval $ac_try) 2>&5
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); }; }; then
32819 eval "$as_ac_var=yes"
32821 echo "$as_me: failed program was:" >&5
32822 sed 's/^/| /' conftest.
$ac_ext >&5
32824 eval "$as_ac_var=no"
32826 rm -f conftest.err conftest.
$ac_objext \
32827 conftest
$ac_exeext conftest.
$ac_ext
32829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32831 if test `eval echo '${'$as_ac_var'}'` = yes; then
32832 cat >>confdefs.h
<<_ACEOF
32833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32841 ac_cpp
='$CPP $CPPFLAGS'
32842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32849 for ac_func
in inet_addr
32851 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32852 echo "$as_me:$LINENO: checking for $ac_func" >&5
32853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32854 if eval "test \"\${$as_ac_var+set}\" = set"; then
32855 echo $ECHO_N "(cached) $ECHO_C" >&6
32857 cat >conftest.
$ac_ext <<_ACEOF
32860 cat confdefs.h
>>conftest.
$ac_ext
32861 cat >>conftest.
$ac_ext <<_ACEOF
32862 /* end confdefs.h. */
32863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32865 #define $ac_func innocuous_$ac_func
32867 /* System header to define __stub macros and hopefully few prototypes,
32868 which can conflict with char $ac_func (); below.
32869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32870 <limits.h> exists even on freestanding compilers. */
32873 # include <limits.h>
32875 # include <assert.h>
32880 /* Override any gcc2 internal prototype to avoid an error. */
32885 /* We use char because int might match the return type of a gcc2
32886 builtin and then its argument prototype would still apply. */
32888 /* The GNU C library defines this for functions which it implements
32889 to always fail with ENOSYS. Some functions are actually named
32890 something starting with __ and the normal name is an alias. */
32891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32894 char (*f) () = $ac_func;
32903 return f != $ac_func;
32908 rm -f conftest.
$ac_objext conftest
$ac_exeext
32909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32910 (eval $ac_link) 2>conftest.er1
32912 grep -v '^ *+' conftest.er1
>conftest.err
32914 cat conftest.err
>&5
32915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916 (exit $ac_status); } &&
32917 { ac_try
='test -z "$ac_c_werror_flag"
32918 || test ! -s conftest.err'
32919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32920 (eval $ac_try) 2>&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); }; } &&
32924 { ac_try
='test -s conftest$ac_exeext'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; }; then
32930 eval "$as_ac_var=yes"
32932 echo "$as_me: failed program was:" >&5
32933 sed 's/^/| /' conftest.
$ac_ext >&5
32935 eval "$as_ac_var=no"
32937 rm -f conftest.err conftest.
$ac_objext \
32938 conftest
$ac_exeext conftest.
$ac_ext
32940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32942 if test `eval echo '${'$as_ac_var'}'` = yes; then
32943 cat >>confdefs.h
<<_ACEOF
32944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32946 cat >>confdefs.h
<<\_ACEOF
32947 #define HAVE_INET_ADDR 1
32952 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32953 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32954 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32955 echo $ECHO_N "(cached) $ECHO_C" >&6
32957 ac_check_lib_save_LIBS
=$LIBS
32959 cat >conftest.
$ac_ext <<_ACEOF
32962 cat confdefs.h
>>conftest.
$ac_ext
32963 cat >>conftest.
$ac_ext <<_ACEOF
32964 /* end confdefs.h. */
32966 /* Override any gcc2 internal prototype to avoid an error. */
32970 /* We use char because int might match the return type of a gcc2
32971 builtin and then its argument prototype would still apply. */
32981 rm -f conftest.
$ac_objext conftest
$ac_exeext
32982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32983 (eval $ac_link) 2>conftest.er1
32985 grep -v '^ *+' conftest.er1
>conftest.err
32987 cat conftest.err
>&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); } &&
32990 { ac_try
='test -z "$ac_c_werror_flag"
32991 || test ! -s conftest.err'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; } &&
32997 { ac_try
='test -s conftest$ac_exeext'
32998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32999 (eval $ac_try) 2>&5
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); }; }; then
33003 ac_cv_lib_nsl_inet_addr
=yes
33005 echo "$as_me: failed program was:" >&5
33006 sed 's/^/| /' conftest.
$ac_ext >&5
33008 ac_cv_lib_nsl_inet_addr
=no
33010 rm -f conftest.err conftest.
$ac_objext \
33011 conftest
$ac_exeext conftest.
$ac_ext
33012 LIBS
=$ac_check_lib_save_LIBS
33014 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33015 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33016 if test $ac_cv_lib_nsl_inet_addr = yes; then
33020 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33021 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33022 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33023 echo $ECHO_N "(cached) $ECHO_C" >&6
33025 ac_check_lib_save_LIBS
=$LIBS
33026 LIBS
="-lresolv $LIBS"
33027 cat >conftest.
$ac_ext <<_ACEOF
33030 cat confdefs.h
>>conftest.
$ac_ext
33031 cat >>conftest.
$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33034 /* Override any gcc2 internal prototype to avoid an error. */
33038 /* We use char because int might match the return type of a gcc2
33039 builtin and then its argument prototype would still apply. */
33049 rm -f conftest.
$ac_objext conftest
$ac_exeext
33050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33051 (eval $ac_link) 2>conftest.er1
33053 grep -v '^ *+' conftest.er1
>conftest.err
33055 cat conftest.err
>&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); } &&
33058 { ac_try
='test -z "$ac_c_werror_flag"
33059 || test ! -s conftest.err'
33060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33061 (eval $ac_try) 2>&5
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); }; } &&
33065 { ac_try
='test -s conftest$ac_exeext'
33066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33067 (eval $ac_try) 2>&5
33069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33070 (exit $ac_status); }; }; then
33071 ac_cv_lib_resolv_inet_addr
=yes
33073 echo "$as_me: failed program was:" >&5
33074 sed 's/^/| /' conftest.
$ac_ext >&5
33076 ac_cv_lib_resolv_inet_addr
=no
33078 rm -f conftest.err conftest.
$ac_objext \
33079 conftest
$ac_exeext conftest.
$ac_ext
33080 LIBS
=$ac_check_lib_save_LIBS
33082 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33083 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33084 if test $ac_cv_lib_resolv_inet_addr = yes; then
33088 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33089 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33090 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33091 echo $ECHO_N "(cached) $ECHO_C" >&6
33093 ac_check_lib_save_LIBS
=$LIBS
33094 LIBS
="-lsocket $LIBS"
33095 cat >conftest.
$ac_ext <<_ACEOF
33098 cat confdefs.h
>>conftest.
$ac_ext
33099 cat >>conftest.
$ac_ext <<_ACEOF
33100 /* end confdefs.h. */
33102 /* Override any gcc2 internal prototype to avoid an error. */
33106 /* We use char because int might match the return type of a gcc2
33107 builtin and then its argument prototype would still apply. */
33117 rm -f conftest.
$ac_objext conftest
$ac_exeext
33118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33119 (eval $ac_link) 2>conftest.er1
33121 grep -v '^ *+' conftest.er1
>conftest.err
33123 cat conftest.err
>&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); } &&
33126 { ac_try
='test -z "$ac_c_werror_flag"
33127 || test ! -s conftest.err'
33128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33129 (eval $ac_try) 2>&5
33131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); }; } &&
33133 { ac_try
='test -s conftest$ac_exeext'
33134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33135 (eval $ac_try) 2>&5
33137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33138 (exit $ac_status); }; }; then
33139 ac_cv_lib_socket_inet_addr
=yes
33141 echo "$as_me: failed program was:" >&5
33142 sed 's/^/| /' conftest.
$ac_ext >&5
33144 ac_cv_lib_socket_inet_addr
=no
33146 rm -f conftest.err conftest.
$ac_objext \
33147 conftest
$ac_exeext conftest.
$ac_ext
33148 LIBS
=$ac_check_lib_save_LIBS
33150 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33151 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33152 if test $ac_cv_lib_socket_inet_addr = yes; then
33172 for ac_func
in inet_aton
33174 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33175 echo "$as_me:$LINENO: checking for $ac_func" >&5
33176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33177 if eval "test \"\${$as_ac_var+set}\" = set"; then
33178 echo $ECHO_N "(cached) $ECHO_C" >&6
33180 cat >conftest.
$ac_ext <<_ACEOF
33183 cat confdefs.h
>>conftest.
$ac_ext
33184 cat >>conftest.
$ac_ext <<_ACEOF
33185 /* end confdefs.h. */
33186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33188 #define $ac_func innocuous_$ac_func
33190 /* System header to define __stub macros and hopefully few prototypes,
33191 which can conflict with char $ac_func (); below.
33192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33193 <limits.h> exists even on freestanding compilers. */
33196 # include <limits.h>
33198 # include <assert.h>
33203 /* Override any gcc2 internal prototype to avoid an error. */
33208 /* We use char because int might match the return type of a gcc2
33209 builtin and then its argument prototype would still apply. */
33211 /* The GNU C library defines this for functions which it implements
33212 to always fail with ENOSYS. Some functions are actually named
33213 something starting with __ and the normal name is an alias. */
33214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33217 char (*f) () = $ac_func;
33226 return f != $ac_func;
33231 rm -f conftest.
$ac_objext conftest
$ac_exeext
33232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33233 (eval $ac_link) 2>conftest.er1
33235 grep -v '^ *+' conftest.er1
>conftest.err
33237 cat conftest.err
>&5
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); } &&
33240 { ac_try
='test -z "$ac_c_werror_flag"
33241 || test ! -s conftest.err'
33242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33243 (eval $ac_try) 2>&5
33245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33246 (exit $ac_status); }; } &&
33247 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
33253 eval "$as_ac_var=yes"
33255 echo "$as_me: failed program was:" >&5
33256 sed 's/^/| /' conftest.
$ac_ext >&5
33258 eval "$as_ac_var=no"
33260 rm -f conftest.err conftest.
$ac_objext \
33261 conftest
$ac_exeext conftest.
$ac_ext
33263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33265 if test `eval echo '${'$as_ac_var'}'` = yes; then
33266 cat >>confdefs.h
<<_ACEOF
33267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33269 cat >>confdefs.h
<<\_ACEOF
33270 #define HAVE_INET_ATON 1
33275 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33276 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33277 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33278 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33279 echo $ECHO_N "(cached) $ECHO_C" >&6
33281 ac_check_lib_save_LIBS
=$LIBS
33282 LIBS
="-l$INET_LINK $LIBS"
33283 cat >conftest.
$ac_ext <<_ACEOF
33286 cat confdefs.h
>>conftest.
$ac_ext
33287 cat >>conftest.
$ac_ext <<_ACEOF
33288 /* end confdefs.h. */
33290 /* Override any gcc2 internal prototype to avoid an error. */
33294 /* We use char because int might match the return type of a gcc2
33295 builtin and then its argument prototype would still apply. */
33305 rm -f conftest.
$ac_objext conftest
$ac_exeext
33306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33307 (eval $ac_link) 2>conftest.er1
33309 grep -v '^ *+' conftest.er1
>conftest.err
33311 cat conftest.err
>&5
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); } &&
33314 { ac_try
='test -z "$ac_c_werror_flag"
33315 || test ! -s conftest.err'
33316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33317 (eval $ac_try) 2>&5
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); }; } &&
33321 { ac_try
='test -s conftest$ac_exeext'
33322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33323 (eval $ac_try) 2>&5
33325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326 (exit $ac_status); }; }; then
33327 eval "$as_ac_Lib=yes"
33329 echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.
$ac_ext >&5
33332 eval "$as_ac_Lib=no"
33334 rm -f conftest.err conftest.
$ac_objext \
33335 conftest
$ac_exeext conftest.
$ac_ext
33336 LIBS
=$ac_check_lib_save_LIBS
33338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33339 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33340 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33341 cat >>confdefs.h
<<\_ACEOF
33342 #define HAVE_INET_ATON 1
33352 if test "x$INET_LINK" != "x"; then
33353 cat >>confdefs.h
<<\_ACEOF
33354 #define HAVE_INET_ADDR 1
33357 INET_LINK
=" -l$INET_LINK"
33365 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33366 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33367 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33368 echo $ECHO_N "(cached) $ECHO_C" >&6
33370 ac_check_lib_save_LIBS
=$LIBS
33372 cat >conftest.
$ac_ext <<_ACEOF
33375 cat confdefs.h
>>conftest.
$ac_ext
33376 cat >>conftest.
$ac_ext <<_ACEOF
33377 /* end confdefs.h. */
33379 /* Override any gcc2 internal prototype to avoid an error. */
33383 /* We use char because int might match the return type of a gcc2
33384 builtin and then its argument prototype would still apply. */
33394 rm -f conftest.
$ac_objext conftest
$ac_exeext
33395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33396 (eval $ac_link) 2>conftest.er1
33398 grep -v '^ *+' conftest.er1
>conftest.err
33400 cat conftest.err
>&5
33401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33402 (exit $ac_status); } &&
33403 { ac_try
='test -z "$ac_c_werror_flag"
33404 || test ! -s conftest.err'
33405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33406 (eval $ac_try) 2>&5
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); }; } &&
33410 { ac_try
='test -s conftest$ac_exeext'
33411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33412 (eval $ac_try) 2>&5
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); }; }; then
33416 ac_cv_lib_esd_esd_close
=yes
33418 echo "$as_me: failed program was:" >&5
33419 sed 's/^/| /' conftest.
$ac_ext >&5
33421 ac_cv_lib_esd_esd_close
=no
33423 rm -f conftest.err conftest.
$ac_objext \
33424 conftest
$ac_exeext conftest.
$ac_ext
33425 LIBS
=$ac_check_lib_save_LIBS
33427 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33428 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33429 if test $ac_cv_lib_esd_esd_close = yes; then
33432 for ac_header
in esd.h
33434 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33436 echo "$as_me:$LINENO: checking for $ac_header" >&5
33437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33439 echo $ECHO_N "(cached) $ECHO_C" >&6
33441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33444 # Is the header compilable?
33445 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33447 cat >conftest.
$ac_ext <<_ACEOF
33450 cat confdefs.h
>>conftest.
$ac_ext
33451 cat >>conftest.
$ac_ext <<_ACEOF
33452 /* end confdefs.h. */
33453 $ac_includes_default
33454 #include <$ac_header>
33456 rm -f conftest.
$ac_objext
33457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33458 (eval $ac_compile) 2>conftest.er1
33460 grep -v '^ *+' conftest.er1
>conftest.err
33462 cat conftest.err
>&5
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); } &&
33465 { ac_try
='test -z "$ac_c_werror_flag"
33466 || test ! -s conftest.err'
33467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33468 (eval $ac_try) 2>&5
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); }; } &&
33472 { ac_try
='test -s conftest.$ac_objext'
33473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33474 (eval $ac_try) 2>&5
33476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477 (exit $ac_status); }; }; then
33478 ac_header_compiler
=yes
33480 echo "$as_me: failed program was:" >&5
33481 sed 's/^/| /' conftest.
$ac_ext >&5
33483 ac_header_compiler
=no
33485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33487 echo "${ECHO_T}$ac_header_compiler" >&6
33489 # Is the header present?
33490 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33492 cat >conftest.
$ac_ext <<_ACEOF
33495 cat confdefs.h
>>conftest.
$ac_ext
33496 cat >>conftest.
$ac_ext <<_ACEOF
33497 /* end confdefs.h. */
33498 #include <$ac_header>
33500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33503 grep -v '^ *+' conftest.er1
>conftest.err
33505 cat conftest.err
>&5
33506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33507 (exit $ac_status); } >/dev
/null
; then
33508 if test -s conftest.err
; then
33509 ac_cpp_err
=$ac_c_preproc_warn_flag
33510 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33517 if test -z "$ac_cpp_err"; then
33518 ac_header_preproc
=yes
33520 echo "$as_me: failed program was:" >&5
33521 sed 's/^/| /' conftest.
$ac_ext >&5
33523 ac_header_preproc
=no
33525 rm -f conftest.err conftest.
$ac_ext
33526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33527 echo "${ECHO_T}$ac_header_preproc" >&6
33529 # So? What about this header?
33530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33533 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33535 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33536 ac_header_preproc
=yes
33539 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33540 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33541 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33542 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33543 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33544 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33545 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33546 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33548 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33549 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33550 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33553 ## ----------------------------------------- ##
33554 ## Report this to wx-dev@lists.wxwidgets.org ##
33555 ## ----------------------------------------- ##
33558 sed "s/^/$as_me: WARNING: /" >&2
33561 echo "$as_me:$LINENO: checking for $ac_header" >&5
33562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33564 echo $ECHO_N "(cached) $ECHO_C" >&6
33566 eval "$as_ac_Header=\$ac_header_preproc"
33568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33573 cat >>confdefs.h
<<_ACEOF
33574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33577 EXTRALIBS_ESD
="-lesd"
33588 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33589 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33590 cat >conftest.
$ac_ext <<_ACEOF
33593 cat confdefs.h
>>conftest.
$ac_ext
33594 cat >>conftest.
$ac_ext <<_ACEOF
33595 /* end confdefs.h. */
33597 #include <linux/cdrom.h>
33600 #include <sys/cdio.h>
33606 struct cdrom_tocentry entry, old_entry;
33611 rm -f conftest.
$ac_objext
33612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33613 (eval $ac_compile) 2>conftest.er1
33615 grep -v '^ *+' conftest.er1
>conftest.err
33617 cat conftest.err
>&5
33618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33619 (exit $ac_status); } &&
33620 { ac_try
='test -z "$ac_c_werror_flag"
33621 || test ! -s conftest.err'
33622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33623 (eval $ac_try) 2>&5
33625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33626 (exit $ac_status); }; } &&
33627 { ac_try
='test -s conftest.$ac_objext'
33628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33629 (eval $ac_try) 2>&5
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); }; }; then
33633 echo "$as_me:$LINENO: result: yes" >&5
33634 echo "${ECHO_T}yes" >&6
33635 cat >>confdefs.h
<<\_ACEOF
33636 #define HAVE_KNOWN_CDROM_INTERFACE 1
33640 echo "$as_me: failed program was:" >&5
33641 sed 's/^/| /' conftest.
$ac_ext >&5
33643 echo "$as_me:$LINENO: result: no" >&5
33644 echo "${ECHO_T}no" >&6
33646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33649 cat >confcache
<<\_ACEOF
33650 # This file is a shell script that caches the results of configure
33651 # tests run on this system so they can be shared between configure
33652 # scripts and configure runs, see configure's option --config-cache.
33653 # It is not useful on other systems. If it contains results you don't
33654 # want to keep, you may remove or edit it.
33656 # config.status only pays attention to the cache file if you give it
33657 # the --recheck option to rerun configure.
33659 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33660 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33661 # following values.
33665 # The following way of writing the cache mishandles newlines in values,
33666 # but we know of no workaround that is simple, portable, and efficient.
33667 # So, don't put newlines in cache variables' values.
33668 # Ultrix sh set writes to stderr and can't be redirected directly,
33669 # and sets the high bit in the cache file unless we assign to the vars.
33672 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33674 # `set' does not quote correctly, so add quotes (double-quote
33675 # substitution turns \\\\ into \\, and sed turns \\ into \).
33678 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33681 # `set' quotes correctly as required by POSIX, so do not add quotes.
33683 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33690 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33692 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33694 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
33695 if test -w $cache_file; then
33696 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33697 cat confcache
>$cache_file
33699 echo "not updating unwritable cache $cache_file"
33706 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33712 if test "$wxUSE_THREADS" = "yes" ; then
33713 if test "$USE_BEOS" = 1; then
33714 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33715 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33720 if test "$wxUSE_THREADS" = "yes" ; then
33723 THREAD_OPTS
="-pthread"
33725 *-*-solaris2* | *-*-sunos4* )
33726 if test "x$GCC" = "xyes"; then
33727 THREAD_OPTS
="-pthreads $THREAD_OPTS"
33729 THREAD_OPTS
="-mt $THREAD_OPTS"
33733 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
33735 *-*-darwin* | *-*-cygwin* )
33739 THREAD_OPTS
="pthreads"
33742 if test "x$GCC" != "xyes"; then
33748 if test "x$GCC" = "xyes"; then
33754 if test "x$GCC" != "xyes"; then
33755 THREAD_OPTS
="-Ethread"
33760 THREAD_OPTS
="$THREAD_OPTS pthread none"
33763 for flag
in $THREAD_OPTS; do
33766 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33767 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33771 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33772 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33773 THREADS_CFLAGS
="$flag"
33777 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33778 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33779 THREADS_LINK
="-l$flag"
33784 save_CFLAGS
="$CFLAGS"
33785 LIBS
="$THREADS_LINK $LIBS"
33786 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
33788 cat >conftest.
$ac_ext <<_ACEOF
33791 cat confdefs.h
>>conftest.
$ac_ext
33792 cat >>conftest.
$ac_ext <<_ACEOF
33793 /* end confdefs.h. */
33794 #include <pthread.h>
33798 pthread_create(0,0,0,0);
33803 rm -f conftest.
$ac_objext conftest
$ac_exeext
33804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33805 (eval $ac_link) 2>conftest.er1
33807 grep -v '^ *+' conftest.er1
>conftest.err
33809 cat conftest.err
>&5
33810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 (exit $ac_status); } &&
33812 { ac_try
='test -z "$ac_c_werror_flag"
33813 || test ! -s conftest.err'
33814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33815 (eval $ac_try) 2>&5
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); }; } &&
33819 { ac_try
='test -s conftest$ac_exeext'
33820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33821 (eval $ac_try) 2>&5
33823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33824 (exit $ac_status); }; }; then
33827 echo "$as_me: failed program was:" >&5
33828 sed 's/^/| /' conftest.
$ac_ext >&5
33831 rm -f conftest.err conftest.
$ac_objext \
33832 conftest
$ac_exeext conftest.
$ac_ext
33835 CFLAGS
="$save_CFLAGS"
33837 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33838 echo "${ECHO_T}$THREADS_OK" >&6
33839 if test "x$THREADS_OK" = "xyes"; then
33847 if test "x$THREADS_OK" != "xyes"; then
33849 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33850 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33852 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
33853 LIBS
="$THREADS_LINK $LIBS"
33855 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33856 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33860 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
33861 flag
="-D_THREAD_SAFE"
33864 flag
="-D_THREAD_SAFE"
33867 flag
="-D_REENTRANT"
33868 if test "x$GCC" != "xyes"; then
33869 flag
="$flag -D_RWSTD_MULTI_THREAD"
33872 *solaris
* | alpha
*-osf*)
33873 flag
="-D_REENTRANT"
33876 echo "$as_me:$LINENO: result: ${flag}" >&5
33877 echo "${ECHO_T}${flag}" >&6
33878 if test "x$flag" != xno
; then
33879 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
33882 if test "x$THREADS_CFLAGS" != "x"; then
33883 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
33884 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
33889 if test "$wxUSE_THREADS" = "yes" ; then
33891 for ac_func
in thr_setconcurrency
33893 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33894 echo "$as_me:$LINENO: checking for $ac_func" >&5
33895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33896 if eval "test \"\${$as_ac_var+set}\" = set"; then
33897 echo $ECHO_N "(cached) $ECHO_C" >&6
33899 cat >conftest.
$ac_ext <<_ACEOF
33902 cat confdefs.h
>>conftest.
$ac_ext
33903 cat >>conftest.
$ac_ext <<_ACEOF
33904 /* end confdefs.h. */
33905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33907 #define $ac_func innocuous_$ac_func
33909 /* System header to define __stub macros and hopefully few prototypes,
33910 which can conflict with char $ac_func (); below.
33911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33912 <limits.h> exists even on freestanding compilers. */
33915 # include <limits.h>
33917 # include <assert.h>
33922 /* Override any gcc2 internal prototype to avoid an error. */
33927 /* We use char because int might match the return type of a gcc2
33928 builtin and then its argument prototype would still apply. */
33930 /* The GNU C library defines this for functions which it implements
33931 to always fail with ENOSYS. Some functions are actually named
33932 something starting with __ and the normal name is an alias. */
33933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33936 char (*f) () = $ac_func;
33945 return f != $ac_func;
33950 rm -f conftest.
$ac_objext conftest
$ac_exeext
33951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33952 (eval $ac_link) 2>conftest.er1
33954 grep -v '^ *+' conftest.er1
>conftest.err
33956 cat conftest.err
>&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); } &&
33959 { ac_try
='test -z "$ac_c_werror_flag"
33960 || 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"
34028 || test ! -s conftest.err'
34029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34030 (eval $ac_try) 2>&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); }; } &&
34034 { ac_try
='test -s conftest.$ac_objext'
34035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34036 (eval $ac_try) 2>&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); }; }; then
34040 ac_header_compiler
=yes
34042 echo "$as_me: failed program was:" >&5
34043 sed 's/^/| /' conftest.
$ac_ext >&5
34045 ac_header_compiler
=no
34047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34048 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34049 echo "${ECHO_T}$ac_header_compiler" >&6
34051 # Is the header present?
34052 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34053 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34054 cat >conftest.
$ac_ext <<_ACEOF
34057 cat confdefs.h
>>conftest.
$ac_ext
34058 cat >>conftest.
$ac_ext <<_ACEOF
34059 /* end confdefs.h. */
34060 #include <$ac_header>
34062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34063 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34065 grep -v '^ *+' conftest.er1
>conftest.err
34067 cat conftest.err
>&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); } >/dev
/null
; then
34070 if test -s conftest.err
; then
34071 ac_cpp_err
=$ac_c_preproc_warn_flag
34072 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34079 if test -z "$ac_cpp_err"; then
34080 ac_header_preproc
=yes
34082 echo "$as_me: failed program was:" >&5
34083 sed 's/^/| /' conftest.
$ac_ext >&5
34085 ac_header_preproc
=no
34087 rm -f conftest.err conftest.
$ac_ext
34088 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34089 echo "${ECHO_T}$ac_header_preproc" >&6
34091 # So? What about this header?
34092 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34094 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34095 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34097 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34098 ac_header_preproc
=yes
34101 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34102 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34103 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34104 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34105 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34106 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34107 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34108 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34111 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34112 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34115 ## ----------------------------------------- ##
34116 ## Report this to wx-dev@lists.wxwidgets.org ##
34117 ## ----------------------------------------- ##
34120 sed "s/^/$as_me: WARNING: /" >&2
34123 echo "$as_me:$LINENO: checking for $ac_header" >&5
34124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34126 echo $ECHO_N "(cached) $ECHO_C" >&6
34128 eval "$as_ac_Header=\$ac_header_preproc"
34130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34135 cat >>confdefs.h
<<_ACEOF
34136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34143 if test "$ac_cv_header_sched_h" = "yes"; then
34144 echo "$as_me:$LINENO: checking for sched_yield" >&5
34145 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34146 if test "${ac_cv_func_sched_yield+set}" = set; then
34147 echo $ECHO_N "(cached) $ECHO_C" >&6
34149 cat >conftest.
$ac_ext <<_ACEOF
34152 cat confdefs.h
>>conftest.
$ac_ext
34153 cat >>conftest.
$ac_ext <<_ACEOF
34154 /* end confdefs.h. */
34155 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34157 #define sched_yield innocuous_sched_yield
34159 /* System header to define __stub macros and hopefully few prototypes,
34160 which can conflict with char sched_yield (); below.
34161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34162 <limits.h> exists even on freestanding compilers. */
34165 # include <limits.h>
34167 # include <assert.h>
34172 /* Override any gcc2 internal prototype to avoid an error. */
34177 /* We use char because int might match the return type of a gcc2
34178 builtin and then its argument prototype would still apply. */
34179 char sched_yield ();
34180 /* The GNU C library defines this for functions which it implements
34181 to always fail with ENOSYS. Some functions are actually named
34182 something starting with __ and the normal name is an alias. */
34183 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34186 char (*f) () = sched_yield;
34195 return f != sched_yield;
34200 rm -f conftest.
$ac_objext conftest
$ac_exeext
34201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34202 (eval $ac_link) 2>conftest.er1
34204 grep -v '^ *+' conftest.er1
>conftest.err
34206 cat conftest.err
>&5
34207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34208 (exit $ac_status); } &&
34209 { ac_try
='test -z "$ac_c_werror_flag"
34210 || test ! -s conftest.err'
34211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34212 (eval $ac_try) 2>&5
34214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34215 (exit $ac_status); }; } &&
34216 { ac_try
='test -s conftest$ac_exeext'
34217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34218 (eval $ac_try) 2>&5
34220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221 (exit $ac_status); }; }; then
34222 ac_cv_func_sched_yield
=yes
34224 echo "$as_me: failed program was:" >&5
34225 sed 's/^/| /' conftest.
$ac_ext >&5
34227 ac_cv_func_sched_yield
=no
34229 rm -f conftest.err conftest.
$ac_objext \
34230 conftest
$ac_exeext conftest.
$ac_ext
34232 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34233 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34234 if test $ac_cv_func_sched_yield = yes; then
34235 cat >>confdefs.h
<<\_ACEOF
34236 #define HAVE_SCHED_YIELD 1
34241 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34242 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34243 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34244 echo $ECHO_N "(cached) $ECHO_C" >&6
34246 ac_check_lib_save_LIBS
=$LIBS
34247 LIBS
="-lposix4 $LIBS"
34248 cat >conftest.
$ac_ext <<_ACEOF
34251 cat confdefs.h
>>conftest.
$ac_ext
34252 cat >>conftest.
$ac_ext <<_ACEOF
34253 /* end confdefs.h. */
34255 /* Override any gcc2 internal prototype to avoid an error. */
34259 /* We use char because int might match the return type of a gcc2
34260 builtin and then its argument prototype would still apply. */
34261 char sched_yield ();
34270 rm -f conftest.
$ac_objext conftest
$ac_exeext
34271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34272 (eval $ac_link) 2>conftest.er1
34274 grep -v '^ *+' conftest.er1
>conftest.err
34276 cat conftest.err
>&5
34277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278 (exit $ac_status); } &&
34279 { ac_try
='test -z "$ac_c_werror_flag"
34280 || test ! -s conftest.err'
34281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34282 (eval $ac_try) 2>&5
34284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285 (exit $ac_status); }; } &&
34286 { ac_try
='test -s conftest$ac_exeext'
34287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34288 (eval $ac_try) 2>&5
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); }; }; then
34292 ac_cv_lib_posix4_sched_yield
=yes
34294 echo "$as_me: failed program was:" >&5
34295 sed 's/^/| /' conftest.
$ac_ext >&5
34297 ac_cv_lib_posix4_sched_yield
=no
34299 rm -f conftest.err conftest.
$ac_objext \
34300 conftest
$ac_exeext conftest.
$ac_ext
34301 LIBS
=$ac_check_lib_save_LIBS
34303 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34304 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34305 if test $ac_cv_lib_posix4_sched_yield = yes; then
34306 cat >>confdefs.h
<<\_ACEOF
34307 #define HAVE_SCHED_YIELD 1
34309 POSIX4_LINK
=" -lposix4"
34311 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34312 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34323 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34324 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34325 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34326 echo $ECHO_N "(cached) $ECHO_C" >&6
34328 cat >conftest.
$ac_ext <<_ACEOF
34331 cat confdefs.h
>>conftest.
$ac_ext
34332 cat >>conftest.
$ac_ext <<_ACEOF
34333 /* end confdefs.h. */
34334 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34336 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34338 /* System header to define __stub macros and hopefully few prototypes,
34339 which can conflict with char pthread_attr_getschedpolicy (); below.
34340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34341 <limits.h> exists even on freestanding compilers. */
34344 # include <limits.h>
34346 # include <assert.h>
34349 #undef pthread_attr_getschedpolicy
34351 /* Override any gcc2 internal prototype to avoid an error. */
34356 /* We use char because int might match the return type of a gcc2
34357 builtin and then its argument prototype would still apply. */
34358 char pthread_attr_getschedpolicy ();
34359 /* The GNU C library defines this for functions which it implements
34360 to always fail with ENOSYS. Some functions are actually named
34361 something starting with __ and the normal name is an alias. */
34362 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34365 char (*f) () = pthread_attr_getschedpolicy;
34374 return f != pthread_attr_getschedpolicy;
34379 rm -f conftest.
$ac_objext conftest
$ac_exeext
34380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34381 (eval $ac_link) 2>conftest.er1
34383 grep -v '^ *+' conftest.er1
>conftest.err
34385 cat conftest.err
>&5
34386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34387 (exit $ac_status); } &&
34388 { ac_try
='test -z "$ac_c_werror_flag"
34389 || test ! -s conftest.err'
34390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34391 (eval $ac_try) 2>&5
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); }; } &&
34395 { ac_try
='test -s conftest$ac_exeext'
34396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34397 (eval $ac_try) 2>&5
34399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34400 (exit $ac_status); }; }; then
34401 ac_cv_func_pthread_attr_getschedpolicy
=yes
34403 echo "$as_me: failed program was:" >&5
34404 sed 's/^/| /' conftest.
$ac_ext >&5
34406 ac_cv_func_pthread_attr_getschedpolicy
=no
34408 rm -f conftest.err conftest.
$ac_objext \
34409 conftest
$ac_exeext conftest.
$ac_ext
34411 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34412 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34413 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34414 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34415 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34416 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34417 echo $ECHO_N "(cached) $ECHO_C" >&6
34419 cat >conftest.
$ac_ext <<_ACEOF
34422 cat confdefs.h
>>conftest.
$ac_ext
34423 cat >>conftest.
$ac_ext <<_ACEOF
34424 /* end confdefs.h. */
34425 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34427 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34429 /* System header to define __stub macros and hopefully few prototypes,
34430 which can conflict with char pthread_attr_setschedparam (); below.
34431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34432 <limits.h> exists even on freestanding compilers. */
34435 # include <limits.h>
34437 # include <assert.h>
34440 #undef pthread_attr_setschedparam
34442 /* Override any gcc2 internal prototype to avoid an error. */
34447 /* We use char because int might match the return type of a gcc2
34448 builtin and then its argument prototype would still apply. */
34449 char pthread_attr_setschedparam ();
34450 /* The GNU C library defines this for functions which it implements
34451 to always fail with ENOSYS. Some functions are actually named
34452 something starting with __ and the normal name is an alias. */
34453 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34456 char (*f) () = pthread_attr_setschedparam;
34465 return f != pthread_attr_setschedparam;
34470 rm -f conftest.
$ac_objext conftest
$ac_exeext
34471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34472 (eval $ac_link) 2>conftest.er1
34474 grep -v '^ *+' conftest.er1
>conftest.err
34476 cat conftest.err
>&5
34477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478 (exit $ac_status); } &&
34479 { ac_try
='test -z "$ac_c_werror_flag"
34480 || test ! -s conftest.err'
34481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34482 (eval $ac_try) 2>&5
34484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34485 (exit $ac_status); }; } &&
34486 { ac_try
='test -s conftest$ac_exeext'
34487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34488 (eval $ac_try) 2>&5
34490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34491 (exit $ac_status); }; }; then
34492 ac_cv_func_pthread_attr_setschedparam
=yes
34494 echo "$as_me: failed program was:" >&5
34495 sed 's/^/| /' conftest.
$ac_ext >&5
34497 ac_cv_func_pthread_attr_setschedparam
=no
34499 rm -f conftest.err conftest.
$ac_objext \
34500 conftest
$ac_exeext conftest.
$ac_ext
34502 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34503 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34504 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34505 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34506 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34507 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34508 echo $ECHO_N "(cached) $ECHO_C" >&6
34510 cat >conftest.
$ac_ext <<_ACEOF
34513 cat confdefs.h
>>conftest.
$ac_ext
34514 cat >>conftest.
$ac_ext <<_ACEOF
34515 /* end confdefs.h. */
34516 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34518 #define sched_get_priority_max innocuous_sched_get_priority_max
34520 /* System header to define __stub macros and hopefully few prototypes,
34521 which can conflict with char sched_get_priority_max (); below.
34522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34523 <limits.h> exists even on freestanding compilers. */
34526 # include <limits.h>
34528 # include <assert.h>
34531 #undef sched_get_priority_max
34533 /* Override any gcc2 internal prototype to avoid an error. */
34538 /* We use char because int might match the return type of a gcc2
34539 builtin and then its argument prototype would still apply. */
34540 char sched_get_priority_max ();
34541 /* The GNU C library defines this for functions which it implements
34542 to always fail with ENOSYS. Some functions are actually named
34543 something starting with __ and the normal name is an alias. */
34544 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34547 char (*f) () = sched_get_priority_max;
34556 return f != sched_get_priority_max;
34561 rm -f conftest.
$ac_objext conftest
$ac_exeext
34562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34563 (eval $ac_link) 2>conftest.er1
34565 grep -v '^ *+' conftest.er1
>conftest.err
34567 cat conftest.err
>&5
34568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34569 (exit $ac_status); } &&
34570 { ac_try
='test -z "$ac_c_werror_flag"
34571 || test ! -s conftest.err'
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); }; } &&
34577 { ac_try
='test -s conftest$ac_exeext'
34578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34579 (eval $ac_try) 2>&5
34581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34582 (exit $ac_status); }; }; then
34583 ac_cv_func_sched_get_priority_max
=yes
34585 echo "$as_me: failed program was:" >&5
34586 sed 's/^/| /' conftest.
$ac_ext >&5
34588 ac_cv_func_sched_get_priority_max
=no
34590 rm -f conftest.err conftest.
$ac_objext \
34591 conftest
$ac_exeext conftest.
$ac_ext
34593 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34594 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34595 if test $ac_cv_func_sched_get_priority_max = yes; then
34598 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34599 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34600 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34601 echo $ECHO_N "(cached) $ECHO_C" >&6
34603 ac_check_lib_save_LIBS
=$LIBS
34604 LIBS
="-lposix4 $LIBS"
34605 cat >conftest.
$ac_ext <<_ACEOF
34608 cat confdefs.h
>>conftest.
$ac_ext
34609 cat >>conftest.
$ac_ext <<_ACEOF
34610 /* end confdefs.h. */
34612 /* Override any gcc2 internal prototype to avoid an error. */
34616 /* We use char because int might match the return type of a gcc2
34617 builtin and then its argument prototype would still apply. */
34618 char sched_get_priority_max ();
34622 sched_get_priority_max ();
34627 rm -f conftest.
$ac_objext conftest
$ac_exeext
34628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34629 (eval $ac_link) 2>conftest.er1
34631 grep -v '^ *+' conftest.er1
>conftest.err
34633 cat conftest.err
>&5
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); } &&
34636 { ac_try
='test -z "$ac_c_werror_flag"
34637 || test ! -s conftest.err'
34638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34639 (eval $ac_try) 2>&5
34641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34642 (exit $ac_status); }; } &&
34643 { ac_try
='test -s conftest$ac_exeext'
34644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34645 (eval $ac_try) 2>&5
34647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34648 (exit $ac_status); }; }; then
34649 ac_cv_lib_posix4_sched_get_priority_max
=yes
34651 echo "$as_me: failed program was:" >&5
34652 sed 's/^/| /' conftest.
$ac_ext >&5
34654 ac_cv_lib_posix4_sched_get_priority_max
=no
34656 rm -f conftest.err conftest.
$ac_objext \
34657 conftest
$ac_exeext conftest.
$ac_ext
34658 LIBS
=$ac_check_lib_save_LIBS
34660 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34661 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34662 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34665 POSIX4_LINK
=" -lposix4"
34679 if test "$HAVE_PRIOR_FUNCS" = 1; then
34680 cat >>confdefs.h
<<\_ACEOF
34681 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34685 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34686 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34689 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34690 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34691 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34692 echo $ECHO_N "(cached) $ECHO_C" >&6
34694 cat >conftest.
$ac_ext <<_ACEOF
34697 cat confdefs.h
>>conftest.
$ac_ext
34698 cat >>conftest.
$ac_ext <<_ACEOF
34699 /* end confdefs.h. */
34700 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34702 #define pthread_cancel innocuous_pthread_cancel
34704 /* System header to define __stub macros and hopefully few prototypes,
34705 which can conflict with char pthread_cancel (); below.
34706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34707 <limits.h> exists even on freestanding compilers. */
34710 # include <limits.h>
34712 # include <assert.h>
34715 #undef pthread_cancel
34717 /* Override any gcc2 internal prototype to avoid an error. */
34722 /* We use char because int might match the return type of a gcc2
34723 builtin and then its argument prototype would still apply. */
34724 char pthread_cancel ();
34725 /* The GNU C library defines this for functions which it implements
34726 to always fail with ENOSYS. Some functions are actually named
34727 something starting with __ and the normal name is an alias. */
34728 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34731 char (*f) () = pthread_cancel;
34740 return f != pthread_cancel;
34745 rm -f conftest.
$ac_objext conftest
$ac_exeext
34746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34747 (eval $ac_link) 2>conftest.er1
34749 grep -v '^ *+' conftest.er1
>conftest.err
34751 cat conftest.err
>&5
34752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34753 (exit $ac_status); } &&
34754 { ac_try
='test -z "$ac_c_werror_flag"
34755 || test ! -s conftest.err'
34756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34757 (eval $ac_try) 2>&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); }; } &&
34761 { ac_try
='test -s conftest$ac_exeext'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; }; then
34767 ac_cv_func_pthread_cancel
=yes
34769 echo "$as_me: failed program was:" >&5
34770 sed 's/^/| /' conftest.
$ac_ext >&5
34772 ac_cv_func_pthread_cancel
=no
34774 rm -f conftest.err conftest.
$ac_objext \
34775 conftest
$ac_exeext conftest.
$ac_ext
34777 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34778 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34779 if test $ac_cv_func_pthread_cancel = yes; then
34780 cat >>confdefs.h
<<\_ACEOF
34781 #define HAVE_PTHREAD_CANCEL 1
34785 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34786 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34792 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34793 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34794 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34795 echo $ECHO_N "(cached) $ECHO_C" >&6
34798 cat >conftest.
$ac_ext <<_ACEOF
34801 cat confdefs.h
>>conftest.
$ac_ext
34802 cat >>conftest.
$ac_ext <<_ACEOF
34803 /* end confdefs.h. */
34804 #include <pthread.h>
34809 pthread_mutexattr_t attr;
34810 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34816 rm -f conftest.
$ac_objext
34817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34818 (eval $ac_compile) 2>conftest.er1
34820 grep -v '^ *+' conftest.er1
>conftest.err
34822 cat conftest.err
>&5
34823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34824 (exit $ac_status); } &&
34825 { ac_try
='test -z "$ac_c_werror_flag"
34826 || test ! -s conftest.err'
34827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34828 (eval $ac_try) 2>&5
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); }; } &&
34832 { ac_try
='test -s conftest.$ac_objext'
34833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34834 (eval $ac_try) 2>&5
34836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34837 (exit $ac_status); }; }; then
34839 wx_cv_type_pthread_mutexattr_t
=yes
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.
$ac_ext >&5
34846 wx_cv_type_pthread_mutexattr_t
=no
34850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34853 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34854 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34856 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34857 cat >>confdefs.h
<<\_ACEOF
34858 #define HAVE_PTHREAD_MUTEXATTR_T 1
34862 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34863 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34864 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34865 echo $ECHO_N "(cached) $ECHO_C" >&6
34868 cat >conftest.
$ac_ext <<_ACEOF
34871 cat confdefs.h
>>conftest.
$ac_ext
34872 cat >>conftest.
$ac_ext <<_ACEOF
34873 /* end confdefs.h. */
34874 #include <pthread.h>
34879 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34885 rm -f conftest.
$ac_objext
34886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34887 (eval $ac_compile) 2>conftest.er1
34889 grep -v '^ *+' conftest.er1
>conftest.err
34891 cat conftest.err
>&5
34892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34893 (exit $ac_status); } &&
34894 { ac_try
='test -z "$ac_c_werror_flag"
34895 || test ! -s conftest.err'
34896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34897 (eval $ac_try) 2>&5
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); }; } &&
34901 { ac_try
='test -s conftest.$ac_objext'
34902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34903 (eval $ac_try) 2>&5
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); }; }; then
34908 wx_cv_type_pthread_rec_mutex_init
=yes
34911 echo "$as_me: failed program was:" >&5
34912 sed 's/^/| /' conftest.
$ac_ext >&5
34915 wx_cv_type_pthread_rec_mutex_init
=no
34919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34922 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34923 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34924 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34925 cat >>confdefs.h
<<\_ACEOF
34926 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34930 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34931 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34937 if test "$wxUSE_THREADS" = "yes" ; then
34940 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34941 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34942 if test "${wx_cv_cflags_mthread+set}" = set; then
34943 echo $ECHO_N "(cached) $ECHO_C" >&6
34946 CFLAGS_OLD
="$CFLAGS"
34947 CFLAGS
="$CFLAGS -mthreads"
34948 cat >conftest.
$ac_ext <<_ACEOF
34951 cat confdefs.h
>>conftest.
$ac_ext
34952 cat >>conftest.
$ac_ext <<_ACEOF
34953 /* end confdefs.h. */
34963 rm -f conftest.
$ac_objext
34964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34965 (eval $ac_compile) 2>conftest.er1
34967 grep -v '^ *+' conftest.er1
>conftest.err
34969 cat conftest.err
>&5
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); } &&
34972 { ac_try
='test -z "$ac_c_werror_flag"
34973 || test ! -s conftest.err'
34974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34975 (eval $ac_try) 2>&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); }; } &&
34979 { ac_try
='test -s conftest.$ac_objext'
34980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34981 (eval $ac_try) 2>&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); }; }; then
34985 wx_cv_cflags_mthread
=yes
34987 echo "$as_me: failed program was:" >&5
34988 sed 's/^/| /' conftest.
$ac_ext >&5
34990 wx_cv_cflags_mthread
=no
34993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34997 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34998 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35000 if test "$wx_cv_cflags_mthread" = "yes"; then
35001 CXXFLAGS
="$CXXFLAGS -mthreads"
35002 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
35003 LDFLAGS
="$LDFLAGS -mthreads"
35005 CFLAGS
="$CFLAGS_OLD"
35009 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35010 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35011 LDFLAGS
="$LDFLAGS -Zmt"
35017 if test "$wxUSE_THREADS" = "yes"; then
35018 cat >>confdefs.h
<<\_ACEOF
35019 #define wxUSE_THREADS 1
35023 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
35025 if test "$ac_cv_func_strtok_r" = "yes"; then
35026 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35027 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35028 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35029 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
35030 echo "$as_me:$LINENO: result: yes" >&5
35031 echo "${ECHO_T}yes" >&6
35033 echo "$as_me:$LINENO: result: no" >&5
35034 echo "${ECHO_T}no" >&6
35039 if test "$WXGTK20" = 1 ; then
35040 cat >>confdefs.h
<<_ACEOF
35041 #define __WXGTK20__ $WXGTK20
35047 if test "$WXGTK12" = 1 ; then
35048 cat >>confdefs.h
<<_ACEOF
35049 #define __WXGTK12__ $WXGTK12
35054 if test "$WXGTK127" = 1 ; then
35055 cat >>confdefs.h
<<_ACEOF
35056 #define __WXGTK127__ $WXGTK127
35061 if test "$WXGPE" = 1 ; then
35062 cat >>confdefs.h
<<_ACEOF
35063 #define __WXGPE__ $WXGPE
35070 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35075 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35076 wxUSE_DEBUG_INFO
=yes
35080 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35081 cat >>confdefs.h
<<\_ACEOF
35085 WXDEBUG_DEFINE
="-D__WXDEBUG__"
35087 if test "$wxUSE_GTK" = 1 ; then
35088 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
35092 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35093 cat >>confdefs.h
<<\_ACEOF
35094 #define wxUSE_MEMORY_TRACING 1
35097 cat >>confdefs.h
<<\_ACEOF
35098 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35101 cat >>confdefs.h
<<\_ACEOF
35102 #define wxUSE_DEBUG_NEW_ALWAYS 1
35105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
35108 if test "$wxUSE_DMALLOC" = "yes" ; then
35109 DMALLOC_LIBS
="-ldmalloc"
35113 if test "$wxUSE_PROFILE" = "yes" ; then
35118 CODE_GEN_FLAGS_CXX
=
35119 if test "$GCC" = "yes" ; then
35120 if test "$wxUSE_NO_RTTI" = "yes" ; then
35121 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
35123 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35124 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35126 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35127 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
35132 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
35135 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
35141 if test "$wxUSE_OPTIMISE" = "no" ; then
35142 if test "$GCC" = yes ; then
35146 if test "$GCC" = yes ; then
35150 i586
-*-*|i686
-*-* )
35151 OPTIMISE
="${OPTIMISE} "
35160 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35161 cat >>confdefs.h
<<\_ACEOF
35162 #define WXWIN_COMPATIBILITY_2_2 1
35166 WXWIN_COMPATIBILITY_2_4
="yes"
35169 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35170 cat >>confdefs.h
<<\_ACEOF
35171 #define WXWIN_COMPATIBILITY_2_4 1
35177 if test "$wxUSE_GUI" = "yes"; then
35178 cat >>confdefs.h
<<\_ACEOF
35179 #define wxUSE_GUI 1
35186 if test "$wxUSE_UNIX" = "yes"; then
35187 cat >>confdefs.h
<<\_ACEOF
35188 #define wxUSE_UNIX 1
35194 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35198 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35199 if test "$USE_DARWIN" = 1; then
35203 for ac_func
in dlopen
35205 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35206 echo "$as_me:$LINENO: checking for $ac_func" >&5
35207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35208 if eval "test \"\${$as_ac_var+set}\" = set"; then
35209 echo $ECHO_N "(cached) $ECHO_C" >&6
35211 cat >conftest.
$ac_ext <<_ACEOF
35214 cat confdefs.h
>>conftest.
$ac_ext
35215 cat >>conftest.
$ac_ext <<_ACEOF
35216 /* end confdefs.h. */
35217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35219 #define $ac_func innocuous_$ac_func
35221 /* System header to define __stub macros and hopefully few prototypes,
35222 which can conflict with char $ac_func (); below.
35223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35224 <limits.h> exists even on freestanding compilers. */
35227 # include <limits.h>
35229 # include <assert.h>
35234 /* Override any gcc2 internal prototype to avoid an error. */
35239 /* We use char because int might match the return type of a gcc2
35240 builtin and then its argument prototype would still apply. */
35242 /* The GNU C library defines this for functions which it implements
35243 to always fail with ENOSYS. Some functions are actually named
35244 something starting with __ and the normal name is an alias. */
35245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35248 char (*f) () = $ac_func;
35257 return f != $ac_func;
35262 rm -f conftest.
$ac_objext conftest
$ac_exeext
35263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35264 (eval $ac_link) 2>conftest.er1
35266 grep -v '^ *+' conftest.er1
>conftest.err
35268 cat conftest.err
>&5
35269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270 (exit $ac_status); } &&
35271 { ac_try
='test -z "$ac_c_werror_flag"
35272 || test ! -s conftest.err'
35273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35274 (eval $ac_try) 2>&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); }; } &&
35278 { ac_try
='test -s conftest$ac_exeext'
35279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35280 (eval $ac_try) 2>&5
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); }; }; then
35284 eval "$as_ac_var=yes"
35286 echo "$as_me: failed program was:" >&5
35287 sed 's/^/| /' conftest.
$ac_ext >&5
35289 eval "$as_ac_var=no"
35291 rm -f conftest.err conftest.
$ac_objext \
35292 conftest
$ac_exeext conftest.
$ac_ext
35294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35296 if test `eval echo '${'$as_ac_var'}'` = yes; then
35297 cat >>confdefs.h
<<_ACEOF
35298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35301 cat >>confdefs.h
<<\_ACEOF
35302 #define HAVE_DLOPEN 1
35309 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35310 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35311 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35312 echo $ECHO_N "(cached) $ECHO_C" >&6
35314 ac_check_lib_save_LIBS
=$LIBS
35316 cat >conftest.
$ac_ext <<_ACEOF
35319 cat confdefs.h
>>conftest.
$ac_ext
35320 cat >>conftest.
$ac_ext <<_ACEOF
35321 /* end confdefs.h. */
35323 /* Override any gcc2 internal prototype to avoid an error. */
35327 /* We use char because int might match the return type of a gcc2
35328 builtin and then its argument prototype would still apply. */
35338 rm -f conftest.
$ac_objext conftest
$ac_exeext
35339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35340 (eval $ac_link) 2>conftest.er1
35342 grep -v '^ *+' conftest.er1
>conftest.err
35344 cat conftest.err
>&5
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); } &&
35347 { ac_try
='test -z "$ac_c_werror_flag"
35348 || test ! -s conftest.err'
35349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35350 (eval $ac_try) 2>&5
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); }; } &&
35354 { ac_try
='test -s conftest$ac_exeext'
35355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35356 (eval $ac_try) 2>&5
35358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35359 (exit $ac_status); }; }; then
35360 ac_cv_lib_dl_dlopen
=yes
35362 echo "$as_me: failed program was:" >&5
35363 sed 's/^/| /' conftest.
$ac_ext >&5
35365 ac_cv_lib_dl_dlopen
=no
35367 rm -f conftest.err conftest.
$ac_objext \
35368 conftest
$ac_exeext conftest.
$ac_ext
35369 LIBS
=$ac_check_lib_save_LIBS
35371 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35372 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35373 if test $ac_cv_lib_dl_dlopen = yes; then
35375 cat >>confdefs.h
<<\_ACEOF
35376 #define HAVE_DLOPEN 1
35380 DL_LINK
=" -ldl$DL_LINK"
35385 for ac_func
in shl_load
35387 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35388 echo "$as_me:$LINENO: checking for $ac_func" >&5
35389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35390 if eval "test \"\${$as_ac_var+set}\" = set"; then
35391 echo $ECHO_N "(cached) $ECHO_C" >&6
35393 cat >conftest.
$ac_ext <<_ACEOF
35396 cat confdefs.h
>>conftest.
$ac_ext
35397 cat >>conftest.
$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35401 #define $ac_func innocuous_$ac_func
35403 /* System header to define __stub macros and hopefully few prototypes,
35404 which can conflict with char $ac_func (); below.
35405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35406 <limits.h> exists even on freestanding compilers. */
35409 # include <limits.h>
35411 # include <assert.h>
35416 /* Override any gcc2 internal prototype to avoid an error. */
35421 /* We use char because int might match the return type of a gcc2
35422 builtin and then its argument prototype would still apply. */
35424 /* The GNU C library defines this for functions which it implements
35425 to always fail with ENOSYS. Some functions are actually named
35426 something starting with __ and the normal name is an alias. */
35427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35430 char (*f) () = $ac_func;
35439 return f != $ac_func;
35444 rm -f conftest.
$ac_objext conftest
$ac_exeext
35445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35446 (eval $ac_link) 2>conftest.er1
35448 grep -v '^ *+' conftest.er1
>conftest.err
35450 cat conftest.err
>&5
35451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35452 (exit $ac_status); } &&
35453 { ac_try
='test -z "$ac_c_werror_flag"
35454 || test ! -s conftest.err'
35455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35456 (eval $ac_try) 2>&5
35458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35459 (exit $ac_status); }; } &&
35460 { ac_try
='test -s conftest$ac_exeext'
35461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35462 (eval $ac_try) 2>&5
35464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35465 (exit $ac_status); }; }; then
35466 eval "$as_ac_var=yes"
35468 echo "$as_me: failed program was:" >&5
35469 sed 's/^/| /' conftest.
$ac_ext >&5
35471 eval "$as_ac_var=no"
35473 rm -f conftest.err conftest.
$ac_objext \
35474 conftest
$ac_exeext conftest.
$ac_ext
35476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35478 if test `eval echo '${'$as_ac_var'}'` = yes; then
35479 cat >>confdefs.h
<<_ACEOF
35480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35483 cat >>confdefs.h
<<\_ACEOF
35484 #define HAVE_SHL_LOAD 1
35491 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35492 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35493 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35494 echo $ECHO_N "(cached) $ECHO_C" >&6
35496 ac_check_lib_save_LIBS
=$LIBS
35497 LIBS
="-lshl_load $LIBS"
35498 cat >conftest.
$ac_ext <<_ACEOF
35501 cat confdefs.h
>>conftest.
$ac_ext
35502 cat >>conftest.
$ac_ext <<_ACEOF
35503 /* end confdefs.h. */
35505 /* Override any gcc2 internal prototype to avoid an error. */
35509 /* We use char because int might match the return type of a gcc2
35510 builtin and then its argument prototype would still apply. */
35520 rm -f conftest.
$ac_objext conftest
$ac_exeext
35521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35522 (eval $ac_link) 2>conftest.er1
35524 grep -v '^ *+' conftest.er1
>conftest.err
35526 cat conftest.err
>&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); } &&
35529 { ac_try
='test -z "$ac_c_werror_flag"
35530 || test ! -s conftest.err'
35531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35532 (eval $ac_try) 2>&5
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); }; } &&
35536 { ac_try
='test -s conftest$ac_exeext'
35537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35538 (eval $ac_try) 2>&5
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); }; }; then
35542 ac_cv_lib_shl_load_dld
=yes
35544 echo "$as_me: failed program was:" >&5
35545 sed 's/^/| /' conftest.
$ac_ext >&5
35547 ac_cv_lib_shl_load_dld
=no
35549 rm -f conftest.err conftest.
$ac_objext \
35550 conftest
$ac_exeext conftest.
$ac_ext
35551 LIBS
=$ac_check_lib_save_LIBS
35553 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35554 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35555 if test $ac_cv_lib_shl_load_dld = yes; then
35558 DL_LINK
=" -ldld$DL_LINK"
35574 if test "$HAVE_DL_FUNCS" = 1; then
35576 for ac_func
in dlerror
35578 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35579 echo "$as_me:$LINENO: checking for $ac_func" >&5
35580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35581 if eval "test \"\${$as_ac_var+set}\" = set"; then
35582 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 cat >conftest.
$ac_ext <<_ACEOF
35587 cat confdefs.h
>>conftest.
$ac_ext
35588 cat >>conftest.
$ac_ext <<_ACEOF
35589 /* end confdefs.h. */
35590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35592 #define $ac_func innocuous_$ac_func
35594 /* System header to define __stub macros and hopefully few prototypes,
35595 which can conflict with char $ac_func (); below.
35596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35597 <limits.h> exists even on freestanding compilers. */
35600 # include <limits.h>
35602 # include <assert.h>
35607 /* Override any gcc2 internal prototype to avoid an error. */
35612 /* We use char because int might match the return type of a gcc2
35613 builtin and then its argument prototype would still apply. */
35615 /* The GNU C library defines this for functions which it implements
35616 to always fail with ENOSYS. Some functions are actually named
35617 something starting with __ and the normal name is an alias. */
35618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35621 char (*f) () = $ac_func;
35630 return f != $ac_func;
35635 rm -f conftest.
$ac_objext conftest
$ac_exeext
35636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35637 (eval $ac_link) 2>conftest.er1
35639 grep -v '^ *+' conftest.er1
>conftest.err
35641 cat conftest.err
>&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); } &&
35644 { ac_try
='test -z "$ac_c_werror_flag"
35645 || test ! -s conftest.err'
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; } &&
35651 { ac_try
='test -s conftest$ac_exeext'
35652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35653 (eval $ac_try) 2>&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); }; }; then
35657 eval "$as_ac_var=yes"
35659 echo "$as_me: failed program was:" >&5
35660 sed 's/^/| /' conftest.
$ac_ext >&5
35662 eval "$as_ac_var=no"
35664 rm -f conftest.err conftest.
$ac_objext \
35665 conftest
$ac_exeext conftest.
$ac_ext
35667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35669 if test `eval echo '${'$as_ac_var'}'` = yes; then
35670 cat >>confdefs.h
<<_ACEOF
35671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35673 cat >>confdefs.h
<<\_ACEOF
35674 #define HAVE_DLERROR 1
35679 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35680 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35681 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35682 echo $ECHO_N "(cached) $ECHO_C" >&6
35684 ac_check_lib_save_LIBS
=$LIBS
35686 cat >conftest.
$ac_ext <<_ACEOF
35689 cat confdefs.h
>>conftest.
$ac_ext
35690 cat >>conftest.
$ac_ext <<_ACEOF
35691 /* end confdefs.h. */
35693 /* Override any gcc2 internal prototype to avoid an error. */
35697 /* We use char because int might match the return type of a gcc2
35698 builtin and then its argument prototype would still apply. */
35708 rm -f conftest.
$ac_objext conftest
$ac_exeext
35709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35710 (eval $ac_link) 2>conftest.er1
35712 grep -v '^ *+' conftest.er1
>conftest.err
35714 cat conftest.err
>&5
35715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35716 (exit $ac_status); } &&
35717 { ac_try
='test -z "$ac_c_werror_flag"
35718 || test ! -s conftest.err'
35719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35720 (eval $ac_try) 2>&5
35722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35723 (exit $ac_status); }; } &&
35724 { ac_try
='test -s conftest$ac_exeext'
35725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35726 (eval $ac_try) 2>&5
35728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35729 (exit $ac_status); }; }; then
35730 ac_cv_lib_dl_dlerror
=yes
35732 echo "$as_me: failed program was:" >&5
35733 sed 's/^/| /' conftest.
$ac_ext >&5
35735 ac_cv_lib_dl_dlerror
=no
35737 rm -f conftest.err conftest.
$ac_objext \
35738 conftest
$ac_exeext conftest.
$ac_ext
35739 LIBS
=$ac_check_lib_save_LIBS
35741 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35742 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35743 if test $ac_cv_lib_dl_dlerror = yes; then
35744 cat >>confdefs.h
<<\_ACEOF
35745 #define HAVE_DLERROR 1
35758 if test "$HAVE_DL_FUNCS" = 0; then
35759 if test "$HAVE_SHL_FUNCS" = 0; then
35760 if test "$USE_UNIX" = 1; then
35761 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35762 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35763 wxUSE_DYNAMIC_LOADER
=no
35764 wxUSE_DYNLIB_CLASS
=no
35766 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35767 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35774 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35775 cat >>confdefs.h
<<\_ACEOF
35776 #define wxUSE_DYNAMIC_LOADER 1
35780 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35781 cat >>confdefs.h
<<\_ACEOF
35782 #define wxUSE_DYNLIB_CLASS 1
35789 if test "$wxUSE_PLUGINS" = "yes" ; then
35790 if test "$wxUSE_SHARED" = "no" ; then
35791 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35792 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35795 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35796 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35797 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35800 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35801 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35802 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35805 if test "$wxUSE_PLUGINS" = "yes" ; then
35806 cat >>confdefs.h
<<\_ACEOF
35807 #define wxUSE_PLUGINS 1
35814 if test "$wxUSE_STL" = "yes"; then
35815 cat >>confdefs.h
<<\_ACEOF
35816 #define wxUSE_STL 1
35821 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35822 cat >>confdefs.h
<<\_ACEOF
35823 #define wxUSE_APPLE_IEEE 1
35828 if test "$wxUSE_TIMER" = "yes"; then
35829 cat >>confdefs.h
<<\_ACEOF
35830 #define wxUSE_TIMER 1
35836 if test "$wxUSE_SOUND" = "yes"; then
35837 if test "$USE_UNIX" = "1" ; then
35839 for ac_header
in sys
/soundcard.h
35841 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35843 echo "$as_me:$LINENO: checking for $ac_header" >&5
35844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35846 echo $ECHO_N "(cached) $ECHO_C" >&6
35848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35851 # Is the header compilable?
35852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35854 cat >conftest.
$ac_ext <<_ACEOF
35857 cat confdefs.h
>>conftest.
$ac_ext
35858 cat >>conftest.
$ac_ext <<_ACEOF
35859 /* end confdefs.h. */
35860 $ac_includes_default
35861 #include <$ac_header>
35863 rm -f conftest.
$ac_objext
35864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35865 (eval $ac_compile) 2>conftest.er1
35867 grep -v '^ *+' conftest.er1
>conftest.err
35869 cat conftest.err
>&5
35870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871 (exit $ac_status); } &&
35872 { ac_try
='test -z "$ac_c_werror_flag"
35873 || test ! -s conftest.err'
35874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35875 (eval $ac_try) 2>&5
35877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35878 (exit $ac_status); }; } &&
35879 { ac_try
='test -s conftest.$ac_objext'
35880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35881 (eval $ac_try) 2>&5
35883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35884 (exit $ac_status); }; }; then
35885 ac_header_compiler
=yes
35887 echo "$as_me: failed program was:" >&5
35888 sed 's/^/| /' conftest.
$ac_ext >&5
35890 ac_header_compiler
=no
35892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35894 echo "${ECHO_T}$ac_header_compiler" >&6
35896 # Is the header present?
35897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35899 cat >conftest.
$ac_ext <<_ACEOF
35902 cat confdefs.h
>>conftest.
$ac_ext
35903 cat >>conftest.
$ac_ext <<_ACEOF
35904 /* end confdefs.h. */
35905 #include <$ac_header>
35907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35908 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35910 grep -v '^ *+' conftest.er1
>conftest.err
35912 cat conftest.err
>&5
35913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35914 (exit $ac_status); } >/dev
/null
; then
35915 if test -s conftest.err
; then
35916 ac_cpp_err
=$ac_c_preproc_warn_flag
35917 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35924 if test -z "$ac_cpp_err"; then
35925 ac_header_preproc
=yes
35927 echo "$as_me: failed program was:" >&5
35928 sed 's/^/| /' conftest.
$ac_ext >&5
35930 ac_header_preproc
=no
35932 rm -f conftest.err conftest.
$ac_ext
35933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35934 echo "${ECHO_T}$ac_header_preproc" >&6
35936 # So? What about this header?
35937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35943 ac_header_preproc
=yes
35946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35960 ## ----------------------------------------- ##
35961 ## Report this to wx-dev@lists.wxwidgets.org ##
35962 ## ----------------------------------------- ##
35965 sed "s/^/$as_me: WARNING: /" >&2
35968 echo "$as_me:$LINENO: checking for $ac_header" >&5
35969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35971 echo $ECHO_N "(cached) $ECHO_C" >&6
35973 eval "$as_ac_Header=\$ac_header_preproc"
35975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35980 cat >>confdefs.h
<<_ACEOF
35981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35989 if test "$wxUSE_LIBSDL" != "no"; then
35991 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35992 if test "${with_sdl_prefix+set}" = set; then
35993 withval
="$with_sdl_prefix"
35994 sdl_prefix
="$withval"
35999 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36000 if test "${with_sdl_exec_prefix+set}" = set; then
36001 withval
="$with_sdl_exec_prefix"
36002 sdl_exec_prefix
="$withval"
36006 # Check whether --enable-sdltest or --disable-sdltest was given.
36007 if test "${enable_sdltest+set}" = set; then
36008 enableval
="$enable_sdltest"
36014 if test x
$sdl_exec_prefix != x
; then
36015 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
36016 if test x
${SDL_CONFIG+set} != xset
; then
36017 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
36020 if test x
$sdl_prefix != x
; then
36021 sdl_args
="$sdl_args --prefix=$sdl_prefix"
36022 if test x
${SDL_CONFIG+set} != xset
; then
36023 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
36028 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
36029 # Extract the first word of "sdl-config", so it can be a program name with args.
36030 set dummy sdl
-config; ac_word
=$2
36031 echo "$as_me:$LINENO: checking for $ac_word" >&5
36032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36033 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36034 echo $ECHO_N "(cached) $ECHO_C" >&6
36036 case $SDL_CONFIG in
36038 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
36041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36042 for as_dir
in $PATH
36045 test -z "$as_dir" && as_dir
=.
36046 for ac_exec_ext
in '' $ac_executable_extensions; do
36047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36048 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36055 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
36059 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
36061 if test -n "$SDL_CONFIG"; then
36062 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36063 echo "${ECHO_T}$SDL_CONFIG" >&6
36065 echo "$as_me:$LINENO: result: no" >&5
36066 echo "${ECHO_T}no" >&6
36069 min_sdl_version
=1.2.0
36070 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36071 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36073 if test "$SDL_CONFIG" = "no" ; then
36076 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
36077 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
36079 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
36080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36081 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
36082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36083 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
36084 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36085 if test "x$enable_sdltest" = "xyes" ; then
36086 ac_save_CFLAGS
="$CFLAGS"
36087 ac_save_CXXFLAGS
="$CXXFLAGS"
36088 ac_save_LIBS
="$LIBS"
36089 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36090 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36091 LIBS
="$LIBS $SDL_LIBS"
36093 if test "$cross_compiling" = yes; then
36094 echo $ac_n "cross compiling; assumed OK... $ac_c"
36096 cat >conftest.
$ac_ext <<_ACEOF
36099 cat confdefs.h
>>conftest.
$ac_ext
36100 cat >>conftest.
$ac_ext <<_ACEOF
36101 /* end confdefs.h. */
36104 #include <stdlib.h>
36105 #include <string.h>
36109 my_strdup (char *str)
36115 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36116 strcpy (new_str, str);
36124 int main (int argc, char *argv[])
36126 int major, minor, micro;
36129 /* This hangs on some systems (?)
36130 system ("touch conf.sdltest");
36132 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36134 /* HP/UX 9 (%@#!) writes to sscanf strings */
36135 tmp_version = my_strdup("$min_sdl_version");
36136 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
36137 printf("%s, bad version string\n", "$min_sdl_version");
36141 if (($sdl_major_version > major) ||
36142 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36143 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36149 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36150 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36151 printf("*** best to upgrade to the required version.\n");
36152 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36153 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36154 printf("*** config.cache before re-running configure\n");
36161 rm -f conftest
$ac_exeext
36162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36163 (eval $ac_link) 2>&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36168 (eval $ac_try) 2>&5
36170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171 (exit $ac_status); }; }; then
36174 echo "$as_me: program exited with status $ac_status" >&5
36175 echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.
$ac_ext >&5
36178 ( exit $ac_status )
36181 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36183 CFLAGS
="$ac_save_CFLAGS"
36184 CXXFLAGS
="$ac_save_CXXFLAGS"
36185 LIBS
="$ac_save_LIBS"
36188 if test "x$no_sdl" = x
; then
36189 echo "$as_me:$LINENO: result: yes" >&5
36190 echo "${ECHO_T}yes" >&6
36192 EXTRALIBS_SDL
="$SDL_LIBS"
36193 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36194 cat >>confdefs.h
<<\_ACEOF
36195 #define wxUSE_LIBSDL 1
36200 echo "$as_me:$LINENO: result: no" >&5
36201 echo "${ECHO_T}no" >&6
36202 if test "$SDL_CONFIG" = "no" ; then
36203 echo "*** The sdl-config script installed by SDL could not be found"
36204 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36205 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36206 echo "*** full path to sdl-config."
36208 if test -f conf.sdltest
; then
36211 echo "*** Could not run SDL test program, checking why..."
36212 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36213 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36214 LIBS
="$LIBS $SDL_LIBS"
36215 cat >conftest.
$ac_ext <<_ACEOF
36218 cat confdefs.h
>>conftest.
$ac_ext
36219 cat >>conftest.
$ac_ext <<_ACEOF
36220 /* end confdefs.h. */
36225 int main(int argc, char *argv[])
36228 #define main K_and_R_C_main
36238 rm -f conftest.
$ac_objext conftest
$ac_exeext
36239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36240 (eval $ac_link) 2>conftest.er1
36242 grep -v '^ *+' conftest.er1
>conftest.err
36244 cat conftest.err
>&5
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); } &&
36247 { ac_try
='test -z "$ac_c_werror_flag"
36248 || test ! -s conftest.err'
36249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36250 (eval $ac_try) 2>&5
36252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36253 (exit $ac_status); }; } &&
36254 { ac_try
='test -s conftest$ac_exeext'
36255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36256 (eval $ac_try) 2>&5
36258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36259 (exit $ac_status); }; }; then
36260 echo "*** The test program compiled, but did not run. This usually means"
36261 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36262 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36263 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36264 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36265 echo "*** is required on your system"
36267 echo "*** If you have an old version installed, it is best to remove it, although"
36268 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36270 echo "$as_me: failed program was:" >&5
36271 sed 's/^/| /' conftest.
$ac_ext >&5
36273 echo "*** The test program failed to compile or link. See the file config.log for the"
36274 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36275 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36276 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36278 rm -f conftest.err conftest.
$ac_objext \
36279 conftest
$ac_exeext conftest.
$ac_ext
36280 CFLAGS
="$ac_save_CFLAGS"
36281 CXXFLAGS
="$ac_save_CXXFLAGS"
36282 LIBS
="$ac_save_LIBS"
36293 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36299 cat >>confdefs.h
<<\_ACEOF
36300 #define wxUSE_SOUND 1
36303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36306 if test "$WXGTK20" = 1; then
36307 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36308 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36313 if test -z "$PKG_CONFIG"; then
36314 # Extract the first word of "pkg-config", so it can be a program name with args.
36315 set dummy pkg
-config; ac_word
=$2
36316 echo "$as_me:$LINENO: checking for $ac_word" >&5
36317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36318 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36319 echo $ECHO_N "(cached) $ECHO_C" >&6
36321 case $PKG_CONFIG in
36323 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36327 for as_dir
in $PATH
36330 test -z "$as_dir" && as_dir
=.
36331 for ac_exec_ext
in '' $ac_executable_extensions; do
36332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36333 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36340 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
36344 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36346 if test -n "$PKG_CONFIG"; then
36347 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36348 echo "${ECHO_T}$PKG_CONFIG" >&6
36350 echo "$as_me:$LINENO: result: no" >&5
36351 echo "${ECHO_T}no" >&6
36356 if test "$PKG_CONFIG" = "no" ; then
36357 echo "*** The pkg-config script could not be found. Make sure it is"
36358 echo "*** in your path, or set the PKG_CONFIG environment variable"
36359 echo "*** to the full path to pkg-config."
36360 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36362 PKG_CONFIG_MIN_VERSION
=0.9.0
36363 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36364 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36365 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36367 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36368 echo "$as_me:$LINENO: result: yes" >&5
36369 echo "${ECHO_T}yes" >&6
36372 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36373 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36374 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36375 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36376 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36378 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36379 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36380 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36381 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36382 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36384 LIBGNOMEPRINTUI_CFLAGS
=""
36385 LIBGNOMEPRINTUI_LIBS
=""
36386 ## If we have a custom action on failure, don't print errors, but
36387 ## do set a variable so people can do so.
36388 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36395 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36396 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36400 if test $succeeded = yes; then
36402 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36403 cat >>confdefs.h
<<\_ACEOF
36404 #define wxUSE_LIBGNOMEPRINT 1
36410 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36411 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36412 wxUSE_LIBGNOMEPRINT
="no"
36422 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36423 cat >>confdefs.h
<<\_ACEOF
36424 #define wxUSE_CMDLINE_PARSER 1
36429 if test "$wxUSE_STOPWATCH" = "yes"; then
36430 cat >>confdefs.h
<<\_ACEOF
36431 #define wxUSE_STOPWATCH 1
36436 if test "$wxUSE_DATETIME" = "yes"; then
36437 cat >>confdefs.h
<<\_ACEOF
36438 #define wxUSE_DATETIME 1
36443 if test "$wxUSE_FILE" = "yes"; then
36444 cat >>confdefs.h
<<\_ACEOF
36445 #define wxUSE_FILE 1
36450 if test "$wxUSE_FFILE" = "yes"; then
36451 cat >>confdefs.h
<<\_ACEOF
36452 #define wxUSE_FFILE 1
36457 if test "$wxUSE_FILESYSTEM" = "yes"; then
36458 cat >>confdefs.h
<<\_ACEOF
36459 #define wxUSE_FILESYSTEM 1
36464 if test "$wxUSE_FS_ZIP" = "yes"; then
36465 cat >>confdefs.h
<<\_ACEOF
36466 #define wxUSE_FS_ZIP 1
36471 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36472 cat >>confdefs.h
<<\_ACEOF
36473 #define wxUSE_ARCHIVE_STREAMS 1
36478 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36479 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36480 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36481 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36482 elif test "$wxUSE_ZLIB" = "no"; then
36483 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36484 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36486 cat >>confdefs.h
<<\_ACEOF
36487 #define wxUSE_ZIPSTREAM 1
36493 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36494 cat >>confdefs.h
<<\_ACEOF
36495 #define wxUSE_ON_FATAL_EXCEPTION 1
36500 if test "$wxUSE_STACKWALKER" = "yes"; then
36501 cat >>confdefs.h
<<\_ACEOF
36502 #define wxUSE_STACKWALKER 1
36507 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36508 cat >>confdefs.h
<<\_ACEOF
36509 #define wxUSE_SNGLINST_CHECKER 1
36514 if test "$wxUSE_BUSYINFO" = "yes"; then
36515 cat >>confdefs.h
<<\_ACEOF
36516 #define wxUSE_BUSYINFO 1
36521 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36522 cat >>confdefs.h
<<\_ACEOF
36523 #define wxUSE_STD_IOSTREAM 1
36528 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36529 cat >>confdefs.h
<<\_ACEOF
36530 #define wxUSE_TEXTBUFFER 1
36535 if test "$wxUSE_TEXTFILE" = "yes"; then
36536 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36537 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36538 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36540 cat >>confdefs.h
<<\_ACEOF
36541 #define wxUSE_TEXTFILE 1
36547 if test "$wxUSE_CONFIG" = "yes" ; then
36548 if test "$wxUSE_TEXTFILE" != "yes"; then
36549 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36550 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36552 cat >>confdefs.h
<<\_ACEOF
36553 #define wxUSE_CONFIG 1
36556 cat >>confdefs.h
<<\_ACEOF
36557 #define wxUSE_CONFIG_NATIVE 1
36560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
36564 if test "$wxUSE_INTL" = "yes" ; then
36565 if test "$wxUSE_FILE" != "yes"; then
36566 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36567 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36569 cat >>confdefs.h
<<\_ACEOF
36570 #define wxUSE_INTL 1
36573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
36574 GUIDIST
="$GUIDIST INTL_DIST"
36578 if test "$wxUSE_LOG" = "yes"; then
36579 cat >>confdefs.h
<<\_ACEOF
36580 #define wxUSE_LOG 1
36584 if test "$wxUSE_LOGGUI" = "yes"; then
36585 cat >>confdefs.h
<<\_ACEOF
36586 #define wxUSE_LOGGUI 1
36591 if test "$wxUSE_LOGWINDOW" = "yes"; then
36592 cat >>confdefs.h
<<\_ACEOF
36593 #define wxUSE_LOGWINDOW 1
36598 if test "$wxUSE_LOGDIALOG" = "yes"; then
36599 cat >>confdefs.h
<<\_ACEOF
36600 #define wxUSE_LOG_DIALOG 1
36605 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
36608 if test "$wxUSE_LONGLONG" = "yes"; then
36609 cat >>confdefs.h
<<\_ACEOF
36610 #define wxUSE_LONGLONG 1
36615 if test "$wxUSE_GEOMETRY" = "yes"; then
36616 cat >>confdefs.h
<<\_ACEOF
36617 #define wxUSE_GEOMETRY 1
36622 if test "$wxUSE_STREAMS" = "yes" ; then
36623 cat >>confdefs.h
<<\_ACEOF
36624 #define wxUSE_STREAMS 1
36630 if test "$wxUSE_DATETIME" = "yes"; then
36632 for ac_func
in strptime
36634 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36635 echo "$as_me:$LINENO: checking for $ac_func" >&5
36636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36637 if eval "test \"\${$as_ac_var+set}\" = set"; then
36638 echo $ECHO_N "(cached) $ECHO_C" >&6
36640 cat >conftest.
$ac_ext <<_ACEOF
36643 cat confdefs.h
>>conftest.
$ac_ext
36644 cat >>conftest.
$ac_ext <<_ACEOF
36645 /* end confdefs.h. */
36646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36648 #define $ac_func innocuous_$ac_func
36650 /* System header to define __stub macros and hopefully few prototypes,
36651 which can conflict with char $ac_func (); below.
36652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36653 <limits.h> exists even on freestanding compilers. */
36656 # include <limits.h>
36658 # include <assert.h>
36663 /* Override any gcc2 internal prototype to avoid an error. */
36668 /* We use char because int might match the return type of a gcc2
36669 builtin and then its argument prototype would still apply. */
36671 /* The GNU C library defines this for functions which it implements
36672 to always fail with ENOSYS. Some functions are actually named
36673 something starting with __ and the normal name is an alias. */
36674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36677 char (*f) () = $ac_func;
36686 return f != $ac_func;
36691 rm -f conftest.
$ac_objext conftest
$ac_exeext
36692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36693 (eval $ac_link) 2>conftest.er1
36695 grep -v '^ *+' conftest.er1
>conftest.err
36697 cat conftest.err
>&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); } &&
36700 { ac_try
='test -z "$ac_c_werror_flag"
36701 || test ! -s conftest.err'
36702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36703 (eval $ac_try) 2>&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); }; } &&
36707 { ac_try
='test -s conftest$ac_exeext'
36708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709 (eval $ac_try) 2>&5
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); }; }; then
36713 eval "$as_ac_var=yes"
36715 echo "$as_me: failed program was:" >&5
36716 sed 's/^/| /' conftest.
$ac_ext >&5
36718 eval "$as_ac_var=no"
36720 rm -f conftest.err conftest.
$ac_objext \
36721 conftest
$ac_exeext conftest.
$ac_ext
36723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36725 if test `eval echo '${'$as_ac_var'}'` = yes; then
36726 cat >>confdefs.h
<<_ACEOF
36727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36734 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36735 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36736 if test "${wx_cv_var_timezone+set}" = set; then
36737 echo $ECHO_N "(cached) $ECHO_C" >&6
36740 cat >conftest.
$ac_ext <<_ACEOF
36743 cat confdefs.h
>>conftest.
$ac_ext
36744 cat >>conftest.
$ac_ext <<_ACEOF
36745 /* end confdefs.h. */
36760 rm -f conftest.
$ac_objext
36761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36762 (eval $ac_compile) 2>conftest.er1
36764 grep -v '^ *+' conftest.er1
>conftest.err
36766 cat conftest.err
>&5
36767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768 (exit $ac_status); } &&
36769 { ac_try
='test -z "$ac_c_werror_flag"
36770 || 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"
36820 || test ! -s conftest.err'
36821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36822 (eval $ac_try) 2>&5
36824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36825 (exit $ac_status); }; } &&
36826 { ac_try
='test -s conftest.$ac_objext'
36827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36828 (eval $ac_try) 2>&5
36830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36831 (exit $ac_status); }; }; then
36833 wx_cv_var_timezone
=_timezone
36836 echo "$as_me: failed program was:" >&5
36837 sed 's/^/| /' conftest.
$ac_ext >&5
36840 cat >conftest.
$ac_ext <<_ACEOF
36843 cat confdefs.h
>>conftest.
$ac_ext
36844 cat >>conftest.
$ac_ext <<_ACEOF
36845 /* end confdefs.h. */
36860 rm -f conftest.
$ac_objext
36861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36862 (eval $ac_compile) 2>conftest.er1
36864 grep -v '^ *+' conftest.er1
>conftest.err
36866 cat conftest.err
>&5
36867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36868 (exit $ac_status); } &&
36869 { ac_try
='test -z "$ac_c_werror_flag"
36870 || test ! -s conftest.err'
36871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36872 (eval $ac_try) 2>&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); }; } &&
36876 { ac_try
='test -s conftest.$ac_objext'
36877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36878 (eval $ac_try) 2>&5
36880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36881 (exit $ac_status); }; }; then
36883 wx_cv_var_timezone
=__timezone
36886 echo "$as_me: failed program was:" >&5
36887 sed 's/^/| /' conftest.
$ac_ext >&5
36890 if test "$USE_DOS" = 0 ; then
36891 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36892 echo "$as_me: WARNING: no timezone variable" >&2;}
36897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36909 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36910 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36912 if test "x$wx_cv_var_timezone" != x
; then
36913 cat >>confdefs.h
<<_ACEOF
36914 #define WX_TIMEZONE $wx_cv_var_timezone
36920 for ac_func
in localtime
36922 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36923 echo "$as_me:$LINENO: checking for $ac_func" >&5
36924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36925 if eval "test \"\${$as_ac_var+set}\" = set"; then
36926 echo $ECHO_N "(cached) $ECHO_C" >&6
36928 cat >conftest.
$ac_ext <<_ACEOF
36931 cat confdefs.h
>>conftest.
$ac_ext
36932 cat >>conftest.
$ac_ext <<_ACEOF
36933 /* end confdefs.h. */
36934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36936 #define $ac_func innocuous_$ac_func
36938 /* System header to define __stub macros and hopefully few prototypes,
36939 which can conflict with char $ac_func (); below.
36940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36941 <limits.h> exists even on freestanding compilers. */
36944 # include <limits.h>
36946 # include <assert.h>
36951 /* Override any gcc2 internal prototype to avoid an error. */
36956 /* We use char because int might match the return type of a gcc2
36957 builtin and then its argument prototype would still apply. */
36959 /* The GNU C library defines this for functions which it implements
36960 to always fail with ENOSYS. Some functions are actually named
36961 something starting with __ and the normal name is an alias. */
36962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36965 char (*f) () = $ac_func;
36974 return f != $ac_func;
36979 rm -f conftest.
$ac_objext conftest
$ac_exeext
36980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36981 (eval $ac_link) 2>conftest.er1
36983 grep -v '^ *+' conftest.er1
>conftest.err
36985 cat conftest.err
>&5
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); } &&
36988 { ac_try
='test -z "$ac_c_werror_flag"
36989 || test ! -s conftest.err'
36990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36991 (eval $ac_try) 2>&5
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); }; } &&
36995 { ac_try
='test -s conftest$ac_exeext'
36996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36997 (eval $ac_try) 2>&5
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); }; }; then
37001 eval "$as_ac_var=yes"
37003 echo "$as_me: failed program was:" >&5
37004 sed 's/^/| /' conftest.
$ac_ext >&5
37006 eval "$as_ac_var=no"
37008 rm -f conftest.err conftest.
$ac_objext \
37009 conftest
$ac_exeext conftest.
$ac_ext
37011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37013 if test `eval echo '${'$as_ac_var'}'` = yes; then
37014 cat >>confdefs.h
<<_ACEOF
37015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37022 if test "$ac_cv_func_localtime" = "yes"; then
37023 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37024 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37025 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37026 echo $ECHO_N "(cached) $ECHO_C" >&6
37029 cat >conftest.
$ac_ext <<_ACEOF
37032 cat confdefs.h
>>conftest.
$ac_ext
37033 cat >>conftest.
$ac_ext <<_ACEOF
37034 /* end confdefs.h. */
37049 rm -f conftest.
$ac_objext
37050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37051 (eval $ac_compile) 2>conftest.er1
37053 grep -v '^ *+' conftest.er1
>conftest.err
37055 cat conftest.err
>&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); } &&
37058 { ac_try
='test -z "$ac_c_werror_flag"
37059 || test ! -s conftest.err'
37060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37061 (eval $ac_try) 2>&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); }; } &&
37065 { ac_try
='test -s conftest.$ac_objext'
37066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37067 (eval $ac_try) 2>&5
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); }; }; then
37072 wx_cv_struct_tm_has_gmtoff
=yes
37075 echo "$as_me: failed program was:" >&5
37076 sed 's/^/| /' conftest.
$ac_ext >&5
37078 wx_cv_struct_tm_has_gmtoff
=no
37081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37084 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37085 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37088 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37089 cat >>confdefs.h
<<\_ACEOF
37090 #define WX_GMTOFF_IN_TM 1
37097 for ac_func
in gettimeofday ftime
37099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37100 echo "$as_me:$LINENO: checking for $ac_func" >&5
37101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37102 if eval "test \"\${$as_ac_var+set}\" = set"; then
37103 echo $ECHO_N "(cached) $ECHO_C" >&6
37105 cat >conftest.
$ac_ext <<_ACEOF
37108 cat confdefs.h
>>conftest.
$ac_ext
37109 cat >>conftest.
$ac_ext <<_ACEOF
37110 /* end confdefs.h. */
37111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37113 #define $ac_func innocuous_$ac_func
37115 /* System header to define __stub macros and hopefully few prototypes,
37116 which can conflict with char $ac_func (); below.
37117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37118 <limits.h> exists even on freestanding compilers. */
37121 # include <limits.h>
37123 # include <assert.h>
37128 /* Override any gcc2 internal prototype to avoid an error. */
37133 /* We use char because int might match the return type of a gcc2
37134 builtin and then its argument prototype would still apply. */
37136 /* The GNU C library defines this for functions which it implements
37137 to always fail with ENOSYS. Some functions are actually named
37138 something starting with __ and the normal name is an alias. */
37139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37142 char (*f) () = $ac_func;
37151 return f != $ac_func;
37156 rm -f conftest.
$ac_objext conftest
$ac_exeext
37157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37158 (eval $ac_link) 2>conftest.er1
37160 grep -v '^ *+' conftest.er1
>conftest.err
37162 cat conftest.err
>&5
37163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37164 (exit $ac_status); } &&
37165 { ac_try
='test -z "$ac_c_werror_flag"
37166 || test ! -s conftest.err'
37167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37168 (eval $ac_try) 2>&5
37170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37171 (exit $ac_status); }; } &&
37172 { ac_try
='test -s conftest$ac_exeext'
37173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37174 (eval $ac_try) 2>&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); }; }; then
37178 eval "$as_ac_var=yes"
37180 echo "$as_me: failed program was:" >&5
37181 sed 's/^/| /' conftest.
$ac_ext >&5
37183 eval "$as_ac_var=no"
37185 rm -f conftest.err conftest.
$ac_objext \
37186 conftest
$ac_exeext conftest.
$ac_ext
37188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37190 if test `eval echo '${'$as_ac_var'}'` = yes; then
37191 cat >>confdefs.h
<<_ACEOF
37192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37199 if test "$ac_cv_func_gettimeofday" = "yes"; then
37200 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37201 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37202 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37203 echo $ECHO_N "(cached) $ECHO_C" >&6
37209 ac_cpp
='$CXXCPP $CPPFLAGS'
37210 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37211 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37212 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37215 cat >conftest.
$ac_ext <<_ACEOF
37218 cat confdefs.h
>>conftest.
$ac_ext
37219 cat >>conftest.
$ac_ext <<_ACEOF
37220 /* end confdefs.h. */
37222 #include <sys/time.h>
37223 #include <unistd.h>
37230 gettimeofday(&tv, NULL);
37236 rm -f conftest.
$ac_objext
37237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37238 (eval $ac_compile) 2>conftest.er1
37240 grep -v '^ *+' conftest.er1
>conftest.err
37242 cat conftest.err
>&5
37243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37244 (exit $ac_status); } &&
37245 { ac_try
='test -z "$ac_cxx_werror_flag"
37246 || test ! -s conftest.err'
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); }; } &&
37252 { ac_try
='test -s conftest.$ac_objext'
37253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37254 (eval $ac_try) 2>&5
37256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37257 (exit $ac_status); }; }; then
37258 wx_cv_func_gettimeofday_has_2_args
=yes
37260 echo "$as_me: failed program was:" >&5
37261 sed 's/^/| /' conftest.
$ac_ext >&5
37263 cat >conftest.
$ac_ext <<_ACEOF
37266 cat confdefs.h
>>conftest.
$ac_ext
37267 cat >>conftest.
$ac_ext <<_ACEOF
37268 /* end confdefs.h. */
37270 #include <sys/time.h>
37271 #include <unistd.h>
37284 rm -f conftest.
$ac_objext
37285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37286 (eval $ac_compile) 2>conftest.er1
37288 grep -v '^ *+' conftest.er1
>conftest.err
37290 cat conftest.err
>&5
37291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37292 (exit $ac_status); } &&
37293 { ac_try
='test -z "$ac_cxx_werror_flag"
37294 || test ! -s conftest.err'
37295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37296 (eval $ac_try) 2>&5
37298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37299 (exit $ac_status); }; } &&
37300 { ac_try
='test -s conftest.$ac_objext'
37301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37302 (eval $ac_try) 2>&5
37304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37305 (exit $ac_status); }; }; then
37306 wx_cv_func_gettimeofday_has_2_args
=no
37308 echo "$as_me: failed program was:" >&5
37309 sed 's/^/| /' conftest.
$ac_ext >&5
37312 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37313 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37314 wx_cv_func_gettimeofday_has_2_args
=unknown
37318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37323 ac_cpp
='$CPP $CPPFLAGS'
37324 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37325 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37326 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37330 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37331 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37333 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37334 cat >>confdefs.h
<<\_ACEOF
37335 #define WX_GETTIMEOFDAY_NO_TZ 1
37341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
37345 if test "$wxUSE_SOCKETS" = "yes"; then
37346 if test "$wxUSE_MGL" = "1"; then
37347 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37348 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37353 if test "$wxUSE_SOCKETS" = "yes"; then
37354 if test "$TOOLKIT" != "MSW"; then
37355 echo "$as_me:$LINENO: checking for socket" >&5
37356 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37357 if test "${ac_cv_func_socket+set}" = set; then
37358 echo $ECHO_N "(cached) $ECHO_C" >&6
37360 cat >conftest.
$ac_ext <<_ACEOF
37363 cat confdefs.h
>>conftest.
$ac_ext
37364 cat >>conftest.
$ac_ext <<_ACEOF
37365 /* end confdefs.h. */
37366 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37368 #define socket innocuous_socket
37370 /* System header to define __stub macros and hopefully few prototypes,
37371 which can conflict with char socket (); below.
37372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37373 <limits.h> exists even on freestanding compilers. */
37376 # include <limits.h>
37378 # include <assert.h>
37383 /* Override any gcc2 internal prototype to avoid an error. */
37388 /* We use char because int might match the return type of a gcc2
37389 builtin and then its argument prototype would still apply. */
37391 /* The GNU C library defines this for functions which it implements
37392 to always fail with ENOSYS. Some functions are actually named
37393 something starting with __ and the normal name is an alias. */
37394 #if defined (__stub_socket) || defined (__stub___socket)
37397 char (*f) () = socket;
37406 return f != socket;
37411 rm -f conftest.
$ac_objext conftest
$ac_exeext
37412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37413 (eval $ac_link) 2>conftest.er1
37415 grep -v '^ *+' conftest.er1
>conftest.err
37417 cat conftest.err
>&5
37418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37419 (exit $ac_status); } &&
37420 { ac_try
='test -z "$ac_c_werror_flag"
37421 || test ! -s conftest.err'
37422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37423 (eval $ac_try) 2>&5
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); }; } &&
37427 { ac_try
='test -s conftest$ac_exeext'
37428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37429 (eval $ac_try) 2>&5
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); }; }; then
37433 ac_cv_func_socket
=yes
37435 echo "$as_me: failed program was:" >&5
37436 sed 's/^/| /' conftest.
$ac_ext >&5
37438 ac_cv_func_socket
=no
37440 rm -f conftest.err conftest.
$ac_objext \
37441 conftest
$ac_exeext conftest.
$ac_ext
37443 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37444 echo "${ECHO_T}$ac_cv_func_socket" >&6
37445 if test $ac_cv_func_socket = yes; then
37449 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37450 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37451 if test "${ac_cv_lib_socket_socket+set}" = set; then
37452 echo $ECHO_N "(cached) $ECHO_C" >&6
37454 ac_check_lib_save_LIBS
=$LIBS
37455 LIBS
="-lsocket $LIBS"
37456 cat >conftest.
$ac_ext <<_ACEOF
37459 cat confdefs.h
>>conftest.
$ac_ext
37460 cat >>conftest.
$ac_ext <<_ACEOF
37461 /* end confdefs.h. */
37463 /* Override any gcc2 internal prototype to avoid an error. */
37467 /* We use char because int might match the return type of a gcc2
37468 builtin and then its argument prototype would still apply. */
37478 rm -f conftest.
$ac_objext conftest
$ac_exeext
37479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37480 (eval $ac_link) 2>conftest.er1
37482 grep -v '^ *+' conftest.er1
>conftest.err
37484 cat conftest.err
>&5
37485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37486 (exit $ac_status); } &&
37487 { ac_try
='test -z "$ac_c_werror_flag"
37488 || test ! -s conftest.err'
37489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37490 (eval $ac_try) 2>&5
37492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37493 (exit $ac_status); }; } &&
37494 { ac_try
='test -s conftest$ac_exeext'
37495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37496 (eval $ac_try) 2>&5
37498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37499 (exit $ac_status); }; }; then
37500 ac_cv_lib_socket_socket
=yes
37502 echo "$as_me: failed program was:" >&5
37503 sed 's/^/| /' conftest.
$ac_ext >&5
37505 ac_cv_lib_socket_socket
=no
37507 rm -f conftest.err conftest.
$ac_objext \
37508 conftest
$ac_exeext conftest.
$ac_ext
37509 LIBS
=$ac_check_lib_save_LIBS
37511 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37512 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37513 if test $ac_cv_lib_socket_socket = yes; then
37514 if test "$INET_LINK" != " -lsocket"; then
37515 INET_LINK
="$INET_LINK -lsocket"
37519 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37520 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37533 if test "$wxUSE_SOCKETS" = "yes" ; then
37534 if test "$TOOLKIT" != "MSW"; then
37536 ac_cpp
='$CXXCPP $CPPFLAGS'
37537 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37538 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37539 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37541 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37542 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37543 if test "${wx_cv_type_getsockname3+set}" = set; then
37544 echo $ECHO_N "(cached) $ECHO_C" >&6
37547 cat >conftest.
$ac_ext <<_ACEOF
37550 cat confdefs.h
>>conftest.
$ac_ext
37551 cat >>conftest.
$ac_ext <<_ACEOF
37552 /* end confdefs.h. */
37554 #include <sys/types.h>
37555 #include <sys/socket.h>
37562 getsockname(0, 0, &len);
37568 rm -f conftest.
$ac_objext
37569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37570 (eval $ac_compile) 2>conftest.er1
37572 grep -v '^ *+' conftest.er1
>conftest.err
37574 cat conftest.err
>&5
37575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37576 (exit $ac_status); } &&
37577 { ac_try
='test -z "$ac_cxx_werror_flag"
37578 || test ! -s conftest.err'
37579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37580 (eval $ac_try) 2>&5
37582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37583 (exit $ac_status); }; } &&
37584 { ac_try
='test -s conftest.$ac_objext'
37585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37586 (eval $ac_try) 2>&5
37588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37589 (exit $ac_status); }; }; then
37590 wx_cv_type_getsockname3
=socklen_t
37592 echo "$as_me: failed program was:" >&5
37593 sed 's/^/| /' conftest.
$ac_ext >&5
37596 CFLAGS_OLD
="$CFLAGS"
37597 if test "$GCC" = yes ; then
37598 CFLAGS
="$CFLAGS -Werror"
37601 cat >conftest.
$ac_ext <<_ACEOF
37604 cat confdefs.h
>>conftest.
$ac_ext
37605 cat >>conftest.
$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37608 #include <sys/types.h>
37609 #include <sys/socket.h>
37616 getsockname(0, 0, &len);
37622 rm -f conftest.
$ac_objext
37623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37624 (eval $ac_compile) 2>conftest.er1
37626 grep -v '^ *+' conftest.er1
>conftest.err
37628 cat conftest.err
>&5
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); } &&
37631 { ac_try
='test -z "$ac_cxx_werror_flag"
37632 || test ! -s conftest.err'
37633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37634 (eval $ac_try) 2>&5
37636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637 (exit $ac_status); }; } &&
37638 { ac_try
='test -s conftest.$ac_objext'
37639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37640 (eval $ac_try) 2>&5
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); }; }; then
37644 wx_cv_type_getsockname3
=size_t
37646 echo "$as_me: failed program was:" >&5
37647 sed 's/^/| /' conftest.
$ac_ext >&5
37649 cat >conftest.
$ac_ext <<_ACEOF
37652 cat confdefs.h
>>conftest.
$ac_ext
37653 cat >>conftest.
$ac_ext <<_ACEOF
37654 /* end confdefs.h. */
37656 #include <sys/types.h>
37657 #include <sys/socket.h>
37664 getsockname(0, 0, &len);
37670 rm -f conftest.
$ac_objext
37671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37672 (eval $ac_compile) 2>conftest.er1
37674 grep -v '^ *+' conftest.er1
>conftest.err
37676 cat conftest.err
>&5
37677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37678 (exit $ac_status); } &&
37679 { ac_try
='test -z "$ac_cxx_werror_flag"
37680 || test ! -s conftest.err'
37681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37682 (eval $ac_try) 2>&5
37684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37685 (exit $ac_status); }; } &&
37686 { ac_try
='test -s conftest.$ac_objext'
37687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37688 (eval $ac_try) 2>&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); }; }; then
37692 wx_cv_type_getsockname3
=int
37694 echo "$as_me: failed program was:" >&5
37695 sed 's/^/| /' conftest.
$ac_ext >&5
37697 wx_cv_type_getsockname3
=unknown
37700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37705 CFLAGS
="$CFLAGS_OLD"
37709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37712 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37713 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37715 if test "$wx_cv_type_getsockname3" = "unknown"; then
37717 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37718 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37720 cat >>confdefs.h
<<_ACEOF
37721 #define SOCKLEN_T $wx_cv_type_getsockname3
37725 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37726 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37727 if test "${wx_cv_type_getsockopt5+set}" = set; then
37728 echo $ECHO_N "(cached) $ECHO_C" >&6
37731 cat >conftest.
$ac_ext <<_ACEOF
37734 cat confdefs.h
>>conftest.
$ac_ext
37735 cat >>conftest.
$ac_ext <<_ACEOF
37736 /* end confdefs.h. */
37738 #include <sys/types.h>
37739 #include <sys/socket.h>
37746 getsockopt(0, 0, 0, 0, &len);
37752 rm -f conftest.
$ac_objext
37753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37754 (eval $ac_compile) 2>conftest.er1
37756 grep -v '^ *+' conftest.er1
>conftest.err
37758 cat conftest.err
>&5
37759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37760 (exit $ac_status); } &&
37761 { ac_try
='test -z "$ac_cxx_werror_flag"
37762 || test ! -s conftest.err'
37763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37764 (eval $ac_try) 2>&5
37766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767 (exit $ac_status); }; } &&
37768 { ac_try
='test -s conftest.$ac_objext'
37769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37770 (eval $ac_try) 2>&5
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); }; }; then
37774 wx_cv_type_getsockopt5
=socklen_t
37776 echo "$as_me: failed program was:" >&5
37777 sed 's/^/| /' conftest.
$ac_ext >&5
37780 CFLAGS_OLD
="$CFLAGS"
37781 if test "$GCC" = yes ; then
37782 CFLAGS
="$CFLAGS -Werror"
37785 cat >conftest.
$ac_ext <<_ACEOF
37788 cat confdefs.h
>>conftest.
$ac_ext
37789 cat >>conftest.
$ac_ext <<_ACEOF
37790 /* end confdefs.h. */
37792 #include <sys/types.h>
37793 #include <sys/socket.h>
37800 getsockopt(0, 0, 0, 0, &len);
37806 rm -f conftest.
$ac_objext
37807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37808 (eval $ac_compile) 2>conftest.er1
37810 grep -v '^ *+' conftest.er1
>conftest.err
37812 cat conftest.err
>&5
37813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37814 (exit $ac_status); } &&
37815 { ac_try
='test -z "$ac_cxx_werror_flag"
37816 || test ! -s conftest.err'
37817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37818 (eval $ac_try) 2>&5
37820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37821 (exit $ac_status); }; } &&
37822 { ac_try
='test -s conftest.$ac_objext'
37823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37824 (eval $ac_try) 2>&5
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); }; }; then
37828 wx_cv_type_getsockopt5
=size_t
37830 echo "$as_me: failed program was:" >&5
37831 sed 's/^/| /' conftest.
$ac_ext >&5
37833 cat >conftest.
$ac_ext <<_ACEOF
37836 cat confdefs.h
>>conftest.
$ac_ext
37837 cat >>conftest.
$ac_ext <<_ACEOF
37838 /* end confdefs.h. */
37840 #include <sys/types.h>
37841 #include <sys/socket.h>
37848 getsockopt(0, 0, 0, 0, &len);
37854 rm -f conftest.
$ac_objext
37855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37856 (eval $ac_compile) 2>conftest.er1
37858 grep -v '^ *+' conftest.er1
>conftest.err
37860 cat conftest.err
>&5
37861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37862 (exit $ac_status); } &&
37863 { ac_try
='test -z "$ac_cxx_werror_flag"
37864 || test ! -s conftest.err'
37865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37866 (eval $ac_try) 2>&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); }; } &&
37870 { ac_try
='test -s conftest.$ac_objext'
37871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37872 (eval $ac_try) 2>&5
37874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37875 (exit $ac_status); }; }; then
37876 wx_cv_type_getsockopt5
=int
37878 echo "$as_me: failed program was:" >&5
37879 sed 's/^/| /' conftest.
$ac_ext >&5
37881 wx_cv_type_getsockopt5
=unknown
37884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37889 CFLAGS
="$CFLAGS_OLD"
37893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37896 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37897 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37899 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37901 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37902 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37904 cat >>confdefs.h
<<_ACEOF
37905 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37910 ac_cpp
='$CPP $CPPFLAGS'
37911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37918 if test "$wxUSE_SOCKETS" = "yes" ; then
37919 cat >>confdefs.h
<<\_ACEOF
37920 #define wxUSE_SOCKETS 1
37923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37926 if test "$wxUSE_PROTOCOL" = "yes"; then
37927 if test "$wxUSE_SOCKETS" != "yes"; then
37928 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37929 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37934 if test "$wxUSE_PROTOCOL" = "yes"; then
37935 cat >>confdefs.h
<<\_ACEOF
37936 #define wxUSE_PROTOCOL 1
37940 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37941 cat >>confdefs.h
<<\_ACEOF
37942 #define wxUSE_PROTOCOL_HTTP 1
37946 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37947 cat >>confdefs.h
<<\_ACEOF
37948 #define wxUSE_PROTOCOL_FTP 1
37952 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37953 cat >>confdefs.h
<<\_ACEOF
37954 #define wxUSE_PROTOCOL_FILE 1
37959 if test "$wxUSE_FS_INET" = "yes"; then
37960 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37961 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37966 if test "$wxUSE_URL" = "yes"; then
37967 if test "$wxUSE_PROTOCOL" != "yes"; then
37968 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37969 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37972 if test "$wxUSE_URL" = "yes"; then
37973 cat >>confdefs.h
<<\_ACEOF
37974 #define wxUSE_URL 1
37980 if test "$wxUSE_FS_INET" = "yes"; then
37981 cat >>confdefs.h
<<\_ACEOF
37982 #define wxUSE_FS_INET 1
37988 if test "$wxUSE_GUI" = "yes"; then
37989 if test "$wxUSE_JOYSTICK" = "yes"; then
37991 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
37993 for ac_header
in linux
/joystick.h
37995 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37997 echo "$as_me:$LINENO: checking for $ac_header" >&5
37998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38000 echo $ECHO_N "(cached) $ECHO_C" >&6
38002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38005 # Is the header compilable?
38006 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38008 cat >conftest.
$ac_ext <<_ACEOF
38011 cat confdefs.h
>>conftest.
$ac_ext
38012 cat >>conftest.
$ac_ext <<_ACEOF
38013 /* end confdefs.h. */
38014 $ac_includes_default
38015 #include <$ac_header>
38017 rm -f conftest.
$ac_objext
38018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38019 (eval $ac_compile) 2>conftest.er1
38021 grep -v '^ *+' conftest.er1
>conftest.err
38023 cat conftest.err
>&5
38024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38025 (exit $ac_status); } &&
38026 { ac_try
='test -z "$ac_c_werror_flag"
38027 || test ! -s conftest.err'
38028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38029 (eval $ac_try) 2>&5
38031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38032 (exit $ac_status); }; } &&
38033 { ac_try
='test -s conftest.$ac_objext'
38034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38035 (eval $ac_try) 2>&5
38037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38038 (exit $ac_status); }; }; then
38039 ac_header_compiler
=yes
38041 echo "$as_me: failed program was:" >&5
38042 sed 's/^/| /' conftest.
$ac_ext >&5
38044 ac_header_compiler
=no
38046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38048 echo "${ECHO_T}$ac_header_compiler" >&6
38050 # Is the header present?
38051 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38052 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38053 cat >conftest.
$ac_ext <<_ACEOF
38056 cat confdefs.h
>>conftest.
$ac_ext
38057 cat >>conftest.
$ac_ext <<_ACEOF
38058 /* end confdefs.h. */
38059 #include <$ac_header>
38061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38062 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38064 grep -v '^ *+' conftest.er1
>conftest.err
38066 cat conftest.err
>&5
38067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38068 (exit $ac_status); } >/dev
/null
; then
38069 if test -s conftest.err
; then
38070 ac_cpp_err
=$ac_c_preproc_warn_flag
38071 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38078 if test -z "$ac_cpp_err"; then
38079 ac_header_preproc
=yes
38081 echo "$as_me: failed program was:" >&5
38082 sed 's/^/| /' conftest.
$ac_ext >&5
38084 ac_header_preproc
=no
38086 rm -f conftest.err conftest.
$ac_ext
38087 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38088 echo "${ECHO_T}$ac_header_preproc" >&6
38090 # So? What about this header?
38091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38093 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38094 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38096 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38097 ac_header_preproc
=yes
38100 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38101 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38102 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38103 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38104 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38105 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38106 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38107 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38110 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38111 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38114 ## ----------------------------------------- ##
38115 ## Report this to wx-dev@lists.wxwidgets.org ##
38116 ## ----------------------------------------- ##
38119 sed "s/^/$as_me: WARNING: /" >&2
38122 echo "$as_me:$LINENO: checking for $ac_header" >&5
38123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38125 echo $ECHO_N "(cached) $ECHO_C" >&6
38127 eval "$as_ac_Header=\$ac_header_preproc"
38129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38134 cat >>confdefs.h
<<_ACEOF
38135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38142 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38144 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38145 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38148 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38150 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38151 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38156 if test "$wxUSE_JOYSTICK" = "yes"; then
38157 cat >>confdefs.h
<<\_ACEOF
38158 #define wxUSE_JOYSTICK 1
38161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
38168 if test "$wxUSE_FONTMAP" = "yes" ; then
38169 cat >>confdefs.h
<<\_ACEOF
38170 #define wxUSE_FONTMAP 1
38175 if test "$wxUSE_UNICODE" = "yes" ; then
38176 cat >>confdefs.h
<<\_ACEOF
38177 #define wxUSE_UNICODE 1
38181 if test "$USE_WIN32" != 1; then
38182 wxUSE_UNICODE_MSLU
=no
38185 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38186 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38187 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38188 if test "${ac_cv_lib_unicows_main+set}" = set; then
38189 echo $ECHO_N "(cached) $ECHO_C" >&6
38191 ac_check_lib_save_LIBS
=$LIBS
38192 LIBS
="-lunicows $LIBS"
38193 cat >conftest.
$ac_ext <<_ACEOF
38196 cat confdefs.h
>>conftest.
$ac_ext
38197 cat >>conftest.
$ac_ext <<_ACEOF
38198 /* end confdefs.h. */
38209 rm -f conftest.
$ac_objext conftest
$ac_exeext
38210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38211 (eval $ac_link) 2>conftest.er1
38213 grep -v '^ *+' conftest.er1
>conftest.err
38215 cat conftest.err
>&5
38216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38217 (exit $ac_status); } &&
38218 { ac_try
='test -z "$ac_c_werror_flag"
38219 || test ! -s conftest.err'
38220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38221 (eval $ac_try) 2>&5
38223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38224 (exit $ac_status); }; } &&
38225 { ac_try
='test -s conftest$ac_exeext'
38226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38227 (eval $ac_try) 2>&5
38229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38230 (exit $ac_status); }; }; then
38231 ac_cv_lib_unicows_main
=yes
38233 echo "$as_me: failed program was:" >&5
38234 sed 's/^/| /' conftest.
$ac_ext >&5
38236 ac_cv_lib_unicows_main
=no
38238 rm -f conftest.err conftest.
$ac_objext \
38239 conftest
$ac_exeext conftest.
$ac_ext
38240 LIBS
=$ac_check_lib_save_LIBS
38242 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38243 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38244 if test $ac_cv_lib_unicows_main = yes; then
38246 cat >>confdefs.h
<<\_ACEOF
38247 #define wxUSE_UNICODE_MSLU 1
38253 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38254 Applications will only run on Windows NT/2000/XP!" >&5
38255 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38256 Applications will only run on Windows NT/2000/XP!" >&2;}
38257 wxUSE_UNICODE_MSLU
=no
38264 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38265 cat >>confdefs.h
<<\_ACEOF
38266 #define wxUSE_EXPERIMENTAL_PRINTF 1
38272 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38273 cat >>confdefs.h
<<\_ACEOF
38274 #define wxUSE_POSTSCRIPT 1
38279 cat >>confdefs.h
<<\_ACEOF
38280 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38284 cat >>confdefs.h
<<\_ACEOF
38285 #define wxUSE_NORMALIZED_PS_FONTS 1
38290 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38291 cat >>confdefs.h
<<\_ACEOF
38292 #define wxUSE_CONSTRAINTS 1
38295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
38298 if test "$wxUSE_MDI" = "yes"; then
38299 cat >>confdefs.h
<<\_ACEOF
38300 #define wxUSE_MDI 1
38304 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38305 cat >>confdefs.h
<<\_ACEOF
38306 #define wxUSE_MDI_ARCHITECTURE 1
38309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
38313 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38314 cat >>confdefs.h
<<\_ACEOF
38315 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38318 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
38319 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38320 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
38324 if test "$wxUSE_HELP" = "yes"; then
38325 cat >>confdefs.h
<<\_ACEOF
38326 #define wxUSE_HELP 1
38329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
38331 if test "$wxUSE_MSW" = 1; then
38332 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38333 cat >>confdefs.h
<<\_ACEOF
38334 #define wxUSE_MS_HTML_HELP 1
38340 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38341 if test "$wxUSE_HTML" = "yes"; then
38342 cat >>confdefs.h
<<\_ACEOF
38343 #define wxUSE_WXHTML_HELP 1
38347 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38348 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38349 wxUSE_WXHTML_HELP
=no
38354 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38355 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38356 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38357 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38359 cat >>confdefs.h
<<\_ACEOF
38360 #define wxUSE_PRINTING_ARCHITECTURE 1
38364 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
38367 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38368 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38369 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38370 { (exit 1); exit 1; }; }
38374 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
38375 -o "$wxUSE_CLIPBOARD" = "yes" \
38376 -o "$wxUSE_OLE" = "yes" \
38377 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
38379 for ac_header
in ole2.h
38381 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38383 echo "$as_me:$LINENO: checking for $ac_header" >&5
38384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38386 echo $ECHO_N "(cached) $ECHO_C" >&6
38388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38391 # Is the header compilable?
38392 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38393 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38394 cat >conftest.
$ac_ext <<_ACEOF
38397 cat confdefs.h
>>conftest.
$ac_ext
38398 cat >>conftest.
$ac_ext <<_ACEOF
38399 /* end confdefs.h. */
38400 $ac_includes_default
38401 #include <$ac_header>
38403 rm -f conftest.
$ac_objext
38404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38405 (eval $ac_compile) 2>conftest.er1
38407 grep -v '^ *+' conftest.er1
>conftest.err
38409 cat conftest.err
>&5
38410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38411 (exit $ac_status); } &&
38412 { ac_try
='test -z "$ac_c_werror_flag"
38413 || test ! -s conftest.err'
38414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38415 (eval $ac_try) 2>&5
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); }; } &&
38419 { ac_try
='test -s conftest.$ac_objext'
38420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38421 (eval $ac_try) 2>&5
38423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424 (exit $ac_status); }; }; then
38425 ac_header_compiler
=yes
38427 echo "$as_me: failed program was:" >&5
38428 sed 's/^/| /' conftest.
$ac_ext >&5
38430 ac_header_compiler
=no
38432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38434 echo "${ECHO_T}$ac_header_compiler" >&6
38436 # Is the header present?
38437 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38439 cat >conftest.
$ac_ext <<_ACEOF
38442 cat confdefs.h
>>conftest.
$ac_ext
38443 cat >>conftest.
$ac_ext <<_ACEOF
38444 /* end confdefs.h. */
38445 #include <$ac_header>
38447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38448 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38450 grep -v '^ *+' conftest.er1
>conftest.err
38452 cat conftest.err
>&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); } >/dev
/null
; then
38455 if test -s conftest.err
; then
38456 ac_cpp_err
=$ac_c_preproc_warn_flag
38457 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38464 if test -z "$ac_cpp_err"; then
38465 ac_header_preproc
=yes
38467 echo "$as_me: failed program was:" >&5
38468 sed 's/^/| /' conftest.
$ac_ext >&5
38470 ac_header_preproc
=no
38472 rm -f conftest.err conftest.
$ac_ext
38473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38474 echo "${ECHO_T}$ac_header_preproc" >&6
38476 # So? What about this header?
38477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38482 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38483 ac_header_preproc
=yes
38486 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38487 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38488 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38489 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38490 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38491 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38492 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38493 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38496 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38497 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38500 ## ----------------------------------------- ##
38501 ## Report this to wx-dev@lists.wxwidgets.org ##
38502 ## ----------------------------------------- ##
38505 sed "s/^/$as_me: WARNING: /" >&2
38508 echo "$as_me:$LINENO: checking for $ac_header" >&5
38509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38511 echo $ECHO_N "(cached) $ECHO_C" >&6
38513 eval "$as_ac_Header=\$ac_header_preproc"
38515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38520 cat >>confdefs.h
<<_ACEOF
38521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38529 if test "$ac_cv_header_ole2_h" = "yes" ; then
38530 if test "$GCC" = yes ; then
38534 ac_cpp
='$CXXCPP $CPPFLAGS'
38535 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38536 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38537 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38540 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38541 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38542 cat >conftest.
$ac_ext <<_ACEOF
38545 cat confdefs.h
>>conftest.
$ac_ext
38546 cat >>conftest.
$ac_ext <<_ACEOF
38547 /* end confdefs.h. */
38548 #include <windows.h>
38558 rm -f conftest.
$ac_objext
38559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38560 (eval $ac_compile) 2>conftest.er1
38562 grep -v '^ *+' conftest.er1
>conftest.err
38564 cat conftest.err
>&5
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); } &&
38567 { ac_try
='test -z "$ac_cxx_werror_flag"
38568 || test ! -s conftest.err'
38569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38570 (eval $ac_try) 2>&5
38572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 (exit $ac_status); }; } &&
38574 { ac_try
='test -s conftest.$ac_objext'
38575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38576 (eval $ac_try) 2>&5
38578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38579 (exit $ac_status); }; }; then
38580 echo "$as_me:$LINENO: result: no" >&5
38581 echo "${ECHO_T}no" >&6
38583 echo "$as_me: failed program was:" >&5
38584 sed 's/^/| /' conftest.
$ac_ext >&5
38586 echo "$as_me:$LINENO: result: yes" >&5
38587 echo "${ECHO_T}yes" >&6
38588 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38592 ac_cpp
='$CPP $CPPFLAGS'
38593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38597 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38598 if test "$wxUSE_OLE" = "yes" ; then
38599 cat >>confdefs.h
<<\_ACEOF
38600 #define wxUSE_OLE 1
38603 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
38607 if test "$wxUSE_DATAOBJ" = "yes" ; then
38608 cat >>confdefs.h
<<\_ACEOF
38609 #define wxUSE_DATAOBJ 1
38614 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38615 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38618 wxUSE_DRAG_AND_DROP
=no
38623 if test "$wxUSE_METAFILE" = "yes"; then
38624 cat >>confdefs.h
<<\_ACEOF
38625 #define wxUSE_METAFILE 1
38629 cat >>confdefs.h
<<\_ACEOF
38630 #define wxUSE_ENH_METAFILE 1
38636 if test "$wxUSE_IPC" = "yes"; then
38637 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38638 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38639 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38643 if test "$wxUSE_IPC" = "yes"; then
38644 cat >>confdefs.h
<<\_ACEOF
38645 #define wxUSE_IPC 1
38648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
38652 if test "$wxUSE_CLIPBOARD" = "yes"; then
38653 if test "$wxUSE_MGL" = 1; then
38654 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38655 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38659 if test "$wxUSE_CLIPBOARD" = "yes"; then
38660 cat >>confdefs.h
<<\_ACEOF
38661 #define wxUSE_CLIPBOARD 1
38665 cat >>confdefs.h
<<\_ACEOF
38666 #define wxUSE_DATAOBJ 1
38672 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38673 if test "$wxUSE_GTK" = 1; then
38674 if test "$WXGTK12" != 1; then
38675 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38676 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38677 wxUSE_DRAG_AND_DROP
=no
38681 if test "$wxUSE_MOTIF" = 1; then
38682 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38683 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38684 wxUSE_DRAG_AND_DROP
=no
38687 if test "$wxUSE_X11" = 1; then
38688 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38689 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38690 wxUSE_DRAG_AND_DROP
=no
38693 if test "$wxUSE_MGL" = 1; then
38694 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38695 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38696 wxUSE_DRAG_AND_DROP
=no
38699 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38700 cat >>confdefs.h
<<\_ACEOF
38701 #define wxUSE_DRAG_AND_DROP 1
38708 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
38712 if test "$wxUSE_SPLINES" = "yes" ; then
38713 cat >>confdefs.h
<<\_ACEOF
38714 #define wxUSE_SPLINES 1
38721 if test "$wxUSE_CONTROLS" = "yes"; then
38725 if test "$wxUSE_ACCEL" = "yes"; then
38726 cat >>confdefs.h
<<\_ACEOF
38727 #define wxUSE_ACCEL 1
38733 if test "$wxUSE_BUTTON" = "yes"; then
38734 cat >>confdefs.h
<<\_ACEOF
38735 #define wxUSE_BUTTON 1
38741 if test "$wxUSE_BMPBUTTON" = "yes"; then
38742 cat >>confdefs.h
<<\_ACEOF
38743 #define wxUSE_BMPBUTTON 1
38749 if test "$wxUSE_CALCTRL" = "yes"; then
38750 cat >>confdefs.h
<<\_ACEOF
38751 #define wxUSE_CALENDARCTRL 1
38755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
38758 if test "$wxUSE_CARET" = "yes"; then
38759 cat >>confdefs.h
<<\_ACEOF
38760 #define wxUSE_CARET 1
38764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
38767 if test "$wxUSE_COMBOBOX" = "yes"; then
38768 cat >>confdefs.h
<<\_ACEOF
38769 #define wxUSE_COMBOBOX 1
38775 if test "$wxUSE_CHOICE" = "yes"; then
38776 cat >>confdefs.h
<<\_ACEOF
38777 #define wxUSE_CHOICE 1
38783 if test "$wxUSE_CHOICEBOOK" = "yes"; then
38784 cat >>confdefs.h
<<\_ACEOF
38785 #define wxUSE_CHOICEBOOK 1
38791 if test "$wxUSE_CHECKBOX" = "yes"; then
38792 cat >>confdefs.h
<<\_ACEOF
38793 #define wxUSE_CHECKBOX 1
38799 if test "$wxUSE_CHECKLST" = "yes"; then
38800 cat >>confdefs.h
<<\_ACEOF
38801 #define wxUSE_CHECKLISTBOX 1
38805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
38808 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
38809 cat >>confdefs.h
<<\_ACEOF
38810 #define wxUSE_DATEPICKCTRL 1
38816 if test "$wxUSE_DISPLAY" = "yes"; then
38817 cat >>confdefs.h
<<\_ACEOF
38818 #define wxUSE_DISPLAY 1
38821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
38824 if test "$wxUSE_GAUGE" = "yes"; then
38825 cat >>confdefs.h
<<\_ACEOF
38826 #define wxUSE_GAUGE 1
38832 if test "$wxUSE_GRID" = "yes"; then
38833 cat >>confdefs.h
<<\_ACEOF
38834 #define wxUSE_GRID 1
38838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
38841 if test "$wxUSE_IMAGLIST" = "yes"; then
38842 cat >>confdefs.h
<<\_ACEOF
38843 #define wxUSE_IMAGLIST 1
38848 if test "$wxUSE_LISTBOOK" = "yes"; then
38849 cat >>confdefs.h
<<\_ACEOF
38850 #define wxUSE_LISTBOOK 1
38856 if test "$wxUSE_LISTBOX" = "yes"; then
38857 cat >>confdefs.h
<<\_ACEOF
38858 #define wxUSE_LISTBOX 1
38862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
38865 if test "$wxUSE_LISTCTRL" = "yes"; then
38866 if test "$wxUSE_IMAGLIST" = "yes"; then
38867 cat >>confdefs.h
<<\_ACEOF
38868 #define wxUSE_LISTCTRL 1
38872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
38874 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
38875 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
38879 if test "$wxUSE_NOTEBOOK" = "yes"; then
38880 cat >>confdefs.h
<<\_ACEOF
38881 #define wxUSE_NOTEBOOK 1
38885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
38889 if test "$wxUSE_RADIOBOX" = "yes"; then
38890 cat >>confdefs.h
<<\_ACEOF
38891 #define wxUSE_RADIOBOX 1
38897 if test "$wxUSE_RADIOBTN" = "yes"; then
38898 cat >>confdefs.h
<<\_ACEOF
38899 #define wxUSE_RADIOBTN 1
38905 if test "$wxUSE_SASH" = "yes"; then
38906 cat >>confdefs.h
<<\_ACEOF
38907 #define wxUSE_SASH 1
38910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
38913 if test "$wxUSE_SCROLLBAR" = "yes"; then
38914 cat >>confdefs.h
<<\_ACEOF
38915 #define wxUSE_SCROLLBAR 1
38919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
38922 if test "$wxUSE_SLIDER" = "yes"; then
38923 cat >>confdefs.h
<<\_ACEOF
38924 #define wxUSE_SLIDER 1
38930 if test "$wxUSE_SPINBTN" = "yes"; then
38931 cat >>confdefs.h
<<\_ACEOF
38932 #define wxUSE_SPINBTN 1
38938 if test "$wxUSE_SPINCTRL" = "yes"; then
38939 cat >>confdefs.h
<<\_ACEOF
38940 #define wxUSE_SPINCTRL 1
38946 if test "$wxUSE_SPLITTER" = "yes"; then
38947 cat >>confdefs.h
<<\_ACEOF
38948 #define wxUSE_SPLITTER 1
38951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
38954 if test "$wxUSE_STATBMP" = "yes"; then
38955 cat >>confdefs.h
<<\_ACEOF
38956 #define wxUSE_STATBMP 1
38962 if test "$wxUSE_STATBOX" = "yes"; then
38963 cat >>confdefs.h
<<\_ACEOF
38964 #define wxUSE_STATBOX 1
38970 if test "$wxUSE_STATTEXT" = "yes"; then
38971 cat >>confdefs.h
<<\_ACEOF
38972 #define wxUSE_STATTEXT 1
38978 if test "$wxUSE_STATLINE" = "yes"; then
38979 cat >>confdefs.h
<<\_ACEOF
38980 #define wxUSE_STATLINE 1
38986 if test "$wxUSE_STATUSBAR" = "yes"; then
38987 cat >>confdefs.h
<<\_ACEOF
38988 #define wxUSE_NATIVE_STATUSBAR 1
38991 cat >>confdefs.h
<<\_ACEOF
38992 #define wxUSE_STATUSBAR 1
38997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
39000 if test "$wxUSE_TABDIALOG" = "yes"; then
39001 cat >>confdefs.h
<<\_ACEOF
39002 #define wxUSE_TAB_DIALOG 1
39007 if test "$wxUSE_TEXTCTRL" = "yes"; then
39008 cat >>confdefs.h
<<\_ACEOF
39009 #define wxUSE_TEXTCTRL 1
39013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
39016 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39017 if test "$wxUSE_COCOA" = 1 ; then
39018 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39019 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39022 if test "$wxUSE_PM" = 1; then
39023 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
39024 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
39028 if test "$wxUSE_UNIVERSAL" = "yes"; then
39029 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39030 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39034 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39035 cat >>confdefs.h
<<\_ACEOF
39036 #define wxUSE_TOGGLEBTN 1
39043 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39044 cat >>confdefs.h
<<\_ACEOF
39045 #define wxUSE_TOOLBAR_SIMPLE 1
39048 wxUSE_TOOLBAR
="yes"
39052 if test "$wxUSE_TOOLBAR" = "yes"; then
39053 cat >>confdefs.h
<<\_ACEOF
39054 #define wxUSE_TOOLBAR 1
39059 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39060 wxUSE_TOOLBAR_NATIVE
="yes"
39063 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39064 cat >>confdefs.h
<<\_ACEOF
39065 #define wxUSE_TOOLBAR_NATIVE 1
39071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
39074 if test "$wxUSE_TOOLTIPS" = "yes"; then
39075 if test "$wxUSE_MOTIF" = 1; then
39076 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39077 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39079 if test "$wxUSE_UNIVERSAL" = "yes"; then
39080 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39081 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39083 cat >>confdefs.h
<<\_ACEOF
39084 #define wxUSE_TOOLTIPS 1
39091 if test "$wxUSE_TREECTRL" = "yes"; then
39092 if test "$wxUSE_IMAGLIST" = "yes"; then
39093 cat >>confdefs.h
<<\_ACEOF
39094 #define wxUSE_TREECTRL 1
39098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
39100 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39101 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39105 if test "$wxUSE_POPUPWIN" = "yes"; then
39106 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39107 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39108 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39110 if test "$wxUSE_PM" = 1; then
39111 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39112 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39114 cat >>confdefs.h
<<\_ACEOF
39115 #define wxUSE_POPUPWIN 1
39118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
39125 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39126 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39127 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39128 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39130 cat >>confdefs.h
<<\_ACEOF
39131 #define wxUSE_DIALUP_MANAGER 1
39134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
39138 if test "$wxUSE_TIPWINDOW" = "yes"; then
39139 if test "$wxUSE_PM" = 1; then
39140 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39141 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39143 cat >>confdefs.h
<<\_ACEOF
39144 #define wxUSE_TIPWINDOW 1
39150 if test "$USES_CONTROLS" = 1; then
39151 cat >>confdefs.h
<<\_ACEOF
39152 #define wxUSE_CONTROLS 1
39158 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39159 cat >>confdefs.h
<<\_ACEOF
39160 #define wxUSE_ACCESSIBILITY 1
39163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
39166 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39167 cat >>confdefs.h
<<\_ACEOF
39168 #define wxUSE_DRAGIMAGE 1
39171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
39174 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39175 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39176 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39177 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39179 cat >>confdefs.h
<<\_ACEOF
39180 #define wxUSE_EXCEPTIONS 1
39183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39188 if test "$wxUSE_HTML" = "yes"; then
39189 cat >>confdefs.h
<<\_ACEOF
39190 #define wxUSE_HTML 1
39194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39195 if test "$wxUSE_MAC" = 1; then
39196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
39199 if test "$wxUSE_WEBKIT" = "yes"; then
39200 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39201 old_CPPFLAGS
="$CPPFLAGS"
39202 CPPFLAGS
="$CPPFLAGS -x objective-c++"
39203 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39204 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39205 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39206 echo $ECHO_N "(cached) $ECHO_C" >&6
39208 cat >conftest.
$ac_ext <<_ACEOF
39211 cat confdefs.h
>>conftest.
$ac_ext
39212 cat >>conftest.
$ac_ext <<_ACEOF
39213 /* end confdefs.h. */
39214 #include <Carbon/Carbon.h>
39216 #include <WebKit/HIWebView.h>
39218 rm -f conftest.
$ac_objext
39219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39220 (eval $ac_compile) 2>conftest.er1
39222 grep -v '^ *+' conftest.er1
>conftest.err
39224 cat conftest.err
>&5
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); } &&
39227 { ac_try
='test -z "$ac_c_werror_flag"
39228 || test ! -s conftest.err'
39229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39230 (eval $ac_try) 2>&5
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); }; } &&
39234 { ac_try
='test -s conftest.$ac_objext'
39235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39236 (eval $ac_try) 2>&5
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); }; }; then
39240 ac_cv_header_WebKit_HIWebView_h
=yes
39242 echo "$as_me: failed program was:" >&5
39243 sed 's/^/| /' conftest.
$ac_ext >&5
39245 ac_cv_header_WebKit_HIWebView_h
=no
39247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39249 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39250 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39251 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39253 cat >>confdefs.h
<<\_ACEOF
39254 #define wxUSE_WEBKIT 1
39257 WEBKIT_LINK
="-framework WebKit"
39261 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39262 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39268 CPPFLAGS
="$old_CPPFLAGS"
39269 elif test "$wxUSE_COCOA" = 1; then
39270 cat >>confdefs.h
<<\_ACEOF
39271 #define wxUSE_WEBKIT 1
39280 if test "$wxUSE_XRC" = "yes"; then
39281 if test "$wxUSE_XML" != "yes"; then
39282 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39283 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39286 cat >>confdefs.h
<<\_ACEOF
39287 #define wxUSE_XRC 1
39291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
39295 if test "$wxUSE_MENUS" = "yes"; then
39296 cat >>confdefs.h
<<\_ACEOF
39297 #define wxUSE_MENUS 1
39300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
39303 if test "$wxUSE_METAFILE" = "yes"; then
39304 cat >>confdefs.h
<<\_ACEOF
39305 #define wxUSE_METAFILE 1
39310 if test "$wxUSE_MIMETYPE" = "yes"; then
39311 cat >>confdefs.h
<<\_ACEOF
39312 #define wxUSE_MIMETYPE 1
39317 if test "$wxUSE_MINIFRAME" = "yes"; then
39318 cat >>confdefs.h
<<\_ACEOF
39319 #define wxUSE_MINIFRAME 1
39322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
39325 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39326 cat >>confdefs.h
<<\_ACEOF
39327 #define wxUSE_SYSTEM_OPTIONS 1
39330 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39331 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
39337 if test "$wxUSE_VALIDATORS" = "yes"; then
39338 cat >>confdefs.h
<<\_ACEOF
39339 #define wxUSE_VALIDATORS 1
39342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
39345 if test "$wxUSE_PALETTE" = "yes" ; then
39346 cat >>confdefs.h
<<\_ACEOF
39347 #define wxUSE_PALETTE 1
39352 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39353 LIBS
=" -lunicows $LIBS"
39357 if test "$wxUSE_IMAGE" = "yes" ; then
39358 cat >>confdefs.h
<<\_ACEOF
39359 #define wxUSE_IMAGE 1
39363 if test "$wxUSE_GIF" = "yes" ; then
39364 cat >>confdefs.h
<<\_ACEOF
39365 #define wxUSE_GIF 1
39370 if test "$wxUSE_PCX" = "yes" ; then
39371 cat >>confdefs.h
<<\_ACEOF
39372 #define wxUSE_PCX 1
39377 if test "$wxUSE_IFF" = "yes" ; then
39378 cat >>confdefs.h
<<\_ACEOF
39379 #define wxUSE_IFF 1
39384 if test "$wxUSE_PNM" = "yes" ; then
39385 cat >>confdefs.h
<<\_ACEOF
39386 #define wxUSE_PNM 1
39391 if test "$wxUSE_XPM" = "yes" ; then
39392 cat >>confdefs.h
<<\_ACEOF
39393 #define wxUSE_XPM 1
39398 if test "$wxUSE_ICO_CUR" = "yes" ; then
39399 cat >>confdefs.h
<<\_ACEOF
39400 #define wxUSE_ICO_CUR 1
39407 if test "$wxUSE_CHOICEDLG" = "yes"; then
39408 cat >>confdefs.h
<<\_ACEOF
39409 #define wxUSE_CHOICEDLG 1
39414 if test "$wxUSE_COLOURDLG" = "yes"; then
39415 cat >>confdefs.h
<<\_ACEOF
39416 #define wxUSE_COLOURDLG 1
39421 if test "$wxUSE_FILEDLG" = "yes"; then
39422 cat >>confdefs.h
<<\_ACEOF
39423 #define wxUSE_FILEDLG 1
39428 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39429 cat >>confdefs.h
<<\_ACEOF
39430 #define wxUSE_FINDREPLDLG 1
39435 if test "$wxUSE_FONTDLG" = "yes"; then
39436 cat >>confdefs.h
<<\_ACEOF
39437 #define wxUSE_FONTDLG 1
39442 if test "$wxUSE_DIRDLG" = "yes"; then
39443 if test "$wxUSE_TREECTRL" != "yes"; then
39444 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39445 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39447 cat >>confdefs.h
<<\_ACEOF
39448 #define wxUSE_DIRDLG 1
39454 if test "$wxUSE_MSGDLG" = "yes"; then
39455 cat >>confdefs.h
<<\_ACEOF
39456 #define wxUSE_MSGDLG 1
39461 if test "$wxUSE_NUMBERDLG" = "yes"; then
39462 cat >>confdefs.h
<<\_ACEOF
39463 #define wxUSE_NUMBERDLG 1
39468 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39469 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39470 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39471 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39473 cat >>confdefs.h
<<\_ACEOF
39474 #define wxUSE_PROGRESSDLG 1
39480 if test "$wxUSE_SPLASH" = "yes"; then
39481 cat >>confdefs.h
<<\_ACEOF
39482 #define wxUSE_SPLASH 1
39485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
39488 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39489 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39490 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39491 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39493 cat >>confdefs.h
<<\_ACEOF
39494 #define wxUSE_STARTUP_TIPS 1
39500 if test "$wxUSE_TEXTDLG" = "yes"; then
39501 cat >>confdefs.h
<<\_ACEOF
39502 #define wxUSE_TEXTDLG 1
39507 if test "$wxUSE_WIZARDDLG" = "yes"; then
39508 cat >>confdefs.h
<<\_ACEOF
39509 #define wxUSE_WIZARDDLG 1
39512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
39516 if test "$wxUSE_MEDIACTRL" = "yes"; then
39517 if test "$wxUSE_MSW" = 1; then
39518 wxUSE_DIRECTSHOW
="yes"
39520 for ac_header
in dshow.h
39522 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39523 echo "$as_me:$LINENO: checking for $ac_header" >&5
39524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39526 echo $ECHO_N "(cached) $ECHO_C" >&6
39528 cat >conftest.
$ac_ext <<_ACEOF
39531 cat confdefs.h
>>conftest.
$ac_ext
39532 cat >>conftest.
$ac_ext <<_ACEOF
39533 /* end confdefs.h. */
39534 #include <windows.h>
39536 #include <$ac_header>
39538 rm -f conftest.
$ac_objext
39539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39540 (eval $ac_compile) 2>conftest.er1
39542 grep -v '^ *+' conftest.er1
>conftest.err
39544 cat conftest.err
>&5
39545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39546 (exit $ac_status); } &&
39547 { ac_try
='test -z "$ac_c_werror_flag"
39548 || test ! -s conftest.err'
39549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39550 (eval $ac_try) 2>&5
39552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39553 (exit $ac_status); }; } &&
39554 { ac_try
='test -s conftest.$ac_objext'
39555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39556 (eval $ac_try) 2>&5
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); }; }; then
39560 eval "$as_ac_Header=yes"
39562 echo "$as_me: failed program was:" >&5
39563 sed 's/^/| /' conftest.
$ac_ext >&5
39565 eval "$as_ac_Header=no"
39567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39572 cat >>confdefs.h
<<_ACEOF
39573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39578 wxUSE_DIRECTSHOW
="no"
39579 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39580 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39587 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39588 cat >>confdefs.h
<<\_ACEOF
39589 #define wxUSE_DIRECTSHOW 1
39592 LIBS
="$LIBS -lstrmiids"
39596 if test "$wxUSE_GTK" = 1; then
39597 wxUSE_GSTREAMER
="yes"
39602 if test -z "$PKG_CONFIG"; then
39603 # Extract the first word of "pkg-config", so it can be a program name with args.
39604 set dummy pkg
-config; ac_word
=$2
39605 echo "$as_me:$LINENO: checking for $ac_word" >&5
39606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39607 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39608 echo $ECHO_N "(cached) $ECHO_C" >&6
39610 case $PKG_CONFIG in
39612 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39616 for as_dir
in $PATH
39619 test -z "$as_dir" && as_dir
=.
39620 for ac_exec_ext
in '' $ac_executable_extensions; do
39621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39622 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39629 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39633 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39635 if test -n "$PKG_CONFIG"; then
39636 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39637 echo "${ECHO_T}$PKG_CONFIG" >&6
39639 echo "$as_me:$LINENO: result: no" >&5
39640 echo "${ECHO_T}no" >&6
39645 if test "$PKG_CONFIG" = "no" ; then
39646 echo "*** The pkg-config script could not be found. Make sure it is"
39647 echo "*** in your path, or set the PKG_CONFIG environment variable"
39648 echo "*** to the full path to pkg-config."
39649 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39651 PKG_CONFIG_MIN_VERSION
=0.9.0
39652 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39653 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39654 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39656 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39657 echo "$as_me:$LINENO: result: yes" >&5
39658 echo "${ECHO_T}yes" >&6
39661 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39662 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39663 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39664 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39665 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39667 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39668 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39669 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
39670 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39671 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39673 GSTREAMER_CFLAGS
=""
39675 ## If we have a custom action on failure, don't print errors, but
39676 ## do set a variable so people can do so.
39677 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39684 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39685 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39689 if test $succeeded = yes; then
39691 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
39692 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39696 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39697 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39698 wxUSE_GSTREAMER
="no"
39706 if test "x$GST_INSPECT" == "x"; then
39707 # Extract the first word of "gst-inspect", so it can be a program name with args.
39708 set dummy gst
-inspect; ac_word
=$2
39709 echo "$as_me:$LINENO: checking for $ac_word" >&5
39710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39711 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39712 echo $ECHO_N "(cached) $ECHO_C" >&6
39714 if test -n "$GST_INSPECT"; then
39715 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
39717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39718 for as_dir
in $PATH
39721 test -z "$as_dir" && as_dir
=.
39722 for ac_exec_ext
in '' $ac_executable_extensions; do
39723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39724 ac_cv_prog_GST_INSPECT
="gst-inspect"
39725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39733 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
39734 if test -n "$GST_INSPECT"; then
39735 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39736 echo "${ECHO_T}$GST_INSPECT" >&6
39738 echo "$as_me:$LINENO: result: no" >&5
39739 echo "${ECHO_T}no" >&6
39744 if test "x$GST_INSPECT" != "x"; then
39745 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39746 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39747 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
39748 echo "$as_me:$LINENO: result: found." >&5
39749 echo "${ECHO_T}found." >&6
39752 echo "$as_me:$LINENO: result: not found." >&5
39753 echo "${ECHO_T}not found." >&6
39755 wxUSE_GSTREAMER
="no"
39756 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39757 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39763 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39764 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39765 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39766 echo $ECHO_N "(cached) $ECHO_C" >&6
39768 cat >conftest.
$ac_ext <<_ACEOF
39771 cat confdefs.h
>>conftest.
$ac_ext
39772 cat >>conftest.
$ac_ext <<_ACEOF
39773 /* end confdefs.h. */
39774 #include <gst/gst.h>
39776 #include <gst/xoverlay/xoverlay.h>
39778 rm -f conftest.
$ac_objext
39779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39780 (eval $ac_compile) 2>conftest.er1
39782 grep -v '^ *+' conftest.er1
>conftest.err
39784 cat conftest.err
>&5
39785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39786 (exit $ac_status); } &&
39787 { ac_try
='test -z "$ac_c_werror_flag"
39788 || test ! -s conftest.err'
39789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39790 (eval $ac_try) 2>&5
39792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39793 (exit $ac_status); }; } &&
39794 { ac_try
='test -s conftest.$ac_objext'
39795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39796 (eval $ac_try) 2>&5
39798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39799 (exit $ac_status); }; }; then
39800 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
39802 echo "$as_me: failed program was:" >&5
39803 sed 's/^/| /' conftest.
$ac_ext >&5
39805 ac_cv_header_gst_xoverlay_xoverlay_h
=no
39807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39809 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
39810 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
39811 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
39815 wxUSE_GSTREAMER
="no"
39816 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
39817 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
39823 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
39824 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
39827 for ac_dir
in $SEARCH_LIB /usr
/lib
;
39829 for ac_extension
in a so sl dylib
; do
39830 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
39831 ac_find_libraries
=$ac_dir
39838 if test "$ac_find_libraries" = "" ; then
39839 echo "$as_me:$LINENO: result: no" >&5
39840 echo "${ECHO_T}no" >&6
39841 wxUSE_GSTREAMER
="no"
39843 echo "$as_me:$LINENO: result: yes" >&5
39844 echo "${ECHO_T}yes" >&6
39847 if test "$wxUSE_GSTREAMER" = "yes"; then
39848 cat >>confdefs.h
<<\_ACEOF
39849 #define wxUSE_GSTREAMER 1
39852 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
39853 echo "${ECHO_T}GStreamer detection successful" >&6
39856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
39857 cat >>confdefs.h
<<\_ACEOF
39858 #define wxUSE_MEDIACTRL 1
39864 if test "$cross_compiling" = "yes"; then
39867 OSINFO
=`uname -s -r -m`
39868 OSINFO
="\"$OSINFO\""
39871 cat >>confdefs.h
<<_ACEOF
39872 #define WXWIN_OS_DESCRIPTION $OSINFO
39877 if test "x$prefix" != "xNONE"; then
39880 wxPREFIX
=$ac_default_prefix
39883 cat >>confdefs.h
<<_ACEOF
39884 #define wxINSTALL_PREFIX "$wxPREFIX"
39890 CORE_BASE_LIBS
="net base"
39891 CORE_GUI_LIBS
="adv core"
39893 if test "$wxUSE_XML" = "yes" ; then
39894 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
39896 if test "$wxUSE_ODBC" != "no" ; then
39897 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
39898 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
39900 if test "$wxUSE_HTML" = "yes" ; then
39901 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
39903 if test "$wxUSE_XRC" = "yes" ; then
39904 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
39907 if test "$wxUSE_GUI" != "yes"; then
39918 if test "$wxUSE_MAC" = 1 ; then
39919 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39920 if test "$USE_DARWIN" = 1; then
39921 LDFLAGS
="$LDFLAGS -framework QuickTime"
39923 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
39926 if test "$USE_DARWIN" = 1; then
39927 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39929 LDFLAGS
="$LDFLAGS -lCarbonLib"
39932 if test "$wxUSE_COCOA" = 1 ; then
39933 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
39934 if test "$wxUSE_MEDIACTRL" = "yes"; then
39935 LDFLAGS
="$LDFLAGS -framework QuickTime"
39940 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39947 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39948 echo "$as_me:$LINENO: checking for $ac_func" >&5
39949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39950 if eval "test \"\${$as_ac_var+set}\" = set"; then
39951 echo $ECHO_N "(cached) $ECHO_C" >&6
39953 cat >conftest.
$ac_ext <<_ACEOF
39956 cat confdefs.h
>>conftest.
$ac_ext
39957 cat >>conftest.
$ac_ext <<_ACEOF
39958 /* end confdefs.h. */
39959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39961 #define $ac_func innocuous_$ac_func
39963 /* System header to define __stub macros and hopefully few prototypes,
39964 which can conflict with char $ac_func (); below.
39965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39966 <limits.h> exists even on freestanding compilers. */
39969 # include <limits.h>
39971 # include <assert.h>
39976 /* Override any gcc2 internal prototype to avoid an error. */
39981 /* We use char because int might match the return type of a gcc2
39982 builtin and then its argument prototype would still apply. */
39984 /* The GNU C library defines this for functions which it implements
39985 to always fail with ENOSYS. Some functions are actually named
39986 something starting with __ and the normal name is an alias. */
39987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39990 char (*f) () = $ac_func;
39999 return f != $ac_func;
40004 rm -f conftest.
$ac_objext conftest
$ac_exeext
40005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40006 (eval $ac_link) 2>conftest.er1
40008 grep -v '^ *+' conftest.er1
>conftest.err
40010 cat conftest.err
>&5
40011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40012 (exit $ac_status); } &&
40013 { ac_try
='test -z "$ac_c_werror_flag"
40014 || test ! -s conftest.err'
40015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40016 (eval $ac_try) 2>&5
40018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40019 (exit $ac_status); }; } &&
40020 { ac_try
='test -s conftest$ac_exeext'
40021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40022 (eval $ac_try) 2>&5
40024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40025 (exit $ac_status); }; }; then
40026 eval "$as_ac_var=yes"
40028 echo "$as_me: failed program was:" >&5
40029 sed 's/^/| /' conftest.
$ac_ext >&5
40031 eval "$as_ac_var=no"
40033 rm -f conftest.err conftest.
$ac_objext \
40034 conftest
$ac_exeext conftest.
$ac_ext
40036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40038 if test `eval echo '${'$as_ac_var'}'` = yes; then
40039 cat >>confdefs.h
<<_ACEOF
40040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40047 for ac_func
in floor
40049 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40050 echo "$as_me:$LINENO: checking for $ac_func" >&5
40051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40052 if eval "test \"\${$as_ac_var+set}\" = set"; then
40053 echo $ECHO_N "(cached) $ECHO_C" >&6
40055 cat >conftest.
$ac_ext <<_ACEOF
40058 cat confdefs.h
>>conftest.
$ac_ext
40059 cat >>conftest.
$ac_ext <<_ACEOF
40060 /* end confdefs.h. */
40061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40063 #define $ac_func innocuous_$ac_func
40065 /* System header to define __stub macros and hopefully few prototypes,
40066 which can conflict with char $ac_func (); below.
40067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40068 <limits.h> exists even on freestanding compilers. */
40071 # include <limits.h>
40073 # include <assert.h>
40078 /* Override any gcc2 internal prototype to avoid an error. */
40083 /* We use char because int might match the return type of a gcc2
40084 builtin and then its argument prototype would still apply. */
40086 /* The GNU C library defines this for functions which it implements
40087 to always fail with ENOSYS. Some functions are actually named
40088 something starting with __ and the normal name is an alias. */
40089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40092 char (*f) () = $ac_func;
40101 return f != $ac_func;
40106 rm -f conftest.
$ac_objext conftest
$ac_exeext
40107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40108 (eval $ac_link) 2>conftest.er1
40110 grep -v '^ *+' conftest.er1
>conftest.err
40112 cat conftest.err
>&5
40113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40114 (exit $ac_status); } &&
40115 { ac_try
='test -z "$ac_c_werror_flag"
40116 || test ! -s conftest.err'
40117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40118 (eval $ac_try) 2>&5
40120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40121 (exit $ac_status); }; } &&
40122 { ac_try
='test -s conftest$ac_exeext'
40123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40124 (eval $ac_try) 2>&5
40126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40127 (exit $ac_status); }; }; then
40128 eval "$as_ac_var=yes"
40130 echo "$as_me: failed program was:" >&5
40131 sed 's/^/| /' conftest.
$ac_ext >&5
40133 eval "$as_ac_var=no"
40135 rm -f conftest.err conftest.
$ac_objext \
40136 conftest
$ac_exeext conftest.
$ac_ext
40138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40140 if test `eval echo '${'$as_ac_var'}'` = yes; then
40141 cat >>confdefs.h
<<_ACEOF
40142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40148 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40149 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40150 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40151 echo "$as_me:$LINENO: result: yes" >&5
40152 echo "${ECHO_T}yes" >&6
40154 echo "$as_me:$LINENO: result: no" >&5
40155 echo "${ECHO_T}no" >&6
40157 # use different functions to avoid configure caching
40163 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40164 echo "$as_me:$LINENO: checking for $ac_func" >&5
40165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40166 if eval "test \"\${$as_ac_var+set}\" = set"; then
40167 echo $ECHO_N "(cached) $ECHO_C" >&6
40169 cat >conftest.
$ac_ext <<_ACEOF
40172 cat confdefs.h
>>conftest.
$ac_ext
40173 cat >>conftest.
$ac_ext <<_ACEOF
40174 /* end confdefs.h. */
40175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40177 #define $ac_func innocuous_$ac_func
40179 /* System header to define __stub macros and hopefully few prototypes,
40180 which can conflict with char $ac_func (); below.
40181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40182 <limits.h> exists even on freestanding compilers. */
40185 # include <limits.h>
40187 # include <assert.h>
40192 /* Override any gcc2 internal prototype to avoid an error. */
40197 /* We use char because int might match the return type of a gcc2
40198 builtin and then its argument prototype would still apply. */
40200 /* The GNU C library defines this for functions which it implements
40201 to always fail with ENOSYS. Some functions are actually named
40202 something starting with __ and the normal name is an alias. */
40203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40206 char (*f) () = $ac_func;
40215 return f != $ac_func;
40220 rm -f conftest.
$ac_objext conftest
$ac_exeext
40221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40222 (eval $ac_link) 2>conftest.er1
40224 grep -v '^ *+' conftest.er1
>conftest.err
40226 cat conftest.err
>&5
40227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40228 (exit $ac_status); } &&
40229 { ac_try
='test -z "$ac_c_werror_flag"
40230 || test ! -s conftest.err'
40231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40232 (eval $ac_try) 2>&5
40234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40235 (exit $ac_status); }; } &&
40236 { ac_try
='test -s conftest$ac_exeext'
40237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40238 (eval $ac_try) 2>&5
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); }; }; then
40242 eval "$as_ac_var=yes"
40244 echo "$as_me: failed program was:" >&5
40245 sed 's/^/| /' conftest.
$ac_ext >&5
40247 eval "$as_ac_var=no"
40249 rm -f conftest.err conftest.
$ac_objext \
40250 conftest
$ac_exeext conftest.
$ac_ext
40252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40254 if test `eval echo '${'$as_ac_var'}'` = yes; then
40255 cat >>confdefs.h
<<_ACEOF
40256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40263 for ac_func
in ceil
40265 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40266 echo "$as_me:$LINENO: checking for $ac_func" >&5
40267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40268 if eval "test \"\${$as_ac_var+set}\" = set"; then
40269 echo $ECHO_N "(cached) $ECHO_C" >&6
40271 cat >conftest.
$ac_ext <<_ACEOF
40274 cat confdefs.h
>>conftest.
$ac_ext
40275 cat >>conftest.
$ac_ext <<_ACEOF
40276 /* end confdefs.h. */
40277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40279 #define $ac_func innocuous_$ac_func
40281 /* System header to define __stub macros and hopefully few prototypes,
40282 which can conflict with char $ac_func (); below.
40283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40284 <limits.h> exists even on freestanding compilers. */
40287 # include <limits.h>
40289 # include <assert.h>
40294 /* Override any gcc2 internal prototype to avoid an error. */
40299 /* We use char because int might match the return type of a gcc2
40300 builtin and then its argument prototype would still apply. */
40302 /* The GNU C library defines this for functions which it implements
40303 to always fail with ENOSYS. Some functions are actually named
40304 something starting with __ and the normal name is an alias. */
40305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40308 char (*f) () = $ac_func;
40317 return f != $ac_func;
40322 rm -f conftest.
$ac_objext conftest
$ac_exeext
40323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40324 (eval $ac_link) 2>conftest.er1
40326 grep -v '^ *+' conftest.er1
>conftest.err
40328 cat conftest.err
>&5
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); } &&
40331 { ac_try
='test -z "$ac_c_werror_flag"
40332 || test ! -s conftest.err'
40333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40334 (eval $ac_try) 2>&5
40336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337 (exit $ac_status); }; } &&
40338 { ac_try
='test -s conftest$ac_exeext'
40339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40340 (eval $ac_try) 2>&5
40342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40343 (exit $ac_status); }; }; then
40344 eval "$as_ac_var=yes"
40346 echo "$as_me: failed program was:" >&5
40347 sed 's/^/| /' conftest.
$ac_ext >&5
40349 eval "$as_ac_var=no"
40351 rm -f conftest.err conftest.
$ac_objext \
40352 conftest
$ac_exeext conftest.
$ac_ext
40354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40356 if test `eval echo '${'$as_ac_var'}'` = yes; then
40357 cat >>confdefs.h
<<_ACEOF
40358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40364 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40365 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40366 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40367 echo "$as_me:$LINENO: result: yes" >&5
40368 echo "${ECHO_T}yes" >&6
40370 echo "$as_me:$LINENO: result: no" >&5
40371 echo "${ECHO_T}no" >&6
40372 # not sure we should warn the user, crash, etc.
40376 if test "$wxUSE_GUI" = "yes"; then
40379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
40380 drawing dynamic erase event exec font image \
40381 minimal propsize rotate shaped vscroll widgets render"
40383 if test "$wxUSE_MONOLITHIC" != "yes"; then
40384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
40386 if test "$TOOLKIT" = "MSW"; then
40387 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS nativdlg regtest richedit"
40390 SAMPLES_SUBDIRS
="console"
40394 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40395 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40397 if test "$GXX" = yes ; then
40399 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
40402 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40404 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40405 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40406 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40408 if test "x$MWCC" = "xyes"; then
40410 CC
="$CC -cwd source -I-"
40411 CXX
="$CXX -cwd source -I-"
40416 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40417 EXTRALIBS_XML
="$EXPAT_LINK"
40418 EXTRALIBS_HTML
="$MSPACK_LINK"
40419 EXTRALIBS_ODBC
="$ODBC_LINK"
40420 if test "$wxUSE_GUI" = "yes"; then
40421 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40423 if test "$wxUSE_OPENGL" = "yes"; then
40424 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
40427 LDFLAGS
="$LDFLAGS $PROFILE"
40429 if test "$wxUSE_GTK" = 1; then
40432 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
40435 WXCONFIG_EXTRALIBS
="$LIBS"
40437 if test "$wxUSE_REGEX" = "builtin" ; then
40438 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
40440 if test "$wxUSE_EXPAT" = "builtin" ; then
40441 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
40443 if test "$wxUSE_ODBC" = "builtin" ; then
40444 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40446 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40447 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
40449 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40450 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
40452 if test "$wxUSE_LIBPNG" = "builtin" ; then
40453 wxconfig_3rdparty
="$wxconfig_3rdparty png"
40455 if test "$wxUSE_ZLIB" = "builtin" ; then
40456 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
40458 if test "$wxUSE_ODBC" = "builtin" ; then
40459 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40462 for i
in $wxconfig_3rdparty ; do
40463 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
40467 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40481 if test $wxUSE_MONOLITHIC = "yes" ; then
40487 if test $wxUSE_PLUGINS = "yes" ; then
40493 if test $wxUSE_ODBC != "no" ; then
40499 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40527 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40538 TOOLKIT_USER
="GTK+"
40539 if test "$WXGTK20" = 1; then
40540 TOOLKIT_USER
="$TOOLKIT_USER 2"
40545 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
40552 if test "x$BAKEFILE_HOST" = "x"; then
40553 BAKEFILE_HOST
="${host}"
40556 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40558 if test -n "$ac_tool_prefix"; then
40559 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40560 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
40561 echo "$as_me:$LINENO: checking for $ac_word" >&5
40562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40563 if test "${ac_cv_prog_RANLIB+set}" = set; then
40564 echo $ECHO_N "(cached) $ECHO_C" >&6
40566 if test -n "$RANLIB"; then
40567 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
40569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40570 for as_dir
in $PATH
40573 test -z "$as_dir" && as_dir
=.
40574 for ac_exec_ext
in '' $ac_executable_extensions; do
40575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40576 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
40577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40585 RANLIB
=$ac_cv_prog_RANLIB
40586 if test -n "$RANLIB"; then
40587 echo "$as_me:$LINENO: result: $RANLIB" >&5
40588 echo "${ECHO_T}$RANLIB" >&6
40590 echo "$as_me:$LINENO: result: no" >&5
40591 echo "${ECHO_T}no" >&6
40595 if test -z "$ac_cv_prog_RANLIB"; then
40596 ac_ct_RANLIB
=$RANLIB
40597 # Extract the first word of "ranlib", so it can be a program name with args.
40598 set dummy ranlib
; ac_word
=$2
40599 echo "$as_me:$LINENO: checking for $ac_word" >&5
40600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40601 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40602 echo $ECHO_N "(cached) $ECHO_C" >&6
40604 if test -n "$ac_ct_RANLIB"; then
40605 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
40607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40608 for as_dir
in $PATH
40611 test -z "$as_dir" && as_dir
=.
40612 for ac_exec_ext
in '' $ac_executable_extensions; do
40613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40614 ac_cv_prog_ac_ct_RANLIB
="ranlib"
40615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40621 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
40624 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
40625 if test -n "$ac_ct_RANLIB"; then
40626 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40627 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40629 echo "$as_me:$LINENO: result: no" >&5
40630 echo "${ECHO_T}no" >&6
40633 RANLIB
=$ac_ct_RANLIB
40635 RANLIB
="$ac_cv_prog_RANLIB"
40638 # Find a good install program. We prefer a C program (faster),
40639 # so one script is as good as another. But avoid the broken or
40640 # incompatible versions:
40641 # SysV /etc/install, /usr/sbin/install
40642 # SunOS /usr/etc/install
40643 # IRIX /sbin/install
40645 # AmigaOS /C/install, which installs bootblocks on floppy discs
40646 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40647 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40648 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40649 # OS/2's system install, which has a completely different semantic
40650 # ./install, which can be erroneously created by make from ./install.sh.
40651 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40652 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40653 if test -z "$INSTALL"; then
40654 if test "${ac_cv_path_install+set}" = set; then
40655 echo $ECHO_N "(cached) $ECHO_C" >&6
40657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40658 for as_dir
in $PATH
40661 test -z "$as_dir" && as_dir
=.
40662 # Account for people who put trailing slashes in PATH elements.
40664 .
/ | .
// | /cC
/* | \
40665 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
40666 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
40669 # OSF1 and SCO ODT 3.0 have their own names for install.
40670 # Don't use installbsd from OSF since it installs stuff as root
40672 for ac_prog
in ginstall scoinst
install; do
40673 for ac_exec_ext
in '' $ac_executable_extensions; do
40674 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40675 if test $ac_prog = install &&
40676 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40677 # AIX install. It has an incompatible calling convention.
40679 elif test $ac_prog = install &&
40680 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40681 # program-specific install script used by HP pwplus--don't use.
40684 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
40696 if test "${ac_cv_path_install+set}" = set; then
40697 INSTALL
=$ac_cv_path_install
40699 # As a last resort, use the slow shell script. We don't cache a
40700 # path for INSTALL within a source directory, because that will
40701 # break other packages using the cache if that directory is
40702 # removed, or if the path is relative.
40703 INSTALL
=$ac_install_sh
40706 echo "$as_me:$LINENO: result: $INSTALL" >&5
40707 echo "${ECHO_T}$INSTALL" >&6
40709 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40710 # It thinks the first close brace ends the variable substitution.
40711 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
40713 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
40715 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
40717 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40718 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40720 if test "$LN_S" = "ln -s"; then
40721 echo "$as_me:$LINENO: result: yes" >&5
40722 echo "${ECHO_T}yes" >&6
40724 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40725 echo "${ECHO_T}no, using $LN_S" >&6
40729 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40730 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40731 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40732 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40733 echo $ECHO_N "(cached) $ECHO_C" >&6
40735 cat >conftest.
make <<\_ACEOF
40737 @
echo 'ac_maketemp="$(MAKE)"'
40739 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40740 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40741 if test -n "$ac_maketemp"; then
40742 eval ac_cv_prog_make_
${ac_make}_set
=yes
40744 eval ac_cv_prog_make_
${ac_make}_set
=no
40746 rm -f conftest.
make
40748 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40749 echo "$as_me:$LINENO: result: yes" >&5
40750 echo "${ECHO_T}yes" >&6
40753 echo "$as_me:$LINENO: result: no" >&5
40754 echo "${ECHO_T}no" >&6
40755 SET_MAKE
="MAKE=${MAKE-make}"
40760 if test -n "$ac_tool_prefix"; then
40761 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40762 set dummy
${ac_tool_prefix}ar; ac_word
=$2
40763 echo "$as_me:$LINENO: checking for $ac_word" >&5
40764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40765 if test "${ac_cv_prog_AR+set}" = set; then
40766 echo $ECHO_N "(cached) $ECHO_C" >&6
40768 if test -n "$AR"; then
40769 ac_cv_prog_AR
="$AR" # Let the user override the test.
40771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40772 for as_dir
in $PATH
40775 test -z "$as_dir" && as_dir
=.
40776 for ac_exec_ext
in '' $ac_executable_extensions; do
40777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40778 ac_cv_prog_AR
="${ac_tool_prefix}ar"
40779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40788 if test -n "$AR"; then
40789 echo "$as_me:$LINENO: result: $AR" >&5
40790 echo "${ECHO_T}$AR" >&6
40792 echo "$as_me:$LINENO: result: no" >&5
40793 echo "${ECHO_T}no" >&6
40797 if test -z "$ac_cv_prog_AR"; then
40799 # Extract the first word of "ar", so it can be a program name with args.
40800 set dummy
ar; ac_word
=$2
40801 echo "$as_me:$LINENO: checking for $ac_word" >&5
40802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40803 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
40804 echo $ECHO_N "(cached) $ECHO_C" >&6
40806 if test -n "$ac_ct_AR"; then
40807 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
40809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40810 for as_dir
in $PATH
40813 test -z "$as_dir" && as_dir
=.
40814 for ac_exec_ext
in '' $ac_executable_extensions; do
40815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40816 ac_cv_prog_ac_ct_AR
="ar"
40817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40823 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
40826 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
40827 if test -n "$ac_ct_AR"; then
40828 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
40829 echo "${ECHO_T}$ac_ct_AR" >&6
40831 echo "$as_me:$LINENO: result: no" >&5
40832 echo "${ECHO_T}no" >&6
40837 AR
="$ac_cv_prog_AR"
40840 if test -n "$ac_tool_prefix"; then
40841 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
40842 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
40843 echo "$as_me:$LINENO: checking for $ac_word" >&5
40844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40845 if test "${ac_cv_prog_STRIP+set}" = set; then
40846 echo $ECHO_N "(cached) $ECHO_C" >&6
40848 if test -n "$STRIP"; then
40849 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
40851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40852 for as_dir
in $PATH
40855 test -z "$as_dir" && as_dir
=.
40856 for ac_exec_ext
in '' $ac_executable_extensions; do
40857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40858 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
40859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40867 STRIP
=$ac_cv_prog_STRIP
40868 if test -n "$STRIP"; then
40869 echo "$as_me:$LINENO: result: $STRIP" >&5
40870 echo "${ECHO_T}$STRIP" >&6
40872 echo "$as_me:$LINENO: result: no" >&5
40873 echo "${ECHO_T}no" >&6
40877 if test -z "$ac_cv_prog_STRIP"; then
40879 # Extract the first word of "strip", so it can be a program name with args.
40880 set dummy strip
; ac_word
=$2
40881 echo "$as_me:$LINENO: checking for $ac_word" >&5
40882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40883 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40884 echo $ECHO_N "(cached) $ECHO_C" >&6
40886 if test -n "$ac_ct_STRIP"; then
40887 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
40889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40890 for as_dir
in $PATH
40893 test -z "$as_dir" && as_dir
=.
40894 for ac_exec_ext
in '' $ac_executable_extensions; do
40895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40896 ac_cv_prog_ac_ct_STRIP
="strip"
40897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40903 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
40906 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
40907 if test -n "$ac_ct_STRIP"; then
40908 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40909 echo "${ECHO_T}$ac_ct_STRIP" >&6
40911 echo "$as_me:$LINENO: result: no" >&5
40912 echo "${ECHO_T}no" >&6
40917 STRIP
="$ac_cv_prog_STRIP"
40920 if test -n "$ac_tool_prefix"; then
40921 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40922 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
40923 echo "$as_me:$LINENO: checking for $ac_word" >&5
40924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40925 if test "${ac_cv_prog_NM+set}" = set; then
40926 echo $ECHO_N "(cached) $ECHO_C" >&6
40928 if test -n "$NM"; then
40929 ac_cv_prog_NM
="$NM" # Let the user override the test.
40931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40932 for as_dir
in $PATH
40935 test -z "$as_dir" && as_dir
=.
40936 for ac_exec_ext
in '' $ac_executable_extensions; do
40937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40938 ac_cv_prog_NM
="${ac_tool_prefix}nm"
40939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40948 if test -n "$NM"; then
40949 echo "$as_me:$LINENO: result: $NM" >&5
40950 echo "${ECHO_T}$NM" >&6
40952 echo "$as_me:$LINENO: result: no" >&5
40953 echo "${ECHO_T}no" >&6
40957 if test -z "$ac_cv_prog_NM"; then
40959 # Extract the first word of "nm", so it can be a program name with args.
40960 set dummy nm
; ac_word
=$2
40961 echo "$as_me:$LINENO: checking for $ac_word" >&5
40962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40963 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
40964 echo $ECHO_N "(cached) $ECHO_C" >&6
40966 if test -n "$ac_ct_NM"; then
40967 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
40969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40970 for as_dir
in $PATH
40973 test -z "$as_dir" && as_dir
=.
40974 for ac_exec_ext
in '' $ac_executable_extensions; do
40975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40976 ac_cv_prog_ac_ct_NM
="nm"
40977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40983 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
40986 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
40987 if test -n "$ac_ct_NM"; then
40988 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
40989 echo "${ECHO_T}$ac_ct_NM" >&6
40991 echo "$as_me:$LINENO: result: no" >&5
40992 echo "${ECHO_T}no" >&6
40997 NM
="$ac_cv_prog_NM"
41001 case ${BAKEFILE_HOST} in
41003 INSTALL_DIR
="mkdir -p"
41005 *) INSTALL_DIR
="$INSTALL -d"
41011 case ${BAKEFILE_HOST} in
41012 *-*-cygwin* | *-*-mingw32* )
41013 LDFLAGS_GUI
="-mwindows"
41019 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41020 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41021 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41022 echo $ECHO_N "(cached) $ECHO_C" >&6
41025 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
41026 egrep -s GNU
> /dev
/null
); then
41027 bakefile_cv_prog_makeisgnu
="yes"
41029 bakefile_cv_prog_makeisgnu
="no"
41033 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41034 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41036 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41053 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41054 case "${BAKEFILE_HOST}" in
41055 *-*-cygwin* | *-*-mingw32* )
41061 *-pc-os2_emx | *-pc-os2-emx )
41064 powerpc
-*-darwin* )
41071 powerpc
-apple-macos* )
41080 case "$BAKEFILE_FORCE_PLATFORM" in
41101 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41102 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41103 { (exit 1); exit 1; }; }
41118 # Check whether --enable-omf or --disable-omf was given.
41119 if test "${enable_omf+set}" = set; then
41120 enableval
="$enable_omf"
41121 bk_os2_use_omf
="$enableval"
41124 case "${BAKEFILE_HOST}" in
41126 CFLAGS
="$CFLAGS -fno-common"
41127 CXXFLAGS
="$CXXFLAGS -fno-common"
41130 *-pc-os2_emx | *-pc-os2-emx )
41131 if test "x$bk_os2_use_omf" = "xyes" ; then
41134 LDFLAGS
="-Zomf $LDFLAGS"
41135 CFLAGS
="-Zomf $CFLAGS"
41136 CXXFLAGS
="-Zomf $CXXFLAGS"
41144 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
41150 SO_SUFFIX_MODULE
="so"
41155 DLLPREFIX_MODULE
=""
41158 case "${BAKEFILE_HOST}" in
41161 SO_SUFFIX_MODULE
="sl"
41165 SO_SUFFIX_MODULE
="a"
41167 *-*-cygwin* | *-*-mingw32* )
41169 SO_SUFFIX_MODULE
="dll"
41170 DLLIMP_SUFFIX
="dll.a"
41178 *-pc-os2_emx | *-pc-os2-emx )
41180 SO_SUFFIX_MODULE
="dll"
41181 DLLIMP_SUFFIX
=$OS2_LIBEXT
41185 LIBEXT
=".$OS2_LIBEXT"
41187 powerpc
-*-darwin* )
41189 SO_SUFFIX_MODULE
="bundle"
41193 if test "x$DLLIMP_SUFFIX" = "x" ; then
41194 DLLIMP_SUFFIX
="$SO_SUFFIX"
41208 if test "x$GCC" = "xyes"; then
41212 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41213 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41215 case "${BAKEFILE_HOST}" in
41217 if test "x$GCC" != "xyes"; then
41218 LDFLAGS
="$LDFLAGS -L/usr/lib"
41220 SHARED_LD_CC
="${CC} -b -o"
41221 SHARED_LD_CXX
="${CXX} -b -o"
41227 if test "x$GCC" != "xyes"; then
41228 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41229 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41230 if test "${bakefile_cv_prog_icc+set}" = set; then
41231 echo $ECHO_N "(cached) $ECHO_C" >&6
41234 cat >conftest.
$ac_ext <<_ACEOF
41237 cat confdefs.h
>>conftest.
$ac_ext
41238 cat >>conftest.
$ac_ext <<_ACEOF
41239 /* end confdefs.h. */
41245 #ifndef __INTEL_COMPILER
41253 rm -f conftest.
$ac_objext
41254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41255 (eval $ac_compile) 2>conftest.er1
41257 grep -v '^ *+' conftest.er1
>conftest.err
41259 cat conftest.err
>&5
41260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41261 (exit $ac_status); } &&
41262 { ac_try
='test -z "$ac_c_werror_flag"
41263 || test ! -s conftest.err'
41264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41265 (eval $ac_try) 2>&5
41267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41268 (exit $ac_status); }; } &&
41269 { ac_try
='test -s conftest.$ac_objext'
41270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41271 (eval $ac_try) 2>&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); }; }; then
41275 bakefile_cv_prog_icc
=yes
41277 echo "$as_me: failed program was:" >&5
41278 sed 's/^/| /' conftest.
$ac_ext >&5
41280 bakefile_cv_prog_icc
=no
41283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41286 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41287 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41288 if test "$bakefile_cv_prog_icc" = "yes"; then
41295 if test "x$GCC" != xyes
; then
41296 SHARED_LD_CC
="${CC} -G -o"
41297 SHARED_LD_CXX
="${CXX} -G -o"
41304 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41305 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41306 if test "${wx_cv_gcc31+set}" = set; then
41307 echo $ECHO_N "(cached) $ECHO_C" >&6
41310 cat >conftest.
$ac_ext <<_ACEOF
41313 cat confdefs.h
>>conftest.
$ac_ext
41314 cat >>conftest.
$ac_ext <<_ACEOF
41315 /* end confdefs.h. */
41321 #if (__GNUC__ < 3) || \
41322 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41330 rm -f conftest.
$ac_objext
41331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41332 (eval $ac_compile) 2>conftest.er1
41334 grep -v '^ *+' conftest.er1
>conftest.err
41336 cat conftest.err
>&5
41337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41338 (exit $ac_status); } &&
41339 { ac_try
='test -z "$ac_c_werror_flag"
41340 || test ! -s conftest.err'
41341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41342 (eval $ac_try) 2>&5
41344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41345 (exit $ac_status); }; } &&
41346 { ac_try
='test -s conftest.$ac_objext'
41347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41348 (eval $ac_try) 2>&5
41350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41351 (exit $ac_status); }; }; then
41356 echo "$as_me: failed program was:" >&5
41357 sed 's/^/| /' conftest.
$ac_ext >&5
41364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41367 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41368 echo "${ECHO_T}$wx_cv_gcc31" >&6
41369 if test "$wx_cv_gcc31" = "no"; then
41372 cat <<EOF >shared-ld-sh
41374 #-----------------------------------------------------------------------------
41375 #-- Name: distrib/mac/shared-ld-sh
41376 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41377 #-- Author: Gilles Depeyrot
41378 #-- Copyright: (c) 2002 Gilles Depeyrot
41379 #-- Licence: any use permitted
41380 #-----------------------------------------------------------------------------
41385 linking_flag="-dynamiclib"
41387 while test ${D}# -gt 0; do
41394 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41395 # collect these options and values
41396 args="${D}{args} ${D}1 ${D}2"
41400 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41401 # collect these options
41402 args="${D}{args} ${D}1"
41405 -dynamiclib|-bundle)
41406 linking_flag="${D}1"
41410 echo "shared-ld: unhandled option '${D}1'"
41414 *.o | *.a | *.dylib)
41415 # collect object files
41416 objects="${D}{objects} ${D}1"
41420 echo "shared-ld: unhandled argument '${D}1'"
41429 # Link one module containing all the others
41431 if test ${D}{verbose} = 1; then
41432 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41434 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41436 if test ${D}{status} != 0; then
41441 # Link the shared library from the single module created
41443 if test ${D}{verbose} = 1; then
41444 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41446 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41448 if test ${D}{status} != 0; then
41453 # Remove intermediate module
41455 rm -f master.${D}${D}.o
41460 chmod +x shared
-ld-sh
41462 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41463 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41464 SHARED_LD_CXX
="$SHARED_LD_CC"
41465 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
41467 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41468 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41469 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41470 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41473 PIC_FLAG
="-dynamic -fPIC"
41477 if test "x$GCC" != "xyes"; then
41478 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41479 set dummy makeC
++SharedLib
; ac_word
=$2
41480 echo "$as_me:$LINENO: checking for $ac_word" >&5
41481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41482 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41483 echo $ECHO_N "(cached) $ECHO_C" >&6
41485 if test -n "$AIX_CXX_LD"; then
41486 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
41488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41489 for as_dir
in $PATH
41492 test -z "$as_dir" && as_dir
=.
41493 for ac_exec_ext
in '' $ac_executable_extensions; do
41494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41495 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
41496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41502 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
41505 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
41506 if test -n "$AIX_CXX_LD"; then
41507 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41508 echo "${ECHO_T}$AIX_CXX_LD" >&6
41510 echo "$as_me:$LINENO: result: no" >&5
41511 echo "${ECHO_T}no" >&6
41514 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
41515 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
41520 SHARED_LD_CC
="${LD} -nostart -o"
41521 SHARED_LD_CXX
="${LD} -nostart -o"
41525 if test "x$GCC" != "xyes"; then
41530 *-*-cygwin* | *-*-mingw32* )
41532 SHARED_LD_CC
="\$(CC) -shared -o"
41533 SHARED_LD_CXX
="\$(CXX) -shared -o"
41536 *-pc-os2_emx | *-pc-os2-emx )
41537 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41538 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41542 cat <<EOF >dllar.sh
41545 # dllar - a tool to build both a .dll and an .a file
41546 # from a set of object (.o) files for EMX/OS2.
41548 # Written by Andrew Zabolotny, bit@freya.etu.ru
41549 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41551 # This script will accept a set of files on the command line.
41552 # All the public symbols from the .o files will be exported into
41553 # a .DEF file, then linker will be run (through gcc) against them to
41554 # build a shared library consisting of all given .o files. All libraries
41555 # (.a) will be first decompressed into component .o files then act as
41556 # described above. You can optionally give a description (-d "description")
41557 # which will be put into .DLL. To see the list of accepted options (as well
41558 # as command-line format) simply run this program without options. The .DLL
41559 # is built to be imported by name (there is no guarantee that new versions
41560 # of the library you build will have same ordinals for same symbols).
41562 # dllar is free software; you can redistribute it and/or modify
41563 # it under the terms of the GNU General Public License as published by
41564 # the Free Software Foundation; either version 2, or (at your option)
41565 # any later version.
41567 # dllar is distributed in the hope that it will be useful,
41568 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41569 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41570 # GNU General Public License for more details.
41572 # You should have received a copy of the GNU General Public License
41573 # along with dllar; see the file COPYING. If not, write to the Free
41574 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41577 # To successfuly run this program you will need:
41578 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41579 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41581 # (used to build the .dll)
41583 # (used to create .def file from .o files)
41585 # (used to create .a file from .def file)
41586 # - GNU text utilites (cat, sort, uniq)
41587 # used to process emxexp output
41588 # - GNU file utilities (mv, rm)
41590 # - lxlite (optional, see flag below)
41591 # (used for general .dll cleanup)
41598 # basnam, variant of basename, which does _not_ remove the path, _iff_
41599 # second argument (suffix to remove) is given
41603 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41606 echo ${D}1 | sed 's/'${D}2'${D}//'
41609 echo "error in basnam ${D}*"
41615 # Cleanup temporary files and output
41618 for i in ${D}inputFiles ; do
41621 rm -rf \`basnam ${D}i !\`
41628 # Kill result in case of failure as there is just to many stupid make/nmake
41629 # things out there which doesn't do this.
41630 if [ ${D}# -eq 0 ]; then
41631 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41635 # Print usage and exit script with rc=1.
41637 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41638 echo ' [-name-mangler-script script.sh]'
41639 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41640 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41641 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41642 echo ' [*.o] [*.a]'
41643 echo '*> "output_file" should have no extension.'
41644 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41645 echo ' The import library name is derived from this and is set to "name".a,'
41646 echo ' unless overridden by -import'
41647 echo '*> "importlib_name" should have no extension.'
41648 echo ' If it has the .o, or .a extension, it is automatically removed.'
41649 echo ' This name is used as the import library name and may be longer and'
41650 echo ' more descriptive than the DLL name which has to follow the old '
41651 echo ' 8.3 convention of FAT.'
41652 echo '*> "script.sh may be given to override the output_file name by a'
41653 echo ' different name. It is mainly useful if the regular make process'
41654 echo ' of some package does not take into account OS/2 restriction of'
41655 echo ' DLL name lengths. It takes the importlib name as input and is'
41656 echo ' supposed to procude a shorter name as output. The script should'
41657 echo ' expect to get importlib_name without extension and should produce'
41658 echo ' a (max.) 8 letter name without extension.'
41659 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41660 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41661 echo ' These flags will be put at the start of GCC command line.'
41662 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41663 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41664 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41665 echo ' If the last character of a symbol is "*", all symbols beginning'
41666 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41667 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41668 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41669 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41670 echo ' C runtime DLLs.'
41671 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41672 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41673 echo ' unchanged to GCC at the end of command line.'
41674 echo '*> If you create a DLL from a library and you do not specify -o,'
41675 echo ' the basename for DLL and import library will be set to library name,'
41676 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41677 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41678 echo ' library will be renamed into gcc_s.a.'
41681 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41682 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41687 # Execute a command.
41688 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41689 # @Uses Whatever CleanUp() uses.
41695 if [ ${D}rcCmd -ne 0 ]; then
41696 echo "command failed, exit code="${D}rcCmd
41711 CFLAGS="-s -Zcrtdll"
41713 EXPORT_BY_ORDINALS=0
41718 case ${D}curDirS in
41722 curDirS=${D}{curDirS}"/"
41725 # Parse commandline
41728 while [ ${D}1 ]; do
41731 EXPORT_BY_ORDINALS=1;
41741 -name-mangler-script)
41762 exclude_symbols=${D}{exclude_symbols}${D}1" "
41766 library_flags=${D}{library_flags}${D}1" "
41785 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41788 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
41789 if [ ${D}omfLinking -eq 1 ]; then
41790 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
41792 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
41797 if [ ${D}libsToLink -ne 0 ]; then
41798 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41800 for file in ${D}1 ; do
41801 if [ -f ${D}file ]; then
41802 inputFiles="${D}{inputFiles} ${D}file"
41806 if [ ${D}found -eq 0 ]; then
41807 echo "ERROR: No file(s) found: "${D}1
41814 done # iterate cmdline words
41817 if [ -z "${D}inputFiles" ]; then
41818 echo "dllar: no input files"
41822 # Now extract all .o files from .a files
41824 for file in ${D}inputFiles ; do
41835 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
41840 dirname=\`basnam ${D}file ${D}suffix\`"_%"
41842 if [ ${D}? -ne 0 ]; then
41843 echo "Failed to create subdirectory ./${D}dirname"
41847 # Append '!' to indicate archive
41848 newInputFiles="${D}newInputFiles ${D}{dirname}!"
41849 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
41852 for subfile in ${D}dirname/*.o* ; do
41853 if [ -f ${D}subfile ]; then
41855 if [ -s ${D}subfile ]; then
41856 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
41857 newInputFiles="${D}newInputFiles ${D}subfile"
41861 if [ ${D}found -eq 0 ]; then
41862 echo "WARNING: there are no files in archive \\'${D}file\\'"
41866 newInputFiles="${D}{newInputFiles} ${D}file"
41870 inputFiles="${D}newInputFiles"
41872 # Output filename(s).
41874 if [ -z ${D}outFile ]; then
41876 set outFile ${D}inputFiles; outFile=${D}2
41879 # If it is an archive, remove the '!' and the '_%' suffixes
41880 case ${D}outFile in
41882 outFile=\`basnam ${D}outFile _%!\`
41887 case ${D}outFile in
41889 outFile=\`basnam ${D}outFile .dll\`
41892 outFile=\`basnam ${D}outFile .DLL\`
41895 outFile=\`basnam ${D}outFile .o\`
41898 outFile=\`basnam ${D}outFile .obj\`
41901 outFile=\`basnam ${D}outFile .a\`
41904 outFile=\`basnam ${D}outFile .lib\`
41909 case ${D}outimpFile in
41911 outimpFile=\`basnam ${D}outimpFile .a\`
41914 outimpFile=\`basnam ${D}outimpFile .lib\`
41919 if [ -z ${D}outimpFile ]; then
41920 outimpFile=${D}outFile
41922 defFile="${D}{outFile}.def"
41923 arcFile="${D}{outimpFile}.a"
41924 arcFile2="${D}{outimpFile}.lib"
41926 #create ${D}dllFile as something matching 8.3 restrictions,
41927 if [ -z ${D}renameScript ] ; then
41928 dllFile="${D}outFile"
41930 dllFile=\`${D}renameScript ${D}outimpFile\`
41933 if [ ${D}do_backup -ne 0 ] ; then
41934 if [ -f ${D}arcFile ] ; then
41935 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41937 if [ -f ${D}arcFile2 ] ; then
41938 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41942 # Extract public symbols from all the object files.
41943 tmpdefFile=${D}{defFile}_%
41944 rm -f ${D}tmpdefFile
41945 for file in ${D}inputFiles ; do
41950 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41955 # Create the def file.
41957 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41958 dllFile="${D}{dllFile}.dll"
41959 if [ ! -z ${D}description ]; then
41960 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
41962 echo "EXPORTS" >> ${D}defFile
41964 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
41965 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
41967 # Checks if the export is ok or not.
41968 for word in ${D}exclude_symbols; do
41969 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
41970 mv ${D}{tmpdefFile}% ${D}tmpdefFile
41974 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41975 sed "=" < ${D}tmpdefFile | \\
41979 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
41981 ' > ${D}{tmpdefFile}%
41982 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
41984 rm -f ${D}{tmpdefFile}%
41986 cat ${D}tmpdefFile >> ${D}defFile
41987 rm -f ${D}tmpdefFile
41989 # Do linking, create implib, and apply lxlite.
41991 for file in ${D}inputFiles ; do
41996 gccCmdl="${D}gccCmdl ${D}file"
42000 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42001 touch "${D}{outFile}.dll"
42003 doCommand "emximp -o ${D}arcFile ${D}defFile"
42004 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42006 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42009 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42011 doCommand "emxomf -s -l ${D}arcFile"
42021 powerpc
-apple-macos* | \
42022 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42030 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42031 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42032 { (exit 1); exit 1; }; }
42035 if test "x$PIC_FLAG" != "x" ; then
42036 PIC_FLAG
="$PIC_FLAG -DPIC"
42039 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42040 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
42042 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42043 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
42060 case "${BAKEFILE_HOST}" in
42061 *-*-linux* | *-*-freebsd* )
42062 SONAME_FLAG
="-Wl,-soname,"
42090 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42091 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42094 if test "x$GCC" = "xyes"; then
42097 case "${BAKEFILE_HOST}" in
42098 powerpc
-*-darwin* )
42099 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
42102 DEPSFLAG_GCC
="-MMD"
42105 echo "$as_me:$LINENO: result: gcc" >&5
42106 echo "${ECHO_T}gcc" >&6
42107 elif test "x$MWCC" = "xyes"; then
42110 DEPSFLAG_MWCC
="-MM"
42111 echo "$as_me:$LINENO: result: mwcc" >&5
42112 echo "${ECHO_T}mwcc" >&6
42114 echo "$as_me:$LINENO: result: none" >&5
42115 echo "${ECHO_T}none" >&6
42118 if test $DEPS_TRACKING = 1 ; then
42124 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42125 # script. It is used to track C/C++ files dependencies in portable way.
42127 # Permission is given to use this file in any way.
42129 DEPSMODE=${DEPSMODE}
42131 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42132 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42134 mkdir -p ${D}DEPSDIR
42136 if test ${D}DEPSMODE = gcc ; then
42137 ${D}* ${D}{DEPSFLAG_GCC}
42139 if test ${D}{status} != 0 ; then
42142 # move created file to the location we want it in:
42143 while test ${D}# -gt 0; do
42157 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42158 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42159 if test -f ${D}depfile ; then
42160 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42163 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42164 if test -f ${D}depfile ; then
42165 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42170 elif test ${D}DEPSMODE = mwcc ; then
42173 if test ${D}{status} != 0 ; then
42176 # Run mwcc again with -MM and redirect into the dep file we want
42177 # NOTE: We can't use shift here because we need ${D}* to be valid
42179 for arg in ${D}* ; do
42180 if test "${D}prevarg" = "-o"; then
42193 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42210 case ${BAKEFILE_HOST} in
42211 *-*-cygwin* | *-*-mingw32* )
42212 if test "$build" != "$host" ; then
42213 RESCOMP
=$host_alias-windres
42215 # Extract the first word of "windres", so it can be a program name with args.
42216 set dummy windres
; ac_word
=$2
42217 echo "$as_me:$LINENO: checking for $ac_word" >&5
42218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42219 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42220 echo $ECHO_N "(cached) $ECHO_C" >&6
42222 if test -n "$RESCOMP"; then
42223 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42226 for as_dir
in $PATH
42229 test -z "$as_dir" && as_dir
=.
42230 for ac_exec_ext
in '' $ac_executable_extensions; do
42231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42232 ac_cv_prog_RESCOMP
="windres"
42233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42239 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42242 RESCOMP
=$ac_cv_prog_RESCOMP
42243 if test -n "$RESCOMP"; then
42244 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42245 echo "${ECHO_T}$RESCOMP" >&6
42247 echo "$as_me:$LINENO: result: no" >&5
42248 echo "${ECHO_T}no" >&6
42254 *-*-darwin* | powerpc
-apple-macos* )
42255 # Extract the first word of "Rez", so it can be a program name with args.
42256 set dummy Rez
; ac_word
=$2
42257 echo "$as_me:$LINENO: checking for $ac_word" >&5
42258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42259 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42260 echo $ECHO_N "(cached) $ECHO_C" >&6
42262 if test -n "$RESCOMP"; then
42263 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42266 for as_dir
in $PATH
42269 test -z "$as_dir" && as_dir
=.
42270 for ac_exec_ext
in '' $ac_executable_extensions; do
42271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42272 ac_cv_prog_RESCOMP
="Rez"
42273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42279 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
42282 RESCOMP
=$ac_cv_prog_RESCOMP
42283 if test -n "$RESCOMP"; then
42284 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42285 echo "${ECHO_T}$RESCOMP" >&6
42287 echo "$as_me:$LINENO: result: no" >&5
42288 echo "${ECHO_T}no" >&6
42291 # Extract the first word of "SetFile", so it can be a program name with args.
42292 set dummy SetFile
; ac_word
=$2
42293 echo "$as_me:$LINENO: checking for $ac_word" >&5
42294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42295 if test "${ac_cv_prog_SETFILE+set}" = set; then
42296 echo $ECHO_N "(cached) $ECHO_C" >&6
42298 if test -n "$SETFILE"; then
42299 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
42301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42302 for as_dir
in $PATH
42305 test -z "$as_dir" && as_dir
=.
42306 for ac_exec_ext
in '' $ac_executable_extensions; do
42307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42308 ac_cv_prog_SETFILE
="SetFile"
42309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42315 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
42318 SETFILE
=$ac_cv_prog_SETFILE
42319 if test -n "$SETFILE"; then
42320 echo "$as_me:$LINENO: result: $SETFILE" >&5
42321 echo "${ECHO_T}$SETFILE" >&6
42323 echo "$as_me:$LINENO: result: no" >&5
42324 echo "${ECHO_T}no" >&6
42334 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.7"
42337 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.7"
42341 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42342 if test "${enable_precomp_headers+set}" = set; then
42343 enableval
="$enable_precomp_headers"
42344 bk_use_pch
="$enableval"
42349 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42350 if test "x$GCC" = "xyes"; then
42351 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42352 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42353 cat >conftest.
$ac_ext <<_ACEOF
42356 cat confdefs.h
>>conftest.
$ac_ext
42357 cat >>conftest.
$ac_ext <<_ACEOF
42358 /* end confdefs.h. */
42364 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42365 #error "no pch support"
42368 #error "no pch support"
42370 #if (__GNUC__ == 3) && \
42371 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42372 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42373 #error "no pch support"
42380 rm -f conftest.
$ac_objext
42381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42382 (eval $ac_compile) 2>conftest.er1
42384 grep -v '^ *+' conftest.er1
>conftest.err
42386 cat conftest.err
>&5
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); } &&
42389 { ac_try
='test -z "$ac_c_werror_flag"
42390 || test ! -s conftest.err'
42391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42392 (eval $ac_try) 2>&5
42394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42395 (exit $ac_status); }; } &&
42396 { ac_try
='test -s conftest.$ac_objext'
42397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42398 (eval $ac_try) 2>&5
42400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42401 (exit $ac_status); }; }; then
42403 echo "$as_me:$LINENO: result: yes" >&5
42404 echo "${ECHO_T}yes" >&6
42408 echo "$as_me: failed program was:" >&5
42409 sed 's/^/| /' conftest.
$ac_ext >&5
42412 echo "$as_me:$LINENO: result: no" >&5
42413 echo "${ECHO_T}no" >&6
42416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42417 if test $GCC_PCH = 1 ; then
42420 cat <<EOF >bk-make-pch
42423 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42424 # script. It is used to generated precompiled headers.
42426 # Permission is given to use this file in any way.
42435 while test ${D}{#} -gt 0; do
42438 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42439 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42440 headerfile="${D}{incdir}/${D}{header}"
42444 compiler="${D}{compiler} ${D}{1}"
42448 if test "x${D}{headerfile}" = "x" ; then
42449 echo "error: can't find header ${D}{header} in include paths" >2
42451 if test -f ${D}{outfile} ; then
42452 rm -f ${D}{outfile}
42454 mkdir -p \`dirname ${D}{outfile}\`
42456 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42458 # can do this because gcc is >= 3.4:
42459 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42464 chmod +x bk
-make-pch
42471 COND_BUILD_DEBUG
="#"
42472 if test "x$BUILD" = "xdebug" ; then
42473 COND_BUILD_DEBUG
=""
42476 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
42477 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42478 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
42481 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
42482 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42483 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
42486 COND_BUILD_DEBUG_UNICODE_0
="#"
42487 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42488 COND_BUILD_DEBUG_UNICODE_0
=""
42491 COND_BUILD_DEBUG_UNICODE_1
="#"
42492 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42493 COND_BUILD_DEBUG_UNICODE_1
=""
42496 COND_BUILD_RELEASE
="#"
42497 if test "x$BUILD" = "xrelease" ; then
42498 COND_BUILD_RELEASE
=""
42501 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
42502 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42503 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
42506 COND_BUILD_RELEASE_UNICODE_0
="#"
42507 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42508 COND_BUILD_RELEASE_UNICODE_0
=""
42511 COND_BUILD_RELEASE_UNICODE_1
="#"
42512 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42513 COND_BUILD_RELEASE_UNICODE_1
=""
42516 COND_DEBUG_FLAG_1
="#"
42517 if test "x$DEBUG_FLAG" = "x1" ; then
42518 COND_DEBUG_FLAG_1
=""
42521 COND_DEBUG_INFO_0
="#"
42522 if test "x$DEBUG_INFO" = "x0" ; then
42523 COND_DEBUG_INFO_0
=""
42526 COND_DEBUG_INFO_1
="#"
42527 if test "x$DEBUG_INFO" = "x1" ; then
42528 COND_DEBUG_INFO_1
=""
42531 COND_DEPS_TRACKING_0
="#"
42532 if test "x$DEPS_TRACKING" = "x0" ; then
42533 COND_DEPS_TRACKING_0
=""
42536 COND_DEPS_TRACKING_1
="#"
42537 if test "x$DEPS_TRACKING" = "x1" ; then
42538 COND_DEPS_TRACKING_1
=""
42542 if test "x$GCC_PCH" = "x1" ; then
42546 COND_MONOLITHIC_0
="#"
42547 if test "x$MONOLITHIC" = "x0" ; then
42548 COND_MONOLITHIC_0
=""
42551 COND_MONOLITHIC_0_SHARED_0
="#"
42552 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42553 COND_MONOLITHIC_0_SHARED_0
=""
42556 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
42557 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42558 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
42561 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
42562 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42563 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
42566 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
42567 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42568 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
42571 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
42572 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42573 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
42576 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
42577 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42578 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
42581 COND_MONOLITHIC_0_SHARED_1
="#"
42582 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42583 COND_MONOLITHIC_0_SHARED_1
=""
42586 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
42587 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42588 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
42591 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
42592 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42593 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
42596 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
42597 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42598 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
42601 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
42602 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42603 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
42606 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
42607 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42608 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
42611 COND_MONOLITHIC_0_USE_ODBC_1
="#"
42612 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42613 COND_MONOLITHIC_0_USE_ODBC_1
=""
42616 COND_MONOLITHIC_1
="#"
42617 if test "x$MONOLITHIC" = "x1" ; then
42618 COND_MONOLITHIC_1
=""
42621 COND_MONOLITHIC_1_SHARED_0
="#"
42622 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42623 COND_MONOLITHIC_1_SHARED_0
=""
42626 COND_MONOLITHIC_1_SHARED_1
="#"
42627 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42628 COND_MONOLITHIC_1_SHARED_1
=""
42631 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
42632 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42633 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
42636 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
42637 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42638 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
42641 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
42642 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42643 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
42646 COND_PLATFORM_MACOSX_1
="#"
42647 if test "x$PLATFORM_MACOSX" = "x1" ; then
42648 COND_PLATFORM_MACOSX_1
=""
42651 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
42652 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42653 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
42656 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
42657 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42658 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
42661 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
42662 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42663 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
42666 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
42667 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42668 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
42671 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
42672 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42673 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
42676 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42677 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42678 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42681 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
42682 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42683 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
42686 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
42687 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42688 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
42691 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
42692 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42693 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
42696 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
42697 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42698 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
42701 COND_PLATFORM_MACOS_1
="#"
42702 if test "x$PLATFORM_MACOS" = "x1" ; then
42703 COND_PLATFORM_MACOS_1
=""
42706 COND_PLATFORM_MAC_1
="#"
42707 if test "x$PLATFORM_MAC" = "x1" ; then
42708 COND_PLATFORM_MAC_1
=""
42711 COND_PLATFORM_OS2_1
="#"
42712 if test "x$PLATFORM_OS2" = "x1" ; then
42713 COND_PLATFORM_OS2_1
=""
42716 COND_PLATFORM_UNIX_0
="#"
42717 if test "x$PLATFORM_UNIX" = "x0" ; then
42718 COND_PLATFORM_UNIX_0
=""
42721 COND_PLATFORM_UNIX_1
="#"
42722 if test "x$PLATFORM_UNIX" = "x1" ; then
42723 COND_PLATFORM_UNIX_1
=""
42726 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
42727 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42728 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
42731 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
42732 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42733 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
42736 COND_PLATFORM_WIN32_0
="#"
42737 if test "x$PLATFORM_WIN32" = "x0" ; then
42738 COND_PLATFORM_WIN32_0
=""
42741 COND_PLATFORM_WIN32_1
="#"
42742 if test "x$PLATFORM_WIN32" = "x1" ; then
42743 COND_PLATFORM_WIN32_1
=""
42747 if test "x$SHARED" = "x0" ; then
42751 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
42752 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42753 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
42756 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
42757 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
42758 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
42761 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
42762 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
42763 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
42766 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
42767 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42768 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
42771 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42772 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42773 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42776 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42777 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42778 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42781 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42782 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42783 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42786 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
42787 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
42788 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
42791 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
42792 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
42793 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
42796 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
42797 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
42798 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
42801 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
42802 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
42803 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
42807 if test "x$SHARED" = "x1" ; then
42811 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
42812 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42813 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
42817 if test "x$TOOLKIT" = "x" ; then
42821 COND_TOOLKIT_COCOA
="#"
42822 if test "x$TOOLKIT" = "xCOCOA" ; then
42823 COND_TOOLKIT_COCOA
=""
42826 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
42827 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
42828 COND_TOOLKIT_COCOA_USE_GUI_1
=""
42831 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
42832 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42833 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
42836 COND_TOOLKIT_GTK
="#"
42837 if test "x$TOOLKIT" = "xGTK" ; then
42838 COND_TOOLKIT_GTK
=""
42841 COND_TOOLKIT_GTK_USE_GUI_1
="#"
42842 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
42843 COND_TOOLKIT_GTK_USE_GUI_1
=""
42846 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
42847 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42848 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
42851 COND_TOOLKIT_MAC
="#"
42852 if test "x$TOOLKIT" = "xMAC" ; then
42853 COND_TOOLKIT_MAC
=""
42856 COND_TOOLKIT_MAC_USE_GUI_1
="#"
42857 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42858 COND_TOOLKIT_MAC_USE_GUI_1
=""
42861 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42862 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42863 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42866 COND_TOOLKIT_MGL
="#"
42867 if test "x$TOOLKIT" = "xMGL" ; then
42868 COND_TOOLKIT_MGL
=""
42871 COND_TOOLKIT_MGL_USE_GUI_1
="#"
42872 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
42873 COND_TOOLKIT_MGL_USE_GUI_1
=""
42876 COND_TOOLKIT_MOTIF
="#"
42877 if test "x$TOOLKIT" = "xMOTIF" ; then
42878 COND_TOOLKIT_MOTIF
=""
42881 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
42882 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42883 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
42886 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
42887 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42888 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
42891 COND_TOOLKIT_MSW
="#"
42892 if test "x$TOOLKIT" = "xMSW" ; then
42893 COND_TOOLKIT_MSW
=""
42896 COND_TOOLKIT_MSW_USE_GUI_1
="#"
42897 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42898 COND_TOOLKIT_MSW_USE_GUI_1
=""
42901 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
42902 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42903 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
42906 COND_TOOLKIT_PM
="#"
42907 if test "x$TOOLKIT" = "xPM" ; then
42911 COND_TOOLKIT_PM_USE_GUI_1
="#"
42912 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42913 COND_TOOLKIT_PM_USE_GUI_1
=""
42916 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
42917 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42918 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
42921 COND_TOOLKIT_WINCE
="#"
42922 if test "x$TOOLKIT" = "xWINCE" ; then
42923 COND_TOOLKIT_WINCE
=""
42926 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
42927 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42928 COND_TOOLKIT_WINCE_USE_GUI_1
=""
42931 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
42932 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42933 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
42936 COND_TOOLKIT_X11
="#"
42937 if test "x$TOOLKIT" = "xX11" ; then
42938 COND_TOOLKIT_X11
=""
42941 COND_TOOLKIT_X11_USE_GUI_1
="#"
42942 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42943 COND_TOOLKIT_X11_USE_GUI_1
=""
42947 if test "x$UNICODE" = "x1" ; then
42951 COND_USE_EXCEPTIONS_0
="#"
42952 if test "x$USE_EXCEPTIONS" = "x0" ; then
42953 COND_USE_EXCEPTIONS_0
=""
42956 COND_USE_EXCEPTIONS_1
="#"
42957 if test "x$USE_EXCEPTIONS" = "x1" ; then
42958 COND_USE_EXCEPTIONS_1
=""
42962 if test "x$USE_GUI" = "x0" ; then
42967 if test "x$USE_GUI" = "x1" ; then
42971 COND_USE_GUI_1_WXUNIV_0
="#"
42972 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42973 COND_USE_GUI_1_WXUNIV_0
=""
42976 COND_USE_GUI_1_WXUNIV_1
="#"
42977 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
42978 COND_USE_GUI_1_WXUNIV_1
=""
42981 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42982 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42983 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42986 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42987 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42988 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42991 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42992 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42993 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42996 COND_USE_ODBC_1
="#"
42997 if test "x$USE_ODBC" = "x1" ; then
43001 COND_USE_OPENGL_1
="#"
43002 if test "x$USE_OPENGL" = "x1" ; then
43003 COND_USE_OPENGL_1
=""
43006 COND_USE_PLUGINS_0
="#"
43007 if test "x$USE_PLUGINS" = "x0" ; then
43008 COND_USE_PLUGINS_0
=""
43011 COND_USE_RTTI_0
="#"
43012 if test "x$USE_RTTI" = "x0" ; then
43016 COND_USE_RTTI_1
="#"
43017 if test "x$USE_RTTI" = "x1" ; then
43021 COND_USE_SOSYMLINKS_1
="#"
43022 if test "x$USE_SOSYMLINKS" = "x1" ; then
43023 COND_USE_SOSYMLINKS_1
=""
43026 COND_USE_SOVERLINUX_1
="#"
43027 if test "x$USE_SOVERLINUX" = "x1" ; then
43028 COND_USE_SOVERLINUX_1
=""
43031 COND_USE_SOVERSION_0
="#"
43032 if test "x$USE_SOVERSION" = "x0" ; then
43033 COND_USE_SOVERSION_0
=""
43036 COND_USE_SOVERSOLARIS_1
="#"
43037 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43038 COND_USE_SOVERSOLARIS_1
=""
43041 COND_USE_THREADS_0
="#"
43042 if test "x$USE_THREADS" = "x0" ; then
43043 COND_USE_THREADS_0
=""
43046 COND_USE_THREADS_1
="#"
43047 if test "x$USE_THREADS" = "x1" ; then
43048 COND_USE_THREADS_1
=""
43052 if test "x$USE_XRC" = "x1" ; then
43056 COND_WITH_PLUGIN_SDL_1
="#"
43057 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43058 COND_WITH_PLUGIN_SDL_1
=""
43062 if test "x$WXUNIV" = "x0" ; then
43067 if test "x$WXUNIV" = "x1" ; then
43071 COND_WXUSE_EXPAT_BUILTIN
="#"
43072 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43073 COND_WXUSE_EXPAT_BUILTIN
=""
43076 COND_WXUSE_LIBJPEG_BUILTIN
="#"
43077 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43078 COND_WXUSE_LIBJPEG_BUILTIN
=""
43081 COND_WXUSE_LIBPNG_BUILTIN
="#"
43082 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43083 COND_WXUSE_LIBPNG_BUILTIN
=""
43086 COND_WXUSE_LIBTIFF_BUILTIN
="#"
43087 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43088 COND_WXUSE_LIBTIFF_BUILTIN
=""
43091 COND_WXUSE_ODBC_BUILTIN
="#"
43092 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43093 COND_WXUSE_ODBC_BUILTIN
=""
43096 COND_WXUSE_REGEX_BUILTIN
="#"
43097 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43098 COND_WXUSE_REGEX_BUILTIN
=""
43101 COND_WXUSE_ZLIB_BUILTIN
="#"
43102 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43103 COND_WXUSE_ZLIB_BUILTIN
=""
43108 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43109 { { 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
43110 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;}
43111 { (exit 1); exit 1; }; }
43115 if test "$wxUSE_SHARED" = "yes"; then
43117 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
43118 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
43121 *-pc-os2_emx | *-pc-os2-emx )
43122 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43123 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43124 cp -p ${srcdir}/src
/os
2/dllnames.sh .
43125 cp -p ${srcdir}/src
/os
2/dllar.sh .
43130 EXE_LINKER
="$CXX -o"
43134 GCC_PRAGMA_FLAGS
=""
43136 if test $GCC_PCH = 1 ; then
43137 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43138 PCH_FLAGS
="-DWX_PRECOMP"
43141 powerpc
-*-darwin* )
43142 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43145 if test "$wxUSE_STL" = "yes" -o \
43146 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43147 "$wxUSE_NO_RTTI" != "yes"; then
43148 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43149 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43150 cat >conftest.
$ac_ext <<_ACEOF
43153 cat confdefs.h
>>conftest.
$ac_ext
43154 cat >>conftest.
$ac_ext <<_ACEOF
43155 /* end confdefs.h. */
43160 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43161 #error "Not GCC 3.2 or greater"
43168 rm -f conftest.
$ac_objext
43169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43170 (eval $ac_compile) 2>conftest.er1
43172 grep -v '^ *+' conftest.er1
>conftest.err
43174 cat conftest.err
>&5
43175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43176 (exit $ac_status); } &&
43177 { ac_try
='test -z "$ac_c_werror_flag"
43178 || test ! -s conftest.err'
43179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43180 (eval $ac_try) 2>&5
43182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43183 (exit $ac_status); }; } &&
43184 { ac_try
='test -s conftest.$ac_objext'
43185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43186 (eval $ac_try) 2>&5
43188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43189 (exit $ac_status); }; }; then
43190 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43191 echo "$as_me:$LINENO: result: yes" >&5
43192 echo "${ECHO_T}yes" >&6
43194 echo "$as_me: failed program was:" >&5
43195 sed 's/^/| /' conftest.
$ac_ext >&5
43197 echo "$as_me:$LINENO: result: no" >&5
43198 echo "${ECHO_T}no" >&6
43200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43203 *-pc-os2_emx | *-pc-os2-emx )
43204 if test "$wxUSE_STL" = "yes"; then
43205 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43206 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43207 cat >conftest.
$ac_ext <<_ACEOF
43210 cat confdefs.h
>>conftest.
$ac_ext
43211 cat >>conftest.
$ac_ext <<_ACEOF
43212 /* end confdefs.h. */
43217 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43218 #error "Not GCC 3.2 or greater"
43225 rm -f conftest.
$ac_objext
43226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43227 (eval $ac_compile) 2>conftest.er1
43229 grep -v '^ *+' conftest.er1
>conftest.err
43231 cat conftest.err
>&5
43232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43233 (exit $ac_status); } &&
43234 { ac_try
='test -z "$ac_c_werror_flag"
43235 || test ! -s conftest.err'
43236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43237 (eval $ac_try) 2>&5
43239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43240 (exit $ac_status); }; } &&
43241 { ac_try
='test -s conftest.$ac_objext'
43242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43243 (eval $ac_try) 2>&5
43245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43246 (exit $ac_status); }; }; then
43247 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43248 echo "$as_me:$LINENO: result: yes" >&5
43249 echo "${ECHO_T}yes" >&6
43251 echo "$as_me: failed program was:" >&5
43252 sed 's/^/| /' conftest.
$ac_ext >&5
43254 echo "$as_me:$LINENO: result: no" >&5
43255 echo "${ECHO_T}no" >&6
43257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43262 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43265 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43329 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43330 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43331 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43332 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43333 echo $ECHO_N "(cached) $ECHO_C" >&6
43335 cat >conftest.
make <<\_ACEOF
43337 @
echo 'ac_maketemp="$(MAKE)"'
43339 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43340 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43341 if test -n "$ac_maketemp"; then
43342 eval ac_cv_prog_make_
${ac_make}_set
=yes
43344 eval ac_cv_prog_make_
${ac_make}_set
=no
43346 rm -f conftest.
make
43348 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43349 echo "$as_me:$LINENO: result: yes" >&5
43350 echo "${ECHO_T}yes" >&6
43353 echo "$as_me:$LINENO: result: no" >&5
43354 echo "${ECHO_T}no" >&6
43355 SET_MAKE
="MAKE=${MAKE-make}"
43360 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43363 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43366 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43369 ac_config_files
="$ac_config_files version-script Makefile"
43372 ac_config_commands
="$ac_config_commands wx-config
43378 if test "$wxUSE_GUI" = "yes"; then
43379 SUBDIRS
="samples demos utils contrib"
43380 else SUBDIRS
="samples utils"
43385 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43386 if test "${with_cppunit_prefix+set}" = set; then
43387 withval
="$with_cppunit_prefix"
43388 cppunit_config_prefix
="$withval"
43390 cppunit_config_prefix
=""
43393 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43394 if test "${with_cppunit_exec_prefix+set}" = set; then
43395 withval
="$with_cppunit_exec_prefix"
43396 cppunit_config_exec_prefix
="$withval"
43398 cppunit_config_exec_prefix
=""
43401 if test x
$cppunit_config_exec_prefix != x
; then
43402 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43403 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43404 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
43407 if test x
$cppunit_config_prefix != x
; then
43408 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
43409 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43410 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
43414 # Extract the first word of "cppunit-config", so it can be a program name with args.
43415 set dummy cppunit
-config; ac_word
=$2
43416 echo "$as_me:$LINENO: checking for $ac_word" >&5
43417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43418 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43419 echo $ECHO_N "(cached) $ECHO_C" >&6
43421 case $CPPUNIT_CONFIG in
43423 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43427 for as_dir
in $PATH
43430 test -z "$as_dir" && as_dir
=.
43431 for ac_exec_ext
in '' $ac_executable_extensions; do
43432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43433 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43440 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
43444 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
43446 if test -n "$CPPUNIT_CONFIG"; then
43447 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43448 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43450 echo "$as_me:$LINENO: result: no" >&5
43451 echo "${ECHO_T}no" >&6
43454 cppunit_version_min
=1.8.0
43456 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43457 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43459 if test "$CPPUNIT_CONFIG" = "no" ; then
43462 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
43463 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
43464 cppunit_version
=`$CPPUNIT_CONFIG --version`
43466 cppunit_major_version
=`echo $cppunit_version | \
43467 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43468 cppunit_minor_version
=`echo $cppunit_version | \
43469 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43470 cppunit_micro_version
=`echo $cppunit_version | \
43471 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43473 cppunit_major_min
=`echo $cppunit_version_min | \
43474 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43475 cppunit_minor_min
=`echo $cppunit_version_min | \
43476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43477 cppunit_micro_min
=`echo $cppunit_version_min | \
43478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43480 cppunit_version_proper
=`expr \
43481 $cppunit_major_version \> $cppunit_major_min \| \
43482 $cppunit_major_version \= $cppunit_major_min \& \
43483 $cppunit_minor_version \> $cppunit_minor_min \| \
43484 $cppunit_major_version \= $cppunit_major_min \& \
43485 $cppunit_minor_version \= $cppunit_minor_min \& \
43486 $cppunit_micro_version \>= $cppunit_micro_min `
43488 if test "$cppunit_version_proper" = "1" ; then
43489 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43490 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43492 echo "$as_me:$LINENO: result: no" >&5
43493 echo "${ECHO_T}no" >&6
43498 if test "x$no_cppunit" = x
; then
43499 SUBDIRS
="$SUBDIRS tests"
43510 for subdir
in `echo $SUBDIRS`; do
43511 if test -d ${srcdir}/${subdir} ; then
43512 if test "$wxUSE_GUI" = "yes"; then
43513 if test ${subdir} = "samples"; then
43514 makefiles
="samples/Makefile.in $makefiles"
43515 for sample
in `echo $SAMPLES_SUBDIRS`; do
43516 if test -d $srcdir/samples
/$sample; then
43517 makefiles
="samples/$sample/Makefile.in $makefiles"
43520 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43522 else if test ${subdir} = "samples"; then
43523 makefiles
="samples/Makefile.in samples/console/Makefile.in"
43524 elif test ${subdir} = "utils"; then
43526 for util
in HelpGen tex2rtf
; do
43527 if test -d $srcdir/utils
/$util ; then
43528 makefiles
="utils/$util/Makefile.in \
43529 utils/$util/src/Makefile.in \
43533 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43537 for mkin
in $makefiles ; do
43538 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43539 ac_config_files
="$ac_config_files $mk"
43546 cat >confcache
<<\_ACEOF
43547 # This file is a shell script that caches the results of configure
43548 # tests run on this system so they can be shared between configure
43549 # scripts and configure runs, see configure's option --config-cache.
43550 # It is not useful on other systems. If it contains results you don't
43551 # want to keep, you may remove or edit it.
43553 # config.status only pays attention to the cache file if you give it
43554 # the --recheck option to rerun configure.
43556 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43557 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43558 # following values.
43562 # The following way of writing the cache mishandles newlines in values,
43563 # but we know of no workaround that is simple, portable, and efficient.
43564 # So, don't put newlines in cache variables' values.
43565 # Ultrix sh set writes to stderr and can't be redirected directly,
43566 # and sets the high bit in the cache file unless we assign to the vars.
43569 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43571 # `set' does not quote correctly, so add quotes (double-quote
43572 # substitution turns \\\\ into \\, and sed turns \\ into \).
43575 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43578 # `set' quotes correctly as required by POSIX, so do not add quotes.
43580 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43587 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43589 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43591 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
43592 if test -w $cache_file; then
43593 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43594 cat confcache
>$cache_file
43596 echo "not updating unwritable cache $cache_file"
43601 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
43602 # Let make expand exec_prefix.
43603 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
43605 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43606 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43607 # trailing colons and then remove the whole line if VPATH becomes empty
43608 # (actually we leave an empty line to preserve line numbers).
43609 if test "x$srcdir" = x.
; then
43610 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
43611 s/:*\$(srcdir):*/:/;
43612 s/:*\${srcdir}:*/:/;
43614 s/^\([^=]*=[ ]*\):*/\1/;
43620 DEFS
=-DHAVE_CONFIG_H
43624 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
43625 # 1. Remove the extension, and $U if already installed.
43626 ac_i
=`echo "$ac_i" |
43627 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43629 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
43630 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
43632 LIBOBJS
=$ac_libobjs
43634 LTLIBOBJS
=$ac_ltlibobjs
43638 : ${CONFIG_STATUS=./config.status}
43639 ac_clean_files_save
=$ac_clean_files
43640 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
43641 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43642 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43643 cat >$CONFIG_STATUS <<_ACEOF
43645 # Generated by $as_me.
43646 # Run this file to recreate the current configuration.
43647 # Compiler output produced by configure, useful for debugging
43648 # configure, is in config.log if it exists.
43651 ac_cs_recheck=false
43653 SHELL=\${CONFIG_SHELL-$SHELL}
43656 cat >>$CONFIG_STATUS <<\_ACEOF
43657 ## --------------------- ##
43658 ## M4sh Initialization. ##
43659 ## --------------------- ##
43661 # Be Bourne compatible
43662 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
43665 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43666 # is contrary to our usage. Disable this feature.
43667 alias -g '${1+"$@"}'='"$@"'
43668 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
43671 DUALCASE
=1; export DUALCASE
# for MKS sh
43673 # Support unset when possible.
43674 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
43681 # Work around bugs in pre-3.0 UWIN ksh.
43682 $as_unset ENV MAIL MAILPATH
43689 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43690 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43691 LC_TELEPHONE LC_TIME
43693 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43694 eval $as_var=C
; export $as_var
43700 # Required to use basename.
43701 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43707 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
43708 as_basename
=basename
43714 # Name of the executable.
43715 as_me
=`$as_basename "$0" ||
43716 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43717 X"$0" : 'X\(//\)$' \| \
43718 X"$0" : 'X\(/\)$' \| \
43719 . : '\(.\)' 2>/dev/null ||
43721 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43722 /^X\/\(\/\/\)$/{ s//\1/; q; }
43723 /^X\/\(\/\).*/{ s//\1/; q; }
43727 # PATH needs CR, and LINENO needs CR and PATH.
43728 # Avoid depending upon Character Ranges.
43729 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
43730 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43731 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
43732 as_cr_digits
='0123456789'
43733 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43735 # The user is always right.
43736 if test "${PATH_SEPARATOR+set}" != set; then
43737 echo "#! /bin/sh" >conf$$.sh
43738 echo "exit 0" >>conf$$.sh
43740 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
43749 as_lineno_1
=$LINENO
43750 as_lineno_2
=$LINENO
43751 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
43752 test "x$as_lineno_1" != "x$as_lineno_2" &&
43753 test "x$as_lineno_3" = "x$as_lineno_2" || {
43754 # Find who we are. Look in the path if we contain no path at all
43757 *[\\/]* ) as_myself
=$0 ;;
43758 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43759 for as_dir
in $PATH
43762 test -z "$as_dir" && as_dir
=.
43763 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
43768 # We did not find ourselves, most probably we were run as `sh COMMAND'
43769 # in which case we are not to be found in the path.
43770 if test "x$as_myself" = x
; then
43773 if test ! -f "$as_myself"; then
43774 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43775 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43776 { (exit 1); exit 1; }; }
43778 case $CONFIG_SHELL in
43780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43781 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
43784 test -z "$as_dir" && as_dir
=.
43785 for as_base
in sh bash ksh sh5
; do
43788 if ("$as_dir/$as_base" -c '
43789 as_lineno_1=$LINENO
43790 as_lineno_2=$LINENO
43791 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43792 test "x$as_lineno_1" != "x$as_lineno_2" &&
43793 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
43794 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
43795 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
43796 CONFIG_SHELL
=$as_dir/$as_base
43797 export CONFIG_SHELL
43798 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
43806 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43807 # uniformly replaced by the line number. The first 'sed' inserts a
43808 # line-number line before each line; the second 'sed' does the real
43809 # work. The second script uses 'N' to pair each line-number line
43810 # with the numbered line, and appends trailing '-' during
43811 # substitution so that $LINENO is not a special case at line end.
43812 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43813 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
43814 sed '=' <$as_myself |
43819 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
43822 s,^['$as_cr_digits']*\n,,
43823 ' >$as_me.lineno
&&
43824 chmod +x
$as_me.lineno
||
43825 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
43826 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
43827 { (exit 1); exit 1; }; }
43829 # Don't try to exec as it changes $[0], causing all sort of problems
43830 # (the dirname of $[0] is not the place where we might find the
43831 # original and so on. Autoconf is especially sensible to this).
43833 # Exit status is that of the last command.
43838 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
43839 *c
*,-n*) ECHO_N
= ECHO_C
='
43841 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
43842 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
43845 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43851 rm -f conf$$ conf$$.exe conf$$.
file
43853 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
43854 # We could just check for DJGPP; but this test a) works b) is more generic
43855 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
43856 if test -f conf$$.exe
; then
43857 # Don't use ln at all; we don't have any links
43862 elif ln conf$$.
file conf$$
2>/dev
/null
; then
43867 rm -f conf$$ conf$$.exe conf$$.
file
43869 if mkdir -p .
2>/dev
/null
; then
43872 test -d .
/-p && rmdir .
/-p
43876 as_executable_p
="test -f"
43878 # Sed expression to map a string onto a valid CPP name.
43879 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43881 # Sed expression to map a string onto a valid variable name.
43882 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43886 # We need space, tab and new line, in precisely that order.
43896 # Open the log real soon, to keep \$[0] and so on meaningful, and to
43897 # report actual input values of CONFIG_FILES etc. instead of their
43898 # values after options handling. Logging --version etc. is OK.
43902 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43903 ## Running $as_me. ##
43908 This file was extended by wxWidgets $as_me 2.5.4, which was
43909 generated by GNU Autoconf 2.59. Invocation command line was
43911 CONFIG_FILES = $CONFIG_FILES
43912 CONFIG_HEADERS = $CONFIG_HEADERS
43913 CONFIG_LINKS = $CONFIG_LINKS
43914 CONFIG_COMMANDS = $CONFIG_COMMANDS
43918 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43922 # Files that config.status was made for.
43923 if test -n "$ac_config_files"; then
43924 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43927 if test -n "$ac_config_headers"; then
43928 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43931 if test -n "$ac_config_links"; then
43932 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43935 if test -n "$ac_config_commands"; then
43936 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43939 cat >>$CONFIG_STATUS <<\_ACEOF
43942 \`$as_me' instantiates files from templates according to the
43943 current configuration.
43945 Usage: $0 [OPTIONS] [FILE]...
43947 -h, --help print this help, then exit
43948 -V, --version print version number, then exit
43949 -q, --quiet do not print progress messages
43950 -d, --debug don't remove temporary files
43951 --recheck update $as_me by reconfiguring in the same conditions
43952 --file=FILE[:TEMPLATE]
43953 instantiate the configuration file FILE
43954 --header=FILE[:TEMPLATE]
43955 instantiate the configuration header FILE
43957 Configuration files:
43960 Configuration headers:
43963 Configuration commands:
43966 Report bugs to <bug-autoconf@gnu.org>."
43969 cat >>$CONFIG_STATUS <<_ACEOF
43971 wxWidgets config.status 2.5.4
43972 configured by $0, generated by GNU Autoconf 2.59,
43973 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43975 Copyright (C) 2003 Free Software Foundation, Inc.
43976 This config.status script is free software; the Free Software Foundation
43977 gives unlimited permission to copy, distribute and modify it."
43982 cat >>$CONFIG_STATUS <<\_ACEOF
43983 # If no file are specified by the user, then we need to provide default
43984 # value. By we need to know if files were specified by the user.
43990 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
43991 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
43999 *) # This is not an option, so the user has probably given explicit
44002 ac_need_defaults
=false
;;
44006 # Handling of the options.
44008 cat >>$CONFIG_STATUS <<\_ACEOF
44009 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44011 --version | --vers* | -V )
44012 echo "$ac_cs_version"; exit 0 ;;
44014 # Conflict between --help and --header
44015 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44016 Try \`$0 --help' for more information." >&5
44017 echo "$as_me: error: ambiguous option: $1
44018 Try \`$0 --help' for more information." >&2;}
44019 { (exit 1); exit 1; }; };;
44020 --help | --hel | -h )
44021 echo "$ac_cs_usage"; exit 0 ;;
44022 --debug | --d* | -d )
44024 --file | --fil | --fi | --f )
44026 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
44027 ac_need_defaults
=false
;;
44028 --header | --heade | --head | --hea )
44030 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
44031 ac_need_defaults
=false
;;
44032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44033 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44036 # This is an error.
44037 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44038 Try \`$0 --help' for more information." >&5
44039 echo "$as_me: error: unrecognized option: $1
44040 Try \`$0 --help' for more information." >&2;}
44041 { (exit 1); exit 1; }; } ;;
44043 *) ac_config_targets
="$ac_config_targets $1" ;;
44049 ac_configure_extra_args
=
44051 if $ac_cs_silent; then
44053 ac_configure_extra_args
="$ac_configure_extra_args --silent"
44057 cat >>$CONFIG_STATUS <<_ACEOF
44058 if \$ac_cs_recheck; then
44059 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44060 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44065 cat >>$CONFIG_STATUS <<_ACEOF
44067 # INIT-COMMANDS section.
44070 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44071 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44072 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44080 cat >>$CONFIG_STATUS <<\_ACEOF
44081 for ac_config_target
in $ac_config_targets
44083 case "$ac_config_target" in
44084 # Handling of arguments.
44085 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44086 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44087 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
44088 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
44089 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
44090 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
44091 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44092 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44093 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44094 { (exit 1); exit 1; }; };;
44098 # If the user did not use the arguments to specify the items to instantiate,
44099 # then the envvar interface is used. Set only those that are not.
44100 # We use the long form for the default assignment because of an extremely
44101 # bizarre bug on SunOS 4.1.3.
44102 if $ac_need_defaults; then
44103 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
44104 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
44105 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
44108 # Have a temporary directory for convenience. Make it in the build tree
44109 # simply because there is no reason to put it here, and in addition,
44110 # creating and moving files from /tmp can sometimes cause problems.
44111 # Create a temporary directory, and hook for its removal unless debugging.
44114 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44115 trap '{ (exit 1); exit 1; }' 1 2 13 15
44118 # Create a (secure) tmp directory for tmp files.
44121 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44122 test -n "$tmp" && test -d "$tmp"
44125 tmp
=.
/confstat$$
-$RANDOM
44126 (umask 077 && mkdir $tmp)
44129 echo "$me: cannot create a temporary directory in ." >&2
44130 { (exit 1); exit 1; }
44135 cat >>$CONFIG_STATUS <<_ACEOF
44138 # CONFIG_FILES section.
44141 # No need to generate the scripts if there are no CONFIG_FILES.
44142 # This happens for instance when ./config.status config.h
44143 if test -n "\$CONFIG_FILES"; then
44144 # Protect against being on the right side of a sed subst in config.status.
44145 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44146 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44147 s,@SHELL@,$SHELL,;t t
44148 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44149 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44150 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44151 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44152 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44153 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44154 s,@exec_prefix@,$exec_prefix,;t t
44155 s,@prefix@,$prefix,;t t
44156 s,@program_transform_name@,$program_transform_name,;t t
44157 s,@bindir@,$bindir,;t t
44158 s,@sbindir@,$sbindir,;t t
44159 s,@libexecdir@,$libexecdir,;t t
44160 s,@datadir@,$datadir,;t t
44161 s,@sysconfdir@,$sysconfdir,;t t
44162 s,@sharedstatedir@,$sharedstatedir,;t t
44163 s,@localstatedir@,$localstatedir,;t t
44164 s,@libdir@,$libdir,;t t
44165 s,@includedir@,$includedir,;t t
44166 s,@oldincludedir@,$oldincludedir,;t t
44167 s,@infodir@,$infodir,;t t
44168 s,@mandir@,$mandir,;t t
44169 s,@build_alias@,$build_alias,;t t
44170 s,@host_alias@,$host_alias,;t t
44171 s,@target_alias@,$target_alias,;t t
44172 s,@DEFS@,$DEFS,;t t
44173 s,@ECHO_C@,$ECHO_C,;t t
44174 s,@ECHO_N@,$ECHO_N,;t t
44175 s,@ECHO_T@,$ECHO_T,;t t
44176 s,@LIBS@,$LIBS,;t t
44177 s,@build@,$build,;t t
44178 s,@build_cpu@,$build_cpu,;t t
44179 s,@build_vendor@,$build_vendor,;t t
44180 s,@build_os@,$build_os,;t t
44181 s,@host@,$host,;t t
44182 s,@host_cpu@,$host_cpu,;t t
44183 s,@host_vendor@,$host_vendor,;t t
44184 s,@host_os@,$host_os,;t t
44185 s,@target@,$target,;t t
44186 s,@target_cpu@,$target_cpu,;t t
44187 s,@target_vendor@,$target_vendor,;t t
44188 s,@target_os@,$target_os,;t t
44190 s,@CFLAGS@,$CFLAGS,;t t
44191 s,@LDFLAGS@,$LDFLAGS,;t t
44192 s,@CPPFLAGS@,$CPPFLAGS,;t t
44193 s,@ac_ct_CC@,$ac_ct_CC,;t t
44194 s,@EXEEXT@,$EXEEXT,;t t
44195 s,@OBJEXT@,$OBJEXT,;t t
44197 s,@EGREP@,$EGREP,;t t
44199 s,@CXXFLAGS@,$CXXFLAGS,;t t
44200 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44201 s,@RANLIB@,$RANLIB,;t t
44202 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44204 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44205 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44206 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44207 s,@STRIP@,$STRIP,;t t
44208 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44209 s,@LN_S@,$LN_S,;t t
44210 s,@CXXCPP@,$CXXCPP,;t t
44211 s,@subdirs@,$subdirs,;t t
44212 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44213 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44214 s,@GTK_LIBS@,$GTK_LIBS,;t t
44215 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44216 s,@X_CFLAGS@,$X_CFLAGS,;t t
44217 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44218 s,@X_LIBS@,$X_LIBS,;t t
44219 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44220 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44221 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44222 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44223 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44224 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44225 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44226 s,@RESCOMP@,$RESCOMP,;t t
44227 s,@DEREZ@,$DEREZ,;t t
44228 s,@SETFILE@,$SETFILE,;t t
44229 s,@LIBICONV@,$LIBICONV,;t t
44230 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44231 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44232 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44233 s,@SDL_LIBS@,$SDL_LIBS,;t t
44234 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44235 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44236 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44237 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44238 s,@GST_INSPECT@,$GST_INSPECT,;t t
44239 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44240 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44241 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44242 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44243 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44244 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44245 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44246 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44247 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44248 s,@VENDOR@,$VENDOR,;t t
44249 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44250 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44251 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44252 s,@WXUNIV@,$WXUNIV,;t t
44253 s,@MONOLITHIC@,$MONOLITHIC,;t t
44254 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44255 s,@EXTRALIBS@,$EXTRALIBS,;t t
44256 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44257 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44258 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44259 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44260 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44261 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44262 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44263 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44264 s,@UNICODE@,$UNICODE,;t t
44265 s,@BUILD@,$BUILD,;t t
44266 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44267 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44268 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44269 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44270 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44271 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44272 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44273 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44274 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44275 s,@SET_MAKE@,$SET_MAKE,;t t
44276 s,@MAKE_SET@,$MAKE_SET,;t t
44277 s,@ac_ct_AR@,$ac_ct_AR,;t t
44278 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44280 s,@ac_ct_NM@,$ac_ct_NM,;t t
44281 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44282 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44283 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44284 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44285 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44286 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44287 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44288 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44289 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44290 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44291 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44292 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44293 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44294 s,@LIBPREFIX@,$LIBPREFIX,;t t
44295 s,@LIBEXT@,$LIBEXT,;t t
44296 s,@DLLPREFIX@,$DLLPREFIX,;t t
44297 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44298 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44299 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44300 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44301 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44302 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44303 s,@PIC_FLAG@,$PIC_FLAG,;t t
44304 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44305 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44306 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44307 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44308 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44309 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44310 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44311 s,@GCC_PCH@,$GCC_PCH,;t t
44312 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44313 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44314 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44315 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44316 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44317 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44318 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44319 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44320 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44321 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44322 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44323 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44324 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44325 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44326 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44327 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44328 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44329 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44330 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
44331 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
44332 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44333 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44334 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44335 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44336 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
44337 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
44338 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44339 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44340 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44341 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44342 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44343 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44344 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44345 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44346 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44347 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44348 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44349 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44350 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44351 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44352 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44353 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
44354 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44355 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44356 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44357 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44358 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44359 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44360 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44361 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44362 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44363 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44364 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44365 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44366 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44367 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44368 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44369 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44370 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44371 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44372 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44373 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44374 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44375 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44376 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44377 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44378 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44379 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44380 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44381 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44382 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44383 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44384 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44385 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44386 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44387 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44388 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44389 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44390 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44391 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44392 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44393 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44394 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44395 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44396 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44397 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44398 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44399 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44400 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44401 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44402 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44403 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44404 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44405 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44406 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44407 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44408 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44409 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44410 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44411 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44412 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44413 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44414 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44415 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44416 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44417 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44418 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44419 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44420 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44421 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44422 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44423 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44424 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44425 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44426 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44427 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44428 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44429 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44430 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44431 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44432 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44433 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44434 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44435 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44436 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44437 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44438 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44439 s,@SHARED@,$SHARED,;t t
44440 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44441 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44442 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44443 s,@USE_GUI@,$USE_GUI,;t t
44444 s,@AFMINSTALL@,$AFMINSTALL,;t t
44445 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44446 s,@TOOLKIT@,$TOOLKIT,;t t
44447 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44448 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44449 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44450 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44451 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44452 s,@cross_compiling@,$cross_compiling,;t t
44453 s,@WIDGET_SET@,$WIDGET_SET,;t t
44454 s,@WX_RELEASE@,$WX_RELEASE,;t t
44455 s,@WX_VERSION@,$WX_VERSION,;t t
44456 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44457 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44458 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44459 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44460 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44461 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44462 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44463 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44464 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44465 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44466 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44467 s,@EXE_LINKER@,$EXE_LINKER,;t t
44468 s,@GUIDIST@,$GUIDIST,;t t
44469 s,@DISTDIR@,$DISTDIR,;t t
44470 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44471 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44472 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44473 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44474 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44475 s,@RESFLAGS@,$RESFLAGS,;t t
44476 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44477 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44478 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44479 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44480 s,@MACRESCOMP@,$MACRESCOMP,;t t
44481 s,@MACSETFILE@,$MACSETFILE,;t t
44482 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44484 s,@DLLTOOL@,$DLLTOOL,;t t
44485 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44486 s,@LIBOBJS@,$LIBOBJS,;t t
44487 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44492 cat >>$CONFIG_STATUS <<\_ACEOF
44493 # Split the substitutions into bite-sized pieces for seds with
44494 # small command number limits, like on Digital OSF/1 and HP-UX.
44495 ac_max_sed_lines
=48
44496 ac_sed_frag
=1 # Number of current file.
44497 ac_beg
=1 # First line for current file.
44498 ac_end
=$ac_max_sed_lines # Line after last line for current file.
44501 while $ac_more_lines; do
44502 if test $ac_beg -gt 1; then
44503 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44505 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44507 if test ! -s $tmp/subs.frag
; then
44508 ac_more_lines
=false
44510 # The purpose of the label and of the branching condition is to
44511 # speed up the sed processing (if there are no `@' at all, there
44512 # is no need to browse any of the substitutions).
44513 # These are the two extra sed commands mentioned above.
44515 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
44516 if test -z "$ac_sed_cmds"; then
44517 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
44519 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44521 ac_sed_frag
=`expr $ac_sed_frag + 1`
44523 ac_end
=`expr $ac_end + $ac_max_sed_lines`
44526 if test -z "$ac_sed_cmds"; then
44529 fi # test -n "$CONFIG_FILES"
44532 cat >>$CONFIG_STATUS <<\_ACEOF
44533 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
44534 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44536 - | *:- | *:-:* ) # input from stdin
44538 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44539 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44540 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44541 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44542 * ) ac_file_in
=$ac_file.
in ;;
44545 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44546 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44547 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44548 X"$ac_file" : 'X\(//\)[^/]' \| \
44549 X"$ac_file" : 'X\(//\)$' \| \
44550 X"$ac_file" : 'X\(/\)' \| \
44551 . : '\(.\)' 2>/dev/null ||
44553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44554 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44555 /^X\(\/\/\)$/{ s//\1/; q; }
44556 /^X\(\/\).*/{ s//\1/; q; }
44558 { if $as_mkdir_p; then
44563 while test ! -d "$as_dir"; do
44564 as_dirs
="$as_dir $as_dirs"
44565 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44566 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44567 X"$as_dir" : 'X\(//\)[^/]' \| \
44568 X"$as_dir" : 'X\(//\)$' \| \
44569 X"$as_dir" : 'X\(/\)' \| \
44570 . : '\(.\)' 2>/dev/null ||
44572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44574 /^X\(\/\/\)$/{ s//\1/; q; }
44575 /^X\(\/\).*/{ s//\1/; q; }
44578 test ! -n "$as_dirs" || mkdir $as_dirs
44579 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44580 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44581 { (exit 1); exit 1; }; }; }
44585 if test "$ac_dir" != .
; then
44586 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44587 # A "../" for each directory in $ac_dir_suffix.
44588 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44590 ac_dir_suffix
= ac_top_builddir
=
44594 .
) # No --srcdir option. We are building in place.
44596 if test -z "$ac_top_builddir"; then
44599 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44601 [\\/]* | ?
:[\\/]* ) # Absolute path.
44602 ac_srcdir
=$srcdir$ac_dir_suffix;
44603 ac_top_srcdir
=$srcdir ;;
44604 *) # Relative path.
44605 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44606 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44609 # Do not use `cd foo && pwd` to compute absolute paths, because
44610 # the directories may not exist.
44612 .
) ac_abs_builddir
="$ac_dir";;
44615 .
) ac_abs_builddir
=`pwd`;;
44616 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44617 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44620 case $ac_abs_builddir in
44621 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44623 case ${ac_top_builddir}.
in
44624 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44625 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44626 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44629 case $ac_abs_builddir in
44630 .
) ac_abs_srcdir
=$ac_srcdir;;
44633 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44634 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44635 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44638 case $ac_abs_builddir in
44639 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44641 case $ac_top_srcdir in
44642 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44643 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44644 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44650 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
44651 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
44654 if test x
"$ac_file" != x
-; then
44655 { echo "$as_me:$LINENO: creating $ac_file" >&5
44656 echo "$as_me: creating $ac_file" >&6;}
44659 # Let's still pretend it is `configure' which instantiates (i.e., don't
44660 # use $as_me), people would be surprised to read:
44661 # /* config.h. Generated by config.status. */
44662 if test x
"$ac_file" = x
-; then
44665 configure_input
="$ac_file. "
44667 configure_input
=$configure_input"Generated from `echo $ac_file_in |
44668 sed 's,.*/,,'` by configure."
44670 # First look for the input files in the build tree, otherwise in the
44672 ac_file_inputs
=`IFS=:
44673 for f in $ac_file_in; do
44675 -) echo $tmp/stdin ;;
44677 # Absolute (can't be DOS-style, as IFS=:)
44678 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44679 echo "$as_me: error: cannot find input file: $f" >&2;}
44680 { (exit 1); exit 1; }; }
44683 if test -f "$f"; then
44686 elif test -f "$srcdir/$f"; then
44691 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44692 echo "$as_me: error: cannot find input file: $f" >&2;}
44693 { (exit 1); exit 1; }; }
44696 done` || { (exit 1); exit 1; }
44698 cat >>$CONFIG_STATUS <<_ACEOF
44702 cat >>$CONFIG_STATUS <<\_ACEOF
44704 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
44705 s
,@configure_input@
,$configure_input,;t t
44706 s
,@srcdir@
,$ac_srcdir,;t t
44707 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
44708 s
,@top_srcdir@
,$ac_top_srcdir,;t t
44709 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
44710 s
,@builddir@
,$ac_builddir,;t t
44711 s
,@abs_builddir@
,$ac_abs_builddir,;t t
44712 s
,@top_builddir@
,$ac_top_builddir,;t t
44713 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
44714 s
,@INSTALL@
,$ac_INSTALL,;t t
44715 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44717 if test x"$ac_file" != x-; then
44718 mv $tmp/out $ac_file
44724 # Run the commands associated with the file.
44726 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44727 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44731 cat >>$CONFIG_STATUS <<\_ACEOF
44734 # CONFIG_HEADER section.
44737 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
44738 # NAME is the cpp macro being defined and VALUE is the value it is being given.
44740 # ac_d sets the value in "#define NAME VALUE" lines.
44741 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44742 ac_dB
='[ ].*$,\1#\2'
44745 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44746 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44747 ac_uB
='$,\1#\2define\3'
44751 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
44752 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44754 - | *:- | *:-:* ) # input from stdin
44756 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44757 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44758 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44759 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44760 * ) ac_file_in
=$ac_file.
in ;;
44763 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44764 echo "$as_me: creating $ac_file" >&6;}
44766 # First look for the input files in the build tree, otherwise in the
44768 ac_file_inputs
=`IFS=:
44769 for f in $ac_file_in; do
44771 -) echo $tmp/stdin ;;
44773 # Absolute (can't be DOS-style, as IFS=:)
44774 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44775 echo "$as_me: error: cannot find input file: $f" >&2;}
44776 { (exit 1); exit 1; }; }
44777 # Do quote $f, to prevent DOS paths from being IFS'd.
44780 if test -f "$f"; then
44783 elif test -f "$srcdir/$f"; then
44788 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44789 echo "$as_me: error: cannot find input file: $f" >&2;}
44790 { (exit 1); exit 1; }; }
44793 done` || { (exit 1); exit 1; }
44794 # Remove the trailing spaces.
44795 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
44799 # Transform confdefs.h into two sed scripts, `conftest.defines' and
44800 # `conftest.undefs', that substitutes the proper values into
44801 # config.h.in to produce config.h. The first handles `#define'
44802 # templates, and the second `#undef' templates.
44803 # And first: Protect against being on the right side of a sed subst in
44804 # config.status. Protect against being in an unquoted here document
44805 # in config.status.
44806 rm -f conftest.defines conftest.undefs
44807 # Using a here document instead of a string reduces the quoting nightmare.
44808 # Putting comments in sed scripts is not portable.
44810 # `end' is used to avoid that the second main sed command (meant for
44811 # 0-ary CPP macros) applies to n-ary macro definitions.
44812 # See the Autoconf documentation for `clear'.
44813 cat >confdef2sed.
sed <<\_ACEOF
44818 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
44820 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
44823 # If some macros were called several times there might be several times
44824 # the same #defines, which is useless. Nevertheless, we may not want to
44825 # sort them, since we want the *last* AC-DEFINE to be honored.
44826 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
44827 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
44828 rm -f confdef2sed.sed
44830 # This sed command replaces #undef with comments. This is necessary, for
44831 # example, in the case of _POSIX_SOURCE, which is predefined and required
44832 # on some systems where configure will not decide to define it.
44833 cat >>conftest.undefs <<\_ACEOF
44834 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44837 # Break up conftest.defines because some shells have a limit on the size
44838 # of here documents, and old seds have small limits too (100 cmds).
44839 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
44840 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
44841 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
44842 echo ' :' >>$CONFIG_STATUS
44843 rm -f conftest.tail
44844 while grep . conftest.defines >/dev/null
44846 # Write a limited-size here document to $tmp/defines.sed.
44847 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
44848 # Speed up: don't consider the non `#define' lines.
44849 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
44850 # Work around the forget-to-reset-the-flag bug.
44851 echo 't clr' >>$CONFIG_STATUS
44852 echo ': clr' >>$CONFIG_STATUS
44853 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
44855 sed -f $tmp/defines.sed $tmp/in >$tmp/out
44857 mv $tmp/out $tmp/in
44859 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
44860 rm -f conftest.defines
44861 mv conftest.
tail conftest.defines
44863 rm -f conftest.defines
44864 echo ' fi # grep' >>$CONFIG_STATUS
44865 echo >>$CONFIG_STATUS
44867 # Break up conftest.undefs because some shells have a limit on the size
44868 # of here documents, and old seds have small limits too (100 cmds).
44869 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
44870 rm -f conftest.
tail
44871 while grep . conftest.undefs
>/dev
/null
44873 # Write a limited-size here document to $tmp/undefs.sed.
44874 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
44875 # Speed up: don't consider the non
`#undef'
44876 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
44877 # Work around the forget-to-reset-the-flag bug.
44878 echo 't clr' >>$CONFIG_STATUS
44879 echo ': clr' >>$CONFIG_STATUS
44880 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
44882 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
44884 mv $tmp/out $tmp/in
44886 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
44887 rm -f conftest.undefs
44888 mv conftest.tail conftest.undefs
44890 rm -f conftest.undefs
44892 cat >>$CONFIG_STATUS <<\_ACEOF
44893 # Let's still pretend it is `configure
' which instantiates (i.e., don't
44894 # use $as_me), people would be surprised to read:
44895 # /* config.h. Generated by config.status. */
44896 if test x
"$ac_file" = x
-; then
44897 echo "/* Generated by configure. */" >$tmp/config.h
44899 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
44901 cat $tmp/in >>$tmp/config.h
44903 if test x
"$ac_file" != x
-; then
44904 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
44905 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44906 echo "$as_me: $ac_file is unchanged" >&6;}
44908 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44909 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44910 X"$ac_file" : 'X\(//\)[^/]' \| \
44911 X"$ac_file" : 'X\(//\)$' \| \
44912 X"$ac_file" : 'X\(/\)' \| \
44913 . : '\(.\)' 2>/dev/null ||
44915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44916 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44917 /^X\(\/\/\)$/{ s//\1/; q; }
44918 /^X\(\/\).*/{ s//\1/; q; }
44920 { if $as_mkdir_p; then
44925 while test ! -d "$as_dir"; do
44926 as_dirs
="$as_dir $as_dirs"
44927 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44928 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44929 X"$as_dir" : 'X\(//\)[^/]' \| \
44930 X"$as_dir" : 'X\(//\)$' \| \
44931 X"$as_dir" : 'X\(/\)' \| \
44932 . : '\(.\)' 2>/dev/null ||
44934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44935 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44936 /^X\(\/\/\)$/{ s//\1/; q; }
44937 /^X\(\/\).*/{ s//\1/; q; }
44940 test ! -n "$as_dirs" || mkdir $as_dirs
44941 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44942 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44943 { (exit 1); exit 1; }; }; }
44946 mv $tmp/config.h
$ac_file
44950 rm -f $tmp/config.h
44954 cat >>$CONFIG_STATUS <<\_ACEOF
44957 # CONFIG_COMMANDS section.
44959 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
44960 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
44961 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44962 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
44963 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44964 X"$ac_dest" : 'X\(//\)[^/]' \| \
44965 X"$ac_dest" : 'X\(//\)$' \| \
44966 X"$ac_dest" : 'X\(/\)' \| \
44967 . : '\(.\)' 2>/dev/null ||
44969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44970 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44971 /^X\(\/\/\)$/{ s//\1/; q; }
44972 /^X\(\/\).*/{ s//\1/; q; }
44974 { if $as_mkdir_p; then
44979 while test ! -d "$as_dir"; do
44980 as_dirs
="$as_dir $as_dirs"
44981 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44982 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44983 X"$as_dir" : 'X\(//\)[^/]' \| \
44984 X"$as_dir" : 'X\(//\)$' \| \
44985 X"$as_dir" : 'X\(/\)' \| \
44986 . : '\(.\)' 2>/dev/null ||
44988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44989 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44990 /^X\(\/\/\)$/{ s//\1/; q; }
44991 /^X\(\/\).*/{ s//\1/; q; }
44994 test ! -n "$as_dirs" || mkdir $as_dirs
44995 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44996 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44997 { (exit 1); exit 1; }; }; }
45001 if test "$ac_dir" != .
; then
45002 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45003 # A "../" for each directory in $ac_dir_suffix.
45004 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45006 ac_dir_suffix
= ac_top_builddir
=
45010 .
) # No --srcdir option. We are building in place.
45012 if test -z "$ac_top_builddir"; then
45015 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45017 [\\/]* | ?
:[\\/]* ) # Absolute path.
45018 ac_srcdir
=$srcdir$ac_dir_suffix;
45019 ac_top_srcdir
=$srcdir ;;
45020 *) # Relative path.
45021 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45022 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45025 # Do not use `cd foo && pwd` to compute absolute paths, because
45026 # the directories may not exist.
45028 .
) ac_abs_builddir
="$ac_dir";;
45031 .
) ac_abs_builddir
=`pwd`;;
45032 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45033 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45036 case $ac_abs_builddir in
45037 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45039 case ${ac_top_builddir}.
in
45040 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45041 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45042 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45045 case $ac_abs_builddir in
45046 .
) ac_abs_srcdir
=$ac_srcdir;;
45049 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45050 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45051 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45054 case $ac_abs_builddir in
45055 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45057 case $ac_top_srcdir in
45058 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45059 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45060 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45065 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45066 echo "$as_me: executing $ac_dest commands" >&6;}
45068 wx
-config ) rm -f wx
-config
45069 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
45075 cat >>$CONFIG_STATUS <<\_ACEOF
45077 { (exit 0); exit 0; }
45079 chmod +x
$CONFIG_STATUS
45080 ac_clean_files
=$ac_clean_files_save
45083 # configure is writing to config.log, and then calls config.status.
45084 # config.status does its own redirection, appending to config.log.
45085 # Unfortunately, on DOS this fails, as config.log is still kept open
45086 # by configure, so config.status won't be able to write to it; its
45087 # output is simply discarded. So we exec the FD to /dev/null,
45088 # effectively closing config.log, so it can be properly (re)opened and
45089 # appended to by config.status. When coming back to configure, we
45090 # need to make the FD available again.
45091 if test "$no_create" != yes; then
45093 ac_config_status_args
=
45094 test "$silent" = yes &&
45095 ac_config_status_args
="$ac_config_status_args --quiet"
45097 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
45099 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45100 # would make configure fail if this is the last instruction.
45101 $ac_cs_success || { (exit 1); exit 1; }
45105 # CONFIG_SUBDIRS section.
45107 if test "$no_recursion" != yes; then
45109 # Remove --cache-file and --srcdir arguments so they do not pile up.
45110 ac_sub_configure_args
=
45112 for ac_arg
in $ac_configure_args; do
45113 if test -n "$ac_prev"; then
45118 -cache-file | --cache-file | --cache-fil | --cache-fi \
45119 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45120 ac_prev
=cache_file
;;
45121 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45122 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45125 --config-cache | -C)
45127 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45129 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45131 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45133 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45135 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
45139 # Always prepend --prefix to ensure using the same prefix
45140 # in subdir configurations.
45141 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
45144 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
45146 # Do not complain, so a configure script can configure whichever
45147 # parts of a large source tree are present.
45148 test -d $srcdir/$ac_dir || continue
45150 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45151 echo "$as_me: configuring in $ac_dir" >&6;}
45152 { if $as_mkdir_p; then
45157 while test ! -d "$as_dir"; do
45158 as_dirs
="$as_dir $as_dirs"
45159 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45160 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45161 X"$as_dir" : 'X\(//\)[^/]' \| \
45162 X"$as_dir" : 'X\(//\)$' \| \
45163 X"$as_dir" : 'X\(/\)' \| \
45164 . : '\(.\)' 2>/dev/null ||
45166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45167 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45168 /^X\(\/\/\)$/{ s//\1/; q; }
45169 /^X\(\/\).*/{ s//\1/; q; }
45172 test ! -n "$as_dirs" || mkdir $as_dirs
45173 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45174 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45175 { (exit 1); exit 1; }; }; }
45179 if test "$ac_dir" != .
; then
45180 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45181 # A "../" for each directory in $ac_dir_suffix.
45182 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45184 ac_dir_suffix
= ac_top_builddir
=
45188 .
) # No --srcdir option. We are building in place.
45190 if test -z "$ac_top_builddir"; then
45193 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45195 [\\/]* | ?
:[\\/]* ) # Absolute path.
45196 ac_srcdir
=$srcdir$ac_dir_suffix;
45197 ac_top_srcdir
=$srcdir ;;
45198 *) # Relative path.
45199 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45200 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45203 # Do not use `cd foo && pwd` to compute absolute paths, because
45204 # the directories may not exist.
45206 .
) ac_abs_builddir
="$ac_dir";;
45209 .
) ac_abs_builddir
=`pwd`;;
45210 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45211 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45214 case $ac_abs_builddir in
45215 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45217 case ${ac_top_builddir}.
in
45218 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45219 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45220 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45223 case $ac_abs_builddir in
45224 .
) ac_abs_srcdir
=$ac_srcdir;;
45227 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45228 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45229 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45232 case $ac_abs_builddir in
45233 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45235 case $ac_top_srcdir in
45236 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45237 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45238 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45245 # Check for guested configure; otherwise get Cygnus style configure.
45246 if test -f $ac_srcdir/configure.gnu
; then
45247 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
45248 elif test -f $ac_srcdir/configure
; then
45249 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
45250 elif test -f $ac_srcdir/configure.
in; then
45251 ac_sub_configure
=$ac_configure
45253 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45254 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45258 # The recursion is here.
45259 if test -n "$ac_sub_configure"; then
45260 # Make the cache file name correct relative to the subdirectory.
45261 case $cache_file in
45262 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
45263 *) # Relative path.
45264 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
45267 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45268 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45269 # The eval makes quoting arguments work.
45270 eval $ac_sub_configure $ac_sub_configure_args \
45271 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45272 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45273 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45274 { (exit 1); exit 1; }; }
45283 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45285 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45286 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45288 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45289 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45290 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45292 echo " What level of wxWidgets compatibility should be enabled?"
45293 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45294 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45296 echo " Which libraries should wxWidgets use?"
45297 echo " jpeg ${wxUSE_LIBJPEG-none}"
45298 echo " png ${wxUSE_LIBPNG-none}"
45299 echo " regex ${wxUSE_REGEX}"
45300 echo " tiff ${wxUSE_LIBTIFF-none}"
45301 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45302 echo " xpm ${wxUSE_LIBXPM-none}"
45304 echo " zlib ${wxUSE_ZLIB}"
45305 echo " odbc ${wxUSE_ODBC}"
45306 echo " expat ${wxUSE_EXPAT}"
45307 echo " libmspack ${wxUSE_LIBMSPACK}"
45308 echo " sdl ${wxUSE_LIBSDL}"
45309 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"