2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.5.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.5.5'
274 PACKAGE_STRING
='wxWidgets 2.5.5'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.5.5 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.5.5:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-stdpaths use wxStandardPaths class
930 --enable-stopwatch use wxStopWatch class
931 --enable-streams use wxStream etc classes
932 --enable-sysoptions use wxSystemOptions
933 --enable-textbuf use wxTextBuffer class
934 --enable-textfile use wxTextFile class
935 --enable-timer use wxTimer class
936 --enable-unicode compile wxString with Unicode support
937 --enable-sound use wxSound class
938 --enable-mediactrl use wxMediaCtrl class
939 --enable-wxprintfv use wxWidgets implementation of vprintf
()
940 --enable-zipstream use wxZip streams
941 --enable-url use wxURL class
942 --enable-protocol use wxProtocol class
943 --enable-protocol-http HTTP support
in wxProtocol
944 --enable-protocol-ftp FTP support
in wxProtocol
945 --enable-protocol-file FILE support
in wxProtocol
946 --enable-threads use threads
947 --enable-docview use document view architecture
948 --enable-help use
help subsystem
949 --enable-mshtmlhelp use MS HTML Help
(win32
)
950 --enable-html use wxHTML sub
-library
951 --enable-htmlhelp use wxHTML
-based help
952 --enable-xrc use XRC resources sub
-library
953 --enable-constraints use layout
-constraints system
954 --enable-printarch use printing architecture
955 --enable-mdi use multiple document interface architecture
956 --enable-mdidoc use docview architecture with MDI
957 --enable-loggui use standard GUI logger
958 --enable-logwin use wxLogWindow
959 --enable-logdialog use wxLogDialog
960 --enable-webkit use wxWebKitCtrl
(Mac
)
961 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
962 --enable-prologio not available
; see contrib
963 --enable-resources not available
; see contrib
964 --enable-clipboard use wxClipboard class
965 --enable-dnd use Drag
'n'Drop classes
966 --enable-metafile use win32 metafiles
967 --enable-controls use all usual controls
968 --enable-accel use accelerators
969 --enable-button use wxButton class
970 --enable-bmpbutton use wxBitmapButton class
971 --enable-calendar use wxCalendarCtrl class
972 --enable-caret use wxCaret class
973 --enable-checkbox use wxCheckBox class
974 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
975 --enable-choice use wxChoice class
976 --enable-choicebook use wxChoicebook class
977 --enable-combobox use wxComboBox class
978 --enable-datepick use wxDatePickerCtrl class
979 --enable-display use wxDisplay class
980 --enable-gauge use wxGauge class
981 --enable-grid use wxGrid class
982 --enable-imaglist use wxImageList class
983 --enable-listbook use wxListbook class
984 --enable-listbox use wxListBox class
985 --enable-listctrl use wxListCtrl class
986 --enable-notebook use wxNotebook class
987 --enable-radiobox use wxRadioBox class
988 --enable-radiobtn use wxRadioButton class
989 --enable-sash use wxSashWindow class
990 --enable-scrollbar use wxScrollBar class and scrollable windows
991 --enable-slider use wxSlider class
992 --enable-spinbtn use wxSpinButton class
993 --enable-spinctrl use wxSpinCtrl class
994 --enable-splitter use wxSplitterWindow class
995 --enable-statbmp use wxStaticBitmap class
996 --enable-statbox use wxStaticBox class
997 --enable-statline use wxStaticLine class
998 --enable-stattext use wxStaticText class
999 --enable-statusbar use wxStatusBar class
1000 --enable-tabdialog use wxTabControl class
1001 --enable-textctrl use wxTextCtrl class
1002 --enable-togglebtn use wxToggleButton class
1003 --enable-toolbar use wxToolBar class
1004 --enable-tbarnative use native wxToolBar class
1005 --enable-tbarsmpl use wxToolBarSimple class
1006 --enable-treectrl use wxTreeCtrl class
1007 --enable-tipwindow use wxTipWindow class
1008 --enable-popupwin use wxPopUpWindow class
1009 --enable-commondlg use all common dialogs
1010 --enable-choicedlg use wxChoiceDialog
1011 --enable-coldlg use wxColourDialog
1012 --enable-filedlg use wxFileDialog
1013 --enable-finddlg use wxFindReplaceDialog
1014 --enable-fontdlg use wxFontDialog
1015 --enable-dirdlg use wxDirDialog
1016 --enable-msgdlg use wxMessageDialog
1017 --enable-numberdlg use wxNumberEntryDialog
1018 --enable-splash use wxSplashScreen
1019 --enable-textdlg use wxTextDialog
1020 --enable-tipdlg use startup tips
1021 --enable-progressdlg use wxProgressDialog
1022 --enable-wizarddlg use wxWizard
1023 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1024 --enable-miniframe use wxMiniFrame class
1025 --enable-tooltips use wxToolTip class
1026 --enable-splines use spline drawing code
1027 --enable-validators use wxValidator and derived classes
1028 --enable-busyinfo use wxBusyInfo
1029 --enable-joystick use wxJoystick
1030 --enable-metafiles use wxMetaFile
(Windows only
)
1031 --enable-dragimage use wxDragImage
1032 --enable-accessibility enable accessibility support
1033 --enable-palette use wxPalette class
1034 --enable-image use wxImage class
1035 --enable-gif use gif images
(GIF
file format
)
1036 --enable-pcx use pcx images
(PCX
file format
)
1037 --enable-iff use iff images
(IFF
file format
)
1038 --enable-pnm use pnm images
(PNM
file format
)
1039 --enable-xpm use xpm images
(XPM
file format
)
1040 --enable-icocur use Windows ICO and CUR formats
1041 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1042 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1043 --disable-largefile omit support
for large files
1044 --disable-gtktest do not try to compile and run a
test GTK
+ program
1045 --disable-gtktest Do not try to compile and run a
test GTK program
1046 --disable-sdltest Do not try to compile and run a
test SDL program
1047 --enable-omf use OMF object format
(OS
/2)
1048 --disable-precomp-headers
1049 don
't use precompiled headers even if compiler can
1052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1055 --with-motif use Motif/Lesstif
1056 --with-mac use Mac OS X
1057 --with-cocoa use Cocoa
1058 --with-wine use Wine
1059 --with-msw use MS-Windows
1060 --with-pm use OS/2 Presentation Manager
1061 --with-mgl use SciTech MGL
1062 --with-microwin use MicroWindows
1064 --with-libpng use libpng (PNG image format)
1065 --with-libjpeg use libjpeg (JPEG file format)
1066 --with-libtiff use libtiff (TIFF file format)
1067 --with-libxpm use libxpm (XPM file format)
1068 --with-libmspack use libmspack (CHM help files loading)
1069 --with-sdl use SDL for audio on Unix
1070 --with-gnomeprint use GNOME print for printing under Unix
1071 --with-opengl use OpenGL (or Mesa)
1072 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1073 --with-regex enable support for wxRegEx class
1074 --with-zlib use zlib for LZW compression
1075 --with-odbc use the IODBC and wxODBC classes
1076 --with-expat enable XML support using expat parser
1077 --with-flavour=NAME specify a name to identify this build
1078 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1079 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1080 --with-x use the X Window System
1081 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1082 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1083 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1084 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1085 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1087 Some influential environment variables:
1088 CC C compiler command
1089 CFLAGS C compiler flags
1090 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1091 nonstandard directory <lib dir>
1092 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1093 headers in a nonstandard directory <include dir>
1095 CXX C++ compiler command
1096 CXXFLAGS C++ compiler flags
1097 CXXCPP C++ preprocessor
1099 Use these variables to override the choices made by `configure' or to
help
1100 it to
find libraries and programs with nonstandard names
/locations.
1102 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1106 if test "$ac_init_help" = "recursive"; then
1107 # If there are subdirs, report their specific --help.
1109 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1110 test -d $ac_dir || continue
1113 if test "$ac_dir" != .
; then
1114 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1115 # A "../" for each directory in $ac_dir_suffix.
1116 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1118 ac_dir_suffix
= ac_top_builddir
=
1122 .
) # No --srcdir option. We are building in place.
1124 if test -z "$ac_top_builddir"; then
1127 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1129 [\\/]* | ?
:[\\/]* ) # Absolute path.
1130 ac_srcdir
=$srcdir$ac_dir_suffix;
1131 ac_top_srcdir
=$srcdir ;;
1133 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1134 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1137 # Do not use `cd foo && pwd` to compute absolute paths, because
1138 # the directories may not exist.
1140 .
) ac_abs_builddir
="$ac_dir";;
1143 .
) ac_abs_builddir
=`pwd`;;
1144 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1145 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1148 case $ac_abs_builddir in
1149 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1151 case ${ac_top_builddir}.
in
1152 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1153 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1154 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1157 case $ac_abs_builddir in
1158 .
) ac_abs_srcdir
=$ac_srcdir;;
1161 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1162 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1163 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1166 case $ac_abs_builddir in
1167 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1169 case $ac_top_srcdir in
1170 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1171 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1172 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1177 # Check for guested configure; otherwise get Cygnus style configure.
1178 if test -f $ac_srcdir/configure.gnu
; then
1180 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1181 elif test -f $ac_srcdir/configure
; then
1183 $SHELL $ac_srcdir/configure
--help=recursive
1184 elif test -f $ac_srcdir/configure.ac
||
1185 test -f $ac_srcdir/configure.
in; then
1187 $ac_configure --help
1189 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1195 test -n "$ac_init_help" && exit 0
1196 if $ac_init_version; then
1198 wxWidgets configure
2.5.5
1199 generated by GNU Autoconf
2.59
1201 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1202 This configure
script is free software
; the Free Software Foundation
1203 gives unlimited permission to copy
, distribute and modify it.
1209 This file contains any messages produced by compilers while
1210 running configure, to aid debugging if configure makes a mistake.
1212 It was created by wxWidgets $as_me 2.5.5, which was
1213 generated by GNU Autoconf 2.59. Invocation command line was
1224 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1225 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1226 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1227 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1228 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1230 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1231 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1233 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1234 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1235 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1236 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1237 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1238 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1239 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1247 test -z "$as_dir" && as_dir
=.
1248 echo "PATH: $as_dir"
1263 # Keep a trace of the command line.
1264 # Strip out --no-create and --no-recursion so they do not pile up.
1265 # Strip out --silent because we don't want to record it for future runs.
1266 # Also quote any args containing shell meta-characters.
1267 # Make two passes to allow for proper duplicate-argument suppression.
1272 ac_must_keep_next
=false
1278 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1279 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280 | -silent | --silent | --silen | --sile | --sil)
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1286 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1288 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1289 if test $ac_must_keep_next = true
; then
1290 ac_must_keep_next
=false
# Got value, back to normal.
1293 *=* | --config-cache | -C | -disable-* | --disable-* \
1294 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1295 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1296 | -with-* | --with-* | -without-* | --without-* | --x)
1297 case "$ac_configure_args0 " in
1298 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1301 -* ) ac_must_keep_next
=true
;;
1304 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1305 # Get rid of the leading space.
1311 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1312 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1314 # When interrupted or exit'd, cleanup temporary files, and complete
1315 # config.log. We remove comments because anyway the quotes in there
1316 # would cause problems or look ugly.
1317 # WARNING: Be sure not to use single quotes in there, as some shells,
1318 # such as our DU 5.0 friend, will then `close' the trap.
1319 trap 'exit_status=$?
1320 # Save into config.log some information that might help in debugging.
1325 ## ---------------- ##
1326 ## Cache variables. ##
1327 ## ---------------- ##
1330 # The following way of writing the cache mishandles newlines in values,
1333 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1336 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1348 ## ----------------- ##
1349 ## Output variables. ##
1350 ## ----------------- ##
1353 for ac_var in $ac_subst_vars
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
1360 if test -n "$ac_subst_files"; then
1367 for ac_var in $ac_subst_files
1369 eval ac_val=$`echo $ac_var`
1370 echo "$ac_var='"'"'$ac_val'"'"'"
1375 if test -s confdefs.h; then
1382 sed "/^$/d" confdefs.h | sort
1385 test "$ac_signal" != 0 &&
1386 echo "$as_me: caught signal $ac_signal"
1387 echo "$as_me: exit $exit_status"
1389 rm -f core *.core &&
1390 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1393 for ac_signal
in 1 2 13 15; do
1394 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1398 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1399 rm -rf conftest
* confdefs.h
1400 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1403 # Predefined preprocessor variables.
1405 cat >>confdefs.h
<<_ACEOF
1406 #define PACKAGE_NAME "$PACKAGE_NAME"
1410 cat >>confdefs.h
<<_ACEOF
1411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1415 cat >>confdefs.h
<<_ACEOF
1416 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1420 cat >>confdefs.h
<<_ACEOF
1421 #define PACKAGE_STRING "$PACKAGE_STRING"
1425 cat >>confdefs.h
<<_ACEOF
1426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1430 # Let the site file select an alternate cache file if it wants to.
1431 # Prefer explicitly selected file to automatically selected ones.
1432 if test -z "$CONFIG_SITE"; then
1433 if test "x$prefix" != xNONE
; then
1434 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1436 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1439 for ac_site_file
in $CONFIG_SITE; do
1440 if test -r "$ac_site_file"; then
1441 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1442 echo "$as_me: loading site script $ac_site_file" >&6;}
1443 sed 's/^/| /' "$ac_site_file" >&5
1448 if test -r "$cache_file"; then
1449 # Some versions of bash will fail to source /dev/null (special
1450 # files actually), so we avoid doing that.
1451 if test -f "$cache_file"; then
1452 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1453 echo "$as_me: loading cache $cache_file" >&6;}
1455 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1456 *) . .
/$cache_file;;
1460 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1461 echo "$as_me: creating cache $cache_file" >&6;}
1465 # Check that the precious variables saved in the cache have kept the same
1467 ac_cache_corrupted
=false
1468 for ac_var
in `(set) 2>&1 |
1469 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1470 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1471 eval ac_new_set
=\
$ac_env_${ac_var}_set
1472 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1473 eval ac_new_val
="\$ac_env_${ac_var}_value"
1474 case $ac_old_set,$ac_new_set in
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1478 ac_cache_corrupted
=: ;;
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1482 ac_cache_corrupted
=: ;;
1485 if test "x$ac_old_val" != "x$ac_new_val"; then
1486 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1487 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1488 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1489 echo "$as_me: former value: $ac_old_val" >&2;}
1490 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1491 echo "$as_me: current value: $ac_new_val" >&2;}
1492 ac_cache_corrupted
=:
1495 # Pass precious variables to config.status.
1496 if test "$ac_new_set" = set; then
1498 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1499 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1500 *) ac_arg
=$ac_var=$ac_new_val ;;
1502 case " $ac_configure_args " in
1503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1504 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1508 if $ac_cache_corrupted; then
1509 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1510 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1511 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1512 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1513 { (exit 1); exit 1; }; }
1517 ac_cpp
='$CPP $CPPFLAGS'
1518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1552 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1553 if test -f $ac_dir/install-sh; then
1555 ac_install_sh
="$ac_aux_dir/install-sh -c"
1557 elif test -f $ac_dir/install.sh
; then
1559 ac_install_sh
="$ac_aux_dir/install.sh -c"
1561 elif test -f $ac_dir/shtool
; then
1563 ac_install_sh
="$ac_aux_dir/shtool install -c"
1567 if test -z "$ac_aux_dir"; then
1568 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1569 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1570 { (exit 1); exit 1; }; }
1572 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1573 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1574 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1576 # Make sure we can run config.sub.
1577 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1578 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1579 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1580 { (exit 1); exit 1; }; }
1582 echo "$as_me:$LINENO: checking build system type" >&5
1583 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1584 if test "${ac_cv_build+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1587 ac_cv_build_alias
=$build_alias
1588 test -z "$ac_cv_build_alias" &&
1589 ac_cv_build_alias
=`$ac_config_guess`
1590 test -z "$ac_cv_build_alias" &&
1591 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1592 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1593 { (exit 1); exit 1; }; }
1594 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1595 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1596 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1597 { (exit 1); exit 1; }; }
1600 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1601 echo "${ECHO_T}$ac_cv_build" >&6
1603 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1604 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1605 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1608 echo "$as_me:$LINENO: checking host system type" >&5
1609 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1610 if test "${ac_cv_host+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1613 ac_cv_host_alias
=$host_alias
1614 test -z "$ac_cv_host_alias" &&
1615 ac_cv_host_alias
=$ac_cv_build_alias
1616 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1622 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1623 echo "${ECHO_T}$ac_cv_host" >&6
1625 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1626 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1627 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1630 echo "$as_me:$LINENO: checking target system type" >&5
1631 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1632 if test "${ac_cv_target+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 ac_cv_target_alias
=$target_alias
1636 test "x$ac_cv_target_alias" = "x" &&
1637 ac_cv_target_alias
=$ac_cv_host_alias
1638 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1639 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1640 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1641 { (exit 1); exit 1; }; }
1644 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1645 echo "${ECHO_T}$ac_cv_target" >&6
1646 target
=$ac_cv_target
1647 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1648 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1649 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1652 # The aliases save the names the user supplied, while $host etc.
1653 # will get canonicalized.
1654 test -n "$target_alias" &&
1655 test "$program_prefix$program_suffix$program_transform_name" = \
1657 program_prefix
=${target_alias}-
1661 wx_major_version_number
=2
1662 wx_minor_version_number
=5
1664 wx_subrelease_number
=0
1666 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1667 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1668 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1670 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1686 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1692 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1700 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1702 DEFAULT_wxUSE_COCOA
=0
1706 DEFAULT_wxUSE_MICROWIN
=0
1707 DEFAULT_wxUSE_MOTIF
=0
1712 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1713 DEFAULT_DEFAULT_wxUSE_GTK
=0
1714 DEFAULT_DEFAULT_wxUSE_MAC
=0
1715 DEFAULT_DEFAULT_wxUSE_MGL
=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1718 DEFAULT_DEFAULT_wxUSE_MSW
=0
1719 DEFAULT_DEFAULT_wxUSE_PM
=0
1720 DEFAULT_DEFAULT_wxUSE_X11
=0
1725 SAMPLES_RPATH_POSTLINK
=
1730 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1731 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1733 cat >>confdefs.h
<<\_ACEOF
1740 cat >>confdefs.h
<<\_ACEOF
1745 if test "x$TMP" = "xalpha"; then
1747 cat >>confdefs.h
<<\_ACEOF
1752 DEFAULT_DEFAULT_wxUSE_GTK
=1
1754 *-*-gnu* | *-*-k*bsd
*-gnu )
1757 if test "x$TMP" = "xalpha"; then
1759 cat >>confdefs.h
<<\_ACEOF
1764 DEFAULT_DEFAULT_wxUSE_GTK
=1
1766 *-*-irix5* | *-*-irix6* )
1769 cat >>confdefs.h
<<\_ACEOF
1773 cat >>confdefs.h
<<\_ACEOF
1777 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1783 cat >>confdefs.h
<<\_ACEOF
1787 cat >>confdefs.h
<<\_ACEOF
1788 #define __SOLARIS__ 1
1791 cat >>confdefs.h
<<\_ACEOF
1795 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1796 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1802 cat >>confdefs.h
<<\_ACEOF
1806 cat >>confdefs.h
<<\_ACEOF
1810 cat >>confdefs.h
<<\_ACEOF
1814 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1819 cat >>confdefs.h
<<\_ACEOF
1820 #define __FREEBSD__ 1
1823 cat >>confdefs.h
<<\_ACEOF
1827 DEFAULT_DEFAULT_wxUSE_GTK
=1
1832 cat >>confdefs.h
<<\_ACEOF
1833 #define __OPENBSD__ 1
1836 cat >>confdefs.h
<<\_ACEOF
1840 DEFAULT_DEFAULT_wxUSE_GTK
=1
1845 cat >>confdefs.h
<<\_ACEOF
1846 #define __NETBSD__ 1
1849 cat >>confdefs.h
<<\_ACEOF
1853 DEFAULT_DEFAULT_wxUSE_GTK
=1
1858 cat >>confdefs.h
<<\_ACEOF
1862 cat >>confdefs.h
<<\_ACEOF
1866 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1867 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1872 cat >>confdefs.h
<<\_ACEOF
1876 cat >>confdefs.h
<<\_ACEOF
1880 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1885 cat >>confdefs.h
<<\_ACEOF
1889 cat >>confdefs.h
<<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1900 cat >>confdefs.h
<<\_ACEOF
1904 cat >>confdefs.h
<<\_ACEOF
1908 cat >>confdefs.h
<<\_ACEOF
1912 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1919 cat >>confdefs.h
<<\_ACEOF
1920 #define __UNIXWARE__ 1
1925 *-*-cygwin* | *-*-mingw32* )
1929 DEFAULT_DEFAULT_wxUSE_MSW
=1
1935 cat >>confdefs.h
<<\_ACEOF
1940 DEFAULT_DEFAULT_wxUSE_MGL
=1
1941 LIBS
="$LIBS -lstdc++"
1944 *-pc-os2_emx | *-pc-os2-emx )
1945 cat >>confdefs.h
<<\_ACEOF
1950 cat >>confdefs.h
<<\_ACEOF
1955 DEFAULT_DEFAULT_wxUSE_PM
=1
1957 LDFLAGS
="$LDFLAGS -Zcrtdll"
1958 ac_executable_extensions
=".exe"
1959 export ac_executable_extensions
1963 for ac_dir
in $PATH; do
1965 if test -z "$ac_TEMP_PATH"; then
1966 ac_TEMP_PATH
="$ac_dir"
1968 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1971 export PATH
="$ac_TEMP_PATH"
1979 cat >>confdefs.h
<<\_ACEOF
1983 cat >>confdefs.h
<<\_ACEOF
1984 #define __DARWIN__ 1
1987 cat >>confdefs.h
<<\_ACEOF
1988 #define TARGET_CARBON 1
1991 DEFAULT_DEFAULT_wxUSE_MAC
=1
1993 powerpc
-apple-macos* )
1995 ac_cv_c_bigendian
=yes
1997 DEFAULT_DEFAULT_wxUSE_MAC
=1
2002 cat >>confdefs.h
<<\_ACEOF
2009 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2010 echo "$as_me: error: unknown system type ${host}." >&2;}
2011 { (exit 1); exit 1; }; }
2017 wx_arg_cache_file
="configarg.cache"
2018 echo "loading argument cache $wx_arg_cache_file"
2019 rm -f ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}
2025 if test $DEBUG_CONFIGURE = 1; then
2026 DEFAULT_wxUSE_UNIVERSAL
=no
2027 DEFAULT_wxUSE_STL
=no
2029 DEFAULT_wxUSE_NANOX
=no
2031 DEFAULT_wxUSE_THREADS
=yes
2033 DEFAULT_wxUSE_SHARED
=yes
2034 DEFAULT_wxUSE_OPTIMISE
=no
2035 DEFAULT_wxUSE_PROFILE
=no
2036 DEFAULT_wxUSE_NO_DEPS
=no
2037 DEFAULT_wxUSE_NO_RTTI
=no
2038 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2039 DEFAULT_wxUSE_RPATH
=yes
2040 DEFAULT_wxUSE_PERMISSIVE
=no
2041 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2042 DEFAULT_wxUSE_DEBUG_INFO
=yes
2043 DEFAULT_wxUSE_DEBUG_GDB
=yes
2044 DEFAULT_wxUSE_MEM_TRACING
=no
2045 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2046 DEFAULT_wxUSE_DMALLOC
=no
2047 DEFAULT_wxUSE_APPLE_IEEE
=no
2049 DEFAULT_wxUSE_EXCEPTIONS
=no
2050 DEFAULT_wxUSE_LOG
=yes
2051 DEFAULT_wxUSE_LOGWINDOW
=no
2052 DEFAULT_wxUSE_LOGGUI
=no
2053 DEFAULT_wxUSE_LOGDIALOG
=no
2055 DEFAULT_wxUSE_GUI
=yes
2056 DEFAULT_wxUSE_CONTROLS
=no
2058 DEFAULT_wxUSE_REGEX
=no
2059 DEFAULT_wxUSE_XML
=no
2060 DEFAULT_wxUSE_EXPAT
=no
2061 DEFAULT_wxUSE_ZLIB
=no
2062 DEFAULT_wxUSE_LIBPNG
=no
2063 DEFAULT_wxUSE_LIBJPEG
=no
2064 DEFAULT_wxUSE_LIBTIFF
=no
2065 DEFAULT_wxUSE_LIBXPM
=no
2066 DEFAULT_wxUSE_LIBMSPACK
=no
2067 DEFAULT_wxUSE_LIBSDL
=no
2068 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2069 DEFAULT_wxUSE_ODBC
=no
2070 DEFAULT_wxUSE_OPENGL
=no
2072 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2073 DEFAULT_wxUSE_STACKWALKER
=no
2074 DEFAULT_wxUSE_DEBUGREPORT
=no
2075 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2076 DEFAULT_wxUSE_STD_IOSTREAM
=no
2077 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2078 DEFAULT_wxUSE_DATETIME
=no
2079 DEFAULT_wxUSE_TIMER
=no
2080 DEFAULT_wxUSE_STOPWATCH
=no
2081 DEFAULT_wxUSE_FILE
=no
2082 DEFAULT_wxUSE_FFILE
=no
2083 DEFAULT_wxUSE_STDPATHS
=no
2084 DEFAULT_wxUSE_TEXTBUFFER
=no
2085 DEFAULT_wxUSE_TEXTFILE
=no
2086 DEFAULT_wxUSE_SOUND
=no
2087 DEFAULT_wxUSE_MEDIACTRL
=no
2088 DEFAULT_wxUSE_DIRECTSHOW
=no
2089 DEFAULT_wxUSE_INTL
=no
2090 DEFAULT_wxUSE_CONFIG
=no
2091 DEFAULT_wxUSE_FONTMAP
=no
2092 DEFAULT_wxUSE_STREAMS
=no
2093 DEFAULT_wxUSE_SOCKETS
=no
2094 DEFAULT_wxUSE_OLE
=no
2095 DEFAULT_wxUSE_DATAOBJ
=no
2096 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2097 DEFAULT_wxUSE_JOYSTICK
=no
2098 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2099 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2100 DEFAULT_wxUSE_LONGLONG
=no
2101 DEFAULT_wxUSE_GEOMETRY
=no
2103 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2104 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2105 DEFAULT_wxUSE_POSTSCRIPT
=no
2107 DEFAULT_wxUSE_CLIPBOARD
=no
2108 DEFAULT_wxUSE_TOOLTIPS
=no
2109 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2110 DEFAULT_wxUSE_DRAGIMAGE
=no
2111 DEFAULT_wxUSE_SPLINES
=no
2113 DEFAULT_wxUSE_MDI
=no
2114 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2115 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2116 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2118 DEFAULT_wxUSE_RESOURCES
=no
2119 DEFAULT_wxUSE_CONSTRAINTS
=no
2120 DEFAULT_wxUSE_IPC
=no
2121 DEFAULT_wxUSE_HELP
=no
2122 DEFAULT_wxUSE_MS_HTML_HELP
=no
2123 DEFAULT_wxUSE_WXHTML_HELP
=no
2124 DEFAULT_wxUSE_TREELAYOUT
=no
2125 DEFAULT_wxUSE_METAFILE
=no
2126 DEFAULT_wxUSE_MIMETYPE
=no
2127 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2128 DEFAULT_wxUSE_PROTOCOL
=no
2129 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2130 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2131 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2132 DEFAULT_wxUSE_URL
=no
2134 DEFAULT_wxUSE_COMMONDLGS
=no
2135 DEFAULT_wxUSE_CHOICEDLG
=no
2136 DEFAULT_wxUSE_COLOURDLG
=no
2137 DEFAULT_wxUSE_DIRDLG
=no
2138 DEFAULT_wxUSE_FILEDLG
=no
2139 DEFAULT_wxUSE_FINDREPLDLG
=no
2140 DEFAULT_wxUSE_FONTDLG
=no
2141 DEFAULT_wxUSE_MSGDLG
=no
2142 DEFAULT_wxUSE_NUMBERDLG
=no
2143 DEFAULT_wxUSE_TEXTDLG
=no
2144 DEFAULT_wxUSE_SPLASH
=no
2145 DEFAULT_wxUSE_STARTUP_TIPS
=no
2146 DEFAULT_wxUSE_PROGRESSDLG
=no
2147 DEFAULT_wxUSE_WIZARDDLG
=no
2149 DEFAULT_wxUSE_MENUS
=no
2150 DEFAULT_wxUSE_MINIFRAME
=no
2151 DEFAULT_wxUSE_HTML
=no
2152 DEFAULT_wxUSE_XRC
=no
2153 DEFAULT_wxUSE_WEBKIT
=no
2154 DEFAULT_wxUSE_FILESYSTEM
=no
2155 DEFAULT_wxUSE_FS_INET
=no
2156 DEFAULT_wxUSE_FS_ZIP
=no
2157 DEFAULT_wxUSE_BUSYINFO
=no
2158 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2159 DEFAULT_wxUSE_ZIPSTREAM
=no
2160 DEFAULT_wxUSE_VALIDATORS
=no
2162 DEFAULT_wxUSE_ACCEL
=no
2163 DEFAULT_wxUSE_BUTTON
=no
2164 DEFAULT_wxUSE_BMPBUTTON
=no
2165 DEFAULT_wxUSE_CALCTRL
=no
2166 DEFAULT_wxUSE_CARET
=no
2167 DEFAULT_wxUSE_CHECKBOX
=no
2168 DEFAULT_wxUSE_CHECKLST
=no
2169 DEFAULT_wxUSE_CHOICE
=no
2170 DEFAULT_wxUSE_CHOICEBOOK
=no
2171 DEFAULT_wxUSE_COMBOBOX
=no
2172 DEFAULT_wxUSE_DATEPICKCTRL
=no
2173 DEFAULT_wxUSE_DISPLAY
=no
2174 DEFAULT_wxUSE_GAUGE
=no
2175 DEFAULT_wxUSE_GRID
=no
2176 DEFAULT_wxUSE_IMAGLIST
=no
2177 DEFAULT_wxUSE_LISTBOOK
=no
2178 DEFAULT_wxUSE_LISTBOX
=no
2179 DEFAULT_wxUSE_LISTCTRL
=no
2180 DEFAULT_wxUSE_NOTEBOOK
=no
2181 DEFAULT_wxUSE_RADIOBOX
=no
2182 DEFAULT_wxUSE_RADIOBTN
=no
2183 DEFAULT_wxUSE_SASH
=no
2184 DEFAULT_wxUSE_SCROLLBAR
=no
2185 DEFAULT_wxUSE_SLIDER
=no
2186 DEFAULT_wxUSE_SPINBTN
=no
2187 DEFAULT_wxUSE_SPINCTRL
=no
2188 DEFAULT_wxUSE_SPLITTER
=no
2189 DEFAULT_wxUSE_STATBMP
=no
2190 DEFAULT_wxUSE_STATBOX
=no
2191 DEFAULT_wxUSE_STATLINE
=no
2192 DEFAULT_wxUSE_STATTEXT
=no
2193 DEFAULT_wxUSE_STATUSBAR
=yes
2194 DEFAULT_wxUSE_TABDIALOG
=no
2195 DEFAULT_wxUSE_TEXTCTRL
=no
2196 DEFAULT_wxUSE_TOGGLEBTN
=no
2197 DEFAULT_wxUSE_TOOLBAR
=no
2198 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2199 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2200 DEFAULT_wxUSE_TREECTRL
=no
2201 DEFAULT_wxUSE_POPUPWIN
=no
2202 DEFAULT_wxUSE_TIPWINDOW
=no
2204 DEFAULT_wxUSE_UNICODE
=no
2205 DEFAULT_wxUSE_UNICODE_MSLU
=no
2206 DEFAULT_wxUSE_WCSRTOMBS
=no
2208 DEFAULT_wxUSE_PALETTE
=no
2209 DEFAULT_wxUSE_IMAGE
=no
2210 DEFAULT_wxUSE_GIF
=no
2211 DEFAULT_wxUSE_PCX
=no
2212 DEFAULT_wxUSE_PNM
=no
2213 DEFAULT_wxUSE_IFF
=no
2214 DEFAULT_wxUSE_XPM
=no
2215 DEFAULT_wxUSE_ICO_CUR
=no
2216 DEFAULT_wxUSE_ACCESSIBILITY
=no
2218 DEFAULT_wxUSE_MONOLITHIC
=no
2219 DEFAULT_wxUSE_PLUGINS
=no
2220 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2222 DEFAULT_wxUSE_UNIVERSAL
=no
2223 DEFAULT_wxUSE_STL
=no
2225 DEFAULT_wxUSE_NANOX
=no
2227 DEFAULT_wxUSE_THREADS
=yes
2229 DEFAULT_wxUSE_SHARED
=yes
2230 DEFAULT_wxUSE_OPTIMISE
=yes
2231 DEFAULT_wxUSE_PROFILE
=no
2232 DEFAULT_wxUSE_NO_DEPS
=no
2233 DEFAULT_wxUSE_NO_RTTI
=no
2234 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2235 DEFAULT_wxUSE_RPATH
=yes
2236 DEFAULT_wxUSE_PERMISSIVE
=no
2237 DEFAULT_wxUSE_DEBUG_FLAG
=no
2238 DEFAULT_wxUSE_DEBUG_INFO
=no
2239 DEFAULT_wxUSE_DEBUG_GDB
=no
2240 DEFAULT_wxUSE_MEM_TRACING
=no
2241 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2242 DEFAULT_wxUSE_DMALLOC
=no
2243 DEFAULT_wxUSE_APPLE_IEEE
=yes
2245 DEFAULT_wxUSE_EXCEPTIONS
=yes
2246 DEFAULT_wxUSE_LOG
=yes
2247 DEFAULT_wxUSE_LOGWINDOW
=yes
2248 DEFAULT_wxUSE_LOGGUI
=yes
2249 DEFAULT_wxUSE_LOGDIALOG
=yes
2251 DEFAULT_wxUSE_GUI
=yes
2253 DEFAULT_wxUSE_REGEX
=yes
2254 DEFAULT_wxUSE_XML
=yes
2255 DEFAULT_wxUSE_EXPAT
=yes
2256 DEFAULT_wxUSE_ZLIB
=yes
2257 DEFAULT_wxUSE_LIBPNG
=yes
2258 DEFAULT_wxUSE_LIBJPEG
=yes
2259 DEFAULT_wxUSE_LIBTIFF
=yes
2260 DEFAULT_wxUSE_LIBXPM
=yes
2261 DEFAULT_wxUSE_LIBMSPACK
=yes
2262 DEFAULT_wxUSE_LIBSDL
=no
2263 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2264 DEFAULT_wxUSE_ODBC
=no
2265 DEFAULT_wxUSE_OPENGL
=no
2267 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2268 DEFAULT_wxUSE_STACKWALKER
=yes
2269 DEFAULT_wxUSE_DEBUGREPORT
=yes
2270 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2271 DEFAULT_wxUSE_STD_IOSTREAM
=no
2272 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2273 DEFAULT_wxUSE_DATETIME
=yes
2274 DEFAULT_wxUSE_TIMER
=yes
2275 DEFAULT_wxUSE_STOPWATCH
=yes
2276 DEFAULT_wxUSE_FILE
=yes
2277 DEFAULT_wxUSE_FFILE
=yes
2278 DEFAULT_wxUSE_STDPATHS
=yes
2279 DEFAULT_wxUSE_TEXTBUFFER
=yes
2280 DEFAULT_wxUSE_TEXTFILE
=yes
2281 DEFAULT_wxUSE_SOUND
=yes
2282 DEFAULT_wxUSE_MEDIACTRL
=no
2283 DEFAULT_wxUSE_DIRECTSHOW
=no
2284 DEFAULT_wxUSE_INTL
=yes
2285 DEFAULT_wxUSE_CONFIG
=yes
2286 DEFAULT_wxUSE_FONTMAP
=yes
2287 DEFAULT_wxUSE_STREAMS
=yes
2288 DEFAULT_wxUSE_SOCKETS
=yes
2289 DEFAULT_wxUSE_OLE
=yes
2290 DEFAULT_wxUSE_DATAOBJ
=yes
2291 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2292 DEFAULT_wxUSE_JOYSTICK
=yes
2293 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2294 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2295 DEFAULT_wxUSE_LONGLONG
=yes
2296 DEFAULT_wxUSE_GEOMETRY
=yes
2298 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2299 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2300 DEFAULT_wxUSE_POSTSCRIPT
=yes
2302 DEFAULT_wxUSE_CLIPBOARD
=yes
2303 DEFAULT_wxUSE_TOOLTIPS
=yes
2304 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2305 DEFAULT_wxUSE_DRAGIMAGE
=yes
2306 DEFAULT_wxUSE_SPLINES
=yes
2308 DEFAULT_wxUSE_MDI
=yes
2309 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2310 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2311 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2313 DEFAULT_wxUSE_RESOURCES
=no
2314 DEFAULT_wxUSE_CONSTRAINTS
=yes
2315 DEFAULT_wxUSE_IPC
=yes
2316 DEFAULT_wxUSE_HELP
=yes
2317 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2318 DEFAULT_wxUSE_WXHTML_HELP
=yes
2319 DEFAULT_wxUSE_TREELAYOUT
=yes
2320 DEFAULT_wxUSE_METAFILE
=yes
2321 DEFAULT_wxUSE_MIMETYPE
=yes
2322 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2323 DEFAULT_wxUSE_PROTOCOL
=yes
2324 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2325 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2326 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2327 DEFAULT_wxUSE_URL
=yes
2329 DEFAULT_wxUSE_COMMONDLGS
=yes
2330 DEFAULT_wxUSE_CHOICEDLG
=yes
2331 DEFAULT_wxUSE_COLOURDLG
=yes
2332 DEFAULT_wxUSE_DIRDLG
=yes
2333 DEFAULT_wxUSE_FILEDLG
=yes
2334 DEFAULT_wxUSE_FINDREPLDLG
=yes
2335 DEFAULT_wxUSE_FONTDLG
=yes
2336 DEFAULT_wxUSE_MSGDLG
=yes
2337 DEFAULT_wxUSE_NUMBERDLG
=yes
2338 DEFAULT_wxUSE_TEXTDLG
=yes
2339 DEFAULT_wxUSE_SPLASH
=yes
2340 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2341 DEFAULT_wxUSE_PROGRESSDLG
=yes
2342 DEFAULT_wxUSE_WIZARDDLG
=yes
2344 DEFAULT_wxUSE_MENUS
=yes
2345 DEFAULT_wxUSE_MINIFRAME
=yes
2346 DEFAULT_wxUSE_HTML
=yes
2347 DEFAULT_wxUSE_XRC
=yes
2348 DEFAULT_wxUSE_WEBKIT
=yes
2349 DEFAULT_wxUSE_FILESYSTEM
=yes
2350 DEFAULT_wxUSE_FS_INET
=yes
2351 DEFAULT_wxUSE_FS_ZIP
=yes
2352 DEFAULT_wxUSE_BUSYINFO
=yes
2353 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2354 DEFAULT_wxUSE_ZIPSTREAM
=yes
2355 DEFAULT_wxUSE_VALIDATORS
=yes
2357 DEFAULT_wxUSE_ACCEL
=yes
2358 DEFAULT_wxUSE_BUTTON
=yes
2359 DEFAULT_wxUSE_BMPBUTTON
=yes
2360 DEFAULT_wxUSE_CALCTRL
=yes
2361 DEFAULT_wxUSE_CARET
=yes
2362 DEFAULT_wxUSE_CHECKBOX
=yes
2363 DEFAULT_wxUSE_CHECKLST
=yes
2364 DEFAULT_wxUSE_CHOICE
=yes
2365 DEFAULT_wxUSE_CHOICEBOOK
=yes
2366 DEFAULT_wxUSE_COMBOBOX
=yes
2367 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2368 DEFAULT_wxUSE_DISPLAY
=yes
2369 DEFAULT_wxUSE_GAUGE
=yes
2370 DEFAULT_wxUSE_GRID
=yes
2371 DEFAULT_wxUSE_IMAGLIST
=yes
2372 DEFAULT_wxUSE_LISTBOOK
=yes
2373 DEFAULT_wxUSE_LISTBOX
=yes
2374 DEFAULT_wxUSE_LISTCTRL
=yes
2375 DEFAULT_wxUSE_NOTEBOOK
=yes
2376 DEFAULT_wxUSE_RADIOBOX
=yes
2377 DEFAULT_wxUSE_RADIOBTN
=yes
2378 DEFAULT_wxUSE_SASH
=yes
2379 DEFAULT_wxUSE_SCROLLBAR
=yes
2380 DEFAULT_wxUSE_SLIDER
=yes
2381 DEFAULT_wxUSE_SPINBTN
=yes
2382 DEFAULT_wxUSE_SPINCTRL
=yes
2383 DEFAULT_wxUSE_SPLITTER
=yes
2384 DEFAULT_wxUSE_STATBMP
=yes
2385 DEFAULT_wxUSE_STATBOX
=yes
2386 DEFAULT_wxUSE_STATLINE
=yes
2387 DEFAULT_wxUSE_STATTEXT
=yes
2388 DEFAULT_wxUSE_STATUSBAR
=yes
2389 DEFAULT_wxUSE_TABDIALOG
=no
2390 DEFAULT_wxUSE_TEXTCTRL
=yes
2391 DEFAULT_wxUSE_TOGGLEBTN
=yes
2392 DEFAULT_wxUSE_TOOLBAR
=yes
2393 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2394 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2395 DEFAULT_wxUSE_TREECTRL
=yes
2396 DEFAULT_wxUSE_POPUPWIN
=yes
2397 DEFAULT_wxUSE_TIPWINDOW
=yes
2399 DEFAULT_wxUSE_UNICODE
=no
2400 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2401 DEFAULT_wxUSE_WCSRTOMBS
=no
2403 DEFAULT_wxUSE_PALETTE
=yes
2404 DEFAULT_wxUSE_IMAGE
=yes
2405 DEFAULT_wxUSE_GIF
=yes
2406 DEFAULT_wxUSE_PCX
=yes
2407 DEFAULT_wxUSE_IFF
=no
2408 DEFAULT_wxUSE_PNM
=yes
2409 DEFAULT_wxUSE_XPM
=yes
2410 DEFAULT_wxUSE_ICO_CUR
=yes
2411 DEFAULT_wxUSE_ACCESSIBILITY
=no
2413 DEFAULT_wxUSE_MONOLITHIC
=no
2414 DEFAULT_wxUSE_PLUGINS
=no
2415 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2417 DEFAULT_wxUSE_GTK2
=yes
2422 for toolkit
in `echo $ALL_TOOLKITS`; do
2423 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2424 if test "x$LINE" != "x" ; then
2425 has_toolkit_in_cache
=1
2426 eval "DEFAULT_$LINE"
2427 eval "CACHE_$toolkit=1"
2434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2435 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2437 # Check whether --enable-gui or --disable-gui was given.
2438 if test "${enable_gui+set}" = set; then
2439 enableval
="$enable_gui"
2441 if test "$enableval" = yes; then
2442 ac_cv_use_gui
='wxUSE_GUI=yes'
2444 ac_cv_use_gui
='wxUSE_GUI=no'
2449 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x
; then
2451 eval "DEFAULT_$LINE"
2456 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2460 eval "$ac_cv_use_gui"
2461 if test "$no_cache" != 1; then
2462 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2465 if test "$wxUSE_GUI" = yes; then
2466 echo "$as_me:$LINENO: result: yes" >&5
2467 echo "${ECHO_T}yes" >&6
2469 echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2476 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2478 # Check whether --enable-monolithic or --disable-monolithic was given.
2479 if test "${enable_monolithic+set}" = set; then
2480 enableval
="$enable_monolithic"
2482 if test "$enableval" = yes; then
2483 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2485 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2490 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2491 if test "x$LINE" != x
; then
2492 eval "DEFAULT_$LINE"
2497 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2501 eval "$ac_cv_use_monolithic"
2502 if test "$no_cache" != 1; then
2503 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2506 if test "$wxUSE_MONOLITHIC" = yes; then
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2510 echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2517 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2519 # Check whether --enable-plugins or --disable-plugins was given.
2520 if test "${enable_plugins+set}" = set; then
2521 enableval
="$enable_plugins"
2523 if test "$enableval" = yes; then
2524 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2526 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2531 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x
; then
2533 eval "DEFAULT_$LINE"
2538 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2542 eval "$ac_cv_use_plugins"
2543 if test "$no_cache" != 1; then
2544 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2547 if test "$wxUSE_PLUGINS" = yes; then
2548 echo "$as_me:$LINENO: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2556 if test "$wxUSE_GUI" = "yes"; then
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2561 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2563 # Check whether --enable-universal or --disable-universal was given.
2564 if test "${enable_universal+set}" = set; then
2565 enableval
="$enable_universal"
2567 if test "$enableval" = yes; then
2568 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2570 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2575 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x
; then
2577 eval "DEFAULT_$LINE"
2582 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2586 eval "$ac_cv_use_universal"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2591 if test "$wxUSE_UNIVERSAL" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2600 # Check whether --with-gtk or --without-gtk was given.
2601 if test "${with_gtk+set}" = set; then
2603 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2606 # Check whether --with-motif or --without-motif was given.
2607 if test "${with_motif+set}" = set; then
2608 withval
="$with_motif"
2609 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2612 # Check whether --with-mac or --without-mac was given.
2613 if test "${with_mac+set}" = set; then
2615 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2618 # Check whether --with-cocoa or --without-cocoa was given.
2619 if test "${with_cocoa+set}" = set; then
2620 withval
="$with_cocoa"
2621 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2624 # Check whether --with-wine or --without-wine was given.
2625 if test "${with_wine+set}" = set; then
2626 withval
="$with_wine"
2627 wxUSE_WINE
="$withval" CACHE_WINE
=1
2630 # Check whether --with-msw or --without-msw was given.
2631 if test "${with_msw+set}" = set; then
2633 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2636 # Check whether --with-pm or --without-pm was given.
2637 if test "${with_pm+set}" = set; then
2639 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2642 # Check whether --with-mgl or --without-mgl was given.
2643 if test "${with_mgl+set}" = set; then
2645 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2648 # Check whether --with-microwin or --without-microwin was given.
2649 if test "${with_microwin+set}" = set; then
2650 withval
="$with_microwin"
2651 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2654 # Check whether --with-x11 or --without-x11 was given.
2655 if test "${with_x11+set}" = set; then
2657 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2664 # Check whether --enable-nanox or --disable-nanox was given.
2665 if test "${enable_nanox+set}" = set; then
2666 enableval
="$enable_nanox"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2671 ac_cv_use_nanox
='wxUSE_NANOX=no'
2676 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x
; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2687 eval "$ac_cv_use_nanox"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2692 if test "$wxUSE_NANOX" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2704 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2706 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2707 if test "${enable_gtk2+set}" = set; then
2708 enableval
="$enable_gtk2"
2710 if test "$enableval" = yes; then
2711 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2713 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2718 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x
; then
2720 eval "DEFAULT_$LINE"
2725 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2729 eval "$ac_cv_use_gtk2"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2734 if test "$wxUSE_GTK2" = yes; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2745 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2747 # Check whether --enable-gpe or --disable-gpe was given.
2748 if test "${enable_gpe+set}" = set; then
2749 enableval
="$enable_gpe"
2751 if test "$enableval" = yes; then
2752 ac_cv_use_gpe
='wxUSE_GPE=yes'
2754 ac_cv_use_gpe
='wxUSE_GPE=no'
2759 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x
; then
2761 eval "DEFAULT_$LINE"
2766 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2770 eval "$ac_cv_use_gpe"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2775 if test "$wxUSE_GPE" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2785 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2786 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2789 # Check whether --with-libpng or --without-libpng was given.
2790 if test "${with_libpng+set}" = set; then
2791 withval
="$with_libpng"
2793 if test "$withval" = yes; then
2794 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2795 elif test "$withval" = no
; then
2796 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2797 elif test "$withval" = sys
; then
2798 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2799 elif test "$withval" = builtin; then
2800 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2803 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2804 { (exit 1); exit 1; }; }
2809 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2810 if test "x$LINE" != x
; then
2811 eval "DEFAULT_$LINE"
2816 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2820 eval "$ac_cv_use_libpng"
2821 if test "$no_cache" != 1; then
2822 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2825 if test "$wxUSE_LIBPNG" = yes; then
2826 echo "$as_me:$LINENO: result: yes" >&5
2827 echo "${ECHO_T}yes" >&6
2828 elif test "$wxUSE_LIBPNG" = no
; then
2829 echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6
2831 elif test "$wxUSE_LIBPNG" = sys
; then
2832 echo "$as_me:$LINENO: result: system version" >&5
2833 echo "${ECHO_T}system version" >&6
2834 elif test "$wxUSE_LIBPNG" = builtin; then
2835 echo "$as_me:$LINENO: result: builtin version" >&5
2836 echo "${ECHO_T}builtin version" >&6
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2844 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2845 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2848 # Check whether --with-libjpeg or --without-libjpeg was given.
2849 if test "${with_libjpeg+set}" = set; then
2850 withval
="$with_libjpeg"
2852 if test "$withval" = yes; then
2853 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2854 elif test "$withval" = no
; then
2855 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2856 elif test "$withval" = sys
; then
2857 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2858 elif test "$withval" = builtin; then
2859 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2868 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x
; then
2870 eval "DEFAULT_$LINE"
2875 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2879 eval "$ac_cv_use_libjpeg"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2884 if test "$wxUSE_LIBJPEG" = yes; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2887 elif test "$wxUSE_LIBJPEG" = no
; then
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 elif test "$wxUSE_LIBJPEG" = sys
; then
2891 echo "$as_me:$LINENO: result: system version" >&5
2892 echo "${ECHO_T}system version" >&6
2893 elif test "$wxUSE_LIBJPEG" = builtin; then
2894 echo "$as_me:$LINENO: result: builtin version" >&5
2895 echo "${ECHO_T}builtin version" >&6
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2903 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2904 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2907 # Check whether --with-libtiff or --without-libtiff was given.
2908 if test "${with_libtiff+set}" = set; then
2909 withval
="$with_libtiff"
2911 if test "$withval" = yes; then
2912 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2913 elif test "$withval" = no
; then
2914 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2915 elif test "$withval" = sys
; then
2916 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2917 elif test "$withval" = builtin; then
2918 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2927 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x
; then
2929 eval "DEFAULT_$LINE"
2934 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2938 eval "$ac_cv_use_libtiff"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2943 if test "$wxUSE_LIBTIFF" = yes; then
2944 echo "$as_me:$LINENO: result: yes" >&5
2945 echo "${ECHO_T}yes" >&6
2946 elif test "$wxUSE_LIBTIFF" = no
; then
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2949 elif test "$wxUSE_LIBTIFF" = sys
; then
2950 echo "$as_me:$LINENO: result: system version" >&5
2951 echo "${ECHO_T}system version" >&6
2952 elif test "$wxUSE_LIBTIFF" = builtin; then
2953 echo "$as_me:$LINENO: result: builtin version" >&5
2954 echo "${ECHO_T}builtin version" >&6
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2962 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2963 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2966 # Check whether --with-libxpm or --without-libxpm was given.
2967 if test "${with_libxpm+set}" = set; then
2968 withval
="$with_libxpm"
2970 if test "$withval" = yes; then
2971 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2972 elif test "$withval" = no
; then
2973 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2974 elif test "$withval" = sys
; then
2975 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2976 elif test "$withval" = builtin; then
2977 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2986 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2997 eval "$ac_cv_use_libxpm"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3002 if test "$wxUSE_LIBXPM" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 elif test "$wxUSE_LIBXPM" = no
; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 elif test "$wxUSE_LIBXPM" = sys
; then
3009 echo "$as_me:$LINENO: result: system version" >&5
3010 echo "${ECHO_T}system version" >&6
3011 elif test "$wxUSE_LIBXPM" = builtin; then
3012 echo "$as_me:$LINENO: result: builtin version" >&5
3013 echo "${ECHO_T}builtin version" >&6
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3021 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3022 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3025 # Check whether --with-libmspack or --without-libmspack was given.
3026 if test "${with_libmspack+set}" = set; then
3027 withval
="$with_libmspack"
3029 if test "$withval" = yes; then
3030 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3032 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3037 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x
; then
3039 eval "DEFAULT_$LINE"
3044 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3048 eval "$ac_cv_use_libmspack"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3053 if test "$wxUSE_LIBMSPACK" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3062 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3063 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3066 # Check whether --with-sdl or --without-sdl was given.
3067 if test "${with_sdl+set}" = set; then
3070 if test "$withval" = yes; then
3071 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3073 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3078 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3079 if test "x$LINE" != x
; then
3080 eval "DEFAULT_$LINE"
3085 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3089 eval "$ac_cv_use_sdl"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3094 if test "$wxUSE_LIBSDL" = yes; then
3095 echo "$as_me:$LINENO: result: yes" >&5
3096 echo "${ECHO_T}yes" >&6
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3103 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3104 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3107 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3108 if test "${with_gnomeprint+set}" = set; then
3109 withval
="$with_gnomeprint"
3111 if test "$withval" = yes; then
3112 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3114 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3119 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x
; then
3121 eval "DEFAULT_$LINE"
3126 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3130 eval "$ac_cv_use_gnomeprint"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3135 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3144 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3145 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3148 # Check whether --with-opengl or --without-opengl was given.
3149 if test "${with_opengl+set}" = set; then
3150 withval
="$with_opengl"
3152 if test "$withval" = yes; then
3153 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3155 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3160 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x
; then
3162 eval "DEFAULT_$LINE"
3167 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3171 eval "$ac_cv_use_opengl"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3176 if test "$wxUSE_OPENGL" = yes; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3188 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3189 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3192 # Check whether --with-dmalloc or --without-dmalloc was given.
3193 if test "${with_dmalloc+set}" = set; then
3194 withval
="$with_dmalloc"
3196 if test "$withval" = yes; then
3197 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3199 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3204 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x
; then
3206 eval "DEFAULT_$LINE"
3211 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3215 eval "$ac_cv_use_dmalloc"
3216 if test "$no_cache" != 1; then
3217 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3220 if test "$wxUSE_DMALLOC" = yes; then
3221 echo "$as_me:$LINENO: result: yes" >&5
3222 echo "${ECHO_T}yes" >&6
3224 echo "$as_me:$LINENO: result: no" >&5
3225 echo "${ECHO_T}no" >&6
3229 echo "$as_me:$LINENO: checking for --with-regex" >&5
3230 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3233 # Check whether --with-regex or --without-regex was given.
3234 if test "${with_regex+set}" = set; then
3235 withval
="$with_regex"
3237 if test "$withval" = yes; then
3238 ac_cv_use_regex
='wxUSE_REGEX=yes'
3239 elif test "$withval" = no
; then
3240 ac_cv_use_regex
='wxUSE_REGEX=no'
3241 elif test "$withval" = sys
; then
3242 ac_cv_use_regex
='wxUSE_REGEX=sys'
3243 elif test "$withval" = builtin; then
3244 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3246 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3247 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3248 { (exit 1); exit 1; }; }
3253 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x
; then
3255 eval "DEFAULT_$LINE"
3260 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3264 eval "$ac_cv_use_regex"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3269 if test "$wxUSE_REGEX" = yes; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6
3272 elif test "$wxUSE_REGEX" = no
; then
3273 echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6
3275 elif test "$wxUSE_REGEX" = sys
; then
3276 echo "$as_me:$LINENO: result: system version" >&5
3277 echo "${ECHO_T}system version" >&6
3278 elif test "$wxUSE_REGEX" = builtin; then
3279 echo "$as_me:$LINENO: result: builtin version" >&5
3280 echo "${ECHO_T}builtin version" >&6
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3288 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3289 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3292 # Check whether --with-zlib or --without-zlib was given.
3293 if test "${with_zlib+set}" = set; then
3294 withval
="$with_zlib"
3296 if test "$withval" = yes; then
3297 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3298 elif test "$withval" = no
; then
3299 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3300 elif test "$withval" = sys
; then
3301 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3302 elif test "$withval" = builtin; then
3303 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3307 { (exit 1); exit 1; }; }
3312 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x
; then
3314 eval "DEFAULT_$LINE"
3319 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3323 eval "$ac_cv_use_zlib"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3328 if test "$wxUSE_ZLIB" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330 echo "${ECHO_T}yes" >&6
3331 elif test "$wxUSE_ZLIB" = no
; then
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3334 elif test "$wxUSE_ZLIB" = sys
; then
3335 echo "$as_me:$LINENO: result: system version" >&5
3336 echo "${ECHO_T}system version" >&6
3337 elif test "$wxUSE_ZLIB" = builtin; then
3338 echo "$as_me:$LINENO: result: builtin version" >&5
3339 echo "${ECHO_T}builtin version" >&6
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3347 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3348 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3351 # Check whether --with-odbc or --without-odbc was given.
3352 if test "${with_odbc+set}" = set; then
3353 withval
="$with_odbc"
3355 if test "$withval" = yes; then
3356 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3357 elif test "$withval" = no
; then
3358 ac_cv_use_odbc
='wxUSE_ODBC=no'
3359 elif test "$withval" = sys
; then
3360 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3361 elif test "$withval" = builtin; then
3362 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3364 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3365 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3366 { (exit 1); exit 1; }; }
3371 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x
; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3382 eval "$ac_cv_use_odbc"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_ODBC" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3390 elif test "$wxUSE_ODBC" = no
; then
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 elif test "$wxUSE_ODBC" = sys
; then
3394 echo "$as_me:$LINENO: result: system version" >&5
3395 echo "${ECHO_T}system version" >&6
3396 elif test "$wxUSE_ODBC" = builtin; then
3397 echo "$as_me:$LINENO: result: builtin version" >&5
3398 echo "${ECHO_T}builtin version" >&6
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3406 echo "$as_me:$LINENO: checking for --with-expat" >&5
3407 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3410 # Check whether --with-expat or --without-expat was given.
3411 if test "${with_expat+set}" = set; then
3412 withval
="$with_expat"
3414 if test "$withval" = yes; then
3415 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3416 elif test "$withval" = no
; then
3417 ac_cv_use_expat
='wxUSE_EXPAT=no'
3418 elif test "$withval" = sys
; then
3419 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3420 elif test "$withval" = builtin; then
3421 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3423 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3424 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3425 { (exit 1); exit 1; }; }
3430 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x
; then
3432 eval "DEFAULT_$LINE"
3437 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3441 eval "$ac_cv_use_expat"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3446 if test "$wxUSE_EXPAT" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3449 elif test "$wxUSE_EXPAT" = no
; then
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 elif test "$wxUSE_EXPAT" = sys
; then
3453 echo "$as_me:$LINENO: result: system version" >&5
3454 echo "${ECHO_T}system version" >&6
3455 elif test "$wxUSE_EXPAT" = builtin; then
3456 echo "$as_me:$LINENO: result: builtin version" >&5
3457 echo "${ECHO_T}builtin version" >&6
3459 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3460 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3461 { (exit 1); exit 1; }; }
3468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3469 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3471 # Check whether --enable-shared or --disable-shared was given.
3472 if test "${enable_shared+set}" = set; then
3473 enableval
="$enable_shared"
3475 if test "$enableval" = yes; then
3476 ac_cv_use_shared
='wxUSE_SHARED=yes'
3478 ac_cv_use_shared
='wxUSE_SHARED=no'
3483 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3494 eval "$ac_cv_use_shared"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3499 if test "$wxUSE_SHARED" = yes; then
3500 echo "$as_me:$LINENO: result: yes" >&5
3501 echo "${ECHO_T}yes" >&6
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3510 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3512 # Check whether --enable-optimise or --disable-optimise was given.
3513 if test "${enable_optimise+set}" = set; then
3514 enableval
="$enable_optimise"
3516 if test "$enableval" = yes; then
3517 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3519 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3524 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x
; then
3526 eval "DEFAULT_$LINE"
3531 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3535 eval "$ac_cv_use_optimise"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3540 if test "$wxUSE_OPTIMISE" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3551 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3553 # Check whether --enable-debug or --disable-debug was given.
3554 if test "${enable_debug+set}" = set; then
3555 enableval
="$enable_debug"
3557 if test "$enableval" = yes; then
3558 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3560 ac_cv_use_debug
='wxUSE_DEBUG=no'
3565 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x
; then
3567 eval "DEFAULT_$LINE"
3572 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3576 eval "$ac_cv_use_debug"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3581 if test "$wxUSE_DEBUG" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3592 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3594 # Check whether --enable-stl or --disable-stl was given.
3595 if test "${enable_stl+set}" = set; then
3596 enableval
="$enable_stl"
3598 if test "$enableval" = yes; then
3599 ac_cv_use_stl
='wxUSE_STL=yes'
3601 ac_cv_use_stl
='wxUSE_STL=no'
3606 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x
; then
3608 eval "DEFAULT_$LINE"
3613 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3617 eval "$ac_cv_use_stl"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3622 if test "$wxUSE_STL" = yes; then
3623 echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6
3626 echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3630 if test "$USE_OS2" = "1"; then
3633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3634 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3636 # Check whether --enable-omf or --disable-omf was given.
3637 if test "${enable_omf+set}" = set; then
3638 enableval
="$enable_omf"
3640 if test "$enableval" = yes; then
3641 ac_cv_use_omf
='wxUSE_OMF=yes'
3643 ac_cv_use_omf
='wxUSE_OMF=no'
3648 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3649 if test "x$LINE" != x
; then
3650 eval "DEFAULT_$LINE"
3655 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3659 eval "$ac_cv_use_omf"
3660 if test "$no_cache" != 1; then
3661 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3664 if test "$wxUSE_OMF" = yes; then
3665 echo "$as_me:$LINENO: result: yes" >&5
3666 echo "${ECHO_T}yes" >&6
3668 echo "$as_me:$LINENO: result: no" >&5
3669 echo "${ECHO_T}no" >&6
3674 if test "$wxUSE_DEBUG" = "yes"; then
3675 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3676 DEFAULT_wxUSE_DEBUG_INFO
=yes
3678 elif test "$wxUSE_DEBUG" = "no"; then
3679 DEFAULT_wxUSE_DEBUG_FLAG
=no
3680 DEFAULT_wxUSE_DEBUG_INFO
=no
3686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3687 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3689 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3690 if test "${enable_debug_flag+set}" = set; then
3691 enableval
="$enable_debug_flag"
3693 if test "$enableval" = yes; then
3694 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3696 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3701 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x
; then
3703 eval "DEFAULT_$LINE"
3708 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3712 eval "$ac_cv_use_debug_flag"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3717 if test "$wxUSE_DEBUG_FLAG" = yes; then
3718 echo "$as_me:$LINENO: result: yes" >&5
3719 echo "${ECHO_T}yes" >&6
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3728 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3730 # Check whether --enable-debug_info or --disable-debug_info was given.
3731 if test "${enable_debug_info+set}" = set; then
3732 enableval
="$enable_debug_info"
3734 if test "$enableval" = yes; then
3735 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3737 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3742 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x
; then
3744 eval "DEFAULT_$LINE"
3749 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3753 eval "$ac_cv_use_debug_info"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3758 if test "$wxUSE_DEBUG_INFO" = yes; then
3759 echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3769 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3771 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3772 if test "${enable_debug_gdb+set}" = set; then
3773 enableval
="$enable_debug_gdb"
3775 if test "$enableval" = yes; then
3776 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3778 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3783 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3784 if test "x$LINE" != x
; then
3785 eval "DEFAULT_$LINE"
3790 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3794 eval "$ac_cv_use_debug_gdb"
3795 if test "$no_cache" != 1; then
3796 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3799 if test "$wxUSE_DEBUG_GDB" = yes; then
3800 echo "$as_me:$LINENO: result: yes" >&5
3801 echo "${ECHO_T}yes" >&6
3803 echo "$as_me:$LINENO: result: no" >&5
3804 echo "${ECHO_T}no" >&6
3809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3810 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3812 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3813 if test "${enable_debug_cntxt+set}" = set; then
3814 enableval
="$enable_debug_cntxt"
3816 if test "$enableval" = yes; then
3817 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3819 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3824 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x
; then
3826 eval "DEFAULT_$LINE"
3831 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3835 eval "$ac_cv_use_debug_cntxt"
3836 if test "$no_cache" != 1; then
3837 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3840 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3841 echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6
3844 echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6
3850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3851 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3853 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3854 if test "${enable_mem_tracing+set}" = set; then
3855 enableval
="$enable_mem_tracing"
3857 if test "$enableval" = yes; then
3858 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3860 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3865 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3866 if test "x$LINE" != x
; then
3867 eval "DEFAULT_$LINE"
3872 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3876 eval "$ac_cv_use_mem_tracing"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3881 if test "$wxUSE_MEM_TRACING" = yes; then
3882 echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
3891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3892 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3894 # Check whether --enable-profile or --disable-profile was given.
3895 if test "${enable_profile+set}" = set; then
3896 enableval
="$enable_profile"
3898 if test "$enableval" = yes; then
3899 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3901 ac_cv_use_profile
='wxUSE_PROFILE=no'
3906 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3907 if test "x$LINE" != x
; then
3908 eval "DEFAULT_$LINE"
3913 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3917 eval "$ac_cv_use_profile"
3918 if test "$no_cache" != 1; then
3919 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3922 if test "$wxUSE_PROFILE" = yes; then
3923 echo "$as_me:$LINENO: result: yes" >&5
3924 echo "${ECHO_T}yes" >&6
3926 echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6
3932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3933 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3935 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3936 if test "${enable_no_rtti+set}" = set; then
3937 enableval
="$enable_no_rtti"
3939 if test "$enableval" = yes; then
3940 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3942 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3947 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x
; then
3949 eval "DEFAULT_$LINE"
3954 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3958 eval "$ac_cv_use_no_rtti"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3963 if test "$wxUSE_NO_RTTI" = yes; then
3964 echo "$as_me:$LINENO: result: yes" >&5
3965 echo "${ECHO_T}yes" >&6
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3974 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3976 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3977 if test "${enable_no_exceptions+set}" = set; then
3978 enableval
="$enable_no_exceptions"
3980 if test "$enableval" = yes; then
3981 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3983 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3988 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x
; then
3990 eval "DEFAULT_$LINE"
3995 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3999 eval "$ac_cv_use_no_exceptions"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4004 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4005 echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6
4008 echo "$as_me:$LINENO: result: no" >&5
4009 echo "${ECHO_T}no" >&6
4014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4015 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4017 # Check whether --enable-permissive or --disable-permissive was given.
4018 if test "${enable_permissive+set}" = set; then
4019 enableval
="$enable_permissive"
4021 if test "$enableval" = yes; then
4022 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4024 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4029 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x
; then
4031 eval "DEFAULT_$LINE"
4036 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4040 eval "$ac_cv_use_permissive"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4045 if test "$wxUSE_PERMISSIVE" = yes; then
4046 echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4056 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4058 # Check whether --enable-no_deps or --disable-no_deps was given.
4059 if test "${enable_no_deps+set}" = set; then
4060 enableval
="$enable_no_deps"
4062 if test "$enableval" = yes; then
4063 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4065 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4070 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x
; then
4072 eval "DEFAULT_$LINE"
4077 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4081 eval "$ac_cv_use_no_deps"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4086 if test "$wxUSE_NO_DEPS" = yes; then
4087 echo "$as_me:$LINENO: result: yes" >&5
4088 echo "${ECHO_T}yes" >&6
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4100 # Check whether --enable-compat22 or --disable-compat22 was given.
4101 if test "${enable_compat22+set}" = set; then
4102 enableval
="$enable_compat22"
4104 if test "$enableval" = yes; then
4105 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4107 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4112 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x
; then
4114 eval "DEFAULT_$LINE"
4119 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4123 eval "$ac_cv_use_compat22"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4128 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4137 enablestring
=disable
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4141 # Check whether --enable-compat24 or --disable-compat24 was given.
4142 if test "${enable_compat24+set}" = set; then
4143 enableval
="$enable_compat24"
4145 if test "$enableval" = yes; then
4146 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4148 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4153 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x
; then
4155 eval "DEFAULT_$LINE"
4160 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4164 eval "$ac_cv_use_compat24"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4169 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4181 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4183 # Check whether --enable-rpath or --disable-rpath was given.
4184 if test "${enable_rpath+set}" = set; then
4185 enableval
="$enable_rpath"
4187 if test "$enableval" = yes; then
4188 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4190 ac_cv_use_rpath
='wxUSE_RPATH=no'
4195 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x
; then
4197 eval "DEFAULT_$LINE"
4202 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4206 eval "$ac_cv_use_rpath"
4207 if test "$no_cache" != 1; then
4208 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4211 if test "$wxUSE_RPATH" = yes; then
4212 echo "$as_me:$LINENO: result: yes" >&5
4213 echo "${ECHO_T}yes" >&6
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4225 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4227 # Check whether --enable-intl or --disable-intl was given.
4228 if test "${enable_intl+set}" = set; then
4229 enableval
="$enable_intl"
4231 if test "$enableval" = yes; then
4232 ac_cv_use_intl
='wxUSE_INTL=yes'
4234 ac_cv_use_intl
='wxUSE_INTL=no'
4239 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x
; then
4241 eval "DEFAULT_$LINE"
4246 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4250 eval "$ac_cv_use_intl"
4251 if test "$no_cache" != 1; then
4252 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4255 if test "$wxUSE_INTL" = yes; then
4256 echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6
4259 echo "$as_me:$LINENO: result: no" >&5
4260 echo "${ECHO_T}no" >&6
4265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4266 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4268 # Check whether --enable-config or --disable-config was given.
4269 if test "${enable_config+set}" = set; then
4270 enableval
="$enable_config"
4272 if test "$enableval" = yes; then
4273 ac_cv_use_config
='wxUSE_CONFIG=yes'
4275 ac_cv_use_config
='wxUSE_CONFIG=no'
4280 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4281 if test "x$LINE" != x
; then
4282 eval "DEFAULT_$LINE"
4287 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4291 eval "$ac_cv_use_config"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4296 if test "$wxUSE_CONFIG" = yes; then
4297 echo "$as_me:$LINENO: result: yes" >&5
4298 echo "${ECHO_T}yes" >&6
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4308 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4310 # Check whether --enable-protocols or --disable-protocols was given.
4311 if test "${enable_protocols+set}" = set; then
4312 enableval
="$enable_protocols"
4314 if test "$enableval" = yes; then
4315 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4317 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4322 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4323 if test "x$LINE" != x
; then
4324 eval "DEFAULT_$LINE"
4329 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4333 eval "$ac_cv_use_protocols"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4338 if test "$wxUSE_PROTOCOL" = yes; then
4339 echo "$as_me:$LINENO: result: yes" >&5
4340 echo "${ECHO_T}yes" >&6
4342 echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6
4348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4349 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4351 # Check whether --enable-ftp or --disable-ftp was given.
4352 if test "${enable_ftp+set}" = set; then
4353 enableval
="$enable_ftp"
4355 if test "$enableval" = yes; then
4356 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4358 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4363 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x
; then
4365 eval "DEFAULT_$LINE"
4370 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4374 eval "$ac_cv_use_ftp"
4375 if test "$no_cache" != 1; then
4376 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4379 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4380 echo "$as_me:$LINENO: result: yes" >&5
4381 echo "${ECHO_T}yes" >&6
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4392 # Check whether --enable-http or --disable-http was given.
4393 if test "${enable_http+set}" = set; then
4394 enableval
="$enable_http"
4396 if test "$enableval" = yes; then
4397 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4399 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4404 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x
; then
4406 eval "DEFAULT_$LINE"
4411 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4415 eval "$ac_cv_use_http"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4420 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4421 echo "$as_me:$LINENO: result: yes" >&5
4422 echo "${ECHO_T}yes" >&6
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4431 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4433 # Check whether --enable-fileproto or --disable-fileproto was given.
4434 if test "${enable_fileproto+set}" = set; then
4435 enableval
="$enable_fileproto"
4437 if test "$enableval" = yes; then
4438 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4440 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4445 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x
; then
4447 eval "DEFAULT_$LINE"
4452 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4456 eval "$ac_cv_use_fileproto"
4457 if test "$no_cache" != 1; then
4458 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4461 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4462 echo "$as_me:$LINENO: result: yes" >&5
4463 echo "${ECHO_T}yes" >&6
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4474 # Check whether --enable-sockets or --disable-sockets was given.
4475 if test "${enable_sockets+set}" = set; then
4476 enableval
="$enable_sockets"
4478 if test "$enableval" = yes; then
4479 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4481 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4486 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x
; then
4488 eval "DEFAULT_$LINE"
4493 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4497 eval "$ac_cv_use_sockets"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4502 if test "$wxUSE_SOCKETS" = yes; then
4503 echo "$as_me:$LINENO: result: yes" >&5
4504 echo "${ECHO_T}yes" >&6
4506 echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6
4512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4515 # Check whether --enable-ole or --disable-ole was given.
4516 if test "${enable_ole+set}" = set; then
4517 enableval
="$enable_ole"
4519 if test "$enableval" = yes; then
4520 ac_cv_use_ole
='wxUSE_OLE=yes'
4522 ac_cv_use_ole
='wxUSE_OLE=no'
4527 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x
; then
4529 eval "DEFAULT_$LINE"
4534 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4538 eval "$ac_cv_use_ole"
4539 if test "$no_cache" != 1; then
4540 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4543 if test "$wxUSE_OLE" = yes; then
4544 echo "$as_me:$LINENO: result: yes" >&5
4545 echo "${ECHO_T}yes" >&6
4547 echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6
4553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4554 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4556 # Check whether --enable-dataobj or --disable-dataobj was given.
4557 if test "${enable_dataobj+set}" = set; then
4558 enableval
="$enable_dataobj"
4560 if test "$enableval" = yes; then
4561 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4563 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4568 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4569 if test "x$LINE" != x
; then
4570 eval "DEFAULT_$LINE"
4575 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4579 eval "$ac_cv_use_dataobj"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4584 if test "$wxUSE_DATAOBJ" = yes; then
4585 echo "$as_me:$LINENO: result: yes" >&5
4586 echo "${ECHO_T}yes" >&6
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4598 # Check whether --enable-ipc or --disable-ipc was given.
4599 if test "${enable_ipc+set}" = set; then
4600 enableval
="$enable_ipc"
4602 if test "$enableval" = yes; then
4603 ac_cv_use_ipc
='wxUSE_IPC=yes'
4605 ac_cv_use_ipc
='wxUSE_IPC=no'
4610 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4611 if test "x$LINE" != x
; then
4612 eval "DEFAULT_$LINE"
4617 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4621 eval "$ac_cv_use_ipc"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4626 if test "$wxUSE_IPC" = yes; then
4627 echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4640 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4641 if test "${enable_apple_ieee+set}" = set; then
4642 enableval
="$enable_apple_ieee"
4644 if test "$enableval" = yes; then
4645 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4647 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4652 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x
; then
4654 eval "DEFAULT_$LINE"
4659 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4663 eval "$ac_cv_use_apple_ieee"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4668 if test "$wxUSE_APPLE_IEEE" = yes; then
4669 echo "$as_me:$LINENO: result: yes" >&5
4670 echo "${ECHO_T}yes" >&6
4672 echo "$as_me:$LINENO: result: no" >&5
4673 echo "${ECHO_T}no" >&6
4678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4679 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4681 # Check whether --enable-arcstream or --disable-arcstream was given.
4682 if test "${enable_arcstream+set}" = set; then
4683 enableval
="$enable_arcstream"
4685 if test "$enableval" = yes; then
4686 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4688 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4693 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x
; then
4695 eval "DEFAULT_$LINE"
4700 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4704 eval "$ac_cv_use_arcstream"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4709 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4710 echo "$as_me:$LINENO: result: yes" >&5
4711 echo "${ECHO_T}yes" >&6
4713 echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6
4719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4720 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4722 # Check whether --enable-backtrace or --disable-backtrace was given.
4723 if test "${enable_backtrace+set}" = set; then
4724 enableval
="$enable_backtrace"
4726 if test "$enableval" = yes; then
4727 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4729 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4734 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x
; then
4736 eval "DEFAULT_$LINE"
4741 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4745 eval "$ac_cv_use_backtrace"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4750 if test "$wxUSE_STACKWALKER" = yes; then
4751 echo "$as_me:$LINENO: result: yes" >&5
4752 echo "${ECHO_T}yes" >&6
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4763 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4764 if test "${enable_catch_segvs+set}" = set; then
4765 enableval
="$enable_catch_segvs"
4767 if test "$enableval" = yes; then
4768 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4770 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4775 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x
; then
4777 eval "DEFAULT_$LINE"
4782 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4786 eval "$ac_cv_use_catch_segvs"
4787 if test "$no_cache" != 1; then
4788 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4791 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4792 echo "$as_me:$LINENO: result: yes" >&5
4793 echo "${ECHO_T}yes" >&6
4795 echo "$as_me:$LINENO: result: no" >&5
4796 echo "${ECHO_T}no" >&6
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4804 # Check whether --enable-cmdline or --disable-cmdline was given.
4805 if test "${enable_cmdline+set}" = set; then
4806 enableval
="$enable_cmdline"
4808 if test "$enableval" = yes; then
4809 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4811 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4816 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x
; then
4818 eval "DEFAULT_$LINE"
4823 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4827 eval "$ac_cv_use_cmdline"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4832 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834 echo "${ECHO_T}yes" >&6
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4845 # Check whether --enable-datetime or --disable-datetime was given.
4846 if test "${enable_datetime+set}" = set; then
4847 enableval
="$enable_datetime"
4849 if test "$enableval" = yes; then
4850 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4852 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4857 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x
; then
4859 eval "DEFAULT_$LINE"
4864 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4868 eval "$ac_cv_use_datetime"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4873 if test "$wxUSE_DATETIME" = yes; then
4874 echo "$as_me:$LINENO: result: yes" >&5
4875 echo "${ECHO_T}yes" >&6
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4886 # Check whether --enable-debugreport or --disable-debugreport was given.
4887 if test "${enable_debugreport+set}" = set; then
4888 enableval
="$enable_debugreport"
4890 if test "$enableval" = yes; then
4891 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4893 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4898 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x
; then
4900 eval "DEFAULT_$LINE"
4905 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4909 eval "$ac_cv_use_debugreport"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4914 if test "$wxUSE_DEBUGREPORT" = yes; then
4915 echo "$as_me:$LINENO: result: yes" >&5
4916 echo "${ECHO_T}yes" >&6
4918 echo "$as_me:$LINENO: result: no" >&5
4919 echo "${ECHO_T}no" >&6
4924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4927 # Check whether --enable-dialupman or --disable-dialupman was given.
4928 if test "${enable_dialupman+set}" = set; then
4929 enableval
="$enable_dialupman"
4931 if test "$enableval" = yes; then
4932 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4934 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4939 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x
; then
4941 eval "DEFAULT_$LINE"
4946 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4950 eval "$ac_cv_use_dialupman"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4955 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4956 echo "$as_me:$LINENO: result: yes" >&5
4957 echo "${ECHO_T}yes" >&6
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4968 # Check whether --enable-dynlib or --disable-dynlib was given.
4969 if test "${enable_dynlib+set}" = set; then
4970 enableval
="$enable_dynlib"
4972 if test "$enableval" = yes; then
4973 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4975 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4980 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x
; then
4982 eval "DEFAULT_$LINE"
4987 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4991 eval "$ac_cv_use_dynlib"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4996 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5009 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5010 if test "${enable_dynamicloader+set}" = set; then
5011 enableval
="$enable_dynamicloader"
5013 if test "$enableval" = yes; then
5014 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5016 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5021 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x
; then
5023 eval "DEFAULT_$LINE"
5028 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5032 eval "$ac_cv_use_dynamicloader"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5037 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5050 # Check whether --enable-exceptions or --disable-exceptions was given.
5051 if test "${enable_exceptions+set}" = set; then
5052 enableval
="$enable_exceptions"
5054 if test "$enableval" = yes; then
5055 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5057 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5062 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x
; then
5064 eval "DEFAULT_$LINE"
5069 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5073 eval "$ac_cv_use_exceptions"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5078 if test "$wxUSE_EXCEPTIONS" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5091 # Check whether --enable-ffile or --disable-ffile was given.
5092 if test "${enable_ffile+set}" = set; then
5093 enableval
="$enable_ffile"
5095 if test "$enableval" = yes; then
5096 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5098 ac_cv_use_ffile
='wxUSE_FFILE=no'
5103 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x
; then
5105 eval "DEFAULT_$LINE"
5110 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5114 eval "$ac_cv_use_ffile"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5119 if test "$wxUSE_FFILE" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5132 # Check whether --enable-file or --disable-file was given.
5133 if test "${enable_file+set}" = set; then
5134 enableval
="$enable_file"
5136 if test "$enableval" = yes; then
5137 ac_cv_use_file
='wxUSE_FILE=yes'
5139 ac_cv_use_file
='wxUSE_FILE=no'
5144 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x
; then
5146 eval "DEFAULT_$LINE"
5151 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5155 eval "$ac_cv_use_file"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5160 if test "$wxUSE_FILE" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5173 # Check whether --enable-filesystem or --disable-filesystem was given.
5174 if test "${enable_filesystem+set}" = set; then
5175 enableval
="$enable_filesystem"
5177 if test "$enableval" = yes; then
5178 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5180 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5185 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x
; then
5187 eval "DEFAULT_$LINE"
5192 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5196 eval "$ac_cv_use_filesystem"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5201 if test "$wxUSE_FILESYSTEM" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5214 # Check whether --enable-fontmap or --disable-fontmap was given.
5215 if test "${enable_fontmap+set}" = set; then
5216 enableval
="$enable_fontmap"
5218 if test "$enableval" = yes; then
5219 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5221 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5226 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x
; then
5228 eval "DEFAULT_$LINE"
5233 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5237 eval "$ac_cv_use_fontmap"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5242 if test "$wxUSE_FONTMAP" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5255 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5256 if test "${enable_fs_inet+set}" = set; then
5257 enableval
="$enable_fs_inet"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5262 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5267 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x
; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5278 eval "$ac_cv_use_fs_inet"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_FS_INET" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5296 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5297 if test "${enable_fs_zip+set}" = set; then
5298 enableval
="$enable_fs_zip"
5300 if test "$enableval" = yes; then
5301 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5303 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5308 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x
; then
5310 eval "DEFAULT_$LINE"
5315 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5319 eval "$ac_cv_use_fs_zip"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_FS_ZIP" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5337 # Check whether --enable-geometry or --disable-geometry was given.
5338 if test "${enable_geometry+set}" = set; then
5339 enableval
="$enable_geometry"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5344 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5349 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x
; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5360 eval "$ac_cv_use_geometry"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5365 if test "$wxUSE_GEOMETRY" = yes; then
5366 echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5378 # Check whether --enable-log or --disable-log was given.
5379 if test "${enable_log+set}" = set; then
5380 enableval
="$enable_log"
5382 if test "$enableval" = yes; then
5383 ac_cv_use_log
='wxUSE_LOG=yes'
5385 ac_cv_use_log
='wxUSE_LOG=no'
5390 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x
; then
5392 eval "DEFAULT_$LINE"
5397 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5401 eval "$ac_cv_use_log"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5406 if test "$wxUSE_LOG" = yes; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5410 echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6
5416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5419 # Check whether --enable-longlong or --disable-longlong was given.
5420 if test "${enable_longlong+set}" = set; then
5421 enableval
="$enable_longlong"
5423 if test "$enableval" = yes; then
5424 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5426 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5431 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x
; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5442 eval "$ac_cv_use_longlong"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5447 if test "$wxUSE_LONGLONG" = yes; then
5448 echo "$as_me:$LINENO: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5451 echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5460 # Check whether --enable-mimetype or --disable-mimetype was given.
5461 if test "${enable_mimetype+set}" = set; then
5462 enableval
="$enable_mimetype"
5464 if test "$enableval" = yes; then
5465 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5467 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5472 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x
; then
5474 eval "DEFAULT_$LINE"
5479 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5483 eval "$ac_cv_use_mimetype"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5488 if test "$wxUSE_MIMETYPE" = yes; then
5489 echo "$as_me:$LINENO: result: yes" >&5
5490 echo "${ECHO_T}yes" >&6
5492 echo "$as_me:$LINENO: result: no" >&5
5493 echo "${ECHO_T}no" >&6
5498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5501 # Check whether --enable-mslu or --disable-mslu was given.
5502 if test "${enable_mslu+set}" = set; then
5503 enableval
="$enable_mslu"
5505 if test "$enableval" = yes; then
5506 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5508 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5513 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x
; then
5515 eval "DEFAULT_$LINE"
5520 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5524 eval "$ac_cv_use_mslu"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5529 if test "$wxUSE_UNICODE_MSLU" = yes; then
5530 echo "$as_me:$LINENO: result: yes" >&5
5531 echo "${ECHO_T}yes" >&6
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5542 # Check whether --enable-snglinst or --disable-snglinst was given.
5543 if test "${enable_snglinst+set}" = set; then
5544 enableval
="$enable_snglinst"
5546 if test "$enableval" = yes; then
5547 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5549 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5554 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x
; then
5556 eval "DEFAULT_$LINE"
5561 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5565 eval "$ac_cv_use_snglinst"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5570 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5571 echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5583 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5584 if test "${enable_std_iostreams+set}" = set; then
5585 enableval
="$enable_std_iostreams"
5587 if test "$enableval" = yes; then
5588 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5590 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5595 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x
; then
5597 eval "DEFAULT_$LINE"
5602 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5606 eval "$ac_cv_use_std_iostreams"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5611 if test "$wxUSE_STD_IOSTREAM" = yes; then
5612 echo "$as_me:$LINENO: result: yes" >&5
5613 echo "${ECHO_T}yes" >&6
5615 echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6
5621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5624 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5625 if test "${enable_stdpaths+set}" = set; then
5626 enableval
="$enable_stdpaths"
5628 if test "$enableval" = yes; then
5629 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5631 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5636 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x
; then
5638 eval "DEFAULT_$LINE"
5643 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5647 eval "$ac_cv_use_stdpaths"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5652 if test "$wxUSE_STDPATHS" = yes; then
5653 echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5665 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5666 if test "${enable_stopwatch+set}" = set; then
5667 enableval
="$enable_stopwatch"
5669 if test "$enableval" = yes; then
5670 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5672 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5677 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x
; then
5679 eval "DEFAULT_$LINE"
5684 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5688 eval "$ac_cv_use_stopwatch"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5693 if test "$wxUSE_STOPWATCH" = yes; then
5694 echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5706 # Check whether --enable-streams or --disable-streams was given.
5707 if test "${enable_streams+set}" = set; then
5708 enableval
="$enable_streams"
5710 if test "$enableval" = yes; then
5711 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5713 ac_cv_use_streams
='wxUSE_STREAMS=no'
5718 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x
; then
5720 eval "DEFAULT_$LINE"
5725 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5729 eval "$ac_cv_use_streams"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5734 if test "$wxUSE_STREAMS" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5747 # Check whether --enable-system_options or --disable-system_options was given.
5748 if test "${enable_system_options+set}" = set; then
5749 enableval
="$enable_system_options"
5751 if test "$enableval" = yes; then
5752 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5754 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5759 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x
; then
5761 eval "DEFAULT_$LINE"
5766 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5770 eval "$ac_cv_use_system_options"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5775 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5788 # Check whether --enable-textbuf or --disable-textbuf was given.
5789 if test "${enable_textbuf+set}" = set; then
5790 enableval
="$enable_textbuf"
5792 if test "$enableval" = yes; then
5793 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5795 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5800 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x
; then
5802 eval "DEFAULT_$LINE"
5807 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5811 eval "$ac_cv_use_textbuf"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5816 if test "$wxUSE_TEXTBUFFER" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5829 # Check whether --enable-textfile or --disable-textfile was given.
5830 if test "${enable_textfile+set}" = set; then
5831 enableval
="$enable_textfile"
5833 if test "$enableval" = yes; then
5834 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5836 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5841 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x
; then
5843 eval "DEFAULT_$LINE"
5848 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5852 eval "$ac_cv_use_textfile"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5857 if test "$wxUSE_TEXTFILE" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5870 # Check whether --enable-timer or --disable-timer was given.
5871 if test "${enable_timer+set}" = set; then
5872 enableval
="$enable_timer"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_timer
='wxUSE_TIMER=yes'
5877 ac_cv_use_timer
='wxUSE_TIMER=no'
5882 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x
; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5893 eval "$ac_cv_use_timer"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5898 if test "$wxUSE_TIMER" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5911 # Check whether --enable-unicode or --disable-unicode was given.
5912 if test "${enable_unicode+set}" = set; then
5913 enableval
="$enable_unicode"
5915 if test "$enableval" = yes; then
5916 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5918 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5923 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x
; then
5925 eval "DEFAULT_$LINE"
5930 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5934 eval "$ac_cv_use_unicode"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5939 if test "$wxUSE_UNICODE" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5952 # Check whether --enable-sound or --disable-sound was given.
5953 if test "${enable_sound+set}" = set; then
5954 enableval
="$enable_sound"
5956 if test "$enableval" = yes; then
5957 ac_cv_use_sound
='wxUSE_SOUND=yes'
5959 ac_cv_use_sound
='wxUSE_SOUND=no'
5964 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x
; then
5966 eval "DEFAULT_$LINE"
5971 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5975 eval "$ac_cv_use_sound"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5980 if test "$wxUSE_SOUND" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5993 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5994 if test "${enable_mediactrl+set}" = set; then
5995 enableval
="$enable_mediactrl"
5997 if test "$enableval" = yes; then
5998 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6000 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6005 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x
; then
6007 eval "DEFAULT_$LINE"
6012 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6016 eval "$ac_cv_use_mediactrl"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_MEDIACTRL" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6034 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6035 if test "${enable_wxprintfv+set}" = set; then
6036 enableval
="$enable_wxprintfv"
6038 if test "$enableval" = yes; then
6039 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6041 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6046 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x
; then
6048 eval "DEFAULT_$LINE"
6053 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6057 eval "$ac_cv_use_wxprintfv"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6062 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6075 # Check whether --enable-zipstream or --disable-zipstream was given.
6076 if test "${enable_zipstream+set}" = set; then
6077 enableval
="$enable_zipstream"
6079 if test "$enableval" = yes; then
6080 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6082 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6087 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x
; then
6089 eval "DEFAULT_$LINE"
6094 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6098 eval "$ac_cv_use_zipstream"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6103 if test "$wxUSE_ZIPSTREAM" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6117 # Check whether --enable-url or --disable-url was given.
6118 if test "${enable_url+set}" = set; then
6119 enableval
="$enable_url"
6121 if test "$enableval" = yes; then
6122 ac_cv_use_url
='wxUSE_URL=yes'
6124 ac_cv_use_url
='wxUSE_URL=no'
6129 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x
; then
6131 eval "DEFAULT_$LINE"
6136 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6140 eval "$ac_cv_use_url"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6145 if test "$wxUSE_URL" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6158 # Check whether --enable-protocol or --disable-protocol was given.
6159 if test "${enable_protocol+set}" = set; then
6160 enableval
="$enable_protocol"
6162 if test "$enableval" = yes; then
6163 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6165 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6170 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x
; then
6172 eval "DEFAULT_$LINE"
6177 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6181 eval "$ac_cv_use_protocol"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6186 if test "$wxUSE_PROTOCOL" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6199 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6200 if test "${enable_protocol_http+set}" = set; then
6201 enableval
="$enable_protocol_http"
6203 if test "$enableval" = yes; then
6204 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6206 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6211 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x
; then
6213 eval "DEFAULT_$LINE"
6218 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6222 eval "$ac_cv_use_protocol_http"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6227 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6240 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6241 if test "${enable_protocol_ftp+set}" = set; then
6242 enableval
="$enable_protocol_ftp"
6244 if test "$enableval" = yes; then
6245 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6247 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6252 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x
; then
6254 eval "DEFAULT_$LINE"
6259 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6263 eval "$ac_cv_use_protocol_ftp"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6268 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6281 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6282 if test "${enable_protocol_file+set}" = set; then
6283 enableval
="$enable_protocol_file"
6285 if test "$enableval" = yes; then
6286 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6288 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6293 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x
; then
6295 eval "DEFAULT_$LINE"
6300 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6304 eval "$ac_cv_use_protocol_file"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6309 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6325 # Check whether --enable-threads or --disable-threads was given.
6326 if test "${enable_threads+set}" = set; then
6327 enableval
="$enable_threads"
6329 if test "$enableval" = yes; then
6330 ac_cv_use_threads
='wxUSE_THREADS=yes'
6332 ac_cv_use_threads
='wxUSE_THREADS=no'
6337 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6338 if test "x$LINE" != x
; then
6339 eval "DEFAULT_$LINE"
6344 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6348 eval "$ac_cv_use_threads"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6353 if test "$wxUSE_THREADS" = yes; then
6354 echo "$as_me:$LINENO: result: yes" >&5
6355 echo "${ECHO_T}yes" >&6
6357 echo "$as_me:$LINENO: result: no" >&5
6358 echo "${ECHO_T}no" >&6
6362 if test "$wxUSE_GUI" = "yes"; then
6367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6368 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6370 # Check whether --enable-docview or --disable-docview was given.
6371 if test "${enable_docview+set}" = set; then
6372 enableval
="$enable_docview"
6374 if test "$enableval" = yes; then
6375 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6377 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6382 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x
; then
6384 eval "DEFAULT_$LINE"
6389 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6393 eval "$ac_cv_use_docview"
6394 if test "$no_cache" != 1; then
6395 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6398 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6399 echo "$as_me:$LINENO: result: yes" >&5
6400 echo "${ECHO_T}yes" >&6
6402 echo "$as_me:$LINENO: result: no" >&5
6403 echo "${ECHO_T}no" >&6
6408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6409 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6411 # Check whether --enable-help or --disable-help was given.
6412 if test "${enable_help+set}" = set; then
6413 enableval
="$enable_help"
6415 if test "$enableval" = yes; then
6416 ac_cv_use_help
='wxUSE_HELP=yes'
6418 ac_cv_use_help
='wxUSE_HELP=no'
6423 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6424 if test "x$LINE" != x
; then
6425 eval "DEFAULT_$LINE"
6430 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6434 eval "$ac_cv_use_help"
6435 if test "$no_cache" != 1; then
6436 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6439 if test "$wxUSE_HELP" = yes; then
6440 echo "$as_me:$LINENO: result: yes" >&5
6441 echo "${ECHO_T}yes" >&6
6443 echo "$as_me:$LINENO: result: no" >&5
6444 echo "${ECHO_T}no" >&6
6449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6450 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6452 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6453 if test "${enable_mshtmlhelp+set}" = set; then
6454 enableval
="$enable_mshtmlhelp"
6456 if test "$enableval" = yes; then
6457 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6459 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6464 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x
; then
6466 eval "DEFAULT_$LINE"
6471 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6475 eval "$ac_cv_use_mshtmlhelp"
6476 if test "$no_cache" != 1; then
6477 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6480 if test "$wxUSE_MS_HTML_HELP" = yes; then
6481 echo "$as_me:$LINENO: result: yes" >&5
6482 echo "${ECHO_T}yes" >&6
6484 echo "$as_me:$LINENO: result: no" >&5
6485 echo "${ECHO_T}no" >&6
6490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6493 # Check whether --enable-html or --disable-html was given.
6494 if test "${enable_html+set}" = set; then
6495 enableval
="$enable_html"
6497 if test "$enableval" = yes; then
6498 ac_cv_use_html
='wxUSE_HTML=yes'
6500 ac_cv_use_html
='wxUSE_HTML=no'
6505 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6506 if test "x$LINE" != x
; then
6507 eval "DEFAULT_$LINE"
6512 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6516 eval "$ac_cv_use_html"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6521 if test "$wxUSE_HTML" = yes; then
6522 echo "$as_me:$LINENO: result: yes" >&5
6523 echo "${ECHO_T}yes" >&6
6525 echo "$as_me:$LINENO: result: no" >&5
6526 echo "${ECHO_T}no" >&6
6531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6532 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6534 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6535 if test "${enable_htmlhelp+set}" = set; then
6536 enableval
="$enable_htmlhelp"
6538 if test "$enableval" = yes; then
6539 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6541 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6546 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6547 if test "x$LINE" != x
; then
6548 eval "DEFAULT_$LINE"
6553 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6557 eval "$ac_cv_use_htmlhelp"
6558 if test "$no_cache" != 1; then
6559 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6562 if test "$wxUSE_WXHTML_HELP" = yes; then
6563 echo "$as_me:$LINENO: result: yes" >&5
6564 echo "${ECHO_T}yes" >&6
6566 echo "$as_me:$LINENO: result: no" >&5
6567 echo "${ECHO_T}no" >&6
6572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6573 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6575 # Check whether --enable-xrc or --disable-xrc was given.
6576 if test "${enable_xrc+set}" = set; then
6577 enableval
="$enable_xrc"
6579 if test "$enableval" = yes; then
6580 ac_cv_use_xrc
='wxUSE_XRC=yes'
6582 ac_cv_use_xrc
='wxUSE_XRC=no'
6587 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x
; then
6589 eval "DEFAULT_$LINE"
6594 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6598 eval "$ac_cv_use_xrc"
6599 if test "$no_cache" != 1; then
6600 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6603 if test "$wxUSE_XRC" = yes; then
6604 echo "$as_me:$LINENO: result: yes" >&5
6605 echo "${ECHO_T}yes" >&6
6607 echo "$as_me:$LINENO: result: no" >&5
6608 echo "${ECHO_T}no" >&6
6613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6614 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6616 # Check whether --enable-constraints or --disable-constraints was given.
6617 if test "${enable_constraints+set}" = set; then
6618 enableval
="$enable_constraints"
6620 if test "$enableval" = yes; then
6621 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6623 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6628 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x
; then
6630 eval "DEFAULT_$LINE"
6635 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6639 eval "$ac_cv_use_constraints"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6644 if test "$wxUSE_CONSTRAINTS" = yes; then
6645 echo "$as_me:$LINENO: result: yes" >&5
6646 echo "${ECHO_T}yes" >&6
6648 echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6
6654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6657 # Check whether --enable-printarch or --disable-printarch was given.
6658 if test "${enable_printarch+set}" = set; then
6659 enableval
="$enable_printarch"
6661 if test "$enableval" = yes; then
6662 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6664 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6669 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x
; then
6671 eval "DEFAULT_$LINE"
6676 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6680 eval "$ac_cv_use_printarch"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6685 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687 echo "${ECHO_T}yes" >&6
6689 echo "$as_me:$LINENO: result: no" >&5
6690 echo "${ECHO_T}no" >&6
6695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6696 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6698 # Check whether --enable-mdi or --disable-mdi was given.
6699 if test "${enable_mdi+set}" = set; then
6700 enableval
="$enable_mdi"
6702 if test "$enableval" = yes; then
6703 ac_cv_use_mdi
='wxUSE_MDI=yes'
6705 ac_cv_use_mdi
='wxUSE_MDI=no'
6710 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x
; then
6712 eval "DEFAULT_$LINE"
6717 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6721 eval "$ac_cv_use_mdi"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6726 if test "$wxUSE_MDI" = yes; then
6727 echo "$as_me:$LINENO: result: yes" >&5
6728 echo "${ECHO_T}yes" >&6
6730 echo "$as_me:$LINENO: result: no" >&5
6731 echo "${ECHO_T}no" >&6
6736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6739 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6740 if test "${enable_mdidoc+set}" = set; then
6741 enableval
="$enable_mdidoc"
6743 if test "$enableval" = yes; then
6744 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6746 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6751 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x
; then
6753 eval "DEFAULT_$LINE"
6758 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6762 eval "$ac_cv_use_mdidoc"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6767 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6768 echo "$as_me:$LINENO: result: yes" >&5
6769 echo "${ECHO_T}yes" >&6
6771 echo "$as_me:$LINENO: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6780 # Check whether --enable-loggui or --disable-loggui was given.
6781 if test "${enable_loggui+set}" = set; then
6782 enableval
="$enable_loggui"
6784 if test "$enableval" = yes; then
6785 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6787 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6792 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x
; then
6794 eval "DEFAULT_$LINE"
6799 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6803 eval "$ac_cv_use_loggui"
6804 if test "$no_cache" != 1; then
6805 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6808 if test "$wxUSE_LOGGUI" = yes; then
6809 echo "$as_me:$LINENO: result: yes" >&5
6810 echo "${ECHO_T}yes" >&6
6812 echo "$as_me:$LINENO: result: no" >&5
6813 echo "${ECHO_T}no" >&6
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6821 # Check whether --enable-logwin or --disable-logwin was given.
6822 if test "${enable_logwin+set}" = set; then
6823 enableval
="$enable_logwin"
6825 if test "$enableval" = yes; then
6826 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6828 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6833 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x
; then
6835 eval "DEFAULT_$LINE"
6840 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6844 eval "$ac_cv_use_logwin"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6849 if test "$wxUSE_LOGWINDOW" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6862 # Check whether --enable-logdialog or --disable-logdialog was given.
6863 if test "${enable_logdialog+set}" = set; then
6864 enableval
="$enable_logdialog"
6866 if test "$enableval" = yes; then
6867 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6869 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6874 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x
; then
6876 eval "DEFAULT_$LINE"
6881 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6885 eval "$ac_cv_use_logdialog"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6890 if test "$wxUSE_LOGDIALOG" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6903 # Check whether --enable-webkit or --disable-webkit was given.
6904 if test "${enable_webkit+set}" = set; then
6905 enableval
="$enable_webkit"
6907 if test "$enableval" = yes; then
6908 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6910 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6915 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x
; then
6917 eval "DEFAULT_$LINE"
6922 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6926 eval "$ac_cv_use_webkit"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6931 if test "$wxUSE_WEBKIT" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6945 # Check whether --enable-postscript or --disable-postscript was given.
6946 if test "${enable_postscript+set}" = set; then
6947 enableval
="$enable_postscript"
6949 if test "$enableval" = yes; then
6950 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6952 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6957 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x
; then
6959 eval "DEFAULT_$LINE"
6964 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6968 eval "$ac_cv_use_postscript"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6973 if test "$wxUSE_POSTSCRIPT" = yes; then
6974 echo "$as_me:$LINENO: result: yes" >&5
6975 echo "${ECHO_T}yes" >&6
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6989 # Check whether --enable-prologio or --disable-prologio was given.
6990 if test "${enable_prologio+set}" = set; then
6991 enableval
="$enable_prologio"
6993 if test "$enableval" = yes; then
6994 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6996 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7001 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7002 if test "x$LINE" != x
; then
7003 eval "DEFAULT_$LINE"
7008 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7012 eval "$ac_cv_use_prologio"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7017 if test "$wxUSE_PROLOGIO" = yes; then
7018 echo "$as_me:$LINENO: result: yes" >&5
7019 echo "${ECHO_T}yes" >&6
7021 echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6
7027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7030 # Check whether --enable-resources or --disable-resources was given.
7031 if test "${enable_resources+set}" = set; then
7032 enableval
="$enable_resources"
7034 if test "$enableval" = yes; then
7035 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7037 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7042 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7043 if test "x$LINE" != x
; then
7044 eval "DEFAULT_$LINE"
7049 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7053 eval "$ac_cv_use_resources"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7058 if test "$wxUSE_RESOURCES" = yes; then
7059 echo "$as_me:$LINENO: result: yes" >&5
7060 echo "${ECHO_T}yes" >&6
7062 echo "$as_me:$LINENO: result: no" >&5
7063 echo "${ECHO_T}no" >&6
7070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7073 # Check whether --enable-clipboard or --disable-clipboard was given.
7074 if test "${enable_clipboard+set}" = set; then
7075 enableval
="$enable_clipboard"
7077 if test "$enableval" = yes; then
7078 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7080 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7085 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x
; then
7087 eval "DEFAULT_$LINE"
7092 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7096 eval "$ac_cv_use_clipboard"
7097 if test "$no_cache" != 1; then
7098 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7101 if test "$wxUSE_CLIPBOARD" = yes; then
7102 echo "$as_me:$LINENO: result: yes" >&5
7103 echo "${ECHO_T}yes" >&6
7105 echo "$as_me:$LINENO: result: no" >&5
7106 echo "${ECHO_T}no" >&6
7111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7112 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7114 # Check whether --enable-dnd or --disable-dnd was given.
7115 if test "${enable_dnd+set}" = set; then
7116 enableval
="$enable_dnd"
7118 if test "$enableval" = yes; then
7119 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7121 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7126 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7127 if test "x$LINE" != x
; then
7128 eval "DEFAULT_$LINE"
7133 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7137 eval "$ac_cv_use_dnd"
7138 if test "$no_cache" != 1; then
7139 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7142 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7143 echo "$as_me:$LINENO: result: yes" >&5
7144 echo "${ECHO_T}yes" >&6
7146 echo "$as_me:$LINENO: result: no" >&5
7147 echo "${ECHO_T}no" >&6
7152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7155 # Check whether --enable-metafile or --disable-metafile was given.
7156 if test "${enable_metafile+set}" = set; then
7157 enableval
="$enable_metafile"
7159 if test "$enableval" = yes; then
7160 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7162 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7167 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x
; then
7169 eval "DEFAULT_$LINE"
7174 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7178 eval "$ac_cv_use_metafile"
7179 if test "$no_cache" != 1; then
7180 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7183 if test "$wxUSE_METAFILE" = yes; then
7184 echo "$as_me:$LINENO: result: yes" >&5
7185 echo "${ECHO_T}yes" >&6
7187 echo "$as_me:$LINENO: result: no" >&5
7188 echo "${ECHO_T}no" >&6
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7199 # Check whether --enable-controls or --disable-controls was given.
7200 if test "${enable_controls+set}" = set; then
7201 enableval
="$enable_controls"
7203 if test "$enableval" = yes; then
7204 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7206 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7211 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x
; then
7213 eval "DEFAULT_$LINE"
7218 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7222 eval "$ac_cv_use_controls"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7227 if test "$wxUSE_CONTROLS" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7236 if test "$wxUSE_CONTROLS" = "yes"; then
7237 DEFAULT_wxUSE_ACCEL
=yes
7238 DEFAULT_wxUSE_BMPBUTTON
=yes
7239 DEFAULT_wxUSE_BUTTON
=yes
7240 DEFAULT_wxUSE_CALCTRL
=yes
7241 DEFAULT_wxUSE_CARET
=yes
7242 DEFAULT_wxUSE_COMBOBOX
=yes
7243 DEFAULT_wxUSE_CHECKBOX
=yes
7244 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7245 DEFAULT_wxUSE_CHOICE
=yes
7246 DEFAULT_wxUSE_CHOICEBOOK
=yes
7247 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7248 DEFAULT_wxUSE_GAUGE
=yes
7249 DEFAULT_wxUSE_GRID
=yes
7250 DEFAULT_wxUSE_IMAGLIST
=yes
7251 DEFAULT_wxUSE_LISTBOOK
=yes
7252 DEFAULT_wxUSE_LISTBOX
=yes
7253 DEFAULT_wxUSE_LISTCTRL
=yes
7254 DEFAULT_wxUSE_NOTEBOOK
=yes
7255 DEFAULT_wxUSE_RADIOBOX
=yes
7256 DEFAULT_wxUSE_RADIOBTN
=yes
7257 DEFAULT_wxUSE_SASH
=yes
7258 DEFAULT_wxUSE_SCROLLBAR
=yes
7259 DEFAULT_wxUSE_SLIDER
=yes
7260 DEFAULT_wxUSE_SPINBTN
=yes
7261 DEFAULT_wxUSE_SPINCTRL
=yes
7262 DEFAULT_wxUSE_SPLITTER
=yes
7263 DEFAULT_wxUSE_STATBMP
=yes
7264 DEFAULT_wxUSE_STATBOX
=yes
7265 DEFAULT_wxUSE_STATLINE
=yes
7266 DEFAULT_wxUSE_STATUSBAR
=yes
7267 DEFAULT_wxUSE_TAB_DIALOG
=yes
7268 DEFAULT_wxUSE_TOGGLEBTN
=yes
7269 DEFAULT_wxUSE_TOOLBAR
=yes
7270 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7271 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7272 DEFAULT_wxUSE_TOOLTIPS
=yes
7273 DEFAULT_wxUSE_TREECTRL
=yes
7274 DEFAULT_wxUSE_POPUPWIN
=yes
7275 DEFAULT_wxUSE_TIPWINDOW
=yes
7276 elif test "$wxUSE_CONTROLS" = "no"; then
7277 DEFAULT_wxUSE_ACCEL
=no
7278 DEFAULT_wxUSE_BMPBUTTON
=no
7279 DEFAULT_wxUSE_BUTTON
=no
7280 DEFAULT_wxUSE_CALCTRL
=no
7281 DEFAULT_wxUSE_CARET
=no
7282 DEFAULT_wxUSE_COMBOBOX
=no
7283 DEFAULT_wxUSE_CHECKBOX
=no
7284 DEFAULT_wxUSE_CHECKLISTBOX
=no
7285 DEFAULT_wxUSE_CHOICE
=no
7286 DEFAULT_wxUSE_CHOICEBOOK
=no
7287 DEFAULT_wxUSE_DATEPICKCTRL
=no
7288 DEFAULT_wxUSE_GAUGE
=no
7289 DEFAULT_wxUSE_GRID
=no
7290 DEFAULT_wxUSE_IMAGLIST
=no
7291 DEFAULT_wxUSE_LISTBOOK
=no
7292 DEFAULT_wxUSE_LISTBOX
=no
7293 DEFAULT_wxUSE_LISTCTRL
=no
7294 DEFAULT_wxUSE_NOTEBOOK
=no
7295 DEFAULT_wxUSE_RADIOBOX
=no
7296 DEFAULT_wxUSE_RADIOBTN
=no
7297 DEFAULT_wxUSE_SASH
=no
7298 DEFAULT_wxUSE_SCROLLBAR
=no
7299 DEFAULT_wxUSE_SLIDER
=no
7300 DEFAULT_wxUSE_SPINBTN
=no
7301 DEFAULT_wxUSE_SPINCTRL
=no
7302 DEFAULT_wxUSE_SPLITTER
=no
7303 DEFAULT_wxUSE_STATBMP
=no
7304 DEFAULT_wxUSE_STATBOX
=no
7305 DEFAULT_wxUSE_STATLINE
=no
7306 DEFAULT_wxUSE_STATUSBAR
=no
7307 DEFAULT_wxUSE_TAB_DIALOG
=no
7308 DEFAULT_wxUSE_TOGGLEBTN
=no
7309 DEFAULT_wxUSE_TOOLBAR
=no
7310 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7311 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7312 DEFAULT_wxUSE_TOOLTIPS
=no
7313 DEFAULT_wxUSE_TREECTRL
=no
7314 DEFAULT_wxUSE_POPUPWIN
=no
7315 DEFAULT_wxUSE_TIPWINDOW
=no
7320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7321 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7323 # Check whether --enable-accel or --disable-accel was given.
7324 if test "${enable_accel+set}" = set; then
7325 enableval
="$enable_accel"
7327 if test "$enableval" = yes; then
7328 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7330 ac_cv_use_accel
='wxUSE_ACCEL=no'
7335 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x
; then
7337 eval "DEFAULT_$LINE"
7342 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7346 eval "$ac_cv_use_accel"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7351 if test "$wxUSE_ACCEL" = yes; then
7352 echo "$as_me:$LINENO: result: yes" >&5
7353 echo "${ECHO_T}yes" >&6
7355 echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6
7361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7362 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7364 # Check whether --enable-button or --disable-button was given.
7365 if test "${enable_button+set}" = set; then
7366 enableval
="$enable_button"
7368 if test "$enableval" = yes; then
7369 ac_cv_use_button
='wxUSE_BUTTON=yes'
7371 ac_cv_use_button
='wxUSE_BUTTON=no'
7376 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x
; then
7378 eval "DEFAULT_$LINE"
7383 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7387 eval "$ac_cv_use_button"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7392 if test "$wxUSE_BUTTON" = yes; then
7393 echo "$as_me:$LINENO: result: yes" >&5
7394 echo "${ECHO_T}yes" >&6
7396 echo "$as_me:$LINENO: result: no" >&5
7397 echo "${ECHO_T}no" >&6
7402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7405 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7406 if test "${enable_bmpbutton+set}" = set; then
7407 enableval
="$enable_bmpbutton"
7409 if test "$enableval" = yes; then
7410 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7412 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7417 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x
; then
7419 eval "DEFAULT_$LINE"
7424 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7428 eval "$ac_cv_use_bmpbutton"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7433 if test "$wxUSE_BMPBUTTON" = yes; then
7434 echo "$as_me:$LINENO: result: yes" >&5
7435 echo "${ECHO_T}yes" >&6
7437 echo "$as_me:$LINENO: result: no" >&5
7438 echo "${ECHO_T}no" >&6
7443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7446 # Check whether --enable-calendar or --disable-calendar was given.
7447 if test "${enable_calendar+set}" = set; then
7448 enableval
="$enable_calendar"
7450 if test "$enableval" = yes; then
7451 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7453 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7458 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x
; then
7460 eval "DEFAULT_$LINE"
7465 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7469 eval "$ac_cv_use_calendar"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7474 if test "$wxUSE_CALCTRL" = yes; then
7475 echo "$as_me:$LINENO: result: yes" >&5
7476 echo "${ECHO_T}yes" >&6
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7487 # Check whether --enable-caret or --disable-caret was given.
7488 if test "${enable_caret+set}" = set; then
7489 enableval
="$enable_caret"
7491 if test "$enableval" = yes; then
7492 ac_cv_use_caret
='wxUSE_CARET=yes'
7494 ac_cv_use_caret
='wxUSE_CARET=no'
7499 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x
; then
7501 eval "DEFAULT_$LINE"
7506 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7510 eval "$ac_cv_use_caret"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7515 if test "$wxUSE_CARET" = yes; then
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7519 echo "$as_me:$LINENO: result: no" >&5
7520 echo "${ECHO_T}no" >&6
7525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7528 # Check whether --enable-checkbox or --disable-checkbox was given.
7529 if test "${enable_checkbox+set}" = set; then
7530 enableval
="$enable_checkbox"
7532 if test "$enableval" = yes; then
7533 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7535 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7540 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x
; then
7542 eval "DEFAULT_$LINE"
7547 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7551 eval "$ac_cv_use_checkbox"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7556 if test "$wxUSE_CHECKBOX" = yes; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7560 echo "$as_me:$LINENO: result: no" >&5
7561 echo "${ECHO_T}no" >&6
7566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7569 # Check whether --enable-checklst or --disable-checklst was given.
7570 if test "${enable_checklst+set}" = set; then
7571 enableval
="$enable_checklst"
7573 if test "$enableval" = yes; then
7574 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7576 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7581 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7582 if test "x$LINE" != x
; then
7583 eval "DEFAULT_$LINE"
7588 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7592 eval "$ac_cv_use_checklst"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7597 if test "$wxUSE_CHECKLST" = yes; then
7598 echo "$as_me:$LINENO: result: yes" >&5
7599 echo "${ECHO_T}yes" >&6
7601 echo "$as_me:$LINENO: result: no" >&5
7602 echo "${ECHO_T}no" >&6
7607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7610 # Check whether --enable-choice or --disable-choice was given.
7611 if test "${enable_choice+set}" = set; then
7612 enableval
="$enable_choice"
7614 if test "$enableval" = yes; then
7615 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7617 ac_cv_use_choice
='wxUSE_CHOICE=no'
7622 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x
; then
7624 eval "DEFAULT_$LINE"
7629 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7633 eval "$ac_cv_use_choice"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7638 if test "$wxUSE_CHOICE" = yes; then
7639 echo "$as_me:$LINENO: result: yes" >&5
7640 echo "${ECHO_T}yes" >&6
7642 echo "$as_me:$LINENO: result: no" >&5
7643 echo "${ECHO_T}no" >&6
7648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7651 # Check whether --enable-choicebook or --disable-choicebook was given.
7652 if test "${enable_choicebook+set}" = set; then
7653 enableval
="$enable_choicebook"
7655 if test "$enableval" = yes; then
7656 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7658 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7663 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x
; then
7665 eval "DEFAULT_$LINE"
7670 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7674 eval "$ac_cv_use_choicebook"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7679 if test "$wxUSE_CHOICEBOOK" = yes; then
7680 echo "$as_me:$LINENO: result: yes" >&5
7681 echo "${ECHO_T}yes" >&6
7683 echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6
7689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7692 # Check whether --enable-combobox or --disable-combobox was given.
7693 if test "${enable_combobox+set}" = set; then
7694 enableval
="$enable_combobox"
7696 if test "$enableval" = yes; then
7697 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7699 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7704 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x
; then
7706 eval "DEFAULT_$LINE"
7711 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7715 eval "$ac_cv_use_combobox"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7720 if test "$wxUSE_COMBOBOX" = yes; then
7721 echo "$as_me:$LINENO: result: yes" >&5
7722 echo "${ECHO_T}yes" >&6
7724 echo "$as_me:$LINENO: result: no" >&5
7725 echo "${ECHO_T}no" >&6
7730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7733 # Check whether --enable-datepick or --disable-datepick was given.
7734 if test "${enable_datepick+set}" = set; then
7735 enableval
="$enable_datepick"
7737 if test "$enableval" = yes; then
7738 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7740 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7745 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7746 if test "x$LINE" != x
; then
7747 eval "DEFAULT_$LINE"
7752 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7756 eval "$ac_cv_use_datepick"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7761 if test "$wxUSE_DATEPICKCTRL" = yes; then
7762 echo "$as_me:$LINENO: result: yes" >&5
7763 echo "${ECHO_T}yes" >&6
7765 echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6
7771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7774 # Check whether --enable-display or --disable-display was given.
7775 if test "${enable_display+set}" = set; then
7776 enableval
="$enable_display"
7778 if test "$enableval" = yes; then
7779 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7781 ac_cv_use_display
='wxUSE_DISPLAY=no'
7786 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x
; then
7788 eval "DEFAULT_$LINE"
7793 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7797 eval "$ac_cv_use_display"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7802 if test "$wxUSE_DISPLAY" = yes; then
7803 echo "$as_me:$LINENO: result: yes" >&5
7804 echo "${ECHO_T}yes" >&6
7806 echo "$as_me:$LINENO: result: no" >&5
7807 echo "${ECHO_T}no" >&6
7812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7815 # Check whether --enable-gauge or --disable-gauge was given.
7816 if test "${enable_gauge+set}" = set; then
7817 enableval
="$enable_gauge"
7819 if test "$enableval" = yes; then
7820 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7822 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7827 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x
; then
7829 eval "DEFAULT_$LINE"
7834 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7838 eval "$ac_cv_use_gauge"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7843 if test "$wxUSE_GAUGE" = yes; then
7844 echo "$as_me:$LINENO: result: yes" >&5
7845 echo "${ECHO_T}yes" >&6
7847 echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6
7853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7856 # Check whether --enable-grid or --disable-grid was given.
7857 if test "${enable_grid+set}" = set; then
7858 enableval
="$enable_grid"
7860 if test "$enableval" = yes; then
7861 ac_cv_use_grid
='wxUSE_GRID=yes'
7863 ac_cv_use_grid
='wxUSE_GRID=no'
7868 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x
; then
7870 eval "DEFAULT_$LINE"
7875 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7879 eval "$ac_cv_use_grid"
7880 if test "$no_cache" != 1; then
7881 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7884 if test "$wxUSE_GRID" = yes; then
7885 echo "$as_me:$LINENO: result: yes" >&5
7886 echo "${ECHO_T}yes" >&6
7888 echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6
7894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7895 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7897 # Check whether --enable-imaglist or --disable-imaglist was given.
7898 if test "${enable_imaglist+set}" = set; then
7899 enableval
="$enable_imaglist"
7901 if test "$enableval" = yes; then
7902 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7904 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7909 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7910 if test "x$LINE" != x
; then
7911 eval "DEFAULT_$LINE"
7916 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7920 eval "$ac_cv_use_imaglist"
7921 if test "$no_cache" != 1; then
7922 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7925 if test "$wxUSE_IMAGLIST" = yes; then
7926 echo "$as_me:$LINENO: result: yes" >&5
7927 echo "${ECHO_T}yes" >&6
7929 echo "$as_me:$LINENO: result: no" >&5
7930 echo "${ECHO_T}no" >&6
7935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7936 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7938 # Check whether --enable-listbook or --disable-listbook was given.
7939 if test "${enable_listbook+set}" = set; then
7940 enableval
="$enable_listbook"
7942 if test "$enableval" = yes; then
7943 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7945 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7950 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7951 if test "x$LINE" != x
; then
7952 eval "DEFAULT_$LINE"
7957 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7961 eval "$ac_cv_use_listbook"
7962 if test "$no_cache" != 1; then
7963 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7966 if test "$wxUSE_LISTBOOK" = yes; then
7967 echo "$as_me:$LINENO: result: yes" >&5
7968 echo "${ECHO_T}yes" >&6
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7979 # Check whether --enable-listbox or --disable-listbox was given.
7980 if test "${enable_listbox+set}" = set; then
7981 enableval
="$enable_listbox"
7983 if test "$enableval" = yes; then
7984 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7986 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7991 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x
; then
7993 eval "DEFAULT_$LINE"
7998 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8002 eval "$ac_cv_use_listbox"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8007 if test "$wxUSE_LISTBOX" = yes; then
8008 echo "$as_me:$LINENO: result: yes" >&5
8009 echo "${ECHO_T}yes" >&6
8011 echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6
8017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8020 # Check whether --enable-listctrl or --disable-listctrl was given.
8021 if test "${enable_listctrl+set}" = set; then
8022 enableval
="$enable_listctrl"
8024 if test "$enableval" = yes; then
8025 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8027 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8032 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x
; then
8034 eval "DEFAULT_$LINE"
8039 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8043 eval "$ac_cv_use_listctrl"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8048 if test "$wxUSE_LISTCTRL" = yes; then
8049 echo "$as_me:$LINENO: result: yes" >&5
8050 echo "${ECHO_T}yes" >&6
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8061 # Check whether --enable-notebook or --disable-notebook was given.
8062 if test "${enable_notebook+set}" = set; then
8063 enableval
="$enable_notebook"
8065 if test "$enableval" = yes; then
8066 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8068 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8073 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x
; then
8075 eval "DEFAULT_$LINE"
8080 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8084 eval "$ac_cv_use_notebook"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8089 if test "$wxUSE_NOTEBOOK" = yes; then
8090 echo "$as_me:$LINENO: result: yes" >&5
8091 echo "${ECHO_T}yes" >&6
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8102 # Check whether --enable-radiobox or --disable-radiobox was given.
8103 if test "${enable_radiobox+set}" = set; then
8104 enableval
="$enable_radiobox"
8106 if test "$enableval" = yes; then
8107 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8109 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8114 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x
; then
8116 eval "DEFAULT_$LINE"
8121 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8125 eval "$ac_cv_use_radiobox"
8126 if test "$no_cache" != 1; then
8127 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8130 if test "$wxUSE_RADIOBOX" = yes; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8134 echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8143 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8144 if test "${enable_radiobtn+set}" = set; then
8145 enableval
="$enable_radiobtn"
8147 if test "$enableval" = yes; then
8148 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8150 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8155 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x
; then
8157 eval "DEFAULT_$LINE"
8162 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8166 eval "$ac_cv_use_radiobtn"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8171 if test "$wxUSE_RADIOBTN" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8184 # Check whether --enable-sash or --disable-sash was given.
8185 if test "${enable_sash+set}" = set; then
8186 enableval
="$enable_sash"
8188 if test "$enableval" = yes; then
8189 ac_cv_use_sash
='wxUSE_SASH=yes'
8191 ac_cv_use_sash
='wxUSE_SASH=no'
8196 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x
; then
8198 eval "DEFAULT_$LINE"
8203 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8207 eval "$ac_cv_use_sash"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8212 if test "$wxUSE_SASH" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8225 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8226 if test "${enable_scrollbar+set}" = set; then
8227 enableval
="$enable_scrollbar"
8229 if test "$enableval" = yes; then
8230 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8232 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8237 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x
; then
8239 eval "DEFAULT_$LINE"
8244 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8248 eval "$ac_cv_use_scrollbar"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8253 if test "$wxUSE_SCROLLBAR" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8266 # Check whether --enable-slider or --disable-slider was given.
8267 if test "${enable_slider+set}" = set; then
8268 enableval
="$enable_slider"
8270 if test "$enableval" = yes; then
8271 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8273 ac_cv_use_slider
='wxUSE_SLIDER=no'
8278 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x
; then
8280 eval "DEFAULT_$LINE"
8285 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8289 eval "$ac_cv_use_slider"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8294 if test "$wxUSE_SLIDER" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8307 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8308 if test "${enable_spinbtn+set}" = set; then
8309 enableval
="$enable_spinbtn"
8311 if test "$enableval" = yes; then
8312 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8314 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8319 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x
; then
8321 eval "DEFAULT_$LINE"
8326 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8330 eval "$ac_cv_use_spinbtn"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8335 if test "$wxUSE_SPINBTN" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8348 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8349 if test "${enable_spinctrl+set}" = set; then
8350 enableval
="$enable_spinctrl"
8352 if test "$enableval" = yes; then
8353 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8355 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8360 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x
; then
8362 eval "DEFAULT_$LINE"
8367 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8371 eval "$ac_cv_use_spinctrl"
8372 if test "$no_cache" != 1; then
8373 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8376 if test "$wxUSE_SPINCTRL" = yes; then
8377 echo "$as_me:$LINENO: result: yes" >&5
8378 echo "${ECHO_T}yes" >&6
8380 echo "$as_me:$LINENO: result: no" >&5
8381 echo "${ECHO_T}no" >&6
8386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8387 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8389 # Check whether --enable-splitter or --disable-splitter was given.
8390 if test "${enable_splitter+set}" = set; then
8391 enableval
="$enable_splitter"
8393 if test "$enableval" = yes; then
8394 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8396 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8401 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8402 if test "x$LINE" != x
; then
8403 eval "DEFAULT_$LINE"
8408 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8412 eval "$ac_cv_use_splitter"
8413 if test "$no_cache" != 1; then
8414 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8417 if test "$wxUSE_SPLITTER" = yes; then
8418 echo "$as_me:$LINENO: result: yes" >&5
8419 echo "${ECHO_T}yes" >&6
8421 echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6
8427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8430 # Check whether --enable-statbmp or --disable-statbmp was given.
8431 if test "${enable_statbmp+set}" = set; then
8432 enableval
="$enable_statbmp"
8434 if test "$enableval" = yes; then
8435 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8437 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8442 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8443 if test "x$LINE" != x
; then
8444 eval "DEFAULT_$LINE"
8449 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8453 eval "$ac_cv_use_statbmp"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8458 if test "$wxUSE_STATBMP" = yes; then
8459 echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6
8462 echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6
8468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8471 # Check whether --enable-statbox or --disable-statbox was given.
8472 if test "${enable_statbox+set}" = set; then
8473 enableval
="$enable_statbox"
8475 if test "$enableval" = yes; then
8476 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8478 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8483 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x
; then
8485 eval "DEFAULT_$LINE"
8490 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8494 eval "$ac_cv_use_statbox"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8499 if test "$wxUSE_STATBOX" = yes; then
8500 echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6
8503 echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6
8509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8512 # Check whether --enable-statline or --disable-statline was given.
8513 if test "${enable_statline+set}" = set; then
8514 enableval
="$enable_statline"
8516 if test "$enableval" = yes; then
8517 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8519 ac_cv_use_statline
='wxUSE_STATLINE=no'
8524 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8525 if test "x$LINE" != x
; then
8526 eval "DEFAULT_$LINE"
8531 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8535 eval "$ac_cv_use_statline"
8536 if test "$no_cache" != 1; then
8537 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8540 if test "$wxUSE_STATLINE" = yes; then
8541 echo "$as_me:$LINENO: result: yes" >&5
8542 echo "${ECHO_T}yes" >&6
8544 echo "$as_me:$LINENO: result: no" >&5
8545 echo "${ECHO_T}no" >&6
8550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8553 # Check whether --enable-stattext or --disable-stattext was given.
8554 if test "${enable_stattext+set}" = set; then
8555 enableval
="$enable_stattext"
8557 if test "$enableval" = yes; then
8558 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8560 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8565 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8566 if test "x$LINE" != x
; then
8567 eval "DEFAULT_$LINE"
8572 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8576 eval "$ac_cv_use_stattext"
8577 if test "$no_cache" != 1; then
8578 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8581 if test "$wxUSE_STATTEXT" = yes; then
8582 echo "$as_me:$LINENO: result: yes" >&5
8583 echo "${ECHO_T}yes" >&6
8585 echo "$as_me:$LINENO: result: no" >&5
8586 echo "${ECHO_T}no" >&6
8591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8594 # Check whether --enable-statusbar or --disable-statusbar was given.
8595 if test "${enable_statusbar+set}" = set; then
8596 enableval
="$enable_statusbar"
8598 if test "$enableval" = yes; then
8599 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8601 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8606 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x
; then
8608 eval "DEFAULT_$LINE"
8613 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8617 eval "$ac_cv_use_statusbar"
8618 if test "$no_cache" != 1; then
8619 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8622 if test "$wxUSE_STATUSBAR" = yes; then
8623 echo "$as_me:$LINENO: result: yes" >&5
8624 echo "${ECHO_T}yes" >&6
8626 echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6
8632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8635 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8636 if test "${enable_tabdialog+set}" = set; then
8637 enableval
="$enable_tabdialog"
8639 if test "$enableval" = yes; then
8640 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8642 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8647 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x
; then
8649 eval "DEFAULT_$LINE"
8654 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8658 eval "$ac_cv_use_tabdialog"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8663 if test "$wxUSE_TABDIALOG" = yes; then
8664 echo "$as_me:$LINENO: result: yes" >&5
8665 echo "${ECHO_T}yes" >&6
8667 echo "$as_me:$LINENO: result: no" >&5
8668 echo "${ECHO_T}no" >&6
8673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8676 # Check whether --enable-textctrl or --disable-textctrl was given.
8677 if test "${enable_textctrl+set}" = set; then
8678 enableval
="$enable_textctrl"
8680 if test "$enableval" = yes; then
8681 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8683 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8688 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8689 if test "x$LINE" != x
; then
8690 eval "DEFAULT_$LINE"
8695 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8699 eval "$ac_cv_use_textctrl"
8700 if test "$no_cache" != 1; then
8701 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8704 if test "$wxUSE_TEXTCTRL" = yes; then
8705 echo "$as_me:$LINENO: result: yes" >&5
8706 echo "${ECHO_T}yes" >&6
8708 echo "$as_me:$LINENO: result: no" >&5
8709 echo "${ECHO_T}no" >&6
8714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8717 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8718 if test "${enable_togglebtn+set}" = set; then
8719 enableval
="$enable_togglebtn"
8721 if test "$enableval" = yes; then
8722 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8724 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8729 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x
; then
8731 eval "DEFAULT_$LINE"
8736 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8740 eval "$ac_cv_use_togglebtn"
8741 if test "$no_cache" != 1; then
8742 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8745 if test "$wxUSE_TOGGLEBTN" = yes; then
8746 echo "$as_me:$LINENO: result: yes" >&5
8747 echo "${ECHO_T}yes" >&6
8749 echo "$as_me:$LINENO: result: no" >&5
8750 echo "${ECHO_T}no" >&6
8755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8758 # Check whether --enable-toolbar or --disable-toolbar was given.
8759 if test "${enable_toolbar+set}" = set; then
8760 enableval
="$enable_toolbar"
8762 if test "$enableval" = yes; then
8763 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8765 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8770 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8771 if test "x$LINE" != x
; then
8772 eval "DEFAULT_$LINE"
8777 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8781 eval "$ac_cv_use_toolbar"
8782 if test "$no_cache" != 1; then
8783 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8786 if test "$wxUSE_TOOLBAR" = yes; then
8787 echo "$as_me:$LINENO: result: yes" >&5
8788 echo "${ECHO_T}yes" >&6
8790 echo "$as_me:$LINENO: result: no" >&5
8791 echo "${ECHO_T}no" >&6
8796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8797 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8799 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8800 if test "${enable_tbarnative+set}" = set; then
8801 enableval
="$enable_tbarnative"
8803 if test "$enableval" = yes; then
8804 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8806 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8811 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8812 if test "x$LINE" != x
; then
8813 eval "DEFAULT_$LINE"
8818 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8822 eval "$ac_cv_use_tbarnative"
8823 if test "$no_cache" != 1; then
8824 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8827 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8828 echo "$as_me:$LINENO: result: yes" >&5
8829 echo "${ECHO_T}yes" >&6
8831 echo "$as_me:$LINENO: result: no" >&5
8832 echo "${ECHO_T}no" >&6
8837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8840 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8841 if test "${enable_tbarsmpl+set}" = set; then
8842 enableval
="$enable_tbarsmpl"
8844 if test "$enableval" = yes; then
8845 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8847 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8852 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8853 if test "x$LINE" != x
; then
8854 eval "DEFAULT_$LINE"
8859 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8863 eval "$ac_cv_use_tbarsmpl"
8864 if test "$no_cache" != 1; then
8865 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8868 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8869 echo "$as_me:$LINENO: result: yes" >&5
8870 echo "${ECHO_T}yes" >&6
8872 echo "$as_me:$LINENO: result: no" >&5
8873 echo "${ECHO_T}no" >&6
8878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8881 # Check whether --enable-treectrl or --disable-treectrl was given.
8882 if test "${enable_treectrl+set}" = set; then
8883 enableval
="$enable_treectrl"
8885 if test "$enableval" = yes; then
8886 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8888 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8893 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x
; then
8895 eval "DEFAULT_$LINE"
8900 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8904 eval "$ac_cv_use_treectrl"
8905 if test "$no_cache" != 1; then
8906 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8909 if test "$wxUSE_TREECTRL" = yes; then
8910 echo "$as_me:$LINENO: result: yes" >&5
8911 echo "${ECHO_T}yes" >&6
8913 echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6
8919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8920 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8922 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8923 if test "${enable_tipwindow+set}" = set; then
8924 enableval
="$enable_tipwindow"
8926 if test "$enableval" = yes; then
8927 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8929 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8934 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8935 if test "x$LINE" != x
; then
8936 eval "DEFAULT_$LINE"
8941 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8945 eval "$ac_cv_use_tipwindow"
8946 if test "$no_cache" != 1; then
8947 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8950 if test "$wxUSE_TIPWINDOW" = yes; then
8951 echo "$as_me:$LINENO: result: yes" >&5
8952 echo "${ECHO_T}yes" >&6
8954 echo "$as_me:$LINENO: result: no" >&5
8955 echo "${ECHO_T}no" >&6
8960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8963 # Check whether --enable-popupwin or --disable-popupwin was given.
8964 if test "${enable_popupwin+set}" = set; then
8965 enableval
="$enable_popupwin"
8967 if test "$enableval" = yes; then
8968 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8970 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8975 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8976 if test "x$LINE" != x
; then
8977 eval "DEFAULT_$LINE"
8982 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8986 eval "$ac_cv_use_popupwin"
8987 if test "$no_cache" != 1; then
8988 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8991 if test "$wxUSE_POPUPWIN" = yes; then
8992 echo "$as_me:$LINENO: result: yes" >&5
8993 echo "${ECHO_T}yes" >&6
8995 echo "$as_me:$LINENO: result: no" >&5
8996 echo "${ECHO_T}no" >&6
9003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9006 # Check whether --enable-commondlg or --disable-commondlg was given.
9007 if test "${enable_commondlg+set}" = set; then
9008 enableval
="$enable_commondlg"
9010 if test "$enableval" = yes; then
9011 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9013 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9018 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9019 if test "x$LINE" != x
; then
9020 eval "DEFAULT_$LINE"
9025 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9029 eval "$ac_cv_use_commondlg"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9034 if test "$wxUSE_COMMONDLGS" = yes; then
9035 echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9047 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9048 if test "${enable_choicedlg+set}" = set; then
9049 enableval
="$enable_choicedlg"
9051 if test "$enableval" = yes; then
9052 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9054 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9059 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9060 if test "x$LINE" != x
; then
9061 eval "DEFAULT_$LINE"
9066 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9070 eval "$ac_cv_use_choicedlg"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9075 if test "$wxUSE_CHOICEDLG" = yes; then
9076 echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6
9079 echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6
9085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9088 # Check whether --enable-coldlg or --disable-coldlg was given.
9089 if test "${enable_coldlg+set}" = set; then
9090 enableval
="$enable_coldlg"
9092 if test "$enableval" = yes; then
9093 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9095 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9100 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9101 if test "x$LINE" != x
; then
9102 eval "DEFAULT_$LINE"
9107 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9111 eval "$ac_cv_use_coldlg"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9116 if test "$wxUSE_COLOURDLG" = yes; then
9117 echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6
9120 echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6
9126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9129 # Check whether --enable-filedlg or --disable-filedlg was given.
9130 if test "${enable_filedlg+set}" = set; then
9131 enableval
="$enable_filedlg"
9133 if test "$enableval" = yes; then
9134 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9136 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9141 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9142 if test "x$LINE" != x
; then
9143 eval "DEFAULT_$LINE"
9148 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9152 eval "$ac_cv_use_filedlg"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9157 if test "$wxUSE_FILEDLG" = yes; then
9158 echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6
9161 echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6
9167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9170 # Check whether --enable-finddlg or --disable-finddlg was given.
9171 if test "${enable_finddlg+set}" = set; then
9172 enableval
="$enable_finddlg"
9174 if test "$enableval" = yes; then
9175 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9177 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9182 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9183 if test "x$LINE" != x
; then
9184 eval "DEFAULT_$LINE"
9189 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9193 eval "$ac_cv_use_finddlg"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9198 if test "$wxUSE_FINDREPLDLG" = yes; then
9199 echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6
9202 echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6
9208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9211 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9212 if test "${enable_fontdlg+set}" = set; then
9213 enableval
="$enable_fontdlg"
9215 if test "$enableval" = yes; then
9216 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9218 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9223 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9224 if test "x$LINE" != x
; then
9225 eval "DEFAULT_$LINE"
9230 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9234 eval "$ac_cv_use_fontdlg"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9239 if test "$wxUSE_FONTDLG" = yes; then
9240 echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6
9243 echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6
9249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9252 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9253 if test "${enable_dirdlg+set}" = set; then
9254 enableval
="$enable_dirdlg"
9256 if test "$enableval" = yes; then
9257 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9259 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9264 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9265 if test "x$LINE" != x
; then
9266 eval "DEFAULT_$LINE"
9271 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9275 eval "$ac_cv_use_dirdlg"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9280 if test "$wxUSE_DIRDLG" = yes; then
9281 echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6
9284 echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6
9290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9293 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9294 if test "${enable_msgdlg+set}" = set; then
9295 enableval
="$enable_msgdlg"
9297 if test "$enableval" = yes; then
9298 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9300 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9305 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9306 if test "x$LINE" != x
; then
9307 eval "DEFAULT_$LINE"
9312 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9316 eval "$ac_cv_use_msgdlg"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9321 if test "$wxUSE_MSGDLG" = yes; then
9322 echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6
9325 echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6
9331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9334 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9335 if test "${enable_numberdlg+set}" = set; then
9336 enableval
="$enable_numberdlg"
9338 if test "$enableval" = yes; then
9339 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9341 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9346 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9347 if test "x$LINE" != x
; then
9348 eval "DEFAULT_$LINE"
9353 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9357 eval "$ac_cv_use_numberdlg"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9362 if test "$wxUSE_NUMBERDLG" = yes; then
9363 echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6
9366 echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6
9372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9375 # Check whether --enable-splash or --disable-splash was given.
9376 if test "${enable_splash+set}" = set; then
9377 enableval
="$enable_splash"
9379 if test "$enableval" = yes; then
9380 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9382 ac_cv_use_splash
='wxUSE_SPLASH=no'
9387 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9388 if test "x$LINE" != x
; then
9389 eval "DEFAULT_$LINE"
9394 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9398 eval "$ac_cv_use_splash"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9403 if test "$wxUSE_SPLASH" = yes; then
9404 echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6
9407 echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6
9413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9416 # Check whether --enable-textdlg or --disable-textdlg was given.
9417 if test "${enable_textdlg+set}" = set; then
9418 enableval
="$enable_textdlg"
9420 if test "$enableval" = yes; then
9421 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9423 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9428 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9429 if test "x$LINE" != x
; then
9430 eval "DEFAULT_$LINE"
9435 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9439 eval "$ac_cv_use_textdlg"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9444 if test "$wxUSE_TEXTDLG" = yes; then
9445 echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6
9448 echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6
9454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9457 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9458 if test "${enable_tipdlg+set}" = set; then
9459 enableval
="$enable_tipdlg"
9461 if test "$enableval" = yes; then
9462 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9464 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9469 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9470 if test "x$LINE" != x
; then
9471 eval "DEFAULT_$LINE"
9476 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9480 eval "$ac_cv_use_tipdlg"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9485 if test "$wxUSE_STARTUP_TIPS" = yes; then
9486 echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6
9489 echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6
9495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9498 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9499 if test "${enable_progressdlg+set}" = set; then
9500 enableval
="$enable_progressdlg"
9502 if test "$enableval" = yes; then
9503 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9505 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9510 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9511 if test "x$LINE" != x
; then
9512 eval "DEFAULT_$LINE"
9517 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9521 eval "$ac_cv_use_progressdlg"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9526 if test "$wxUSE_PROGRESSDLG" = yes; then
9527 echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6
9530 echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6
9536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9539 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9540 if test "${enable_wizarddlg+set}" = set; then
9541 enableval
="$enable_wizarddlg"
9543 if test "$enableval" = yes; then
9544 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9546 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9551 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9552 if test "x$LINE" != x
; then
9553 eval "DEFAULT_$LINE"
9558 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9562 eval "$ac_cv_use_wizarddlg"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9567 if test "$wxUSE_WIZARDDLG" = yes; then
9568 echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6
9571 echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6
9579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9580 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9582 # Check whether --enable-menus or --disable-menus was given.
9583 if test "${enable_menus+set}" = set; then
9584 enableval
="$enable_menus"
9586 if test "$enableval" = yes; then
9587 ac_cv_use_menus
='wxUSE_MENUS=yes'
9589 ac_cv_use_menus
='wxUSE_MENUS=no'
9594 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x
; then
9596 eval "DEFAULT_$LINE"
9601 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9605 eval "$ac_cv_use_menus"
9606 if test "$no_cache" != 1; then
9607 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9610 if test "$wxUSE_MENUS" = yes; then
9611 echo "$as_me:$LINENO: result: yes" >&5
9612 echo "${ECHO_T}yes" >&6
9614 echo "$as_me:$LINENO: result: no" >&5
9615 echo "${ECHO_T}no" >&6
9620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9621 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9623 # Check whether --enable-miniframe or --disable-miniframe was given.
9624 if test "${enable_miniframe+set}" = set; then
9625 enableval
="$enable_miniframe"
9627 if test "$enableval" = yes; then
9628 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9630 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9635 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x
; then
9637 eval "DEFAULT_$LINE"
9642 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9646 eval "$ac_cv_use_miniframe"
9647 if test "$no_cache" != 1; then
9648 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9651 if test "$wxUSE_MINIFRAME" = yes; then
9652 echo "$as_me:$LINENO: result: yes" >&5
9653 echo "${ECHO_T}yes" >&6
9655 echo "$as_me:$LINENO: result: no" >&5
9656 echo "${ECHO_T}no" >&6
9661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9664 # Check whether --enable-tooltips or --disable-tooltips was given.
9665 if test "${enable_tooltips+set}" = set; then
9666 enableval
="$enable_tooltips"
9668 if test "$enableval" = yes; then
9669 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9671 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9676 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x
; then
9678 eval "DEFAULT_$LINE"
9683 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9687 eval "$ac_cv_use_tooltips"
9688 if test "$no_cache" != 1; then
9689 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9692 if test "$wxUSE_TOOLTIPS" = yes; then
9693 echo "$as_me:$LINENO: result: yes" >&5
9694 echo "${ECHO_T}yes" >&6
9696 echo "$as_me:$LINENO: result: no" >&5
9697 echo "${ECHO_T}no" >&6
9702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9703 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9705 # Check whether --enable-splines or --disable-splines was given.
9706 if test "${enable_splines+set}" = set; then
9707 enableval
="$enable_splines"
9709 if test "$enableval" = yes; then
9710 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9712 ac_cv_use_splines
='wxUSE_SPLINES=no'
9717 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x
; then
9719 eval "DEFAULT_$LINE"
9724 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9728 eval "$ac_cv_use_splines"
9729 if test "$no_cache" != 1; then
9730 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9733 if test "$wxUSE_SPLINES" = yes; then
9734 echo "$as_me:$LINENO: result: yes" >&5
9735 echo "${ECHO_T}yes" >&6
9737 echo "$as_me:$LINENO: result: no" >&5
9738 echo "${ECHO_T}no" >&6
9743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9744 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9746 # Check whether --enable-validators or --disable-validators was given.
9747 if test "${enable_validators+set}" = set; then
9748 enableval
="$enable_validators"
9750 if test "$enableval" = yes; then
9751 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9753 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9758 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x
; then
9760 eval "DEFAULT_$LINE"
9765 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9769 eval "$ac_cv_use_validators"
9770 if test "$no_cache" != 1; then
9771 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9774 if test "$wxUSE_VALIDATORS" = yes; then
9775 echo "$as_me:$LINENO: result: yes" >&5
9776 echo "${ECHO_T}yes" >&6
9778 echo "$as_me:$LINENO: result: no" >&5
9779 echo "${ECHO_T}no" >&6
9784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9785 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9787 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9788 if test "${enable_busyinfo+set}" = set; then
9789 enableval
="$enable_busyinfo"
9791 if test "$enableval" = yes; then
9792 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9794 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9799 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x
; then
9801 eval "DEFAULT_$LINE"
9806 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9810 eval "$ac_cv_use_busyinfo"
9811 if test "$no_cache" != 1; then
9812 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9815 if test "$wxUSE_BUSYINFO" = yes; then
9816 echo "$as_me:$LINENO: result: yes" >&5
9817 echo "${ECHO_T}yes" >&6
9819 echo "$as_me:$LINENO: result: no" >&5
9820 echo "${ECHO_T}no" >&6
9825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9828 # Check whether --enable-joystick or --disable-joystick was given.
9829 if test "${enable_joystick+set}" = set; then
9830 enableval
="$enable_joystick"
9832 if test "$enableval" = yes; then
9833 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9835 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9840 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x
; then
9842 eval "DEFAULT_$LINE"
9847 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9851 eval "$ac_cv_use_joystick"
9852 if test "$no_cache" != 1; then
9853 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9856 if test "$wxUSE_JOYSTICK" = yes; then
9857 echo "$as_me:$LINENO: result: yes" >&5
9858 echo "${ECHO_T}yes" >&6
9860 echo "$as_me:$LINENO: result: no" >&5
9861 echo "${ECHO_T}no" >&6
9866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9867 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9869 # Check whether --enable-metafile or --disable-metafile was given.
9870 if test "${enable_metafile+set}" = set; then
9871 enableval
="$enable_metafile"
9873 if test "$enableval" = yes; then
9874 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9876 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9881 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x
; then
9883 eval "DEFAULT_$LINE"
9888 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9892 eval "$ac_cv_use_metafile"
9893 if test "$no_cache" != 1; then
9894 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9897 if test "$wxUSE_METAFILE" = yes; then
9898 echo "$as_me:$LINENO: result: yes" >&5
9899 echo "${ECHO_T}yes" >&6
9901 echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6
9907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9910 # Check whether --enable-dragimage or --disable-dragimage was given.
9911 if test "${enable_dragimage+set}" = set; then
9912 enableval
="$enable_dragimage"
9914 if test "$enableval" = yes; then
9915 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9917 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9922 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x
; then
9924 eval "DEFAULT_$LINE"
9929 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9933 eval "$ac_cv_use_dragimage"
9934 if test "$no_cache" != 1; then
9935 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9938 if test "$wxUSE_DRAGIMAGE" = yes; then
9939 echo "$as_me:$LINENO: result: yes" >&5
9940 echo "${ECHO_T}yes" >&6
9942 echo "$as_me:$LINENO: result: no" >&5
9943 echo "${ECHO_T}no" >&6
9948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9951 # Check whether --enable-accessibility or --disable-accessibility was given.
9952 if test "${enable_accessibility+set}" = set; then
9953 enableval
="$enable_accessibility"
9955 if test "$enableval" = yes; then
9956 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9958 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9963 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x
; then
9965 eval "DEFAULT_$LINE"
9970 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9974 eval "$ac_cv_use_accessibility"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9979 if test "$wxUSE_ACCESSIBILITY" = yes; then
9980 echo "$as_me:$LINENO: result: yes" >&5
9981 echo "${ECHO_T}yes" >&6
9983 echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9994 # Check whether --enable-palette or --disable-palette was given.
9995 if test "${enable_palette+set}" = set; then
9996 enableval
="$enable_palette"
9998 if test "$enableval" = yes; then
9999 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10001 ac_cv_use_palette
='wxUSE_PALETTE=no'
10006 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x
; then
10008 eval "DEFAULT_$LINE"
10013 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10017 eval "$ac_cv_use_palette"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10022 if test "$wxUSE_PALETTE" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10033 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10035 # Check whether --enable-image or --disable-image was given.
10036 if test "${enable_image+set}" = set; then
10037 enableval
="$enable_image"
10039 if test "$enableval" = yes; then
10040 ac_cv_use_image
='wxUSE_IMAGE=yes'
10042 ac_cv_use_image
='wxUSE_IMAGE=no'
10047 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10048 if test "x$LINE" != x
; then
10049 eval "DEFAULT_$LINE"
10054 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10058 eval "$ac_cv_use_image"
10059 if test "$no_cache" != 1; then
10060 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10063 if test "$wxUSE_IMAGE" = yes; then
10064 echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6
10067 echo "$as_me:$LINENO: result: no" >&5
10068 echo "${ECHO_T}no" >&6
10073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10076 # Check whether --enable-gif or --disable-gif was given.
10077 if test "${enable_gif+set}" = set; then
10078 enableval
="$enable_gif"
10080 if test "$enableval" = yes; then
10081 ac_cv_use_gif
='wxUSE_GIF=yes'
10083 ac_cv_use_gif
='wxUSE_GIF=no'
10088 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x
; then
10090 eval "DEFAULT_$LINE"
10095 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10099 eval "$ac_cv_use_gif"
10100 if test "$no_cache" != 1; then
10101 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10104 if test "$wxUSE_GIF" = yes; then
10105 echo "$as_me:$LINENO: result: yes" >&5
10106 echo "${ECHO_T}yes" >&6
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10117 # Check whether --enable-pcx or --disable-pcx was given.
10118 if test "${enable_pcx+set}" = set; then
10119 enableval
="$enable_pcx"
10121 if test "$enableval" = yes; then
10122 ac_cv_use_pcx
='wxUSE_PCX=yes'
10124 ac_cv_use_pcx
='wxUSE_PCX=no'
10129 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10130 if test "x$LINE" != x
; then
10131 eval "DEFAULT_$LINE"
10136 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10140 eval "$ac_cv_use_pcx"
10141 if test "$no_cache" != 1; then
10142 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10145 if test "$wxUSE_PCX" = yes; then
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10149 echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10158 # Check whether --enable-iff or --disable-iff was given.
10159 if test "${enable_iff+set}" = set; then
10160 enableval
="$enable_iff"
10162 if test "$enableval" = yes; then
10163 ac_cv_use_iff
='wxUSE_IFF=yes'
10165 ac_cv_use_iff
='wxUSE_IFF=no'
10170 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x
; then
10172 eval "DEFAULT_$LINE"
10177 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10181 eval "$ac_cv_use_iff"
10182 if test "$no_cache" != 1; then
10183 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10186 if test "$wxUSE_IFF" = yes; then
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10190 echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6
10196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10199 # Check whether --enable-pnm or --disable-pnm was given.
10200 if test "${enable_pnm+set}" = set; then
10201 enableval
="$enable_pnm"
10203 if test "$enableval" = yes; then
10204 ac_cv_use_pnm
='wxUSE_PNM=yes'
10206 ac_cv_use_pnm
='wxUSE_PNM=no'
10211 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10212 if test "x$LINE" != x
; then
10213 eval "DEFAULT_$LINE"
10218 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10222 eval "$ac_cv_use_pnm"
10223 if test "$no_cache" != 1; then
10224 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10227 if test "$wxUSE_PNM" = yes; then
10228 echo "$as_me:$LINENO: result: yes" >&5
10229 echo "${ECHO_T}yes" >&6
10231 echo "$as_me:$LINENO: result: no" >&5
10232 echo "${ECHO_T}no" >&6
10237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10238 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10240 # Check whether --enable-xpm or --disable-xpm was given.
10241 if test "${enable_xpm+set}" = set; then
10242 enableval
="$enable_xpm"
10244 if test "$enableval" = yes; then
10245 ac_cv_use_xpm
='wxUSE_XPM=yes'
10247 ac_cv_use_xpm
='wxUSE_XPM=no'
10252 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10253 if test "x$LINE" != x
; then
10254 eval "DEFAULT_$LINE"
10259 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10263 eval "$ac_cv_use_xpm"
10264 if test "$no_cache" != 1; then
10265 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10268 if test "$wxUSE_XPM" = yes; then
10269 echo "$as_me:$LINENO: result: yes" >&5
10270 echo "${ECHO_T}yes" >&6
10272 echo "$as_me:$LINENO: result: no" >&5
10273 echo "${ECHO_T}no" >&6
10278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10279 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10281 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10282 if test "${enable_ico_cur+set}" = set; then
10283 enableval
="$enable_ico_cur"
10285 if test "$enableval" = yes; then
10286 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10288 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10293 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10294 if test "x$LINE" != x
; then
10295 eval "DEFAULT_$LINE"
10300 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10304 eval "$ac_cv_use_ico_cur"
10305 if test "$no_cache" != 1; then
10306 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10309 if test "$wxUSE_ICO_CUR" = yes; then
10310 echo "$as_me:$LINENO: result: yes" >&5
10311 echo "${ECHO_T}yes" >&6
10313 echo "$as_me:$LINENO: result: no" >&5
10314 echo "${ECHO_T}no" >&6
10322 # Check whether --with-flavour or --without-flavour was given.
10323 if test "${with_flavour+set}" = set; then
10324 withval
="$with_flavour"
10325 WX_FLAVOUR
="$withval"
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10334 # Check whether --enable-official_build or --disable-official_build was given.
10335 if test "${enable_official_build+set}" = set; then
10336 enableval
="$enable_official_build"
10338 if test "$enableval" = yes; then
10339 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10341 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10346 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x
; then
10348 eval "DEFAULT_$LINE"
10353 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10357 eval "$ac_cv_use_official_build"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10362 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10370 # Check whether --enable-vendor or --disable-vendor was given.
10371 if test "${enable_vendor+set}" = set; then
10372 enableval
="$enable_vendor"
10373 VENDOR
="$enableval"
10375 if test "x$VENDOR" = "x"; then
10382 echo "saving argument cache $wx_arg_cache_file"
10383 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10387 echo "$as_me:$LINENO: checking for toolkit" >&5
10388 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10390 # In Wine, we need to default to MSW, not GTK or MOTIF
10391 if test "$wxUSE_WINE" = "yes"; then
10392 DEFAULT_DEFAULT_wxUSE_GTK
=0
10393 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10394 DEFAULT_DEFAULT_wxUSE_MSW
=1
10398 if test "$wxUSE_GUI" = "yes"; then
10400 if test "$USE_BEOS" = 1; then
10401 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10402 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10403 { (exit 1); exit 1; }; }
10406 if test "$TOOLKIT_GIVEN" = 1; then
10407 for toolkit
in `echo $ALL_TOOLKITS`; do
10409 eval "value=\$${var}"
10410 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10413 for toolkit
in `echo $ALL_TOOLKITS`; do
10414 if test "$has_toolkit_in_cache" != 1; then
10415 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10417 var
=DEFAULT_wxUSE_
$toolkit
10419 eval "wxUSE_$toolkit=\$${var}"
10423 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10424 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10425 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10428 *-pc-os2_emx | *-pc-os2-emx )
10429 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10432 case "$NUM_TOOLKITS" in
10436 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10437 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10438 { (exit 1); exit 1; }; }
10441 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10442 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10443 { (exit 1); exit 1; }; }
10446 for toolkit
in `echo $ALL_TOOLKITS`; do
10448 eval "value=\$${var}"
10449 if test "x$value" != x
; then
10450 cache_var
=CACHE_
$toolkit
10451 eval "cache=\$${cache_var}"
10452 if test "$cache" = 1; then
10453 echo "$var=$value" >> ${wx_arg_cache_file}
10455 if test "$value" = 1; then
10456 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10457 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10458 echo "${ECHO_T}$toolkit_echo" >&6
10463 if test "x$host_alias" != "x"; then
10464 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10465 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10467 echo "$as_me:$LINENO: result: base only" >&5
10468 echo "${ECHO_T}base only" >&6
10473 doesnt_want_win32
=0
10476 if test "$wxUSE_MSW" = 1 ; then
10479 doesnt_want_win32
=1
10487 if test "$wxUSE_WINE" = "yes"; then
10492 LDFLAGS_GUI
="-mwindows"
10495 if test "$wants_win32" = 1 ; then
10498 cat >>confdefs.h
<<\_ACEOF
10499 #define __WIN32__ 1
10502 cat >>confdefs.h
<<\_ACEOF
10503 #define __WIN95__ 1
10506 cat >>confdefs.h
<<\_ACEOF
10507 #define __WINDOWS__ 1
10510 cat >>confdefs.h
<<\_ACEOF
10511 #define __GNUWIN32__ 1
10514 cat >>confdefs.h
<<\_ACEOF
10518 cat >>confdefs.h
<<\_ACEOF
10519 #define WINVER 0x0400
10523 if test "$doesnt_want_win32" = 1 ; then
10528 if test "$USE_UNIX" = 1 ; then
10530 cat >>confdefs.h
<<\_ACEOF
10537 cat >confcache
<<\_ACEOF
10538 # This file is a shell script that caches the results of configure
10539 # tests run on this system so they can be shared between configure
10540 # scripts and configure runs, see configure's option --config-cache.
10541 # It is not useful on other systems. If it contains results you don't
10542 # want to keep, you may remove or edit it.
10544 # config.status only pays attention to the cache file if you give it
10545 # the --recheck option to rerun configure.
10547 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10548 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10549 # following values.
10553 # The following way of writing the cache mishandles newlines in values,
10554 # but we know of no workaround that is simple, portable, and efficient.
10555 # So, don't put newlines in cache variables' values.
10556 # Ultrix sh set writes to stderr and can't be redirected directly,
10557 # and sets the high bit in the cache file unless we assign to the vars.
10560 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10562 # `set' does not quote correctly, so add quotes (double-quote
10563 # substitution turns \\\\ into \\, and sed turns \\ into \).
10566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10569 # `set' quotes correctly as required by POSIX, so do not add quotes.
10571 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10580 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10582 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10583 if test -w $cache_file; then
10584 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10585 cat confcache
>$cache_file
10587 echo "not updating unwritable cache $cache_file"
10592 if test "$build" != "$host" ; then
10593 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10595 CXX
=$host_alias-c++
10597 RANLIB
=$host_alias-ranlib
10598 DLLTOOL
=$host_alias-dlltool
10599 RESCOMP
=$host_alias-windres
10600 STRIP
=$host_alias-strip
10601 elif test "x$CC" '!=' "x"; then
10602 echo "You set CC, I assume you know what you are doing."
10604 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10605 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10606 { (exit 1); exit 1; }; }
10614 ac_cpp
='$CPP $CPPFLAGS'
10615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10618 if test -n "$ac_tool_prefix"; then
10619 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10620 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10621 echo "$as_me:$LINENO: checking for $ac_word" >&5
10622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10623 if test "${ac_cv_prog_CC+set}" = set; then
10624 echo $ECHO_N "(cached) $ECHO_C" >&6
10626 if test -n "$CC"; then
10627 ac_cv_prog_CC
="$CC" # Let the user override the test.
10629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10630 for as_dir
in $PATH
10633 test -z "$as_dir" && as_dir
=.
10634 for ac_exec_ext
in '' $ac_executable_extensions; do
10635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10636 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10646 if test -n "$CC"; then
10647 echo "$as_me:$LINENO: result: $CC" >&5
10648 echo "${ECHO_T}$CC" >&6
10650 echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6
10655 if test -z "$ac_cv_prog_CC"; then
10657 # Extract the first word of "gcc", so it can be a program name with args.
10658 set dummy gcc
; ac_word
=$2
10659 echo "$as_me:$LINENO: checking for $ac_word" >&5
10660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10661 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 if test -n "$ac_ct_CC"; then
10665 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10668 for as_dir
in $PATH
10671 test -z "$as_dir" && as_dir
=.
10672 for ac_exec_ext
in '' $ac_executable_extensions; do
10673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10674 ac_cv_prog_ac_ct_CC
="gcc"
10675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10683 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10684 if test -n "$ac_ct_CC"; then
10685 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10686 echo "${ECHO_T}$ac_ct_CC" >&6
10688 echo "$as_me:$LINENO: result: no" >&5
10689 echo "${ECHO_T}no" >&6
10694 CC
="$ac_cv_prog_CC"
10697 if test -z "$CC"; then
10698 if test -n "$ac_tool_prefix"; then
10699 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10700 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10701 echo "$as_me:$LINENO: checking for $ac_word" >&5
10702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10703 if test "${ac_cv_prog_CC+set}" = set; then
10704 echo $ECHO_N "(cached) $ECHO_C" >&6
10706 if test -n "$CC"; then
10707 ac_cv_prog_CC
="$CC" # Let the user override the test.
10709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10710 for as_dir
in $PATH
10713 test -z "$as_dir" && as_dir
=.
10714 for ac_exec_ext
in '' $ac_executable_extensions; do
10715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10716 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10726 if test -n "$CC"; then
10727 echo "$as_me:$LINENO: result: $CC" >&5
10728 echo "${ECHO_T}$CC" >&6
10730 echo "$as_me:$LINENO: result: no" >&5
10731 echo "${ECHO_T}no" >&6
10735 if test -z "$ac_cv_prog_CC"; then
10737 # Extract the first word of "cc", so it can be a program name with args.
10738 set dummy cc
; ac_word
=$2
10739 echo "$as_me:$LINENO: checking for $ac_word" >&5
10740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10741 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 if test -n "$ac_ct_CC"; then
10745 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10748 for as_dir
in $PATH
10751 test -z "$as_dir" && as_dir
=.
10752 for ac_exec_ext
in '' $ac_executable_extensions; do
10753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10754 ac_cv_prog_ac_ct_CC
="cc"
10755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10763 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10764 if test -n "$ac_ct_CC"; then
10765 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10766 echo "${ECHO_T}$ac_ct_CC" >&6
10768 echo "$as_me:$LINENO: result: no" >&5
10769 echo "${ECHO_T}no" >&6
10774 CC
="$ac_cv_prog_CC"
10778 if test -z "$CC"; then
10779 # Extract the first word of "cc", so it can be a program name with args.
10780 set dummy cc
; ac_word
=$2
10781 echo "$as_me:$LINENO: checking for $ac_word" >&5
10782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10783 if test "${ac_cv_prog_CC+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 if test -n "$CC"; then
10787 ac_cv_prog_CC
="$CC" # Let the user override the test.
10789 ac_prog_rejected
=no
10790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10791 for as_dir
in $PATH
10794 test -z "$as_dir" && as_dir
=.
10795 for ac_exec_ext
in '' $ac_executable_extensions; do
10796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10797 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10798 ac_prog_rejected
=yes
10802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10808 if test $ac_prog_rejected = yes; then
10809 # We found a bogon in the path, so make sure we never use it.
10810 set dummy
$ac_cv_prog_CC
10812 if test $# != 0; then
10813 # We chose a different compiler from the bogus one.
10814 # However, it has the same basename, so the bogon will be chosen
10815 # first if we set CC to just the basename; use the full file name.
10817 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10823 if test -n "$CC"; then
10824 echo "$as_me:$LINENO: result: $CC" >&5
10825 echo "${ECHO_T}$CC" >&6
10827 echo "$as_me:$LINENO: result: no" >&5
10828 echo "${ECHO_T}no" >&6
10832 if test -z "$CC"; then
10833 if test -n "$ac_tool_prefix"; then
10836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10837 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10838 echo "$as_me:$LINENO: checking for $ac_word" >&5
10839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10840 if test "${ac_cv_prog_CC+set}" = set; then
10841 echo $ECHO_N "(cached) $ECHO_C" >&6
10843 if test -n "$CC"; then
10844 ac_cv_prog_CC
="$CC" # Let the user override the test.
10846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10847 for as_dir
in $PATH
10850 test -z "$as_dir" && as_dir
=.
10851 for ac_exec_ext
in '' $ac_executable_extensions; do
10852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10853 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10863 if test -n "$CC"; then
10864 echo "$as_me:$LINENO: result: $CC" >&5
10865 echo "${ECHO_T}$CC" >&6
10867 echo "$as_me:$LINENO: result: no" >&5
10868 echo "${ECHO_T}no" >&6
10871 test -n "$CC" && break
10874 if test -z "$CC"; then
10878 # Extract the first word of "$ac_prog", so it can be a program name with args.
10879 set dummy
$ac_prog; ac_word
=$2
10880 echo "$as_me:$LINENO: checking for $ac_word" >&5
10881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10883 echo $ECHO_N "(cached) $ECHO_C" >&6
10885 if test -n "$ac_ct_CC"; then
10886 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10889 for as_dir
in $PATH
10892 test -z "$as_dir" && as_dir
=.
10893 for ac_exec_ext
in '' $ac_executable_extensions; do
10894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10895 ac_cv_prog_ac_ct_CC
="$ac_prog"
10896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10904 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10905 if test -n "$ac_ct_CC"; then
10906 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10907 echo "${ECHO_T}$ac_ct_CC" >&6
10909 echo "$as_me:$LINENO: result: no" >&5
10910 echo "${ECHO_T}no" >&6
10913 test -n "$ac_ct_CC" && break
10922 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10923 See \`config.log' for more details." >&5
10924 echo "$as_me: error: no acceptable C compiler found in \$PATH
10925 See \`config.log' for more details." >&2;}
10926 { (exit 1); exit 1; }; }
10928 # Provide some information about the compiler.
10929 echo "$as_me:$LINENO:" \
10930 "checking for C compiler version" >&5
10931 ac_compiler
=`set X $ac_compile; echo $2`
10932 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10933 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); }
10937 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10938 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }
10942 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10943 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }
10948 cat >conftest.
$ac_ext <<_ACEOF
10951 cat confdefs.h
>>conftest.
$ac_ext
10952 cat >>conftest.
$ac_ext <<_ACEOF
10953 /* end confdefs.h. */
10963 ac_clean_files_save
=$ac_clean_files
10964 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10965 # Try to create an executable without -o first, disregard a.out.
10966 # It will help us diagnose broken compilers, and finding out an intuition
10968 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10969 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10970 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10971 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10972 (eval $ac_link_default) 2>&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }; then
10976 # Find the output, starting from the most likely. This scheme is
10977 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10980 # Be careful to initialize this variable, since it used to be cached.
10981 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10983 # b.out is created by i960 compilers.
10984 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10986 test -f "$ac_file" || continue
10988 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10991 # This is the source file.
10994 # We found the default executable, but exeext='' is most
10998 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10999 # FIXME: I believe we export ac_cv_exeext for Libtool,
11000 # but it would be cool to find out if it's true. Does anybody
11001 # maintain Libtool? --akim.
11002 export ac_cv_exeext
11009 echo "$as_me: failed program was:" >&5
11010 sed 's/^/| /' conftest.
$ac_ext >&5
11012 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11013 See \`config.log' for more details." >&5
11014 echo "$as_me: error: C compiler cannot create executables
11015 See \`config.log' for more details." >&2;}
11016 { (exit 77); exit 77; }; }
11019 ac_exeext
=$ac_cv_exeext
11020 echo "$as_me:$LINENO: result: $ac_file" >&5
11021 echo "${ECHO_T}$ac_file" >&6
11023 # Check the compiler produces executables we can run. If not, either
11024 # the compiler is broken, or we cross compile.
11025 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11026 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11027 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11028 # If not cross compiling, check that we can run a simple program.
11029 if test "$cross_compiling" != yes; then
11030 if { ac_try
='./$ac_file'
11031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11032 (eval $ac_try) 2>&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); }; }; then
11038 if test "$cross_compiling" = maybe
; then
11039 cross_compiling
=yes
11041 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11042 If you meant to cross compile, use \`--host'.
11043 See \`config.log' for more details." >&5
11044 echo "$as_me: error: cannot run C compiled programs.
11045 If you meant to cross compile, use \`--host'.
11046 See \`config.log' for more details." >&2;}
11047 { (exit 1); exit 1; }; }
11051 echo "$as_me:$LINENO: result: yes" >&5
11052 echo "${ECHO_T}yes" >&6
11054 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11055 ac_clean_files
=$ac_clean_files_save
11056 # Check the compiler produces executables we can run. If not, either
11057 # the compiler is broken, or we cross compile.
11058 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11059 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11060 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11061 echo "${ECHO_T}$cross_compiling" >&6
11063 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11064 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11066 (eval $ac_link) 2>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); }; then
11070 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11071 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11072 # work properly (i.e., refer to `conftest.exe'), while it won't with
11074 for ac_file
in conftest.exe conftest conftest.
*; do
11075 test -f "$ac_file" || continue
11077 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11078 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11079 export ac_cv_exeext
11085 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11086 See \`config.log' for more details." >&5
11087 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11088 See \`config.log' for more details." >&2;}
11089 { (exit 1); exit 1; }; }
11092 rm -f conftest
$ac_cv_exeext
11093 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11094 echo "${ECHO_T}$ac_cv_exeext" >&6
11096 rm -f conftest.
$ac_ext
11097 EXEEXT
=$ac_cv_exeext
11099 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11100 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11101 if test "${ac_cv_objext+set}" = set; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11104 cat >conftest.
$ac_ext <<_ACEOF
11107 cat confdefs.h
>>conftest.
$ac_ext
11108 cat >>conftest.
$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11119 rm -f conftest.o conftest.obj
11120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11121 (eval $ac_compile) 2>&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; then
11125 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11127 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11128 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.
$ac_ext >&5
11136 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11137 See \`config.log' for more details." >&5
11138 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11139 See \`config.log' for more details." >&2;}
11140 { (exit 1); exit 1; }; }
11143 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11145 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11146 echo "${ECHO_T}$ac_cv_objext" >&6
11147 OBJEXT
=$ac_cv_objext
11149 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11150 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11151 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11152 echo $ECHO_N "(cached) $ECHO_C" >&6
11154 cat >conftest.
$ac_ext <<_ACEOF
11157 cat confdefs.h
>>conftest.
$ac_ext
11158 cat >>conftest.
$ac_ext <<_ACEOF
11159 /* end confdefs.h. */
11172 rm -f conftest.
$ac_objext
11173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11174 (eval $ac_compile) 2>conftest.er1
11176 grep -v '^ *+' conftest.er1
>conftest.err
11178 cat conftest.err
>&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } &&
11181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11183 (eval $ac_try) 2>&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); }; } &&
11187 { ac_try
='test -s conftest.$ac_objext'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; }; then
11193 ac_compiler_gnu
=yes
11195 echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.
$ac_ext >&5
11200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11201 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11204 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11205 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11206 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11207 ac_test_CFLAGS
=${CFLAGS+set}
11208 ac_save_CFLAGS
=$CFLAGS
11210 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11211 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11212 if test "${ac_cv_prog_cc_g+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11215 cat >conftest.
$ac_ext <<_ACEOF
11218 cat confdefs.h
>>conftest.
$ac_ext
11219 cat >>conftest.
$ac_ext <<_ACEOF
11220 /* end confdefs.h. */
11230 rm -f conftest.
$ac_objext
11231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11232 (eval $ac_compile) 2>conftest.er1
11234 grep -v '^ *+' conftest.er1
>conftest.err
11236 cat conftest.err
>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); } &&
11239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; } &&
11245 { ac_try
='test -s conftest.$ac_objext'
11246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11247 (eval $ac_try) 2>&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); }; }; then
11251 ac_cv_prog_cc_g
=yes
11253 echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.
$ac_ext >&5
11258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11260 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11261 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11262 if test "$ac_test_CFLAGS" = set; then
11263 CFLAGS
=$ac_save_CFLAGS
11264 elif test $ac_cv_prog_cc_g = yes; then
11265 if test "$GCC" = yes; then
11271 if test "$GCC" = yes; then
11277 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11278 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11279 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11282 ac_cv_prog_cc_stdc
=no
11284 cat >conftest.
$ac_ext <<_ACEOF
11287 cat confdefs.h
>>conftest.
$ac_ext
11288 cat >>conftest.
$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11290 #include <stdarg.h>
11292 #include <sys/types.h>
11293 #include <sys/stat.h>
11294 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11295 struct buf { int x; };
11296 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11297 static char *e (p, i)
11303 static char *f (char * (*g) (char **, int), char **p, ...)
11308 s = g (p, va_arg (v,int));
11313 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11314 function prototypes and stuff, but not '\xHH' hex character constants.
11315 These don't provoke an error unfortunately, instead are silently treated
11316 as 'x'. The following induces an error, until -std1 is added to get
11317 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11318 array size at least. It's necessary to write '\x00'==0 to get something
11319 that's true only with -std1. */
11320 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11322 int test (int i, double x);
11323 struct s1 {int (*f) (int a);};
11324 struct s2 {int (*f) (double a);};
11325 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11331 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11336 # Don't try gcc -ansi; that turns off useful extensions and
11337 # breaks some systems' header files.
11338 # AIX -qlanglvl=ansi
11339 # Ultrix and OSF/1 -std1
11340 # HP-UX 10.20 and later -Ae
11341 # HP-UX older versions -Aa -D_HPUX_SOURCE
11342 # SVR4 -Xc -D__EXTENSIONS__
11343 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11345 CC
="$ac_save_CC $ac_arg"
11346 rm -f conftest.
$ac_objext
11347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11348 (eval $ac_compile) 2>conftest.er1
11350 grep -v '^ *+' conftest.er1
>conftest.err
11352 cat conftest.err
>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); } &&
11355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; } &&
11361 { ac_try
='test -s conftest.$ac_objext'
11362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11363 (eval $ac_try) 2>&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); }; }; then
11367 ac_cv_prog_cc_stdc
=$ac_arg
11370 echo "$as_me: failed program was:" >&5
11371 sed 's/^/| /' conftest.
$ac_ext >&5
11374 rm -f conftest.err conftest.
$ac_objext
11376 rm -f conftest.
$ac_ext conftest.
$ac_objext
11381 case "x$ac_cv_prog_cc_stdc" in
11383 echo "$as_me:$LINENO: result: none needed" >&5
11384 echo "${ECHO_T}none needed" >&6 ;;
11386 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11387 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11388 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11391 # Some people use a C++ compiler to compile C. Since we use `exit',
11392 # in C++ we need to declare it. In case someone uses the same compiler
11393 # for both compiling C and C++ we need to have the C++ compiler decide
11394 # the declaration of exit, since it's the most demanding environment.
11395 cat >conftest.
$ac_ext <<_ACEOF
11396 #ifndef __cplusplus
11400 rm -f conftest.
$ac_objext
11401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11402 (eval $ac_compile) 2>conftest.er1
11404 grep -v '^ *+' conftest.er1
>conftest.err
11406 cat conftest.err
>&5
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); } &&
11409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11411 (eval $ac_try) 2>&5
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); }; } &&
11415 { ac_try
='test -s conftest.$ac_objext'
11416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11417 (eval $ac_try) 2>&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); }; }; then
11421 for ac_declaration
in \
11423 'extern "C" void std::exit (int) throw (); using std::exit;' \
11424 'extern "C" void std::exit (int); using std::exit;' \
11425 'extern "C" void exit (int) throw ();' \
11426 'extern "C" void exit (int);' \
11429 cat >conftest.
$ac_ext <<_ACEOF
11432 cat confdefs.h
>>conftest.
$ac_ext
11433 cat >>conftest.
$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11436 #include <stdlib.h>
11445 rm -f conftest.
$ac_objext
11446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11447 (eval $ac_compile) 2>conftest.er1
11449 grep -v '^ *+' conftest.er1
>conftest.err
11451 cat conftest.err
>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } &&
11454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456 (eval $ac_try) 2>&5
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; } &&
11460 { ac_try
='test -s conftest.$ac_objext'
11461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462 (eval $ac_try) 2>&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; }; then
11468 echo "$as_me: failed program was:" >&5
11469 sed 's/^/| /' conftest.
$ac_ext >&5
11473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11474 cat >conftest.
$ac_ext <<_ACEOF
11477 cat confdefs.h
>>conftest.
$ac_ext
11478 cat >>conftest.
$ac_ext <<_ACEOF
11479 /* end confdefs.h. */
11489 rm -f conftest.
$ac_objext
11490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11491 (eval $ac_compile) 2>conftest.er1
11493 grep -v '^ *+' conftest.er1
>conftest.err
11495 cat conftest.err
>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); } &&
11498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; } &&
11504 { ac_try
='test -s conftest.$ac_objext'
11505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11506 (eval $ac_try) 2>&5
11508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509 (exit $ac_status); }; }; then
11512 echo "$as_me: failed program was:" >&5
11513 sed 's/^/| /' conftest.
$ac_ext >&5
11516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11519 if test -n "$ac_declaration"; then
11520 echo '#ifdef __cplusplus' >>confdefs.h
11521 echo $ac_declaration >>confdefs.h
11522 echo '#endif' >>confdefs.h
11526 echo "$as_me: failed program was:" >&5
11527 sed 's/^/| /' conftest.
$ac_ext >&5
11530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11532 ac_cpp
='$CPP $CPPFLAGS'
11533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11537 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11538 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11539 if test "${wx_cv_c_exto+set}" = set; then
11540 echo $ECHO_N "(cached) $ECHO_C" >&6
11542 cat >conftest.
$ac_ext <<_ACEOF
11545 cat confdefs.h
>>conftest.
$ac_ext
11546 cat >>conftest.
$ac_ext <<_ACEOF
11547 /* end confdefs.h. */
11557 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11559 (eval $ac_compile) 2>&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); }; then
11563 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11565 conftest.
$ac_ext.o
)
11566 wx_cv_c_exto
="-ext o"
11573 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11574 See \`config.log' for more details." >&5
11575 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11576 See \`config.log' for more details." >&2;}
11577 { (exit 1); exit 1; }; }
11581 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11584 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11585 echo "${ECHO_T}$wx_cv_c_exto" >&6
11586 if test "x$wx_cv_c_exto" '!=' "x"; then
11587 if test "c" = "c"; then
11588 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11590 if test "c" = "cxx"; then
11591 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11595 if test "x$wx_cv_c_exto" '!=' "x"; then
11596 unset ac_cv_prog_cc_g
11597 ac_test_CFLAGS
=${CFLAGS+set}
11598 ac_save_CFLAGS
=$CFLAGS
11600 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11601 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11602 if test "${ac_cv_prog_cc_g+set}" = set; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11605 cat >conftest.
$ac_ext <<_ACEOF
11608 cat confdefs.h
>>conftest.
$ac_ext
11609 cat >>conftest.
$ac_ext <<_ACEOF
11610 /* end confdefs.h. */
11620 rm -f conftest.
$ac_objext
11621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11622 (eval $ac_compile) 2>conftest.er1
11624 grep -v '^ *+' conftest.er1
>conftest.err
11626 cat conftest.err
>&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } &&
11629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11631 (eval $ac_try) 2>&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); }; } &&
11635 { ac_try
='test -s conftest.$ac_objext'
11636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11637 (eval $ac_try) 2>&5
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); }; }; then
11641 ac_cv_prog_cc_g
=yes
11643 echo "$as_me: failed program was:" >&5
11644 sed 's/^/| /' conftest.
$ac_ext >&5
11648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11650 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11651 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11652 if test "$ac_test_CFLAGS" = set; then
11653 CFLAGS
=$ac_save_CFLAGS
11654 elif test $ac_cv_prog_cc_g = yes; then
11655 if test "$GCC" = yes; then
11661 if test "$GCC" = yes; then
11669 ac_cpp
='$CPP $CPPFLAGS'
11670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11674 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11675 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11676 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11679 cat >conftest.
$ac_ext <<_ACEOF
11682 cat confdefs.h
>>conftest.
$ac_ext
11683 cat >>conftest.
$ac_ext <<_ACEOF
11684 /* end confdefs.h. */
11697 rm -f conftest.
$ac_objext
11698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11699 (eval $ac_compile) 2>conftest.er1
11701 grep -v '^ *+' conftest.er1
>conftest.err
11703 cat conftest.err
>&5
11704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); } &&
11706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11708 (eval $ac_try) 2>&5
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); }; } &&
11712 { ac_try
='test -s conftest.$ac_objext'
11713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11714 (eval $ac_try) 2>&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); }; }; then
11718 bakefile_compiler_mwerks
=yes
11720 echo "$as_me: failed program was:" >&5
11721 sed 's/^/| /' conftest.
$ac_ext >&5
11723 bakefile_compiler_mwerks
=no
11725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11726 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11729 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11730 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11732 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
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
11741 ac_cpp
='$CPP $CPPFLAGS'
11742 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11743 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11744 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11746 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11747 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11748 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11749 echo $ECHO_N "(cached) $ECHO_C" >&6
11751 cat >conftest.
$ac_ext <<_ACEOF
11754 cat confdefs.h
>>conftest.
$ac_ext
11755 cat >>conftest.
$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11769 rm -f conftest.
$ac_objext
11770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11771 (eval $ac_compile) 2>conftest.er1
11773 grep -v '^ *+' conftest.er1
>conftest.err
11775 cat conftest.err
>&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); } &&
11778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11780 (eval $ac_try) 2>&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); }; } &&
11784 { ac_try
='test -s conftest.$ac_objext'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; }; then
11790 wx_compiler_xlc
=yes
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.
$ac_ext >&5
11797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11798 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11801 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11802 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11804 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11806 ac_cpp
='$CPP $CPPFLAGS'
11807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11815 ac_cpp
='$CPP $CPPFLAGS'
11816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11819 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11820 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11821 # On Suns, sometimes $CPP names a directory.
11822 if test -n "$CPP" && test -d "$CPP"; then
11825 if test -z "$CPP"; then
11826 if test "${ac_cv_prog_CPP+set}" = set; then
11827 echo $ECHO_N "(cached) $ECHO_C" >&6
11829 # Double quotes because CPP needs to be expanded
11830 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11832 ac_preproc_ok
=false
11833 for ac_c_preproc_warn_flag
in '' yes
11835 # Use a header file that comes with gcc, so configuring glibc
11836 # with a fresh cross-compiler works.
11837 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11838 # <limits.h> exists even on freestanding compilers.
11839 # On the NeXT, cc -E runs the code through the compiler's parser,
11840 # not just through cpp. "Syntax error" is here to catch this case.
11841 cat >conftest.
$ac_ext <<_ACEOF
11844 cat confdefs.h
>>conftest.
$ac_ext
11845 cat >>conftest.
$ac_ext <<_ACEOF
11846 /* end confdefs.h. */
11848 # include <limits.h>
11850 # include <assert.h>
11854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11855 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11857 grep -v '^ *+' conftest.er1
>conftest.err
11859 cat conftest.err
>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); } >/dev
/null
; then
11862 if test -s conftest.err
; then
11863 ac_cpp_err
=$ac_c_preproc_warn_flag
11864 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11871 if test -z "$ac_cpp_err"; then
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.
$ac_ext >&5
11877 # Broken: fails on valid input.
11880 rm -f conftest.err conftest.
$ac_ext
11882 # OK, works on sane cases. Now check whether non-existent headers
11883 # can be detected and how.
11884 cat >conftest.
$ac_ext <<_ACEOF
11887 cat confdefs.h
>>conftest.
$ac_ext
11888 cat >>conftest.
$ac_ext <<_ACEOF
11889 /* end confdefs.h. */
11890 #include <ac_nonexistent.h>
11892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11893 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11895 grep -v '^ *+' conftest.er1
>conftest.err
11897 cat conftest.err
>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } >/dev
/null
; then
11900 if test -s conftest.err
; then
11901 ac_cpp_err
=$ac_c_preproc_warn_flag
11902 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11909 if test -z "$ac_cpp_err"; then
11910 # Broken: success on invalid input.
11913 echo "$as_me: failed program was:" >&5
11914 sed 's/^/| /' conftest.
$ac_ext >&5
11916 # Passes both tests.
11920 rm -f conftest.err conftest.
$ac_ext
11923 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11924 rm -f conftest.err conftest.
$ac_ext
11925 if $ac_preproc_ok; then
11930 ac_cv_prog_CPP
=$CPP
11933 CPP
=$ac_cv_prog_CPP
11935 ac_cv_prog_CPP
=$CPP
11937 echo "$as_me:$LINENO: result: $CPP" >&5
11938 echo "${ECHO_T}$CPP" >&6
11939 ac_preproc_ok
=false
11940 for ac_c_preproc_warn_flag
in '' yes
11942 # Use a header file that comes with gcc, so configuring glibc
11943 # with a fresh cross-compiler works.
11944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11945 # <limits.h> exists even on freestanding compilers.
11946 # On the NeXT, cc -E runs the code through the compiler's parser,
11947 # not just through cpp. "Syntax error" is here to catch this case.
11948 cat >conftest.
$ac_ext <<_ACEOF
11951 cat confdefs.h
>>conftest.
$ac_ext
11952 cat >>conftest.
$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11955 # include <limits.h>
11957 # include <assert.h>
11961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11962 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11964 grep -v '^ *+' conftest.er1
>conftest.err
11966 cat conftest.err
>&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } >/dev
/null
; then
11969 if test -s conftest.err
; then
11970 ac_cpp_err
=$ac_c_preproc_warn_flag
11971 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11978 if test -z "$ac_cpp_err"; then
11981 echo "$as_me: failed program was:" >&5
11982 sed 's/^/| /' conftest.
$ac_ext >&5
11984 # Broken: fails on valid input.
11987 rm -f conftest.err conftest.
$ac_ext
11989 # OK, works on sane cases. Now check whether non-existent headers
11990 # can be detected and how.
11991 cat >conftest.
$ac_ext <<_ACEOF
11994 cat confdefs.h
>>conftest.
$ac_ext
11995 cat >>conftest.
$ac_ext <<_ACEOF
11996 /* end confdefs.h. */
11997 #include <ac_nonexistent.h>
11999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12000 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12002 grep -v '^ *+' conftest.er1
>conftest.err
12004 cat conftest.err
>&5
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); } >/dev
/null
; then
12007 if test -s conftest.err
; then
12008 ac_cpp_err
=$ac_c_preproc_warn_flag
12009 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12016 if test -z "$ac_cpp_err"; then
12017 # Broken: success on invalid input.
12020 echo "$as_me: failed program was:" >&5
12021 sed 's/^/| /' conftest.
$ac_ext >&5
12023 # Passes both tests.
12027 rm -f conftest.err conftest.
$ac_ext
12030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12031 rm -f conftest.err conftest.
$ac_ext
12032 if $ac_preproc_ok; then
12035 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12036 See \`config.log' for more details." >&5
12037 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12038 See \`config.log' for more details." >&2;}
12039 { (exit 1); exit 1; }; }
12043 ac_cpp
='$CPP $CPPFLAGS'
12044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12049 echo "$as_me:$LINENO: checking for egrep" >&5
12050 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12051 if test "${ac_cv_prog_egrep+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12055 then ac_cv_prog_egrep
='grep -E'
12056 else ac_cv_prog_egrep
='egrep'
12059 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12060 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12061 EGREP
=$ac_cv_prog_egrep
12064 if test $ac_cv_c_compiler_gnu = yes; then
12065 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12066 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12067 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12068 echo $ECHO_N "(cached) $ECHO_C" >&6
12070 ac_pattern
="Autoconf.*'x'"
12071 cat >conftest.
$ac_ext <<_ACEOF
12074 cat confdefs.h
>>conftest.
$ac_ext
12075 cat >>conftest.
$ac_ext <<_ACEOF
12076 /* end confdefs.h. */
12080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12081 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12082 ac_cv_prog_gcc_traditional
=yes
12084 ac_cv_prog_gcc_traditional
=no
12089 if test $ac_cv_prog_gcc_traditional = no
; then
12090 cat >conftest.
$ac_ext <<_ACEOF
12093 cat confdefs.h
>>conftest.
$ac_ext
12094 cat >>conftest.
$ac_ext <<_ACEOF
12095 /* end confdefs.h. */
12096 #include <termio.h>
12099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12100 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12101 ac_cv_prog_gcc_traditional
=yes
12107 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12108 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12109 if test $ac_cv_prog_gcc_traditional = yes; then
12110 CC
="$CC -traditional"
12118 ac_cpp
='$CXXCPP $CPPFLAGS'
12119 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12120 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12121 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12124 CXXFLAGS
=${CXXFLAGS:=}
12128 ac_cpp
='$CXXCPP $CPPFLAGS'
12129 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12130 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12131 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12132 if test -n "$ac_tool_prefix"; then
12133 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12135 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12136 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12137 echo "$as_me:$LINENO: checking for $ac_word" >&5
12138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12139 if test "${ac_cv_prog_CXX+set}" = set; then
12140 echo $ECHO_N "(cached) $ECHO_C" >&6
12142 if test -n "$CXX"; then
12143 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12146 for as_dir
in $PATH
12149 test -z "$as_dir" && as_dir
=.
12150 for ac_exec_ext
in '' $ac_executable_extensions; do
12151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12152 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12161 CXX
=$ac_cv_prog_CXX
12162 if test -n "$CXX"; then
12163 echo "$as_me:$LINENO: result: $CXX" >&5
12164 echo "${ECHO_T}$CXX" >&6
12166 echo "$as_me:$LINENO: result: no" >&5
12167 echo "${ECHO_T}no" >&6
12170 test -n "$CXX" && break
12173 if test -z "$CXX"; then
12175 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12177 # Extract the first word of "$ac_prog", so it can be a program name with args.
12178 set dummy
$ac_prog; ac_word
=$2
12179 echo "$as_me:$LINENO: checking for $ac_word" >&5
12180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12181 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12182 echo $ECHO_N "(cached) $ECHO_C" >&6
12184 if test -n "$ac_ct_CXX"; then
12185 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12188 for as_dir
in $PATH
12191 test -z "$as_dir" && as_dir
=.
12192 for ac_exec_ext
in '' $ac_executable_extensions; do
12193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12194 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12203 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12204 if test -n "$ac_ct_CXX"; then
12205 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12206 echo "${ECHO_T}$ac_ct_CXX" >&6
12208 echo "$as_me:$LINENO: result: no" >&5
12209 echo "${ECHO_T}no" >&6
12212 test -n "$ac_ct_CXX" && break
12214 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12220 # Provide some information about the compiler.
12221 echo "$as_me:$LINENO:" \
12222 "checking for C++ compiler version" >&5
12223 ac_compiler
=`set X $ac_compile; echo $2`
12224 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12225 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }
12229 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12230 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); }
12234 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12235 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12238 (exit $ac_status); }
12240 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12241 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12242 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12245 cat >conftest.
$ac_ext <<_ACEOF
12248 cat confdefs.h
>>conftest.
$ac_ext
12249 cat >>conftest.
$ac_ext <<_ACEOF
12250 /* end confdefs.h. */
12263 rm -f conftest.
$ac_objext
12264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12265 (eval $ac_compile) 2>conftest.er1
12267 grep -v '^ *+' conftest.er1
>conftest.err
12269 cat conftest.err
>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } &&
12272 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; } &&
12278 { ac_try
='test -s conftest.$ac_objext'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 (eval $ac_try) 2>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; }; then
12284 ac_compiler_gnu
=yes
12286 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.
$ac_ext >&5
12291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12292 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12295 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12296 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12297 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12298 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12299 ac_save_CXXFLAGS
=$CXXFLAGS
12301 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12302 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12303 if test "${ac_cv_prog_cxx_g+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12306 cat >conftest.
$ac_ext <<_ACEOF
12309 cat confdefs.h
>>conftest.
$ac_ext
12310 cat >>conftest.
$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12321 rm -f conftest.
$ac_objext
12322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12323 (eval $ac_compile) 2>conftest.er1
12325 grep -v '^ *+' conftest.er1
>conftest.err
12327 cat conftest.err
>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } &&
12330 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12332 (eval $ac_try) 2>&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); }; } &&
12336 { ac_try
='test -s conftest.$ac_objext'
12337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12338 (eval $ac_try) 2>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }; }; then
12342 ac_cv_prog_cxx_g
=yes
12344 echo "$as_me: failed program was:" >&5
12345 sed 's/^/| /' conftest.
$ac_ext >&5
12347 ac_cv_prog_cxx_g
=no
12349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12351 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12352 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12353 if test "$ac_test_CXXFLAGS" = set; then
12354 CXXFLAGS
=$ac_save_CXXFLAGS
12355 elif test $ac_cv_prog_cxx_g = yes; then
12356 if test "$GXX" = yes; then
12362 if test "$GXX" = yes; then
12368 for ac_declaration
in \
12370 'extern "C" void std::exit (int) throw (); using std::exit;' \
12371 'extern "C" void std::exit (int); using std::exit;' \
12372 'extern "C" void exit (int) throw ();' \
12373 'extern "C" void exit (int);' \
12376 cat >conftest.
$ac_ext <<_ACEOF
12379 cat confdefs.h
>>conftest.
$ac_ext
12380 cat >>conftest.
$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12383 #include <stdlib.h>
12392 rm -f conftest.
$ac_objext
12393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12394 (eval $ac_compile) 2>conftest.er1
12396 grep -v '^ *+' conftest.er1
>conftest.err
12398 cat conftest.err
>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); } &&
12401 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403 (eval $ac_try) 2>&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }; } &&
12407 { ac_try
='test -s conftest.$ac_objext'
12408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12409 (eval $ac_try) 2>&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); }; }; then
12415 echo "$as_me: failed program was:" >&5
12416 sed 's/^/| /' conftest.
$ac_ext >&5
12420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12421 cat >conftest.
$ac_ext <<_ACEOF
12424 cat confdefs.h
>>conftest.
$ac_ext
12425 cat >>conftest.
$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12436 rm -f conftest.
$ac_objext
12437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12438 (eval $ac_compile) 2>conftest.er1
12440 grep -v '^ *+' conftest.er1
>conftest.err
12442 cat conftest.err
>&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); } &&
12445 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447 (eval $ac_try) 2>&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; } &&
12451 { ac_try
='test -s conftest.$ac_objext'
12452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12453 (eval $ac_try) 2>&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); }; }; then
12459 echo "$as_me: failed program was:" >&5
12460 sed 's/^/| /' conftest.
$ac_ext >&5
12463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12466 if test -n "$ac_declaration"; then
12467 echo '#ifdef __cplusplus' >>confdefs.h
12468 echo $ac_declaration >>confdefs.h
12469 echo '#endif' >>confdefs.h
12473 ac_cpp
='$CXXCPP $CPPFLAGS'
12474 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12475 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12476 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12478 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12479 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12480 if test "${wx_cv_cxx_exto+set}" = set; then
12481 echo $ECHO_N "(cached) $ECHO_C" >&6
12483 cat >conftest.
$ac_ext <<_ACEOF
12486 cat confdefs.h
>>conftest.
$ac_ext
12487 cat >>conftest.
$ac_ext <<_ACEOF
12488 /* end confdefs.h. */
12498 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12500 (eval $ac_compile) 2>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; then
12504 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12506 conftest.
$ac_ext.o
)
12507 wx_cv_cxx_exto
="-ext o"
12514 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12515 See \`config.log' for more details." >&5
12516 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12517 See \`config.log' for more details." >&2;}
12518 { (exit 1); exit 1; }; }
12522 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12525 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12526 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12527 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12528 if test "cxx" = "c"; then
12529 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12531 if test "cxx" = "cxx"; then
12532 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12536 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12537 unset ac_cv_prog_cxx_g
12538 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12539 ac_save_CXXFLAGS
=$CXXFLAGS
12541 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12542 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12543 if test "${ac_cv_prog_cxx_g+set}" = set; then
12544 echo $ECHO_N "(cached) $ECHO_C" >&6
12546 cat >conftest.
$ac_ext <<_ACEOF
12549 cat confdefs.h
>>conftest.
$ac_ext
12550 cat >>conftest.
$ac_ext <<_ACEOF
12551 /* 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" || test ! -s conftest.err'
12571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12572 (eval $ac_try) 2>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); }; } &&
12576 { ac_try
='test -s conftest.$ac_objext'
12577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12578 (eval $ac_try) 2>&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); }; }; then
12582 ac_cv_prog_cxx_g
=yes
12584 echo "$as_me: failed program was:" >&5
12585 sed 's/^/| /' conftest.
$ac_ext >&5
12587 ac_cv_prog_cxx_g
=no
12589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12591 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12592 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12593 if test "$ac_test_CXXFLAGS" = set; then
12594 CXXFLAGS
=$ac_save_CXXFLAGS
12595 elif test $ac_cv_prog_cxx_g = yes; then
12596 if test "$GXX" = yes; then
12602 if test "$GXX" = yes; then
12610 ac_cpp
='$CXXCPP $CPPFLAGS'
12611 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12612 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12613 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12615 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12616 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12617 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12618 echo $ECHO_N "(cached) $ECHO_C" >&6
12620 cat >conftest.
$ac_ext <<_ACEOF
12623 cat confdefs.h
>>conftest.
$ac_ext
12624 cat >>conftest.
$ac_ext <<_ACEOF
12625 /* end confdefs.h. */
12638 rm -f conftest.
$ac_objext
12639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12640 (eval $ac_compile) 2>conftest.er1
12642 grep -v '^ *+' conftest.er1
>conftest.err
12644 cat conftest.err
>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); } &&
12647 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; } &&
12653 { ac_try
='test -s conftest.$ac_objext'
12654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12655 (eval $ac_try) 2>&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); }; }; then
12659 bakefile_compiler_mwerks
=yes
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.
$ac_ext >&5
12664 bakefile_compiler_mwerks
=no
12666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12667 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12670 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12671 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12673 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12675 ac_cpp
='$CXXCPP $CPPFLAGS'
12676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12682 ac_cpp
='$CXXCPP $CPPFLAGS'
12683 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12684 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12685 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12687 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12688 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12689 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 cat >conftest.
$ac_ext <<_ACEOF
12695 cat confdefs.h
>>conftest.
$ac_ext
12696 cat >>conftest.
$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12710 rm -f conftest.
$ac_objext
12711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12712 (eval $ac_compile) 2>conftest.er1
12714 grep -v '^ *+' conftest.er1
>conftest.err
12716 cat conftest.err
>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); } &&
12719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; } &&
12725 { ac_try
='test -s conftest.$ac_objext'
12726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727 (eval $ac_try) 2>&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }; }; then
12731 wx_compiler_xlc
=yes
12733 echo "$as_me: failed program was:" >&5
12734 sed 's/^/| /' conftest.
$ac_ext >&5
12738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12739 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12742 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12743 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12745 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12747 ac_cpp
='$CXXCPP $CPPFLAGS'
12748 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12749 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12750 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12756 ac_cpp
='$CPP $CPPFLAGS'
12757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12762 if test -n "$ac_tool_prefix"; then
12763 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12764 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12765 echo "$as_me:$LINENO: checking for $ac_word" >&5
12766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12767 if test "${ac_cv_prog_RANLIB+set}" = set; then
12768 echo $ECHO_N "(cached) $ECHO_C" >&6
12770 if test -n "$RANLIB"; then
12771 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12774 for as_dir
in $PATH
12777 test -z "$as_dir" && as_dir
=.
12778 for ac_exec_ext
in '' $ac_executable_extensions; do
12779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12780 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12789 RANLIB
=$ac_cv_prog_RANLIB
12790 if test -n "$RANLIB"; then
12791 echo "$as_me:$LINENO: result: $RANLIB" >&5
12792 echo "${ECHO_T}$RANLIB" >&6
12794 echo "$as_me:$LINENO: result: no" >&5
12795 echo "${ECHO_T}no" >&6
12799 if test -z "$ac_cv_prog_RANLIB"; then
12800 ac_ct_RANLIB
=$RANLIB
12801 # Extract the first word of "ranlib", so it can be a program name with args.
12802 set dummy ranlib
; ac_word
=$2
12803 echo "$as_me:$LINENO: checking for $ac_word" >&5
12804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12805 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12806 echo $ECHO_N "(cached) $ECHO_C" >&6
12808 if test -n "$ac_ct_RANLIB"; then
12809 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12812 for as_dir
in $PATH
12815 test -z "$as_dir" && as_dir
=.
12816 for ac_exec_ext
in '' $ac_executable_extensions; do
12817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12818 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12825 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12828 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12829 if test -n "$ac_ct_RANLIB"; then
12830 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12831 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12833 echo "$as_me:$LINENO: result: no" >&5
12834 echo "${ECHO_T}no" >&6
12837 RANLIB
=$ac_ct_RANLIB
12839 RANLIB
="$ac_cv_prog_RANLIB"
12843 # Extract the first word of "ar", so it can be a program name with args.
12844 set dummy
ar; ac_word
=$2
12845 echo "$as_me:$LINENO: checking for $ac_word" >&5
12846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12847 if test "${ac_cv_prog_AR+set}" = set; then
12848 echo $ECHO_N "(cached) $ECHO_C" >&6
12850 if test -n "$AR"; then
12851 ac_cv_prog_AR
="$AR" # Let the user override the test.
12853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12854 for as_dir
in $PATH
12857 test -z "$as_dir" && as_dir
=.
12858 for ac_exec_ext
in '' $ac_executable_extensions; do
12859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12870 if test -n "$AR"; then
12871 echo "$as_me:$LINENO: result: $AR" >&5
12872 echo "${ECHO_T}$AR" >&6
12874 echo "$as_me:$LINENO: result: no" >&5
12875 echo "${ECHO_T}no" >&6
12878 if test "x$AR" = "x" ; then
12879 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12880 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12881 { (exit 1); exit 1; }; }
12884 # Find a good install program. We prefer a C program (faster),
12885 # so one script is as good as another. But avoid the broken or
12886 # incompatible versions:
12887 # SysV /etc/install, /usr/sbin/install
12888 # SunOS /usr/etc/install
12889 # IRIX /sbin/install
12891 # AmigaOS /C/install, which installs bootblocks on floppy discs
12892 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12893 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12894 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12895 # OS/2's system install, which has a completely different semantic
12896 # ./install, which can be erroneously created by make from ./install.sh.
12897 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12898 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12899 if test -z "$INSTALL"; then
12900 if test "${ac_cv_path_install+set}" = set; then
12901 echo $ECHO_N "(cached) $ECHO_C" >&6
12903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12904 for as_dir
in $PATH
12907 test -z "$as_dir" && as_dir
=.
12908 # Account for people who put trailing slashes in PATH elements.
12910 .
/ | .
// | /cC
/* | \
12911 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12912 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12915 # OSF1 and SCO ODT 3.0 have their own names for install.
12916 # Don't use installbsd from OSF since it installs stuff as root
12918 for ac_prog
in ginstall scoinst
install; do
12919 for ac_exec_ext
in '' $ac_executable_extensions; do
12920 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12921 if test $ac_prog = install &&
12922 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12923 # AIX install. It has an incompatible calling convention.
12925 elif test $ac_prog = install &&
12926 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12927 # program-specific install script used by HP pwplus--don't use.
12930 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12942 if test "${ac_cv_path_install+set}" = set; then
12943 INSTALL
=$ac_cv_path_install
12945 # As a last resort, use the slow shell script. We don't cache a
12946 # path for INSTALL within a source directory, because that will
12947 # break other packages using the cache if that directory is
12948 # removed, or if the path is relative.
12949 INSTALL
=$ac_install_sh
12952 echo "$as_me:$LINENO: result: $INSTALL" >&5
12953 echo "${ECHO_T}$INSTALL" >&6
12955 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12956 # It thinks the first close brace ends the variable substitution.
12957 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12959 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12961 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12967 ?
:* ) # Drive letter, considered as absolute.
12970 INSTALL
=`pwd`/${INSTALL} ;;
12976 powerpc
-*-darwin* )
12977 INSTALL_PROGRAM
="cp -fp"
12978 INSTALL_DATA
="cp -fp"
12984 # Extract the first word of "strip", so it can be a program name with args.
12985 set dummy strip
; ac_word
=$2
12986 echo "$as_me:$LINENO: checking for $ac_word" >&5
12987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12988 if test "${ac_cv_prog_STRIP+set}" = set; then
12989 echo $ECHO_N "(cached) $ECHO_C" >&6
12991 if test -n "$STRIP"; then
12992 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12995 for as_dir
in $PATH
12998 test -z "$as_dir" && as_dir
=.
12999 for ac_exec_ext
in '' $ac_executable_extensions; do
13000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13001 ac_cv_prog_STRIP
="strip"
13002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13008 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13011 STRIP
=$ac_cv_prog_STRIP
13012 if test -n "$STRIP"; then
13013 echo "$as_me:$LINENO: result: $STRIP" >&5
13014 echo "${ECHO_T}$STRIP" >&6
13016 echo "$as_me:$LINENO: result: no" >&5
13017 echo "${ECHO_T}no" >&6
13021 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13022 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13023 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13024 echo $ECHO_N "(cached) $ECHO_C" >&6
13027 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13028 egrep -s GNU
> /dev
/null
); then
13029 wx_cv_prog_makeisgnu
="yes"
13031 wx_cv_prog_makeisgnu
="no"
13035 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13036 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13038 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13046 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13047 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13048 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13049 if test "${wx_cv_prog_makevpath+set}" = set; then
13050 echo $ECHO_N "(cached) $ECHO_C" >&6
13053 cat - << EOF > confMake
13059 if test ! -d sub
; then
13062 echo dummy
> sub
/file
13063 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13065 rm -f sub
/file check final_file confMake
13067 if test "$RESULT" = 0; then
13068 wx_cv_prog_makevpath
="yes"
13070 wx_cv_prog_makevpath
="no"
13074 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13075 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13077 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13078 { { echo "$as_me:$LINENO: error:
13079 You need a make-utility that is able to use the variable
13081 If your version of make does not support VPATH correctly,
13082 please install GNU-make (possibly as gmake), and start
13083 configure with the following command:
13084 export MAKE=gmake; ./configure for sh-type shells
13085 setenv MAKE gmake; ./configure for csh-type shells
13086 Also please do remember to use gmake in this case every time
13087 you are trying to compile.
13089 echo "$as_me: error:
13090 You need a make-utility that is able to use the variable
13092 If your version of make does not support VPATH correctly,
13093 please install GNU-make (possibly as gmake), and start
13094 configure with the following command:
13095 export MAKE=gmake; ./configure for sh-type shells
13096 setenv MAKE gmake; ./configure for csh-type shells
13097 Also please do remember to use gmake in this case every time
13098 you are trying to compile.
13100 { (exit 1); exit 1; }; }
13102 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13103 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13105 if test "$LN_S" = "ln -s"; then
13106 echo "$as_me:$LINENO: result: yes" >&5
13107 echo "${ECHO_T}yes" >&6
13109 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13110 echo "${ECHO_T}no, using $LN_S" >&6
13115 if test "x$XLCXX" = "xyes"; then
13116 CXXFLAGS
="$CXXFLAGS -qunique"
13121 powerpc
-*-darwin* )
13122 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13123 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13124 cat >conftest.
$ac_ext <<_ACEOF
13127 cat confdefs.h
>>conftest.
$ac_ext
13128 cat >>conftest.
$ac_ext <<_ACEOF
13129 /* end confdefs.h. */
13134 #ifndef __POWERPC__
13135 choke me for lack of PowerPC
13142 rm -f conftest.
$ac_objext
13143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13144 (eval $ac_compile) 2>conftest.er1
13146 grep -v '^ *+' conftest.er1
>conftest.err
13148 cat conftest.err
>&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); } &&
13151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; } &&
13157 { ac_try
='test -s conftest.$ac_objext'
13158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13159 (eval $ac_try) 2>&5
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; }; then
13163 echo "$as_me:$LINENO: result: yes" >&5
13164 echo "${ECHO_T}yes" >&6
13166 echo "$as_me: failed program was:" >&5
13167 sed 's/^/| /' conftest.
$ac_ext >&5
13169 echo "$as_me:$LINENO: result: no" >&5
13170 echo "${ECHO_T}no" >&6
13171 cat >>confdefs.h
<<\_ACEOF
13172 #define __POWERPC__ 1
13177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13178 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13179 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13180 cat >conftest.
$ac_ext <<_ACEOF
13183 cat confdefs.h
>>conftest.
$ac_ext
13184 cat >>conftest.
$ac_ext <<_ACEOF
13185 /* end confdefs.h. */
13186 #include <CoreFoundation/CFBase.h>
13196 rm -f conftest.
$ac_objext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13198 (eval $ac_compile) 2>conftest.er1
13200 grep -v '^ *+' conftest.er1
>conftest.err
13202 cat conftest.err
>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } &&
13205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13207 (eval $ac_try) 2>&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); }; } &&
13211 { ac_try
='test -s conftest.$ac_objext'
13212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13213 (eval $ac_try) 2>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); }; }; then
13217 echo "$as_me:$LINENO: result: yes" >&5
13218 echo "${ECHO_T}yes" >&6
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.
$ac_ext >&5
13223 echo "$as_me:$LINENO: result: no" >&5
13224 echo "${ECHO_T}no" >&6
13225 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13226 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13227 cat >conftest.
$ac_ext <<_ACEOF
13230 cat confdefs.h
>>conftest.
$ac_ext
13231 cat >>conftest.
$ac_ext <<_ACEOF
13232 /* end confdefs.h. */
13233 #define __CF_USE_FRAMEWORK_INCLUDES__
13234 #include <CoreFoundation/CFBase.h>
13244 rm -f conftest.
$ac_objext
13245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13246 (eval $ac_compile) 2>conftest.er1
13248 grep -v '^ *+' conftest.er1
>conftest.err
13250 cat conftest.err
>&5
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); } &&
13253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13255 (eval $ac_try) 2>&5
13257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13258 (exit $ac_status); }; } &&
13259 { ac_try
='test -s conftest.$ac_objext'
13260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13261 (eval $ac_try) 2>&5
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }; }; then
13265 echo "$as_me:$LINENO: result: yes" >&5
13266 echo "${ECHO_T}yes" >&6
13267 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13269 echo "$as_me: failed program was:" >&5
13270 sed 's/^/| /' conftest.
$ac_ext >&5
13272 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13273 See \`config.log' for more details." >&5
13274 echo "$as_me: error: no. CoreFoundation not available.
13275 See \`config.log' for more details." >&2;}
13276 { (exit 1); exit 1; }; }
13279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13288 *-pc-os2_emx | *-pc-os2-emx )
13289 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13290 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13291 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13292 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13293 echo $ECHO_N "(cached) $ECHO_C" >&6
13295 ac_check_lib_save_LIBS
=$LIBS
13296 LIBS
="-lcExt $LIBS"
13297 cat >conftest.
$ac_ext <<_ACEOF
13300 cat confdefs.h
>>conftest.
$ac_ext
13301 cat >>conftest.
$ac_ext <<_ACEOF
13302 /* end confdefs.h. */
13304 /* Override any gcc2 internal prototype to avoid an error. */
13308 /* We use char because int might match the return type of a gcc2
13309 builtin and then its argument prototype would still apply. */
13319 rm -f conftest.
$ac_objext conftest
$ac_exeext
13320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13321 (eval $ac_link) 2>conftest.er1
13323 grep -v '^ *+' conftest.er1
>conftest.err
13325 cat conftest.err
>&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); } &&
13328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13330 (eval $ac_try) 2>&5
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); }; } &&
13334 { ac_try
='test -s conftest$ac_exeext'
13335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13336 (eval $ac_try) 2>&5
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); }; }; then
13340 ac_cv_lib_cExt_drand48
=yes
13342 echo "$as_me: failed program was:" >&5
13343 sed 's/^/| /' conftest.
$ac_ext >&5
13345 ac_cv_lib_cExt_drand48
=no
13347 rm -f conftest.err conftest.
$ac_objext \
13348 conftest
$ac_exeext conftest.
$ac_ext
13349 LIBS
=$ac_check_lib_save_LIBS
13351 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13352 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13353 if test $ac_cv_lib_cExt_drand48 = yes; then
13354 LIBS
="$LIBS -lcExt"
13358 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13360 echo "$as_me:$LINENO: checking for gcc version" >&5
13361 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
13362 if test "${wx_cv_gccversion+set}" = set; then
13363 echo $ECHO_N "(cached) $ECHO_C" >&6
13366 if test "$cross_compiling" = yes; then
13367 wx_cv_gccversion
="EMX2"
13370 cat >conftest.
$ac_ext <<_ACEOF
13373 cat confdefs.h
>>conftest.
$ac_ext
13374 cat >>conftest.
$ac_ext <<_ACEOF
13375 /* end confdefs.h. */
13381 FILE *f=fopen("conftestval", "w");
13386 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13388 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13398 rm -f conftest
$ac_exeext
13399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13400 (eval $ac_link) 2>&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13405 (eval $ac_try) 2>&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); }; }; then
13409 wx_cv_gccversion
=`cat conftestval`
13411 echo "$as_me: program exited with status $ac_status" >&5
13412 echo "$as_me: failed program was:" >&5
13413 sed 's/^/| /' conftest.
$ac_ext >&5
13415 ( exit $ac_status )
13416 wx_cv_gccversion
="EMX2"
13418 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13422 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13423 echo "${ECHO_T}$wx_cv_gccversion" >&6
13424 if test "$wx_cv_gccversion" = "EMX2"; then
13425 LIBS
="$LIBS -lstdcpp"
13426 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13428 if test "$wx_cv_gccversion" = "EMX3"; then
13429 LIBS
="$LIBS -lstdcxx"
13430 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13432 LIBS
="$LIBS -lstdc++"
13435 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13436 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13437 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13441 if test "$wxUSE_OMF" = "yes"; then
13442 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /EXEPACK -Zlinker /PMTYPE:PM"
13450 ac_cpp
='$CXXCPP $CPPFLAGS'
13451 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13452 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13453 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13456 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13457 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13458 if test "${ac_cv_string_strcasecmp+set}" = set; then
13459 echo $ECHO_N "(cached) $ECHO_C" >&6
13462 cat >conftest.
$ac_ext <<_ACEOF
13465 cat confdefs.h
>>conftest.
$ac_ext
13466 cat >>conftest.
$ac_ext <<_ACEOF
13467 /* end confdefs.h. */
13469 #include <string.h>
13475 strcasecmp("foo", "bar");
13481 rm -f conftest.
$ac_objext conftest
$ac_exeext
13482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13483 (eval $ac_link) 2>conftest.er1
13485 grep -v '^ *+' conftest.er1
>conftest.err
13487 cat conftest.err
>&5
13488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); } &&
13490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13492 (eval $ac_try) 2>&5
13494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); }; } &&
13496 { ac_try
='test -s conftest$ac_exeext'
13497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13498 (eval $ac_try) 2>&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); }; }; then
13502 ac_cv_string_strcasecmp
=yes
13504 echo "$as_me: failed program was:" >&5
13505 sed 's/^/| /' conftest.
$ac_ext >&5
13507 ac_cv_string_strcasecmp
=no
13510 rm -f conftest.err conftest.
$ac_objext \
13511 conftest
$ac_exeext conftest.
$ac_ext
13514 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13515 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13517 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13518 cat >>confdefs.h
<<\_ACEOF
13519 #define HAVE_STRCASECMP_IN_STRING_H 1
13523 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13524 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13525 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13526 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 cat >conftest.
$ac_ext <<_ACEOF
13532 cat confdefs.h
>>conftest.
$ac_ext
13533 cat >>conftest.
$ac_ext <<_ACEOF
13534 /* end confdefs.h. */
13536 #include <strings.h>
13542 strcasecmp("foo", "bar");
13548 rm -f conftest.
$ac_objext conftest
$ac_exeext
13549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13550 (eval $ac_link) 2>conftest.er1
13552 grep -v '^ *+' conftest.er1
>conftest.err
13554 cat conftest.err
>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); } &&
13557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13559 (eval $ac_try) 2>&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); }; } &&
13563 { ac_try
='test -s conftest$ac_exeext'
13564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13565 (eval $ac_try) 2>&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); }; }; then
13569 ac_cv_strings_strcasecmp
=yes
13571 echo "$as_me: failed program was:" >&5
13572 sed 's/^/| /' conftest.
$ac_ext >&5
13574 ac_cv_strings_strcasecmp
=no
13577 rm -f conftest.err conftest.
$ac_objext \
13578 conftest
$ac_exeext conftest.
$ac_ext
13581 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13582 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13584 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13585 cat >>confdefs.h
<<\_ACEOF
13586 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13590 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13591 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13592 { (exit 1); exit 1; }; }
13597 ac_cpp
='$CPP $CPPFLAGS'
13598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13606 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13607 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13608 if test "${ac_cv_header_stdc+set}" = set; then
13609 echo $ECHO_N "(cached) $ECHO_C" >&6
13611 cat >conftest.
$ac_ext <<_ACEOF
13614 cat confdefs.h
>>conftest.
$ac_ext
13615 cat >>conftest.
$ac_ext <<_ACEOF
13616 /* end confdefs.h. */
13617 #include <stdlib.h>
13618 #include <stdarg.h>
13619 #include <string.h>
13630 rm -f conftest.
$ac_objext
13631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13632 (eval $ac_compile) 2>conftest.er1
13634 grep -v '^ *+' conftest.er1
>conftest.err
13636 cat conftest.err
>&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); } &&
13639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13641 (eval $ac_try) 2>&5
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); }; } &&
13645 { ac_try
='test -s conftest.$ac_objext'
13646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13647 (eval $ac_try) 2>&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); }; }; then
13651 ac_cv_header_stdc
=yes
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.
$ac_ext >&5
13656 ac_cv_header_stdc
=no
13658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13660 if test $ac_cv_header_stdc = yes; then
13661 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13662 cat >conftest.
$ac_ext <<_ACEOF
13665 cat confdefs.h
>>conftest.
$ac_ext
13666 cat >>conftest.
$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 #include <string.h>
13671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13672 $EGREP "memchr" >/dev
/null
2>&1; then
13675 ac_cv_header_stdc
=no
13681 if test $ac_cv_header_stdc = yes; then
13682 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13683 cat >conftest.
$ac_ext <<_ACEOF
13686 cat confdefs.h
>>conftest.
$ac_ext
13687 cat >>conftest.
$ac_ext <<_ACEOF
13688 /* end confdefs.h. */
13689 #include <stdlib.h>
13692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13693 $EGREP "free" >/dev
/null
2>&1; then
13696 ac_cv_header_stdc
=no
13702 if test $ac_cv_header_stdc = yes; then
13703 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13704 if test "$cross_compiling" = yes; then
13707 cat >conftest.
$ac_ext <<_ACEOF
13710 cat confdefs.h
>>conftest.
$ac_ext
13711 cat >>conftest.
$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13714 #if ((' ' & 0x0FF) == 0x020)
13715 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13716 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13718 # define ISLOWER(c) \
13719 (('a' <= (c) && (c) <= 'i') \
13720 || ('j' <= (c) && (c) <= 'r') \
13721 || ('s' <= (c) && (c) <= 'z'))
13722 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13725 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13730 for (i = 0; i < 256; i++)
13731 if (XOR (islower (i), ISLOWER (i))
13732 || toupper (i) != TOUPPER (i))
13737 rm -f conftest
$ac_exeext
13738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13739 (eval $ac_link) 2>&5
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; }; then
13750 echo "$as_me: program exited with status $ac_status" >&5
13751 echo "$as_me: failed program was:" >&5
13752 sed 's/^/| /' conftest.
$ac_ext >&5
13754 ( exit $ac_status )
13755 ac_cv_header_stdc
=no
13757 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13761 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13762 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13763 if test $ac_cv_header_stdc = yes; then
13765 cat >>confdefs.h
<<\_ACEOF
13766 #define STDC_HEADERS 1
13771 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13781 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13782 inttypes.h stdint.h unistd.h
13784 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13785 echo "$as_me:$LINENO: checking for $ac_header" >&5
13786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13788 echo $ECHO_N "(cached) $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
13798 #include <$ac_header>
13800 rm -f conftest.
$ac_objext
13801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13802 (eval $ac_compile) 2>conftest.er1
13804 grep -v '^ *+' conftest.er1
>conftest.err
13806 cat conftest.err
>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } &&
13809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13811 (eval $ac_try) 2>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); }; } &&
13815 { ac_try
='test -s conftest.$ac_objext'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; }; then
13821 eval "$as_ac_Header=yes"
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.
$ac_ext >&5
13826 eval "$as_ac_Header=no"
13828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13833 cat >>confdefs.h
<<_ACEOF
13834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13843 for ac_header
in stdlib.h
13845 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13847 echo "$as_me:$LINENO: checking for $ac_header" >&5
13848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13850 echo $ECHO_N "(cached) $ECHO_C" >&6
13852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13855 # Is the header compilable?
13856 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13857 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13858 cat >conftest.
$ac_ext <<_ACEOF
13861 cat confdefs.h
>>conftest.
$ac_ext
13862 cat >>conftest.
$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 $ac_includes_default
13865 #include <$ac_header>
13867 rm -f conftest.
$ac_objext
13868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13869 (eval $ac_compile) 2>conftest.er1
13871 grep -v '^ *+' conftest.er1
>conftest.err
13873 cat conftest.err
>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); } &&
13876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878 (eval $ac_try) 2>&5
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); }; } &&
13882 { ac_try
='test -s conftest.$ac_objext'
13883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884 (eval $ac_try) 2>&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); }; }; then
13888 ac_header_compiler
=yes
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.
$ac_ext >&5
13893 ac_header_compiler
=no
13895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13897 echo "${ECHO_T}$ac_header_compiler" >&6
13899 # Is the header present?
13900 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13902 cat >conftest.
$ac_ext <<_ACEOF
13905 cat confdefs.h
>>conftest.
$ac_ext
13906 cat >>conftest.
$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13908 #include <$ac_header>
13910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13911 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13913 grep -v '^ *+' conftest.er1
>conftest.err
13915 cat conftest.err
>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } >/dev
/null
; then
13918 if test -s conftest.err
; then
13919 ac_cpp_err
=$ac_c_preproc_warn_flag
13920 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13927 if test -z "$ac_cpp_err"; then
13928 ac_header_preproc
=yes
13930 echo "$as_me: failed program was:" >&5
13931 sed 's/^/| /' conftest.
$ac_ext >&5
13933 ac_header_preproc
=no
13935 rm -f conftest.err conftest.
$ac_ext
13936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13937 echo "${ECHO_T}$ac_header_preproc" >&6
13939 # So? What about this header?
13940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13942 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13943 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13945 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13946 ac_header_preproc
=yes
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13951 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13952 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13953 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13954 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13956 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13958 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13959 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13960 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13963 ## ----------------------------------------- ##
13964 ## Report this to wx-dev@lists.wxwidgets.org ##
13965 ## ----------------------------------------- ##
13968 sed "s/^/$as_me: WARNING: /" >&2
13971 echo "$as_me:$LINENO: checking for $ac_header" >&5
13972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 eval "$as_ac_Header=\$ac_header_preproc"
13978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13983 cat >>confdefs.h
<<_ACEOF
13984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13992 for ac_header
in malloc.h
13994 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13996 echo "$as_me:$LINENO: checking for $ac_header" >&5
13997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13999 echo $ECHO_N "(cached) $ECHO_C" >&6
14001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14004 # Is the header compilable?
14005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14007 cat >conftest.
$ac_ext <<_ACEOF
14010 cat confdefs.h
>>conftest.
$ac_ext
14011 cat >>conftest.
$ac_ext <<_ACEOF
14012 /* end confdefs.h. */
14013 $ac_includes_default
14014 #include <$ac_header>
14016 rm -f conftest.
$ac_objext
14017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14018 (eval $ac_compile) 2>conftest.er1
14020 grep -v '^ *+' conftest.er1
>conftest.err
14022 cat conftest.err
>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } &&
14025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; } &&
14031 { ac_try
='test -s conftest.$ac_objext'
14032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14033 (eval $ac_try) 2>&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); }; }; then
14037 ac_header_compiler
=yes
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.
$ac_ext >&5
14042 ac_header_compiler
=no
14044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14046 echo "${ECHO_T}$ac_header_compiler" >&6
14048 # Is the header present?
14049 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14050 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14051 cat >conftest.
$ac_ext <<_ACEOF
14054 cat confdefs.h
>>conftest.
$ac_ext
14055 cat >>conftest.
$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14057 #include <$ac_header>
14059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14062 grep -v '^ *+' conftest.er1
>conftest.err
14064 cat conftest.err
>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); } >/dev
/null
; then
14067 if test -s conftest.err
; then
14068 ac_cpp_err
=$ac_c_preproc_warn_flag
14069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14076 if test -z "$ac_cpp_err"; then
14077 ac_header_preproc
=yes
14079 echo "$as_me: failed program was:" >&5
14080 sed 's/^/| /' conftest.
$ac_ext >&5
14082 ac_header_preproc
=no
14084 rm -f conftest.err conftest.
$ac_ext
14085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14086 echo "${ECHO_T}$ac_header_preproc" >&6
14088 # So? What about this header?
14089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14095 ac_header_preproc
=yes
14098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14112 ## ----------------------------------------- ##
14113 ## Report this to wx-dev@lists.wxwidgets.org ##
14114 ## ----------------------------------------- ##
14117 sed "s/^/$as_me: WARNING: /" >&2
14120 echo "$as_me:$LINENO: checking for $ac_header" >&5
14121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14125 eval "$as_ac_Header=\$ac_header_preproc"
14127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14132 cat >>confdefs.h
<<_ACEOF
14133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14141 for ac_header
in unistd.h
14143 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14145 echo "$as_me:$LINENO: checking for $ac_header" >&5
14146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14153 # Is the header compilable?
14154 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14156 cat >conftest.
$ac_ext <<_ACEOF
14159 cat confdefs.h
>>conftest.
$ac_ext
14160 cat >>conftest.
$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14162 $ac_includes_default
14163 #include <$ac_header>
14165 rm -f conftest.
$ac_objext
14166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14167 (eval $ac_compile) 2>conftest.er1
14169 grep -v '^ *+' conftest.er1
>conftest.err
14171 cat conftest.err
>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } &&
14174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; } &&
14180 { ac_try
='test -s conftest.$ac_objext'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; }; then
14186 ac_header_compiler
=yes
14188 echo "$as_me: failed program was:" >&5
14189 sed 's/^/| /' conftest.
$ac_ext >&5
14191 ac_header_compiler
=no
14193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14194 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14195 echo "${ECHO_T}$ac_header_compiler" >&6
14197 # Is the header present?
14198 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14200 cat >conftest.
$ac_ext <<_ACEOF
14203 cat confdefs.h
>>conftest.
$ac_ext
14204 cat >>conftest.
$ac_ext <<_ACEOF
14205 /* end confdefs.h. */
14206 #include <$ac_header>
14208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14209 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14211 grep -v '^ *+' conftest.er1
>conftest.err
14213 cat conftest.err
>&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } >/dev
/null
; then
14216 if test -s conftest.err
; then
14217 ac_cpp_err
=$ac_c_preproc_warn_flag
14218 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14225 if test -z "$ac_cpp_err"; then
14226 ac_header_preproc
=yes
14228 echo "$as_me: failed program was:" >&5
14229 sed 's/^/| /' conftest.
$ac_ext >&5
14231 ac_header_preproc
=no
14233 rm -f conftest.err conftest.
$ac_ext
14234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14235 echo "${ECHO_T}$ac_header_preproc" >&6
14237 # So? What about this header?
14238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14240 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14241 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14243 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14244 ac_header_preproc
=yes
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14252 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14253 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14254 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14257 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14258 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14261 ## ----------------------------------------- ##
14262 ## Report this to wx-dev@lists.wxwidgets.org ##
14263 ## ----------------------------------------- ##
14266 sed "s/^/$as_me: WARNING: /" >&2
14269 echo "$as_me:$LINENO: checking for $ac_header" >&5
14270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14272 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 eval "$as_ac_Header=\$ac_header_preproc"
14276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14281 cat >>confdefs.h
<<_ACEOF
14282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14290 for ac_header
in wchar.h
14292 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14294 echo "$as_me:$LINENO: checking for $ac_header" >&5
14295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14302 # Is the header compilable?
14303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14305 cat >conftest.
$ac_ext <<_ACEOF
14308 cat confdefs.h
>>conftest.
$ac_ext
14309 cat >>conftest.
$ac_ext <<_ACEOF
14310 /* end confdefs.h. */
14311 $ac_includes_default
14312 #include <$ac_header>
14314 rm -f conftest.
$ac_objext
14315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14316 (eval $ac_compile) 2>conftest.er1
14318 grep -v '^ *+' conftest.er1
>conftest.err
14320 cat conftest.err
>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 (eval $ac_try) 2>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; } &&
14329 { ac_try
='test -s conftest.$ac_objext'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; }; then
14335 ac_header_compiler
=yes
14337 echo "$as_me: failed program was:" >&5
14338 sed 's/^/| /' conftest.
$ac_ext >&5
14340 ac_header_compiler
=no
14342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14344 echo "${ECHO_T}$ac_header_compiler" >&6
14346 # Is the header present?
14347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14349 cat >conftest.
$ac_ext <<_ACEOF
14352 cat confdefs.h
>>conftest.
$ac_ext
14353 cat >>conftest.
$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14355 #include <$ac_header>
14357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14358 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14360 grep -v '^ *+' conftest.er1
>conftest.err
14362 cat conftest.err
>&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } >/dev
/null
; then
14365 if test -s conftest.err
; then
14366 ac_cpp_err
=$ac_c_preproc_warn_flag
14367 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14374 if test -z "$ac_cpp_err"; then
14375 ac_header_preproc
=yes
14377 echo "$as_me: failed program was:" >&5
14378 sed 's/^/| /' conftest.
$ac_ext >&5
14380 ac_header_preproc
=no
14382 rm -f conftest.err conftest.
$ac_ext
14383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14384 echo "${ECHO_T}$ac_header_preproc" >&6
14386 # So? What about this header?
14387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14392 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14393 ac_header_preproc
=yes
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14400 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14401 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14403 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14406 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14407 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14410 ## ----------------------------------------- ##
14411 ## Report this to wx-dev@lists.wxwidgets.org ##
14412 ## ----------------------------------------- ##
14415 sed "s/^/$as_me: WARNING: /" >&2
14418 echo "$as_me:$LINENO: checking for $ac_header" >&5
14419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14421 echo $ECHO_N "(cached) $ECHO_C" >&6
14423 eval "$as_ac_Header=\$ac_header_preproc"
14425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14430 cat >>confdefs.h
<<_ACEOF
14431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14439 if test "$ac_cv_header_wchar_h" != "yes"; then
14441 for ac_header
in wcstr.h
14443 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14445 echo "$as_me:$LINENO: checking for $ac_header" >&5
14446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14448 echo $ECHO_N "(cached) $ECHO_C" >&6
14450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14453 # Is the header compilable?
14454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14456 cat >conftest.
$ac_ext <<_ACEOF
14459 cat confdefs.h
>>conftest.
$ac_ext
14460 cat >>conftest.
$ac_ext <<_ACEOF
14461 /* end confdefs.h. */
14462 $ac_includes_default
14463 #include <$ac_header>
14465 rm -f conftest.
$ac_objext
14466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14467 (eval $ac_compile) 2>conftest.er1
14469 grep -v '^ *+' conftest.er1
>conftest.err
14471 cat conftest.err
>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } &&
14474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; } &&
14480 { ac_try
='test -s conftest.$ac_objext'
14481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14482 (eval $ac_try) 2>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; }; then
14486 ac_header_compiler
=yes
14488 echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.
$ac_ext >&5
14491 ac_header_compiler
=no
14493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14495 echo "${ECHO_T}$ac_header_compiler" >&6
14497 # Is the header present?
14498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14500 cat >conftest.
$ac_ext <<_ACEOF
14503 cat confdefs.h
>>conftest.
$ac_ext
14504 cat >>conftest.
$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14506 #include <$ac_header>
14508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14509 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14511 grep -v '^ *+' conftest.er1
>conftest.err
14513 cat conftest.err
>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } >/dev
/null
; then
14516 if test -s conftest.err
; then
14517 ac_cpp_err
=$ac_c_preproc_warn_flag
14518 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14525 if test -z "$ac_cpp_err"; then
14526 ac_header_preproc
=yes
14528 echo "$as_me: failed program was:" >&5
14529 sed 's/^/| /' conftest.
$ac_ext >&5
14531 ac_header_preproc
=no
14533 rm -f conftest.err conftest.
$ac_ext
14534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14535 echo "${ECHO_T}$ac_header_preproc" >&6
14537 # So? What about this header?
14538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14544 ac_header_preproc
=yes
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14551 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14553 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14554 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14557 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14561 ## ----------------------------------------- ##
14562 ## Report this to wx-dev@lists.wxwidgets.org ##
14563 ## ----------------------------------------- ##
14566 sed "s/^/$as_me: WARNING: /" >&2
14569 echo "$as_me:$LINENO: checking for $ac_header" >&5
14570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 eval "$as_ac_Header=\$ac_header_preproc"
14576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14581 cat >>confdefs.h
<<_ACEOF
14582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14592 for ac_header
in fnmatch.h
14594 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14596 echo "$as_me:$LINENO: checking for $ac_header" >&5
14597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14599 echo $ECHO_N "(cached) $ECHO_C" >&6
14601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14604 # Is the header compilable?
14605 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14606 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14607 cat >conftest.
$ac_ext <<_ACEOF
14610 cat confdefs.h
>>conftest.
$ac_ext
14611 cat >>conftest.
$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14613 $ac_includes_default
14614 #include <$ac_header>
14616 rm -f conftest.
$ac_objext
14617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14618 (eval $ac_compile) 2>conftest.er1
14620 grep -v '^ *+' conftest.er1
>conftest.err
14622 cat conftest.err
>&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); } &&
14625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14627 (eval $ac_try) 2>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; } &&
14631 { ac_try
='test -s conftest.$ac_objext'
14632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; }; then
14637 ac_header_compiler
=yes
14639 echo "$as_me: failed program was:" >&5
14640 sed 's/^/| /' conftest.
$ac_ext >&5
14642 ac_header_compiler
=no
14644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14646 echo "${ECHO_T}$ac_header_compiler" >&6
14648 # Is the header present?
14649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14651 cat >conftest.
$ac_ext <<_ACEOF
14654 cat confdefs.h
>>conftest.
$ac_ext
14655 cat >>conftest.
$ac_ext <<_ACEOF
14656 /* end confdefs.h. */
14657 #include <$ac_header>
14659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14660 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14662 grep -v '^ *+' conftest.er1
>conftest.err
14664 cat conftest.err
>&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } >/dev
/null
; then
14667 if test -s conftest.err
; then
14668 ac_cpp_err
=$ac_c_preproc_warn_flag
14669 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14676 if test -z "$ac_cpp_err"; then
14677 ac_header_preproc
=yes
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.
$ac_ext >&5
14682 ac_header_preproc
=no
14684 rm -f conftest.err conftest.
$ac_ext
14685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14686 echo "${ECHO_T}$ac_header_preproc" >&6
14688 # So? What about this header?
14689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14695 ac_header_preproc
=yes
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14712 ## ----------------------------------------- ##
14713 ## Report this to wx-dev@lists.wxwidgets.org ##
14714 ## ----------------------------------------- ##
14717 sed "s/^/$as_me: WARNING: /" >&2
14720 echo "$as_me:$LINENO: checking for $ac_header" >&5
14721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14723 echo $ECHO_N "(cached) $ECHO_C" >&6
14725 eval "$as_ac_Header=\$ac_header_preproc"
14727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14732 cat >>confdefs.h
<<_ACEOF
14733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14741 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14743 for ac_func
in fnmatch
14745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14746 echo "$as_me:$LINENO: checking for $ac_func" >&5
14747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14748 if eval "test \"\${$as_ac_var+set}\" = set"; then
14749 echo $ECHO_N "(cached) $ECHO_C" >&6
14751 cat >conftest.
$ac_ext <<_ACEOF
14754 cat confdefs.h
>>conftest.
$ac_ext
14755 cat >>conftest.
$ac_ext <<_ACEOF
14756 /* end confdefs.h. */
14757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14759 #define $ac_func innocuous_$ac_func
14761 /* System header to define __stub macros and hopefully few prototypes,
14762 which can conflict with char $ac_func (); below.
14763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14764 <limits.h> exists even on freestanding compilers. */
14767 # include <limits.h>
14769 # include <assert.h>
14774 /* Override any gcc2 internal prototype to avoid an error. */
14779 /* We use char because int might match the return type of a gcc2
14780 builtin and then its argument prototype would still apply. */
14782 /* The GNU C library defines this for functions which it implements
14783 to always fail with ENOSYS. Some functions are actually named
14784 something starting with __ and the normal name is an alias. */
14785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14788 char (*f) () = $ac_func;
14797 return f != $ac_func;
14802 rm -f conftest.
$ac_objext conftest
$ac_exeext
14803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14804 (eval $ac_link) 2>conftest.er1
14806 grep -v '^ *+' conftest.er1
>conftest.err
14808 cat conftest.err
>&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } &&
14811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; } &&
14817 { ac_try
='test -s conftest$ac_exeext'
14818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14819 (eval $ac_try) 2>&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; }; then
14823 eval "$as_ac_var=yes"
14825 echo "$as_me: failed program was:" >&5
14826 sed 's/^/| /' conftest.
$ac_ext >&5
14828 eval "$as_ac_var=no"
14830 rm -f conftest.err conftest.
$ac_objext \
14831 conftest
$ac_exeext conftest.
$ac_ext
14833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14835 if test `eval echo '${'$as_ac_var'}'` = yes; then
14836 cat >>confdefs.h
<<_ACEOF
14837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14846 for ac_header
in langinfo.h
14848 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14850 echo "$as_me:$LINENO: checking for $ac_header" >&5
14851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14853 echo $ECHO_N "(cached) $ECHO_C" >&6
14855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14858 # Is the header compilable?
14859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14861 cat >conftest.
$ac_ext <<_ACEOF
14864 cat confdefs.h
>>conftest.
$ac_ext
14865 cat >>conftest.
$ac_ext <<_ACEOF
14866 /* end confdefs.h. */
14867 $ac_includes_default
14868 #include <$ac_header>
14870 rm -f conftest.
$ac_objext
14871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14872 (eval $ac_compile) 2>conftest.er1
14874 grep -v '^ *+' conftest.er1
>conftest.err
14876 cat conftest.err
>&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); } &&
14879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; } &&
14885 { ac_try
='test -s conftest.$ac_objext'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; }; then
14891 ac_header_compiler
=yes
14893 echo "$as_me: failed program was:" >&5
14894 sed 's/^/| /' conftest.
$ac_ext >&5
14896 ac_header_compiler
=no
14898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14900 echo "${ECHO_T}$ac_header_compiler" >&6
14902 # Is the header present?
14903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14905 cat >conftest.
$ac_ext <<_ACEOF
14908 cat confdefs.h
>>conftest.
$ac_ext
14909 cat >>conftest.
$ac_ext <<_ACEOF
14910 /* end confdefs.h. */
14911 #include <$ac_header>
14913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14914 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14916 grep -v '^ *+' conftest.er1
>conftest.err
14918 cat conftest.err
>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } >/dev
/null
; then
14921 if test -s conftest.err
; then
14922 ac_cpp_err
=$ac_c_preproc_warn_flag
14923 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14930 if test -z "$ac_cpp_err"; then
14931 ac_header_preproc
=yes
14933 echo "$as_me: failed program was:" >&5
14934 sed 's/^/| /' conftest.
$ac_ext >&5
14936 ac_header_preproc
=no
14938 rm -f conftest.err conftest.
$ac_ext
14939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14940 echo "${ECHO_T}$ac_header_preproc" >&6
14942 # So? What about this header?
14943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14949 ac_header_preproc
=yes
14952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14956 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14958 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14959 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14962 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14966 ## ----------------------------------------- ##
14967 ## Report this to wx-dev@lists.wxwidgets.org ##
14968 ## ----------------------------------------- ##
14971 sed "s/^/$as_me: WARNING: /" >&2
14974 echo "$as_me:$LINENO: checking for $ac_header" >&5
14975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14977 echo $ECHO_N "(cached) $ECHO_C" >&6
14979 eval "$as_ac_Header=\$ac_header_preproc"
14981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14986 cat >>confdefs.h
<<_ACEOF
14987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14996 *-pc-os2_emx | *-pc-os2-emx )
14997 if test $ac_cv_header_langinfo_h = "yes" \
14998 -a \
( "$wx_cv_gccversion" = "EMX2" \
14999 -o "$wx_cv_gccversion" = "EMX3" \
15000 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15001 LIBS
="$LIBS -lintl"
15006 if test "$wxUSE_GUI" = "yes"; then
15007 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15009 for ac_header
in X
11/Xlib.h
15011 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15013 echo "$as_me:$LINENO: checking for $ac_header" >&5
15014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15016 echo $ECHO_N "(cached) $ECHO_C" >&6
15018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15021 # Is the header compilable?
15022 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15023 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15024 cat >conftest.
$ac_ext <<_ACEOF
15027 cat confdefs.h
>>conftest.
$ac_ext
15028 cat >>conftest.
$ac_ext <<_ACEOF
15029 /* end confdefs.h. */
15030 $ac_includes_default
15031 #include <$ac_header>
15033 rm -f conftest.
$ac_objext
15034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15035 (eval $ac_compile) 2>conftest.er1
15037 grep -v '^ *+' conftest.er1
>conftest.err
15039 cat conftest.err
>&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); } &&
15042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15044 (eval $ac_try) 2>&5
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); }; } &&
15048 { ac_try
='test -s conftest.$ac_objext'
15049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050 (eval $ac_try) 2>&5
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); }; }; then
15054 ac_header_compiler
=yes
15056 echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.
$ac_ext >&5
15059 ac_header_compiler
=no
15061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15063 echo "${ECHO_T}$ac_header_compiler" >&6
15065 # Is the header present?
15066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15068 cat >conftest.
$ac_ext <<_ACEOF
15071 cat confdefs.h
>>conftest.
$ac_ext
15072 cat >>conftest.
$ac_ext <<_ACEOF
15073 /* end confdefs.h. */
15074 #include <$ac_header>
15076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15079 grep -v '^ *+' conftest.er1
>conftest.err
15081 cat conftest.err
>&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } >/dev
/null
; then
15084 if test -s conftest.err
; then
15085 ac_cpp_err
=$ac_c_preproc_warn_flag
15086 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15093 if test -z "$ac_cpp_err"; then
15094 ac_header_preproc
=yes
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.
$ac_ext >&5
15099 ac_header_preproc
=no
15101 rm -f conftest.err conftest.
$ac_ext
15102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15103 echo "${ECHO_T}$ac_header_preproc" >&6
15105 # So? What about this header?
15106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15112 ac_header_preproc
=yes
15115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15119 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15121 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15122 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15125 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15129 ## ----------------------------------------- ##
15130 ## Report this to wx-dev@lists.wxwidgets.org ##
15131 ## ----------------------------------------- ##
15134 sed "s/^/$as_me: WARNING: /" >&2
15137 echo "$as_me:$LINENO: checking for $ac_header" >&5
15138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 eval "$as_ac_Header=\$ac_header_preproc"
15144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15149 cat >>confdefs.h
<<_ACEOF
15150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15158 for ac_header
in X
11/XKBlib.h
15160 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15161 echo "$as_me:$LINENO: checking for $ac_header" >&5
15162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15164 echo $ECHO_N "(cached) $ECHO_C" >&6
15166 cat >conftest.
$ac_ext <<_ACEOF
15169 cat confdefs.h
>>conftest.
$ac_ext
15170 cat >>conftest.
$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15173 #if HAVE_X11_XLIB_H
15174 #include <X11/Xlib.h>
15178 #include <$ac_header>
15180 rm -f conftest.
$ac_objext
15181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15182 (eval $ac_compile) 2>conftest.er1
15184 grep -v '^ *+' conftest.er1
>conftest.err
15186 cat conftest.err
>&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); } &&
15189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; } &&
15195 { ac_try
='test -s conftest.$ac_objext'
15196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15197 (eval $ac_try) 2>&5
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; }; then
15201 eval "$as_ac_Header=yes"
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.
$ac_ext >&5
15206 eval "$as_ac_Header=no"
15208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15213 cat >>confdefs.h
<<_ACEOF
15214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15225 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15226 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15227 if test "${ac_cv_c_const+set}" = set; then
15228 echo $ECHO_N "(cached) $ECHO_C" >&6
15230 cat >conftest.
$ac_ext <<_ACEOF
15233 cat confdefs.h
>>conftest.
$ac_ext
15234 cat >>conftest.
$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15240 /* FIXME: Include the comments suggested by Paul. */
15241 #ifndef __cplusplus
15242 /* Ultrix mips cc rejects this. */
15243 typedef int charset[2];
15245 /* SunOS 4.1.1 cc rejects this. */
15246 char const *const *ccp;
15248 /* NEC SVR4.0.2 mips cc rejects this. */
15249 struct point {int x, y;};
15250 static struct point const zero = {0,0};
15251 /* AIX XL C 1.02.0.0 rejects this.
15252 It does not let you subtract one const X* pointer from another in
15253 an arm of an if-expression whose if-part is not a constant
15255 const char *g = "string";
15256 ccp = &g + (g ? g-g : 0);
15257 /* HPUX 7.0 cc rejects these. */
15260 ccp = (char const *const *) p;
15261 { /* SCO 3.2v4 cc rejects this. */
15263 char const *s = 0 ? (char *) 0 : (char const *) 0;
15267 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15268 int x[] = {25, 17};
15269 const int *foo = &x[0];
15272 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15273 typedef const int *iptr;
15277 { /* AIX XL C 1.02.0.0 rejects this saying
15278 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15279 struct s { int j; const int *ap[3]; };
15280 struct s *b; b->j = 5;
15282 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15283 const int foo = 10;
15291 rm -f conftest.
$ac_objext
15292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15293 (eval $ac_compile) 2>conftest.er1
15295 grep -v '^ *+' conftest.er1
>conftest.err
15297 cat conftest.err
>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; } &&
15306 { ac_try
='test -s conftest.$ac_objext'
15307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15308 (eval $ac_try) 2>&5
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; }; then
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.
$ac_ext >&5
15319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15321 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15322 echo "${ECHO_T}$ac_cv_c_const" >&6
15323 if test $ac_cv_c_const = no
; then
15325 cat >>confdefs.h
<<\_ACEOF
15331 echo "$as_me:$LINENO: checking for inline" >&5
15332 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15333 if test "${ac_cv_c_inline+set}" = set; then
15334 echo $ECHO_N "(cached) $ECHO_C" >&6
15337 for ac_kw
in inline __inline__ __inline
; do
15338 cat >conftest.
$ac_ext <<_ACEOF
15341 cat confdefs.h
>>conftest.
$ac_ext
15342 cat >>conftest.
$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15344 #ifndef __cplusplus
15346 static $ac_kw foo_t static_foo () {return 0; }
15347 $ac_kw foo_t foo () {return 0; }
15351 rm -f conftest.
$ac_objext
15352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15353 (eval $ac_compile) 2>conftest.er1
15355 grep -v '^ *+' conftest.er1
>conftest.err
15357 cat conftest.err
>&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } &&
15360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; } &&
15366 { ac_try
='test -s conftest.$ac_objext'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; }; then
15372 ac_cv_c_inline
=$ac_kw; break
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.
$ac_ext >&5
15378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15382 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15383 echo "${ECHO_T}$ac_cv_c_inline" >&6
15386 case $ac_cv_c_inline in
15389 case $ac_cv_c_inline in
15391 *) ac_val
=$ac_cv_c_inline;;
15393 cat >>confdefs.h
<<_ACEOF
15394 #ifndef __cplusplus
15395 #define inline $ac_val
15402 echo "$as_me:$LINENO: checking for char" >&5
15403 echo $ECHO_N "checking for char... $ECHO_C" >&6
15404 if test "${ac_cv_type_char+set}" = set; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15407 cat >conftest.
$ac_ext <<_ACEOF
15410 cat confdefs.h
>>conftest.
$ac_ext
15411 cat >>conftest.
$ac_ext <<_ACEOF
15412 /* end confdefs.h. */
15413 $ac_includes_default
15425 rm -f conftest.
$ac_objext
15426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15427 (eval $ac_compile) 2>conftest.er1
15429 grep -v '^ *+' conftest.er1
>conftest.err
15431 cat conftest.err
>&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); } &&
15434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; } &&
15440 { ac_try
='test -s conftest.$ac_objext'
15441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15442 (eval $ac_try) 2>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }; }; then
15446 ac_cv_type_char
=yes
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.
$ac_ext >&5
15453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15455 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15456 echo "${ECHO_T}$ac_cv_type_char" >&6
15458 echo "$as_me:$LINENO: checking size of char" >&5
15459 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15460 if test "${ac_cv_sizeof_char+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 if test "$ac_cv_type_char" = yes; then
15464 # The cast to unsigned long works around a bug in the HP C Compiler
15465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15467 # This bug is HP SR number 8606223364.
15468 if test "$cross_compiling" = yes; then
15469 # Depending upon the size, compute the lo and hi bounds.
15470 cat >conftest.
$ac_ext <<_ACEOF
15473 cat confdefs.h
>>conftest.
$ac_ext
15474 cat >>conftest.
$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15476 $ac_includes_default
15480 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15487 rm -f conftest.
$ac_objext
15488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15489 (eval $ac_compile) 2>conftest.er1
15491 grep -v '^ *+' conftest.er1
>conftest.err
15493 cat conftest.err
>&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); } &&
15496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15498 (eval $ac_try) 2>&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); }; } &&
15502 { ac_try
='test -s conftest.$ac_objext'
15503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15504 (eval $ac_try) 2>&5
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 (exit $ac_status); }; }; then
15510 cat >conftest.
$ac_ext <<_ACEOF
15513 cat confdefs.h
>>conftest.
$ac_ext
15514 cat >>conftest.
$ac_ext <<_ACEOF
15515 /* end confdefs.h. */
15516 $ac_includes_default
15520 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15527 rm -f conftest.
$ac_objext
15528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15529 (eval $ac_compile) 2>conftest.er1
15531 grep -v '^ *+' conftest.er1
>conftest.err
15533 cat conftest.err
>&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); } &&
15536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15538 (eval $ac_try) 2>&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); }; } &&
15542 { ac_try
='test -s conftest.$ac_objext'
15543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15544 (eval $ac_try) 2>&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); }; }; then
15548 ac_hi
=$ac_mid; break
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.
$ac_ext >&5
15553 ac_lo
=`expr $ac_mid + 1`
15554 if test $ac_lo -le $ac_mid; then
15558 ac_mid
=`expr 2 '*' $ac_mid + 1`
15560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15563 echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.
$ac_ext >&5
15566 cat >conftest.
$ac_ext <<_ACEOF
15569 cat confdefs.h
>>conftest.
$ac_ext
15570 cat >>conftest.
$ac_ext <<_ACEOF
15571 /* end confdefs.h. */
15572 $ac_includes_default
15576 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15583 rm -f conftest.
$ac_objext
15584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15585 (eval $ac_compile) 2>conftest.er1
15587 grep -v '^ *+' conftest.er1
>conftest.err
15589 cat conftest.err
>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } &&
15592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15594 (eval $ac_try) 2>&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; } &&
15598 { ac_try
='test -s conftest.$ac_objext'
15599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600 (eval $ac_try) 2>&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); }; }; then
15606 cat >conftest.
$ac_ext <<_ACEOF
15609 cat confdefs.h
>>conftest.
$ac_ext
15610 cat >>conftest.
$ac_ext <<_ACEOF
15611 /* end confdefs.h. */
15612 $ac_includes_default
15616 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15623 rm -f conftest.
$ac_objext
15624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15625 (eval $ac_compile) 2>conftest.er1
15627 grep -v '^ *+' conftest.er1
>conftest.err
15629 cat conftest.err
>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } &&
15632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; } &&
15638 { ac_try
='test -s conftest.$ac_objext'
15639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15640 (eval $ac_try) 2>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; }; then
15644 ac_lo
=$ac_mid; break
15646 echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.
$ac_ext >&5
15649 ac_hi
=`expr '(' $ac_mid ')' - 1`
15650 if test $ac_mid -le $ac_hi; then
15654 ac_mid
=`expr 2 '*' $ac_mid`
15656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15659 echo "$as_me: failed program was:" >&5
15660 sed 's/^/| /' conftest.
$ac_ext >&5
15664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15667 # Binary search between lo and hi bounds.
15668 while test "x$ac_lo" != "x$ac_hi"; do
15669 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15670 cat >conftest.
$ac_ext <<_ACEOF
15673 cat confdefs.h
>>conftest.
$ac_ext
15674 cat >>conftest.
$ac_ext <<_ACEOF
15675 /* end confdefs.h. */
15676 $ac_includes_default
15680 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15687 rm -f conftest.
$ac_objext
15688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15689 (eval $ac_compile) 2>conftest.er1
15691 grep -v '^ *+' conftest.er1
>conftest.err
15693 cat conftest.err
>&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
15696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15698 (eval $ac_try) 2>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); }; } &&
15702 { ac_try
='test -s conftest.$ac_objext'
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; }; then
15710 echo "$as_me: failed program was:" >&5
15711 sed 's/^/| /' conftest.
$ac_ext >&5
15713 ac_lo
=`expr '(' $ac_mid ')' + 1`
15715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15718 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15719 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15720 See \`config.log' for more details." >&5
15721 echo "$as_me: error: cannot compute sizeof (char), 77
15722 See \`config.log' for more details." >&2;}
15723 { (exit 1); exit 1; }; } ;;
15726 if test "$cross_compiling" = yes; then
15727 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15728 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15729 { (exit 1); exit 1; }; }
15731 cat >conftest.
$ac_ext <<_ACEOF
15734 cat confdefs.h
>>conftest.
$ac_ext
15735 cat >>conftest.
$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15737 $ac_includes_default
15738 long longval () { return (long) (sizeof (char)); }
15739 unsigned long ulongval () { return (long) (sizeof (char)); }
15741 #include <stdlib.h>
15746 FILE *f = fopen ("conftest.val", "w");
15749 if (((long) (sizeof (char))) < 0)
15751 long i = longval ();
15752 if (i != ((long) (sizeof (char))))
15754 fprintf (f, "%ld\n", i);
15758 unsigned long i = ulongval ();
15759 if (i != ((long) (sizeof (char))))
15761 fprintf (f, "%lu\n", i);
15763 exit (ferror (f) || fclose (f) != 0);
15769 rm -f conftest
$ac_exeext
15770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15771 (eval $ac_link) 2>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; }; then
15780 ac_cv_sizeof_char
=`cat conftest.val`
15782 echo "$as_me: program exited with status $ac_status" >&5
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.
$ac_ext >&5
15786 ( exit $ac_status )
15787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15788 See \`config.log' for more details." >&5
15789 echo "$as_me: error: cannot compute sizeof (char), 77
15790 See \`config.log' for more details." >&2;}
15791 { (exit 1); exit 1; }; }
15793 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15798 ac_cv_sizeof_char
=0
15801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15802 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15803 cat >>confdefs.h
<<_ACEOF
15804 #define SIZEOF_CHAR $ac_cv_sizeof_char
15808 echo "$as_me:$LINENO: checking for short" >&5
15809 echo $ECHO_N "checking for short... $ECHO_C" >&6
15810 if test "${ac_cv_type_short+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15813 cat >conftest.
$ac_ext <<_ACEOF
15816 cat confdefs.h
>>conftest.
$ac_ext
15817 cat >>conftest.
$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819 $ac_includes_default
15825 if (sizeof (short))
15831 rm -f conftest.
$ac_objext
15832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15833 (eval $ac_compile) 2>conftest.er1
15835 grep -v '^ *+' conftest.er1
>conftest.err
15837 cat conftest.err
>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); } &&
15840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } &&
15846 { ac_try
='test -s conftest.$ac_objext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15852 ac_cv_type_short
=yes
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.
$ac_ext >&5
15857 ac_cv_type_short
=no
15859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15861 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15862 echo "${ECHO_T}$ac_cv_type_short" >&6
15864 echo "$as_me:$LINENO: checking size of short" >&5
15865 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15866 if test "${ac_cv_sizeof_short+set}" = set; then
15867 echo $ECHO_N "(cached) $ECHO_C" >&6
15869 if test "$ac_cv_type_short" = yes; then
15870 # The cast to unsigned long works around a bug in the HP C Compiler
15871 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15872 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15873 # This bug is HP SR number 8606223364.
15874 if test "$cross_compiling" = yes; then
15875 # Depending upon the size, compute the lo and hi bounds.
15876 cat >conftest.
$ac_ext <<_ACEOF
15879 cat confdefs.h
>>conftest.
$ac_ext
15880 cat >>conftest.
$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 $ac_includes_default
15886 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15893 rm -f conftest.
$ac_objext
15894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15895 (eval $ac_compile) 2>conftest.er1
15897 grep -v '^ *+' conftest.er1
>conftest.err
15899 cat conftest.err
>&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); } &&
15902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15904 (eval $ac_try) 2>&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); }; } &&
15908 { ac_try
='test -s conftest.$ac_objext'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; }; then
15916 cat >conftest.
$ac_ext <<_ACEOF
15919 cat confdefs.h
>>conftest.
$ac_ext
15920 cat >>conftest.
$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 $ac_includes_default
15926 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15933 rm -f conftest.
$ac_objext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>conftest.er1
15937 grep -v '^ *+' conftest.er1
>conftest.err
15939 cat conftest.err
>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try
='test -s conftest.$ac_objext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 ac_hi
=$ac_mid; break
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.
$ac_ext >&5
15959 ac_lo
=`expr $ac_mid + 1`
15960 if test $ac_lo -le $ac_mid; then
15964 ac_mid
=`expr 2 '*' $ac_mid + 1`
15966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15969 echo "$as_me: failed program was:" >&5
15970 sed 's/^/| /' conftest.
$ac_ext >&5
15972 cat >conftest.
$ac_ext <<_ACEOF
15975 cat confdefs.h
>>conftest.
$ac_ext
15976 cat >>conftest.
$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978 $ac_includes_default
15982 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15989 rm -f conftest.
$ac_objext
15990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15991 (eval $ac_compile) 2>conftest.er1
15993 grep -v '^ *+' conftest.er1
>conftest.err
15995 cat conftest.err
>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); } &&
15998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; } &&
16004 { ac_try
='test -s conftest.$ac_objext'
16005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16006 (eval $ac_try) 2>&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); }; }; then
16012 cat >conftest.
$ac_ext <<_ACEOF
16015 cat confdefs.h
>>conftest.
$ac_ext
16016 cat >>conftest.
$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16018 $ac_includes_default
16022 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16029 rm -f conftest.
$ac_objext
16030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16031 (eval $ac_compile) 2>conftest.er1
16033 grep -v '^ *+' conftest.er1
>conftest.err
16035 cat conftest.err
>&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); } &&
16038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; } &&
16044 { ac_try
='test -s conftest.$ac_objext'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; }; then
16050 ac_lo
=$ac_mid; break
16052 echo "$as_me: failed program was:" >&5
16053 sed 's/^/| /' conftest.
$ac_ext >&5
16055 ac_hi
=`expr '(' $ac_mid ')' - 1`
16056 if test $ac_mid -le $ac_hi; then
16060 ac_mid
=`expr 2 '*' $ac_mid`
16062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16065 echo "$as_me: failed program was:" >&5
16066 sed 's/^/| /' conftest.
$ac_ext >&5
16070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16073 # Binary search between lo and hi bounds.
16074 while test "x$ac_lo" != "x$ac_hi"; do
16075 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16076 cat >conftest.
$ac_ext <<_ACEOF
16079 cat confdefs.h
>>conftest.
$ac_ext
16080 cat >>conftest.
$ac_ext <<_ACEOF
16081 /* end confdefs.h. */
16082 $ac_includes_default
16086 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16093 rm -f conftest.
$ac_objext
16094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16095 (eval $ac_compile) 2>conftest.er1
16097 grep -v '^ *+' conftest.er1
>conftest.err
16099 cat conftest.err
>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); } &&
16102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; } &&
16108 { ac_try
='test -s conftest.$ac_objext'
16109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16110 (eval $ac_try) 2>&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); }; }; then
16116 echo "$as_me: failed program was:" >&5
16117 sed 's/^/| /' conftest.
$ac_ext >&5
16119 ac_lo
=`expr '(' $ac_mid ')' + 1`
16121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16124 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16125 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16126 See \`config.log' for more details." >&5
16127 echo "$as_me: error: cannot compute sizeof (short), 77
16128 See \`config.log' for more details." >&2;}
16129 { (exit 1); exit 1; }; } ;;
16132 if test "$cross_compiling" = yes; then
16133 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16134 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16135 { (exit 1); exit 1; }; }
16137 cat >conftest.
$ac_ext <<_ACEOF
16140 cat confdefs.h
>>conftest.
$ac_ext
16141 cat >>conftest.
$ac_ext <<_ACEOF
16142 /* end confdefs.h. */
16143 $ac_includes_default
16144 long longval () { return (long) (sizeof (short)); }
16145 unsigned long ulongval () { return (long) (sizeof (short)); }
16147 #include <stdlib.h>
16152 FILE *f = fopen ("conftest.val", "w");
16155 if (((long) (sizeof (short))) < 0)
16157 long i = longval ();
16158 if (i != ((long) (sizeof (short))))
16160 fprintf (f, "%ld\n", i);
16164 unsigned long i = ulongval ();
16165 if (i != ((long) (sizeof (short))))
16167 fprintf (f, "%lu\n", i);
16169 exit (ferror (f) || fclose (f) != 0);
16175 rm -f conftest
$ac_exeext
16176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16177 (eval $ac_link) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16182 (eval $ac_try) 2>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); }; }; then
16186 ac_cv_sizeof_short
=`cat conftest.val`
16188 echo "$as_me: program exited with status $ac_status" >&5
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.
$ac_ext >&5
16192 ( exit $ac_status )
16193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16194 See \`config.log' for more details." >&5
16195 echo "$as_me: error: cannot compute sizeof (short), 77
16196 See \`config.log' for more details." >&2;}
16197 { (exit 1); exit 1; }; }
16199 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16204 ac_cv_sizeof_short
=0
16207 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16208 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16209 cat >>confdefs.h
<<_ACEOF
16210 #define SIZEOF_SHORT $ac_cv_sizeof_short
16214 echo "$as_me:$LINENO: checking for void *" >&5
16215 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16216 if test "${ac_cv_type_void_p+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16219 cat >conftest.
$ac_ext <<_ACEOF
16222 cat confdefs.h
>>conftest.
$ac_ext
16223 cat >>conftest.
$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16225 $ac_includes_default
16231 if (sizeof (void *))
16237 rm -f conftest.
$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 2>conftest.er1
16241 grep -v '^ *+' conftest.er1
>conftest.err
16243 cat conftest.err
>&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; } &&
16252 { ac_try
='test -s conftest.$ac_objext'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16258 ac_cv_type_void_p
=yes
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.
$ac_ext >&5
16263 ac_cv_type_void_p
=no
16265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16267 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16268 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16270 echo "$as_me:$LINENO: checking size of void *" >&5
16271 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16272 if test "${ac_cv_sizeof_void_p+set}" = set; then
16273 echo $ECHO_N "(cached) $ECHO_C" >&6
16275 if test "$ac_cv_type_void_p" = yes; then
16276 # The cast to unsigned long works around a bug in the HP C Compiler
16277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16279 # This bug is HP SR number 8606223364.
16280 if test "$cross_compiling" = yes; then
16281 # Depending upon the size, compute the lo and hi bounds.
16282 cat >conftest.
$ac_ext <<_ACEOF
16285 cat confdefs.h
>>conftest.
$ac_ext
16286 cat >>conftest.
$ac_ext <<_ACEOF
16287 /* end confdefs.h. */
16288 $ac_includes_default
16292 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16299 rm -f conftest.
$ac_objext
16300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16301 (eval $ac_compile) 2>conftest.er1
16303 grep -v '^ *+' conftest.er1
>conftest.err
16305 cat conftest.err
>&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); } &&
16308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 (eval $ac_try) 2>&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; } &&
16314 { ac_try
='test -s conftest.$ac_objext'
16315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16316 (eval $ac_try) 2>&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; }; then
16322 cat >conftest.
$ac_ext <<_ACEOF
16325 cat confdefs.h
>>conftest.
$ac_ext
16326 cat >>conftest.
$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16328 $ac_includes_default
16332 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16339 rm -f conftest.
$ac_objext
16340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16341 (eval $ac_compile) 2>conftest.er1
16343 grep -v '^ *+' conftest.er1
>conftest.err
16345 cat conftest.err
>&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); } &&
16348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; } &&
16354 { ac_try
='test -s conftest.$ac_objext'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; }; then
16360 ac_hi
=$ac_mid; break
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.
$ac_ext >&5
16365 ac_lo
=`expr $ac_mid + 1`
16366 if test $ac_lo -le $ac_mid; then
16370 ac_mid
=`expr 2 '*' $ac_mid + 1`
16372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16375 echo "$as_me: failed program was:" >&5
16376 sed 's/^/| /' conftest.
$ac_ext >&5
16378 cat >conftest.
$ac_ext <<_ACEOF
16381 cat confdefs.h
>>conftest.
$ac_ext
16382 cat >>conftest.
$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16384 $ac_includes_default
16388 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16395 rm -f conftest.
$ac_objext
16396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16397 (eval $ac_compile) 2>conftest.er1
16399 grep -v '^ *+' conftest.er1
>conftest.err
16401 cat conftest.err
>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); } &&
16404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; } &&
16410 { ac_try
='test -s conftest.$ac_objext'
16411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16412 (eval $ac_try) 2>&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); }; }; then
16418 cat >conftest.
$ac_ext <<_ACEOF
16421 cat confdefs.h
>>conftest.
$ac_ext
16422 cat >>conftest.
$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16424 $ac_includes_default
16428 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16435 rm -f conftest.
$ac_objext
16436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16437 (eval $ac_compile) 2>conftest.er1
16439 grep -v '^ *+' conftest.er1
>conftest.err
16441 cat conftest.err
>&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); } &&
16444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16446 (eval $ac_try) 2>&5
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); }; } &&
16450 { ac_try
='test -s conftest.$ac_objext'
16451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16452 (eval $ac_try) 2>&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); }; }; then
16456 ac_lo
=$ac_mid; break
16458 echo "$as_me: failed program was:" >&5
16459 sed 's/^/| /' conftest.
$ac_ext >&5
16461 ac_hi
=`expr '(' $ac_mid ')' - 1`
16462 if test $ac_mid -le $ac_hi; then
16466 ac_mid
=`expr 2 '*' $ac_mid`
16468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.
$ac_ext >&5
16476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16479 # Binary search between lo and hi bounds.
16480 while test "x$ac_lo" != "x$ac_hi"; do
16481 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16482 cat >conftest.
$ac_ext <<_ACEOF
16485 cat confdefs.h
>>conftest.
$ac_ext
16486 cat >>conftest.
$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 $ac_includes_default
16492 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16499 rm -f conftest.
$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>conftest.er1
16503 grep -v '^ *+' conftest.er1
>conftest.err
16505 cat conftest.err
>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } &&
16508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; } &&
16514 { ac_try
='test -s conftest.$ac_objext'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.
$ac_ext >&5
16525 ac_lo
=`expr '(' $ac_mid ')' + 1`
16527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16530 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16531 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16532 See \`config.log' for more details." >&5
16533 echo "$as_me: error: cannot compute sizeof (void *), 77
16534 See \`config.log' for more details." >&2;}
16535 { (exit 1); exit 1; }; } ;;
16538 if test "$cross_compiling" = yes; then
16539 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16540 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16541 { (exit 1); exit 1; }; }
16543 cat >conftest.
$ac_ext <<_ACEOF
16546 cat confdefs.h
>>conftest.
$ac_ext
16547 cat >>conftest.
$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549 $ac_includes_default
16550 long longval () { return (long) (sizeof (void *)); }
16551 unsigned long ulongval () { return (long) (sizeof (void *)); }
16553 #include <stdlib.h>
16558 FILE *f = fopen ("conftest.val", "w");
16561 if (((long) (sizeof (void *))) < 0)
16563 long i = longval ();
16564 if (i != ((long) (sizeof (void *))))
16566 fprintf (f, "%ld\n", i);
16570 unsigned long i = ulongval ();
16571 if (i != ((long) (sizeof (void *))))
16573 fprintf (f, "%lu\n", i);
16575 exit (ferror (f) || fclose (f) != 0);
16581 rm -f conftest
$ac_exeext
16582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16583 (eval $ac_link) 2>&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16588 (eval $ac_try) 2>&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); }; }; then
16592 ac_cv_sizeof_void_p
=`cat conftest.val`
16594 echo "$as_me: program exited with status $ac_status" >&5
16595 echo "$as_me: failed program was:" >&5
16596 sed 's/^/| /' conftest.
$ac_ext >&5
16598 ( exit $ac_status )
16599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16600 See \`config.log' for more details." >&5
16601 echo "$as_me: error: cannot compute sizeof (void *), 77
16602 See \`config.log' for more details." >&2;}
16603 { (exit 1); exit 1; }; }
16605 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16610 ac_cv_sizeof_void_p
=0
16613 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16614 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16615 cat >>confdefs.h
<<_ACEOF
16616 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16620 echo "$as_me:$LINENO: checking for int" >&5
16621 echo $ECHO_N "checking for int... $ECHO_C" >&6
16622 if test "${ac_cv_type_int+set}" = set; then
16623 echo $ECHO_N "(cached) $ECHO_C" >&6
16625 cat >conftest.
$ac_ext <<_ACEOF
16628 cat confdefs.h
>>conftest.
$ac_ext
16629 cat >>conftest.
$ac_ext <<_ACEOF
16630 /* end confdefs.h. */
16631 $ac_includes_default
16643 rm -f conftest.
$ac_objext
16644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16645 (eval $ac_compile) 2>conftest.er1
16647 grep -v '^ *+' conftest.er1
>conftest.err
16649 cat conftest.err
>&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; } &&
16658 { ac_try
='test -s conftest.$ac_objext'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.
$ac_ext >&5
16671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16673 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16674 echo "${ECHO_T}$ac_cv_type_int" >&6
16676 echo "$as_me:$LINENO: checking size of int" >&5
16677 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16678 if test "${ac_cv_sizeof_int+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16681 if test "$ac_cv_type_int" = yes; then
16682 # The cast to unsigned long works around a bug in the HP C Compiler
16683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16685 # This bug is HP SR number 8606223364.
16686 if test "$cross_compiling" = yes; then
16687 # Depending upon the size, compute the lo and hi bounds.
16688 cat >conftest.
$ac_ext <<_ACEOF
16691 cat confdefs.h
>>conftest.
$ac_ext
16692 cat >>conftest.
$ac_ext <<_ACEOF
16693 /* end confdefs.h. */
16694 $ac_includes_default
16698 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16705 rm -f conftest.
$ac_objext
16706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16707 (eval $ac_compile) 2>conftest.er1
16709 grep -v '^ *+' conftest.er1
>conftest.err
16711 cat conftest.err
>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } &&
16714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; } &&
16720 { ac_try
='test -s conftest.$ac_objext'
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 (eval $ac_try) 2>&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); }; }; then
16728 cat >conftest.
$ac_ext <<_ACEOF
16731 cat confdefs.h
>>conftest.
$ac_ext
16732 cat >>conftest.
$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16734 $ac_includes_default
16738 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16745 rm -f conftest.
$ac_objext
16746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16747 (eval $ac_compile) 2>conftest.er1
16749 grep -v '^ *+' conftest.er1
>conftest.err
16751 cat conftest.err
>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } &&
16754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16756 (eval $ac_try) 2>&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); }; } &&
16760 { ac_try
='test -s conftest.$ac_objext'
16761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16762 (eval $ac_try) 2>&5
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); }; }; then
16766 ac_hi
=$ac_mid; break
16768 echo "$as_me: failed program was:" >&5
16769 sed 's/^/| /' conftest.
$ac_ext >&5
16771 ac_lo
=`expr $ac_mid + 1`
16772 if test $ac_lo -le $ac_mid; then
16776 ac_mid
=`expr 2 '*' $ac_mid + 1`
16778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.
$ac_ext >&5
16784 cat >conftest.
$ac_ext <<_ACEOF
16787 cat confdefs.h
>>conftest.
$ac_ext
16788 cat >>conftest.
$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16790 $ac_includes_default
16794 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16801 rm -f conftest.
$ac_objext
16802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16803 (eval $ac_compile) 2>conftest.er1
16805 grep -v '^ *+' conftest.er1
>conftest.err
16807 cat conftest.err
>&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); } &&
16810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; } &&
16816 { ac_try
='test -s conftest.$ac_objext'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; }; then
16824 cat >conftest.
$ac_ext <<_ACEOF
16827 cat confdefs.h
>>conftest.
$ac_ext
16828 cat >>conftest.
$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16830 $ac_includes_default
16834 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16841 rm -f conftest.
$ac_objext
16842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16843 (eval $ac_compile) 2>conftest.er1
16845 grep -v '^ *+' conftest.er1
>conftest.err
16847 cat conftest.err
>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); } &&
16850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; } &&
16856 { ac_try
='test -s conftest.$ac_objext'
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858 (eval $ac_try) 2>&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }; }; then
16862 ac_lo
=$ac_mid; break
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.
$ac_ext >&5
16867 ac_hi
=`expr '(' $ac_mid ')' - 1`
16868 if test $ac_mid -le $ac_hi; then
16872 ac_mid
=`expr 2 '*' $ac_mid`
16874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16877 echo "$as_me: failed program was:" >&5
16878 sed 's/^/| /' conftest.
$ac_ext >&5
16882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16885 # Binary search between lo and hi bounds.
16886 while test "x$ac_lo" != "x$ac_hi"; do
16887 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16888 cat >conftest.
$ac_ext <<_ACEOF
16891 cat confdefs.h
>>conftest.
$ac_ext
16892 cat >>conftest.
$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 $ac_includes_default
16898 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16905 rm -f conftest.
$ac_objext
16906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16907 (eval $ac_compile) 2>conftest.er1
16909 grep -v '^ *+' conftest.er1
>conftest.err
16911 cat conftest.err
>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; } &&
16920 { ac_try
='test -s conftest.$ac_objext'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; }; then
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.
$ac_ext >&5
16931 ac_lo
=`expr '(' $ac_mid ')' + 1`
16933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16936 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16938 See \`config.log' for more details." >&5
16939 echo "$as_me: error: cannot compute sizeof (int), 77
16940 See \`config.log' for more details." >&2;}
16941 { (exit 1); exit 1; }; } ;;
16944 if test "$cross_compiling" = yes; then
16945 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16946 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16947 { (exit 1); exit 1; }; }
16949 cat >conftest.
$ac_ext <<_ACEOF
16952 cat confdefs.h
>>conftest.
$ac_ext
16953 cat >>conftest.
$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955 $ac_includes_default
16956 long longval () { return (long) (sizeof (int)); }
16957 unsigned long ulongval () { return (long) (sizeof (int)); }
16959 #include <stdlib.h>
16964 FILE *f = fopen ("conftest.val", "w");
16967 if (((long) (sizeof (int))) < 0)
16969 long i = longval ();
16970 if (i != ((long) (sizeof (int))))
16972 fprintf (f, "%ld\n", i);
16976 unsigned long i = ulongval ();
16977 if (i != ((long) (sizeof (int))))
16979 fprintf (f, "%lu\n", i);
16981 exit (ferror (f) || fclose (f) != 0);
16987 rm -f conftest
$ac_exeext
16988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16989 (eval $ac_link) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16994 (eval $ac_try) 2>&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); }; }; then
16998 ac_cv_sizeof_int
=`cat conftest.val`
17000 echo "$as_me: program exited with status $ac_status" >&5
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.
$ac_ext >&5
17004 ( exit $ac_status )
17005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17006 See \`config.log' for more details." >&5
17007 echo "$as_me: error: cannot compute sizeof (int), 77
17008 See \`config.log' for more details." >&2;}
17009 { (exit 1); exit 1; }; }
17011 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17019 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17020 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17021 cat >>confdefs.h
<<_ACEOF
17022 #define SIZEOF_INT $ac_cv_sizeof_int
17026 echo "$as_me:$LINENO: checking for long" >&5
17027 echo $ECHO_N "checking for long... $ECHO_C" >&6
17028 if test "${ac_cv_type_long+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17031 cat >conftest.
$ac_ext <<_ACEOF
17034 cat confdefs.h
>>conftest.
$ac_ext
17035 cat >>conftest.
$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 $ac_includes_default
17049 rm -f conftest.
$ac_objext
17050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17051 (eval $ac_compile) 2>conftest.er1
17053 grep -v '^ *+' conftest.er1
>conftest.err
17055 cat conftest.err
>&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } &&
17058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try
='test -s conftest.$ac_objext'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17070 ac_cv_type_long
=yes
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.
$ac_ext >&5
17077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17079 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17080 echo "${ECHO_T}$ac_cv_type_long" >&6
17082 echo "$as_me:$LINENO: checking size of long" >&5
17083 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17084 if test "${ac_cv_sizeof_long+set}" = set; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17087 if test "$ac_cv_type_long" = yes; then
17088 # The cast to unsigned long works around a bug in the HP C Compiler
17089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17091 # This bug is HP SR number 8606223364.
17092 if test "$cross_compiling" = yes; then
17093 # Depending upon the size, compute the lo and hi bounds.
17094 cat >conftest.
$ac_ext <<_ACEOF
17097 cat confdefs.h
>>conftest.
$ac_ext
17098 cat >>conftest.
$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 $ac_includes_default
17104 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17111 rm -f conftest.
$ac_objext
17112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17113 (eval $ac_compile) 2>conftest.er1
17115 grep -v '^ *+' conftest.er1
>conftest.err
17117 cat conftest.err
>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } &&
17120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; } &&
17126 { ac_try
='test -s conftest.$ac_objext'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; }; then
17134 cat >conftest.
$ac_ext <<_ACEOF
17137 cat confdefs.h
>>conftest.
$ac_ext
17138 cat >>conftest.
$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17140 $ac_includes_default
17144 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17151 rm -f conftest.
$ac_objext
17152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17153 (eval $ac_compile) 2>conftest.er1
17155 grep -v '^ *+' conftest.er1
>conftest.err
17157 cat conftest.err
>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } &&
17160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17162 (eval $ac_try) 2>&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); }; } &&
17166 { ac_try
='test -s conftest.$ac_objext'
17167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17168 (eval $ac_try) 2>&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); }; }; then
17172 ac_hi
=$ac_mid; break
17174 echo "$as_me: failed program was:" >&5
17175 sed 's/^/| /' conftest.
$ac_ext >&5
17177 ac_lo
=`expr $ac_mid + 1`
17178 if test $ac_lo -le $ac_mid; then
17182 ac_mid
=`expr 2 '*' $ac_mid + 1`
17184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17187 echo "$as_me: failed program was:" >&5
17188 sed 's/^/| /' conftest.
$ac_ext >&5
17190 cat >conftest.
$ac_ext <<_ACEOF
17193 cat confdefs.h
>>conftest.
$ac_ext
17194 cat >>conftest.
$ac_ext <<_ACEOF
17195 /* end confdefs.h. */
17196 $ac_includes_default
17200 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17207 rm -f conftest.
$ac_objext
17208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17209 (eval $ac_compile) 2>conftest.er1
17211 grep -v '^ *+' conftest.er1
>conftest.err
17213 cat conftest.err
>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } &&
17216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17218 (eval $ac_try) 2>&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; } &&
17222 { ac_try
='test -s conftest.$ac_objext'
17223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17224 (eval $ac_try) 2>&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); }; }; then
17230 cat >conftest.
$ac_ext <<_ACEOF
17233 cat confdefs.h
>>conftest.
$ac_ext
17234 cat >>conftest.
$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 $ac_includes_default
17240 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17247 rm -f conftest.
$ac_objext
17248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17249 (eval $ac_compile) 2>conftest.er1
17251 grep -v '^ *+' conftest.er1
>conftest.err
17253 cat conftest.err
>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); } &&
17256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; } &&
17262 { ac_try
='test -s conftest.$ac_objext'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; }; then
17268 ac_lo
=$ac_mid; break
17270 echo "$as_me: failed program was:" >&5
17271 sed 's/^/| /' conftest.
$ac_ext >&5
17273 ac_hi
=`expr '(' $ac_mid ')' - 1`
17274 if test $ac_mid -le $ac_hi; then
17278 ac_mid
=`expr 2 '*' $ac_mid`
17280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.
$ac_ext >&5
17288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17291 # Binary search between lo and hi bounds.
17292 while test "x$ac_lo" != "x$ac_hi"; do
17293 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17294 cat >conftest.
$ac_ext <<_ACEOF
17297 cat confdefs.h
>>conftest.
$ac_ext
17298 cat >>conftest.
$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300 $ac_includes_default
17304 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17311 rm -f conftest.
$ac_objext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17313 (eval $ac_compile) 2>conftest.er1
17315 grep -v '^ *+' conftest.er1
>conftest.err
17317 cat conftest.err
>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; } &&
17326 { ac_try
='test -s conftest.$ac_objext'
17327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17328 (eval $ac_try) 2>&5
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); }; }; then
17334 echo "$as_me: failed program was:" >&5
17335 sed 's/^/| /' conftest.
$ac_ext >&5
17337 ac_lo
=`expr '(' $ac_mid ')' + 1`
17339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17342 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17343 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17344 See \`config.log' for more details." >&5
17345 echo "$as_me: error: cannot compute sizeof (long), 77
17346 See \`config.log' for more details." >&2;}
17347 { (exit 1); exit 1; }; } ;;
17350 if test "$cross_compiling" = yes; then
17351 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17352 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17353 { (exit 1); exit 1; }; }
17355 cat >conftest.
$ac_ext <<_ACEOF
17358 cat confdefs.h
>>conftest.
$ac_ext
17359 cat >>conftest.
$ac_ext <<_ACEOF
17360 /* end confdefs.h. */
17361 $ac_includes_default
17362 long longval () { return (long) (sizeof (long)); }
17363 unsigned long ulongval () { return (long) (sizeof (long)); }
17365 #include <stdlib.h>
17370 FILE *f = fopen ("conftest.val", "w");
17373 if (((long) (sizeof (long))) < 0)
17375 long i = longval ();
17376 if (i != ((long) (sizeof (long))))
17378 fprintf (f, "%ld\n", i);
17382 unsigned long i = ulongval ();
17383 if (i != ((long) (sizeof (long))))
17385 fprintf (f, "%lu\n", i);
17387 exit (ferror (f) || fclose (f) != 0);
17393 rm -f conftest
$ac_exeext
17394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17395 (eval $ac_link) 2>&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; }; then
17404 ac_cv_sizeof_long
=`cat conftest.val`
17406 echo "$as_me: program exited with status $ac_status" >&5
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.
$ac_ext >&5
17410 ( exit $ac_status )
17411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17412 See \`config.log' for more details." >&5
17413 echo "$as_me: error: cannot compute sizeof (long), 77
17414 See \`config.log' for more details." >&2;}
17415 { (exit 1); exit 1; }; }
17417 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17422 ac_cv_sizeof_long
=0
17425 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17426 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17427 cat >>confdefs.h
<<_ACEOF
17428 #define SIZEOF_LONG $ac_cv_sizeof_long
17432 echo "$as_me:$LINENO: checking for size_t" >&5
17433 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17434 if test "${ac_cv_type_size_t+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17437 cat >conftest.
$ac_ext <<_ACEOF
17440 cat confdefs.h
>>conftest.
$ac_ext
17441 cat >>conftest.
$ac_ext <<_ACEOF
17442 /* end confdefs.h. */
17443 $ac_includes_default
17449 if (sizeof (size_t))
17455 rm -f conftest.
$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17459 grep -v '^ *+' conftest.er1
>conftest.err
17461 cat conftest.err
>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; } &&
17470 { ac_try
='test -s conftest.$ac_objext'
17471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17472 (eval $ac_try) 2>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; }; then
17476 ac_cv_type_size_t
=yes
17478 echo "$as_me: failed program was:" >&5
17479 sed 's/^/| /' conftest.
$ac_ext >&5
17481 ac_cv_type_size_t
=no
17483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17485 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17486 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17488 echo "$as_me:$LINENO: checking size of size_t" >&5
17489 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17490 if test "${ac_cv_sizeof_size_t+set}" = set; then
17491 echo $ECHO_N "(cached) $ECHO_C" >&6
17493 if test "$ac_cv_type_size_t" = yes; then
17494 # The cast to unsigned long works around a bug in the HP C Compiler
17495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17497 # This bug is HP SR number 8606223364.
17498 if test "$cross_compiling" = yes; then
17499 # Depending upon the size, compute the lo and hi bounds.
17500 cat >conftest.
$ac_ext <<_ACEOF
17503 cat confdefs.h
>>conftest.
$ac_ext
17504 cat >>conftest.
$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17506 $ac_includes_default
17510 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17517 rm -f conftest.
$ac_objext
17518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17519 (eval $ac_compile) 2>conftest.er1
17521 grep -v '^ *+' conftest.er1
>conftest.err
17523 cat conftest.err
>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; } &&
17532 { ac_try
='test -s conftest.$ac_objext'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; }; then
17540 cat >conftest.
$ac_ext <<_ACEOF
17543 cat confdefs.h
>>conftest.
$ac_ext
17544 cat >>conftest.
$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 $ac_includes_default
17550 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17557 rm -f conftest.
$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559 (eval $ac_compile) 2>conftest.er1
17561 grep -v '^ *+' conftest.er1
>conftest.err
17563 cat conftest.err
>&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } &&
17566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try
='test -s conftest.$ac_objext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17578 ac_hi
=$ac_mid; break
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.
$ac_ext >&5
17583 ac_lo
=`expr $ac_mid + 1`
17584 if test $ac_lo -le $ac_mid; then
17588 ac_mid
=`expr 2 '*' $ac_mid + 1`
17590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17593 echo "$as_me: failed program was:" >&5
17594 sed 's/^/| /' conftest.
$ac_ext >&5
17596 cat >conftest.
$ac_ext <<_ACEOF
17599 cat confdefs.h
>>conftest.
$ac_ext
17600 cat >>conftest.
$ac_ext <<_ACEOF
17601 /* end confdefs.h. */
17602 $ac_includes_default
17606 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17613 rm -f conftest.
$ac_objext
17614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17615 (eval $ac_compile) 2>conftest.er1
17617 grep -v '^ *+' conftest.er1
>conftest.err
17619 cat conftest.err
>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); } &&
17622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17624 (eval $ac_try) 2>&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); }; } &&
17628 { ac_try
='test -s conftest.$ac_objext'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; }; then
17636 cat >conftest.
$ac_ext <<_ACEOF
17639 cat confdefs.h
>>conftest.
$ac_ext
17640 cat >>conftest.
$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 $ac_includes_default
17646 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17653 rm -f conftest.
$ac_objext
17654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17655 (eval $ac_compile) 2>conftest.er1
17657 grep -v '^ *+' conftest.er1
>conftest.err
17659 cat conftest.err
>&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } &&
17662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17664 (eval $ac_try) 2>&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); }; } &&
17668 { ac_try
='test -s conftest.$ac_objext'
17669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17670 (eval $ac_try) 2>&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); }; }; then
17674 ac_lo
=$ac_mid; break
17676 echo "$as_me: failed program was:" >&5
17677 sed 's/^/| /' conftest.
$ac_ext >&5
17679 ac_hi
=`expr '(' $ac_mid ')' - 1`
17680 if test $ac_mid -le $ac_hi; then
17684 ac_mid
=`expr 2 '*' $ac_mid`
17686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.
$ac_ext >&5
17694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17697 # Binary search between lo and hi bounds.
17698 while test "x$ac_lo" != "x$ac_hi"; do
17699 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17700 cat >conftest.
$ac_ext <<_ACEOF
17703 cat confdefs.h
>>conftest.
$ac_ext
17704 cat >>conftest.
$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17706 $ac_includes_default
17710 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17717 rm -f conftest.
$ac_objext
17718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17719 (eval $ac_compile) 2>conftest.er1
17721 grep -v '^ *+' conftest.er1
>conftest.err
17723 cat conftest.err
>&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } &&
17726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17728 (eval $ac_try) 2>&5
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); }; } &&
17732 { ac_try
='test -s conftest.$ac_objext'
17733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17734 (eval $ac_try) 2>&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); }; }; then
17740 echo "$as_me: failed program was:" >&5
17741 sed 's/^/| /' conftest.
$ac_ext >&5
17743 ac_lo
=`expr '(' $ac_mid ')' + 1`
17745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17748 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17749 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17750 See \`config.log' for more details." >&5
17751 echo "$as_me: error: cannot compute sizeof (size_t), 77
17752 See \`config.log' for more details." >&2;}
17753 { (exit 1); exit 1; }; } ;;
17756 if test "$cross_compiling" = yes; then
17757 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17758 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17759 { (exit 1); exit 1; }; }
17761 cat >conftest.
$ac_ext <<_ACEOF
17764 cat confdefs.h
>>conftest.
$ac_ext
17765 cat >>conftest.
$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17767 $ac_includes_default
17768 long longval () { return (long) (sizeof (size_t)); }
17769 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17771 #include <stdlib.h>
17776 FILE *f = fopen ("conftest.val", "w");
17779 if (((long) (sizeof (size_t))) < 0)
17781 long i = longval ();
17782 if (i != ((long) (sizeof (size_t))))
17784 fprintf (f, "%ld\n", i);
17788 unsigned long i = ulongval ();
17789 if (i != ((long) (sizeof (size_t))))
17791 fprintf (f, "%lu\n", i);
17793 exit (ferror (f) || fclose (f) != 0);
17799 rm -f conftest
$ac_exeext
17800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17801 (eval $ac_link) 2>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; }; then
17810 ac_cv_sizeof_size_t
=`cat conftest.val`
17812 echo "$as_me: program exited with status $ac_status" >&5
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.
$ac_ext >&5
17816 ( exit $ac_status )
17817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17818 See \`config.log' for more details." >&5
17819 echo "$as_me: error: cannot compute sizeof (size_t), 77
17820 See \`config.log' for more details." >&2;}
17821 { (exit 1); exit 1; }; }
17823 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17828 ac_cv_sizeof_size_t
=0
17831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17832 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17833 cat >>confdefs.h
<<_ACEOF
17834 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17841 echo "$as_me:$LINENO: checking for long long" >&5
17842 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17843 if test "${ac_cv_type_long_long+set}" = set; then
17844 echo $ECHO_N "(cached) $ECHO_C" >&6
17846 cat >conftest.
$ac_ext <<_ACEOF
17849 cat confdefs.h
>>conftest.
$ac_ext
17850 cat >>conftest.
$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17852 $ac_includes_default
17856 if ((long long *) 0)
17858 if (sizeof (long long))
17864 rm -f conftest.
$ac_objext
17865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17866 (eval $ac_compile) 2>conftest.er1
17868 grep -v '^ *+' conftest.er1
>conftest.err
17870 cat conftest.err
>&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); } &&
17873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; } &&
17879 { ac_try
='test -s conftest.$ac_objext'
17880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881 (eval $ac_try) 2>&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); }; }; then
17885 ac_cv_type_long_long
=yes
17887 echo "$as_me: failed program was:" >&5
17888 sed 's/^/| /' conftest.
$ac_ext >&5
17890 ac_cv_type_long_long
=no
17892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17894 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17895 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17897 echo "$as_me:$LINENO: checking size of long long" >&5
17898 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17899 if test "${ac_cv_sizeof_long_long+set}" = set; then
17900 echo $ECHO_N "(cached) $ECHO_C" >&6
17902 if test "$ac_cv_type_long_long" = yes; then
17903 # The cast to unsigned long works around a bug in the HP C Compiler
17904 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17905 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17906 # This bug is HP SR number 8606223364.
17907 if test "$cross_compiling" = yes; then
17908 # Depending upon the size, compute the lo and hi bounds.
17909 cat >conftest.
$ac_ext <<_ACEOF
17912 cat confdefs.h
>>conftest.
$ac_ext
17913 cat >>conftest.
$ac_ext <<_ACEOF
17914 /* end confdefs.h. */
17915 $ac_includes_default
17919 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17926 rm -f conftest.
$ac_objext
17927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17928 (eval $ac_compile) 2>conftest.er1
17930 grep -v '^ *+' conftest.er1
>conftest.err
17932 cat conftest.err
>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } &&
17935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17941 { ac_try
='test -s conftest.$ac_objext'
17942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17943 (eval $ac_try) 2>&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); }; }; then
17949 cat >conftest.
$ac_ext <<_ACEOF
17952 cat confdefs.h
>>conftest.
$ac_ext
17953 cat >>conftest.
$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 $ac_includes_default
17959 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17966 rm -f conftest.
$ac_objext
17967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17968 (eval $ac_compile) 2>conftest.er1
17970 grep -v '^ *+' conftest.er1
>conftest.err
17972 cat conftest.err
>&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); } &&
17975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; } &&
17981 { ac_try
='test -s conftest.$ac_objext'
17982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 (eval $ac_try) 2>&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; }; then
17987 ac_hi
=$ac_mid; break
17989 echo "$as_me: failed program was:" >&5
17990 sed 's/^/| /' conftest.
$ac_ext >&5
17992 ac_lo
=`expr $ac_mid + 1`
17993 if test $ac_lo -le $ac_mid; then
17997 ac_mid
=`expr 2 '*' $ac_mid + 1`
17999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.
$ac_ext >&5
18005 cat >conftest.
$ac_ext <<_ACEOF
18008 cat confdefs.h
>>conftest.
$ac_ext
18009 cat >>conftest.
$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18011 $ac_includes_default
18015 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18022 rm -f conftest.
$ac_objext
18023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18024 (eval $ac_compile) 2>conftest.er1
18026 grep -v '^ *+' conftest.er1
>conftest.err
18028 cat conftest.err
>&5
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); } &&
18031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18033 (eval $ac_try) 2>&5
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); }; } &&
18037 { ac_try
='test -s conftest.$ac_objext'
18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 (eval $ac_try) 2>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; }; then
18045 cat >conftest.
$ac_ext <<_ACEOF
18048 cat confdefs.h
>>conftest.
$ac_ext
18049 cat >>conftest.
$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 $ac_includes_default
18055 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18062 rm -f conftest.
$ac_objext
18063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18064 (eval $ac_compile) 2>conftest.er1
18066 grep -v '^ *+' conftest.er1
>conftest.err
18068 cat conftest.err
>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); } &&
18071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; } &&
18077 { ac_try
='test -s conftest.$ac_objext'
18078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18079 (eval $ac_try) 2>&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; }; then
18083 ac_lo
=$ac_mid; break
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.
$ac_ext >&5
18088 ac_hi
=`expr '(' $ac_mid ')' - 1`
18089 if test $ac_mid -le $ac_hi; then
18093 ac_mid
=`expr 2 '*' $ac_mid`
18095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18098 echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.
$ac_ext >&5
18103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18106 # Binary search between lo and hi bounds.
18107 while test "x$ac_lo" != "x$ac_hi"; do
18108 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18109 cat >conftest.
$ac_ext <<_ACEOF
18112 cat confdefs.h
>>conftest.
$ac_ext
18113 cat >>conftest.
$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 $ac_includes_default
18119 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18126 rm -f conftest.
$ac_objext
18127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18128 (eval $ac_compile) 2>conftest.er1
18130 grep -v '^ *+' conftest.er1
>conftest.err
18132 cat conftest.err
>&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); } &&
18135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18137 (eval $ac_try) 2>&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); }; } &&
18141 { ac_try
='test -s conftest.$ac_objext'
18142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18143 (eval $ac_try) 2>&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); }; }; then
18149 echo "$as_me: failed program was:" >&5
18150 sed 's/^/| /' conftest.
$ac_ext >&5
18152 ac_lo
=`expr '(' $ac_mid ')' + 1`
18154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18157 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18158 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18159 See \`config.log' for more details." >&5
18160 echo "$as_me: error: cannot compute sizeof (long long), 77
18161 See \`config.log' for more details." >&2;}
18162 { (exit 1); exit 1; }; } ;;
18165 if test "$cross_compiling" = yes; then
18166 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18167 echo "$as_me: error: internal error: not reached in cross-compile" >&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" || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try
='test -s conftest.$ac_objext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18293 ac_cv_type_long_long
=yes
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.
$ac_ext >&5
18298 ac_cv_type_long_long
=no
18300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18302 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18303 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18305 echo "$as_me:$LINENO: checking size of long long" >&5
18306 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18307 if test "${ac_cv_sizeof_long_long+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18310 if test "$ac_cv_type_long_long" = yes; then
18311 # The cast to unsigned long works around a bug in the HP C Compiler
18312 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18313 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18314 # This bug is HP SR number 8606223364.
18315 if test "$cross_compiling" = yes; then
18316 # Depending upon the size, compute the lo and hi bounds.
18317 cat >conftest.
$ac_ext <<_ACEOF
18320 cat confdefs.h
>>conftest.
$ac_ext
18321 cat >>conftest.
$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18323 $ac_includes_default
18327 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18334 rm -f conftest.
$ac_objext
18335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18336 (eval $ac_compile) 2>conftest.er1
18338 grep -v '^ *+' conftest.er1
>conftest.err
18340 cat conftest.err
>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } &&
18343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; } &&
18349 { ac_try
='test -s conftest.$ac_objext'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; }; then
18357 cat >conftest.
$ac_ext <<_ACEOF
18360 cat confdefs.h
>>conftest.
$ac_ext
18361 cat >>conftest.
$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 $ac_includes_default
18367 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18374 rm -f conftest.
$ac_objext
18375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18376 (eval $ac_compile) 2>conftest.er1
18378 grep -v '^ *+' conftest.er1
>conftest.err
18380 cat conftest.err
>&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); } &&
18383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; } &&
18389 { ac_try
='test -s conftest.$ac_objext'
18390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18391 (eval $ac_try) 2>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; }; then
18395 ac_hi
=$ac_mid; break
18397 echo "$as_me: failed program was:" >&5
18398 sed 's/^/| /' conftest.
$ac_ext >&5
18400 ac_lo
=`expr $ac_mid + 1`
18401 if test $ac_lo -le $ac_mid; then
18405 ac_mid
=`expr 2 '*' $ac_mid + 1`
18407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.
$ac_ext >&5
18413 cat >conftest.
$ac_ext <<_ACEOF
18416 cat confdefs.h
>>conftest.
$ac_ext
18417 cat >>conftest.
$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18423 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18430 rm -f conftest.
$ac_objext
18431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18432 (eval $ac_compile) 2>conftest.er1
18434 grep -v '^ *+' conftest.er1
>conftest.err
18436 cat conftest.err
>&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); } &&
18439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; } &&
18445 { ac_try
='test -s conftest.$ac_objext'
18446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447 (eval $ac_try) 2>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }; }; then
18453 cat >conftest.
$ac_ext <<_ACEOF
18456 cat confdefs.h
>>conftest.
$ac_ext
18457 cat >>conftest.
$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 $ac_includes_default
18463 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18470 rm -f conftest.
$ac_objext
18471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18472 (eval $ac_compile) 2>conftest.er1
18474 grep -v '^ *+' conftest.er1
>conftest.err
18476 cat conftest.err
>&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); } &&
18479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18481 (eval $ac_try) 2>&5
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); }; } &&
18485 { ac_try
='test -s conftest.$ac_objext'
18486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18487 (eval $ac_try) 2>&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); }; }; then
18491 ac_lo
=$ac_mid; break
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.
$ac_ext >&5
18496 ac_hi
=`expr '(' $ac_mid ')' - 1`
18497 if test $ac_mid -le $ac_hi; then
18501 ac_mid
=`expr 2 '*' $ac_mid`
18503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18506 echo "$as_me: failed program was:" >&5
18507 sed 's/^/| /' conftest.
$ac_ext >&5
18511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18514 # Binary search between lo and hi bounds.
18515 while test "x$ac_lo" != "x$ac_hi"; do
18516 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18517 cat >conftest.
$ac_ext <<_ACEOF
18520 cat confdefs.h
>>conftest.
$ac_ext
18521 cat >>conftest.
$ac_ext <<_ACEOF
18522 /* end confdefs.h. */
18523 $ac_includes_default
18527 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18534 rm -f conftest.
$ac_objext
18535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18536 (eval $ac_compile) 2>conftest.er1
18538 grep -v '^ *+' conftest.er1
>conftest.err
18540 cat conftest.err
>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } &&
18543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18545 (eval $ac_try) 2>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; } &&
18549 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18557 echo "$as_me: failed program was:" >&5
18558 sed 's/^/| /' conftest.
$ac_ext >&5
18560 ac_lo
=`expr '(' $ac_mid ')' + 1`
18562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18565 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18566 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18567 See \`config.log' for more details." >&5
18568 echo "$as_me: error: cannot compute sizeof (long long), 77
18569 See \`config.log' for more details." >&2;}
18570 { (exit 1); exit 1; }; } ;;
18573 if test "$cross_compiling" = yes; then
18574 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18575 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18576 { (exit 1); exit 1; }; }
18578 cat >conftest.
$ac_ext <<_ACEOF
18581 cat confdefs.h
>>conftest.
$ac_ext
18582 cat >>conftest.
$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 $ac_includes_default
18585 long longval () { return (long) (sizeof (long long)); }
18586 unsigned long ulongval () { return (long) (sizeof (long long)); }
18588 #include <stdlib.h>
18593 FILE *f = fopen ("conftest.val", "w");
18596 if (((long) (sizeof (long long))) < 0)
18598 long i = longval ();
18599 if (i != ((long) (sizeof (long long))))
18601 fprintf (f, "%ld\n", i);
18605 unsigned long i = ulongval ();
18606 if (i != ((long) (sizeof (long long))))
18608 fprintf (f, "%lu\n", i);
18610 exit (ferror (f) || fclose (f) != 0);
18616 rm -f conftest
$ac_exeext
18617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18618 (eval $ac_link) 2>&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; }; then
18627 ac_cv_sizeof_long_long
=`cat conftest.val`
18629 echo "$as_me: program exited with status $ac_status" >&5
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.
$ac_ext >&5
18633 ( exit $ac_status )
18634 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18635 See \`config.log' for more details." >&5
18636 echo "$as_me: error: cannot compute sizeof (long long), 77
18637 See \`config.log' for more details." >&2;}
18638 { (exit 1); exit 1; }; }
18640 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18645 ac_cv_sizeof_long_long
=0
18648 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18649 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18650 cat >>confdefs.h
<<_ACEOF
18651 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18655 if test "$ac_cv_sizeof_long_long" != "0"; then
18656 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18660 echo "$as_me:$LINENO: checking for long long" >&5
18661 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18662 if test "${ac_cv_type_long_long+set}" = set; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18665 cat >conftest.
$ac_ext <<_ACEOF
18668 cat confdefs.h
>>conftest.
$ac_ext
18669 cat >>conftest.
$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671 $ac_includes_default
18675 if ((long long *) 0)
18677 if (sizeof (long long))
18683 rm -f conftest.
$ac_objext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18685 (eval $ac_compile) 2>conftest.er1
18687 grep -v '^ *+' conftest.er1
>conftest.err
18689 cat conftest.err
>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } &&
18692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; } &&
18698 { ac_try
='test -s conftest.$ac_objext'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; }; then
18704 ac_cv_type_long_long
=yes
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.
$ac_ext >&5
18709 ac_cv_type_long_long
=no
18711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18713 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18714 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18716 echo "$as_me:$LINENO: checking size of long long" >&5
18717 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18718 if test "${ac_cv_sizeof_long_long+set}" = set; then
18719 echo $ECHO_N "(cached) $ECHO_C" >&6
18721 if test "$ac_cv_type_long_long" = yes; then
18722 # The cast to unsigned long works around a bug in the HP C Compiler
18723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18725 # This bug is HP SR number 8606223364.
18726 if test "$cross_compiling" = yes; then
18727 # Depending upon the size, compute the lo and hi bounds.
18728 cat >conftest.
$ac_ext <<_ACEOF
18731 cat confdefs.h
>>conftest.
$ac_ext
18732 cat >>conftest.
$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 $ac_includes_default
18738 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18745 rm -f conftest.
$ac_objext
18746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18747 (eval $ac_compile) 2>conftest.er1
18749 grep -v '^ *+' conftest.er1
>conftest.err
18751 cat conftest.err
>&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); } &&
18754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; } &&
18760 { ac_try
='test -s conftest.$ac_objext'
18761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762 (eval $ac_try) 2>&5
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); }; }; then
18768 cat >conftest.
$ac_ext <<_ACEOF
18771 cat confdefs.h
>>conftest.
$ac_ext
18772 cat >>conftest.
$ac_ext <<_ACEOF
18773 /* end confdefs.h. */
18774 $ac_includes_default
18778 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18785 rm -f conftest.
$ac_objext
18786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18787 (eval $ac_compile) 2>conftest.er1
18789 grep -v '^ *+' conftest.er1
>conftest.err
18791 cat conftest.err
>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); } &&
18794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; } &&
18800 { ac_try
='test -s conftest.$ac_objext'
18801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802 (eval $ac_try) 2>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; }; then
18806 ac_hi
=$ac_mid; break
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.
$ac_ext >&5
18811 ac_lo
=`expr $ac_mid + 1`
18812 if test $ac_lo -le $ac_mid; then
18816 ac_mid
=`expr 2 '*' $ac_mid + 1`
18818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18821 echo "$as_me: failed program was:" >&5
18822 sed 's/^/| /' conftest.
$ac_ext >&5
18824 cat >conftest.
$ac_ext <<_ACEOF
18827 cat confdefs.h
>>conftest.
$ac_ext
18828 cat >>conftest.
$ac_ext <<_ACEOF
18829 /* end confdefs.h. */
18830 $ac_includes_default
18834 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18841 rm -f conftest.
$ac_objext
18842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18843 (eval $ac_compile) 2>conftest.er1
18845 grep -v '^ *+' conftest.er1
>conftest.err
18847 cat conftest.err
>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } &&
18850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; } &&
18856 { ac_try
='test -s conftest.$ac_objext'
18857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18858 (eval $ac_try) 2>&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); }; }; then
18864 cat >conftest.
$ac_ext <<_ACEOF
18867 cat confdefs.h
>>conftest.
$ac_ext
18868 cat >>conftest.
$ac_ext <<_ACEOF
18869 /* end confdefs.h. */
18870 $ac_includes_default
18874 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18881 rm -f conftest.
$ac_objext
18882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18883 (eval $ac_compile) 2>conftest.er1
18885 grep -v '^ *+' conftest.er1
>conftest.err
18887 cat conftest.err
>&5
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); } &&
18890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18892 (eval $ac_try) 2>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); }; } &&
18896 { ac_try
='test -s conftest.$ac_objext'
18897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898 (eval $ac_try) 2>&5
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); }; }; then
18902 ac_lo
=$ac_mid; break
18904 echo "$as_me: failed program was:" >&5
18905 sed 's/^/| /' conftest.
$ac_ext >&5
18907 ac_hi
=`expr '(' $ac_mid ')' - 1`
18908 if test $ac_mid -le $ac_hi; then
18912 ac_mid
=`expr 2 '*' $ac_mid`
18914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18917 echo "$as_me: failed program was:" >&5
18918 sed 's/^/| /' conftest.
$ac_ext >&5
18922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18925 # Binary search between lo and hi bounds.
18926 while test "x$ac_lo" != "x$ac_hi"; do
18927 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18928 cat >conftest.
$ac_ext <<_ACEOF
18931 cat confdefs.h
>>conftest.
$ac_ext
18932 cat >>conftest.
$ac_ext <<_ACEOF
18933 /* end confdefs.h. */
18934 $ac_includes_default
18938 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18945 rm -f conftest.
$ac_objext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18947 (eval $ac_compile) 2>conftest.er1
18949 grep -v '^ *+' conftest.er1
>conftest.err
18951 cat conftest.err
>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; } &&
18960 { ac_try
='test -s conftest.$ac_objext'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; }; then
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.
$ac_ext >&5
18971 ac_lo
=`expr '(' $ac_mid ')' + 1`
18973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18976 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18977 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18978 See \`config.log' for more details." >&5
18979 echo "$as_me: error: cannot compute sizeof (long long), 77
18980 See \`config.log' for more details." >&2;}
18981 { (exit 1); exit 1; }; } ;;
18984 if test "$cross_compiling" = yes; then
18985 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18986 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18987 { (exit 1); exit 1; }; }
18989 cat >conftest.
$ac_ext <<_ACEOF
18992 cat confdefs.h
>>conftest.
$ac_ext
18993 cat >>conftest.
$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995 $ac_includes_default
18996 long longval () { return (long) (sizeof (long long)); }
18997 unsigned long ulongval () { return (long) (sizeof (long long)); }
18999 #include <stdlib.h>
19004 FILE *f = fopen ("conftest.val", "w");
19007 if (((long) (sizeof (long long))) < 0)
19009 long i = longval ();
19010 if (i != ((long) (sizeof (long long))))
19012 fprintf (f, "%ld\n", i);
19016 unsigned long i = ulongval ();
19017 if (i != ((long) (sizeof (long long))))
19019 fprintf (f, "%lu\n", i);
19021 exit (ferror (f) || fclose (f) != 0);
19027 rm -f conftest
$ac_exeext
19028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19029 (eval $ac_link) 2>&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034 (eval $ac_try) 2>&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); }; }; then
19038 ac_cv_sizeof_long_long
=`cat conftest.val`
19040 echo "$as_me: program exited with status $ac_status" >&5
19041 echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.
$ac_ext >&5
19044 ( exit $ac_status )
19045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19046 See \`config.log' for more details." >&5
19047 echo "$as_me: error: cannot compute sizeof (long long), 77
19048 See \`config.log' for more details." >&2;}
19049 { (exit 1); exit 1; }; }
19051 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19056 ac_cv_sizeof_long_long
=0
19059 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19060 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19061 cat >>confdefs.h
<<_ACEOF
19062 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19068 echo "$as_me:$LINENO: checking for wchar_t" >&5
19069 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19070 if test "${ac_cv_type_wchar_t+set}" = set; then
19071 echo $ECHO_N "(cached) $ECHO_C" >&6
19073 cat >conftest.
$ac_ext <<_ACEOF
19076 cat confdefs.h
>>conftest.
$ac_ext
19077 cat >>conftest.
$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19080 /* DJGPP only has fake wchar_t: */
19082 # error "fake wchar_t"
19084 #ifdef HAVE_WCHAR_H
19086 # include <stddef.h>
19088 # include <wchar.h>
19090 #ifdef HAVE_STDLIB_H
19091 # include <stdlib.h>
19102 if (sizeof (wchar_t))
19108 rm -f conftest.
$ac_objext
19109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19110 (eval $ac_compile) 2>conftest.er1
19112 grep -v '^ *+' conftest.er1
>conftest.err
19114 cat conftest.err
>&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } &&
19117 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; } &&
19123 { ac_try
='test -s conftest.$ac_objext'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; }; then
19129 ac_cv_type_wchar_t
=yes
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.
$ac_ext >&5
19134 ac_cv_type_wchar_t
=no
19136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19138 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19139 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19141 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19142 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19143 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19144 echo $ECHO_N "(cached) $ECHO_C" >&6
19146 if test "$ac_cv_type_wchar_t" = yes; then
19147 # The cast to unsigned long works around a bug in the HP C Compiler
19148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19150 # This bug is HP SR number 8606223364.
19151 if test "$cross_compiling" = yes; then
19152 # Depending upon the size, compute the lo and hi bounds.
19153 cat >conftest.
$ac_ext <<_ACEOF
19156 cat confdefs.h
>>conftest.
$ac_ext
19157 cat >>conftest.
$ac_ext <<_ACEOF
19158 /* end confdefs.h. */
19160 /* DJGPP only has fake wchar_t: */
19162 # error "fake wchar_t"
19164 #ifdef HAVE_WCHAR_H
19166 # include <stddef.h>
19168 # include <wchar.h>
19170 #ifdef HAVE_STDLIB_H
19171 # include <stdlib.h>
19180 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19187 rm -f conftest.
$ac_objext
19188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19189 (eval $ac_compile) 2>conftest.er1
19191 grep -v '^ *+' conftest.er1
>conftest.err
19193 cat conftest.err
>&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } &&
19196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; } &&
19202 { ac_try
='test -s conftest.$ac_objext'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; }; then
19210 cat >conftest.
$ac_ext <<_ACEOF
19213 cat confdefs.h
>>conftest.
$ac_ext
19214 cat >>conftest.
$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19217 /* DJGPP only has fake wchar_t: */
19219 # error "fake wchar_t"
19221 #ifdef HAVE_WCHAR_H
19223 # include <stddef.h>
19225 # include <wchar.h>
19227 #ifdef HAVE_STDLIB_H
19228 # include <stdlib.h>
19237 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19244 rm -f conftest.
$ac_objext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19246 (eval $ac_compile) 2>conftest.er1
19248 grep -v '^ *+' conftest.er1
>conftest.err
19250 cat conftest.err
>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } &&
19253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19255 (eval $ac_try) 2>&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); }; } &&
19259 { ac_try
='test -s conftest.$ac_objext'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; }; then
19265 ac_hi
=$ac_mid; break
19267 echo "$as_me: failed program was:" >&5
19268 sed 's/^/| /' conftest.
$ac_ext >&5
19270 ac_lo
=`expr $ac_mid + 1`
19271 if test $ac_lo -le $ac_mid; then
19275 ac_mid
=`expr 2 '*' $ac_mid + 1`
19277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.
$ac_ext >&5
19283 cat >conftest.
$ac_ext <<_ACEOF
19286 cat confdefs.h
>>conftest.
$ac_ext
19287 cat >>conftest.
$ac_ext <<_ACEOF
19288 /* end confdefs.h. */
19290 /* DJGPP only has fake wchar_t: */
19292 # error "fake wchar_t"
19294 #ifdef HAVE_WCHAR_H
19296 # include <stddef.h>
19298 # include <wchar.h>
19300 #ifdef HAVE_STDLIB_H
19301 # include <stdlib.h>
19310 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19317 rm -f conftest.
$ac_objext
19318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19319 (eval $ac_compile) 2>conftest.er1
19321 grep -v '^ *+' conftest.er1
>conftest.err
19323 cat conftest.err
>&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; } &&
19332 { ac_try
='test -s conftest.$ac_objext'
19333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19334 (eval $ac_try) 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; }; then
19340 cat >conftest.
$ac_ext <<_ACEOF
19343 cat confdefs.h
>>conftest.
$ac_ext
19344 cat >>conftest.
$ac_ext <<_ACEOF
19345 /* end confdefs.h. */
19347 /* DJGPP only has fake wchar_t: */
19349 # error "fake wchar_t"
19351 #ifdef HAVE_WCHAR_H
19353 # include <stddef.h>
19355 # include <wchar.h>
19357 #ifdef HAVE_STDLIB_H
19358 # include <stdlib.h>
19367 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19374 rm -f conftest.
$ac_objext
19375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19376 (eval $ac_compile) 2>conftest.er1
19378 grep -v '^ *+' conftest.er1
>conftest.err
19380 cat conftest.err
>&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } &&
19383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; } &&
19389 { ac_try
='test -s conftest.$ac_objext'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; }; then
19395 ac_lo
=$ac_mid; break
19397 echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.
$ac_ext >&5
19400 ac_hi
=`expr '(' $ac_mid ')' - 1`
19401 if test $ac_mid -le $ac_hi; then
19405 ac_mid
=`expr 2 '*' $ac_mid`
19407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.
$ac_ext >&5
19415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19418 # Binary search between lo and hi bounds.
19419 while test "x$ac_lo" != "x$ac_hi"; do
19420 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19421 cat >conftest.
$ac_ext <<_ACEOF
19424 cat confdefs.h
>>conftest.
$ac_ext
19425 cat >>conftest.
$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19428 /* DJGPP only has fake wchar_t: */
19430 # error "fake wchar_t"
19432 #ifdef HAVE_WCHAR_H
19434 # include <stddef.h>
19436 # include <wchar.h>
19438 #ifdef HAVE_STDLIB_H
19439 # include <stdlib.h>
19448 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19455 rm -f conftest.
$ac_objext
19456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19457 (eval $ac_compile) 2>conftest.er1
19459 grep -v '^ *+' conftest.er1
>conftest.err
19461 cat conftest.err
>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); } &&
19464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); }; } &&
19470 { ac_try
='test -s conftest.$ac_objext'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; }; then
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.
$ac_ext >&5
19481 ac_lo
=`expr '(' $ac_mid ')' + 1`
19483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19486 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19487 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19488 See \`config.log' for more details." >&5
19489 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19490 See \`config.log' for more details." >&2;}
19491 { (exit 1); exit 1; }; } ;;
19494 if test "$cross_compiling" = yes; then
19495 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19496 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19497 { (exit 1); exit 1; }; }
19499 cat >conftest.
$ac_ext <<_ACEOF
19502 cat confdefs.h
>>conftest.
$ac_ext
19503 cat >>conftest.
$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19506 /* DJGPP only has fake wchar_t: */
19508 # error "fake wchar_t"
19510 #ifdef HAVE_WCHAR_H
19512 # include <stddef.h>
19514 # include <wchar.h>
19516 #ifdef HAVE_STDLIB_H
19517 # include <stdlib.h>
19523 long longval () { return (long) (sizeof (wchar_t)); }
19524 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19526 #include <stdlib.h>
19531 FILE *f = fopen ("conftest.val", "w");
19534 if (((long) (sizeof (wchar_t))) < 0)
19536 long i = longval ();
19537 if (i != ((long) (sizeof (wchar_t))))
19539 fprintf (f, "%ld\n", i);
19543 unsigned long i = ulongval ();
19544 if (i != ((long) (sizeof (wchar_t))))
19546 fprintf (f, "%lu\n", i);
19548 exit (ferror (f) || fclose (f) != 0);
19554 rm -f conftest
$ac_exeext
19555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19556 (eval $ac_link) 2>&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19567 echo "$as_me: program exited with status $ac_status" >&5
19568 echo "$as_me: failed program was:" >&5
19569 sed 's/^/| /' conftest.
$ac_ext >&5
19571 ( exit $ac_status )
19572 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19573 See \`config.log' for more details." >&5
19574 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19575 See \`config.log' for more details." >&2;}
19576 { (exit 1); exit 1; }; }
19578 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19583 ac_cv_sizeof_wchar_t
=0
19586 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19587 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19588 cat >>confdefs.h
<<_ACEOF
19589 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19594 echo "$as_me:$LINENO: checking for va_copy" >&5
19595 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19596 if test "${wx_cv_func_va_copy+set}" = set; then
19597 echo $ECHO_N "(cached) $ECHO_C" >&6
19600 cat >conftest.
$ac_ext <<_ACEOF
19602 #include <stdarg.h>
19603 void foo(char *f, ...)
19617 rm -f conftest.
$ac_objext conftest
$ac_exeext
19618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19619 (eval $ac_link) 2>conftest.er1
19621 grep -v '^ *+' conftest.er1
>conftest.err
19623 cat conftest.err
>&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } &&
19626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19628 (eval $ac_try) 2>&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); }; } &&
19632 { ac_try
='test -s conftest$ac_exeext'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; }; then
19638 wx_cv_func_va_copy
=yes
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.
$ac_ext >&5
19643 wx_cv_func_va_copy
=no
19646 rm -f conftest.err conftest.
$ac_objext \
19647 conftest
$ac_exeext conftest.
$ac_ext
19651 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19652 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19654 if test $wx_cv_func_va_copy = "yes"; then
19655 cat >>confdefs.h
<<\_ACEOF
19656 #define HAVE_VA_COPY 1
19660 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19661 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19662 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19666 if test "$cross_compiling" = yes; then
19667 wx_cv_type_va_list_lvalue
=yes
19670 cat >conftest.
$ac_ext <<_ACEOF
19672 #include <stdarg.h>
19673 int foo(char *f, ...)
19678 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19686 return foo("hi", 17);
19689 rm -f conftest
$ac_exeext
19690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19691 (eval $ac_link) 2>&5
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; }; then
19700 wx_cv_type_va_list_lvalue
=yes
19702 echo "$as_me: program exited with status $ac_status" >&5
19703 echo "$as_me: failed program was:" >&5
19704 sed 's/^/| /' conftest.
$ac_ext >&5
19706 ( exit $ac_status )
19707 wx_cv_type_va_list_lvalue
=no
19709 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19714 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19715 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19717 if test $wx_cv_type_va_list_lvalue != "yes"; then
19718 cat >>confdefs.h
<<\_ACEOF
19719 #define VA_LIST_IS_ARRAY 1
19725 # Check whether --enable-largefile or --disable-largefile was given.
19726 if test "${enable_largefile+set}" = set; then
19727 enableval
="$enable_largefile"
19730 if test "$enable_largefile" != no
; then
19733 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19734 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19735 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19739 cat >conftest.
$ac_ext <<_ACEOF
19742 cat confdefs.h
>>conftest.
$ac_ext
19743 cat >>conftest.
$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19745 #define _FILE_OFFSET_BITS 64
19746 #include <sys/types.h>
19751 unsigned int field: sizeof(off_t) == 8;
19758 rm -f conftest.
$ac_objext
19759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19760 (eval $ac_compile) 2>conftest.er1
19762 grep -v '^ *+' conftest.er1
>conftest.err
19764 cat conftest.err
>&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } &&
19767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; } &&
19773 { ac_try
='test -s conftest.$ac_objext'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; }; then
19779 ac_cv_sys_file_offset_bits
=64
19781 echo "$as_me: failed program was:" >&5
19782 sed 's/^/| /' conftest.
$ac_ext >&5
19784 ac_cv_sys_file_offset_bits
=no
19786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19790 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19791 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19793 if test "$ac_cv_sys_file_offset_bits" != no
; then
19795 cat >>confdefs.h
<<_ACEOF
19796 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19801 if test "x$wx_largefile" != "xyes"; then
19803 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19804 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19805 if test "${ac_cv_sys_large_files+set}" = set; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19809 cat >conftest.
$ac_ext <<_ACEOF
19812 cat confdefs.h
>>conftest.
$ac_ext
19813 cat >>conftest.
$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 #define _LARGE_FILES 1
19816 #include <sys/types.h>
19821 unsigned int field: sizeof(off_t) == 8;
19828 rm -f conftest.
$ac_objext
19829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19830 (eval $ac_compile) 2>conftest.er1
19832 grep -v '^ *+' conftest.er1
>conftest.err
19834 cat conftest.err
>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } &&
19837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; } &&
19843 { ac_try
='test -s conftest.$ac_objext'
19844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845 (eval $ac_try) 2>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; }; then
19849 ac_cv_sys_large_files
=1
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.
$ac_ext >&5
19854 ac_cv_sys_large_files
=no
19856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19860 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19861 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19863 if test "$ac_cv_sys_large_files" != no
; then
19865 cat >>confdefs.h
<<_ACEOF
19866 #define _LARGE_FILES $ac_cv_sys_large_files
19873 echo "$as_me:$LINENO: checking if large file support is available" >&5
19874 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19875 if test "x$wx_largefile" = "xyes"; then
19876 cat >>confdefs.h
<<\_ACEOF
19877 #define HAVE_LARGEFILE_SUPPORT 1
19881 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19882 echo "${ECHO_T}$wx_largefile" >&6
19886 if test "x$wx_largefile" = "xyes"; then
19887 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19888 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19890 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
19892 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19893 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19894 if test "${ac_cv_sys_largefile_source+set}" = set; then
19895 echo $ECHO_N "(cached) $ECHO_C" >&6
19898 ac_cv_sys_largefile_source
=no
19899 cat >conftest.
$ac_ext <<_ACEOF
19902 cat confdefs.h
>>conftest.
$ac_ext
19903 cat >>conftest.
$ac_ext <<_ACEOF
19904 /* end confdefs.h. */
19914 rm -f conftest.
$ac_objext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19916 (eval $ac_compile) 2>conftest.er1
19918 grep -v '^ *+' conftest.er1
>conftest.err
19920 cat conftest.err
>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925 (eval $ac_try) 2>&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; } &&
19929 { ac_try
='test -s conftest.$ac_objext'
19930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931 (eval $ac_try) 2>&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); }; }; then
19937 echo "$as_me: failed program was:" >&5
19938 sed 's/^/| /' conftest.
$ac_ext >&5
19941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19942 cat >conftest.
$ac_ext <<_ACEOF
19945 cat confdefs.h
>>conftest.
$ac_ext
19946 cat >>conftest.
$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19948 #define _LARGEFILE_SOURCE 1
19958 rm -f conftest.
$ac_objext
19959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 (eval $ac_compile) 2>conftest.er1
19962 grep -v '^ *+' conftest.er1
>conftest.err
19964 cat conftest.err
>&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; } &&
19973 { ac_try
='test -s conftest.$ac_objext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 ac_cv_sys_largefile_source
=1; break
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.
$ac_ext >&5
19985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19989 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19990 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
19991 if test "$ac_cv_sys_largefile_source" != no
; then
19993 cat >>confdefs.h
<<_ACEOF
19994 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20000 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20001 # in glibc 2.1.3, but that breaks too many other things.
20002 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20003 echo "$as_me:$LINENO: checking for fseeko" >&5
20004 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20005 if test "${ac_cv_func_fseeko+set}" = set; then
20006 echo $ECHO_N "(cached) $ECHO_C" >&6
20008 cat >conftest.
$ac_ext <<_ACEOF
20011 cat confdefs.h
>>conftest.
$ac_ext
20012 cat >>conftest.
$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20018 return fseeko && fseeko (stdin, 0, 0);
20023 rm -f conftest.
$ac_objext conftest
$ac_exeext
20024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20025 (eval $ac_link) 2>conftest.er1
20027 grep -v '^ *+' conftest.er1
>conftest.err
20029 cat conftest.err
>&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } &&
20032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034 (eval $ac_try) 2>&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); }; } &&
20038 { ac_try
='test -s conftest$ac_exeext'
20039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20040 (eval $ac_try) 2>&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; }; then
20044 ac_cv_func_fseeko
=yes
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.
$ac_ext >&5
20049 ac_cv_func_fseeko
=no
20051 rm -f conftest.err conftest.
$ac_objext \
20052 conftest
$ac_exeext conftest.
$ac_ext
20054 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20055 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20056 if test $ac_cv_func_fseeko = yes; then
20058 cat >>confdefs.h
<<\_ACEOF
20059 #define HAVE_FSEEKO 1
20064 if test "$ac_cv_sys_largefile_source" != no
; then
20065 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20067 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20070 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20071 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20072 if test "${ac_cv_c_bigendian+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 ac_cv_c_bigendian
=unknown
20076 # See if sys/param.h defines the BYTE_ORDER macro.
20077 cat >conftest.
$ac_ext <<_ACEOF
20080 cat confdefs.h
>>conftest.
$ac_ext
20081 cat >>conftest.
$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20083 #include <sys/types.h>
20084 #include <sys/param.h>
20089 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20090 bogus endian macros
20096 rm -f conftest.
$ac_objext
20097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20098 (eval $ac_compile) 2>conftest.er1
20100 grep -v '^ *+' conftest.er1
>conftest.err
20102 cat conftest.err
>&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; } &&
20111 { ac_try
='test -s conftest.$ac_objext'
20112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113 (eval $ac_try) 2>&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); }; }; then
20117 # It does; now see whether it defined to BIG_ENDIAN or not.
20118 cat >conftest.
$ac_ext <<_ACEOF
20121 cat confdefs.h
>>conftest.
$ac_ext
20122 cat >>conftest.
$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 #include <sys/types.h>
20125 #include <sys/param.h>
20130 #if BYTE_ORDER != BIG_ENDIAN
20137 rm -f conftest.
$ac_objext
20138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20139 (eval $ac_compile) 2>conftest.er1
20141 grep -v '^ *+' conftest.er1
>conftest.err
20143 cat conftest.err
>&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); } &&
20146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20148 (eval $ac_try) 2>&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); }; } &&
20152 { ac_try
='test -s conftest.$ac_objext'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; }; then
20158 ac_cv_c_bigendian
=yes
20160 echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.
$ac_ext >&5
20163 ac_cv_c_bigendian
=no
20165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.
$ac_ext >&5
20171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20172 if test $ac_cv_c_bigendian = unknown
; then
20173 if test "$cross_compiling" = yes; then
20174 ac_cv_c_bigendian
=unknown
20176 cat >conftest.
$ac_ext <<_ACEOF
20179 cat confdefs.h
>>conftest.
$ac_ext
20180 cat >>conftest.
$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20183 /* Are we little or big endian? From Harbison&Steele. */
20187 char c[sizeof (long)];
20190 exit (u.c[sizeof (long) - 1] == 1);
20193 rm -f conftest
$ac_exeext
20194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20195 (eval $ac_link) 2>&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 ac_cv_c_bigendian
=no
20206 echo "$as_me: program exited with status $ac_status" >&5
20207 echo "$as_me: failed program was:" >&5
20208 sed 's/^/| /' conftest.
$ac_ext >&5
20210 ( exit $ac_status )
20211 ac_cv_c_bigendian
=yes
20213 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20217 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20218 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20219 if test $ac_cv_c_bigendian = unknown
; then
20220 { 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
20221 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;}
20223 if test $ac_cv_c_bigendian = yes; then
20224 cat >>confdefs.h
<<\_ACEOF
20225 #define WORDS_BIGENDIAN 1
20232 ac_cpp
='$CXXCPP $CPPFLAGS'
20233 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20234 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20235 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20236 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20237 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20238 if test -z "$CXXCPP"; then
20239 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20240 echo $ECHO_N "(cached) $ECHO_C" >&6
20242 # Double quotes because CXXCPP needs to be expanded
20243 for CXXCPP
in "$CXX -E" "/lib/cpp"
20245 ac_preproc_ok
=false
20246 for ac_cxx_preproc_warn_flag
in '' yes
20248 # Use a header file that comes with gcc, so configuring glibc
20249 # with a fresh cross-compiler works.
20250 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20251 # <limits.h> exists even on freestanding compilers.
20252 # On the NeXT, cc -E runs the code through the compiler's parser,
20253 # not just through cpp. "Syntax error" is here to catch this case.
20254 cat >conftest.
$ac_ext <<_ACEOF
20257 cat confdefs.h
>>conftest.
$ac_ext
20258 cat >>conftest.
$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20261 # include <limits.h>
20263 # include <assert.h>
20267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20268 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20270 grep -v '^ *+' conftest.er1
>conftest.err
20272 cat conftest.err
>&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } >/dev
/null
; then
20275 if test -s conftest.err
; then
20276 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20277 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20284 if test -z "$ac_cpp_err"; then
20287 echo "$as_me: failed program was:" >&5
20288 sed 's/^/| /' conftest.
$ac_ext >&5
20290 # Broken: fails on valid input.
20293 rm -f conftest.err conftest.
$ac_ext
20295 # OK, works on sane cases. Now check whether non-existent headers
20296 # can be detected and how.
20297 cat >conftest.
$ac_ext <<_ACEOF
20300 cat confdefs.h
>>conftest.
$ac_ext
20301 cat >>conftest.
$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 #include <ac_nonexistent.h>
20305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20308 grep -v '^ *+' conftest.er1
>conftest.err
20310 cat conftest.err
>&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } >/dev
/null
; then
20313 if test -s conftest.err
; then
20314 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20315 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20322 if test -z "$ac_cpp_err"; then
20323 # Broken: success on invalid input.
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.
$ac_ext >&5
20329 # Passes both tests.
20333 rm -f conftest.err conftest.
$ac_ext
20336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20337 rm -f conftest.err conftest.
$ac_ext
20338 if $ac_preproc_ok; then
20343 ac_cv_prog_CXXCPP
=$CXXCPP
20346 CXXCPP
=$ac_cv_prog_CXXCPP
20348 ac_cv_prog_CXXCPP
=$CXXCPP
20350 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20351 echo "${ECHO_T}$CXXCPP" >&6
20352 ac_preproc_ok
=false
20353 for ac_cxx_preproc_warn_flag
in '' yes
20355 # Use a header file that comes with gcc, so configuring glibc
20356 # with a fresh cross-compiler works.
20357 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20358 # <limits.h> exists even on freestanding compilers.
20359 # On the NeXT, cc -E runs the code through the compiler's parser,
20360 # not just through cpp. "Syntax error" is here to catch this case.
20361 cat >conftest.
$ac_ext <<_ACEOF
20364 cat confdefs.h
>>conftest.
$ac_ext
20365 cat >>conftest.
$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20368 # include <limits.h>
20370 # include <assert.h>
20374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20377 grep -v '^ *+' conftest.er1
>conftest.err
20379 cat conftest.err
>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } >/dev
/null
; then
20382 if test -s conftest.err
; then
20383 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20384 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20391 if test -z "$ac_cpp_err"; then
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.
$ac_ext >&5
20397 # Broken: fails on valid input.
20400 rm -f conftest.err conftest.
$ac_ext
20402 # OK, works on sane cases. Now check whether non-existent headers
20403 # can be detected and how.
20404 cat >conftest.
$ac_ext <<_ACEOF
20407 cat confdefs.h
>>conftest.
$ac_ext
20408 cat >>conftest.
$ac_ext <<_ACEOF
20409 /* end confdefs.h. */
20410 #include <ac_nonexistent.h>
20412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20413 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20415 grep -v '^ *+' conftest.er1
>conftest.err
20417 cat conftest.err
>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } >/dev
/null
; then
20420 if test -s conftest.err
; then
20421 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20422 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20429 if test -z "$ac_cpp_err"; then
20430 # Broken: success on invalid input.
20433 echo "$as_me: failed program was:" >&5
20434 sed 's/^/| /' conftest.
$ac_ext >&5
20436 # Passes both tests.
20440 rm -f conftest.err conftest.
$ac_ext
20443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20444 rm -f conftest.err conftest.
$ac_ext
20445 if $ac_preproc_ok; then
20448 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20449 See \`config.log' for more details." >&5
20450 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20451 See \`config.log' for more details." >&2;}
20452 { (exit 1); exit 1; }; }
20456 ac_cpp
='$CXXCPP $CPPFLAGS'
20457 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20458 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20459 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20466 ac_cpp
='$CXXCPP $CPPFLAGS'
20467 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20468 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20469 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20473 for ac_header
in iostream
20475 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20477 echo "$as_me:$LINENO: checking for $ac_header" >&5
20478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20480 echo $ECHO_N "(cached) $ECHO_C" >&6
20482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20485 # Is the header compilable?
20486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20488 cat >conftest.
$ac_ext <<_ACEOF
20491 cat confdefs.h
>>conftest.
$ac_ext
20492 cat >>conftest.
$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20494 $ac_includes_default
20495 #include <$ac_header>
20497 rm -f conftest.
$ac_objext
20498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20499 (eval $ac_compile) 2>conftest.er1
20501 grep -v '^ *+' conftest.er1
>conftest.err
20503 cat conftest.err
>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } &&
20506 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; } &&
20512 { ac_try
='test -s conftest.$ac_objext'
20513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514 (eval $ac_try) 2>&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); }; }; then
20518 ac_header_compiler
=yes
20520 echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.
$ac_ext >&5
20523 ac_header_compiler
=no
20525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20527 echo "${ECHO_T}$ac_header_compiler" >&6
20529 # Is the header present?
20530 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20531 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20532 cat >conftest.
$ac_ext <<_ACEOF
20535 cat confdefs.h
>>conftest.
$ac_ext
20536 cat >>conftest.
$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 #include <$ac_header>
20540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20541 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20543 grep -v '^ *+' conftest.er1
>conftest.err
20545 cat conftest.err
>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } >/dev
/null
; then
20548 if test -s conftest.err
; then
20549 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20550 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20557 if test -z "$ac_cpp_err"; then
20558 ac_header_preproc
=yes
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.
$ac_ext >&5
20563 ac_header_preproc
=no
20565 rm -f conftest.err conftest.
$ac_ext
20566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20567 echo "${ECHO_T}$ac_header_preproc" >&6
20569 # So? What about this header?
20570 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20576 ac_header_preproc
=yes
20579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20593 ## ----------------------------------------- ##
20594 ## Report this to wx-dev@lists.wxwidgets.org ##
20595 ## ----------------------------------------- ##
20598 sed "s/^/$as_me: WARNING: /" >&2
20601 echo "$as_me:$LINENO: checking for $ac_header" >&5
20602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20604 echo $ECHO_N "(cached) $ECHO_C" >&6
20606 eval "$as_ac_Header=\$ac_header_preproc"
20608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20613 cat >>confdefs.h
<<_ACEOF
20614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20622 if test "$ac_cv_header_iostream" = "yes" ; then
20625 cat >>confdefs.h
<<\_ACEOF
20626 #define wxUSE_IOSTREAMH 1
20632 ac_cpp
='$CPP $CPPFLAGS'
20633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20640 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20641 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20642 if test "${wx_cv_cpp_bool+set}" = set; then
20643 echo $ECHO_N "(cached) $ECHO_C" >&6
20649 ac_cpp
='$CXXCPP $CPPFLAGS'
20650 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20651 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20652 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20655 cat >conftest.
$ac_ext <<_ACEOF
20658 cat confdefs.h
>>conftest.
$ac_ext
20659 cat >>conftest.
$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20675 rm -f conftest.
$ac_objext
20676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20677 (eval $ac_compile) 2>conftest.er1
20679 grep -v '^ *+' conftest.er1
>conftest.err
20681 cat conftest.err
>&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); } &&
20684 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; } &&
20690 { ac_try
='test -s conftest.$ac_objext'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; }; then
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.
$ac_ext >&5
20708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20711 ac_cpp
='$CPP $CPPFLAGS'
20712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20718 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20719 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20721 if test "$wx_cv_cpp_bool" = "yes"; then
20722 cat >>confdefs.h
<<\_ACEOF
20723 #define HAVE_BOOL 1
20730 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20731 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20732 if test "${wx_cv_explicit+set}" = set; then
20733 echo $ECHO_N "(cached) $ECHO_C" >&6
20739 ac_cpp
='$CXXCPP $CPPFLAGS'
20740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20745 cat >conftest.
$ac_ext <<_ACEOF
20748 cat confdefs.h
>>conftest.
$ac_ext
20749 cat >>conftest.
$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20752 class Foo { public: explicit Foo(int) {} };
20764 rm -f conftest.
$ac_objext
20765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20766 (eval $ac_compile) 2>conftest.er1
20768 grep -v '^ *+' conftest.er1
>conftest.err
20770 cat conftest.err
>&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); } &&
20773 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20775 (eval $ac_try) 2>&5
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); }; } &&
20779 { ac_try
='test -s conftest.$ac_objext'
20780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20781 (eval $ac_try) 2>&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); }; }; then
20786 cat >conftest.
$ac_ext <<_ACEOF
20789 cat confdefs.h
>>conftest.
$ac_ext
20790 cat >>conftest.
$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20793 class Foo { public: explicit Foo(int) {} };
20794 static void TakeFoo(const Foo& foo) { }
20807 rm -f conftest.
$ac_objext
20808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20809 (eval $ac_compile) 2>conftest.er1
20811 grep -v '^ *+' conftest.er1
>conftest.err
20813 cat conftest.err
>&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20818 (eval $ac_try) 2>&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); }; } &&
20822 { ac_try
='test -s conftest.$ac_objext'
20823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20824 (eval $ac_try) 2>&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); }; }; then
20830 echo "$as_me: failed program was:" >&5
20831 sed 's/^/| /' conftest.
$ac_ext >&5
20836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.
$ac_ext >&5
20845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20848 ac_cpp
='$CPP $CPPFLAGS'
20849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20855 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20856 echo "${ECHO_T}$wx_cv_explicit" >&6
20858 if test "$wx_cv_explicit" = "yes"; then
20859 cat >>confdefs.h
<<\_ACEOF
20860 #define HAVE_EXPLICIT 1
20866 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20867 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20868 if test "${ac_cv_cxx_const_cast+set}" = set; then
20869 echo $ECHO_N "(cached) $ECHO_C" >&6
20874 ac_cpp
='$CXXCPP $CPPFLAGS'
20875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20879 cat >conftest.
$ac_ext <<_ACEOF
20882 cat confdefs.h
>>conftest.
$ac_ext
20883 cat >>conftest.
$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20889 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20894 rm -f conftest.
$ac_objext
20895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20896 (eval $ac_compile) 2>conftest.er1
20898 grep -v '^ *+' conftest.er1
>conftest.err
20900 cat conftest.err
>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } &&
20903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; } &&
20909 { ac_try
='test -s conftest.$ac_objext'
20910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20911 (eval $ac_try) 2>&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); }; }; then
20915 ac_cv_cxx_const_cast
=yes
20917 echo "$as_me: failed program was:" >&5
20918 sed 's/^/| /' conftest.
$ac_ext >&5
20920 ac_cv_cxx_const_cast
=no
20922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20924 ac_cpp
='$CPP $CPPFLAGS'
20925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20931 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20932 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20933 if test "$ac_cv_cxx_const_cast" = yes; then
20935 cat >>confdefs.h
<<\_ACEOF
20936 #define HAVE_CONST_CAST
20941 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20942 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20943 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20944 echo $ECHO_N "(cached) $ECHO_C" >&6
20949 ac_cpp
='$CXXCPP $CPPFLAGS'
20950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20954 cat >conftest.
$ac_ext <<_ACEOF
20957 cat confdefs.h
>>conftest.
$ac_ext
20958 cat >>conftest.
$ac_ext <<_ACEOF
20959 /* end confdefs.h. */
20960 #include <typeinfo>
20961 class Base { public : Base () {} virtual void f () = 0;};
20962 class Derived : public Base { public : Derived () {} virtual void f () {} };
20963 class Unrelated { public : Unrelated () {} };
20964 int g (Unrelated&) { return 0; }
20969 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
20974 rm -f conftest.
$ac_objext
20975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20976 (eval $ac_compile) 2>conftest.er1
20978 grep -v '^ *+' conftest.er1
>conftest.err
20980 cat conftest.err
>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } &&
20983 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20985 (eval $ac_try) 2>&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); }; } &&
20989 { ac_try
='test -s conftest.$ac_objext'
20990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20991 (eval $ac_try) 2>&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); }; }; then
20995 ac_cv_cxx_reinterpret_cast
=yes
20997 echo "$as_me: failed program was:" >&5
20998 sed 's/^/| /' conftest.
$ac_ext >&5
21000 ac_cv_cxx_reinterpret_cast
=no
21002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21004 ac_cpp
='$CPP $CPPFLAGS'
21005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21011 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21012 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21013 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21015 cat >>confdefs.h
<<\_ACEOF
21016 #define HAVE_REINTERPRET_CAST
21021 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21022 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21023 if test "${ac_cv_cxx_static_cast+set}" = set; then
21024 echo $ECHO_N "(cached) $ECHO_C" >&6
21029 ac_cpp
='$CXXCPP $CPPFLAGS'
21030 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21031 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21032 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21034 cat >conftest.
$ac_ext <<_ACEOF
21037 cat confdefs.h
>>conftest.
$ac_ext
21038 cat >>conftest.
$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 #include <typeinfo>
21041 class Base { public : Base () {} virtual void f () = 0; };
21042 class Derived : public Base { public : Derived () {} virtual void f () {} };
21043 int g (Derived&) { return 0; }
21048 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21053 rm -f conftest.
$ac_objext
21054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21055 (eval $ac_compile) 2>conftest.er1
21057 grep -v '^ *+' conftest.er1
>conftest.err
21059 cat conftest.err
>&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } &&
21062 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21064 (eval $ac_try) 2>&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); }; } &&
21068 { ac_try
='test -s conftest.$ac_objext'
21069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21070 (eval $ac_try) 2>&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); }; }; then
21074 ac_cv_cxx_static_cast
=yes
21076 echo "$as_me: failed program was:" >&5
21077 sed 's/^/| /' conftest.
$ac_ext >&5
21079 ac_cv_cxx_static_cast
=no
21081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21083 ac_cpp
='$CPP $CPPFLAGS'
21084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21090 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21091 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21092 if test "$ac_cv_cxx_static_cast" = yes; then
21094 cat >>confdefs.h
<<\_ACEOF
21095 #define HAVE_STATIC_CAST
21101 if test "$wxUSE_STL" = "yes"; then
21103 ac_cpp
='$CXXCPP $CPPFLAGS'
21104 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21105 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21106 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21109 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21110 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21111 cat >conftest.
$ac_ext <<_ACEOF
21114 cat confdefs.h
>>conftest.
$ac_ext
21115 cat >>conftest.
$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21118 #include <functional>
21119 #include <algorithm>
21125 std::vector<int> moo;
21126 std::list<int> foo;
21127 std::vector<int>::iterator it =
21128 std::find_if(moo.begin(), moo.end(),
21129 std::bind2nd(std::less<int>(), 3));
21134 rm -f conftest.
$ac_objext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21136 (eval $ac_compile) 2>conftest.er1
21138 grep -v '^ *+' conftest.er1
>conftest.err
21140 cat conftest.err
>&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try
='test -s conftest.$ac_objext'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 echo "$as_me:$LINENO: result: yes" >&5
21156 echo "${ECHO_T}yes" >&6
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.
$ac_ext >&5
21161 echo "$as_me:$LINENO: result: no" >&5
21162 echo "${ECHO_T}no" >&6
21163 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21164 echo "$as_me: error: Basic STL functionality missing" >&2;}
21165 { (exit 1); exit 1; }; }
21167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21169 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21170 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21171 cat >conftest.
$ac_ext <<_ACEOF
21174 cat confdefs.h
>>conftest.
$ac_ext
21175 cat >>conftest.
$ac_ext <<_ACEOF
21176 /* end confdefs.h. */
21186 rm -f conftest.
$ac_objext
21187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21188 (eval $ac_compile) 2>conftest.er1
21190 grep -v '^ *+' conftest.er1
>conftest.err
21192 cat conftest.err
>&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); } &&
21195 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21197 (eval $ac_try) 2>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; } &&
21201 { ac_try
='test -s conftest.$ac_objext'
21202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21203 (eval $ac_try) 2>&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); }; }; then
21207 echo "$as_me:$LINENO: result: yes" >&5
21208 echo "${ECHO_T}yes" >&6
21209 cat >>confdefs.h
<<\_ACEOF
21210 #define HAVE_STD_WSTRING 1
21214 echo "$as_me: failed program was:" >&5
21215 sed 's/^/| /' conftest.
$ac_ext >&5
21217 echo "$as_me:$LINENO: result: no" >&5
21218 echo "${ECHO_T}no" >&6
21220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21222 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21223 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21224 cat >conftest.
$ac_ext <<_ACEOF
21227 cat confdefs.h
>>conftest.
$ac_ext
21228 cat >>conftest.
$ac_ext <<_ACEOF
21229 /* end confdefs.h. */
21234 std::string foo, bar;
21236 foo.compare(1, 1, bar);
21237 foo.compare(1, 1, bar, 1, 1);
21239 foo.compare(1, 1, "");
21240 foo.compare(1, 1, "", 2);
21245 rm -f conftest.
$ac_objext
21246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21247 (eval $ac_compile) 2>conftest.er1
21249 grep -v '^ *+' conftest.er1
>conftest.err
21251 cat conftest.err
>&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); } &&
21254 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21256 (eval $ac_try) 2>&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); }; } &&
21260 { ac_try
='test -s conftest.$ac_objext'
21261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21262 (eval $ac_try) 2>&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); }; }; then
21266 echo "$as_me:$LINENO: result: yes" >&5
21267 echo "${ECHO_T}yes" >&6
21268 cat >>confdefs.h
<<\_ACEOF
21269 #define HAVE_STD_STRING_COMPARE 1
21273 echo "$as_me: failed program was:" >&5
21274 sed 's/^/| /' conftest.
$ac_ext >&5
21276 echo "$as_me:$LINENO: result: no" >&5
21277 echo "${ECHO_T}no" >&6
21279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21281 if test "${ac_cv_header_hash_map+set}" = set; then
21282 echo "$as_me:$LINENO: checking for hash_map" >&5
21283 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21284 if test "${ac_cv_header_hash_map+set}" = set; then
21285 echo $ECHO_N "(cached) $ECHO_C" >&6
21287 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21288 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21290 # Is the header compilable?
21291 echo "$as_me:$LINENO: checking hash_map usability" >&5
21292 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21293 cat >conftest.
$ac_ext <<_ACEOF
21296 cat confdefs.h
>>conftest.
$ac_ext
21297 cat >>conftest.
$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21299 $ac_includes_default
21300 #include <hash_map>
21302 rm -f conftest.
$ac_objext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21304 (eval $ac_compile) 2>conftest.er1
21306 grep -v '^ *+' conftest.er1
>conftest.err
21308 cat conftest.err
>&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } &&
21311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313 (eval $ac_try) 2>&5
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); }; } &&
21317 { ac_try
='test -s conftest.$ac_objext'
21318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21319 (eval $ac_try) 2>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; }; then
21323 ac_header_compiler
=yes
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.
$ac_ext >&5
21328 ac_header_compiler
=no
21330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21332 echo "${ECHO_T}$ac_header_compiler" >&6
21334 # Is the header present?
21335 echo "$as_me:$LINENO: checking hash_map presence" >&5
21336 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21337 cat >conftest.
$ac_ext <<_ACEOF
21340 cat confdefs.h
>>conftest.
$ac_ext
21341 cat >>conftest.
$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21343 #include <hash_map>
21345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21346 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
21353 if test -s conftest.err
; then
21354 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21355 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21362 if test -z "$ac_cpp_err"; then
21363 ac_header_preproc
=yes
21365 echo "$as_me: failed program was:" >&5
21366 sed 's/^/| /' conftest.
$ac_ext >&5
21368 ac_header_preproc
=no
21370 rm -f conftest.err conftest.
$ac_ext
21371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21372 echo "${ECHO_T}$ac_header_preproc" >&6
21374 # So? What about this header?
21375 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21377 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21378 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21379 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21380 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21381 ac_header_preproc
=yes
21384 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21385 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21386 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21387 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21388 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21389 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21390 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21391 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21392 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21393 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21394 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21395 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21398 ## ----------------------------------------- ##
21399 ## Report this to wx-dev@lists.wxwidgets.org ##
21400 ## ----------------------------------------- ##
21403 sed "s/^/$as_me: WARNING: /" >&2
21406 echo "$as_me:$LINENO: checking for hash_map" >&5
21407 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21408 if test "${ac_cv_header_hash_map+set}" = set; then
21409 echo $ECHO_N "(cached) $ECHO_C" >&6
21411 ac_cv_header_hash_map
=$ac_header_preproc
21413 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21414 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21417 if test $ac_cv_header_hash_map = yes; then
21418 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21419 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21420 cat >conftest.
$ac_ext <<_ACEOF
21423 cat confdefs.h
>>conftest.
$ac_ext
21424 cat >>conftest.
$ac_ext <<_ACEOF
21425 /* end confdefs.h. */
21426 #include <hash_map>
21427 #include <hash_set>
21431 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21432 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21437 rm -f conftest.
$ac_objext
21438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21439 (eval $ac_compile) 2>conftest.er1
21441 grep -v '^ *+' conftest.er1
>conftest.err
21443 cat conftest.err
>&5
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); } &&
21446 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21448 (eval $ac_try) 2>&5
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); }; } &&
21452 { ac_try
='test -s conftest.$ac_objext'
21453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21454 (eval $ac_try) 2>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; }; then
21458 echo "$as_me:$LINENO: result: yes" >&5
21459 echo "${ECHO_T}yes" >&6
21460 cat >>confdefs.h
<<\_ACEOF
21461 #define HAVE_HASH_MAP 1
21464 cat >>confdefs.h
<<\_ACEOF
21465 #define HAVE_STD_HASH_MAP 1
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.
$ac_ext >&5
21472 echo "$as_me:$LINENO: result: no" >&5
21473 echo "${ECHO_T}no" >&6
21475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21481 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21482 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21483 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21484 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21485 echo $ECHO_N "(cached) $ECHO_C" >&6
21487 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21488 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21490 # Is the header compilable?
21491 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21492 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21493 cat >conftest.
$ac_ext <<_ACEOF
21496 cat confdefs.h
>>conftest.
$ac_ext
21497 cat >>conftest.
$ac_ext <<_ACEOF
21498 /* end confdefs.h. */
21499 $ac_includes_default
21500 #include <ext/hash_map>
21502 rm -f conftest.
$ac_objext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21504 (eval $ac_compile) 2>conftest.er1
21506 grep -v '^ *+' conftest.er1
>conftest.err
21508 cat conftest.err
>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } &&
21511 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513 (eval $ac_try) 2>&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; } &&
21517 { ac_try
='test -s conftest.$ac_objext'
21518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21519 (eval $ac_try) 2>&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); }; }; then
21523 ac_header_compiler
=yes
21525 echo "$as_me: failed program was:" >&5
21526 sed 's/^/| /' conftest.
$ac_ext >&5
21528 ac_header_compiler
=no
21530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21532 echo "${ECHO_T}$ac_header_compiler" >&6
21534 # Is the header present?
21535 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21536 echo $ECHO_N "checking ext/hash_map presence... $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 #include <ext/hash_map>
21545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21546 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21548 grep -v '^ *+' conftest.er1
>conftest.err
21550 cat conftest.err
>&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } >/dev
/null
; then
21553 if test -s conftest.err
; then
21554 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21555 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21562 if test -z "$ac_cpp_err"; then
21563 ac_header_preproc
=yes
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.
$ac_ext >&5
21568 ac_header_preproc
=no
21570 rm -f conftest.err conftest.
$ac_ext
21571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21572 echo "${ECHO_T}$ac_header_preproc" >&6
21574 # So? What about this header?
21575 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21577 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21578 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21579 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21580 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21581 ac_header_preproc
=yes
21584 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21585 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21586 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21587 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21588 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21589 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21590 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21591 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21592 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21593 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21594 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21595 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21598 ## ----------------------------------------- ##
21599 ## Report this to wx-dev@lists.wxwidgets.org ##
21600 ## ----------------------------------------- ##
21603 sed "s/^/$as_me: WARNING: /" >&2
21606 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21607 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21608 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21611 ac_cv_header_ext_hash_map
=$ac_header_preproc
21613 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21614 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21617 if test $ac_cv_header_ext_hash_map = yes; then
21618 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21619 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21620 cat >conftest.
$ac_ext <<_ACEOF
21623 cat confdefs.h
>>conftest.
$ac_ext
21624 cat >>conftest.
$ac_ext <<_ACEOF
21625 /* end confdefs.h. */
21626 #include <ext/hash_map>
21627 #include <ext/hash_set>
21631 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21632 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21637 rm -f conftest.
$ac_objext
21638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21639 (eval $ac_compile) 2>conftest.er1
21641 grep -v '^ *+' conftest.er1
>conftest.err
21643 cat conftest.err
>&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } &&
21646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21648 (eval $ac_try) 2>&5
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; } &&
21652 { ac_try
='test -s conftest.$ac_objext'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; }; then
21658 echo "$as_me:$LINENO: result: yes" >&5
21659 echo "${ECHO_T}yes" >&6
21660 cat >>confdefs.h
<<\_ACEOF
21661 #define HAVE_EXT_HASH_MAP 1
21664 cat >>confdefs.h
<<\_ACEOF
21665 #define HAVE_GNU_CXX_HASH_MAP 1
21669 echo "$as_me: failed program was:" >&5
21670 sed 's/^/| /' conftest.
$ac_ext >&5
21672 echo "$as_me:$LINENO: result: no" >&5
21673 echo "${ECHO_T}no" >&6
21675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21682 ac_cpp
='$CPP $CPPFLAGS'
21683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21691 /usr/local/include \
21693 /usr/Motif-2.1/include \
21694 /usr/Motif-1.2/include \
21695 /usr/include/Motif1.2 \
21696 /opt/xpm/include/X11 \
21697 /opt/GBxpm/include/ \
21698 /opt/GBxpm/X11/include/ \
21701 /usr/openwin/include \
21705 /usr/X11R6/include \
21706 /usr/X11R6.4/include \
21707 /usr/X11R5/include \
21708 /usr/X11R4/include \
21710 /usr/include/X11R6 \
21711 /usr/include/X11R5 \
21712 /usr/include/X11R4 \
21714 /usr/local/X11R6/include \
21715 /usr/local/X11R5/include \
21716 /usr/local/X11R4/include \
21718 /usr/local/include/X11R6 \
21719 /usr/local/include/X11R5 \
21720 /usr/local/include/X11R4 \
21724 /usr/local/X11/include \
21725 /usr/local/include/X11 \
21727 /usr/X386/include \
21728 /usr/x386/include \
21729 /usr/XFree86/include/X11 \
21731 X:/XFree86/include \
21732 X:/XFree86/include/X11 \
21735 /usr/local/include/gtk \
21736 /usr/include/glib \
21737 /usr/local/include/glib \
21740 /usr/local/include/qt \
21742 /usr/local/arm/3.3.2/include \
21744 /usr/include/windows \
21745 /usr/include/wine \
21746 /usr/local/include/wine \
21748 /usr/unsupported/include \
21749 /usr/athena/include \
21750 /usr/local/x11r5/include \
21751 /usr/lpp/Xamples/include \
21753 /usr/openwin/share/include"
21755 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21758 cat >confcache
<<\_ACEOF
21759 # This file is a shell script that caches the results of configure
21760 # tests run on this system so they can be shared between configure
21761 # scripts and configure runs, see configure's option --config-cache.
21762 # It is not useful on other systems. If it contains results you don't
21763 # want to keep, you may remove or edit it.
21765 # config.status only pays attention to the cache file if you give it
21766 # the --recheck option to rerun configure.
21768 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21769 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21770 # following values.
21774 # The following way of writing the cache mishandles newlines in values,
21775 # but we know of no workaround that is simple, portable, and efficient.
21776 # So, don't put newlines in cache variables' values.
21777 # Ultrix sh set writes to stderr and can't be redirected directly,
21778 # and sets the high bit in the cache file unless we assign to the vars.
21781 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21783 # `set' does not quote correctly, so add quotes (double-quote
21784 # substitution turns \\\\ into \\, and sed turns \\ into \).
21787 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21790 # `set' quotes correctly as required by POSIX, so do not add quotes.
21792 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21799 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21801 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21803 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21804 if test -w $cache_file; then
21805 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21806 cat confcache
>$cache_file
21808 echo "not updating unwritable cache $cache_file"
21813 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21814 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21815 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21816 if test "${wx_cv_lib_glibc21+set}" = set; then
21817 echo $ECHO_N "(cached) $ECHO_C" >&6
21820 cat >conftest.
$ac_ext <<_ACEOF
21823 cat confdefs.h
>>conftest.
$ac_ext
21824 cat >>conftest.
$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 #include <features.h>
21831 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21832 #error not glibc2.1
21839 rm -f conftest.
$ac_objext
21840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21841 (eval $ac_compile) 2>conftest.er1
21843 grep -v '^ *+' conftest.er1
>conftest.err
21845 cat conftest.err
>&5
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); } &&
21848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21850 (eval $ac_try) 2>&5
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); }; } &&
21854 { ac_try
='test -s conftest.$ac_objext'
21855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 (eval $ac_try) 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; }; then
21861 wx_cv_lib_glibc21
=yes
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.
$ac_ext >&5
21868 wx_cv_lib_glibc21
=no
21872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21875 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21876 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21877 if test "$wx_cv_lib_glibc21" = "yes"; then
21878 cat >>confdefs.h
<<\_ACEOF
21879 #define wxHAVE_GLIBC2 1
21885 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21886 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21887 cat >>confdefs.h
<<\_ACEOF
21888 #define _GNU_SOURCE 1
21896 if test "$wxUSE_REGEX" != "no"; then
21897 cat >>confdefs.h
<<\_ACEOF
21898 #define wxUSE_REGEX 1
21902 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21903 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21904 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21905 wxUSE_REGEX
=builtin
21908 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21909 if test "${ac_cv_header_regex_h+set}" = set; then
21910 echo "$as_me:$LINENO: checking for regex.h" >&5
21911 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21912 if test "${ac_cv_header_regex_h+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21915 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21916 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21918 # Is the header compilable?
21919 echo "$as_me:$LINENO: checking regex.h usability" >&5
21920 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21921 cat >conftest.
$ac_ext <<_ACEOF
21924 cat confdefs.h
>>conftest.
$ac_ext
21925 cat >>conftest.
$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21930 rm -f conftest.
$ac_objext
21931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21932 (eval $ac_compile) 2>conftest.er1
21934 grep -v '^ *+' conftest.er1
>conftest.err
21936 cat conftest.err
>&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); } &&
21939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21941 (eval $ac_try) 2>&5
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); }; } &&
21945 { ac_try
='test -s conftest.$ac_objext'
21946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21947 (eval $ac_try) 2>&5
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); }; }; then
21951 ac_header_compiler
=yes
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.
$ac_ext >&5
21956 ac_header_compiler
=no
21958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21960 echo "${ECHO_T}$ac_header_compiler" >&6
21962 # Is the header present?
21963 echo "$as_me:$LINENO: checking regex.h presence" >&5
21964 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
21965 cat >conftest.
$ac_ext <<_ACEOF
21968 cat confdefs.h
>>conftest.
$ac_ext
21969 cat >>conftest.
$ac_ext <<_ACEOF
21970 /* end confdefs.h. */
21973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21974 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21976 grep -v '^ *+' conftest.er1
>conftest.err
21978 cat conftest.err
>&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } >/dev
/null
; then
21981 if test -s conftest.err
; then
21982 ac_cpp_err
=$ac_c_preproc_warn_flag
21983 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21990 if test -z "$ac_cpp_err"; then
21991 ac_header_preproc
=yes
21993 echo "$as_me: failed program was:" >&5
21994 sed 's/^/| /' conftest.
$ac_ext >&5
21996 ac_header_preproc
=no
21998 rm -f conftest.err conftest.
$ac_ext
21999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22000 echo "${ECHO_T}$ac_header_preproc" >&6
22002 # So? What about this header?
22003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22005 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22006 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22007 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22008 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22009 ac_header_preproc
=yes
22012 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22013 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22014 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22015 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22016 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22017 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22018 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22019 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22020 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22021 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22022 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22023 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22026 ## ----------------------------------------- ##
22027 ## Report this to wx-dev@lists.wxwidgets.org ##
22028 ## ----------------------------------------- ##
22031 sed "s/^/$as_me: WARNING: /" >&2
22034 echo "$as_me:$LINENO: checking for regex.h" >&5
22035 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22036 if test "${ac_cv_header_regex_h+set}" = set; then
22037 echo $ECHO_N "(cached) $ECHO_C" >&6
22039 ac_cv_header_regex_h
=$ac_header_preproc
22041 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22042 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22045 if test $ac_cv_header_regex_h = yes; then
22047 for ac_func
in regcomp
22049 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22050 echo "$as_me:$LINENO: checking for $ac_func" >&5
22051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22052 if eval "test \"\${$as_ac_var+set}\" = set"; then
22053 echo $ECHO_N "(cached) $ECHO_C" >&6
22055 cat >conftest.
$ac_ext <<_ACEOF
22058 cat confdefs.h
>>conftest.
$ac_ext
22059 cat >>conftest.
$ac_ext <<_ACEOF
22060 /* end confdefs.h. */
22061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22063 #define $ac_func innocuous_$ac_func
22065 /* System header to define __stub macros and hopefully few prototypes,
22066 which can conflict with char $ac_func (); below.
22067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22068 <limits.h> exists even on freestanding compilers. */
22071 # include <limits.h>
22073 # include <assert.h>
22078 /* Override any gcc2 internal prototype to avoid an error. */
22083 /* We use char because int might match the return type of a gcc2
22084 builtin and then its argument prototype would still apply. */
22086 /* The GNU C library defines this for functions which it implements
22087 to always fail with ENOSYS. Some functions are actually named
22088 something starting with __ and the normal name is an alias. */
22089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22092 char (*f) () = $ac_func;
22101 return f != $ac_func;
22106 rm -f conftest.
$ac_objext conftest
$ac_exeext
22107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22108 (eval $ac_link) 2>conftest.er1
22110 grep -v '^ *+' conftest.er1
>conftest.err
22112 cat conftest.err
>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; } &&
22121 { ac_try
='test -s conftest$ac_exeext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 eval "$as_ac_var=yes"
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.
$ac_ext >&5
22132 eval "$as_ac_var=no"
22134 rm -f conftest.err conftest.
$ac_objext \
22135 conftest
$ac_exeext conftest.
$ac_ext
22137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22139 if test `eval echo '${'$as_ac_var'}'` = yes; then
22140 cat >>confdefs.h
<<_ACEOF
22141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22151 if test "x$ac_cv_func_regcomp" != "xyes"; then
22152 if test "$wxUSE_REGEX" = "sys" ; then
22153 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22154 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22155 { (exit 1); exit 1; }; }
22157 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22158 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22159 wxUSE_REGEX
=builtin
22163 cat >>confdefs.h
<<\_ACEOF
22164 #define WX_NO_REGEX_ADVANCED 1
22173 if test "$wxUSE_ZLIB" != "no" ; then
22174 cat >>confdefs.h
<<\_ACEOF
22175 #define wxUSE_ZLIB 1
22179 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22180 if test "$USE_DARWIN" = 1; then
22181 system_zlib_h_ok
="yes"
22183 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22184 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22185 if test "${ac_cv_header_zlib_h+set}" = set; then
22186 echo $ECHO_N "(cached) $ECHO_C" >&6
22188 if test "$cross_compiling" = yes; then
22189 unset ac_cv_header_zlib_h
22192 cat >conftest.
$ac_ext <<_ACEOF
22195 cat confdefs.h
>>conftest.
$ac_ext
22196 cat >>conftest.
$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22204 FILE *f=fopen("conftestval", "w");
22207 ZLIB_VERSION[0] == '1' &&
22208 (ZLIB_VERSION[2] > '1' ||
22209 (ZLIB_VERSION[2] == '1' &&
22210 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22215 rm -f conftest
$ac_exeext
22216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22217 (eval $ac_link) 2>&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22222 (eval $ac_try) 2>&5
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); }; }; then
22226 ac_cv_header_zlib_h
=`cat conftestval`
22228 echo "$as_me: program exited with status $ac_status" >&5
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.
$ac_ext >&5
22232 ( exit $ac_status )
22233 ac_cv_header_zlib_h
=no
22235 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22239 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22240 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22241 if test "${ac_cv_header_zlib_h+set}" = set; then
22242 echo "$as_me:$LINENO: checking for zlib.h" >&5
22243 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22244 if test "${ac_cv_header_zlib_h+set}" = set; then
22245 echo $ECHO_N "(cached) $ECHO_C" >&6
22247 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22248 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22250 # Is the header compilable?
22251 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22252 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22253 cat >conftest.
$ac_ext <<_ACEOF
22256 cat confdefs.h
>>conftest.
$ac_ext
22257 cat >>conftest.
$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 $ac_includes_default
22262 rm -f conftest.
$ac_objext
22263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22264 (eval $ac_compile) 2>conftest.er1
22266 grep -v '^ *+' conftest.er1
>conftest.err
22268 cat conftest.err
>&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } &&
22271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22273 (eval $ac_try) 2>&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); }; } &&
22277 { ac_try
='test -s conftest.$ac_objext'
22278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22279 (eval $ac_try) 2>&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); }; }; then
22283 ac_header_compiler
=yes
22285 echo "$as_me: failed program was:" >&5
22286 sed 's/^/| /' conftest.
$ac_ext >&5
22288 ac_header_compiler
=no
22290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22292 echo "${ECHO_T}$ac_header_compiler" >&6
22294 # Is the header present?
22295 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22296 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22297 cat >conftest.
$ac_ext <<_ACEOF
22300 cat confdefs.h
>>conftest.
$ac_ext
22301 cat >>conftest.
$ac_ext <<_ACEOF
22302 /* end confdefs.h. */
22305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22308 grep -v '^ *+' conftest.er1
>conftest.err
22310 cat conftest.err
>&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } >/dev
/null
; then
22313 if test -s conftest.err
; then
22314 ac_cpp_err
=$ac_c_preproc_warn_flag
22315 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22322 if test -z "$ac_cpp_err"; then
22323 ac_header_preproc
=yes
22325 echo "$as_me: failed program was:" >&5
22326 sed 's/^/| /' conftest.
$ac_ext >&5
22328 ac_header_preproc
=no
22330 rm -f conftest.err conftest.
$ac_ext
22331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22332 echo "${ECHO_T}$ac_header_preproc" >&6
22334 # So? What about this header?
22335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22337 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22338 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22339 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22340 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22341 ac_header_preproc
=yes
22344 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22345 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22346 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22347 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22348 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22349 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22350 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22351 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22352 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22353 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22354 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22355 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22358 ## ----------------------------------------- ##
22359 ## Report this to wx-dev@lists.wxwidgets.org ##
22360 ## ----------------------------------------- ##
22363 sed "s/^/$as_me: WARNING: /" >&2
22366 echo "$as_me:$LINENO: checking for zlib.h" >&5
22367 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22368 if test "${ac_cv_header_zlib_h+set}" = set; then
22369 echo $ECHO_N "(cached) $ECHO_C" >&6
22371 ac_cv_header_zlib_h
=$ac_header_preproc
22373 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22374 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22380 system_zlib_h_ok
=$ac_cv_header_zlib_h
22383 if test "$system_zlib_h_ok" = "yes"; then
22384 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22385 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22386 if test "${ac_cv_lib_z_deflate+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22389 ac_check_lib_save_LIBS
=$LIBS
22391 cat >conftest.
$ac_ext <<_ACEOF
22394 cat confdefs.h
>>conftest.
$ac_ext
22395 cat >>conftest.
$ac_ext <<_ACEOF
22396 /* end confdefs.h. */
22398 /* Override any gcc2 internal prototype to avoid an error. */
22402 /* We use char because int might match the return type of a gcc2
22403 builtin and then its argument prototype would still apply. */
22413 rm -f conftest.
$ac_objext conftest
$ac_exeext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22415 (eval $ac_link) 2>conftest.er1
22417 grep -v '^ *+' conftest.er1
>conftest.err
22419 cat conftest.err
>&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22424 (eval $ac_try) 2>&5
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); }; } &&
22428 { ac_try
='test -s conftest$ac_exeext'
22429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22430 (eval $ac_try) 2>&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); }; }; then
22434 ac_cv_lib_z_deflate
=yes
22436 echo "$as_me: failed program was:" >&5
22437 sed 's/^/| /' conftest.
$ac_ext >&5
22439 ac_cv_lib_z_deflate
=no
22441 rm -f conftest.err conftest.
$ac_objext \
22442 conftest
$ac_exeext conftest.
$ac_ext
22443 LIBS
=$ac_check_lib_save_LIBS
22445 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22446 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22447 if test $ac_cv_lib_z_deflate = yes; then
22453 if test "x$ZLIB_LINK" = "x" ; then
22454 if test "$wxUSE_ZLIB" = "sys" ; then
22455 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22456 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22457 { (exit 1); exit 1; }; }
22459 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22460 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22471 if test "$wxUSE_LIBPNG" != "no" ; then
22472 cat >>confdefs.h
<<\_ACEOF
22473 #define wxUSE_LIBPNG 1
22477 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22478 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22479 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22483 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22484 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22485 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22486 wxUSE_LIBPNG
=builtin
22489 if test "$wxUSE_MGL" != 1 ; then
22490 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22491 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22492 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22493 if test "${ac_cv_header_png_h+set}" = set; then
22494 echo $ECHO_N "(cached) $ECHO_C" >&6
22496 if test "$cross_compiling" = yes; then
22497 unset ac_cv_header_png_h
22500 cat >conftest.
$ac_ext <<_ACEOF
22503 cat confdefs.h
>>conftest.
$ac_ext
22504 cat >>conftest.
$ac_ext <<_ACEOF
22505 /* end confdefs.h. */
22512 FILE *f=fopen("conftestval", "w");
22515 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22520 rm -f conftest
$ac_exeext
22521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22522 (eval $ac_link) 2>&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22527 (eval $ac_try) 2>&5
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); }; }; then
22531 ac_cv_header_png_h
=`cat conftestval`
22533 echo "$as_me: program exited with status $ac_status" >&5
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.
$ac_ext >&5
22537 ( exit $ac_status )
22538 ac_cv_header_png_h
=no
22540 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22544 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22545 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22546 if test "${ac_cv_header_png_h+set}" = set; then
22547 echo "$as_me:$LINENO: checking for png.h" >&5
22548 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22549 if test "${ac_cv_header_png_h+set}" = set; then
22550 echo $ECHO_N "(cached) $ECHO_C" >&6
22552 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22553 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22555 # Is the header compilable?
22556 echo "$as_me:$LINENO: checking png.h usability" >&5
22557 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22558 cat >conftest.
$ac_ext <<_ACEOF
22561 cat confdefs.h
>>conftest.
$ac_ext
22562 cat >>conftest.
$ac_ext <<_ACEOF
22563 /* end confdefs.h. */
22564 $ac_includes_default
22567 rm -f conftest.
$ac_objext
22568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22569 (eval $ac_compile) 2>conftest.er1
22571 grep -v '^ *+' conftest.er1
>conftest.err
22573 cat conftest.err
>&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } &&
22576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
22582 { ac_try
='test -s conftest.$ac_objext'
22583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22584 (eval $ac_try) 2>&5
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); }; }; then
22588 ac_header_compiler
=yes
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.
$ac_ext >&5
22593 ac_header_compiler
=no
22595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22597 echo "${ECHO_T}$ac_header_compiler" >&6
22599 # Is the header present?
22600 echo "$as_me:$LINENO: checking png.h presence" >&5
22601 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22602 cat >conftest.
$ac_ext <<_ACEOF
22605 cat confdefs.h
>>conftest.
$ac_ext
22606 cat >>conftest.
$ac_ext <<_ACEOF
22607 /* end confdefs.h. */
22610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22611 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22613 grep -v '^ *+' conftest.er1
>conftest.err
22615 cat conftest.err
>&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } >/dev
/null
; then
22618 if test -s conftest.err
; then
22619 ac_cpp_err
=$ac_c_preproc_warn_flag
22620 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22627 if test -z "$ac_cpp_err"; then
22628 ac_header_preproc
=yes
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.
$ac_ext >&5
22633 ac_header_preproc
=no
22635 rm -f conftest.err conftest.
$ac_ext
22636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22637 echo "${ECHO_T}$ac_header_preproc" >&6
22639 # So? What about this header?
22640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22642 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22643 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22644 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22645 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22646 ac_header_preproc
=yes
22649 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22650 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22651 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22652 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22653 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22654 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22655 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22656 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22657 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22658 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22659 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22660 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22663 ## ----------------------------------------- ##
22664 ## Report this to wx-dev@lists.wxwidgets.org ##
22665 ## ----------------------------------------- ##
22668 sed "s/^/$as_me: WARNING: /" >&2
22671 echo "$as_me:$LINENO: checking for png.h" >&5
22672 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22673 if test "${ac_cv_header_png_h+set}" = set; then
22674 echo $ECHO_N "(cached) $ECHO_C" >&6
22676 ac_cv_header_png_h
=$ac_header_preproc
22678 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22679 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22685 if test "$ac_cv_header_png_h" = "yes"; then
22686 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22687 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22688 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22689 echo $ECHO_N "(cached) $ECHO_C" >&6
22691 ac_check_lib_save_LIBS
=$LIBS
22692 LIBS
="-lpng -lz -lm $LIBS"
22693 cat >conftest.
$ac_ext <<_ACEOF
22696 cat confdefs.h
>>conftest.
$ac_ext
22697 cat >>conftest.
$ac_ext <<_ACEOF
22698 /* end confdefs.h. */
22700 /* Override any gcc2 internal prototype to avoid an error. */
22704 /* We use char because int might match the return type of a gcc2
22705 builtin and then its argument prototype would still apply. */
22706 char png_check_sig ();
22715 rm -f conftest.
$ac_objext conftest
$ac_exeext
22716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22717 (eval $ac_link) 2>conftest.er1
22719 grep -v '^ *+' conftest.er1
>conftest.err
22721 cat conftest.err
>&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); } &&
22724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726 (eval $ac_try) 2>&5
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); }; } &&
22730 { ac_try
='test -s conftest$ac_exeext'
22731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22732 (eval $ac_try) 2>&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; }; then
22736 ac_cv_lib_png_png_check_sig
=yes
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.
$ac_ext >&5
22741 ac_cv_lib_png_png_check_sig
=no
22743 rm -f conftest.err conftest.
$ac_objext \
22744 conftest
$ac_exeext conftest.
$ac_ext
22745 LIBS
=$ac_check_lib_save_LIBS
22747 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22748 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22749 if test $ac_cv_lib_png_png_check_sig = yes; then
22750 PNG_LINK
=" -lpng -lz"
22755 if test "x$PNG_LINK" = "x" ; then
22756 if test "$wxUSE_LIBPNG" = "sys" ; then
22757 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22758 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22759 { (exit 1); exit 1; }; }
22761 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22762 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22763 wxUSE_LIBPNG
=builtin
22771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
22776 if test "$wxUSE_LIBJPEG" != "no" ; then
22777 cat >>confdefs.h
<<\_ACEOF
22778 #define wxUSE_LIBJPEG 1
22782 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22783 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22784 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22788 if test "$wxUSE_MGL" != 1 ; then
22789 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22790 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22791 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22792 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22793 echo $ECHO_N "(cached) $ECHO_C" >&6
22795 cat >conftest.
$ac_ext <<_ACEOF
22798 cat confdefs.h
>>conftest.
$ac_ext
22799 cat >>conftest.
$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22802 #undef HAVE_STDLIB_H
22804 #include <jpeglib.h>
22815 rm -f conftest.
$ac_objext
22816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22817 (eval $ac_compile) 2>conftest.er1
22819 grep -v '^ *+' conftest.er1
>conftest.err
22821 cat conftest.err
>&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } &&
22824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826 (eval $ac_try) 2>&5
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; } &&
22830 { ac_try
='test -s conftest.$ac_objext'
22831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22832 (eval $ac_try) 2>&5
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); }; }; then
22836 ac_cv_header_jpeglib_h
=yes
22838 echo "$as_me: failed program was:" >&5
22839 sed 's/^/| /' conftest.
$ac_ext >&5
22841 ac_cv_header_jpeglib_h
=no
22844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22848 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22849 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22851 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22852 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22853 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22854 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22855 echo $ECHO_N "(cached) $ECHO_C" >&6
22857 ac_check_lib_save_LIBS
=$LIBS
22858 LIBS
="-ljpeg $LIBS"
22859 cat >conftest.
$ac_ext <<_ACEOF
22862 cat confdefs.h
>>conftest.
$ac_ext
22863 cat >>conftest.
$ac_ext <<_ACEOF
22864 /* end confdefs.h. */
22866 /* Override any gcc2 internal prototype to avoid an error. */
22870 /* We use char because int might match the return type of a gcc2
22871 builtin and then its argument prototype would still apply. */
22872 char jpeg_read_header ();
22876 jpeg_read_header ();
22881 rm -f conftest.
$ac_objext conftest
$ac_exeext
22882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22883 (eval $ac_link) 2>conftest.er1
22885 grep -v '^ *+' conftest.er1
>conftest.err
22887 cat conftest.err
>&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); } &&
22890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22892 (eval $ac_try) 2>&5
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); }; } &&
22896 { ac_try
='test -s conftest$ac_exeext'
22897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898 (eval $ac_try) 2>&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); }; }; then
22902 ac_cv_lib_jpeg_jpeg_read_header
=yes
22904 echo "$as_me: failed program was:" >&5
22905 sed 's/^/| /' conftest.
$ac_ext >&5
22907 ac_cv_lib_jpeg_jpeg_read_header
=no
22909 rm -f conftest.err conftest.
$ac_objext \
22910 conftest
$ac_exeext conftest.
$ac_ext
22911 LIBS
=$ac_check_lib_save_LIBS
22913 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22914 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22915 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22916 JPEG_LINK
=" -ljpeg"
22921 if test "x$JPEG_LINK" = "x" ; then
22922 if test "$wxUSE_LIBJPEG" = "sys" ; then
22923 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22924 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22925 { (exit 1); exit 1; }; }
22927 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22928 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22929 wxUSE_LIBJPEG
=builtin
22940 TIFF_PREREQ_LINKS
=-lm
22941 if test "$wxUSE_LIBTIFF" != "no" ; then
22942 cat >>confdefs.h
<<\_ACEOF
22943 #define wxUSE_LIBTIFF 1
22947 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22948 if test "$wxUSE_LIBJPEG" = "sys"; then
22949 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22951 if test "$wxUSE_ZLIB" = "sys"; then
22952 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22954 if test "${ac_cv_header_tiffio_h+set}" = set; then
22955 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22956 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22957 if test "${ac_cv_header_tiffio_h+set}" = set; then
22958 echo $ECHO_N "(cached) $ECHO_C" >&6
22960 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22961 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22963 # Is the header compilable?
22964 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
22965 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
22966 cat >conftest.
$ac_ext <<_ACEOF
22969 cat confdefs.h
>>conftest.
$ac_ext
22970 cat >>conftest.
$ac_ext <<_ACEOF
22971 /* end confdefs.h. */
22972 $ac_includes_default
22973 #include <tiffio.h>
22975 rm -f conftest.
$ac_objext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22977 (eval $ac_compile) 2>conftest.er1
22979 grep -v '^ *+' conftest.er1
>conftest.err
22981 cat conftest.err
>&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; } &&
22990 { ac_try
='test -s conftest.$ac_objext'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; }; then
22996 ac_header_compiler
=yes
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.
$ac_ext >&5
23001 ac_header_compiler
=no
23003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23005 echo "${ECHO_T}$ac_header_compiler" >&6
23007 # Is the header present?
23008 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23009 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23010 cat >conftest.
$ac_ext <<_ACEOF
23013 cat confdefs.h
>>conftest.
$ac_ext
23014 cat >>conftest.
$ac_ext <<_ACEOF
23015 /* end confdefs.h. */
23016 #include <tiffio.h>
23018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23019 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23021 grep -v '^ *+' conftest.er1
>conftest.err
23023 cat conftest.err
>&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); } >/dev
/null
; then
23026 if test -s conftest.err
; then
23027 ac_cpp_err
=$ac_c_preproc_warn_flag
23028 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23035 if test -z "$ac_cpp_err"; then
23036 ac_header_preproc
=yes
23038 echo "$as_me: failed program was:" >&5
23039 sed 's/^/| /' conftest.
$ac_ext >&5
23041 ac_header_preproc
=no
23043 rm -f conftest.err conftest.
$ac_ext
23044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23045 echo "${ECHO_T}$ac_header_preproc" >&6
23047 # So? What about this header?
23048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23050 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23051 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23052 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23053 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23054 ac_header_preproc
=yes
23057 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23058 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23059 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23060 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23062 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23063 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23064 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23065 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23066 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23067 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23068 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23071 ## ----------------------------------------- ##
23072 ## Report this to wx-dev@lists.wxwidgets.org ##
23073 ## ----------------------------------------- ##
23076 sed "s/^/$as_me: WARNING: /" >&2
23079 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23080 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23081 if test "${ac_cv_header_tiffio_h+set}" = set; then
23082 echo $ECHO_N "(cached) $ECHO_C" >&6
23084 ac_cv_header_tiffio_h
=$ac_header_preproc
23086 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23087 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23090 if test $ac_cv_header_tiffio_h = yes; then
23092 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23093 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23094 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23095 echo $ECHO_N "(cached) $ECHO_C" >&6
23097 ac_check_lib_save_LIBS
=$LIBS
23098 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23099 cat >conftest.
$ac_ext <<_ACEOF
23102 cat confdefs.h
>>conftest.
$ac_ext
23103 cat >>conftest.
$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23106 /* Override any gcc2 internal prototype to avoid an error. */
23110 /* We use char because int might match the return type of a gcc2
23111 builtin and then its argument prototype would still apply. */
23121 rm -f conftest.
$ac_objext conftest
$ac_exeext
23122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23123 (eval $ac_link) 2>conftest.er1
23125 grep -v '^ *+' conftest.er1
>conftest.err
23127 cat conftest.err
>&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); } &&
23130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; } &&
23136 { ac_try
='test -s conftest$ac_exeext'
23137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23138 (eval $ac_try) 2>&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); }; }; then
23142 ac_cv_lib_tiff_TIFFError
=yes
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.
$ac_ext >&5
23147 ac_cv_lib_tiff_TIFFError
=no
23149 rm -f conftest.err conftest.
$ac_objext \
23150 conftest
$ac_exeext conftest.
$ac_ext
23151 LIBS
=$ac_check_lib_save_LIBS
23153 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23154 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23155 if test $ac_cv_lib_tiff_TIFFError = yes; then
23156 TIFF_LINK
=" -ltiff"
23165 if test "x$TIFF_LINK" = "x" ; then
23166 if test "$wxUSE_LIBTIFF" = "sys" ; then
23167 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23168 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23169 { (exit 1); exit 1; }; }
23171 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23172 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23173 wxUSE_LIBTIFF
=builtin
23182 if test "$wxUSE_EXPAT" != "no"; then
23184 cat >>confdefs.h
<<\_ACEOF
23185 #define wxUSE_EXPAT 1
23188 cat >>confdefs.h
<<\_ACEOF
23189 #define wxUSE_XML 1
23193 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23194 if test "${ac_cv_header_expat_h+set}" = set; then
23195 echo "$as_me:$LINENO: checking for expat.h" >&5
23196 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23197 if test "${ac_cv_header_expat_h+set}" = set; then
23198 echo $ECHO_N "(cached) $ECHO_C" >&6
23200 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23201 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23203 # Is the header compilable?
23204 echo "$as_me:$LINENO: checking expat.h usability" >&5
23205 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23206 cat >conftest.
$ac_ext <<_ACEOF
23209 cat confdefs.h
>>conftest.
$ac_ext
23210 cat >>conftest.
$ac_ext <<_ACEOF
23211 /* end confdefs.h. */
23212 $ac_includes_default
23215 rm -f conftest.
$ac_objext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23217 (eval $ac_compile) 2>conftest.er1
23219 grep -v '^ *+' conftest.er1
>conftest.err
23221 cat conftest.err
>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } &&
23224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; } &&
23230 { ac_try
='test -s conftest.$ac_objext'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; }; then
23236 ac_header_compiler
=yes
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.
$ac_ext >&5
23241 ac_header_compiler
=no
23243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23245 echo "${ECHO_T}$ac_header_compiler" >&6
23247 # Is the header present?
23248 echo "$as_me:$LINENO: checking expat.h presence" >&5
23249 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23250 cat >conftest.
$ac_ext <<_ACEOF
23253 cat confdefs.h
>>conftest.
$ac_ext
23254 cat >>conftest.
$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23259 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23261 grep -v '^ *+' conftest.er1
>conftest.err
23263 cat conftest.err
>&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); } >/dev
/null
; then
23266 if test -s conftest.err
; then
23267 ac_cpp_err
=$ac_c_preproc_warn_flag
23268 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23275 if test -z "$ac_cpp_err"; then
23276 ac_header_preproc
=yes
23278 echo "$as_me: failed program was:" >&5
23279 sed 's/^/| /' conftest.
$ac_ext >&5
23281 ac_header_preproc
=no
23283 rm -f conftest.err conftest.
$ac_ext
23284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23285 echo "${ECHO_T}$ac_header_preproc" >&6
23287 # So? What about this header?
23288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23290 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23291 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23292 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23293 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23294 ac_header_preproc
=yes
23297 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23298 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23299 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23300 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23301 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23302 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23303 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23304 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23305 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23306 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23307 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23308 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23311 ## ----------------------------------------- ##
23312 ## Report this to wx-dev@lists.wxwidgets.org ##
23313 ## ----------------------------------------- ##
23316 sed "s/^/$as_me: WARNING: /" >&2
23319 echo "$as_me:$LINENO: checking for expat.h" >&5
23320 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23321 if test "${ac_cv_header_expat_h+set}" = set; then
23322 echo $ECHO_N "(cached) $ECHO_C" >&6
23324 ac_cv_header_expat_h
=$ac_header_preproc
23326 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23327 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23330 if test $ac_cv_header_expat_h = yes; then
23335 if test "x$found_expat_h" = "x1"; then
23336 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23337 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23338 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23339 echo $ECHO_N "(cached) $ECHO_C" >&6
23345 ac_cpp
='$CXXCPP $CPPFLAGS'
23346 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23347 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23348 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23350 cat >conftest.
$ac_ext <<_ACEOF
23353 cat confdefs.h
>>conftest.
$ac_ext
23354 cat >>conftest.
$ac_ext <<_ACEOF
23355 /* end confdefs.h. */
23365 rm -f conftest.
$ac_objext
23366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23367 (eval $ac_compile) 2>conftest.er1
23369 grep -v '^ *+' conftest.er1
>conftest.err
23371 cat conftest.err
>&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); } &&
23374 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23376 (eval $ac_try) 2>&5
23378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 (exit $ac_status); }; } &&
23380 { ac_try
='test -s conftest.$ac_objext'
23381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23382 (eval $ac_try) 2>&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); }; }; then
23386 wx_cv_expat_is_not_broken
=yes
23388 echo "$as_me: failed program was:" >&5
23389 sed 's/^/| /' conftest.
$ac_ext >&5
23391 wx_cv_expat_is_not_broken
=no
23394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23396 ac_cpp
='$CPP $CPPFLAGS'
23397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23404 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23405 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23406 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23407 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23408 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23409 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23410 echo $ECHO_N "(cached) $ECHO_C" >&6
23412 ac_check_lib_save_LIBS
=$LIBS
23413 LIBS
="-lexpat $LIBS"
23414 cat >conftest.
$ac_ext <<_ACEOF
23417 cat confdefs.h
>>conftest.
$ac_ext
23418 cat >>conftest.
$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23421 /* Override any gcc2 internal prototype to avoid an error. */
23425 /* We use char because int might match the return type of a gcc2
23426 builtin and then its argument prototype would still apply. */
23427 char XML_ParserCreate ();
23431 XML_ParserCreate ();
23436 rm -f conftest.
$ac_objext conftest
$ac_exeext
23437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23438 (eval $ac_link) 2>conftest.er1
23440 grep -v '^ *+' conftest.er1
>conftest.err
23442 cat conftest.err
>&5
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); } &&
23445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23447 (eval $ac_try) 2>&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); }; } &&
23451 { ac_try
='test -s conftest$ac_exeext'
23452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453 (eval $ac_try) 2>&5
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 ac_cv_lib_expat_XML_ParserCreate
=yes
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.
$ac_ext >&5
23462 ac_cv_lib_expat_XML_ParserCreate
=no
23464 rm -f conftest.err conftest.
$ac_objext \
23465 conftest
$ac_exeext conftest.
$ac_ext
23466 LIBS
=$ac_check_lib_save_LIBS
23468 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23469 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23470 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23471 EXPAT_LINK
=" -lexpat"
23476 if test "x$EXPAT_LINK" = "x" ; then
23477 if test "$wxUSE_EXPAT" = "sys" ; then
23478 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23479 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23480 { (exit 1); exit 1; }; }
23482 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23483 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23484 wxUSE_EXPAT
=builtin
23490 if test "$wxUSE_EXPAT" = "builtin" ; then
23493 subdirs
="$subdirs src/expat"
23500 if test "$wxUSE_LIBMSPACK" != "no"; then
23501 if test "${ac_cv_header_mspack_h+set}" = set; then
23502 echo "$as_me:$LINENO: checking for mspack.h" >&5
23503 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23504 if test "${ac_cv_header_mspack_h+set}" = set; then
23505 echo $ECHO_N "(cached) $ECHO_C" >&6
23507 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23508 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23510 # Is the header compilable?
23511 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23512 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23513 cat >conftest.
$ac_ext <<_ACEOF
23516 cat confdefs.h
>>conftest.
$ac_ext
23517 cat >>conftest.
$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23519 $ac_includes_default
23520 #include <mspack.h>
23522 rm -f conftest.
$ac_objext
23523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23524 (eval $ac_compile) 2>conftest.er1
23526 grep -v '^ *+' conftest.er1
>conftest.err
23528 cat conftest.err
>&5
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); } &&
23531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; } &&
23537 { ac_try
='test -s conftest.$ac_objext'
23538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23539 (eval $ac_try) 2>&5
23541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); }; }; then
23543 ac_header_compiler
=yes
23545 echo "$as_me: failed program was:" >&5
23546 sed 's/^/| /' conftest.
$ac_ext >&5
23548 ac_header_compiler
=no
23550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23552 echo "${ECHO_T}$ac_header_compiler" >&6
23554 # Is the header present?
23555 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23556 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23557 cat >conftest.
$ac_ext <<_ACEOF
23560 cat confdefs.h
>>conftest.
$ac_ext
23561 cat >>conftest.
$ac_ext <<_ACEOF
23562 /* end confdefs.h. */
23563 #include <mspack.h>
23565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23566 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23568 grep -v '^ *+' conftest.er1
>conftest.err
23570 cat conftest.err
>&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } >/dev
/null
; then
23573 if test -s conftest.err
; then
23574 ac_cpp_err
=$ac_c_preproc_warn_flag
23575 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23582 if test -z "$ac_cpp_err"; then
23583 ac_header_preproc
=yes
23585 echo "$as_me: failed program was:" >&5
23586 sed 's/^/| /' conftest.
$ac_ext >&5
23588 ac_header_preproc
=no
23590 rm -f conftest.err conftest.
$ac_ext
23591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23592 echo "${ECHO_T}$ac_header_preproc" >&6
23594 # So? What about this header?
23595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23597 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23598 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23599 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23600 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23601 ac_header_preproc
=yes
23604 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23605 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23606 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23607 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23608 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23609 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23610 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23611 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23612 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23613 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23614 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23615 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23618 ## ----------------------------------------- ##
23619 ## Report this to wx-dev@lists.wxwidgets.org ##
23620 ## ----------------------------------------- ##
23623 sed "s/^/$as_me: WARNING: /" >&2
23626 echo "$as_me:$LINENO: checking for mspack.h" >&5
23627 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23628 if test "${ac_cv_header_mspack_h+set}" = set; then
23629 echo $ECHO_N "(cached) $ECHO_C" >&6
23631 ac_cv_header_mspack_h
=$ac_header_preproc
23633 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23634 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23637 if test $ac_cv_header_mspack_h = yes; then
23642 if test "x$found_mspack_h" = "x1"; then
23643 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23644 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23645 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23646 echo $ECHO_N "(cached) $ECHO_C" >&6
23648 ac_check_lib_save_LIBS
=$LIBS
23649 LIBS
="-lmspack $LIBS"
23650 cat >conftest.
$ac_ext <<_ACEOF
23653 cat confdefs.h
>>conftest.
$ac_ext
23654 cat >>conftest.
$ac_ext <<_ACEOF
23655 /* end confdefs.h. */
23657 /* Override any gcc2 internal prototype to avoid an error. */
23661 /* We use char because int might match the return type of a gcc2
23662 builtin and then its argument prototype would still apply. */
23663 char mspack_create_chm_decompressor ();
23667 mspack_create_chm_decompressor ();
23672 rm -f conftest.
$ac_objext conftest
$ac_exeext
23673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23674 (eval $ac_link) 2>conftest.er1
23676 grep -v '^ *+' conftest.er1
>conftest.err
23678 cat conftest.err
>&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } &&
23681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23683 (eval $ac_try) 2>&5
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); }; } &&
23687 { ac_try
='test -s conftest$ac_exeext'
23688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23689 (eval $ac_try) 2>&5
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); }; }; then
23693 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23695 echo "$as_me: failed program was:" >&5
23696 sed 's/^/| /' conftest.
$ac_ext >&5
23698 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23700 rm -f conftest.err conftest.
$ac_objext \
23701 conftest
$ac_exeext conftest.
$ac_ext
23702 LIBS
=$ac_check_lib_save_LIBS
23704 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23705 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23706 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23707 MSPACK_LINK
=" -lmspack"
23711 if test "x$MSPACK_LINK" = "x" ; then
23716 if test "$wxUSE_LIBMSPACK" != "no"; then
23717 cat >>confdefs.h
<<\_ACEOF
23718 #define wxUSE_LIBMSPACK 1
23732 if test "$USE_WIN32" = 1 ; then
23734 for ac_header
in w32api.h
23736 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23738 echo "$as_me:$LINENO: checking for $ac_header" >&5
23739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23741 echo $ECHO_N "(cached) $ECHO_C" >&6
23743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23746 # Is the header compilable?
23747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23749 cat >conftest.
$ac_ext <<_ACEOF
23752 cat confdefs.h
>>conftest.
$ac_ext
23753 cat >>conftest.
$ac_ext <<_ACEOF
23754 /* end confdefs.h. */
23755 $ac_includes_default
23756 #include <$ac_header>
23758 rm -f conftest.
$ac_objext
23759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23760 (eval $ac_compile) 2>conftest.er1
23762 grep -v '^ *+' conftest.er1
>conftest.err
23764 cat conftest.err
>&5
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); } &&
23767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23769 (eval $ac_try) 2>&5
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); }; } &&
23773 { ac_try
='test -s conftest.$ac_objext'
23774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23775 (eval $ac_try) 2>&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); }; }; then
23779 ac_header_compiler
=yes
23781 echo "$as_me: failed program was:" >&5
23782 sed 's/^/| /' conftest.
$ac_ext >&5
23784 ac_header_compiler
=no
23786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23788 echo "${ECHO_T}$ac_header_compiler" >&6
23790 # Is the header present?
23791 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23792 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23793 cat >conftest.
$ac_ext <<_ACEOF
23796 cat confdefs.h
>>conftest.
$ac_ext
23797 cat >>conftest.
$ac_ext <<_ACEOF
23798 /* end confdefs.h. */
23799 #include <$ac_header>
23801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23802 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23804 grep -v '^ *+' conftest.er1
>conftest.err
23806 cat conftest.err
>&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } >/dev
/null
; then
23809 if test -s conftest.err
; then
23810 ac_cpp_err
=$ac_c_preproc_warn_flag
23811 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23818 if test -z "$ac_cpp_err"; then
23819 ac_header_preproc
=yes
23821 echo "$as_me: failed program was:" >&5
23822 sed 's/^/| /' conftest.
$ac_ext >&5
23824 ac_header_preproc
=no
23826 rm -f conftest.err conftest.
$ac_ext
23827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23828 echo "${ECHO_T}$ac_header_preproc" >&6
23830 # So? What about this header?
23831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23833 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23834 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23836 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23837 ac_header_preproc
=yes
23840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23844 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23845 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23846 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23847 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23849 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23850 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23851 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23854 ## ----------------------------------------- ##
23855 ## Report this to wx-dev@lists.wxwidgets.org ##
23856 ## ----------------------------------------- ##
23859 sed "s/^/$as_me: WARNING: /" >&2
23862 echo "$as_me:$LINENO: checking for $ac_header" >&5
23863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23865 echo $ECHO_N "(cached) $ECHO_C" >&6
23867 eval "$as_ac_Header=\$ac_header_preproc"
23869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23874 cat >>confdefs.h
<<_ACEOF
23875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23882 if test "${ac_cv_header_windows_h+set}" = set; then
23883 echo "$as_me:$LINENO: checking for windows.h" >&5
23884 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23885 if test "${ac_cv_header_windows_h+set}" = set; then
23886 echo $ECHO_N "(cached) $ECHO_C" >&6
23888 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23889 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23891 # Is the header compilable?
23892 echo "$as_me:$LINENO: checking windows.h usability" >&5
23893 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23894 cat >conftest.
$ac_ext <<_ACEOF
23897 cat confdefs.h
>>conftest.
$ac_ext
23898 cat >>conftest.
$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23900 $ac_includes_default
23901 #include <windows.h>
23903 rm -f conftest.
$ac_objext
23904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23905 (eval $ac_compile) 2>conftest.er1
23907 grep -v '^ *+' conftest.er1
>conftest.err
23909 cat conftest.err
>&5
23910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23911 (exit $ac_status); } &&
23912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23914 (eval $ac_try) 2>&5
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); }; } &&
23918 { ac_try
='test -s conftest.$ac_objext'
23919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23920 (eval $ac_try) 2>&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); }; }; then
23924 ac_header_compiler
=yes
23926 echo "$as_me: failed program was:" >&5
23927 sed 's/^/| /' conftest.
$ac_ext >&5
23929 ac_header_compiler
=no
23931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23933 echo "${ECHO_T}$ac_header_compiler" >&6
23935 # Is the header present?
23936 echo "$as_me:$LINENO: checking windows.h presence" >&5
23937 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23938 cat >conftest.
$ac_ext <<_ACEOF
23941 cat confdefs.h
>>conftest.
$ac_ext
23942 cat >>conftest.
$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23944 #include <windows.h>
23946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23947 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23949 grep -v '^ *+' conftest.er1
>conftest.err
23951 cat conftest.err
>&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); } >/dev
/null
; then
23954 if test -s conftest.err
; then
23955 ac_cpp_err
=$ac_c_preproc_warn_flag
23956 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23963 if test -z "$ac_cpp_err"; then
23964 ac_header_preproc
=yes
23966 echo "$as_me: failed program was:" >&5
23967 sed 's/^/| /' conftest.
$ac_ext >&5
23969 ac_header_preproc
=no
23971 rm -f conftest.err conftest.
$ac_ext
23972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23973 echo "${ECHO_T}$ac_header_preproc" >&6
23975 # So? What about this header?
23976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23978 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23979 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23980 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23981 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23982 ac_header_preproc
=yes
23985 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23986 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23987 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23988 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23989 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23990 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23991 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23992 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23993 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23994 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23995 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23996 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23999 ## ----------------------------------------- ##
24000 ## Report this to wx-dev@lists.wxwidgets.org ##
24001 ## ----------------------------------------- ##
24004 sed "s/^/$as_me: WARNING: /" >&2
24007 echo "$as_me:$LINENO: checking for windows.h" >&5
24008 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24009 if test "${ac_cv_header_windows_h+set}" = set; then
24010 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 ac_cv_header_windows_h
=$ac_header_preproc
24014 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24015 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24018 if test $ac_cv_header_windows_h = yes; then
24022 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24023 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24024 { (exit 1); exit 1; }; }
24030 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24032 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24033 LIBS
="$LIBS -loleacc"
24038 LIBS
="$LIBS -lkernel32 -luser32"
24039 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24042 if test "$wxUSE_ODBC" = "sys" ; then
24045 if test "$wxUSE_ODBC" = "yes" ; then
24046 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24047 cat >>confdefs.h
<<\_ACEOF
24048 #define wxUSE_ODBC 1
24053 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24054 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24056 WIN32INSTALL
=win32install
24059 if test "$wxUSE_GUI" = "yes"; then
24069 if test "$wxUSE_COCOA" = 1 ; then
24070 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24071 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24072 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24073 wxUSE_PRINTING_ARCHITECTURE
=no
24075 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24076 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24077 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24078 wxUSE_DRAG_AND_DROP
=no
24080 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24081 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24082 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24087 if test "$wxUSE_MSW" = 1 ; then
24093 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24097 if test "$wxUSE_GTK" = 1; then
24098 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24099 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24101 gtk_version_cached
=1
24102 if test "${wx_cv_lib_gtk+set}" = set; then
24103 echo $ECHO_N "(cached) $ECHO_C" >&6
24106 gtk_version_cached
=0
24107 echo "$as_me:$LINENO: result: " >&5
24108 echo "${ECHO_T}" >&6
24111 if test "$wxUSE_THREADS" = "yes"; then
24112 GTK_MODULES
=gthread
24116 if test "x$wxUSE_GTK2" = "xyes"; then
24117 # Check whether --enable-gtktest or --disable-gtktest was given.
24118 if test "${enable_gtktest+set}" = set; then
24119 enableval
="$enable_gtktest"
24125 pkg_config_args
=gtk
+-2.0
24126 for module
in .
$GTK_MODULES
24130 pkg_config_args
="$pkg_config_args gthread-2.0"
24137 # Extract the first word of "pkg-config", so it can be a program name with args.
24138 set dummy pkg
-config; ac_word
=$2
24139 echo "$as_me:$LINENO: checking for $ac_word" >&5
24140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24141 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24142 echo $ECHO_N "(cached) $ECHO_C" >&6
24144 case $PKG_CONFIG in
24146 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24150 for as_dir
in $PATH
24153 test -z "$as_dir" && as_dir
=.
24154 for ac_exec_ext
in '' $ac_executable_extensions; do
24155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24156 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24163 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24167 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24169 if test -n "$PKG_CONFIG"; then
24170 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24171 echo "${ECHO_T}$PKG_CONFIG" >&6
24173 echo "$as_me:$LINENO: result: no" >&5
24174 echo "${ECHO_T}no" >&6
24178 if test x
$PKG_CONFIG != xno
; then
24179 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24182 echo "*** pkg-config too old; version 0.7 or better required."
24190 min_gtk_version
=2.0.0
24191 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24192 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24194 if test x
$PKG_CONFIG != xno
; then
24195 ## don't try to run the test against uninstalled libtool libs
24196 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24197 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24201 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24208 if test x
"$no_gtk" = x
; then
24209 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24210 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24211 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24213 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24215 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24216 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24217 if test "x$enable_gtktest" = "xyes" ; then
24218 ac_save_CFLAGS
="$CFLAGS"
24219 ac_save_LIBS
="$LIBS"
24220 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24221 LIBS
="$GTK_LIBS $LIBS"
24223 if test "$cross_compiling" = yes; then
24224 echo $ac_n "cross compiling; assumed OK... $ac_c"
24226 cat >conftest.
$ac_ext <<_ACEOF
24229 cat confdefs.h
>>conftest.
$ac_ext
24230 cat >>conftest.
$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24233 #include <gtk/gtk.h>
24235 #include <stdlib.h>
24240 int major, minor, micro;
24243 system ("touch conf.gtktest");
24245 /* HP/UX 9 (%@#!) writes to sscanf strings */
24246 tmp_version = g_strdup("$min_gtk_version");
24247 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24248 printf("%s, bad version string\n", "$min_gtk_version");
24252 if ((gtk_major_version != $gtk_config_major_version) ||
24253 (gtk_minor_version != $gtk_config_minor_version) ||
24254 (gtk_micro_version != $gtk_config_micro_version))
24256 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24257 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24258 gtk_major_version, gtk_minor_version, gtk_micro_version);
24259 printf ("*** was found! If pkg-config was correct, then it is best\n");
24260 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24261 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24262 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24263 printf("*** required on your system.\n");
24264 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24265 printf("*** to point to the correct configuration files\n");
24267 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24268 (gtk_minor_version != GTK_MINOR_VERSION) ||
24269 (gtk_micro_version != GTK_MICRO_VERSION))
24271 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24272 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24273 printf("*** library (version %d.%d.%d)\n",
24274 gtk_major_version, gtk_minor_version, gtk_micro_version);
24278 if ((gtk_major_version > major) ||
24279 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24280 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24286 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24287 gtk_major_version, gtk_minor_version, gtk_micro_version);
24288 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24289 major, minor, micro);
24290 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24292 printf("*** If you have already installed a sufficiently new version, this error\n");
24293 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24294 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24295 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24296 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24297 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24298 printf("*** so that the correct libraries are found at run-time))\n");
24305 rm -f conftest
$ac_exeext
24306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24307 (eval $ac_link) 2>&5
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24312 (eval $ac_try) 2>&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); }; }; then
24318 echo "$as_me: program exited with status $ac_status" >&5
24319 echo "$as_me: failed program was:" >&5
24320 sed 's/^/| /' conftest.
$ac_ext >&5
24322 ( exit $ac_status )
24325 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24327 CFLAGS
="$ac_save_CFLAGS"
24328 LIBS
="$ac_save_LIBS"
24331 if test "x$no_gtk" = x
; then
24332 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24333 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24336 echo "$as_me:$LINENO: result: no" >&5
24337 echo "${ECHO_T}no" >&6
24338 if test "$PKG_CONFIG" = "no" ; then
24339 echo "*** A new enough version of pkg-config was not found."
24340 echo "*** See http://pkgconfig.sourceforge.net"
24342 if test -f conf.gtktest
; then
24345 echo "*** Could not run GTK+ test program, checking why..."
24346 ac_save_CFLAGS
="$CFLAGS"
24347 ac_save_LIBS
="$LIBS"
24348 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24349 LIBS
="$LIBS $GTK_LIBS"
24350 cat >conftest.
$ac_ext <<_ACEOF
24353 cat confdefs.h
>>conftest.
$ac_ext
24354 cat >>conftest.
$ac_ext <<_ACEOF
24355 /* end confdefs.h. */
24357 #include <gtk/gtk.h>
24363 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24368 rm -f conftest.
$ac_objext conftest
$ac_exeext
24369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24370 (eval $ac_link) 2>conftest.er1
24372 grep -v '^ *+' conftest.er1
>conftest.err
24374 cat conftest.err
>&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } &&
24377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; } &&
24383 { ac_try
='test -s conftest$ac_exeext'
24384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24385 (eval $ac_try) 2>&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); }; }; then
24389 echo "*** The test program compiled, but did not run. This usually means"
24390 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24391 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24392 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24393 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24394 echo "*** is required on your system"
24396 echo "*** If you have an old version installed, it is best to remove it, although"
24397 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24399 echo "$as_me: failed program was:" >&5
24400 sed 's/^/| /' conftest.
$ac_ext >&5
24402 echo "*** The test program failed to compile or link. See the file config.log for the"
24403 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24405 rm -f conftest.err conftest.
$ac_objext \
24406 conftest
$ac_exeext conftest.
$ac_ext
24407 CFLAGS
="$ac_save_CFLAGS"
24408 LIBS
="$ac_save_LIBS"
24421 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24422 if test "${with_gtk_prefix+set}" = set; then
24423 withval
="$with_gtk_prefix"
24424 gtk_config_prefix
="$withval"
24426 gtk_config_prefix
=""
24429 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24430 if test "${with_gtk_exec_prefix+set}" = set; then
24431 withval
="$with_gtk_exec_prefix"
24432 gtk_config_exec_prefix
="$withval"
24434 gtk_config_exec_prefix
=""
24436 # Check whether --enable-gtktest or --disable-gtktest was given.
24437 if test "${enable_gtktest+set}" = set; then
24438 enableval
="$enable_gtktest"
24444 for module
in .
$GTK_MODULES
24448 gtk_config_args
="$gtk_config_args gthread"
24453 if test x
$gtk_config_exec_prefix != x
; then
24454 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24455 if test x
${GTK_CONFIG+set} != xset
; then
24456 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24459 if test x
$gtk_config_prefix != x
; then
24460 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24461 if test x
${GTK_CONFIG+set} != xset
; then
24462 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24466 # Extract the first word of "gtk-config", so it can be a program name with args.
24467 set dummy gtk
-config; ac_word
=$2
24468 echo "$as_me:$LINENO: checking for $ac_word" >&5
24469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24470 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24471 echo $ECHO_N "(cached) $ECHO_C" >&6
24473 case $GTK_CONFIG in
24475 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24479 for as_dir
in $PATH
24482 test -z "$as_dir" && as_dir
=.
24483 for ac_exec_ext
in '' $ac_executable_extensions; do
24484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24485 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24492 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24496 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24498 if test -n "$GTK_CONFIG"; then
24499 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24500 echo "${ECHO_T}$GTK_CONFIG" >&6
24502 echo "$as_me:$LINENO: result: no" >&5
24503 echo "${ECHO_T}no" >&6
24506 min_gtk_version
=1.2.7
24507 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24508 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24510 if test "$GTK_CONFIG" = "no" ; then
24513 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24514 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24515 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24517 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24519 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24520 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24521 if test "x$enable_gtktest" = "xyes" ; then
24522 ac_save_CFLAGS
="$CFLAGS"
24523 ac_save_LIBS
="$LIBS"
24524 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24525 LIBS
="$GTK_LIBS $LIBS"
24527 if test "$cross_compiling" = yes; then
24528 echo $ac_n "cross compiling; assumed OK... $ac_c"
24530 cat >conftest.
$ac_ext <<_ACEOF
24533 cat confdefs.h
>>conftest.
$ac_ext
24534 cat >>conftest.
$ac_ext <<_ACEOF
24535 /* end confdefs.h. */
24537 #include <gtk/gtk.h>
24539 #include <stdlib.h>
24544 int major, minor, micro;
24547 system ("touch conf.gtktest");
24549 /* HP/UX 9 (%@#!) writes to sscanf strings */
24550 tmp_version = g_strdup("$min_gtk_version");
24551 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24552 printf("%s, bad version string\n", "$min_gtk_version");
24556 if ((gtk_major_version != $gtk_config_major_version) ||
24557 (gtk_minor_version != $gtk_config_minor_version) ||
24558 (gtk_micro_version != $gtk_config_micro_version))
24560 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24561 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24562 gtk_major_version, gtk_minor_version, gtk_micro_version);
24563 printf ("*** was found! If gtk-config was correct, then it is best\n");
24564 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24565 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24566 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24567 printf("*** required on your system.\n");
24568 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24569 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24570 printf("*** before re-running configure\n");
24572 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24573 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24574 (gtk_minor_version != GTK_MINOR_VERSION) ||
24575 (gtk_micro_version != GTK_MICRO_VERSION))
24577 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24578 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24579 printf("*** library (version %d.%d.%d)\n",
24580 gtk_major_version, gtk_minor_version, gtk_micro_version);
24582 #endif /* defined (GTK_MAJOR_VERSION) ... */
24585 if ((gtk_major_version > major) ||
24586 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24587 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24593 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24594 gtk_major_version, gtk_minor_version, gtk_micro_version);
24595 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24596 major, minor, micro);
24597 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24599 printf("*** If you have already installed a sufficiently new version, this error\n");
24600 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24601 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24602 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24603 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24604 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24605 printf("*** so that the correct libraries are found at run-time))\n");
24612 rm -f conftest
$ac_exeext
24613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24614 (eval $ac_link) 2>&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619 (eval $ac_try) 2>&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); }; }; then
24625 echo "$as_me: program exited with status $ac_status" >&5
24626 echo "$as_me: failed program was:" >&5
24627 sed 's/^/| /' conftest.
$ac_ext >&5
24629 ( exit $ac_status )
24632 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24634 CFLAGS
="$ac_save_CFLAGS"
24635 LIBS
="$ac_save_LIBS"
24638 if test "x$no_gtk" = x
; then
24639 echo "$as_me:$LINENO: result: yes" >&5
24640 echo "${ECHO_T}yes" >&6
24641 wx_cv_lib_gtk
=1.2.7
24643 echo "$as_me:$LINENO: result: no" >&5
24644 echo "${ECHO_T}no" >&6
24645 if test "$GTK_CONFIG" = "no" ; then
24646 echo "*** The gtk-config script installed by GTK could not be found"
24647 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24648 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24649 echo "*** full path to gtk-config."
24651 if test -f conf.gtktest
; then
24654 echo "*** Could not run GTK test program, checking why..."
24655 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24656 LIBS
="$LIBS $GTK_LIBS"
24657 cat >conftest.
$ac_ext <<_ACEOF
24660 cat confdefs.h
>>conftest.
$ac_ext
24661 cat >>conftest.
$ac_ext <<_ACEOF
24662 /* end confdefs.h. */
24664 #include <gtk/gtk.h>
24670 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24675 rm -f conftest.
$ac_objext conftest
$ac_exeext
24676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24677 (eval $ac_link) 2>conftest.er1
24679 grep -v '^ *+' conftest.er1
>conftest.err
24681 cat conftest.err
>&5
24682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683 (exit $ac_status); } &&
24684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24686 (eval $ac_try) 2>&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); }; } &&
24690 { ac_try
='test -s conftest$ac_exeext'
24691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24692 (eval $ac_try) 2>&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); }; }; then
24696 echo "*** The test program compiled, but did not run. This usually means"
24697 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24698 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24699 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24700 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24701 echo "*** is required on your system"
24703 echo "*** If you have an old version installed, it is best to remove it, although"
24704 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24706 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24707 echo "*** came with the system with the command"
24709 echo "*** rpm --erase --nodeps gtk gtk-devel"
24711 echo "$as_me: failed program was:" >&5
24712 sed 's/^/| /' conftest.
$ac_ext >&5
24714 echo "*** The test program failed to compile or link. See the file config.log for the"
24715 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24716 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24717 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24719 rm -f conftest.err conftest.
$ac_objext \
24720 conftest
$ac_exeext conftest.
$ac_ext
24721 CFLAGS
="$ac_save_CFLAGS"
24722 LIBS
="$ac_save_LIBS"
24734 if test -z "$wx_cv_lib_gtk"; then
24736 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24737 if test "${with_gtk_prefix+set}" = set; then
24738 withval
="$with_gtk_prefix"
24739 gtk_config_prefix
="$withval"
24741 gtk_config_prefix
=""
24744 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24745 if test "${with_gtk_exec_prefix+set}" = set; then
24746 withval
="$with_gtk_exec_prefix"
24747 gtk_config_exec_prefix
="$withval"
24749 gtk_config_exec_prefix
=""
24751 # Check whether --enable-gtktest or --disable-gtktest was given.
24752 if test "${enable_gtktest+set}" = set; then
24753 enableval
="$enable_gtktest"
24759 for module
in .
$GTK_MODULES
24763 gtk_config_args
="$gtk_config_args gthread"
24768 if test x
$gtk_config_exec_prefix != x
; then
24769 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24770 if test x
${GTK_CONFIG+set} != xset
; then
24771 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24774 if test x
$gtk_config_prefix != x
; then
24775 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24776 if test x
${GTK_CONFIG+set} != xset
; then
24777 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24781 # Extract the first word of "gtk-config", so it can be a program name with args.
24782 set dummy gtk
-config; ac_word
=$2
24783 echo "$as_me:$LINENO: checking for $ac_word" >&5
24784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24785 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24786 echo $ECHO_N "(cached) $ECHO_C" >&6
24788 case $GTK_CONFIG in
24790 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24794 for as_dir
in $PATH
24797 test -z "$as_dir" && as_dir
=.
24798 for ac_exec_ext
in '' $ac_executable_extensions; do
24799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24800 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24807 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24811 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24813 if test -n "$GTK_CONFIG"; then
24814 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24815 echo "${ECHO_T}$GTK_CONFIG" >&6
24817 echo "$as_me:$LINENO: result: no" >&5
24818 echo "${ECHO_T}no" >&6
24821 min_gtk_version
=1.2.3
24822 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24823 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24825 if test "$GTK_CONFIG" = "no" ; then
24828 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24829 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24830 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24832 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24834 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24836 if test "x$enable_gtktest" = "xyes" ; then
24837 ac_save_CFLAGS
="$CFLAGS"
24838 ac_save_LIBS
="$LIBS"
24839 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24840 LIBS
="$GTK_LIBS $LIBS"
24842 if test "$cross_compiling" = yes; then
24843 echo $ac_n "cross compiling; assumed OK... $ac_c"
24845 cat >conftest.
$ac_ext <<_ACEOF
24848 cat confdefs.h
>>conftest.
$ac_ext
24849 cat >>conftest.
$ac_ext <<_ACEOF
24850 /* end confdefs.h. */
24852 #include <gtk/gtk.h>
24854 #include <stdlib.h>
24859 int major, minor, micro;
24862 system ("touch conf.gtktest");
24864 /* HP/UX 9 (%@#!) writes to sscanf strings */
24865 tmp_version = g_strdup("$min_gtk_version");
24866 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24867 printf("%s, bad version string\n", "$min_gtk_version");
24871 if ((gtk_major_version != $gtk_config_major_version) ||
24872 (gtk_minor_version != $gtk_config_minor_version) ||
24873 (gtk_micro_version != $gtk_config_micro_version))
24875 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24876 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24877 gtk_major_version, gtk_minor_version, gtk_micro_version);
24878 printf ("*** was found! If gtk-config was correct, then it is best\n");
24879 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24880 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24881 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24882 printf("*** required on your system.\n");
24883 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24884 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24885 printf("*** before re-running configure\n");
24887 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24888 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24889 (gtk_minor_version != GTK_MINOR_VERSION) ||
24890 (gtk_micro_version != GTK_MICRO_VERSION))
24892 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24893 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24894 printf("*** library (version %d.%d.%d)\n",
24895 gtk_major_version, gtk_minor_version, gtk_micro_version);
24897 #endif /* defined (GTK_MAJOR_VERSION) ... */
24900 if ((gtk_major_version > major) ||
24901 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24902 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24908 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24909 gtk_major_version, gtk_minor_version, gtk_micro_version);
24910 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24911 major, minor, micro);
24912 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24914 printf("*** If you have already installed a sufficiently new version, this error\n");
24915 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24916 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24917 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24918 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24919 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24920 printf("*** so that the correct libraries are found at run-time))\n");
24927 rm -f conftest
$ac_exeext
24928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24929 (eval $ac_link) 2>&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24934 (eval $ac_try) 2>&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); }; }; then
24940 echo "$as_me: program exited with status $ac_status" >&5
24941 echo "$as_me: failed program was:" >&5
24942 sed 's/^/| /' conftest.
$ac_ext >&5
24944 ( exit $ac_status )
24947 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24949 CFLAGS
="$ac_save_CFLAGS"
24950 LIBS
="$ac_save_LIBS"
24953 if test "x$no_gtk" = x
; then
24954 echo "$as_me:$LINENO: result: yes" >&5
24955 echo "${ECHO_T}yes" >&6
24956 wx_cv_lib_gtk
=1.2.3
24958 echo "$as_me:$LINENO: result: no" >&5
24959 echo "${ECHO_T}no" >&6
24960 if test "$GTK_CONFIG" = "no" ; then
24961 echo "*** The gtk-config script installed by GTK could not be found"
24962 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24963 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24964 echo "*** full path to gtk-config."
24966 if test -f conf.gtktest
; then
24969 echo "*** Could not run GTK test program, checking why..."
24970 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24971 LIBS
="$LIBS $GTK_LIBS"
24972 cat >conftest.
$ac_ext <<_ACEOF
24975 cat confdefs.h
>>conftest.
$ac_ext
24976 cat >>conftest.
$ac_ext <<_ACEOF
24977 /* end confdefs.h. */
24979 #include <gtk/gtk.h>
24985 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24990 rm -f conftest.
$ac_objext conftest
$ac_exeext
24991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24992 (eval $ac_link) 2>conftest.er1
24994 grep -v '^ *+' conftest.er1
>conftest.err
24996 cat conftest.err
>&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } &&
24999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25001 (eval $ac_try) 2>&5
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); }; } &&
25005 { ac_try
='test -s conftest$ac_exeext'
25006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25007 (eval $ac_try) 2>&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); }; }; then
25011 echo "*** The test program compiled, but did not run. This usually means"
25012 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25013 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25014 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25015 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25016 echo "*** is required on your system"
25018 echo "*** If you have an old version installed, it is best to remove it, although"
25019 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25021 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25022 echo "*** came with the system with the command"
25024 echo "*** rpm --erase --nodeps gtk gtk-devel"
25026 echo "$as_me: failed program was:" >&5
25027 sed 's/^/| /' conftest.
$ac_ext >&5
25029 echo "*** The test program failed to compile or link. See the file config.log for the"
25030 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25031 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25032 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25034 rm -f conftest.err conftest.
$ac_objext \
25035 conftest
$ac_exeext conftest.
$ac_ext
25036 CFLAGS
="$ac_save_CFLAGS"
25037 LIBS
="$ac_save_LIBS"
25051 if test -z "$wx_cv_lib_gtk"; then
25054 wx_cv_cflags_gtk
=$GTK_CFLAGS
25055 wx_cv_libs_gtk
=$GTK_LIBS
25062 if test "$gtk_version_cached" = 1; then
25063 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25064 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25067 case "$wx_cv_lib_gtk" in
25076 *) { { echo "$as_me:$LINENO: error:
25077 Please check that gtk-config is in path, the directory
25078 where GTK+ libraries are installed (returned by
25079 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25080 equivalent variable and GTK+ is version 1.2.3 or above.
25082 echo "$as_me: error:
25083 Please check that gtk-config is in path, the directory
25084 where GTK+ libraries are installed (returned by
25085 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25086 equivalent variable and GTK+ is version 1.2.3 or above.
25088 { (exit 1); exit 1; }; }
25092 if test "$WXGTK20" = 1; then
25093 save_CFLAGS
="$CFLAGS"
25095 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25096 LIBS
="$LIBS $GTK_LIBS"
25099 for ac_func
in pango_font_family_is_monospace
25101 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25102 echo "$as_me:$LINENO: checking for $ac_func" >&5
25103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25104 if eval "test \"\${$as_ac_var+set}\" = set"; then
25105 echo $ECHO_N "(cached) $ECHO_C" >&6
25107 cat >conftest.
$ac_ext <<_ACEOF
25110 cat confdefs.h
>>conftest.
$ac_ext
25111 cat >>conftest.
$ac_ext <<_ACEOF
25112 /* end confdefs.h. */
25113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25115 #define $ac_func innocuous_$ac_func
25117 /* System header to define __stub macros and hopefully few prototypes,
25118 which can conflict with char $ac_func (); below.
25119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25120 <limits.h> exists even on freestanding compilers. */
25123 # include <limits.h>
25125 # include <assert.h>
25130 /* Override any gcc2 internal prototype to avoid an error. */
25135 /* We use char because int might match the return type of a gcc2
25136 builtin and then its argument prototype would still apply. */
25138 /* The GNU C library defines this for functions which it implements
25139 to always fail with ENOSYS. Some functions are actually named
25140 something starting with __ and the normal name is an alias. */
25141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25144 char (*f) () = $ac_func;
25153 return f != $ac_func;
25158 rm -f conftest.
$ac_objext conftest
$ac_exeext
25159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25160 (eval $ac_link) 2>conftest.er1
25162 grep -v '^ *+' conftest.er1
>conftest.err
25164 cat conftest.err
>&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); } &&
25167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; } &&
25173 { ac_try
='test -s conftest$ac_exeext'
25174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25175 (eval $ac_try) 2>&5
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); }; }; then
25179 eval "$as_ac_var=yes"
25181 echo "$as_me: failed program was:" >&5
25182 sed 's/^/| /' conftest.
$ac_ext >&5
25184 eval "$as_ac_var=no"
25186 rm -f conftest.err conftest.
$ac_objext \
25187 conftest
$ac_exeext conftest.
$ac_ext
25189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25191 if test `eval echo '${'$as_ac_var'}'` = yes; then
25192 cat >>confdefs.h
<<_ACEOF
25193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25200 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25201 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25202 cat >conftest.
$ac_ext <<_ACEOF
25205 cat confdefs.h
>>conftest.
$ac_ext
25206 cat >>conftest.
$ac_ext <<_ACEOF
25207 /* end confdefs.h. */
25209 #include <gtk/gtk.h>
25215 #if !GTK_CHECK_VERSION(2,4,0)
25216 #error "Not GTK+ 2.4"
25223 rm -f conftest.
$ac_objext
25224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25225 (eval $ac_compile) 2>conftest.er1
25227 grep -v '^ *+' conftest.er1
>conftest.err
25229 cat conftest.err
>&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); } &&
25232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234 (eval $ac_try) 2>&5
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; } &&
25238 { ac_try
='test -s conftest.$ac_objext'
25239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25240 (eval $ac_try) 2>&5
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; }; then
25245 cat >>confdefs.h
<<\_ACEOF
25246 #define __WXGTK24__ 1
25249 echo "$as_me:$LINENO: result: yes" >&5
25250 echo "${ECHO_T}yes" >&6
25253 echo "$as_me: failed program was:" >&5
25254 sed 's/^/| /' conftest.
$ac_ext >&5
25257 echo "$as_me:$LINENO: result: no" >&5
25258 echo "${ECHO_T}no" >&6
25261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25263 CFLAGS
="$save_CFLAGS"
25266 if test "$wxUSE_UNICODE" = "yes"; then
25267 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25268 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25273 if test "$USE_DARWIN" != 1; then
25275 for ac_func
in poll
25277 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25278 echo "$as_me:$LINENO: checking for $ac_func" >&5
25279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25280 if eval "test \"\${$as_ac_var+set}\" = set"; then
25281 echo $ECHO_N "(cached) $ECHO_C" >&6
25283 cat >conftest.
$ac_ext <<_ACEOF
25286 cat confdefs.h
>>conftest.
$ac_ext
25287 cat >>conftest.
$ac_ext <<_ACEOF
25288 /* end confdefs.h. */
25289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25291 #define $ac_func innocuous_$ac_func
25293 /* System header to define __stub macros and hopefully few prototypes,
25294 which can conflict with char $ac_func (); below.
25295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25296 <limits.h> exists even on freestanding compilers. */
25299 # include <limits.h>
25301 # include <assert.h>
25306 /* Override any gcc2 internal prototype to avoid an error. */
25311 /* We use char because int might match the return type of a gcc2
25312 builtin and then its argument prototype would still apply. */
25314 /* The GNU C library defines this for functions which it implements
25315 to always fail with ENOSYS. Some functions are actually named
25316 something starting with __ and the normal name is an alias. */
25317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25320 char (*f) () = $ac_func;
25329 return f != $ac_func;
25334 rm -f conftest.
$ac_objext conftest
$ac_exeext
25335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25336 (eval $ac_link) 2>conftest.er1
25338 grep -v '^ *+' conftest.er1
>conftest.err
25340 cat conftest.err
>&5
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); } &&
25343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345 (eval $ac_try) 2>&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; } &&
25349 { ac_try
='test -s conftest$ac_exeext'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25355 eval "$as_ac_var=yes"
25357 echo "$as_me: failed program was:" >&5
25358 sed 's/^/| /' conftest.
$ac_ext >&5
25360 eval "$as_ac_var=no"
25362 rm -f conftest.err conftest.
$ac_objext \
25363 conftest
$ac_exeext conftest.
$ac_ext
25365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25367 if test `eval echo '${'$as_ac_var'}'` = yes; then
25368 cat >>confdefs.h
<<_ACEOF
25369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25377 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25378 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25380 AFMINSTALL
=afminstall
25384 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25385 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25386 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25387 echo $ECHO_N "(cached) $ECHO_C" >&6
25389 ac_check_lib_save_LIBS
=$LIBS
25391 cat >conftest.
$ac_ext <<_ACEOF
25394 cat confdefs.h
>>conftest.
$ac_ext
25395 cat >>conftest.
$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25398 /* Override any gcc2 internal prototype to avoid an error. */
25402 /* We use char because int might match the return type of a gcc2
25403 builtin and then its argument prototype would still apply. */
25404 char gdk_im_open ();
25413 rm -f conftest.
$ac_objext conftest
$ac_exeext
25414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25415 (eval $ac_link) 2>conftest.er1
25417 grep -v '^ *+' conftest.er1
>conftest.err
25419 cat conftest.err
>&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); } &&
25422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; } &&
25428 { ac_try
='test -s conftest$ac_exeext'
25429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25430 (eval $ac_try) 2>&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); }; }; then
25434 ac_cv_lib_gdk_gdk_im_open
=yes
25436 echo "$as_me: failed program was:" >&5
25437 sed 's/^/| /' conftest.
$ac_ext >&5
25439 ac_cv_lib_gdk_gdk_im_open
=no
25441 rm -f conftest.err conftest.
$ac_objext \
25442 conftest
$ac_exeext conftest.
$ac_ext
25443 LIBS
=$ac_check_lib_save_LIBS
25445 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25446 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25447 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25448 cat >>confdefs.h
<<\_ACEOF
25456 if test "$wxUSE_GPE" = "yes"; then
25457 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25458 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25461 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25463 for ac_extension
in a so sl dylib
; do
25464 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25465 ac_find_libraries
=$ac_dir
25471 if test "$ac_find_libraries" != "" ; then
25473 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25475 if test $result = 0; then
25478 ac_path_to_link
=" -L$ac_find_libraries"
25481 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25483 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25484 echo "${ECHO_T}found at $ac_find_libraries" >&6
25486 echo "$as_me:$LINENO: result: not found" >&5
25487 echo "${ECHO_T}not found" >&6
25493 if test "$wxUSE_MGL" = 1; then
25494 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25495 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25496 if test "x$MGL_ROOT" = x
; then
25497 echo "$as_me:$LINENO: result: not found" >&5
25498 echo "${ECHO_T}not found" >&6
25499 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25500 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25501 { (exit 1); exit 1; }; }
25503 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25504 echo "${ECHO_T}$MGL_ROOT" >&6
25507 echo "$as_me:$LINENO: checking for libmgl location" >&5
25508 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25511 if test "x$wxUSE_SHARED" = xyes
; then
25512 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25514 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25518 mgl_os_candidates
="dos32/dj2"
25521 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25522 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25523 { (exit 1); exit 1; }; }
25529 for mgl_os_i
in $mgl_os_candidates ; do
25530 if test "x$mgl_os" = x
; then
25531 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25532 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
25533 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
25538 if test "x$mgl_lib_type" = x
; then
25539 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
25540 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
25541 mgl_lib_type
=release
25548 if test "x$mgl_os" = x
; then
25549 echo "$as_me:$LINENO: result: not found" >&5
25550 echo "${ECHO_T}not found" >&6
25551 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25552 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25553 { (exit 1); exit 1; }; }
25555 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25556 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25558 wxUSE_UNIVERSAL
="yes"
25560 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
25561 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25563 AFMINSTALL
=afminstall
25568 if test "$wxUSE_MICROWIN" = 1; then
25569 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25570 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25571 if test "x$MICROWINDOWS" = x
; then
25572 echo "$as_me:$LINENO: result: not found" >&5
25573 echo "${ECHO_T}not found" >&6
25574 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25575 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25576 { (exit 1); exit 1; }; }
25578 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25579 echo "${ECHO_T}$MICROWINDOWS" >&6
25582 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
25583 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25584 echo "${ECHO_T}MicroWindows' libraries found." >&6
25586 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25587 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25588 { (exit 1); exit 1; }; }
25591 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
25592 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25594 wxUSE_UNIVERSAL
="yes"
25596 AFMINSTALL
=afminstall
25598 GUIDIST
=MICROWIN_DIST
25600 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25603 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25605 if test "x$ac_path_x_has_been_run" != xyes
; then
25606 echo "$as_me:$LINENO: checking for X" >&5
25607 echo $ECHO_N "checking for X... $ECHO_C" >&6
25609 ac_path_x_has_been_run
=yes
25611 # Check whether --with-x or --without-x was given.
25612 if test "${with_x+set}" = set; then
25616 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25617 if test "x$with_x" = xno
; then
25618 # The user explicitly disabled X.
25621 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25622 # Both variables are already set.
25625 if test "${ac_cv_have_x+set}" = set; then
25626 echo $ECHO_N "(cached) $ECHO_C" >&6
25628 # One or both of the vars are not set, and there is no cached value.
25629 ac_x_includes
=no ac_x_libraries
=no
25630 rm -fr conftest.dir
25631 if mkdir conftest.dir
; then
25633 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25634 cat >Imakefile
<<'_ACEOF'
25636 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25638 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25639 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25640 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25641 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25642 for ac_extension
in a so sl
; do
25643 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25644 test -f $ac_im_libdir/libX11.
$ac_extension; then
25645 ac_im_usrlibdir
=$ac_im_libdir; break
25648 # Screen out bogus values from the imake configuration. They are
25649 # bogus both because they are the default anyway, and because
25650 # using them would break gcc on systems where it needs fixed includes.
25651 case $ac_im_incroot in
25653 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25655 case $ac_im_usrlibdir in
25656 /usr
/lib
| /lib
) ;;
25657 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25661 rm -fr conftest.dir
25664 # Standard set of common directories for X headers.
25665 # Check X11 before X11Rn because it is often a symlink to the current release.
25677 /usr/local/X11/include
25678 /usr/local/X11R6/include
25679 /usr/local/X11R5/include
25680 /usr/local/X11R4/include
25682 /usr/local/include/X11
25683 /usr/local/include/X11R6
25684 /usr/local/include/X11R5
25685 /usr/local/include/X11R4
25689 /usr/XFree86/include/X11
25693 /usr/unsupported/include
25694 /usr/athena/include
25695 /usr/local/x11r5/include
25696 /usr/lpp/Xamples/include
25698 /usr/openwin/include
25699 /usr/openwin/share/include'
25701 if test "$ac_x_includes" = no
; then
25702 # Guess where to find include files, by looking for a specified header file.
25703 # First, try using that file with no special directory specified.
25704 cat >conftest.
$ac_ext <<_ACEOF
25707 cat confdefs.h
>>conftest.
$ac_ext
25708 cat >>conftest.
$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25710 #include <X11/Intrinsic.h>
25712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25713 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25715 grep -v '^ *+' conftest.er1
>conftest.err
25717 cat conftest.err
>&5
25718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719 (exit $ac_status); } >/dev
/null
; then
25720 if test -s conftest.err
; then
25721 ac_cpp_err
=$ac_c_preproc_warn_flag
25722 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25729 if test -z "$ac_cpp_err"; then
25730 # We can compile using X headers with no special include directory.
25733 echo "$as_me: failed program was:" >&5
25734 sed 's/^/| /' conftest.
$ac_ext >&5
25736 for ac_dir
in $ac_x_header_dirs; do
25737 if test -r "$ac_dir/X11/Intrinsic.h"; then
25738 ac_x_includes
=$ac_dir
25743 rm -f conftest.err conftest.
$ac_ext
25744 fi # $ac_x_includes = no
25746 if test "$ac_x_libraries" = no
; then
25747 # Check for the libraries.
25748 # See if we find them without any special options.
25749 # Don't add to $LIBS permanently.
25752 cat >conftest.
$ac_ext <<_ACEOF
25755 cat confdefs.h
>>conftest.
$ac_ext
25756 cat >>conftest.
$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758 #include <X11/Intrinsic.h>
25767 rm -f conftest.
$ac_objext conftest
$ac_exeext
25768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25769 (eval $ac_link) 2>conftest.er1
25771 grep -v '^ *+' conftest.er1
>conftest.err
25773 cat conftest.err
>&5
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); } &&
25776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25778 (eval $ac_try) 2>&5
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); }; } &&
25782 { ac_try
='test -s conftest$ac_exeext'
25783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25784 (eval $ac_try) 2>&5
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); }; }; then
25789 # We can link X programs with no special library path.
25792 echo "$as_me: failed program was:" >&5
25793 sed 's/^/| /' conftest.
$ac_ext >&5
25796 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25798 # Don't even attempt the hair of trying to link an X program!
25799 for ac_extension
in a so sl
; do
25800 if test -r $ac_dir/libXt.
$ac_extension; then
25801 ac_x_libraries
=$ac_dir
25807 rm -f conftest.err conftest.
$ac_objext \
25808 conftest
$ac_exeext conftest.
$ac_ext
25809 fi # $ac_x_libraries = no
25811 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
25812 # Didn't find X anywhere. Cache the known absence of X.
25813 ac_cv_have_x
="have_x=no"
25815 # Record where we found X for the cache.
25816 ac_cv_have_x
="have_x=yes \
25817 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25822 eval "$ac_cv_have_x"
25825 if test "$have_x" != yes; then
25826 echo "$as_me:$LINENO: result: $have_x" >&5
25827 echo "${ECHO_T}$have_x" >&6
25830 # If each of the values was on the command line, it overrides each guess.
25831 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25832 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25833 # Update the cache value to reflect the command line values.
25834 ac_cv_have_x
="have_x=yes \
25835 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25836 # It might be that x_includes is empty (headers are found in the
25837 # standard search path. Then output the corresponding message
25838 ac_out_x_includes
=$x_includes
25839 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
25840 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
25841 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
25845 if test "$no_x" = yes; then
25846 # Not all programs may use this symbol, but it does not hurt to define it.
25848 cat >>confdefs.h
<<\_ACEOF
25849 #define X_DISPLAY_MISSING 1
25852 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25854 if test -n "$x_includes"; then
25855 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25858 # It would also be nice to do this for all -L options, not just this one.
25859 if test -n "$x_libraries"; then
25860 X_LIBS
="$X_LIBS -L$x_libraries"
25861 # For Solaris; some versions of Sun CC require a space after -R and
25862 # others require no space. Words are not sufficient . . . .
25863 case `(uname -sr) 2>/dev/null` in
25865 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25866 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25867 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25868 cat >conftest.
$ac_ext <<_ACEOF
25871 cat confdefs.h
>>conftest.
$ac_ext
25872 cat >>conftest.
$ac_ext <<_ACEOF
25873 /* end confdefs.h. */
25883 rm -f conftest.
$ac_objext conftest
$ac_exeext
25884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25885 (eval $ac_link) 2>conftest.er1
25887 grep -v '^ *+' conftest.er1
>conftest.err
25889 cat conftest.err
>&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); } &&
25892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25894 (eval $ac_try) 2>&5
25896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25897 (exit $ac_status); }; } &&
25898 { ac_try
='test -s conftest$ac_exeext'
25899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25900 (eval $ac_try) 2>&5
25902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903 (exit $ac_status); }; }; then
25906 echo "$as_me: failed program was:" >&5
25907 sed 's/^/| /' conftest.
$ac_ext >&5
25911 rm -f conftest.err conftest.
$ac_objext \
25912 conftest
$ac_exeext conftest.
$ac_ext
25913 if test $ac_R_nospace = yes; then
25914 echo "$as_me:$LINENO: result: no" >&5
25915 echo "${ECHO_T}no" >&6
25916 X_LIBS
="$X_LIBS -R$x_libraries"
25918 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25919 cat >conftest.
$ac_ext <<_ACEOF
25922 cat confdefs.h
>>conftest.
$ac_ext
25923 cat >>conftest.
$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25934 rm -f conftest.
$ac_objext conftest
$ac_exeext
25935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25936 (eval $ac_link) 2>conftest.er1
25938 grep -v '^ *+' conftest.er1
>conftest.err
25940 cat conftest.err
>&5
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); } &&
25943 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25945 (eval $ac_try) 2>&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); }; } &&
25949 { ac_try
='test -s conftest$ac_exeext'
25950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25951 (eval $ac_try) 2>&5
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); }; }; then
25957 echo "$as_me: failed program was:" >&5
25958 sed 's/^/| /' conftest.
$ac_ext >&5
25962 rm -f conftest.err conftest.
$ac_objext \
25963 conftest
$ac_exeext conftest.
$ac_ext
25964 if test $ac_R_space = yes; then
25965 echo "$as_me:$LINENO: result: yes" >&5
25966 echo "${ECHO_T}yes" >&6
25967 X_LIBS
="$X_LIBS -R $x_libraries"
25969 echo "$as_me:$LINENO: result: neither works" >&5
25970 echo "${ECHO_T}neither works" >&6
25973 LIBS
=$ac_xsave_LIBS
25977 # Check for system-dependent libraries X programs must link with.
25978 # Do this before checking for the system-independent R6 libraries
25979 # (-lICE), since we may need -lsocket or whatever for X linking.
25981 if test "$ISC" = yes; then
25982 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25984 # Martyn Johnson says this is needed for Ultrix, if the X
25985 # libraries were built with DECnet support. And Karl Berry says
25986 # the Alpha needs dnet_stub (dnet does not exist).
25987 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25988 cat >conftest.
$ac_ext <<_ACEOF
25991 cat confdefs.h
>>conftest.
$ac_ext
25992 cat >>conftest.
$ac_ext <<_ACEOF
25993 /* end confdefs.h. */
25995 /* Override any gcc2 internal prototype to avoid an error. */
25999 /* We use char because int might match the return type of a gcc2
26000 builtin and then its argument prototype would still apply. */
26001 char XOpenDisplay ();
26010 rm -f conftest.
$ac_objext conftest
$ac_exeext
26011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26012 (eval $ac_link) 2>conftest.er1
26014 grep -v '^ *+' conftest.er1
>conftest.err
26016 cat conftest.err
>&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); } &&
26019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26021 (eval $ac_try) 2>&5
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); }; } &&
26025 { ac_try
='test -s conftest$ac_exeext'
26026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26027 (eval $ac_try) 2>&5
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); }; }; then
26033 echo "$as_me: failed program was:" >&5
26034 sed 's/^/| /' conftest.
$ac_ext >&5
26036 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26037 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26038 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26039 echo $ECHO_N "(cached) $ECHO_C" >&6
26041 ac_check_lib_save_LIBS
=$LIBS
26042 LIBS
="-ldnet $LIBS"
26043 cat >conftest.
$ac_ext <<_ACEOF
26046 cat confdefs.h
>>conftest.
$ac_ext
26047 cat >>conftest.
$ac_ext <<_ACEOF
26048 /* end confdefs.h. */
26050 /* Override any gcc2 internal prototype to avoid an error. */
26054 /* We use char because int might match the return type of a gcc2
26055 builtin and then its argument prototype would still apply. */
26065 rm -f conftest.
$ac_objext conftest
$ac_exeext
26066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26067 (eval $ac_link) 2>conftest.er1
26069 grep -v '^ *+' conftest.er1
>conftest.err
26071 cat conftest.err
>&5
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); } &&
26074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26076 (eval $ac_try) 2>&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); }; } &&
26080 { ac_try
='test -s conftest$ac_exeext'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; }; then
26086 ac_cv_lib_dnet_dnet_ntoa
=yes
26088 echo "$as_me: failed program was:" >&5
26089 sed 's/^/| /' conftest.
$ac_ext >&5
26091 ac_cv_lib_dnet_dnet_ntoa
=no
26093 rm -f conftest.err conftest.
$ac_objext \
26094 conftest
$ac_exeext conftest.
$ac_ext
26095 LIBS
=$ac_check_lib_save_LIBS
26097 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26098 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26099 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26100 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26103 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26104 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26105 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26106 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26109 ac_check_lib_save_LIBS
=$LIBS
26110 LIBS
="-ldnet_stub $LIBS"
26111 cat >conftest.
$ac_ext <<_ACEOF
26114 cat confdefs.h
>>conftest.
$ac_ext
26115 cat >>conftest.
$ac_ext <<_ACEOF
26116 /* end confdefs.h. */
26118 /* Override any gcc2 internal prototype to avoid an error. */
26122 /* We use char because int might match the return type of a gcc2
26123 builtin and then its argument prototype would still apply. */
26133 rm -f conftest.
$ac_objext conftest
$ac_exeext
26134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26135 (eval $ac_link) 2>conftest.er1
26137 grep -v '^ *+' conftest.er1
>conftest.err
26139 cat conftest.err
>&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } &&
26142 { ac_try
='test -z "$ac_c_werror_flag" || 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_stub_dnet_ntoa
=yes
26156 echo "$as_me: failed program was:" >&5
26157 sed 's/^/| /' conftest.
$ac_ext >&5
26159 ac_cv_lib_dnet_stub_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_stub_dnet_ntoa" >&5
26166 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26167 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26168 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26173 rm -f conftest.err conftest.
$ac_objext \
26174 conftest
$ac_exeext conftest.
$ac_ext
26175 LIBS
="$ac_xsave_LIBS"
26177 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26178 # to get the SysV transport functions.
26179 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26181 # The nsl library prevents programs from opening the X display
26182 # on Irix 5.2, according to T.E. Dickey.
26183 # The functions gethostbyname, getservbyname, and inet_addr are
26184 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26185 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26186 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26187 if test "${ac_cv_func_gethostbyname+set}" = set; then
26188 echo $ECHO_N "(cached) $ECHO_C" >&6
26190 cat >conftest.
$ac_ext <<_ACEOF
26193 cat confdefs.h
>>conftest.
$ac_ext
26194 cat >>conftest.
$ac_ext <<_ACEOF
26195 /* end confdefs.h. */
26196 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26198 #define gethostbyname innocuous_gethostbyname
26200 /* System header to define __stub macros and hopefully few prototypes,
26201 which can conflict with char gethostbyname (); below.
26202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26203 <limits.h> exists even on freestanding compilers. */
26206 # include <limits.h>
26208 # include <assert.h>
26211 #undef gethostbyname
26213 /* Override any gcc2 internal prototype to avoid an error. */
26218 /* We use char because int might match the return type of a gcc2
26219 builtin and then its argument prototype would still apply. */
26220 char gethostbyname ();
26221 /* The GNU C library defines this for functions which it implements
26222 to always fail with ENOSYS. Some functions are actually named
26223 something starting with __ and the normal name is an alias. */
26224 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26227 char (*f) () = gethostbyname;
26236 return f != gethostbyname;
26241 rm -f conftest.
$ac_objext conftest
$ac_exeext
26242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26243 (eval $ac_link) 2>conftest.er1
26245 grep -v '^ *+' conftest.er1
>conftest.err
26247 cat conftest.err
>&5
26248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26249 (exit $ac_status); } &&
26250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26252 (eval $ac_try) 2>&5
26254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26255 (exit $ac_status); }; } &&
26256 { ac_try
='test -s conftest$ac_exeext'
26257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26258 (eval $ac_try) 2>&5
26260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26261 (exit $ac_status); }; }; then
26262 ac_cv_func_gethostbyname
=yes
26264 echo "$as_me: failed program was:" >&5
26265 sed 's/^/| /' conftest.
$ac_ext >&5
26267 ac_cv_func_gethostbyname
=no
26269 rm -f conftest.err conftest.
$ac_objext \
26270 conftest
$ac_exeext conftest.
$ac_ext
26272 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26273 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26275 if test $ac_cv_func_gethostbyname = no
; then
26276 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26277 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26278 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26279 echo $ECHO_N "(cached) $ECHO_C" >&6
26281 ac_check_lib_save_LIBS
=$LIBS
26283 cat >conftest.
$ac_ext <<_ACEOF
26286 cat confdefs.h
>>conftest.
$ac_ext
26287 cat >>conftest.
$ac_ext <<_ACEOF
26288 /* end confdefs.h. */
26290 /* Override any gcc2 internal prototype to avoid an error. */
26294 /* We use char because int might match the return type of a gcc2
26295 builtin and then its argument prototype would still apply. */
26296 char gethostbyname ();
26305 rm -f conftest.
$ac_objext conftest
$ac_exeext
26306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26307 (eval $ac_link) 2>conftest.er1
26309 grep -v '^ *+' conftest.er1
>conftest.err
26311 cat conftest.err
>&5
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); } &&
26314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26316 (eval $ac_try) 2>&5
26318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319 (exit $ac_status); }; } &&
26320 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
26326 ac_cv_lib_nsl_gethostbyname
=yes
26328 echo "$as_me: failed program was:" >&5
26329 sed 's/^/| /' conftest.
$ac_ext >&5
26331 ac_cv_lib_nsl_gethostbyname
=no
26333 rm -f conftest.err conftest.
$ac_objext \
26334 conftest
$ac_exeext conftest.
$ac_ext
26335 LIBS
=$ac_check_lib_save_LIBS
26337 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26338 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26339 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26340 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26343 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26344 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26345 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26346 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26347 echo $ECHO_N "(cached) $ECHO_C" >&6
26349 ac_check_lib_save_LIBS
=$LIBS
26351 cat >conftest.
$ac_ext <<_ACEOF
26354 cat confdefs.h
>>conftest.
$ac_ext
26355 cat >>conftest.
$ac_ext <<_ACEOF
26356 /* end confdefs.h. */
26358 /* Override any gcc2 internal prototype to avoid an error. */
26362 /* We use char because int might match the return type of a gcc2
26363 builtin and then its argument prototype would still apply. */
26364 char gethostbyname ();
26373 rm -f conftest.
$ac_objext conftest
$ac_exeext
26374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26375 (eval $ac_link) 2>conftest.er1
26377 grep -v '^ *+' conftest.er1
>conftest.err
26379 cat conftest.err
>&5
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); } &&
26382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26384 (eval $ac_try) 2>&5
26386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387 (exit $ac_status); }; } &&
26388 { ac_try
='test -s conftest$ac_exeext'
26389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26390 (eval $ac_try) 2>&5
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); }; }; then
26394 ac_cv_lib_bsd_gethostbyname
=yes
26396 echo "$as_me: failed program was:" >&5
26397 sed 's/^/| /' conftest.
$ac_ext >&5
26399 ac_cv_lib_bsd_gethostbyname
=no
26401 rm -f conftest.err conftest.
$ac_objext \
26402 conftest
$ac_exeext conftest.
$ac_ext
26403 LIBS
=$ac_check_lib_save_LIBS
26405 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26406 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26407 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26408 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26414 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26415 # socket/setsockopt and other routines are undefined under SCO ODT
26416 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26417 # on later versions), says Simon Leinen: it contains gethostby*
26418 # variants that don't use the name server (or something). -lsocket
26419 # must be given before -lnsl if both are needed. We assume that
26420 # if connect needs -lnsl, so does gethostbyname.
26421 echo "$as_me:$LINENO: checking for connect" >&5
26422 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26423 if test "${ac_cv_func_connect+set}" = set; then
26424 echo $ECHO_N "(cached) $ECHO_C" >&6
26426 cat >conftest.
$ac_ext <<_ACEOF
26429 cat confdefs.h
>>conftest.
$ac_ext
26430 cat >>conftest.
$ac_ext <<_ACEOF
26431 /* end confdefs.h. */
26432 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26434 #define connect innocuous_connect
26436 /* System header to define __stub macros and hopefully few prototypes,
26437 which can conflict with char connect (); below.
26438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26439 <limits.h> exists even on freestanding compilers. */
26442 # include <limits.h>
26444 # include <assert.h>
26449 /* Override any gcc2 internal prototype to avoid an error. */
26454 /* We use char because int might match the return type of a gcc2
26455 builtin and then its argument prototype would still apply. */
26457 /* The GNU C library defines this for functions which it implements
26458 to always fail with ENOSYS. Some functions are actually named
26459 something starting with __ and the normal name is an alias. */
26460 #if defined (__stub_connect) || defined (__stub___connect)
26463 char (*f) () = connect;
26472 return f != connect;
26477 rm -f conftest.
$ac_objext conftest
$ac_exeext
26478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>conftest.er1
26481 grep -v '^ *+' conftest.er1
>conftest.err
26483 cat conftest.err
>&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } &&
26486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26488 (eval $ac_try) 2>&5
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); }; } &&
26492 { ac_try
='test -s conftest$ac_exeext'
26493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26494 (eval $ac_try) 2>&5
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); }; }; then
26498 ac_cv_func_connect
=yes
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.
$ac_ext >&5
26503 ac_cv_func_connect
=no
26505 rm -f conftest.err conftest.
$ac_objext \
26506 conftest
$ac_exeext conftest.
$ac_ext
26508 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26509 echo "${ECHO_T}$ac_cv_func_connect" >&6
26511 if test $ac_cv_func_connect = no
; then
26512 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26513 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26514 if test "${ac_cv_lib_socket_connect+set}" = set; then
26515 echo $ECHO_N "(cached) $ECHO_C" >&6
26517 ac_check_lib_save_LIBS
=$LIBS
26518 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26519 cat >conftest.
$ac_ext <<_ACEOF
26522 cat confdefs.h
>>conftest.
$ac_ext
26523 cat >>conftest.
$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26526 /* Override any gcc2 internal prototype to avoid an error. */
26530 /* We use char because int might match the return type of a gcc2
26531 builtin and then its argument prototype would still apply. */
26541 rm -f conftest.
$ac_objext conftest
$ac_exeext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543 (eval $ac_link) 2>conftest.er1
26545 grep -v '^ *+' conftest.er1
>conftest.err
26547 cat conftest.err
>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; } &&
26556 { ac_try
='test -s conftest$ac_exeext'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; }; then
26562 ac_cv_lib_socket_connect
=yes
26564 echo "$as_me: failed program was:" >&5
26565 sed 's/^/| /' conftest.
$ac_ext >&5
26567 ac_cv_lib_socket_connect
=no
26569 rm -f conftest.err conftest.
$ac_objext \
26570 conftest
$ac_exeext conftest.
$ac_ext
26571 LIBS
=$ac_check_lib_save_LIBS
26573 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26574 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26575 if test $ac_cv_lib_socket_connect = yes; then
26576 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26581 # Guillermo Gomez says -lposix is necessary on A/UX.
26582 echo "$as_me:$LINENO: checking for remove" >&5
26583 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26584 if test "${ac_cv_func_remove+set}" = set; then
26585 echo $ECHO_N "(cached) $ECHO_C" >&6
26587 cat >conftest.
$ac_ext <<_ACEOF
26590 cat confdefs.h
>>conftest.
$ac_ext
26591 cat >>conftest.
$ac_ext <<_ACEOF
26592 /* end confdefs.h. */
26593 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26595 #define remove innocuous_remove
26597 /* System header to define __stub macros and hopefully few prototypes,
26598 which can conflict with char remove (); below.
26599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26600 <limits.h> exists even on freestanding compilers. */
26603 # include <limits.h>
26605 # include <assert.h>
26610 /* Override any gcc2 internal prototype to avoid an error. */
26615 /* We use char because int might match the return type of a gcc2
26616 builtin and then its argument prototype would still apply. */
26618 /* The GNU C library defines this for functions which it implements
26619 to always fail with ENOSYS. Some functions are actually named
26620 something starting with __ and the normal name is an alias. */
26621 #if defined (__stub_remove) || defined (__stub___remove)
26624 char (*f) () = remove;
26633 return f != remove;
26638 rm -f conftest.
$ac_objext conftest
$ac_exeext
26639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26640 (eval $ac_link) 2>conftest.er1
26642 grep -v '^ *+' conftest.er1
>conftest.err
26644 cat conftest.err
>&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } &&
26647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26649 (eval $ac_try) 2>&5
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); }; } &&
26653 { ac_try
='test -s conftest$ac_exeext'
26654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26655 (eval $ac_try) 2>&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); }; }; then
26659 ac_cv_func_remove
=yes
26661 echo "$as_me: failed program was:" >&5
26662 sed 's/^/| /' conftest.
$ac_ext >&5
26664 ac_cv_func_remove
=no
26666 rm -f conftest.err conftest.
$ac_objext \
26667 conftest
$ac_exeext conftest.
$ac_ext
26669 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26670 echo "${ECHO_T}$ac_cv_func_remove" >&6
26672 if test $ac_cv_func_remove = no
; then
26673 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26674 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26675 if test "${ac_cv_lib_posix_remove+set}" = set; then
26676 echo $ECHO_N "(cached) $ECHO_C" >&6
26678 ac_check_lib_save_LIBS
=$LIBS
26679 LIBS
="-lposix $LIBS"
26680 cat >conftest.
$ac_ext <<_ACEOF
26683 cat confdefs.h
>>conftest.
$ac_ext
26684 cat >>conftest.
$ac_ext <<_ACEOF
26685 /* end confdefs.h. */
26687 /* Override any gcc2 internal prototype to avoid an error. */
26691 /* We use char because int might match the return type of a gcc2
26692 builtin and then its argument prototype would still apply. */
26702 rm -f conftest.
$ac_objext conftest
$ac_exeext
26703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26704 (eval $ac_link) 2>conftest.er1
26706 grep -v '^ *+' conftest.er1
>conftest.err
26708 cat conftest.err
>&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); } &&
26711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26713 (eval $ac_try) 2>&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); }; } &&
26717 { ac_try
='test -s conftest$ac_exeext'
26718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26719 (eval $ac_try) 2>&5
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); }; }; then
26723 ac_cv_lib_posix_remove
=yes
26725 echo "$as_me: failed program was:" >&5
26726 sed 's/^/| /' conftest.
$ac_ext >&5
26728 ac_cv_lib_posix_remove
=no
26730 rm -f conftest.err conftest.
$ac_objext \
26731 conftest
$ac_exeext conftest.
$ac_ext
26732 LIBS
=$ac_check_lib_save_LIBS
26734 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26735 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26736 if test $ac_cv_lib_posix_remove = yes; then
26737 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26742 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26743 echo "$as_me:$LINENO: checking for shmat" >&5
26744 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26745 if test "${ac_cv_func_shmat+set}" = set; then
26746 echo $ECHO_N "(cached) $ECHO_C" >&6
26748 cat >conftest.
$ac_ext <<_ACEOF
26751 cat confdefs.h
>>conftest.
$ac_ext
26752 cat >>conftest.
$ac_ext <<_ACEOF
26753 /* end confdefs.h. */
26754 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26756 #define shmat innocuous_shmat
26758 /* System header to define __stub macros and hopefully few prototypes,
26759 which can conflict with char shmat (); below.
26760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26761 <limits.h> exists even on freestanding compilers. */
26764 # include <limits.h>
26766 # include <assert.h>
26771 /* Override any gcc2 internal prototype to avoid an error. */
26776 /* We use char because int might match the return type of a gcc2
26777 builtin and then its argument prototype would still apply. */
26779 /* The GNU C library defines this for functions which it implements
26780 to always fail with ENOSYS. Some functions are actually named
26781 something starting with __ and the normal name is an alias. */
26782 #if defined (__stub_shmat) || defined (__stub___shmat)
26785 char (*f) () = shmat;
26799 rm -f conftest.
$ac_objext conftest
$ac_exeext
26800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26801 (eval $ac_link) 2>conftest.er1
26803 grep -v '^ *+' conftest.er1
>conftest.err
26805 cat conftest.err
>&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); } &&
26808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26810 (eval $ac_try) 2>&5
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); }; } &&
26814 { ac_try
='test -s conftest$ac_exeext'
26815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26816 (eval $ac_try) 2>&5
26818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26819 (exit $ac_status); }; }; then
26820 ac_cv_func_shmat
=yes
26822 echo "$as_me: failed program was:" >&5
26823 sed 's/^/| /' conftest.
$ac_ext >&5
26825 ac_cv_func_shmat
=no
26827 rm -f conftest.err conftest.
$ac_objext \
26828 conftest
$ac_exeext conftest.
$ac_ext
26830 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26831 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26833 if test $ac_cv_func_shmat = no
; then
26834 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26835 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26836 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26837 echo $ECHO_N "(cached) $ECHO_C" >&6
26839 ac_check_lib_save_LIBS
=$LIBS
26841 cat >conftest.
$ac_ext <<_ACEOF
26844 cat confdefs.h
>>conftest.
$ac_ext
26845 cat >>conftest.
$ac_ext <<_ACEOF
26846 /* end confdefs.h. */
26848 /* 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. */
26863 rm -f conftest.
$ac_objext conftest
$ac_exeext
26864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26865 (eval $ac_link) 2>conftest.er1
26867 grep -v '^ *+' conftest.er1
>conftest.err
26869 cat conftest.err
>&5
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); } &&
26872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26874 (eval $ac_try) 2>&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); }; } &&
26878 { ac_try
='test -s conftest$ac_exeext'
26879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26880 (eval $ac_try) 2>&5
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); }; }; then
26884 ac_cv_lib_ipc_shmat
=yes
26886 echo "$as_me: failed program was:" >&5
26887 sed 's/^/| /' conftest.
$ac_ext >&5
26889 ac_cv_lib_ipc_shmat
=no
26891 rm -f conftest.err conftest.
$ac_objext \
26892 conftest
$ac_exeext conftest.
$ac_ext
26893 LIBS
=$ac_check_lib_save_LIBS
26895 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26896 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26897 if test $ac_cv_lib_ipc_shmat = yes; then
26898 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26904 # Check for libraries that X11R6 Xt/Xaw programs need.
26905 ac_save_LDFLAGS
=$LDFLAGS
26906 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26907 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26908 # check for ICE first), but we must link in the order -lSM -lICE or
26909 # we get undefined symbols. So assume we have SM if we have ICE.
26910 # These have to be linked with before -lX11, unlike the other
26911 # libraries we check for below, so use a different variable.
26912 # John Interrante, Karl Berry
26913 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26914 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26915 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26916 echo $ECHO_N "(cached) $ECHO_C" >&6
26918 ac_check_lib_save_LIBS
=$LIBS
26919 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26920 cat >conftest.
$ac_ext <<_ACEOF
26923 cat confdefs.h
>>conftest.
$ac_ext
26924 cat >>conftest.
$ac_ext <<_ACEOF
26925 /* end confdefs.h. */
26927 /* Override any gcc2 internal prototype to avoid an error. */
26931 /* We use char because int might match the return type of a gcc2
26932 builtin and then its argument prototype would still apply. */
26933 char IceConnectionNumber ();
26937 IceConnectionNumber ();
26942 rm -f conftest.
$ac_objext conftest
$ac_exeext
26943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26944 (eval $ac_link) 2>conftest.er1
26946 grep -v '^ *+' conftest.er1
>conftest.err
26948 cat conftest.err
>&5
26949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950 (exit $ac_status); } &&
26951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26953 (eval $ac_try) 2>&5
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); }; } &&
26957 { ac_try
='test -s conftest$ac_exeext'
26958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26959 (eval $ac_try) 2>&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); }; }; then
26963 ac_cv_lib_ICE_IceConnectionNumber
=yes
26965 echo "$as_me: failed program was:" >&5
26966 sed 's/^/| /' conftest.
$ac_ext >&5
26968 ac_cv_lib_ICE_IceConnectionNumber
=no
26970 rm -f conftest.err conftest.
$ac_objext \
26971 conftest
$ac_exeext conftest.
$ac_ext
26972 LIBS
=$ac_check_lib_save_LIBS
26974 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26975 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26976 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26977 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26980 LDFLAGS
=$ac_save_LDFLAGS
26985 if test "$no_x" = "yes"; then
26986 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26987 echo "$as_me: error: X11 not found" >&2;}
26988 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26991 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26992 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26993 AFMINSTALL
=afminstall
26994 COMPILED_X_PROGRAM
=0
26998 if test "$wxUSE_X11" = 1; then
26999 if test "$wxUSE_NANOX" = "yes"; then
27000 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27001 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27002 if test "x$MICROWIN" = x
; then
27003 echo "$as_me:$LINENO: result: not found" >&5
27004 echo "${ECHO_T}not found" >&6
27005 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27006 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27007 { (exit 1); exit 1; }; }
27009 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27010 echo "${ECHO_T}$MICROWIN" >&6
27011 cat >>confdefs.h
<<\_ACEOF
27012 #define wxUSE_NANOX 1
27018 if test "$wxUSE_UNICODE" = "yes"; then
27022 if test -z "$PKG_CONFIG"; then
27023 # Extract the first word of "pkg-config", so it can be a program name with args.
27024 set dummy pkg
-config; ac_word
=$2
27025 echo "$as_me:$LINENO: checking for $ac_word" >&5
27026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27027 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 case $PKG_CONFIG in
27032 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27036 for as_dir
in $PATH
27039 test -z "$as_dir" && as_dir
=.
27040 for ac_exec_ext
in '' $ac_executable_extensions; do
27041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27042 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27049 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27053 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27055 if test -n "$PKG_CONFIG"; then
27056 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27057 echo "${ECHO_T}$PKG_CONFIG" >&6
27059 echo "$as_me:$LINENO: result: no" >&5
27060 echo "${ECHO_T}no" >&6
27065 if test "$PKG_CONFIG" = "no" ; then
27066 echo "*** The pkg-config script could not be found. Make sure it is"
27067 echo "*** in your path, or set the PKG_CONFIG environment variable"
27068 echo "*** to the full path to pkg-config."
27069 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27071 PKG_CONFIG_MIN_VERSION
=0.9.0
27072 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27073 echo "$as_me:$LINENO: checking for pangox" >&5
27074 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27076 if $PKG_CONFIG --exists "pangox" ; then
27077 echo "$as_me:$LINENO: result: yes" >&5
27078 echo "${ECHO_T}yes" >&6
27081 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27082 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27083 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27084 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27085 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27087 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27088 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27089 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27090 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27091 echo "${ECHO_T}$PANGOX_LIBS" >&6
27095 ## If we have a custom action on failure, don't print errors, but
27096 ## do set a variable so people can do so.
27097 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27104 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27105 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27109 if test $succeeded = yes; then
27111 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27112 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27116 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27117 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27118 { (exit 1); exit 1; }; }
27126 if test -z "$PKG_CONFIG"; then
27127 # Extract the first word of "pkg-config", so it can be a program name with args.
27128 set dummy pkg
-config; ac_word
=$2
27129 echo "$as_me:$LINENO: checking for $ac_word" >&5
27130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27131 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27132 echo $ECHO_N "(cached) $ECHO_C" >&6
27134 case $PKG_CONFIG in
27136 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27140 for as_dir
in $PATH
27143 test -z "$as_dir" && as_dir
=.
27144 for ac_exec_ext
in '' $ac_executable_extensions; do
27145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27146 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27153 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27157 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27159 if test -n "$PKG_CONFIG"; then
27160 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27161 echo "${ECHO_T}$PKG_CONFIG" >&6
27163 echo "$as_me:$LINENO: result: no" >&5
27164 echo "${ECHO_T}no" >&6
27169 if test "$PKG_CONFIG" = "no" ; then
27170 echo "*** The pkg-config script could not be found. Make sure it is"
27171 echo "*** in your path, or set the PKG_CONFIG environment variable"
27172 echo "*** to the full path to pkg-config."
27173 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27175 PKG_CONFIG_MIN_VERSION
=0.9.0
27176 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27177 echo "$as_me:$LINENO: checking for pangoft2" >&5
27178 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27180 if $PKG_CONFIG --exists "pangoft2" ; then
27181 echo "$as_me:$LINENO: result: yes" >&5
27182 echo "${ECHO_T}yes" >&6
27185 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27186 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27187 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27188 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27189 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27191 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27192 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27193 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27194 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27195 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27199 ## If we have a custom action on failure, don't print errors, but
27200 ## do set a variable so people can do so.
27201 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27208 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27209 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27213 if test $succeeded = yes; then
27215 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27216 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27220 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27221 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27222 wxUSE_PRINTING_ARCHITECTURE
="no"
27230 if test -z "$PKG_CONFIG"; then
27231 # Extract the first word of "pkg-config", so it can be a program name with args.
27232 set dummy pkg
-config; ac_word
=$2
27233 echo "$as_me:$LINENO: checking for $ac_word" >&5
27234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27235 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27238 case $PKG_CONFIG in
27240 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27244 for as_dir
in $PATH
27247 test -z "$as_dir" && as_dir
=.
27248 for ac_exec_ext
in '' $ac_executable_extensions; do
27249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27250 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27257 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27261 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27263 if test -n "$PKG_CONFIG"; then
27264 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27265 echo "${ECHO_T}$PKG_CONFIG" >&6
27267 echo "$as_me:$LINENO: result: no" >&5
27268 echo "${ECHO_T}no" >&6
27273 if test "$PKG_CONFIG" = "no" ; then
27274 echo "*** The pkg-config script could not be found. Make sure it is"
27275 echo "*** in your path, or set the PKG_CONFIG environment variable"
27276 echo "*** to the full path to pkg-config."
27277 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27279 PKG_CONFIG_MIN_VERSION
=0.9.0
27280 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27281 echo "$as_me:$LINENO: checking for pangoxft" >&5
27282 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27284 if $PKG_CONFIG --exists "pangoxft" ; then
27285 echo "$as_me:$LINENO: result: yes" >&5
27286 echo "${ECHO_T}yes" >&6
27289 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27290 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27291 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27292 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27293 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27295 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27296 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27297 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27298 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27299 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27303 ## If we have a custom action on failure, don't print errors, but
27304 ## do set a variable so people can do so.
27305 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27312 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27313 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27317 if test $succeeded = yes; then
27319 cat >>confdefs.h
<<\_ACEOF
27320 #define HAVE_PANGO_XFT 1
27323 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27324 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27328 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27329 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27334 save_CFLAGS
="$CFLAGS"
27336 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27337 LIBS
="$LIBS $PANGOX_LIBS"
27339 for ac_func
in pango_font_family_is_monospace
27341 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27342 echo "$as_me:$LINENO: checking for $ac_func" >&5
27343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27344 if eval "test \"\${$as_ac_var+set}\" = set"; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27347 cat >conftest.
$ac_ext <<_ACEOF
27350 cat confdefs.h
>>conftest.
$ac_ext
27351 cat >>conftest.
$ac_ext <<_ACEOF
27352 /* end confdefs.h. */
27353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27355 #define $ac_func innocuous_$ac_func
27357 /* System header to define __stub macros and hopefully few prototypes,
27358 which can conflict with char $ac_func (); below.
27359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27360 <limits.h> exists even on freestanding compilers. */
27363 # include <limits.h>
27365 # include <assert.h>
27370 /* Override any gcc2 internal prototype to avoid an error. */
27375 /* We use char because int might match the return type of a gcc2
27376 builtin and then its argument prototype would still apply. */
27378 /* The GNU C library defines this for functions which it implements
27379 to always fail with ENOSYS. Some functions are actually named
27380 something starting with __ and the normal name is an alias. */
27381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27384 char (*f) () = $ac_func;
27393 return f != $ac_func;
27398 rm -f conftest.
$ac_objext conftest
$ac_exeext
27399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27400 (eval $ac_link) 2>conftest.er1
27402 grep -v '^ *+' conftest.er1
>conftest.err
27404 cat conftest.err
>&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); } &&
27407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27409 (eval $ac_try) 2>&5
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); }; } &&
27413 { ac_try
='test -s conftest$ac_exeext'
27414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27415 (eval $ac_try) 2>&5
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); }; }; then
27419 eval "$as_ac_var=yes"
27421 echo "$as_me: failed program was:" >&5
27422 sed 's/^/| /' conftest.
$ac_ext >&5
27424 eval "$as_ac_var=no"
27426 rm -f conftest.err conftest.
$ac_objext \
27427 conftest
$ac_exeext conftest.
$ac_ext
27429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27431 if test `eval echo '${'$as_ac_var'}'` = yes; then
27432 cat >>confdefs.h
<<_ACEOF
27433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27439 CFLAGS
="$save_CFLAGS"
27443 wxUSE_UNIVERSAL
="yes"
27445 if test "$wxUSE_NANOX" = "yes"; then
27446 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27447 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"
27448 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27450 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
27457 if test "$wxUSE_MOTIF" = 1; then
27458 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27459 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27462 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27464 if test -f "$ac_dir/Xm/Xm.h"; then
27465 ac_find_includes
=$ac_dir
27470 if test "$ac_find_includes" != "" ; then
27471 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27472 echo "${ECHO_T}found in $ac_find_includes" >&6
27474 if test "x$ac_find_includes" = "x/usr/include"; then
27475 ac_path_to_include
=""
27477 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
27479 if test $result = 0; then
27480 ac_path_to_include
=""
27482 ac_path_to_include
=" -I$ac_find_includes"
27486 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
27488 cat >conftest.
$ac_ext <<_ACEOF
27491 cat confdefs.h
>>conftest.
$ac_ext
27492 cat >>conftest.
$ac_ext <<_ACEOF
27493 /* end confdefs.h. */
27502 version = xmUseVersion;
27508 rm -f conftest.
$ac_objext
27509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27510 (eval $ac_compile) 2>conftest.er1
27512 grep -v '^ *+' conftest.er1
>conftest.err
27514 cat conftest.err
>&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); } &&
27517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519 (eval $ac_try) 2>&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; } &&
27523 { ac_try
='test -s conftest.$ac_objext'
27524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27525 (eval $ac_try) 2>&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); }; }; then
27530 echo "$as_me:$LINENO: result: found in default search path" >&5
27531 echo "${ECHO_T}found in default search path" >&6
27532 COMPILED_X_PROGRAM
=1
27535 echo "$as_me: failed program was:" >&5
27536 sed 's/^/| /' conftest.
$ac_ext >&5
27539 echo "$as_me:$LINENO: result: no" >&5
27540 echo "${ECHO_T}no" >&6
27541 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27542 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27543 { (exit 1); exit 1; }; }
27547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27550 if test "$COMPILED_X_PROGRAM" = 0; then
27551 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27552 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27555 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27557 for ac_extension
in a so sl dylib
; do
27558 if test -f "$ac_dir/libXm.$ac_extension"; then
27559 ac_find_libraries
=$ac_dir
27565 if test "$ac_find_libraries" != "" ; then
27566 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27567 echo "${ECHO_T}found at $ac_find_libraries" >&6
27570 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27572 if test $result = 0; then
27575 ac_path_to_link
=" -L$ac_find_libraries"
27578 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27580 save_CFLAGS
=$CFLAGS
27581 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27583 cat >conftest.
$ac_ext <<_ACEOF
27586 cat confdefs.h
>>conftest.
$ac_ext
27587 cat >>conftest.
$ac_ext <<_ACEOF
27588 /* end confdefs.h. */
27597 version = xmUseVersion;
27603 rm -f conftest.
$ac_objext
27604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27605 (eval $ac_compile) 2>conftest.er1
27607 grep -v '^ *+' conftest.er1
>conftest.err
27609 cat conftest.err
>&5
27610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27611 (exit $ac_status); } &&
27612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27614 (eval $ac_try) 2>&5
27616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27617 (exit $ac_status); }; } &&
27618 { ac_try
='test -s conftest.$ac_objext'
27619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27620 (eval $ac_try) 2>&5
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); }; }; then
27625 echo "$as_me:$LINENO: result: found in default search path" >&5
27626 echo "${ECHO_T}found in default search path" >&6
27627 COMPILED_X_PROGRAM
=1
27630 echo "$as_me: failed program was:" >&5
27631 sed 's/^/| /' conftest.
$ac_ext >&5
27634 echo "$as_me:$LINENO: result: no" >&5
27635 echo "${ECHO_T}no" >&6
27636 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27637 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27638 { (exit 1); exit 1; }; }
27642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27644 CFLAGS
=$save_CFLAGS
27648 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27649 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27653 for libp
in "" " -lXp"; do
27654 if test "$libs_found" = "0"; then
27655 for libsm_ice
in "" " -lSM -lICE"; do
27656 if test "$libs_found" = "0"; then
27658 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27659 save_CFLAGS
=$CFLAGS
27660 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27662 cat >conftest.
$ac_ext <<_ACEOF
27665 cat confdefs.h
>>conftest.
$ac_ext
27666 cat >>conftest.
$ac_ext <<_ACEOF
27667 /* end confdefs.h. */
27670 #include <Xm/List.h>
27676 XmString string = NULL;
27679 XmListAddItem(w, string, position);
27685 rm -f conftest.
$ac_objext conftest
$ac_exeext
27686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27687 (eval $ac_link) 2>conftest.er1
27689 grep -v '^ *+' conftest.er1
>conftest.err
27691 cat conftest.err
>&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); } &&
27694 { ac_try
='test -z "$ac_c_werror_flag" || 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_exeext'
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
27708 libsm_ice_link
="$libsm_ice"
27709 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27710 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27714 echo "$as_me: failed program was:" >&5
27715 sed 's/^/| /' conftest.
$ac_ext >&5
27720 rm -f conftest.err conftest.
$ac_objext \
27721 conftest
$ac_exeext conftest.
$ac_ext
27724 CFLAGS
=$save_CFLAGS
27730 if test "$libs_found" = "0"; then
27731 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27732 echo "${ECHO_T}can't find the right libraries" >&6
27733 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27734 echo "$as_me: error: can't link a simple motif program" >&2;}
27735 { (exit 1); exit 1; }; }
27738 save_CFLAGS
=$CFLAGS
27739 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27740 echo "$as_me:$LINENO: checking for Motif 2" >&5
27741 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27742 cat >conftest.
$ac_ext <<_ACEOF
27745 cat confdefs.h
>>conftest.
$ac_ext
27746 cat >>conftest.
$ac_ext <<_ACEOF
27747 /* end confdefs.h. */
27755 #if XmVersion < 2000
27756 #error "Not Motif 2"
27763 rm -f conftest.
$ac_objext
27764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27765 (eval $ac_compile) 2>conftest.er1
27767 grep -v '^ *+' conftest.er1
>conftest.err
27769 cat conftest.err
>&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } &&
27772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27774 (eval $ac_try) 2>&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; } &&
27778 { ac_try
='test -s conftest.$ac_objext'
27779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27780 (eval $ac_try) 2>&5
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); }; }; then
27785 cat >>confdefs.h
<<\_ACEOF
27786 #define __WXMOTIF20__ 1
27789 echo "$as_me:$LINENO: result: found" >&5
27790 echo "${ECHO_T}found" >&6
27793 echo "$as_me: failed program was:" >&5
27794 sed 's/^/| /' conftest.
$ac_ext >&5
27797 cat >>confdefs.h
<<\_ACEOF
27798 #define __WXMOTIF20__ 0
27801 echo "$as_me:$LINENO: result: not found" >&5
27802 echo "${ECHO_T}not found" >&6
27805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27806 CFLAGS
=$save_CFLAGS
27808 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27813 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27814 if test "$wxUSE_LIBXPM" = "sys"; then
27815 echo "$as_me:$LINENO: checking for Xpm library" >&5
27816 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27819 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27821 for ac_extension
in a so sl dylib
; do
27822 if test -f "$ac_dir/libXpm.$ac_extension"; then
27823 ac_find_libraries
=$ac_dir
27829 if test "$ac_find_libraries" != "" ; then
27831 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27833 if test $result = 0; then
27836 ac_path_to_link
=" -L$ac_find_libraries"
27839 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27840 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27841 echo "${ECHO_T}found at $ac_find_libraries" >&6
27843 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27844 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27845 if test "${wx_cv_x11_xpm_h+set}" = set; then
27846 echo $ECHO_N "(cached) $ECHO_C" >&6
27849 save_CFLAGS
=$CFLAGS
27850 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27852 cat >conftest.
$ac_ext <<_ACEOF
27855 cat confdefs.h
>>conftest.
$ac_ext
27856 cat >>conftest.
$ac_ext <<_ACEOF
27857 /* end confdefs.h. */
27859 #include <X11/xpm.h>
27866 version = XpmLibraryVersion();
27872 rm -f conftest.
$ac_objext
27873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27874 (eval $ac_compile) 2>conftest.er1
27876 grep -v '^ *+' conftest.er1
>conftest.err
27878 cat conftest.err
>&5
27879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880 (exit $ac_status); } &&
27881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27883 (eval $ac_try) 2>&5
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); }; } &&
27887 { ac_try
='test -s conftest.$ac_objext'
27888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27889 (eval $ac_try) 2>&5
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); }; }; then
27893 wx_cv_x11_xpm_h
=yes
27895 echo "$as_me: failed program was:" >&5
27896 sed 's/^/| /' conftest.
$ac_ext >&5
27901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27903 CFLAGS
=$save_CFLAGS
27907 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27908 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27910 if test $wx_cv_x11_xpm_h = "yes"; then
27911 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
27912 cat >>confdefs.h
<<\_ACEOF
27913 #define wxHAVE_LIB_XPM 1
27917 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27918 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27924 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27925 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27926 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27927 echo $ECHO_N "(cached) $ECHO_C" >&6
27929 ac_check_lib_save_LIBS
=$LIBS
27930 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27931 cat >conftest.
$ac_ext <<_ACEOF
27934 cat confdefs.h
>>conftest.
$ac_ext
27935 cat >>conftest.
$ac_ext <<_ACEOF
27936 /* end confdefs.h. */
27938 /* Override any gcc2 internal prototype to avoid an error. */
27942 /* We use char because int might match the return type of a gcc2
27943 builtin and then its argument prototype would still apply. */
27944 char XShapeQueryExtension ();
27948 XShapeQueryExtension ();
27953 rm -f conftest.
$ac_objext conftest
$ac_exeext
27954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27955 (eval $ac_link) 2>conftest.er1
27957 grep -v '^ *+' conftest.er1
>conftest.err
27959 cat conftest.err
>&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); } &&
27962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27964 (eval $ac_try) 2>&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); }; } &&
27968 { ac_try
='test -s conftest$ac_exeext'
27969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27970 (eval $ac_try) 2>&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); }; }; then
27974 ac_cv_lib_Xext_XShapeQueryExtension
=yes
27976 echo "$as_me: failed program was:" >&5
27977 sed 's/^/| /' conftest.
$ac_ext >&5
27979 ac_cv_lib_Xext_XShapeQueryExtension
=no
27981 rm -f conftest.err conftest.
$ac_objext \
27982 conftest
$ac_exeext conftest.
$ac_ext
27983 LIBS
=$ac_check_lib_save_LIBS
27985 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27986 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27987 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27989 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
27995 if test "$wxHAVE_XEXT_LIB" = 1; then
27996 save_CFLAGS
="$CFLAGS"
27997 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27999 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28000 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28001 cat >conftest.
$ac_ext <<_ACEOF
28004 cat confdefs.h
>>conftest.
$ac_ext
28005 cat >>conftest.
$ac_ext <<_ACEOF
28006 /* end confdefs.h. */
28008 #include <X11/Xlib.h>
28009 #include <X11/extensions/shape.h>
28015 int dummy1, dummy2;
28016 XShapeQueryExtension((Display*)NULL,
28017 (int*)NULL, (int*)NULL);
28023 rm -f conftest.
$ac_objext
28024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28025 (eval $ac_compile) 2>conftest.er1
28027 grep -v '^ *+' conftest.er1
>conftest.err
28029 cat conftest.err
>&5
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); } &&
28032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28034 (eval $ac_try) 2>&5
28036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28037 (exit $ac_status); }; } &&
28038 { ac_try
='test -s conftest.$ac_objext'
28039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28040 (eval $ac_try) 2>&5
28042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 (exit $ac_status); }; }; then
28045 cat >>confdefs.h
<<\_ACEOF
28046 #define HAVE_XSHAPE 1
28049 echo "$as_me:$LINENO: result: found" >&5
28050 echo "${ECHO_T}found" >&6
28053 echo "$as_me: failed program was:" >&5
28054 sed 's/^/| /' conftest.
$ac_ext >&5
28057 echo "$as_me:$LINENO: result: not found" >&5
28058 echo "${ECHO_T}not found" >&6
28061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28062 CFLAGS
="$save_CFLAGS"
28067 if test "$wxUSE_MAC" = 1; then
28068 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28069 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28070 if test "$GCC" = yes; then
28071 echo "$as_me:$LINENO: result: gcc" >&5
28072 echo "${ECHO_T}gcc" >&6
28073 CPPFLAGS_PASCAL
="-fpascal-strings"
28074 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28075 echo "$as_me:$LINENO: result: xlc" >&5
28076 echo "${ECHO_T}xlc" >&6
28077 CPPFLAGS_PASCAL
="-qmacpstr"
28079 echo "$as_me:$LINENO: result: none" >&5
28080 echo "${ECHO_T}none" >&6
28083 if test "x$wxUSE_UNIX" = "xyes"; then
28084 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28086 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28091 WXBASEPORT
="_carbon"
28094 if test "$wxUSE_COCOA" = 1; then
28099 if test "$wxUSE_PM" = 1; then
28102 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28103 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28104 if test "${wx_cv_spbcdata+set}" = set; then
28105 echo $ECHO_N "(cached) $ECHO_C" >&6
28108 cat >conftest.
$ac_ext <<_ACEOF
28111 cat confdefs.h
>>conftest.
$ac_ext
28112 cat >>conftest.
$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28128 rm -f conftest.
$ac_objext
28129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28130 (eval $ac_compile) 2>conftest.er1
28132 grep -v '^ *+' conftest.er1
>conftest.err
28134 cat conftest.err
>&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); } &&
28137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28139 (eval $ac_try) 2>&5
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); }; } &&
28143 { ac_try
='test -s conftest.$ac_objext'
28144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28145 (eval $ac_try) 2>&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); }; }; then
28151 echo "$as_me: failed program was:" >&5
28152 sed 's/^/| /' conftest.
$ac_ext >&5
28157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28161 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28162 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28164 if test $wx_cv_spbcdata = "yes"; then
28165 cat >>confdefs.h
<<\_ACEOF
28166 #define HAVE_SPBCDATA 1
28172 if test "$TOOLKIT" = "PM" ; then
28175 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28178 if test "$wxUSE_UNIVERSAL" = "yes"; then
28179 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28183 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28184 DISTDIR
="wx\$(TOOLKIT)"
28190 if test "$USE_WIN32" = 1 ; then
28194 GUIDIST
="BASE_DIST"
28204 if test "$TOOLKIT" != "MSW" ; then
28206 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28208 if test "${ac_cv_header_sql_h+set}" = set; then
28209 echo "$as_me:$LINENO: checking for sql.h" >&5
28210 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28211 if test "${ac_cv_header_sql_h+set}" = set; then
28212 echo $ECHO_N "(cached) $ECHO_C" >&6
28214 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28215 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28217 # Is the header compilable?
28218 echo "$as_me:$LINENO: checking sql.h usability" >&5
28219 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28220 cat >conftest.
$ac_ext <<_ACEOF
28223 cat confdefs.h
>>conftest.
$ac_ext
28224 cat >>conftest.
$ac_ext <<_ACEOF
28225 /* end confdefs.h. */
28226 $ac_includes_default
28229 rm -f conftest.
$ac_objext
28230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28231 (eval $ac_compile) 2>conftest.er1
28233 grep -v '^ *+' conftest.er1
>conftest.err
28235 cat conftest.err
>&5
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); } &&
28238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28240 (eval $ac_try) 2>&5
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); }; } &&
28244 { ac_try
='test -s conftest.$ac_objext'
28245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246 (eval $ac_try) 2>&5
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); }; }; then
28250 ac_header_compiler
=yes
28252 echo "$as_me: failed program was:" >&5
28253 sed 's/^/| /' conftest.
$ac_ext >&5
28255 ac_header_compiler
=no
28257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28259 echo "${ECHO_T}$ac_header_compiler" >&6
28261 # Is the header present?
28262 echo "$as_me:$LINENO: checking sql.h presence" >&5
28263 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28264 cat >conftest.
$ac_ext <<_ACEOF
28267 cat confdefs.h
>>conftest.
$ac_ext
28268 cat >>conftest.
$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28273 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28275 grep -v '^ *+' conftest.er1
>conftest.err
28277 cat conftest.err
>&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); } >/dev
/null
; then
28280 if test -s conftest.err
; then
28281 ac_cpp_err
=$ac_c_preproc_warn_flag
28282 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28289 if test -z "$ac_cpp_err"; then
28290 ac_header_preproc
=yes
28292 echo "$as_me: failed program was:" >&5
28293 sed 's/^/| /' conftest.
$ac_ext >&5
28295 ac_header_preproc
=no
28297 rm -f conftest.err conftest.
$ac_ext
28298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28299 echo "${ECHO_T}$ac_header_preproc" >&6
28301 # So? What about this header?
28302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28304 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28305 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28306 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28307 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28308 ac_header_preproc
=yes
28311 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28312 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28313 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28314 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28315 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28316 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28317 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28318 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28319 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28320 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28321 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28322 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28325 ## ----------------------------------------- ##
28326 ## Report this to wx-dev@lists.wxwidgets.org ##
28327 ## ----------------------------------------- ##
28330 sed "s/^/$as_me: WARNING: /" >&2
28333 echo "$as_me:$LINENO: checking for sql.h" >&5
28334 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28335 if test "${ac_cv_header_sql_h+set}" = set; then
28336 echo $ECHO_N "(cached) $ECHO_C" >&6
28338 ac_cv_header_sql_h
=$ac_header_preproc
28340 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28341 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28344 if test $ac_cv_header_sql_h = yes; then
28349 if test "x$found_sql_h" = "x1" ; then
28350 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28351 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28352 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28353 echo $ECHO_N "(cached) $ECHO_C" >&6
28355 ac_check_lib_save_LIBS
=$LIBS
28356 LIBS
="-liodbc $LIBS"
28357 cat >conftest.
$ac_ext <<_ACEOF
28360 cat confdefs.h
>>conftest.
$ac_ext
28361 cat >>conftest.
$ac_ext <<_ACEOF
28362 /* end confdefs.h. */
28364 /* Override any gcc2 internal prototype to avoid an error. */
28368 /* We use char because int might match the return type of a gcc2
28369 builtin and then its argument prototype would still apply. */
28370 char SQLAllocEnv ();
28379 rm -f conftest.
$ac_objext conftest
$ac_exeext
28380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28381 (eval $ac_link) 2>conftest.er1
28383 grep -v '^ *+' conftest.er1
>conftest.err
28385 cat conftest.err
>&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); } &&
28388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28390 (eval $ac_try) 2>&5
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); }; } &&
28394 { ac_try
='test -s conftest$ac_exeext'
28395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 (eval $ac_try) 2>&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); }; }; then
28400 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28402 echo "$as_me: failed program was:" >&5
28403 sed 's/^/| /' conftest.
$ac_ext >&5
28405 ac_cv_lib_iodbc_SQLAllocEnv
=no
28407 rm -f conftest.err conftest.
$ac_objext \
28408 conftest
$ac_exeext conftest.
$ac_ext
28409 LIBS
=$ac_check_lib_save_LIBS
28411 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28412 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28413 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28414 ODBC_LINK
=" -liodbc"
28417 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28418 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28419 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28420 echo $ECHO_N "(cached) $ECHO_C" >&6
28422 ac_check_lib_save_LIBS
=$LIBS
28423 LIBS
="-lunixodbc $LIBS"
28424 cat >conftest.
$ac_ext <<_ACEOF
28427 cat confdefs.h
>>conftest.
$ac_ext
28428 cat >>conftest.
$ac_ext <<_ACEOF
28429 /* end confdefs.h. */
28431 /* Override any gcc2 internal prototype to avoid an error. */
28435 /* We use char because int might match the return type of a gcc2
28436 builtin and then its argument prototype would still apply. */
28437 char SQLAllocEnv ();
28446 rm -f conftest.
$ac_objext conftest
$ac_exeext
28447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28448 (eval $ac_link) 2>conftest.er1
28450 grep -v '^ *+' conftest.er1
>conftest.err
28452 cat conftest.err
>&5
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); } &&
28455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28457 (eval $ac_try) 2>&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); }; } &&
28461 { ac_try
='test -s conftest$ac_exeext'
28462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28463 (eval $ac_try) 2>&5
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); }; }; then
28467 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.
$ac_ext >&5
28472 ac_cv_lib_unixodbc_SQLAllocEnv
=no
28474 rm -f conftest.err conftest.
$ac_objext \
28475 conftest
$ac_exeext conftest.
$ac_ext
28476 LIBS
=$ac_check_lib_save_LIBS
28478 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28479 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28480 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28481 ODBC_LINK
=" -lunixodbc"
28484 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28485 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28486 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28487 echo $ECHO_N "(cached) $ECHO_C" >&6
28489 ac_check_lib_save_LIBS
=$LIBS
28490 LIBS
="-lodbc $LIBS"
28491 cat >conftest.
$ac_ext <<_ACEOF
28494 cat confdefs.h
>>conftest.
$ac_ext
28495 cat >>conftest.
$ac_ext <<_ACEOF
28496 /* end confdefs.h. */
28498 /* Override any gcc2 internal prototype to avoid an error. */
28502 /* We use char because int might match the return type of a gcc2
28503 builtin and then its argument prototype would still apply. */
28504 char SQLAllocEnv ();
28513 rm -f conftest.
$ac_objext conftest
$ac_exeext
28514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28515 (eval $ac_link) 2>conftest.er1
28517 grep -v '^ *+' conftest.er1
>conftest.err
28519 cat conftest.err
>&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); } &&
28522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28524 (eval $ac_try) 2>&5
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); }; } &&
28528 { ac_try
='test -s conftest$ac_exeext'
28529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28530 (eval $ac_try) 2>&5
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); }; }; then
28534 ac_cv_lib_odbc_SQLAllocEnv
=yes
28536 echo "$as_me: failed program was:" >&5
28537 sed 's/^/| /' conftest.
$ac_ext >&5
28539 ac_cv_lib_odbc_SQLAllocEnv
=no
28541 rm -f conftest.err conftest.
$ac_objext \
28542 conftest
$ac_exeext conftest.
$ac_ext
28543 LIBS
=$ac_check_lib_save_LIBS
28545 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28546 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28547 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28548 ODBC_LINK
=" -lodbc"
28558 if test "x$ODBC_LINK" = "x" ; then
28559 if test "$wxUSE_ODBC" = "sys" ; then
28560 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28561 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28562 { (exit 1); exit 1; }; }
28564 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28565 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28573 if test "$wxUSE_ODBC" = "builtin" ; then
28574 cat >>confdefs.h
<<\_ACEOF
28575 #define wxUSE_BUILTIN_IODBC 1
28581 if test "$wxUSE_ODBC" != "no" ; then
28582 cat >>confdefs.h
<<\_ACEOF
28583 #define wxUSE_ODBC 1
28586 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28588 WXODBCFLAG
="-D_IODBC_"
28592 if test "$wxUSE_DISPLAY" = "yes"; then
28593 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28594 echo "$as_me:$LINENO: checking for Xinerama" >&5
28595 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28598 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28600 for ac_extension
in a so sl dylib
; do
28601 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28602 ac_find_libraries
=$ac_dir
28608 if test "$ac_find_libraries" != "" ; then
28610 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28612 if test $result = 0; then
28615 ac_path_to_link
=" -L$ac_find_libraries"
28618 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28619 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28621 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28622 echo "$as_me:$LINENO: result: yes" >&5
28623 echo "${ECHO_T}yes" >&6
28625 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28626 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28629 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28631 for ac_extension
in a so sl dylib
; do
28632 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28633 ac_find_libraries
=$ac_dir
28639 if test "$ac_find_libraries" != "" ; then
28640 echo "$as_me:$LINENO: result: yes" >&5
28641 echo "${ECHO_T}yes" >&6
28643 for ac_header
in X
11/extensions
/xf86vmode.h
28645 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28646 echo "$as_me:$LINENO: checking for $ac_header" >&5
28647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28649 echo $ECHO_N "(cached) $ECHO_C" >&6
28651 cat >conftest.
$ac_ext <<_ACEOF
28654 cat confdefs.h
>>conftest.
$ac_ext
28655 cat >>conftest.
$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28658 #if HAVE_X11_XLIB_H
28659 #include <X11/Xlib.h>
28663 #include <$ac_header>
28665 rm -f conftest.
$ac_objext
28666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28667 (eval $ac_compile) 2>conftest.er1
28669 grep -v '^ *+' conftest.er1
>conftest.err
28671 cat conftest.err
>&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); } &&
28674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28676 (eval $ac_try) 2>&5
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); }; } &&
28680 { ac_try
='test -s conftest.$ac_objext'
28681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28682 (eval $ac_try) 2>&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; }; then
28686 eval "$as_ac_Header=yes"
28688 echo "$as_me: failed program was:" >&5
28689 sed 's/^/| /' conftest.
$ac_ext >&5
28691 eval "$as_ac_Header=no"
28693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28698 cat >>confdefs.h
<<_ACEOF
28699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28702 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28709 echo "$as_me:$LINENO: result: no" >&5
28710 echo "${ECHO_T}no" >&6
28714 echo "$as_me:$LINENO: result: no" >&5
28715 echo "${ECHO_T}no" >&6
28716 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28717 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28720 elif test "$wxUSE_MSW" = 1; then
28723 for ac_header
in multimon.h ddraw.h
28725 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28726 echo "$as_me:$LINENO: checking for $ac_header" >&5
28727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28729 echo $ECHO_N "(cached) $ECHO_C" >&6
28731 cat >conftest.
$ac_ext <<_ACEOF
28734 cat confdefs.h
>>conftest.
$ac_ext
28735 cat >>conftest.
$ac_ext <<_ACEOF
28736 /* end confdefs.h. */
28737 #include <windows.h>
28739 #include <$ac_header>
28741 rm -f conftest.
$ac_objext
28742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28743 (eval $ac_compile) 2>conftest.er1
28745 grep -v '^ *+' conftest.er1
>conftest.err
28747 cat conftest.err
>&5
28748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28749 (exit $ac_status); } &&
28750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28752 (eval $ac_try) 2>&5
28754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28755 (exit $ac_status); }; } &&
28756 { ac_try
='test -s conftest.$ac_objext'
28757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28758 (eval $ac_try) 2>&5
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); }; }; then
28762 eval "$as_ac_Header=yes"
28764 echo "$as_me: failed program was:" >&5
28765 sed 's/^/| /' conftest.
$ac_ext >&5
28767 eval "$as_ac_Header=no"
28769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28774 cat >>confdefs.h
<<_ACEOF
28775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28781 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28782 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28793 if test "$wxUSE_OPENGL" = "yes"; then
28794 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28795 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28796 elif test "$wxUSE_MSW" = 1; then
28797 OPENGL_LIBS
="-lopengl32 -lglu32"
28802 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28804 if test -f "$ac_dir/GL/gl.h"; then
28805 ac_find_includes
=$ac_dir
28810 if test "$ac_find_includes" != "" ; then
28811 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28812 echo "${ECHO_T}found in $ac_find_includes" >&6
28814 if test "x$ac_find_includes" = "x/usr/include"; then
28815 ac_path_to_include
=""
28817 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28819 if test $result = 0; then
28820 ac_path_to_include
=""
28822 ac_path_to_include
=" -I$ac_find_includes"
28826 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
28829 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28830 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28831 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28832 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28833 echo $ECHO_N "(cached) $ECHO_C" >&6
28835 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28836 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28838 # Is the header compilable?
28839 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28840 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28841 cat >conftest.
$ac_ext <<_ACEOF
28844 cat confdefs.h
>>conftest.
$ac_ext
28845 cat >>conftest.
$ac_ext <<_ACEOF
28846 /* end confdefs.h. */
28847 $ac_includes_default
28850 rm -f conftest.
$ac_objext
28851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28852 (eval $ac_compile) 2>conftest.er1
28854 grep -v '^ *+' conftest.er1
>conftest.err
28856 cat conftest.err
>&5
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); } &&
28859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28861 (eval $ac_try) 2>&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); }; } &&
28865 { ac_try
='test -s conftest.$ac_objext'
28866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28867 (eval $ac_try) 2>&5
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); }; }; then
28871 ac_header_compiler
=yes
28873 echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.
$ac_ext >&5
28876 ac_header_compiler
=no
28878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28879 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28880 echo "${ECHO_T}$ac_header_compiler" >&6
28882 # Is the header present?
28883 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28884 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28885 cat >conftest.
$ac_ext <<_ACEOF
28888 cat confdefs.h
>>conftest.
$ac_ext
28889 cat >>conftest.
$ac_ext <<_ACEOF
28890 /* end confdefs.h. */
28893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28894 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28896 grep -v '^ *+' conftest.er1
>conftest.err
28898 cat conftest.err
>&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } >/dev
/null
; then
28901 if test -s conftest.err
; then
28902 ac_cpp_err
=$ac_c_preproc_warn_flag
28903 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28910 if test -z "$ac_cpp_err"; then
28911 ac_header_preproc
=yes
28913 echo "$as_me: failed program was:" >&5
28914 sed 's/^/| /' conftest.
$ac_ext >&5
28916 ac_header_preproc
=no
28918 rm -f conftest.err conftest.
$ac_ext
28919 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28920 echo "${ECHO_T}$ac_header_preproc" >&6
28922 # So? What about this header?
28923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28925 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28926 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28927 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28928 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28929 ac_header_preproc
=yes
28932 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28933 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28934 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28935 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28936 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28937 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28938 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28939 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28940 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28941 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28942 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28943 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28946 ## ----------------------------------------- ##
28947 ## Report this to wx-dev@lists.wxwidgets.org ##
28948 ## ----------------------------------------- ##
28951 sed "s/^/$as_me: WARNING: /" >&2
28954 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28955 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28956 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28957 echo $ECHO_N "(cached) $ECHO_C" >&6
28959 ac_cv_header_GL_gl_h
=$ac_header_preproc
28961 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28962 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28965 if test $ac_cv_header_GL_gl_h = yes; then
28969 echo "$as_me:$LINENO: checking for -lGL" >&5
28970 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28973 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28975 for ac_extension
in a so sl dylib
; do
28976 if test -f "$ac_dir/libGL.$ac_extension"; then
28977 ac_find_libraries
=$ac_dir
28983 if test "$ac_find_libraries" != "" ; then
28985 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28987 if test $result = 0; then
28990 ac_path_to_link
=" -L$ac_find_libraries"
28993 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28994 LDFLAGS_GL
="$ac_path_to_link"
28999 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29001 for ac_extension
in a so sl dylib
; do
29002 if test -f "$ac_dir/libGLU.$ac_extension"; then
29003 ac_find_libraries
=$ac_dir
29009 if test "$ac_find_libraries" != "" ; then
29011 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29013 if test $result = 0; then
29016 ac_path_to_link
=" -L$ac_find_libraries"
29019 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29020 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29021 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29025 OPENGL_LIBS
="-lGL -lGLU"
29026 echo "$as_me:$LINENO: result: yes" >&5
29027 echo "${ECHO_T}yes" >&6
29031 if test "$found_gl" != 1; then
29032 echo "$as_me:$LINENO: result: no" >&5
29033 echo "${ECHO_T}no" >&6
29034 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29035 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29038 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29040 for ac_extension
in a so sl dylib
; do
29041 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29042 ac_find_libraries
=$ac_dir
29048 if test "$ac_find_libraries" != "" ; then
29050 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29052 if test $result = 0; then
29055 ac_path_to_link
=" -L$ac_find_libraries"
29058 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29059 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29060 echo "$as_me:$LINENO: result: yes" >&5
29061 echo "${ECHO_T}yes" >&6
29063 echo "$as_me:$LINENO: result: no" >&5
29064 echo "${ECHO_T}no" >&6
29072 if test "x$OPENGL_LIBS" = "x"; then
29073 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29074 echo "$as_me: error: OpenGL libraries not available" >&2;}
29075 { (exit 1); exit 1; }; }
29079 if test "$wxUSE_OPENGL" = "yes"; then
29081 cat >>confdefs.h
<<\_ACEOF
29082 #define wxUSE_OPENGL 1
29085 cat >>confdefs.h
<<\_ACEOF
29086 #define wxUSE_GLCANVAS 1
29089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29094 if test -n "$TOOLKIT" ; then
29095 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29100 if test "$wxUSE_SHARED" = "yes"; then
29104 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29105 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29110 if test "$wxUSE_SHARED" = "yes"; then
29113 found_versioning
=no
29116 if test $found_versioning = no
; then
29117 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29118 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29119 if test "${wx_cv_version_script+set}" = set; then
29120 echo $ECHO_N "(cached) $ECHO_C" >&6
29123 echo "VER_1 { *; };" >conftest.sym
29124 echo "int main() { return 0; }" >conftest.cpp
29127 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29128 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29130 (eval $ac_try) 2>&5
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); }; } ; then
29134 if test -s conftest.stderr
; then
29135 wx_cv_version_script
=no
29137 wx_cv_version_script
=yes
29140 wx_cv_version_script
=no
29142 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29145 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29146 echo "${ECHO_T}$wx_cv_version_script" >&6
29147 if test $wx_cv_version_script = yes ; then
29148 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29154 *-*-linux* | *-*-gnu* )
29155 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29156 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29160 if test "$GCC" = yes ; then
29161 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29163 saveLdflags
="$LDFLAGS"
29164 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29165 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29166 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29167 cat >conftest.
$ac_ext <<_ACEOF
29170 cat confdefs.h
>>conftest.
$ac_ext
29171 cat >>conftest.
$ac_ext <<_ACEOF
29172 /* end confdefs.h. */
29182 rm -f conftest.
$ac_objext conftest
$ac_exeext
29183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29184 (eval $ac_link) 2>conftest.er1
29186 grep -v '^ *+' conftest.er1
>conftest.err
29188 cat conftest.err
>&5
29189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 (exit $ac_status); } &&
29191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29193 (eval $ac_try) 2>&5
29195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29196 (exit $ac_status); }; } &&
29197 { ac_try
='test -s conftest$ac_exeext'
29198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29199 (eval $ac_try) 2>&5
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); }; }; then
29204 echo "$as_me:$LINENO: result: yes" >&5
29205 echo "${ECHO_T}yes" >&6
29206 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29207 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29210 echo "$as_me: failed program was:" >&5
29211 sed 's/^/| /' conftest.
$ac_ext >&5
29214 echo "$as_me:$LINENO: result: no" >&5
29215 echo "${ECHO_T}no" >&6
29216 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29217 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29218 LDFLAGS
="$saveLdflags -Wl,-R,/"
29219 cat >conftest.
$ac_ext <<_ACEOF
29222 cat confdefs.h
>>conftest.
$ac_ext
29223 cat >>conftest.
$ac_ext <<_ACEOF
29224 /* end confdefs.h. */
29234 rm -f conftest.
$ac_objext conftest
$ac_exeext
29235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29236 (eval $ac_link) 2>conftest.er1
29238 grep -v '^ *+' conftest.er1
>conftest.err
29240 cat conftest.err
>&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } &&
29243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; } &&
29249 { ac_try
='test -s conftest$ac_exeext'
29250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251 (eval $ac_try) 2>&5
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); }; }; then
29256 echo "$as_me:$LINENO: result: yes" >&5
29257 echo "${ECHO_T}yes" >&6
29258 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29259 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29262 echo "$as_me: failed program was:" >&5
29263 sed 's/^/| /' conftest.
$ac_ext >&5
29266 echo "$as_me:$LINENO: result: no" >&5
29267 echo "${ECHO_T}no" >&6
29270 rm -f conftest.err conftest.
$ac_objext \
29271 conftest
$ac_exeext conftest.
$ac_ext
29274 rm -f conftest.err conftest.
$ac_objext \
29275 conftest
$ac_exeext conftest.
$ac_ext
29276 LDFLAGS
="$saveLdflags"
29278 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29279 WXCONFIG_RPATH
="-R\$libdir"
29283 powerpc
-*-darwin* )
29284 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29285 cat <<EOF >change-install-names
29287 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29288 inst_cmd="install_name_tool "
29289 for i in \${libnames} ; do
29290 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29294 chmod +x change
-install-names
29297 *-*-cygwin* | *-*-mingw32* )
29298 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29302 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29303 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29308 if test $wxUSE_RPATH = "no"; then
29309 SAMPLES_RPATH_FLAG
=''
29310 SAMPLES_RPATH_POSTLINK
=''
29318 config_linkage_component
="-static"
29325 lib_unicode_suffix
=
29327 if test "$wxUSE_UNICODE" = "yes"; then
29328 lib_unicode_suffix
=u
29329 WX_CHARTYPE
="unicode"
29334 WX_DEBUGTYPE
="release"
29336 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29338 WX_DEBUGTYPE
="debug"
29342 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29343 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29346 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29350 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29352 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29354 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29356 if test "$cross_compiling" = "yes"; then
29357 HOST_SUFFIX
="-$host_alias"
29358 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29359 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29362 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29363 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29367 if test "$wxUSE_COCOA" = 1; then
29371 ac_cpp
='$CPP $CPPFLAGS'
29372 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29373 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29374 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29378 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29379 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29380 cat >conftest.
$ac_ext <<_ACEOF
29383 cat confdefs.h
>>conftest.
$ac_ext
29384 cat >>conftest.
$ac_ext <<_ACEOF
29385 /* end confdefs.h. */
29386 #include <AppKit/NSEvent.h>
29387 #include <CoreFoundation/CoreFoundation.h>
29397 rm -f conftest.
$ac_objext
29398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29399 (eval $ac_compile) 2>conftest.er1
29401 grep -v '^ *+' conftest.er1
>conftest.err
29403 cat conftest.err
>&5
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); } &&
29406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29408 (eval $ac_try) 2>&5
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); }; } &&
29412 { ac_try
='test -s conftest.$ac_objext'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; }; then
29418 echo "$as_me:$LINENO: result: no" >&5
29419 echo "${ECHO_T}no" >&6
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.
$ac_ext >&5
29424 echo "$as_me:$LINENO: result: yes" >&5
29425 echo "${ECHO_T}yes" >&6
29426 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29427 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29428 cat >conftest.
$ac_ext <<_ACEOF
29431 cat confdefs.h
>>conftest.
$ac_ext
29432 cat >>conftest.
$ac_ext <<_ACEOF
29433 /* end confdefs.h. */
29434 #define __Point__ 1
29435 #include <AppKit/NSEvent.h>
29436 #include <CoreFoundation/CoreFoundation.h>
29446 rm -f conftest.
$ac_objext
29447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29448 (eval $ac_compile) 2>conftest.er1
29450 grep -v '^ *+' conftest.er1
>conftest.err
29452 cat conftest.err
>&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); } &&
29455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29457 (eval $ac_try) 2>&5
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); }; } &&
29461 { ac_try
='test -s conftest.$ac_objext'
29462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29463 (eval $ac_try) 2>&5
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); }; }; then
29467 echo "$as_me:$LINENO: result: yes" >&5
29468 echo "${ECHO_T}yes" >&6
29469 cat >>confdefs.h
<<\_ACEOF
29470 #define __Point__ 1
29475 echo "$as_me: failed program was:" >&5
29476 sed 's/^/| /' conftest.
$ac_ext >&5
29478 { { echo "$as_me:$LINENO: error: no
29479 See \`config.log' for more details." >&5
29480 echo "$as_me: error: no
29481 See \`config.log' for more details." >&2;}
29482 { (exit 1); exit 1; }; }
29485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29490 ac_cpp
='$CPP $CPPFLAGS'
29491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29497 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29498 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29499 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29501 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29503 # Extract the first word of "Rez", so it can be a program name with args.
29504 set dummy Rez
; ac_word
=$2
29505 echo "$as_me:$LINENO: checking for $ac_word" >&5
29506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29507 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29508 echo $ECHO_N "(cached) $ECHO_C" >&6
29510 if test -n "$RESCOMP"; then
29511 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
29513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29514 for as_dir
in $PATH
29517 test -z "$as_dir" && as_dir
=.
29518 for ac_exec_ext
in '' $ac_executable_extensions; do
29519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29520 ac_cv_prog_RESCOMP
="Rez"
29521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29527 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29530 RESCOMP
=$ac_cv_prog_RESCOMP
29531 if test -n "$RESCOMP"; then
29532 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29533 echo "${ECHO_T}$RESCOMP" >&6
29535 echo "$as_me:$LINENO: result: no" >&5
29536 echo "${ECHO_T}no" >&6
29539 # Extract the first word of "DeRez", so it can be a program name with args.
29540 set dummy DeRez
; ac_word
=$2
29541 echo "$as_me:$LINENO: checking for $ac_word" >&5
29542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29543 if test "${ac_cv_prog_DEREZ+set}" = set; then
29544 echo $ECHO_N "(cached) $ECHO_C" >&6
29546 if test -n "$DEREZ"; then
29547 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29550 for as_dir
in $PATH
29553 test -z "$as_dir" && as_dir
=.
29554 for ac_exec_ext
in '' $ac_executable_extensions; do
29555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29556 ac_cv_prog_DEREZ
="DeRez"
29557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29563 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29566 DEREZ
=$ac_cv_prog_DEREZ
29567 if test -n "$DEREZ"; then
29568 echo "$as_me:$LINENO: result: $DEREZ" >&5
29569 echo "${ECHO_T}$DEREZ" >&6
29571 echo "$as_me:$LINENO: result: no" >&5
29572 echo "${ECHO_T}no" >&6
29575 # Extract the first word of "SetFile", so it can be a program name with args.
29576 set dummy SetFile
; ac_word
=$2
29577 echo "$as_me:$LINENO: checking for $ac_word" >&5
29578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29579 if test "${ac_cv_prog_SETFILE+set}" = set; then
29580 echo $ECHO_N "(cached) $ECHO_C" >&6
29582 if test -n "$SETFILE"; then
29583 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29586 for as_dir
in $PATH
29589 test -z "$as_dir" && as_dir
=.
29590 for ac_exec_ext
in '' $ac_executable_extensions; do
29591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29592 ac_cv_prog_SETFILE
="SetFile"
29593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29599 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29602 SETFILE
=$ac_cv_prog_SETFILE
29603 if test -n "$SETFILE"; then
29604 echo "$as_me:$LINENO: result: $SETFILE" >&5
29605 echo "${ECHO_T}$SETFILE" >&6
29607 echo "$as_me:$LINENO: result: no" >&5
29608 echo "${ECHO_T}no" >&6
29612 MACSETFILE
="\$(SETFILE)"
29614 if test "$wxUSE_MAC" = 1; then
29615 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29617 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29619 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29620 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29624 MACRESWXCONFIG
="@true"
29626 if test "$wxUSE_PM" = 1; then
29627 MACRESCOMP
="emxbind -ep"
29635 echo "$as_me:$LINENO: checking for mode_t" >&5
29636 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29637 if test "${ac_cv_type_mode_t+set}" = set; then
29638 echo $ECHO_N "(cached) $ECHO_C" >&6
29640 cat >conftest.
$ac_ext <<_ACEOF
29643 cat confdefs.h
>>conftest.
$ac_ext
29644 cat >>conftest.
$ac_ext <<_ACEOF
29645 /* end confdefs.h. */
29646 $ac_includes_default
29652 if (sizeof (mode_t))
29658 rm -f conftest.
$ac_objext
29659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29660 (eval $ac_compile) 2>conftest.er1
29662 grep -v '^ *+' conftest.er1
>conftest.err
29664 cat conftest.err
>&5
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); } &&
29667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29669 (eval $ac_try) 2>&5
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); }; } &&
29673 { ac_try
='test -s conftest.$ac_objext'
29674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29675 (eval $ac_try) 2>&5
29677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29678 (exit $ac_status); }; }; then
29679 ac_cv_type_mode_t
=yes
29681 echo "$as_me: failed program was:" >&5
29682 sed 's/^/| /' conftest.
$ac_ext >&5
29684 ac_cv_type_mode_t
=no
29686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29688 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29689 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29690 if test $ac_cv_type_mode_t = yes; then
29694 cat >>confdefs.h
<<_ACEOF
29700 echo "$as_me:$LINENO: checking for off_t" >&5
29701 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29702 if test "${ac_cv_type_off_t+set}" = set; then
29703 echo $ECHO_N "(cached) $ECHO_C" >&6
29705 cat >conftest.
$ac_ext <<_ACEOF
29708 cat confdefs.h
>>conftest.
$ac_ext
29709 cat >>conftest.
$ac_ext <<_ACEOF
29710 /* end confdefs.h. */
29711 $ac_includes_default
29717 if (sizeof (off_t))
29723 rm -f conftest.
$ac_objext
29724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29725 (eval $ac_compile) 2>conftest.er1
29727 grep -v '^ *+' conftest.er1
>conftest.err
29729 cat conftest.err
>&5
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); } &&
29732 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29734 (eval $ac_try) 2>&5
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); }; } &&
29738 { ac_try
='test -s conftest.$ac_objext'
29739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740 (eval $ac_try) 2>&5
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); }; }; then
29744 ac_cv_type_off_t
=yes
29746 echo "$as_me: failed program was:" >&5
29747 sed 's/^/| /' conftest.
$ac_ext >&5
29749 ac_cv_type_off_t
=no
29751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29753 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29754 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29755 if test $ac_cv_type_off_t = yes; then
29759 cat >>confdefs.h
<<_ACEOF
29765 echo "$as_me:$LINENO: checking for pid_t" >&5
29766 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29767 if test "${ac_cv_type_pid_t+set}" = set; then
29768 echo $ECHO_N "(cached) $ECHO_C" >&6
29770 cat >conftest.
$ac_ext <<_ACEOF
29773 cat confdefs.h
>>conftest.
$ac_ext
29774 cat >>conftest.
$ac_ext <<_ACEOF
29775 /* end confdefs.h. */
29776 $ac_includes_default
29782 if (sizeof (pid_t))
29788 rm -f conftest.
$ac_objext
29789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29790 (eval $ac_compile) 2>conftest.er1
29792 grep -v '^ *+' conftest.er1
>conftest.err
29794 cat conftest.err
>&5
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); } &&
29797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29799 (eval $ac_try) 2>&5
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); }; } &&
29803 { ac_try
='test -s conftest.$ac_objext'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; }; then
29809 ac_cv_type_pid_t
=yes
29811 echo "$as_me: failed program was:" >&5
29812 sed 's/^/| /' conftest.
$ac_ext >&5
29814 ac_cv_type_pid_t
=no
29816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29818 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29819 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29820 if test $ac_cv_type_pid_t = yes; then
29824 cat >>confdefs.h
<<_ACEOF
29830 echo "$as_me:$LINENO: checking for size_t" >&5
29831 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29832 if test "${ac_cv_type_size_t+set}" = set; then
29833 echo $ECHO_N "(cached) $ECHO_C" >&6
29835 cat >conftest.
$ac_ext <<_ACEOF
29838 cat confdefs.h
>>conftest.
$ac_ext
29839 cat >>conftest.
$ac_ext <<_ACEOF
29840 /* end confdefs.h. */
29841 $ac_includes_default
29847 if (sizeof (size_t))
29853 rm -f conftest.
$ac_objext
29854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29855 (eval $ac_compile) 2>conftest.er1
29857 grep -v '^ *+' conftest.er1
>conftest.err
29859 cat conftest.err
>&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); } &&
29862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29864 (eval $ac_try) 2>&5
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); }; } &&
29868 { ac_try
='test -s conftest.$ac_objext'
29869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29870 (eval $ac_try) 2>&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); }; }; then
29874 ac_cv_type_size_t
=yes
29876 echo "$as_me: failed program was:" >&5
29877 sed 's/^/| /' conftest.
$ac_ext >&5
29879 ac_cv_type_size_t
=no
29881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29883 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29884 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29885 if test $ac_cv_type_size_t = yes; then
29889 cat >>confdefs.h
<<_ACEOF
29890 #define size_t unsigned
29895 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29896 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29897 if test "${ac_cv_type_uid_t+set}" = set; then
29898 echo $ECHO_N "(cached) $ECHO_C" >&6
29900 cat >conftest.
$ac_ext <<_ACEOF
29903 cat confdefs.h
>>conftest.
$ac_ext
29904 cat >>conftest.
$ac_ext <<_ACEOF
29905 /* end confdefs.h. */
29906 #include <sys/types.h>
29909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29910 $EGREP "uid_t" >/dev
/null
2>&1; then
29911 ac_cv_type_uid_t
=yes
29913 ac_cv_type_uid_t
=no
29918 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29919 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29920 if test $ac_cv_type_uid_t = no
; then
29922 cat >>confdefs.h
<<\_ACEOF
29927 cat >>confdefs.h
<<\_ACEOF
29934 echo "$as_me:$LINENO: checking for ssize_t" >&5
29935 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29936 if test "${ac_cv_type_ssize_t+set}" = set; then
29937 echo $ECHO_N "(cached) $ECHO_C" >&6
29939 cat >conftest.
$ac_ext <<_ACEOF
29942 cat confdefs.h
>>conftest.
$ac_ext
29943 cat >>conftest.
$ac_ext <<_ACEOF
29944 /* end confdefs.h. */
29945 $ac_includes_default
29951 if (sizeof (ssize_t))
29957 rm -f conftest.
$ac_objext
29958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29959 (eval $ac_compile) 2>conftest.er1
29961 grep -v '^ *+' conftest.er1
>conftest.err
29963 cat conftest.err
>&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); } &&
29966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29968 (eval $ac_try) 2>&5
29970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971 (exit $ac_status); }; } &&
29972 { ac_try
='test -s conftest.$ac_objext'
29973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29974 (eval $ac_try) 2>&5
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); }; }; then
29978 ac_cv_type_ssize_t
=yes
29980 echo "$as_me: failed program was:" >&5
29981 sed 's/^/| /' conftest.
$ac_ext >&5
29983 ac_cv_type_ssize_t
=no
29985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29987 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29988 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29989 if test $ac_cv_type_ssize_t = yes; then
29991 cat >>confdefs.h
<<_ACEOF
29992 #define HAVE_SSIZE_T 1
30002 ac_cpp
='$CXXCPP $CPPFLAGS'
30003 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30007 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30008 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30009 if test "${wx_cv_size_t_is_uint+set}" = set; then
30010 echo $ECHO_N "(cached) $ECHO_C" >&6
30013 cat >conftest.
$ac_ext <<_ACEOF
30016 cat confdefs.h
>>conftest.
$ac_ext
30017 cat >>conftest.
$ac_ext <<_ACEOF
30018 /* end confdefs.h. */
30019 #include <stddef.h>
30026 struct Foo { void foo(size_t); void foo(unsigned int); };
30034 rm -f conftest.
$ac_objext
30035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30036 (eval $ac_compile) 2>conftest.er1
30038 grep -v '^ *+' conftest.er1
>conftest.err
30040 cat conftest.err
>&5
30041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30042 (exit $ac_status); } &&
30043 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30045 (eval $ac_try) 2>&5
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); }; } &&
30049 { ac_try
='test -s conftest.$ac_objext'
30050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30051 (eval $ac_try) 2>&5
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); }; }; then
30055 wx_cv_size_t_is_uint
=no
30057 echo "$as_me: failed program was:" >&5
30058 sed 's/^/| /' conftest.
$ac_ext >&5
30060 wx_cv_size_t_is_uint
=yes
30063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30067 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30068 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30070 if test "$wx_cv_size_t_is_uint" = "yes"; then
30071 cat >>confdefs.h
<<\_ACEOF
30072 #define wxSIZE_T_IS_UINT 1
30076 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30077 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30078 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30079 echo $ECHO_N "(cached) $ECHO_C" >&6
30081 cat >conftest.
$ac_ext <<_ACEOF
30084 cat confdefs.h
>>conftest.
$ac_ext
30085 cat >>conftest.
$ac_ext <<_ACEOF
30086 /* end confdefs.h. */
30087 #include <stddef.h>
30094 struct Foo { void foo(size_t); void foo(unsigned long); };
30102 rm -f conftest.
$ac_objext
30103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30104 (eval $ac_compile) 2>conftest.er1
30106 grep -v '^ *+' conftest.er1
>conftest.err
30108 cat conftest.err
>&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); } &&
30111 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30113 (eval $ac_try) 2>&5
30115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30116 (exit $ac_status); }; } &&
30117 { ac_try
='test -s conftest.$ac_objext'
30118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30119 (eval $ac_try) 2>&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); }; }; then
30123 wx_cv_size_t_is_ulong
=no
30125 echo "$as_me: failed program was:" >&5
30126 sed 's/^/| /' conftest.
$ac_ext >&5
30128 wx_cv_size_t_is_ulong
=yes
30131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30134 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30135 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30137 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30138 cat >>confdefs.h
<<\_ACEOF
30139 #define wxSIZE_T_IS_ULONG 1
30146 ac_cpp
='$CPP $CPPFLAGS'
30147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30153 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30154 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30155 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30156 echo $ECHO_N "(cached) $ECHO_C" >&6
30159 cat >conftest.
$ac_ext <<_ACEOF
30162 cat confdefs.h
>>conftest.
$ac_ext
30163 cat >>conftest.
$ac_ext <<_ACEOF
30164 /* end confdefs.h. */
30178 rm -f conftest.
$ac_objext
30179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30180 (eval $ac_compile) 2>conftest.er1
30182 grep -v '^ *+' conftest.er1
>conftest.err
30184 cat conftest.err
>&5
30185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30186 (exit $ac_status); } &&
30187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30189 (eval $ac_try) 2>&5
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); }; } &&
30193 { ac_try
='test -s conftest.$ac_objext'
30194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195 (eval $ac_try) 2>&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); }; }; then
30200 wx_cv_struct_pw_gecos
=yes
30203 echo "$as_me: failed program was:" >&5
30204 sed 's/^/| /' conftest.
$ac_ext >&5
30207 wx_cv_struct_pw_gecos
=no
30211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30215 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30216 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30218 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30219 cat >>confdefs.h
<<\_ACEOF
30220 #define HAVE_PW_GECOS 1
30226 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30227 cat >>confdefs.h
<<\_ACEOF
30228 #define wxUSE_WCHAR_T 1
30235 for ac_func
in wcslen
30237 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30238 echo "$as_me:$LINENO: checking for $ac_func" >&5
30239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30240 if eval "test \"\${$as_ac_var+set}\" = set"; then
30241 echo $ECHO_N "(cached) $ECHO_C" >&6
30243 cat >conftest.
$ac_ext <<_ACEOF
30246 cat confdefs.h
>>conftest.
$ac_ext
30247 cat >>conftest.
$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30251 #define $ac_func innocuous_$ac_func
30253 /* System header to define __stub macros and hopefully few prototypes,
30254 which can conflict with char $ac_func (); below.
30255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30256 <limits.h> exists even on freestanding compilers. */
30259 # include <limits.h>
30261 # include <assert.h>
30266 /* Override any gcc2 internal prototype to avoid an error. */
30271 /* We use char because int might match the return type of a gcc2
30272 builtin and then its argument prototype would still apply. */
30274 /* The GNU C library defines this for functions which it implements
30275 to always fail with ENOSYS. Some functions are actually named
30276 something starting with __ and the normal name is an alias. */
30277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30280 char (*f) () = $ac_func;
30289 return f != $ac_func;
30294 rm -f conftest.
$ac_objext conftest
$ac_exeext
30295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30296 (eval $ac_link) 2>conftest.er1
30298 grep -v '^ *+' conftest.er1
>conftest.err
30300 cat conftest.err
>&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); } &&
30303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30305 (eval $ac_try) 2>&5
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); }; } &&
30309 { ac_try
='test -s conftest$ac_exeext'
30310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311 (eval $ac_try) 2>&5
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; }; then
30315 eval "$as_ac_var=yes"
30317 echo "$as_me: failed program was:" >&5
30318 sed 's/^/| /' conftest.
$ac_ext >&5
30320 eval "$as_ac_var=no"
30322 rm -f conftest.err conftest.
$ac_objext \
30323 conftest
$ac_exeext conftest.
$ac_ext
30325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30327 if test `eval echo '${'$as_ac_var'}'` = yes; then
30328 cat >>confdefs.h
<<_ACEOF
30329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30336 if test "$WCSLEN_FOUND" = 0; then
30337 if test "$TOOLKIT" = "MSW"; then
30338 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30339 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30340 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30341 echo $ECHO_N "(cached) $ECHO_C" >&6
30343 ac_check_lib_save_LIBS
=$LIBS
30344 LIBS
="-lmsvcrt $LIBS"
30345 cat >conftest.
$ac_ext <<_ACEOF
30348 cat confdefs.h
>>conftest.
$ac_ext
30349 cat >>conftest.
$ac_ext <<_ACEOF
30350 /* end confdefs.h. */
30352 /* Override any gcc2 internal prototype to avoid an error. */
30356 /* We use char because int might match the return type of a gcc2
30357 builtin and then its argument prototype would still apply. */
30367 rm -f conftest.
$ac_objext conftest
$ac_exeext
30368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30369 (eval $ac_link) 2>conftest.er1
30371 grep -v '^ *+' conftest.er1
>conftest.err
30373 cat conftest.err
>&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); } &&
30376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30378 (eval $ac_try) 2>&5
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); }; } &&
30382 { ac_try
='test -s conftest$ac_exeext'
30383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30384 (eval $ac_try) 2>&5
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); }; }; then
30388 ac_cv_lib_msvcrt_wcslen
=yes
30390 echo "$as_me: failed program was:" >&5
30391 sed 's/^/| /' conftest.
$ac_ext >&5
30393 ac_cv_lib_msvcrt_wcslen
=no
30395 rm -f conftest.err conftest.
$ac_objext \
30396 conftest
$ac_exeext conftest.
$ac_ext
30397 LIBS
=$ac_check_lib_save_LIBS
30399 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30400 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30401 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30406 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30407 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30408 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30409 echo $ECHO_N "(cached) $ECHO_C" >&6
30411 ac_check_lib_save_LIBS
=$LIBS
30413 cat >conftest.
$ac_ext <<_ACEOF
30416 cat confdefs.h
>>conftest.
$ac_ext
30417 cat >>conftest.
$ac_ext <<_ACEOF
30418 /* end confdefs.h. */
30420 /* Override any gcc2 internal prototype to avoid an error. */
30424 /* We use char because int might match the return type of a gcc2
30425 builtin and then its argument prototype would still apply. */
30435 rm -f conftest.
$ac_objext conftest
$ac_exeext
30436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30437 (eval $ac_link) 2>conftest.er1
30439 grep -v '^ *+' conftest.er1
>conftest.err
30441 cat conftest.err
>&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); } &&
30444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30446 (eval $ac_try) 2>&5
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); }; } &&
30450 { ac_try
='test -s conftest$ac_exeext'
30451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30452 (eval $ac_try) 2>&5
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); }; }; then
30456 ac_cv_lib_w_wcslen
=yes
30458 echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.
$ac_ext >&5
30461 ac_cv_lib_w_wcslen
=no
30463 rm -f conftest.err conftest.
$ac_objext \
30464 conftest
$ac_exeext conftest.
$ac_ext
30465 LIBS
=$ac_check_lib_save_LIBS
30467 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30468 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30469 if test $ac_cv_lib_w_wcslen = yes; then
30479 if test "$WCSLEN_FOUND" = 1; then
30480 cat >>confdefs.h
<<\_ACEOF
30481 #define HAVE_WCSLEN 1
30486 if test "$USE_HPUX" = 1; then
30487 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30491 for ac_func
in wcsrtombs
30493 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30494 echo "$as_me:$LINENO: checking for $ac_func" >&5
30495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30496 if eval "test \"\${$as_ac_var+set}\" = set"; then
30497 echo $ECHO_N "(cached) $ECHO_C" >&6
30499 cat >conftest.
$ac_ext <<_ACEOF
30502 cat confdefs.h
>>conftest.
$ac_ext
30503 cat >>conftest.
$ac_ext <<_ACEOF
30504 /* end confdefs.h. */
30505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30507 #define $ac_func innocuous_$ac_func
30509 /* System header to define __stub macros and hopefully few prototypes,
30510 which can conflict with char $ac_func (); below.
30511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30512 <limits.h> exists even on freestanding compilers. */
30515 # include <limits.h>
30517 # include <assert.h>
30522 /* Override any gcc2 internal prototype to avoid an error. */
30527 /* We use char because int might match the return type of a gcc2
30528 builtin and then its argument prototype would still apply. */
30530 /* The GNU C library defines this for functions which it implements
30531 to always fail with ENOSYS. Some functions are actually named
30532 something starting with __ and the normal name is an alias. */
30533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30536 char (*f) () = $ac_func;
30545 return f != $ac_func;
30550 rm -f conftest.
$ac_objext conftest
$ac_exeext
30551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30552 (eval $ac_link) 2>conftest.er1
30554 grep -v '^ *+' conftest.er1
>conftest.err
30556 cat conftest.err
>&5
30557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30558 (exit $ac_status); } &&
30559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30561 (eval $ac_try) 2>&5
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); }; } &&
30565 { ac_try
='test -s conftest$ac_exeext'
30566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567 (eval $ac_try) 2>&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; }; then
30571 eval "$as_ac_var=yes"
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.
$ac_ext >&5
30576 eval "$as_ac_var=no"
30578 rm -f conftest.err conftest.
$ac_objext \
30579 conftest
$ac_exeext conftest.
$ac_ext
30581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30583 if test `eval echo '${'$as_ac_var'}'` = yes; then
30584 cat >>confdefs.h
<<_ACEOF
30585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30592 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30593 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30599 ac_cpp
='$CXXCPP $CPPFLAGS'
30600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30606 for ac_func
in vsnprintf
30608 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30609 echo "$as_me:$LINENO: checking for $ac_func" >&5
30610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30611 if eval "test \"\${$as_ac_var+set}\" = set"; then
30612 echo $ECHO_N "(cached) $ECHO_C" >&6
30614 cat >conftest.
$ac_ext <<_ACEOF
30617 cat confdefs.h
>>conftest.
$ac_ext
30618 cat >>conftest.
$ac_ext <<_ACEOF
30619 /* end confdefs.h. */
30620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30622 #define $ac_func innocuous_$ac_func
30624 /* System header to define __stub macros and hopefully few prototypes,
30625 which can conflict with char $ac_func (); below.
30626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30627 <limits.h> exists even on freestanding compilers. */
30630 # include <limits.h>
30632 # include <assert.h>
30637 /* Override any gcc2 internal prototype to avoid an error. */
30642 /* We use char because int might match the return type of a gcc2
30643 builtin and then its argument prototype would still apply. */
30645 /* The GNU C library defines this for functions which it implements
30646 to always fail with ENOSYS. Some functions are actually named
30647 something starting with __ and the normal name is an alias. */
30648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30651 char (*f) () = $ac_func;
30660 return f != $ac_func;
30665 rm -f conftest.
$ac_objext conftest
$ac_exeext
30666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30667 (eval $ac_link) 2>conftest.er1
30669 grep -v '^ *+' conftest.er1
>conftest.err
30671 cat conftest.err
>&5
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); } &&
30674 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30676 (eval $ac_try) 2>&5
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); }; } &&
30680 { ac_try
='test -s conftest$ac_exeext'
30681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30682 (eval $ac_try) 2>&5
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); }; }; then
30686 eval "$as_ac_var=yes"
30688 echo "$as_me: failed program was:" >&5
30689 sed 's/^/| /' conftest.
$ac_ext >&5
30691 eval "$as_ac_var=no"
30693 rm -f conftest.err conftest.
$ac_objext \
30694 conftest
$ac_exeext conftest.
$ac_ext
30696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30698 if test `eval echo '${'$as_ac_var'}'` = yes; then
30699 cat >>confdefs.h
<<_ACEOF
30700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30707 if test "$ac_cv_func_vsnprintf" = "yes"; then
30708 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30709 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30710 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30711 echo $ECHO_N "(cached) $ECHO_C" >&6
30714 cat >conftest.
$ac_ext <<_ACEOF
30717 cat confdefs.h
>>conftest.
$ac_ext
30718 cat >>conftest.
$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30722 #include <stdarg.h>
30730 vsnprintf(buf, 10u, "%s", ap);
30736 rm -f conftest.
$ac_objext
30737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30738 (eval $ac_compile) 2>conftest.er1
30740 grep -v '^ *+' conftest.er1
>conftest.err
30742 cat conftest.err
>&5
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); } &&
30745 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30747 (eval $ac_try) 2>&5
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); }; } &&
30751 { ac_try
='test -s conftest.$ac_objext'
30752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30753 (eval $ac_try) 2>&5
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); }; }; then
30757 wx_cv_func_vsnprintf_decl
=yes
30759 echo "$as_me: failed program was:" >&5
30760 sed 's/^/| /' conftest.
$ac_ext >&5
30763 cat >conftest.
$ac_ext <<_ACEOF
30766 cat confdefs.h
>>conftest.
$ac_ext
30767 cat >>conftest.
$ac_ext <<_ACEOF
30768 /* end confdefs.h. */
30771 #include <stdarg.h>
30772 using namespace std;
30780 vsnprintf(buf, 10u, "%s", ap);
30786 rm -f conftest.
$ac_objext
30787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30788 (eval $ac_compile) 2>conftest.er1
30790 grep -v '^ *+' conftest.er1
>conftest.err
30792 cat conftest.err
>&5
30793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794 (exit $ac_status); } &&
30795 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30797 (eval $ac_try) 2>&5
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); }; } &&
30801 { ac_try
='test -s conftest.$ac_objext'
30802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30803 (eval $ac_try) 2>&5
30805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30806 (exit $ac_status); }; }; then
30807 wx_cv_func_vsnprintf_decl
=yes
30809 echo "$as_me: failed program was:" >&5
30810 sed 's/^/| /' conftest.
$ac_ext >&5
30812 wx_cv_func_vsnprintf_decl
=no
30815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30823 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30824 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30826 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30827 cat >>confdefs.h
<<\_ACEOF
30828 #define HAVE_VSNPRINTF_DECL 1
30834 if test "$wxUSE_UNICODE" = yes; then
30841 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
30843 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30844 echo "$as_me:$LINENO: checking for $ac_func" >&5
30845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30846 if eval "test \"\${$as_ac_var+set}\" = set"; then
30847 echo $ECHO_N "(cached) $ECHO_C" >&6
30849 cat >conftest.
$ac_ext <<_ACEOF
30852 cat confdefs.h
>>conftest.
$ac_ext
30853 cat >>conftest.
$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30857 #define $ac_func innocuous_$ac_func
30859 /* System header to define __stub macros and hopefully few prototypes,
30860 which can conflict with char $ac_func (); below.
30861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30862 <limits.h> exists even on freestanding compilers. */
30865 # include <limits.h>
30867 # include <assert.h>
30872 /* Override any gcc2 internal prototype to avoid an error. */
30877 /* We use char because int might match the return type of a gcc2
30878 builtin and then its argument prototype would still apply. */
30880 /* The GNU C library defines this for functions which it implements
30881 to always fail with ENOSYS. Some functions are actually named
30882 something starting with __ and the normal name is an alias. */
30883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30886 char (*f) () = $ac_func;
30895 return f != $ac_func;
30900 rm -f conftest.
$ac_objext conftest
$ac_exeext
30901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30902 (eval $ac_link) 2>conftest.er1
30904 grep -v '^ *+' conftest.er1
>conftest.err
30906 cat conftest.err
>&5
30907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30908 (exit $ac_status); } &&
30909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30911 (eval $ac_try) 2>&5
30913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30914 (exit $ac_status); }; } &&
30915 { ac_try
='test -s conftest$ac_exeext'
30916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30917 (eval $ac_try) 2>&5
30919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30920 (exit $ac_status); }; }; then
30921 eval "$as_ac_var=yes"
30923 echo "$as_me: failed program was:" >&5
30924 sed 's/^/| /' conftest.
$ac_ext >&5
30926 eval "$as_ac_var=no"
30928 rm -f conftest.err conftest.
$ac_objext \
30929 conftest
$ac_exeext conftest.
$ac_ext
30931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30933 if test `eval echo '${'$as_ac_var'}'` = yes; then
30934 cat >>confdefs.h
<<_ACEOF
30935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30942 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30943 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30944 cat >conftest.
$ac_ext <<_ACEOF
30947 cat confdefs.h
>>conftest.
$ac_ext
30948 cat >>conftest.
$ac_ext <<_ACEOF
30949 /* end confdefs.h. */
30959 rm -f conftest.
$ac_objext
30960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30961 (eval $ac_compile) 2>conftest.er1
30963 grep -v '^ *+' conftest.er1
>conftest.err
30965 cat conftest.err
>&5
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); } &&
30968 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30970 (eval $ac_try) 2>&5
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); }; } &&
30974 { ac_try
='test -s conftest.$ac_objext'
30975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30976 (eval $ac_try) 2>&5
30978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979 (exit $ac_status); }; }; then
30980 echo "$as_me:$LINENO: result: yes" >&5
30981 echo "${ECHO_T}yes" >&6
30982 cat >>confdefs.h
<<\_ACEOF
30983 #define HAVE__VSNWPRINTF 1
30987 echo "$as_me: failed program was:" >&5
30988 sed 's/^/| /' conftest.
$ac_ext >&5
30990 echo "$as_me:$LINENO: result: no" >&5
30991 echo "${ECHO_T}no" >&6
30993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30997 ac_cpp
='$CPP $CPPFLAGS'
30998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31005 if test "$TOOLKIT" != "MSW"; then
31011 ac_cpp
='$CXXCPP $CPPFLAGS'
31012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31019 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31020 if test "${with_libiconv_prefix+set}" = set; then
31021 withval
="$with_libiconv_prefix"
31023 for dir
in `echo "$withval" | tr : ' '`; do
31024 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31025 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31030 echo "$as_me:$LINENO: checking for iconv" >&5
31031 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31032 if test "${am_cv_func_iconv+set}" = set; then
31033 echo $ECHO_N "(cached) $ECHO_C" >&6
31036 am_cv_func_iconv
="no, consider installing GNU libiconv"
31038 cat >conftest.
$ac_ext <<_ACEOF
31041 cat confdefs.h
>>conftest.
$ac_ext
31042 cat >>conftest.
$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31044 #include <stdlib.h>
31049 iconv_t cd = iconv_open("","");
31050 iconv(cd,NULL,NULL,NULL,NULL);
31056 rm -f conftest.
$ac_objext conftest
$ac_exeext
31057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31058 (eval $ac_link) 2>conftest.er1
31060 grep -v '^ *+' conftest.er1
>conftest.err
31062 cat conftest.err
>&5
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); } &&
31065 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31067 (eval $ac_try) 2>&5
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); }; } &&
31071 { ac_try
='test -s conftest$ac_exeext'
31072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31073 (eval $ac_try) 2>&5
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); }; }; then
31077 am_cv_func_iconv
=yes
31079 echo "$as_me: failed program was:" >&5
31080 sed 's/^/| /' conftest.
$ac_ext >&5
31083 rm -f conftest.err conftest.
$ac_objext \
31084 conftest
$ac_exeext conftest.
$ac_ext
31085 if test "$am_cv_func_iconv" != yes; then
31086 am_save_LIBS
="$LIBS"
31087 LIBS
="$LIBS -liconv"
31088 cat >conftest.
$ac_ext <<_ACEOF
31091 cat confdefs.h
>>conftest.
$ac_ext
31092 cat >>conftest.
$ac_ext <<_ACEOF
31093 /* end confdefs.h. */
31094 #include <stdlib.h>
31099 iconv_t cd = iconv_open("","");
31100 iconv(cd,NULL,NULL,NULL,NULL);
31106 rm -f conftest.
$ac_objext conftest
$ac_exeext
31107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31108 (eval $ac_link) 2>conftest.er1
31110 grep -v '^ *+' conftest.er1
>conftest.err
31112 cat conftest.err
>&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); } &&
31115 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31117 (eval $ac_try) 2>&5
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); }; } &&
31121 { ac_try
='test -s conftest$ac_exeext'
31122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31123 (eval $ac_try) 2>&5
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); }; }; then
31127 am_cv_lib_iconv
=yes
31128 am_cv_func_iconv
=yes
31130 echo "$as_me: failed program was:" >&5
31131 sed 's/^/| /' conftest.
$ac_ext >&5
31134 rm -f conftest.err conftest.
$ac_objext \
31135 conftest
$ac_exeext conftest.
$ac_ext
31136 LIBS
="$am_save_LIBS"
31140 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31141 echo "${ECHO_T}$am_cv_func_iconv" >&6
31142 if test "$am_cv_func_iconv" = yes; then
31144 cat >>confdefs.h
<<\_ACEOF
31145 #define HAVE_ICONV 1
31148 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31149 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31150 if test "${wx_cv_func_iconv_const+set}" = set; then
31151 echo $ECHO_N "(cached) $ECHO_C" >&6
31153 cat >conftest.
$ac_ext <<_ACEOF
31156 cat confdefs.h
>>conftest.
$ac_ext
31157 cat >>conftest.
$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31160 #include <stdlib.h>
31166 #if defined(__STDC__) || defined(__cplusplus)
31167 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31180 rm -f conftest.
$ac_objext
31181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31182 (eval $ac_compile) 2>conftest.er1
31184 grep -v '^ *+' conftest.er1
>conftest.err
31186 cat conftest.err
>&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); } &&
31189 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31191 (eval $ac_try) 2>&5
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); }; } &&
31195 { ac_try
='test -s conftest.$ac_objext'
31196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31197 (eval $ac_try) 2>&5
31199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31200 (exit $ac_status); }; }; then
31201 wx_cv_func_iconv_const
="no"
31203 echo "$as_me: failed program was:" >&5
31204 sed 's/^/| /' conftest.
$ac_ext >&5
31206 wx_cv_func_iconv_const
="yes"
31209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31212 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31213 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31216 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31217 iconv_const
="const"
31221 cat >>confdefs.h
<<_ACEOF
31222 #define ICONV_CONST $iconv_const
31227 if test "$am_cv_lib_iconv" = yes; then
31232 LIBS
="$LIBICONV $LIBS"
31234 ac_cpp
='$CPP $CPPFLAGS'
31235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31240 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31242 for ac_func
in sigaction
31244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31245 echo "$as_me:$LINENO: checking for $ac_func" >&5
31246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31247 if eval "test \"\${$as_ac_var+set}\" = set"; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31250 cat >conftest.
$ac_ext <<_ACEOF
31253 cat confdefs.h
>>conftest.
$ac_ext
31254 cat >>conftest.
$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31258 #define $ac_func innocuous_$ac_func
31260 /* System header to define __stub macros and hopefully few prototypes,
31261 which can conflict with char $ac_func (); below.
31262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31263 <limits.h> exists even on freestanding compilers. */
31266 # include <limits.h>
31268 # include <assert.h>
31273 /* Override any gcc2 internal prototype to avoid an error. */
31278 /* We use char because int might match the return type of a gcc2
31279 builtin and then its argument prototype would still apply. */
31281 /* The GNU C library defines this for functions which it implements
31282 to always fail with ENOSYS. Some functions are actually named
31283 something starting with __ and the normal name is an alias. */
31284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31287 char (*f) () = $ac_func;
31296 return f != $ac_func;
31301 rm -f conftest.
$ac_objext conftest
$ac_exeext
31302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31303 (eval $ac_link) 2>conftest.er1
31305 grep -v '^ *+' conftest.er1
>conftest.err
31307 cat conftest.err
>&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); } &&
31310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 (eval $ac_try) 2>&5
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; } &&
31316 { ac_try
='test -s conftest$ac_exeext'
31317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318 (eval $ac_try) 2>&5
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; }; then
31322 eval "$as_ac_var=yes"
31324 echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.
$ac_ext >&5
31327 eval "$as_ac_var=no"
31329 rm -f conftest.err conftest.
$ac_objext \
31330 conftest
$ac_exeext conftest.
$ac_ext
31332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31334 if test `eval echo '${'$as_ac_var'}'` = yes; then
31335 cat >>confdefs.h
<<_ACEOF
31336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31343 if test "$ac_cv_func_sigaction" = "no"; then
31344 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31345 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31346 wxUSE_ON_FATAL_EXCEPTION
=no
31349 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31353 ac_cpp
='$CXXCPP $CPPFLAGS'
31354 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31355 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31356 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31359 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31360 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31361 if test "${wx_cv_type_sa_handler+set}" = set; then
31362 echo $ECHO_N "(cached) $ECHO_C" >&6
31365 cat >conftest.
$ac_ext <<_ACEOF
31368 cat confdefs.h
>>conftest.
$ac_ext
31369 cat >>conftest.
$ac_ext <<_ACEOF
31370 /* end confdefs.h. */
31371 #include <signal.h>
31376 extern void testSigHandler(int);
31378 struct sigaction sa;
31379 sa.sa_handler = testSigHandler;
31385 rm -f conftest.
$ac_objext
31386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31387 (eval $ac_compile) 2>conftest.er1
31389 grep -v '^ *+' conftest.er1
>conftest.err
31391 cat conftest.err
>&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); } &&
31394 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31396 (eval $ac_try) 2>&5
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); }; } &&
31400 { ac_try
='test -s conftest.$ac_objext'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; }; then
31407 wx_cv_type_sa_handler
=int
31410 echo "$as_me: failed program was:" >&5
31411 sed 's/^/| /' conftest.
$ac_ext >&5
31414 wx_cv_type_sa_handler
=void
31417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31420 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31421 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31424 ac_cpp
='$CPP $CPPFLAGS'
31425 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31426 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31427 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31430 cat >>confdefs.h
<<_ACEOF
31431 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31437 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31441 ac_cpp
='$CXXCPP $CPPFLAGS'
31442 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31447 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31448 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31449 if test "${wx_cv_func_backtrace+set}" = set; then
31450 echo $ECHO_N "(cached) $ECHO_C" >&6
31453 cat >conftest.
$ac_ext <<_ACEOF
31456 cat confdefs.h
>>conftest.
$ac_ext
31457 cat >>conftest.
$ac_ext <<_ACEOF
31458 /* end confdefs.h. */
31459 #include <execinfo.h>
31467 backtrace(trace, 1);
31468 messages = backtrace_symbols(trace, 1);
31474 rm -f conftest.
$ac_objext
31475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31476 (eval $ac_compile) 2>conftest.er1
31478 grep -v '^ *+' conftest.er1
>conftest.err
31480 cat conftest.err
>&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); } &&
31483 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31485 (eval $ac_try) 2>&5
31487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31488 (exit $ac_status); }; } &&
31489 { ac_try
='test -s conftest.$ac_objext'
31490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31491 (eval $ac_try) 2>&5
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); }; }; then
31495 wx_cv_func_backtrace
=yes
31497 echo "$as_me: failed program was:" >&5
31498 sed 's/^/| /' conftest.
$ac_ext >&5
31500 wx_cv_func_backtrace
=no
31503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31507 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31508 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31511 if test "$wx_cv_func_backtrace" = "no"; then
31512 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31513 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31514 wxUSE_STACKWALKER
=no
31516 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31517 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31518 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31519 echo $ECHO_N "(cached) $ECHO_C" >&6
31522 cat >conftest.
$ac_ext <<_ACEOF
31525 cat confdefs.h
>>conftest.
$ac_ext
31526 cat >>conftest.
$ac_ext <<_ACEOF
31527 /* end confdefs.h. */
31528 #include <cxxabi.h>
31534 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31540 rm -f conftest.
$ac_objext
31541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31542 (eval $ac_compile) 2>conftest.er1
31544 grep -v '^ *+' conftest.er1
>conftest.err
31546 cat conftest.err
>&5
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); } &&
31549 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; } &&
31555 { ac_try
='test -s conftest.$ac_objext'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; }; then
31561 wx_cv_func_cxa_demangle
=yes
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.
$ac_ext >&5
31566 wx_cv_func_cxa_demangle
=no
31569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31573 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31574 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31576 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31577 cat >>confdefs.h
<<\_ACEOF
31578 #define HAVE_CXA_DEMANGLE 1
31585 ac_cpp
='$CPP $CPPFLAGS'
31586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31592 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
31593 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
31594 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
31595 wxUSE_STACKWALKER
=no
31601 for ac_func
in mkstemp mktemp
31603 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31604 echo "$as_me:$LINENO: checking for $ac_func" >&5
31605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31606 if eval "test \"\${$as_ac_var+set}\" = set"; then
31607 echo $ECHO_N "(cached) $ECHO_C" >&6
31609 cat >conftest.
$ac_ext <<_ACEOF
31612 cat confdefs.h
>>conftest.
$ac_ext
31613 cat >>conftest.
$ac_ext <<_ACEOF
31614 /* end confdefs.h. */
31615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31617 #define $ac_func innocuous_$ac_func
31619 /* System header to define __stub macros and hopefully few prototypes,
31620 which can conflict with char $ac_func (); below.
31621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31622 <limits.h> exists even on freestanding compilers. */
31625 # include <limits.h>
31627 # include <assert.h>
31632 /* Override any gcc2 internal prototype to avoid an error. */
31637 /* We use char because int might match the return type of a gcc2
31638 builtin and then its argument prototype would still apply. */
31640 /* The GNU C library defines this for functions which it implements
31641 to always fail with ENOSYS. Some functions are actually named
31642 something starting with __ and the normal name is an alias. */
31643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31646 char (*f) () = $ac_func;
31655 return f != $ac_func;
31660 rm -f conftest.
$ac_objext conftest
$ac_exeext
31661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31662 (eval $ac_link) 2>conftest.er1
31664 grep -v '^ *+' conftest.er1
>conftest.err
31666 cat conftest.err
>&5
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); } &&
31669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671 (eval $ac_try) 2>&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); }; } &&
31675 { ac_try
='test -s conftest$ac_exeext'
31676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31677 (eval $ac_try) 2>&5
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); }; }; then
31681 eval "$as_ac_var=yes"
31683 echo "$as_me: failed program was:" >&5
31684 sed 's/^/| /' conftest.
$ac_ext >&5
31686 eval "$as_ac_var=no"
31688 rm -f conftest.err conftest.
$ac_objext \
31689 conftest
$ac_exeext conftest.
$ac_ext
31691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31693 if test `eval echo '${'$as_ac_var'}'` = yes; then
31694 cat >>confdefs.h
<<_ACEOF
31695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31702 echo "$as_me:$LINENO: checking for statfs" >&5
31703 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31704 if test "${wx_cv_func_statfs+set}" = set; then
31705 echo $ECHO_N "(cached) $ECHO_C" >&6
31707 cat >conftest.
$ac_ext <<_ACEOF
31710 cat confdefs.h
>>conftest.
$ac_ext
31711 cat >>conftest.
$ac_ext <<_ACEOF
31712 /* end confdefs.h. */
31714 #if defined(__BSD__)
31715 #include <sys/param.h>
31716 #include <sys/mount.h>
31718 #include <sys/vfs.h>
31736 rm -f conftest.
$ac_objext
31737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31738 (eval $ac_compile) 2>conftest.er1
31740 grep -v '^ *+' conftest.er1
>conftest.err
31742 cat conftest.err
>&5
31743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744 (exit $ac_status); } &&
31745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31747 (eval $ac_try) 2>&5
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); }; } &&
31751 { ac_try
='test -s conftest.$ac_objext'
31752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31753 (eval $ac_try) 2>&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); }; }; then
31758 wx_cv_func_statfs
=yes
31761 echo "$as_me: failed program was:" >&5
31762 sed 's/^/| /' conftest.
$ac_ext >&5
31765 wx_cv_func_statfs
=no
31769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31772 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31773 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31775 if test "$wx_cv_func_statfs" = "yes"; then
31776 wx_cv_type_statvfs_t
="struct statfs"
31777 cat >>confdefs.h
<<\_ACEOF
31778 #define HAVE_STATFS 1
31782 echo "$as_me:$LINENO: checking for statvfs" >&5
31783 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31784 if test "${wx_cv_func_statvfs+set}" = set; then
31785 echo $ECHO_N "(cached) $ECHO_C" >&6
31787 cat >conftest.
$ac_ext <<_ACEOF
31790 cat confdefs.h
>>conftest.
$ac_ext
31791 cat >>conftest.
$ac_ext <<_ACEOF
31792 /* end confdefs.h. */
31794 #include <stddef.h>
31795 #include <sys/statvfs.h>
31801 statvfs("/", NULL);
31807 rm -f conftest.
$ac_objext
31808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31809 (eval $ac_compile) 2>conftest.er1
31811 grep -v '^ *+' conftest.er1
>conftest.err
31813 cat conftest.err
>&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); } &&
31816 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31818 (eval $ac_try) 2>&5
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); }; } &&
31822 { ac_try
='test -s conftest.$ac_objext'
31823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31824 (eval $ac_try) 2>&5
31826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31827 (exit $ac_status); }; }; then
31828 wx_cv_func_statvfs
=yes
31830 echo "$as_me: failed program was:" >&5
31831 sed 's/^/| /' conftest.
$ac_ext >&5
31833 wx_cv_func_statvfs
=no
31836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31839 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31840 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31842 if test "$wx_cv_func_statvfs" = "yes"; then
31846 ac_cpp
='$CXXCPP $CPPFLAGS'
31847 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31848 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31852 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31853 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31854 if test "${wx_cv_type_statvfs_t+set}" = set; then
31855 echo $ECHO_N "(cached) $ECHO_C" >&6
31857 cat >conftest.
$ac_ext <<_ACEOF
31860 cat confdefs.h
>>conftest.
$ac_ext
31861 cat >>conftest.
$ac_ext <<_ACEOF
31862 /* end confdefs.h. */
31864 #include <sys/statvfs.h>
31881 rm -f conftest.
$ac_objext
31882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31883 (eval $ac_compile) 2>conftest.er1
31885 grep -v '^ *+' conftest.er1
>conftest.err
31887 cat conftest.err
>&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); } &&
31890 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31892 (eval $ac_try) 2>&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); }; } &&
31896 { ac_try
='test -s conftest.$ac_objext'
31897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31898 (eval $ac_try) 2>&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); }; }; then
31902 wx_cv_type_statvfs_t
=statvfs_t
31904 echo "$as_me: failed program was:" >&5
31905 sed 's/^/| /' conftest.
$ac_ext >&5
31908 cat >conftest.
$ac_ext <<_ACEOF
31911 cat confdefs.h
>>conftest.
$ac_ext
31912 cat >>conftest.
$ac_ext <<_ACEOF
31913 /* end confdefs.h. */
31915 #include <sys/statvfs.h>
31932 rm -f conftest.
$ac_objext
31933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31934 (eval $ac_compile) 2>conftest.er1
31936 grep -v '^ *+' conftest.er1
>conftest.err
31938 cat conftest.err
>&5
31939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 (exit $ac_status); } &&
31941 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31943 (eval $ac_try) 2>&5
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); }; } &&
31947 { ac_try
='test -s conftest.$ac_objext'
31948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31949 (eval $ac_try) 2>&5
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); }; }; then
31953 wx_cv_type_statvfs_t
="struct statvfs"
31955 echo "$as_me: failed program was:" >&5
31956 sed 's/^/| /' conftest.
$ac_ext >&5
31958 wx_cv_type_statvfs_t
="unknown"
31961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31968 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31969 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31972 ac_cpp
='$CPP $CPPFLAGS'
31973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31978 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31979 cat >>confdefs.h
<<\_ACEOF
31980 #define HAVE_STATVFS 1
31985 wx_cv_type_statvfs_t
="unknown"
31989 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31990 cat >>confdefs.h
<<_ACEOF
31991 #define WX_STATFS_T $wx_cv_type_statvfs_t
31995 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31996 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31999 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32002 for ac_func
in fcntl flock
32004 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32005 echo "$as_me:$LINENO: checking for $ac_func" >&5
32006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32007 if eval "test \"\${$as_ac_var+set}\" = set"; then
32008 echo $ECHO_N "(cached) $ECHO_C" >&6
32010 cat >conftest.
$ac_ext <<_ACEOF
32013 cat confdefs.h
>>conftest.
$ac_ext
32014 cat >>conftest.
$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32018 #define $ac_func innocuous_$ac_func
32020 /* System header to define __stub macros and hopefully few prototypes,
32021 which can conflict with char $ac_func (); below.
32022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32023 <limits.h> exists even on freestanding compilers. */
32026 # include <limits.h>
32028 # include <assert.h>
32033 /* Override any gcc2 internal prototype to avoid an error. */
32038 /* We use char because int might match the return type of a gcc2
32039 builtin and then its argument prototype would still apply. */
32041 /* The GNU C library defines this for functions which it implements
32042 to always fail with ENOSYS. Some functions are actually named
32043 something starting with __ and the normal name is an alias. */
32044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32047 char (*f) () = $ac_func;
32056 return f != $ac_func;
32061 rm -f conftest.
$ac_objext conftest
$ac_exeext
32062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32063 (eval $ac_link) 2>conftest.er1
32065 grep -v '^ *+' conftest.er1
>conftest.err
32067 cat conftest.err
>&5
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); } &&
32070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32072 (eval $ac_try) 2>&5
32074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32075 (exit $ac_status); }; } &&
32076 { ac_try
='test -s conftest$ac_exeext'
32077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32078 (eval $ac_try) 2>&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); }; }; then
32082 eval "$as_ac_var=yes"
32084 echo "$as_me: failed program was:" >&5
32085 sed 's/^/| /' conftest.
$ac_ext >&5
32087 eval "$as_ac_var=no"
32089 rm -f conftest.err conftest.
$ac_objext \
32090 conftest
$ac_exeext conftest.
$ac_ext
32092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32094 if test `eval echo '${'$as_ac_var'}'` = yes; then
32095 cat >>confdefs.h
<<_ACEOF
32096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32103 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32104 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32105 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32106 wxUSE_SNGLINST_CHECKER
=no
32111 for ac_func
in timegm
32113 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32114 echo "$as_me:$LINENO: checking for $ac_func" >&5
32115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32116 if eval "test \"\${$as_ac_var+set}\" = set"; then
32117 echo $ECHO_N "(cached) $ECHO_C" >&6
32119 cat >conftest.
$ac_ext <<_ACEOF
32122 cat confdefs.h
>>conftest.
$ac_ext
32123 cat >>conftest.
$ac_ext <<_ACEOF
32124 /* end confdefs.h. */
32125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32127 #define $ac_func innocuous_$ac_func
32129 /* System header to define __stub macros and hopefully few prototypes,
32130 which can conflict with char $ac_func (); below.
32131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32132 <limits.h> exists even on freestanding compilers. */
32135 # include <limits.h>
32137 # include <assert.h>
32142 /* Override any gcc2 internal prototype to avoid an error. */
32147 /* We use char because int might match the return type of a gcc2
32148 builtin and then its argument prototype would still apply. */
32150 /* The GNU C library defines this for functions which it implements
32151 to always fail with ENOSYS. Some functions are actually named
32152 something starting with __ and the normal name is an alias. */
32153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32156 char (*f) () = $ac_func;
32165 return f != $ac_func;
32170 rm -f conftest.
$ac_objext conftest
$ac_exeext
32171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32172 (eval $ac_link) 2>conftest.er1
32174 grep -v '^ *+' conftest.er1
>conftest.err
32176 cat conftest.err
>&5
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); } &&
32179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32181 (eval $ac_try) 2>&5
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); }; } &&
32185 { ac_try
='test -s conftest$ac_exeext'
32186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187 (eval $ac_try) 2>&5
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); }; }; then
32191 eval "$as_ac_var=yes"
32193 echo "$as_me: failed program was:" >&5
32194 sed 's/^/| /' conftest.
$ac_ext >&5
32196 eval "$as_ac_var=no"
32198 rm -f conftest.err conftest.
$ac_objext \
32199 conftest
$ac_exeext conftest.
$ac_ext
32201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32203 if test `eval echo '${'$as_ac_var'}'` = yes; then
32204 cat >>confdefs.h
<<_ACEOF
32205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32214 for ac_func
in putenv setenv
32216 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32217 echo "$as_me:$LINENO: checking for $ac_func" >&5
32218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32219 if eval "test \"\${$as_ac_var+set}\" = set"; then
32220 echo $ECHO_N "(cached) $ECHO_C" >&6
32222 cat >conftest.
$ac_ext <<_ACEOF
32225 cat confdefs.h
>>conftest.
$ac_ext
32226 cat >>conftest.
$ac_ext <<_ACEOF
32227 /* end confdefs.h. */
32228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32230 #define $ac_func innocuous_$ac_func
32232 /* System header to define __stub macros and hopefully few prototypes,
32233 which can conflict with char $ac_func (); below.
32234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32235 <limits.h> exists even on freestanding compilers. */
32238 # include <limits.h>
32240 # include <assert.h>
32245 /* Override any gcc2 internal prototype to avoid an error. */
32250 /* We use char because int might match the return type of a gcc2
32251 builtin and then its argument prototype would still apply. */
32253 /* The GNU C library defines this for functions which it implements
32254 to always fail with ENOSYS. Some functions are actually named
32255 something starting with __ and the normal name is an alias. */
32256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32259 char (*f) () = $ac_func;
32268 return f != $ac_func;
32273 rm -f conftest.
$ac_objext conftest
$ac_exeext
32274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32275 (eval $ac_link) 2>conftest.er1
32277 grep -v '^ *+' conftest.er1
>conftest.err
32279 cat conftest.err
>&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); } &&
32282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32284 (eval $ac_try) 2>&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); }; } &&
32288 { ac_try
='test -s conftest$ac_exeext'
32289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32290 (eval $ac_try) 2>&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); }; }; then
32294 eval "$as_ac_var=yes"
32296 echo "$as_me: failed program was:" >&5
32297 sed 's/^/| /' conftest.
$ac_ext >&5
32299 eval "$as_ac_var=no"
32301 rm -f conftest.err conftest.
$ac_objext \
32302 conftest
$ac_exeext conftest.
$ac_ext
32304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32306 if test `eval echo '${'$as_ac_var'}'` = yes; then
32307 cat >>confdefs.h
<<_ACEOF
32308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32315 HAVE_SOME_SLEEP_FUNC
=0
32316 if test "$USE_BEOS" = 1; then
32317 cat >>confdefs.h
<<\_ACEOF
32318 #define HAVE_SLEEP 1
32321 HAVE_SOME_SLEEP_FUNC
=1
32324 if test "$USE_DARWIN" = 1; then
32325 cat >>confdefs.h
<<\_ACEOF
32326 #define HAVE_USLEEP 1
32329 HAVE_SOME_SLEEP_FUNC
=1
32332 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32335 for ac_func
in nanosleep
32337 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32338 echo "$as_me:$LINENO: checking for $ac_func" >&5
32339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32340 if eval "test \"\${$as_ac_var+set}\" = set"; then
32341 echo $ECHO_N "(cached) $ECHO_C" >&6
32343 cat >conftest.
$ac_ext <<_ACEOF
32346 cat confdefs.h
>>conftest.
$ac_ext
32347 cat >>conftest.
$ac_ext <<_ACEOF
32348 /* end confdefs.h. */
32349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32351 #define $ac_func innocuous_$ac_func
32353 /* System header to define __stub macros and hopefully few prototypes,
32354 which can conflict with char $ac_func (); below.
32355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32356 <limits.h> exists even on freestanding compilers. */
32359 # include <limits.h>
32361 # include <assert.h>
32366 /* Override any gcc2 internal prototype to avoid an error. */
32371 /* We use char because int might match the return type of a gcc2
32372 builtin and then its argument prototype would still apply. */
32374 /* The GNU C library defines this for functions which it implements
32375 to always fail with ENOSYS. Some functions are actually named
32376 something starting with __ and the normal name is an alias. */
32377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32380 char (*f) () = $ac_func;
32389 return f != $ac_func;
32394 rm -f conftest.
$ac_objext conftest
$ac_exeext
32395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32396 (eval $ac_link) 2>conftest.er1
32398 grep -v '^ *+' conftest.er1
>conftest.err
32400 cat conftest.err
>&5
32401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32402 (exit $ac_status); } &&
32403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32405 (eval $ac_try) 2>&5
32407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408 (exit $ac_status); }; } &&
32409 { ac_try
='test -s conftest$ac_exeext'
32410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32411 (eval $ac_try) 2>&5
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); }; }; then
32415 eval "$as_ac_var=yes"
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.
$ac_ext >&5
32420 eval "$as_ac_var=no"
32422 rm -f conftest.err conftest.
$ac_objext \
32423 conftest
$ac_exeext conftest.
$ac_ext
32425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32427 if test `eval echo '${'$as_ac_var'}'` = yes; then
32428 cat >>confdefs.h
<<_ACEOF
32429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32431 cat >>confdefs.h
<<\_ACEOF
32432 #define HAVE_NANOSLEEP 1
32437 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32438 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32439 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32440 echo $ECHO_N "(cached) $ECHO_C" >&6
32442 ac_check_lib_save_LIBS
=$LIBS
32443 LIBS
="-lposix4 $LIBS"
32444 cat >conftest.
$ac_ext <<_ACEOF
32447 cat confdefs.h
>>conftest.
$ac_ext
32448 cat >>conftest.
$ac_ext <<_ACEOF
32449 /* end confdefs.h. */
32451 /* Override any gcc2 internal prototype to avoid an error. */
32455 /* We use char because int might match the return type of a gcc2
32456 builtin and then its argument prototype would still apply. */
32466 rm -f conftest.
$ac_objext conftest
$ac_exeext
32467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32468 (eval $ac_link) 2>conftest.er1
32470 grep -v '^ *+' conftest.er1
>conftest.err
32472 cat conftest.err
>&5
32473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32474 (exit $ac_status); } &&
32475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
32481 { ac_try
='test -s conftest$ac_exeext'
32482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32483 (eval $ac_try) 2>&5
32485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486 (exit $ac_status); }; }; then
32487 ac_cv_lib_posix4_nanosleep
=yes
32489 echo "$as_me: failed program was:" >&5
32490 sed 's/^/| /' conftest.
$ac_ext >&5
32492 ac_cv_lib_posix4_nanosleep
=no
32494 rm -f conftest.err conftest.
$ac_objext \
32495 conftest
$ac_exeext conftest.
$ac_ext
32496 LIBS
=$ac_check_lib_save_LIBS
32498 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32499 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32500 if test $ac_cv_lib_posix4_nanosleep = yes; then
32502 cat >>confdefs.h
<<\_ACEOF
32503 #define HAVE_NANOSLEEP 1
32506 POSIX4_LINK
=" -lposix4"
32511 for ac_func
in usleep
32513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32514 echo "$as_me:$LINENO: checking for $ac_func" >&5
32515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32516 if eval "test \"\${$as_ac_var+set}\" = set"; then
32517 echo $ECHO_N "(cached) $ECHO_C" >&6
32519 cat >conftest.
$ac_ext <<_ACEOF
32522 cat confdefs.h
>>conftest.
$ac_ext
32523 cat >>conftest.
$ac_ext <<_ACEOF
32524 /* end confdefs.h. */
32525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32527 #define $ac_func innocuous_$ac_func
32529 /* System header to define __stub macros and hopefully few prototypes,
32530 which can conflict with char $ac_func (); below.
32531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32532 <limits.h> exists even on freestanding compilers. */
32535 # include <limits.h>
32537 # include <assert.h>
32542 /* Override any gcc2 internal prototype to avoid an error. */
32547 /* We use char because int might match the return type of a gcc2
32548 builtin and then its argument prototype would still apply. */
32550 /* The GNU C library defines this for functions which it implements
32551 to always fail with ENOSYS. Some functions are actually named
32552 something starting with __ and the normal name is an alias. */
32553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32556 char (*f) () = $ac_func;
32565 return f != $ac_func;
32570 rm -f conftest.
$ac_objext conftest
$ac_exeext
32571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32572 (eval $ac_link) 2>conftest.er1
32574 grep -v '^ *+' conftest.er1
>conftest.err
32576 cat conftest.err
>&5
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); } &&
32579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32581 (eval $ac_try) 2>&5
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; } &&
32585 { ac_try
='test -s conftest$ac_exeext'
32586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32587 (eval $ac_try) 2>&5
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); }; }; then
32591 eval "$as_ac_var=yes"
32593 echo "$as_me: failed program was:" >&5
32594 sed 's/^/| /' conftest.
$ac_ext >&5
32596 eval "$as_ac_var=no"
32598 rm -f conftest.err conftest.
$ac_objext \
32599 conftest
$ac_exeext conftest.
$ac_ext
32601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32603 if test `eval echo '${'$as_ac_var'}'` = yes; then
32604 cat >>confdefs.h
<<_ACEOF
32605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32607 cat >>confdefs.h
<<\_ACEOF
32608 #define HAVE_USLEEP 1
32612 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32613 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32631 for ac_func
in uname gethostname
32633 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32634 echo "$as_me:$LINENO: checking for $ac_func" >&5
32635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32636 if eval "test \"\${$as_ac_var+set}\" = set"; then
32637 echo $ECHO_N "(cached) $ECHO_C" >&6
32639 cat >conftest.
$ac_ext <<_ACEOF
32642 cat confdefs.h
>>conftest.
$ac_ext
32643 cat >>conftest.
$ac_ext <<_ACEOF
32644 /* end confdefs.h. */
32645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32647 #define $ac_func innocuous_$ac_func
32649 /* System header to define __stub macros and hopefully few prototypes,
32650 which can conflict with char $ac_func (); below.
32651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32652 <limits.h> exists even on freestanding compilers. */
32655 # include <limits.h>
32657 # include <assert.h>
32662 /* Override any gcc2 internal prototype to avoid an error. */
32667 /* We use char because int might match the return type of a gcc2
32668 builtin and then its argument prototype would still apply. */
32670 /* The GNU C library defines this for functions which it implements
32671 to always fail with ENOSYS. Some functions are actually named
32672 something starting with __ and the normal name is an alias. */
32673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32676 char (*f) () = $ac_func;
32685 return f != $ac_func;
32690 rm -f conftest.
$ac_objext conftest
$ac_exeext
32691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32692 (eval $ac_link) 2>conftest.er1
32694 grep -v '^ *+' conftest.er1
>conftest.err
32696 cat conftest.err
>&5
32697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32698 (exit $ac_status); } &&
32699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32701 (eval $ac_try) 2>&5
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); }; } &&
32705 { ac_try
='test -s conftest$ac_exeext'
32706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32707 (eval $ac_try) 2>&5
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); }; }; then
32711 eval "$as_ac_var=yes"
32713 echo "$as_me: failed program was:" >&5
32714 sed 's/^/| /' conftest.
$ac_ext >&5
32716 eval "$as_ac_var=no"
32718 rm -f conftest.err conftest.
$ac_objext \
32719 conftest
$ac_exeext conftest.
$ac_ext
32721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32723 if test `eval echo '${'$as_ac_var'}'` = yes; then
32724 cat >>confdefs.h
<<_ACEOF
32725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32735 ac_cpp
='$CXXCPP $CPPFLAGS'
32736 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32737 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32738 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32742 for ac_func
in strtok_r
32744 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32745 echo "$as_me:$LINENO: checking for $ac_func" >&5
32746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32747 if eval "test \"\${$as_ac_var+set}\" = set"; then
32748 echo $ECHO_N "(cached) $ECHO_C" >&6
32750 cat >conftest.
$ac_ext <<_ACEOF
32753 cat confdefs.h
>>conftest.
$ac_ext
32754 cat >>conftest.
$ac_ext <<_ACEOF
32755 /* end confdefs.h. */
32756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32758 #define $ac_func innocuous_$ac_func
32760 /* System header to define __stub macros and hopefully few prototypes,
32761 which can conflict with char $ac_func (); below.
32762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32763 <limits.h> exists even on freestanding compilers. */
32766 # include <limits.h>
32768 # include <assert.h>
32773 /* Override any gcc2 internal prototype to avoid an error. */
32778 /* We use char because int might match the return type of a gcc2
32779 builtin and then its argument prototype would still apply. */
32781 /* The GNU C library defines this for functions which it implements
32782 to always fail with ENOSYS. Some functions are actually named
32783 something starting with __ and the normal name is an alias. */
32784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32787 char (*f) () = $ac_func;
32796 return f != $ac_func;
32801 rm -f conftest.
$ac_objext conftest
$ac_exeext
32802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32803 (eval $ac_link) 2>conftest.er1
32805 grep -v '^ *+' conftest.er1
>conftest.err
32807 cat conftest.err
>&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); } &&
32810 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32812 (eval $ac_try) 2>&5
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); }; } &&
32816 { ac_try
='test -s conftest$ac_exeext'
32817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32818 (eval $ac_try) 2>&5
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); }; }; then
32822 eval "$as_ac_var=yes"
32824 echo "$as_me: failed program was:" >&5
32825 sed 's/^/| /' conftest.
$ac_ext >&5
32827 eval "$as_ac_var=no"
32829 rm -f conftest.err conftest.
$ac_objext \
32830 conftest
$ac_exeext conftest.
$ac_ext
32832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32834 if test `eval echo '${'$as_ac_var'}'` = yes; then
32835 cat >>confdefs.h
<<_ACEOF
32836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32844 ac_cpp
='$CPP $CPPFLAGS'
32845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32852 for ac_func
in inet_addr
32854 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32855 echo "$as_me:$LINENO: checking for $ac_func" >&5
32856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32857 if eval "test \"\${$as_ac_var+set}\" = set"; then
32858 echo $ECHO_N "(cached) $ECHO_C" >&6
32860 cat >conftest.
$ac_ext <<_ACEOF
32863 cat confdefs.h
>>conftest.
$ac_ext
32864 cat >>conftest.
$ac_ext <<_ACEOF
32865 /* end confdefs.h. */
32866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32868 #define $ac_func innocuous_$ac_func
32870 /* System header to define __stub macros and hopefully few prototypes,
32871 which can conflict with char $ac_func (); below.
32872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32873 <limits.h> exists even on freestanding compilers. */
32876 # include <limits.h>
32878 # include <assert.h>
32883 /* Override any gcc2 internal prototype to avoid an error. */
32888 /* We use char because int might match the return type of a gcc2
32889 builtin and then its argument prototype would still apply. */
32891 /* The GNU C library defines this for functions which it implements
32892 to always fail with ENOSYS. Some functions are actually named
32893 something starting with __ and the normal name is an alias. */
32894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32897 char (*f) () = $ac_func;
32906 return f != $ac_func;
32911 rm -f conftest.
$ac_objext conftest
$ac_exeext
32912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32913 (eval $ac_link) 2>conftest.er1
32915 grep -v '^ *+' conftest.er1
>conftest.err
32917 cat conftest.err
>&5
32918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 (exit $ac_status); } &&
32920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32922 (eval $ac_try) 2>&5
32924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32925 (exit $ac_status); }; } &&
32926 { ac_try
='test -s conftest$ac_exeext'
32927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32928 (eval $ac_try) 2>&5
32930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32931 (exit $ac_status); }; }; then
32932 eval "$as_ac_var=yes"
32934 echo "$as_me: failed program was:" >&5
32935 sed 's/^/| /' conftest.
$ac_ext >&5
32937 eval "$as_ac_var=no"
32939 rm -f conftest.err conftest.
$ac_objext \
32940 conftest
$ac_exeext conftest.
$ac_ext
32942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32944 if test `eval echo '${'$as_ac_var'}'` = yes; then
32945 cat >>confdefs.h
<<_ACEOF
32946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32948 cat >>confdefs.h
<<\_ACEOF
32949 #define HAVE_INET_ADDR 1
32954 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32955 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32956 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32957 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 ac_check_lib_save_LIBS
=$LIBS
32961 cat >conftest.
$ac_ext <<_ACEOF
32964 cat confdefs.h
>>conftest.
$ac_ext
32965 cat >>conftest.
$ac_ext <<_ACEOF
32966 /* end confdefs.h. */
32968 /* Override any gcc2 internal prototype to avoid an error. */
32972 /* We use char because int might match the return type of a gcc2
32973 builtin and then its argument prototype would still apply. */
32983 rm -f conftest.
$ac_objext conftest
$ac_exeext
32984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32985 (eval $ac_link) 2>conftest.er1
32987 grep -v '^ *+' conftest.er1
>conftest.err
32989 cat conftest.err
>&5
32990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32991 (exit $ac_status); } &&
32992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32994 (eval $ac_try) 2>&5
32996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32997 (exit $ac_status); }; } &&
32998 { ac_try
='test -s conftest$ac_exeext'
32999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33000 (eval $ac_try) 2>&5
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); }; }; then
33004 ac_cv_lib_nsl_inet_addr
=yes
33006 echo "$as_me: failed program was:" >&5
33007 sed 's/^/| /' conftest.
$ac_ext >&5
33009 ac_cv_lib_nsl_inet_addr
=no
33011 rm -f conftest.err conftest.
$ac_objext \
33012 conftest
$ac_exeext conftest.
$ac_ext
33013 LIBS
=$ac_check_lib_save_LIBS
33015 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33016 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33017 if test $ac_cv_lib_nsl_inet_addr = yes; then
33021 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33022 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33023 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 ac_check_lib_save_LIBS
=$LIBS
33027 LIBS
="-lresolv $LIBS"
33028 cat >conftest.
$ac_ext <<_ACEOF
33031 cat confdefs.h
>>conftest.
$ac_ext
33032 cat >>conftest.
$ac_ext <<_ACEOF
33033 /* end confdefs.h. */
33035 /* Override any gcc2 internal prototype to avoid an error. */
33039 /* We use char because int might match the return type of a gcc2
33040 builtin and then its argument prototype would still apply. */
33050 rm -f conftest.
$ac_objext conftest
$ac_exeext
33051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33052 (eval $ac_link) 2>conftest.er1
33054 grep -v '^ *+' conftest.er1
>conftest.err
33056 cat conftest.err
>&5
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); } &&
33059 { ac_try
='test -z "$ac_c_werror_flag" || 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" || test ! -s conftest.err'
33127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33128 (eval $ac_try) 2>&5
33130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131 (exit $ac_status); }; } &&
33132 { ac_try
='test -s conftest$ac_exeext'
33133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33134 (eval $ac_try) 2>&5
33136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33137 (exit $ac_status); }; }; then
33138 ac_cv_lib_socket_inet_addr
=yes
33140 echo "$as_me: failed program was:" >&5
33141 sed 's/^/| /' conftest.
$ac_ext >&5
33143 ac_cv_lib_socket_inet_addr
=no
33145 rm -f conftest.err conftest.
$ac_objext \
33146 conftest
$ac_exeext conftest.
$ac_ext
33147 LIBS
=$ac_check_lib_save_LIBS
33149 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33150 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33151 if test $ac_cv_lib_socket_inet_addr = yes; then
33171 for ac_func
in inet_aton
33173 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33174 echo "$as_me:$LINENO: checking for $ac_func" >&5
33175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33176 if eval "test \"\${$as_ac_var+set}\" = set"; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 cat >conftest.
$ac_ext <<_ACEOF
33182 cat confdefs.h
>>conftest.
$ac_ext
33183 cat >>conftest.
$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33187 #define $ac_func innocuous_$ac_func
33189 /* System header to define __stub macros and hopefully few prototypes,
33190 which can conflict with char $ac_func (); below.
33191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33192 <limits.h> exists even on freestanding compilers. */
33195 # include <limits.h>
33197 # include <assert.h>
33202 /* Override any gcc2 internal prototype to avoid an error. */
33207 /* We use char because int might match the return type of a gcc2
33208 builtin and then its argument prototype would still apply. */
33210 /* The GNU C library defines this for functions which it implements
33211 to always fail with ENOSYS. Some functions are actually named
33212 something starting with __ and the normal name is an alias. */
33213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33216 char (*f) () = $ac_func;
33225 return f != $ac_func;
33230 rm -f conftest.
$ac_objext conftest
$ac_exeext
33231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33232 (eval $ac_link) 2>conftest.er1
33234 grep -v '^ *+' conftest.er1
>conftest.err
33236 cat conftest.err
>&5
33237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33238 (exit $ac_status); } &&
33239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33241 (eval $ac_try) 2>&5
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); }; } &&
33245 { ac_try
='test -s conftest$ac_exeext'
33246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33247 (eval $ac_try) 2>&5
33249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33250 (exit $ac_status); }; }; then
33251 eval "$as_ac_var=yes"
33253 echo "$as_me: failed program was:" >&5
33254 sed 's/^/| /' conftest.
$ac_ext >&5
33256 eval "$as_ac_var=no"
33258 rm -f conftest.err conftest.
$ac_objext \
33259 conftest
$ac_exeext conftest.
$ac_ext
33261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33263 if test `eval echo '${'$as_ac_var'}'` = yes; then
33264 cat >>confdefs.h
<<_ACEOF
33265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33267 cat >>confdefs.h
<<\_ACEOF
33268 #define HAVE_INET_ATON 1
33273 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33274 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33275 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33276 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33277 echo $ECHO_N "(cached) $ECHO_C" >&6
33279 ac_check_lib_save_LIBS
=$LIBS
33280 LIBS
="-l$INET_LINK $LIBS"
33281 cat >conftest.
$ac_ext <<_ACEOF
33284 cat confdefs.h
>>conftest.
$ac_ext
33285 cat >>conftest.
$ac_ext <<_ACEOF
33286 /* end confdefs.h. */
33288 /* Override any gcc2 internal prototype to avoid an error. */
33292 /* We use char because int might match the return type of a gcc2
33293 builtin and then its argument prototype would still apply. */
33303 rm -f conftest.
$ac_objext conftest
$ac_exeext
33304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33305 (eval $ac_link) 2>conftest.er1
33307 grep -v '^ *+' conftest.er1
>conftest.err
33309 cat conftest.err
>&5
33310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33311 (exit $ac_status); } &&
33312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33314 (eval $ac_try) 2>&5
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); }; } &&
33318 { ac_try
='test -s conftest$ac_exeext'
33319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33320 (eval $ac_try) 2>&5
33322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33323 (exit $ac_status); }; }; then
33324 eval "$as_ac_Lib=yes"
33326 echo "$as_me: failed program was:" >&5
33327 sed 's/^/| /' conftest.
$ac_ext >&5
33329 eval "$as_ac_Lib=no"
33331 rm -f conftest.err conftest.
$ac_objext \
33332 conftest
$ac_exeext conftest.
$ac_ext
33333 LIBS
=$ac_check_lib_save_LIBS
33335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33336 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33337 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33338 cat >>confdefs.h
<<\_ACEOF
33339 #define HAVE_INET_ATON 1
33349 if test "x$INET_LINK" != "x"; then
33350 cat >>confdefs.h
<<\_ACEOF
33351 #define HAVE_INET_ADDR 1
33354 INET_LINK
=" -l$INET_LINK"
33362 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33363 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33364 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33365 echo $ECHO_N "(cached) $ECHO_C" >&6
33367 ac_check_lib_save_LIBS
=$LIBS
33369 cat >conftest.
$ac_ext <<_ACEOF
33372 cat confdefs.h
>>conftest.
$ac_ext
33373 cat >>conftest.
$ac_ext <<_ACEOF
33374 /* end confdefs.h. */
33376 /* Override any gcc2 internal prototype to avoid an error. */
33380 /* We use char because int might match the return type of a gcc2
33381 builtin and then its argument prototype would still apply. */
33391 rm -f conftest.
$ac_objext conftest
$ac_exeext
33392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33393 (eval $ac_link) 2>conftest.er1
33395 grep -v '^ *+' conftest.er1
>conftest.err
33397 cat conftest.err
>&5
33398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33399 (exit $ac_status); } &&
33400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33402 (eval $ac_try) 2>&5
33404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405 (exit $ac_status); }; } &&
33406 { ac_try
='test -s conftest$ac_exeext'
33407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33408 (eval $ac_try) 2>&5
33410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33411 (exit $ac_status); }; }; then
33412 ac_cv_lib_esd_esd_close
=yes
33414 echo "$as_me: failed program was:" >&5
33415 sed 's/^/| /' conftest.
$ac_ext >&5
33417 ac_cv_lib_esd_esd_close
=no
33419 rm -f conftest.err conftest.
$ac_objext \
33420 conftest
$ac_exeext conftest.
$ac_ext
33421 LIBS
=$ac_check_lib_save_LIBS
33423 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33424 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33425 if test $ac_cv_lib_esd_esd_close = yes; then
33428 for ac_header
in esd.h
33430 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33432 echo "$as_me:$LINENO: checking for $ac_header" >&5
33433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33435 echo $ECHO_N "(cached) $ECHO_C" >&6
33437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33440 # Is the header compilable?
33441 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33442 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33443 cat >conftest.
$ac_ext <<_ACEOF
33446 cat confdefs.h
>>conftest.
$ac_ext
33447 cat >>conftest.
$ac_ext <<_ACEOF
33448 /* end confdefs.h. */
33449 $ac_includes_default
33450 #include <$ac_header>
33452 rm -f conftest.
$ac_objext
33453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33454 (eval $ac_compile) 2>conftest.er1
33456 grep -v '^ *+' conftest.er1
>conftest.err
33458 cat conftest.err
>&5
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); } &&
33461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; } &&
33467 { ac_try
='test -s conftest.$ac_objext'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; }; then
33473 ac_header_compiler
=yes
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.
$ac_ext >&5
33478 ac_header_compiler
=no
33480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33482 echo "${ECHO_T}$ac_header_compiler" >&6
33484 # Is the header present?
33485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33487 cat >conftest.
$ac_ext <<_ACEOF
33490 cat confdefs.h
>>conftest.
$ac_ext
33491 cat >>conftest.
$ac_ext <<_ACEOF
33492 /* end confdefs.h. */
33493 #include <$ac_header>
33495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33496 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33498 grep -v '^ *+' conftest.er1
>conftest.err
33500 cat conftest.err
>&5
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); } >/dev
/null
; then
33503 if test -s conftest.err
; then
33504 ac_cpp_err
=$ac_c_preproc_warn_flag
33505 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33512 if test -z "$ac_cpp_err"; then
33513 ac_header_preproc
=yes
33515 echo "$as_me: failed program was:" >&5
33516 sed 's/^/| /' conftest.
$ac_ext >&5
33518 ac_header_preproc
=no
33520 rm -f conftest.err conftest.
$ac_ext
33521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33522 echo "${ECHO_T}$ac_header_preproc" >&6
33524 # So? What about this header?
33525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33531 ac_header_preproc
=yes
33534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33548 ## ----------------------------------------- ##
33549 ## Report this to wx-dev@lists.wxwidgets.org ##
33550 ## ----------------------------------------- ##
33553 sed "s/^/$as_me: WARNING: /" >&2
33556 echo "$as_me:$LINENO: checking for $ac_header" >&5
33557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33559 echo $ECHO_N "(cached) $ECHO_C" >&6
33561 eval "$as_ac_Header=\$ac_header_preproc"
33563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33568 cat >>confdefs.h
<<_ACEOF
33569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33572 EXTRALIBS_ESD
="-lesd"
33583 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33584 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33585 cat >conftest.
$ac_ext <<_ACEOF
33588 cat confdefs.h
>>conftest.
$ac_ext
33589 cat >>conftest.
$ac_ext <<_ACEOF
33590 /* end confdefs.h. */
33592 #include <linux/cdrom.h>
33595 #include <sys/cdio.h>
33601 struct cdrom_tocentry entry, old_entry;
33606 rm -f conftest.
$ac_objext
33607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33608 (eval $ac_compile) 2>conftest.er1
33610 grep -v '^ *+' conftest.er1
>conftest.err
33612 cat conftest.err
>&5
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); } &&
33615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33617 (eval $ac_try) 2>&5
33619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33620 (exit $ac_status); }; } &&
33621 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
33627 echo "$as_me:$LINENO: result: yes" >&5
33628 echo "${ECHO_T}yes" >&6
33629 cat >>confdefs.h
<<\_ACEOF
33630 #define HAVE_KNOWN_CDROM_INTERFACE 1
33634 echo "$as_me: failed program was:" >&5
33635 sed 's/^/| /' conftest.
$ac_ext >&5
33637 echo "$as_me:$LINENO: result: no" >&5
33638 echo "${ECHO_T}no" >&6
33640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33643 cat >confcache
<<\_ACEOF
33644 # This file is a shell script that caches the results of configure
33645 # tests run on this system so they can be shared between configure
33646 # scripts and configure runs, see configure's option --config-cache.
33647 # It is not useful on other systems. If it contains results you don't
33648 # want to keep, you may remove or edit it.
33650 # config.status only pays attention to the cache file if you give it
33651 # the --recheck option to rerun configure.
33653 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33654 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33655 # following values.
33659 # The following way of writing the cache mishandles newlines in values,
33660 # but we know of no workaround that is simple, portable, and efficient.
33661 # So, don't put newlines in cache variables' values.
33662 # Ultrix sh set writes to stderr and can't be redirected directly,
33663 # and sets the high bit in the cache file unless we assign to the vars.
33666 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33668 # `set' does not quote correctly, so add quotes (double-quote
33669 # substitution turns \\\\ into \\, and sed turns \\ into \).
33672 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33675 # `set' quotes correctly as required by POSIX, so do not add quotes.
33677 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33684 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33686 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33688 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
33689 if test -w $cache_file; then
33690 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33691 cat confcache
>$cache_file
33693 echo "not updating unwritable cache $cache_file"
33700 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33706 if test "$wxUSE_THREADS" = "yes" ; then
33707 if test "$USE_BEOS" = 1; then
33708 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33709 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33714 if test "$wxUSE_THREADS" = "yes" ; then
33717 THREAD_OPTS
="-pthread"
33719 *-*-solaris2* | *-*-sunos4* )
33720 if test "x$GCC" = "xyes"; then
33721 THREAD_OPTS
="-pthreads $THREAD_OPTS"
33723 THREAD_OPTS
="-mt $THREAD_OPTS"
33727 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
33729 *-*-darwin* | *-*-cygwin* )
33733 THREAD_OPTS
="pthreads"
33736 if test "x$GCC" != "xyes"; then
33742 if test "x$GCC" = "xyes"; then
33748 if test "x$GCC" != "xyes"; then
33749 THREAD_OPTS
="-Ethread"
33754 THREAD_OPTS
="$THREAD_OPTS pthread none"
33757 for flag
in $THREAD_OPTS; do
33760 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33761 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33765 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33766 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33767 THREADS_CFLAGS
="$flag"
33771 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33772 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33773 THREADS_LINK
="-l$flag"
33778 save_CFLAGS
="$CFLAGS"
33779 LIBS
="$THREADS_LINK $LIBS"
33780 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
33782 cat >conftest.
$ac_ext <<_ACEOF
33785 cat confdefs.h
>>conftest.
$ac_ext
33786 cat >>conftest.
$ac_ext <<_ACEOF
33787 /* end confdefs.h. */
33788 #include <pthread.h>
33792 pthread_create(0,0,0,0);
33797 rm -f conftest.
$ac_objext conftest
$ac_exeext
33798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33799 (eval $ac_link) 2>conftest.er1
33801 grep -v '^ *+' conftest.er1
>conftest.err
33803 cat conftest.err
>&5
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); } &&
33806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33808 (eval $ac_try) 2>&5
33810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 (exit $ac_status); }; } &&
33812 { ac_try
='test -s conftest$ac_exeext'
33813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33814 (eval $ac_try) 2>&5
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); }; }; then
33820 echo "$as_me: failed program was:" >&5
33821 sed 's/^/| /' conftest.
$ac_ext >&5
33824 rm -f conftest.err conftest.
$ac_objext \
33825 conftest
$ac_exeext conftest.
$ac_ext
33828 CFLAGS
="$save_CFLAGS"
33830 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33831 echo "${ECHO_T}$THREADS_OK" >&6
33832 if test "x$THREADS_OK" = "xyes"; then
33840 if test "x$THREADS_OK" != "xyes"; then
33842 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33843 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33845 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
33846 LIBS
="$THREADS_LINK $LIBS"
33848 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33849 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33853 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
33854 flag
="-D_THREAD_SAFE"
33857 flag
="-D_THREAD_SAFE"
33860 flag
="-D_REENTRANT"
33861 if test "x$GCC" != "xyes"; then
33862 flag
="$flag -D_RWSTD_MULTI_THREAD"
33865 *solaris
* | alpha
*-osf*)
33866 flag
="-D_REENTRANT"
33869 echo "$as_me:$LINENO: result: ${flag}" >&5
33870 echo "${ECHO_T}${flag}" >&6
33871 if test "x$flag" != xno
; then
33872 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
33875 if test "x$THREADS_CFLAGS" != "x"; then
33876 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
33877 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
33882 if test "$wxUSE_THREADS" = "yes" ; then
33884 for ac_func
in thr_setconcurrency
33886 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33887 echo "$as_me:$LINENO: checking for $ac_func" >&5
33888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33889 if eval "test \"\${$as_ac_var+set}\" = set"; then
33890 echo $ECHO_N "(cached) $ECHO_C" >&6
33892 cat >conftest.
$ac_ext <<_ACEOF
33895 cat confdefs.h
>>conftest.
$ac_ext
33896 cat >>conftest.
$ac_ext <<_ACEOF
33897 /* end confdefs.h. */
33898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33900 #define $ac_func innocuous_$ac_func
33902 /* System header to define __stub macros and hopefully few prototypes,
33903 which can conflict with char $ac_func (); below.
33904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33905 <limits.h> exists even on freestanding compilers. */
33908 # include <limits.h>
33910 # include <assert.h>
33915 /* Override any gcc2 internal prototype to avoid an error. */
33920 /* We use char because int might match the return type of a gcc2
33921 builtin and then its argument prototype would still apply. */
33923 /* The GNU C library defines this for functions which it implements
33924 to always fail with ENOSYS. Some functions are actually named
33925 something starting with __ and the normal name is an alias. */
33926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33929 char (*f) () = $ac_func;
33938 return f != $ac_func;
33943 rm -f conftest.
$ac_objext conftest
$ac_exeext
33944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33945 (eval $ac_link) 2>conftest.er1
33947 grep -v '^ *+' conftest.er1
>conftest.err
33949 cat conftest.err
>&5
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); } &&
33952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33954 (eval $ac_try) 2>&5
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); }; } &&
33958 { ac_try
='test -s conftest$ac_exeext'
33959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33960 (eval $ac_try) 2>&5
33962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963 (exit $ac_status); }; }; then
33964 eval "$as_ac_var=yes"
33966 echo "$as_me: failed program was:" >&5
33967 sed 's/^/| /' conftest.
$ac_ext >&5
33969 eval "$as_ac_var=no"
33971 rm -f conftest.err conftest.
$ac_objext \
33972 conftest
$ac_exeext conftest.
$ac_ext
33974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33976 if test `eval echo '${'$as_ac_var'}'` = yes; then
33977 cat >>confdefs.h
<<_ACEOF
33978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33986 for ac_header
in sched.h
33988 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33990 echo "$as_me:$LINENO: checking for $ac_header" >&5
33991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33993 echo $ECHO_N "(cached) $ECHO_C" >&6
33995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33998 # Is the header compilable?
33999 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34001 cat >conftest.
$ac_ext <<_ACEOF
34004 cat confdefs.h
>>conftest.
$ac_ext
34005 cat >>conftest.
$ac_ext <<_ACEOF
34006 /* end confdefs.h. */
34007 $ac_includes_default
34008 #include <$ac_header>
34010 rm -f conftest.
$ac_objext
34011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34012 (eval $ac_compile) 2>conftest.er1
34014 grep -v '^ *+' conftest.er1
>conftest.err
34016 cat conftest.err
>&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); } &&
34019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34021 (eval $ac_try) 2>&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); }; } &&
34025 { ac_try
='test -s conftest.$ac_objext'
34026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34027 (eval $ac_try) 2>&5
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); }; }; then
34031 ac_header_compiler
=yes
34033 echo "$as_me: failed program was:" >&5
34034 sed 's/^/| /' conftest.
$ac_ext >&5
34036 ac_header_compiler
=no
34038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34040 echo "${ECHO_T}$ac_header_compiler" >&6
34042 # Is the header present?
34043 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34045 cat >conftest.
$ac_ext <<_ACEOF
34048 cat confdefs.h
>>conftest.
$ac_ext
34049 cat >>conftest.
$ac_ext <<_ACEOF
34050 /* end confdefs.h. */
34051 #include <$ac_header>
34053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34054 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34056 grep -v '^ *+' conftest.er1
>conftest.err
34058 cat conftest.err
>&5
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); } >/dev
/null
; then
34061 if test -s conftest.err
; then
34062 ac_cpp_err
=$ac_c_preproc_warn_flag
34063 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34070 if test -z "$ac_cpp_err"; then
34071 ac_header_preproc
=yes
34073 echo "$as_me: failed program was:" >&5
34074 sed 's/^/| /' conftest.
$ac_ext >&5
34076 ac_header_preproc
=no
34078 rm -f conftest.err conftest.
$ac_ext
34079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34080 echo "${ECHO_T}$ac_header_preproc" >&6
34082 # So? What about this header?
34083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34089 ac_header_preproc
=yes
34092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34106 ## ----------------------------------------- ##
34107 ## Report this to wx-dev@lists.wxwidgets.org ##
34108 ## ----------------------------------------- ##
34111 sed "s/^/$as_me: WARNING: /" >&2
34114 echo "$as_me:$LINENO: checking for $ac_header" >&5
34115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34117 echo $ECHO_N "(cached) $ECHO_C" >&6
34119 eval "$as_ac_Header=\$ac_header_preproc"
34121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34126 cat >>confdefs.h
<<_ACEOF
34127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34134 if test "$ac_cv_header_sched_h" = "yes"; then
34135 echo "$as_me:$LINENO: checking for sched_yield" >&5
34136 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34137 if test "${ac_cv_func_sched_yield+set}" = set; then
34138 echo $ECHO_N "(cached) $ECHO_C" >&6
34140 cat >conftest.
$ac_ext <<_ACEOF
34143 cat confdefs.h
>>conftest.
$ac_ext
34144 cat >>conftest.
$ac_ext <<_ACEOF
34145 /* end confdefs.h. */
34146 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34148 #define sched_yield innocuous_sched_yield
34150 /* System header to define __stub macros and hopefully few prototypes,
34151 which can conflict with char sched_yield (); below.
34152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34153 <limits.h> exists even on freestanding compilers. */
34156 # include <limits.h>
34158 # include <assert.h>
34163 /* Override any gcc2 internal prototype to avoid an error. */
34168 /* We use char because int might match the return type of a gcc2
34169 builtin and then its argument prototype would still apply. */
34170 char sched_yield ();
34171 /* The GNU C library defines this for functions which it implements
34172 to always fail with ENOSYS. Some functions are actually named
34173 something starting with __ and the normal name is an alias. */
34174 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34177 char (*f) () = sched_yield;
34186 return f != sched_yield;
34191 rm -f conftest.
$ac_objext conftest
$ac_exeext
34192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34193 (eval $ac_link) 2>conftest.er1
34195 grep -v '^ *+' conftest.er1
>conftest.err
34197 cat conftest.err
>&5
34198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34199 (exit $ac_status); } &&
34200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34202 (eval $ac_try) 2>&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); }; } &&
34206 { ac_try
='test -s conftest$ac_exeext'
34207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34208 (eval $ac_try) 2>&5
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); }; }; then
34212 ac_cv_func_sched_yield
=yes
34214 echo "$as_me: failed program was:" >&5
34215 sed 's/^/| /' conftest.
$ac_ext >&5
34217 ac_cv_func_sched_yield
=no
34219 rm -f conftest.err conftest.
$ac_objext \
34220 conftest
$ac_exeext conftest.
$ac_ext
34222 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34223 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34224 if test $ac_cv_func_sched_yield = yes; then
34225 cat >>confdefs.h
<<\_ACEOF
34226 #define HAVE_SCHED_YIELD 1
34231 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34232 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34233 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34236 ac_check_lib_save_LIBS
=$LIBS
34237 LIBS
="-lposix4 $LIBS"
34238 cat >conftest.
$ac_ext <<_ACEOF
34241 cat confdefs.h
>>conftest.
$ac_ext
34242 cat >>conftest.
$ac_ext <<_ACEOF
34243 /* end confdefs.h. */
34245 /* Override any gcc2 internal prototype to avoid an error. */
34249 /* We use char because int might match the return type of a gcc2
34250 builtin and then its argument prototype would still apply. */
34251 char sched_yield ();
34260 rm -f conftest.
$ac_objext conftest
$ac_exeext
34261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34262 (eval $ac_link) 2>conftest.er1
34264 grep -v '^ *+' conftest.er1
>conftest.err
34266 cat conftest.err
>&5
34267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34268 (exit $ac_status); } &&
34269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34271 (eval $ac_try) 2>&5
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); }; } &&
34275 { ac_try
='test -s conftest$ac_exeext'
34276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34277 (eval $ac_try) 2>&5
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); }; }; then
34281 ac_cv_lib_posix4_sched_yield
=yes
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.
$ac_ext >&5
34286 ac_cv_lib_posix4_sched_yield
=no
34288 rm -f conftest.err conftest.
$ac_objext \
34289 conftest
$ac_exeext conftest.
$ac_ext
34290 LIBS
=$ac_check_lib_save_LIBS
34292 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34293 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34294 if test $ac_cv_lib_posix4_sched_yield = yes; then
34295 cat >>confdefs.h
<<\_ACEOF
34296 #define HAVE_SCHED_YIELD 1
34298 POSIX4_LINK
=" -lposix4"
34300 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34301 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34312 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34313 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34314 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34315 echo $ECHO_N "(cached) $ECHO_C" >&6
34317 cat >conftest.
$ac_ext <<_ACEOF
34320 cat confdefs.h
>>conftest.
$ac_ext
34321 cat >>conftest.
$ac_ext <<_ACEOF
34322 /* end confdefs.h. */
34323 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34325 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34327 /* System header to define __stub macros and hopefully few prototypes,
34328 which can conflict with char pthread_attr_getschedpolicy (); below.
34329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34330 <limits.h> exists even on freestanding compilers. */
34333 # include <limits.h>
34335 # include <assert.h>
34338 #undef pthread_attr_getschedpolicy
34340 /* Override any gcc2 internal prototype to avoid an error. */
34345 /* We use char because int might match the return type of a gcc2
34346 builtin and then its argument prototype would still apply. */
34347 char pthread_attr_getschedpolicy ();
34348 /* The GNU C library defines this for functions which it implements
34349 to always fail with ENOSYS. Some functions are actually named
34350 something starting with __ and the normal name is an alias. */
34351 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34354 char (*f) () = pthread_attr_getschedpolicy;
34363 return f != pthread_attr_getschedpolicy;
34368 rm -f conftest.
$ac_objext conftest
$ac_exeext
34369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34370 (eval $ac_link) 2>conftest.er1
34372 grep -v '^ *+' conftest.er1
>conftest.err
34374 cat conftest.err
>&5
34375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34376 (exit $ac_status); } &&
34377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34379 (eval $ac_try) 2>&5
34381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382 (exit $ac_status); }; } &&
34383 { ac_try
='test -s conftest$ac_exeext'
34384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34385 (eval $ac_try) 2>&5
34387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34388 (exit $ac_status); }; }; then
34389 ac_cv_func_pthread_attr_getschedpolicy
=yes
34391 echo "$as_me: failed program was:" >&5
34392 sed 's/^/| /' conftest.
$ac_ext >&5
34394 ac_cv_func_pthread_attr_getschedpolicy
=no
34396 rm -f conftest.err conftest.
$ac_objext \
34397 conftest
$ac_exeext conftest.
$ac_ext
34399 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34400 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34401 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34402 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34403 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34404 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34405 echo $ECHO_N "(cached) $ECHO_C" >&6
34407 cat >conftest.
$ac_ext <<_ACEOF
34410 cat confdefs.h
>>conftest.
$ac_ext
34411 cat >>conftest.
$ac_ext <<_ACEOF
34412 /* end confdefs.h. */
34413 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34415 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34417 /* System header to define __stub macros and hopefully few prototypes,
34418 which can conflict with char pthread_attr_setschedparam (); below.
34419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34420 <limits.h> exists even on freestanding compilers. */
34423 # include <limits.h>
34425 # include <assert.h>
34428 #undef pthread_attr_setschedparam
34430 /* Override any gcc2 internal prototype to avoid an error. */
34435 /* We use char because int might match the return type of a gcc2
34436 builtin and then its argument prototype would still apply. */
34437 char pthread_attr_setschedparam ();
34438 /* The GNU C library defines this for functions which it implements
34439 to always fail with ENOSYS. Some functions are actually named
34440 something starting with __ and the normal name is an alias. */
34441 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34444 char (*f) () = pthread_attr_setschedparam;
34453 return f != pthread_attr_setschedparam;
34458 rm -f conftest.
$ac_objext conftest
$ac_exeext
34459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34460 (eval $ac_link) 2>conftest.er1
34462 grep -v '^ *+' conftest.er1
>conftest.err
34464 cat conftest.err
>&5
34465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34466 (exit $ac_status); } &&
34467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34469 (eval $ac_try) 2>&5
34471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472 (exit $ac_status); }; } &&
34473 { ac_try
='test -s conftest$ac_exeext'
34474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34475 (eval $ac_try) 2>&5
34477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478 (exit $ac_status); }; }; then
34479 ac_cv_func_pthread_attr_setschedparam
=yes
34481 echo "$as_me: failed program was:" >&5
34482 sed 's/^/| /' conftest.
$ac_ext >&5
34484 ac_cv_func_pthread_attr_setschedparam
=no
34486 rm -f conftest.err conftest.
$ac_objext \
34487 conftest
$ac_exeext conftest.
$ac_ext
34489 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34490 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34491 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34492 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34493 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34494 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34495 echo $ECHO_N "(cached) $ECHO_C" >&6
34497 cat >conftest.
$ac_ext <<_ACEOF
34500 cat confdefs.h
>>conftest.
$ac_ext
34501 cat >>conftest.
$ac_ext <<_ACEOF
34502 /* end confdefs.h. */
34503 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34505 #define sched_get_priority_max innocuous_sched_get_priority_max
34507 /* System header to define __stub macros and hopefully few prototypes,
34508 which can conflict with char sched_get_priority_max (); below.
34509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34510 <limits.h> exists even on freestanding compilers. */
34513 # include <limits.h>
34515 # include <assert.h>
34518 #undef sched_get_priority_max
34520 /* Override any gcc2 internal prototype to avoid an error. */
34525 /* We use char because int might match the return type of a gcc2
34526 builtin and then its argument prototype would still apply. */
34527 char sched_get_priority_max ();
34528 /* The GNU C library defines this for functions which it implements
34529 to always fail with ENOSYS. Some functions are actually named
34530 something starting with __ and the normal name is an alias. */
34531 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34534 char (*f) () = sched_get_priority_max;
34543 return f != sched_get_priority_max;
34548 rm -f conftest.
$ac_objext conftest
$ac_exeext
34549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34550 (eval $ac_link) 2>conftest.er1
34552 grep -v '^ *+' conftest.er1
>conftest.err
34554 cat conftest.err
>&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); } &&
34557 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34559 (eval $ac_try) 2>&5
34561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34562 (exit $ac_status); }; } &&
34563 { ac_try
='test -s conftest$ac_exeext'
34564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34565 (eval $ac_try) 2>&5
34567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34568 (exit $ac_status); }; }; then
34569 ac_cv_func_sched_get_priority_max
=yes
34571 echo "$as_me: failed program was:" >&5
34572 sed 's/^/| /' conftest.
$ac_ext >&5
34574 ac_cv_func_sched_get_priority_max
=no
34576 rm -f conftest.err conftest.
$ac_objext \
34577 conftest
$ac_exeext conftest.
$ac_ext
34579 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34580 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34581 if test $ac_cv_func_sched_get_priority_max = yes; then
34584 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34585 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34586 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34589 ac_check_lib_save_LIBS
=$LIBS
34590 LIBS
="-lposix4 $LIBS"
34591 cat >conftest.
$ac_ext <<_ACEOF
34594 cat confdefs.h
>>conftest.
$ac_ext
34595 cat >>conftest.
$ac_ext <<_ACEOF
34596 /* end confdefs.h. */
34598 /* Override any gcc2 internal prototype to avoid an error. */
34602 /* We use char because int might match the return type of a gcc2
34603 builtin and then its argument prototype would still apply. */
34604 char sched_get_priority_max ();
34608 sched_get_priority_max ();
34613 rm -f conftest.
$ac_objext conftest
$ac_exeext
34614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34615 (eval $ac_link) 2>conftest.er1
34617 grep -v '^ *+' conftest.er1
>conftest.err
34619 cat conftest.err
>&5
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); } &&
34622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34624 (eval $ac_try) 2>&5
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); }; } &&
34628 { ac_try
='test -s conftest$ac_exeext'
34629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34630 (eval $ac_try) 2>&5
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); }; }; then
34634 ac_cv_lib_posix4_sched_get_priority_max
=yes
34636 echo "$as_me: failed program was:" >&5
34637 sed 's/^/| /' conftest.
$ac_ext >&5
34639 ac_cv_lib_posix4_sched_get_priority_max
=no
34641 rm -f conftest.err conftest.
$ac_objext \
34642 conftest
$ac_exeext conftest.
$ac_ext
34643 LIBS
=$ac_check_lib_save_LIBS
34645 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34646 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34647 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34650 POSIX4_LINK
=" -lposix4"
34664 if test "$HAVE_PRIOR_FUNCS" = 1; then
34665 cat >>confdefs.h
<<\_ACEOF
34666 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34670 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34671 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34674 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34675 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34676 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34677 echo $ECHO_N "(cached) $ECHO_C" >&6
34679 cat >conftest.
$ac_ext <<_ACEOF
34682 cat confdefs.h
>>conftest.
$ac_ext
34683 cat >>conftest.
$ac_ext <<_ACEOF
34684 /* end confdefs.h. */
34685 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34687 #define pthread_cancel innocuous_pthread_cancel
34689 /* System header to define __stub macros and hopefully few prototypes,
34690 which can conflict with char pthread_cancel (); below.
34691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34692 <limits.h> exists even on freestanding compilers. */
34695 # include <limits.h>
34697 # include <assert.h>
34700 #undef pthread_cancel
34702 /* Override any gcc2 internal prototype to avoid an error. */
34707 /* We use char because int might match the return type of a gcc2
34708 builtin and then its argument prototype would still apply. */
34709 char pthread_cancel ();
34710 /* The GNU C library defines this for functions which it implements
34711 to always fail with ENOSYS. Some functions are actually named
34712 something starting with __ and the normal name is an alias. */
34713 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34716 char (*f) () = pthread_cancel;
34725 return f != pthread_cancel;
34730 rm -f conftest.
$ac_objext conftest
$ac_exeext
34731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34732 (eval $ac_link) 2>conftest.er1
34734 grep -v '^ *+' conftest.er1
>conftest.err
34736 cat conftest.err
>&5
34737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34738 (exit $ac_status); } &&
34739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34741 (eval $ac_try) 2>&5
34743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744 (exit $ac_status); }; } &&
34745 { ac_try
='test -s conftest$ac_exeext'
34746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34747 (eval $ac_try) 2>&5
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); }; }; then
34751 ac_cv_func_pthread_cancel
=yes
34753 echo "$as_me: failed program was:" >&5
34754 sed 's/^/| /' conftest.
$ac_ext >&5
34756 ac_cv_func_pthread_cancel
=no
34758 rm -f conftest.err conftest.
$ac_objext \
34759 conftest
$ac_exeext conftest.
$ac_ext
34761 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34762 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34763 if test $ac_cv_func_pthread_cancel = yes; then
34764 cat >>confdefs.h
<<\_ACEOF
34765 #define HAVE_PTHREAD_CANCEL 1
34769 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34770 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34776 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34777 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34778 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34779 echo $ECHO_N "(cached) $ECHO_C" >&6
34782 cat >conftest.
$ac_ext <<_ACEOF
34785 cat confdefs.h
>>conftest.
$ac_ext
34786 cat >>conftest.
$ac_ext <<_ACEOF
34787 /* end confdefs.h. */
34788 #include <pthread.h>
34793 pthread_mutexattr_t attr;
34794 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34800 rm -f conftest.
$ac_objext
34801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34802 (eval $ac_compile) 2>conftest.er1
34804 grep -v '^ *+' conftest.er1
>conftest.err
34806 cat conftest.err
>&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); } &&
34809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; } &&
34815 { ac_try
='test -s conftest.$ac_objext'
34816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817 (eval $ac_try) 2>&5
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); }; }; then
34822 wx_cv_type_pthread_mutexattr_t
=yes
34825 echo "$as_me: failed program was:" >&5
34826 sed 's/^/| /' conftest.
$ac_ext >&5
34829 wx_cv_type_pthread_mutexattr_t
=no
34833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34836 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34837 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34839 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34840 cat >>confdefs.h
<<\_ACEOF
34841 #define HAVE_PTHREAD_MUTEXATTR_T 1
34845 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34846 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34847 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34848 echo $ECHO_N "(cached) $ECHO_C" >&6
34851 cat >conftest.
$ac_ext <<_ACEOF
34854 cat confdefs.h
>>conftest.
$ac_ext
34855 cat >>conftest.
$ac_ext <<_ACEOF
34856 /* end confdefs.h. */
34857 #include <pthread.h>
34862 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34868 rm -f conftest.
$ac_objext
34869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34870 (eval $ac_compile) 2>conftest.er1
34872 grep -v '^ *+' conftest.er1
>conftest.err
34874 cat conftest.err
>&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); } &&
34877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34879 (eval $ac_try) 2>&5
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); }; } &&
34883 { ac_try
='test -s conftest.$ac_objext'
34884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34885 (eval $ac_try) 2>&5
34887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888 (exit $ac_status); }; }; then
34890 wx_cv_type_pthread_rec_mutex_init
=yes
34893 echo "$as_me: failed program was:" >&5
34894 sed 's/^/| /' conftest.
$ac_ext >&5
34897 wx_cv_type_pthread_rec_mutex_init
=no
34901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34904 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34905 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34906 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34907 cat >>confdefs.h
<<\_ACEOF
34908 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34912 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34913 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34919 if test "$wxUSE_THREADS" = "yes" ; then
34922 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34923 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34924 if test "${wx_cv_cflags_mthread+set}" = set; then
34925 echo $ECHO_N "(cached) $ECHO_C" >&6
34928 CFLAGS_OLD
="$CFLAGS"
34929 CFLAGS
="$CFLAGS -mthreads"
34930 cat >conftest.
$ac_ext <<_ACEOF
34933 cat confdefs.h
>>conftest.
$ac_ext
34934 cat >>conftest.
$ac_ext <<_ACEOF
34935 /* end confdefs.h. */
34945 rm -f conftest.
$ac_objext
34946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34947 (eval $ac_compile) 2>conftest.er1
34949 grep -v '^ *+' conftest.er1
>conftest.err
34951 cat conftest.err
>&5
34952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34953 (exit $ac_status); } &&
34954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34956 (eval $ac_try) 2>&5
34958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34959 (exit $ac_status); }; } &&
34960 { ac_try
='test -s conftest.$ac_objext'
34961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34962 (eval $ac_try) 2>&5
34964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965 (exit $ac_status); }; }; then
34966 wx_cv_cflags_mthread
=yes
34968 echo "$as_me: failed program was:" >&5
34969 sed 's/^/| /' conftest.
$ac_ext >&5
34971 wx_cv_cflags_mthread
=no
34974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34978 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34979 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34981 if test "$wx_cv_cflags_mthread" = "yes"; then
34982 CXXFLAGS
="$CXXFLAGS -mthreads"
34983 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
34984 LDFLAGS
="$LDFLAGS -mthreads"
34986 CFLAGS
="$CFLAGS_OLD"
34990 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34991 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34992 LDFLAGS
="$LDFLAGS -Zmt"
34998 if test "$wxUSE_THREADS" = "yes"; then
34999 cat >>confdefs.h
<<\_ACEOF
35000 #define wxUSE_THREADS 1
35004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
35006 if test "$ac_cv_func_strtok_r" = "yes"; then
35007 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35008 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35009 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35010 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
35011 echo "$as_me:$LINENO: result: yes" >&5
35012 echo "${ECHO_T}yes" >&6
35014 echo "$as_me:$LINENO: result: no" >&5
35015 echo "${ECHO_T}no" >&6
35020 if test "$WXGTK20" = 1 ; then
35021 cat >>confdefs.h
<<_ACEOF
35022 #define __WXGTK20__ $WXGTK20
35028 if test "$WXGTK12" = 1 ; then
35029 cat >>confdefs.h
<<_ACEOF
35030 #define __WXGTK12__ $WXGTK12
35035 if test "$WXGTK127" = 1 ; then
35036 cat >>confdefs.h
<<_ACEOF
35037 #define __WXGTK127__ $WXGTK127
35042 if test "$WXGPE" = 1 ; then
35043 cat >>confdefs.h
<<_ACEOF
35044 #define __WXGPE__ $WXGPE
35051 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35056 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35057 wxUSE_DEBUG_INFO
=yes
35061 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35062 cat >>confdefs.h
<<\_ACEOF
35066 WXDEBUG_DEFINE
="-D__WXDEBUG__"
35068 if test "$wxUSE_GTK" = 1 ; then
35069 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
35073 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35074 cat >>confdefs.h
<<\_ACEOF
35075 #define wxUSE_MEMORY_TRACING 1
35078 cat >>confdefs.h
<<\_ACEOF
35079 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35082 cat >>confdefs.h
<<\_ACEOF
35083 #define wxUSE_DEBUG_NEW_ALWAYS 1
35086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
35089 if test "$wxUSE_DMALLOC" = "yes" ; then
35090 DMALLOC_LIBS
="-ldmalloc"
35094 if test "$wxUSE_PROFILE" = "yes" ; then
35099 CODE_GEN_FLAGS_CXX
=
35100 if test "$GCC" = "yes" ; then
35101 if test "$wxUSE_NO_RTTI" = "yes" ; then
35102 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
35104 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35105 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35107 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35108 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
35113 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
35116 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
35122 if test "$wxUSE_OPTIMISE" = "no" ; then
35123 if test "$GCC" = yes ; then
35127 if test "$GCC" = yes ; then
35131 i586
-*-*|i686
-*-* )
35132 OPTIMISE
="${OPTIMISE} "
35141 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35142 cat >>confdefs.h
<<\_ACEOF
35143 #define WXWIN_COMPATIBILITY_2_2 1
35147 WXWIN_COMPATIBILITY_2_4
="yes"
35150 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35151 cat >>confdefs.h
<<\_ACEOF
35152 #define WXWIN_COMPATIBILITY_2_4 1
35158 if test "$wxUSE_GUI" = "yes"; then
35159 cat >>confdefs.h
<<\_ACEOF
35160 #define wxUSE_GUI 1
35167 if test "$wxUSE_UNIX" = "yes"; then
35168 cat >>confdefs.h
<<\_ACEOF
35169 #define wxUSE_UNIX 1
35175 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35179 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35180 if test "$USE_DARWIN" = 1; then
35184 for ac_func
in dlopen
35186 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35187 echo "$as_me:$LINENO: checking for $ac_func" >&5
35188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35189 if eval "test \"\${$as_ac_var+set}\" = set"; then
35190 echo $ECHO_N "(cached) $ECHO_C" >&6
35192 cat >conftest.
$ac_ext <<_ACEOF
35195 cat confdefs.h
>>conftest.
$ac_ext
35196 cat >>conftest.
$ac_ext <<_ACEOF
35197 /* end confdefs.h. */
35198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35200 #define $ac_func innocuous_$ac_func
35202 /* System header to define __stub macros and hopefully few prototypes,
35203 which can conflict with char $ac_func (); below.
35204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35205 <limits.h> exists even on freestanding compilers. */
35208 # include <limits.h>
35210 # include <assert.h>
35215 /* Override any gcc2 internal prototype to avoid an error. */
35220 /* We use char because int might match the return type of a gcc2
35221 builtin and then its argument prototype would still apply. */
35223 /* The GNU C library defines this for functions which it implements
35224 to always fail with ENOSYS. Some functions are actually named
35225 something starting with __ and the normal name is an alias. */
35226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35229 char (*f) () = $ac_func;
35238 return f != $ac_func;
35243 rm -f conftest.
$ac_objext conftest
$ac_exeext
35244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35245 (eval $ac_link) 2>conftest.er1
35247 grep -v '^ *+' conftest.er1
>conftest.err
35249 cat conftest.err
>&5
35250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35251 (exit $ac_status); } &&
35252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35254 (eval $ac_try) 2>&5
35256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35257 (exit $ac_status); }; } &&
35258 { ac_try
='test -s conftest$ac_exeext'
35259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35260 (eval $ac_try) 2>&5
35262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263 (exit $ac_status); }; }; then
35264 eval "$as_ac_var=yes"
35266 echo "$as_me: failed program was:" >&5
35267 sed 's/^/| /' conftest.
$ac_ext >&5
35269 eval "$as_ac_var=no"
35271 rm -f conftest.err conftest.
$ac_objext \
35272 conftest
$ac_exeext conftest.
$ac_ext
35274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35276 if test `eval echo '${'$as_ac_var'}'` = yes; then
35277 cat >>confdefs.h
<<_ACEOF
35278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35281 cat >>confdefs.h
<<\_ACEOF
35282 #define HAVE_DLOPEN 1
35289 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35290 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35291 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35292 echo $ECHO_N "(cached) $ECHO_C" >&6
35294 ac_check_lib_save_LIBS
=$LIBS
35296 cat >conftest.
$ac_ext <<_ACEOF
35299 cat confdefs.h
>>conftest.
$ac_ext
35300 cat >>conftest.
$ac_ext <<_ACEOF
35301 /* end confdefs.h. */
35303 /* Override any gcc2 internal prototype to avoid an error. */
35307 /* We use char because int might match the return type of a gcc2
35308 builtin and then its argument prototype would still apply. */
35318 rm -f conftest.
$ac_objext conftest
$ac_exeext
35319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35320 (eval $ac_link) 2>conftest.er1
35322 grep -v '^ *+' conftest.er1
>conftest.err
35324 cat conftest.err
>&5
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); } &&
35327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35329 (eval $ac_try) 2>&5
35331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35332 (exit $ac_status); }; } &&
35333 { ac_try
='test -s conftest$ac_exeext'
35334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35335 (eval $ac_try) 2>&5
35337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35338 (exit $ac_status); }; }; then
35339 ac_cv_lib_dl_dlopen
=yes
35341 echo "$as_me: failed program was:" >&5
35342 sed 's/^/| /' conftest.
$ac_ext >&5
35344 ac_cv_lib_dl_dlopen
=no
35346 rm -f conftest.err conftest.
$ac_objext \
35347 conftest
$ac_exeext conftest.
$ac_ext
35348 LIBS
=$ac_check_lib_save_LIBS
35350 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35351 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35352 if test $ac_cv_lib_dl_dlopen = yes; then
35354 cat >>confdefs.h
<<\_ACEOF
35355 #define HAVE_DLOPEN 1
35359 DL_LINK
=" -ldl$DL_LINK"
35364 for ac_func
in shl_load
35366 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35367 echo "$as_me:$LINENO: checking for $ac_func" >&5
35368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35369 if eval "test \"\${$as_ac_var+set}\" = set"; then
35370 echo $ECHO_N "(cached) $ECHO_C" >&6
35372 cat >conftest.
$ac_ext <<_ACEOF
35375 cat confdefs.h
>>conftest.
$ac_ext
35376 cat >>conftest.
$ac_ext <<_ACEOF
35377 /* end confdefs.h. */
35378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35380 #define $ac_func innocuous_$ac_func
35382 /* System header to define __stub macros and hopefully few prototypes,
35383 which can conflict with char $ac_func (); below.
35384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35385 <limits.h> exists even on freestanding compilers. */
35388 # include <limits.h>
35390 # include <assert.h>
35395 /* Override any gcc2 internal prototype to avoid an error. */
35400 /* We use char because int might match the return type of a gcc2
35401 builtin and then its argument prototype would still apply. */
35403 /* The GNU C library defines this for functions which it implements
35404 to always fail with ENOSYS. Some functions are actually named
35405 something starting with __ and the normal name is an alias. */
35406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35409 char (*f) () = $ac_func;
35418 return f != $ac_func;
35423 rm -f conftest.
$ac_objext conftest
$ac_exeext
35424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35425 (eval $ac_link) 2>conftest.er1
35427 grep -v '^ *+' conftest.er1
>conftest.err
35429 cat conftest.err
>&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } &&
35432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35434 (eval $ac_try) 2>&5
35436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 (exit $ac_status); }; } &&
35438 { ac_try
='test -s conftest$ac_exeext'
35439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35440 (eval $ac_try) 2>&5
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); }; }; then
35444 eval "$as_ac_var=yes"
35446 echo "$as_me: failed program was:" >&5
35447 sed 's/^/| /' conftest.
$ac_ext >&5
35449 eval "$as_ac_var=no"
35451 rm -f conftest.err conftest.
$ac_objext \
35452 conftest
$ac_exeext conftest.
$ac_ext
35454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35456 if test `eval echo '${'$as_ac_var'}'` = yes; then
35457 cat >>confdefs.h
<<_ACEOF
35458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35461 cat >>confdefs.h
<<\_ACEOF
35462 #define HAVE_SHL_LOAD 1
35469 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35470 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35471 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35472 echo $ECHO_N "(cached) $ECHO_C" >&6
35474 ac_check_lib_save_LIBS
=$LIBS
35475 LIBS
="-lshl_load $LIBS"
35476 cat >conftest.
$ac_ext <<_ACEOF
35479 cat confdefs.h
>>conftest.
$ac_ext
35480 cat >>conftest.
$ac_ext <<_ACEOF
35481 /* end confdefs.h. */
35483 /* Override any gcc2 internal prototype to avoid an error. */
35487 /* We use char because int might match the return type of a gcc2
35488 builtin and then its argument prototype would still apply. */
35498 rm -f conftest.
$ac_objext conftest
$ac_exeext
35499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35500 (eval $ac_link) 2>conftest.er1
35502 grep -v '^ *+' conftest.er1
>conftest.err
35504 cat conftest.err
>&5
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); } &&
35507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35509 (eval $ac_try) 2>&5
35511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35512 (exit $ac_status); }; } &&
35513 { ac_try
='test -s conftest$ac_exeext'
35514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35515 (eval $ac_try) 2>&5
35517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35518 (exit $ac_status); }; }; then
35519 ac_cv_lib_shl_load_dld
=yes
35521 echo "$as_me: failed program was:" >&5
35522 sed 's/^/| /' conftest.
$ac_ext >&5
35524 ac_cv_lib_shl_load_dld
=no
35526 rm -f conftest.err conftest.
$ac_objext \
35527 conftest
$ac_exeext conftest.
$ac_ext
35528 LIBS
=$ac_check_lib_save_LIBS
35530 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35531 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35532 if test $ac_cv_lib_shl_load_dld = yes; then
35535 DL_LINK
=" -ldld$DL_LINK"
35551 if test "$HAVE_DL_FUNCS" = 1; then
35553 for ac_func
in dlerror
35555 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35556 echo "$as_me:$LINENO: checking for $ac_func" >&5
35557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35558 if eval "test \"\${$as_ac_var+set}\" = set"; then
35559 echo $ECHO_N "(cached) $ECHO_C" >&6
35561 cat >conftest.
$ac_ext <<_ACEOF
35564 cat confdefs.h
>>conftest.
$ac_ext
35565 cat >>conftest.
$ac_ext <<_ACEOF
35566 /* end confdefs.h. */
35567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35569 #define $ac_func innocuous_$ac_func
35571 /* System header to define __stub macros and hopefully few prototypes,
35572 which can conflict with char $ac_func (); below.
35573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35574 <limits.h> exists even on freestanding compilers. */
35577 # include <limits.h>
35579 # include <assert.h>
35584 /* Override any gcc2 internal prototype to avoid an error. */
35589 /* We use char because int might match the return type of a gcc2
35590 builtin and then its argument prototype would still apply. */
35592 /* The GNU C library defines this for functions which it implements
35593 to always fail with ENOSYS. Some functions are actually named
35594 something starting with __ and the normal name is an alias. */
35595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35598 char (*f) () = $ac_func;
35607 return f != $ac_func;
35612 rm -f conftest.
$ac_objext conftest
$ac_exeext
35613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35614 (eval $ac_link) 2>conftest.er1
35616 grep -v '^ *+' conftest.er1
>conftest.err
35618 cat conftest.err
>&5
35619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35620 (exit $ac_status); } &&
35621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35623 (eval $ac_try) 2>&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); }; } &&
35627 { ac_try
='test -s conftest$ac_exeext'
35628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35629 (eval $ac_try) 2>&5
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); }; }; then
35633 eval "$as_ac_var=yes"
35635 echo "$as_me: failed program was:" >&5
35636 sed 's/^/| /' conftest.
$ac_ext >&5
35638 eval "$as_ac_var=no"
35640 rm -f conftest.err conftest.
$ac_objext \
35641 conftest
$ac_exeext conftest.
$ac_ext
35643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35645 if test `eval echo '${'$as_ac_var'}'` = yes; then
35646 cat >>confdefs.h
<<_ACEOF
35647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35649 cat >>confdefs.h
<<\_ACEOF
35650 #define HAVE_DLERROR 1
35655 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35656 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35657 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35658 echo $ECHO_N "(cached) $ECHO_C" >&6
35660 ac_check_lib_save_LIBS
=$LIBS
35662 cat >conftest.
$ac_ext <<_ACEOF
35665 cat confdefs.h
>>conftest.
$ac_ext
35666 cat >>conftest.
$ac_ext <<_ACEOF
35667 /* end confdefs.h. */
35669 /* Override any gcc2 internal prototype to avoid an error. */
35673 /* We use char because int might match the return type of a gcc2
35674 builtin and then its argument prototype would still apply. */
35684 rm -f conftest.
$ac_objext conftest
$ac_exeext
35685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35686 (eval $ac_link) 2>conftest.er1
35688 grep -v '^ *+' conftest.er1
>conftest.err
35690 cat conftest.err
>&5
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); } &&
35693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35695 (eval $ac_try) 2>&5
35697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35698 (exit $ac_status); }; } &&
35699 { ac_try
='test -s conftest$ac_exeext'
35700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35701 (eval $ac_try) 2>&5
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); }; }; then
35705 ac_cv_lib_dl_dlerror
=yes
35707 echo "$as_me: failed program was:" >&5
35708 sed 's/^/| /' conftest.
$ac_ext >&5
35710 ac_cv_lib_dl_dlerror
=no
35712 rm -f conftest.err conftest.
$ac_objext \
35713 conftest
$ac_exeext conftest.
$ac_ext
35714 LIBS
=$ac_check_lib_save_LIBS
35716 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35717 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35718 if test $ac_cv_lib_dl_dlerror = yes; then
35719 cat >>confdefs.h
<<\_ACEOF
35720 #define HAVE_DLERROR 1
35733 if test "$HAVE_DL_FUNCS" = 0; then
35734 if test "$HAVE_SHL_FUNCS" = 0; then
35735 if test "$USE_UNIX" = 1; then
35736 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35737 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35738 wxUSE_DYNAMIC_LOADER
=no
35739 wxUSE_DYNLIB_CLASS
=no
35741 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35742 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35749 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35750 cat >>confdefs.h
<<\_ACEOF
35751 #define wxUSE_DYNAMIC_LOADER 1
35755 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35756 cat >>confdefs.h
<<\_ACEOF
35757 #define wxUSE_DYNLIB_CLASS 1
35764 if test "$wxUSE_PLUGINS" = "yes" ; then
35765 if test "$wxUSE_SHARED" = "no" ; then
35766 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35767 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35770 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35771 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35772 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35775 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35776 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35777 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35780 if test "$wxUSE_PLUGINS" = "yes" ; then
35781 cat >>confdefs.h
<<\_ACEOF
35782 #define wxUSE_PLUGINS 1
35789 if test "$wxUSE_STL" = "yes"; then
35790 cat >>confdefs.h
<<\_ACEOF
35791 #define wxUSE_STL 1
35796 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35797 cat >>confdefs.h
<<\_ACEOF
35798 #define wxUSE_APPLE_IEEE 1
35803 if test "$wxUSE_TIMER" = "yes"; then
35804 cat >>confdefs.h
<<\_ACEOF
35805 #define wxUSE_TIMER 1
35811 if test "$wxUSE_SOUND" = "yes"; then
35812 if test "$USE_UNIX" = "1" ; then
35814 for ac_header
in sys
/soundcard.h
35816 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35818 echo "$as_me:$LINENO: checking for $ac_header" >&5
35819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35821 echo $ECHO_N "(cached) $ECHO_C" >&6
35823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35826 # Is the header compilable?
35827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35829 cat >conftest.
$ac_ext <<_ACEOF
35832 cat confdefs.h
>>conftest.
$ac_ext
35833 cat >>conftest.
$ac_ext <<_ACEOF
35834 /* end confdefs.h. */
35835 $ac_includes_default
35836 #include <$ac_header>
35838 rm -f conftest.
$ac_objext
35839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35840 (eval $ac_compile) 2>conftest.er1
35842 grep -v '^ *+' conftest.er1
>conftest.err
35844 cat conftest.err
>&5
35845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35846 (exit $ac_status); } &&
35847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35849 (eval $ac_try) 2>&5
35851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35852 (exit $ac_status); }; } &&
35853 { ac_try
='test -s conftest.$ac_objext'
35854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35855 (eval $ac_try) 2>&5
35857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35858 (exit $ac_status); }; }; then
35859 ac_header_compiler
=yes
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.
$ac_ext >&5
35864 ac_header_compiler
=no
35866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35868 echo "${ECHO_T}$ac_header_compiler" >&6
35870 # Is the header present?
35871 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35873 cat >conftest.
$ac_ext <<_ACEOF
35876 cat confdefs.h
>>conftest.
$ac_ext
35877 cat >>conftest.
$ac_ext <<_ACEOF
35878 /* end confdefs.h. */
35879 #include <$ac_header>
35881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35882 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35884 grep -v '^ *+' conftest.er1
>conftest.err
35886 cat conftest.err
>&5
35887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888 (exit $ac_status); } >/dev
/null
; then
35889 if test -s conftest.err
; then
35890 ac_cpp_err
=$ac_c_preproc_warn_flag
35891 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35898 if test -z "$ac_cpp_err"; then
35899 ac_header_preproc
=yes
35901 echo "$as_me: failed program was:" >&5
35902 sed 's/^/| /' conftest.
$ac_ext >&5
35904 ac_header_preproc
=no
35906 rm -f conftest.err conftest.
$ac_ext
35907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35908 echo "${ECHO_T}$ac_header_preproc" >&6
35910 # So? What about this header?
35911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35917 ac_header_preproc
=yes
35920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35924 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35926 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35927 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35930 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35934 ## ----------------------------------------- ##
35935 ## Report this to wx-dev@lists.wxwidgets.org ##
35936 ## ----------------------------------------- ##
35939 sed "s/^/$as_me: WARNING: /" >&2
35942 echo "$as_me:$LINENO: checking for $ac_header" >&5
35943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35945 echo $ECHO_N "(cached) $ECHO_C" >&6
35947 eval "$as_ac_Header=\$ac_header_preproc"
35949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35954 cat >>confdefs.h
<<_ACEOF
35955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35963 if test "$wxUSE_LIBSDL" != "no"; then
35965 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35966 if test "${with_sdl_prefix+set}" = set; then
35967 withval
="$with_sdl_prefix"
35968 sdl_prefix
="$withval"
35973 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35974 if test "${with_sdl_exec_prefix+set}" = set; then
35975 withval
="$with_sdl_exec_prefix"
35976 sdl_exec_prefix
="$withval"
35980 # Check whether --enable-sdltest or --disable-sdltest was given.
35981 if test "${enable_sdltest+set}" = set; then
35982 enableval
="$enable_sdltest"
35988 if test x
$sdl_exec_prefix != x
; then
35989 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
35990 if test x
${SDL_CONFIG+set} != xset
; then
35991 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
35994 if test x
$sdl_prefix != x
; then
35995 sdl_args
="$sdl_args --prefix=$sdl_prefix"
35996 if test x
${SDL_CONFIG+set} != xset
; then
35997 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
36002 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
36003 # Extract the first word of "sdl-config", so it can be a program name with args.
36004 set dummy sdl
-config; ac_word
=$2
36005 echo "$as_me:$LINENO: checking for $ac_word" >&5
36006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36007 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36008 echo $ECHO_N "(cached) $ECHO_C" >&6
36010 case $SDL_CONFIG in
36012 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
36015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36016 for as_dir
in $PATH
36019 test -z "$as_dir" && as_dir
=.
36020 for ac_exec_ext
in '' $ac_executable_extensions; do
36021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36022 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36029 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
36033 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
36035 if test -n "$SDL_CONFIG"; then
36036 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36037 echo "${ECHO_T}$SDL_CONFIG" >&6
36039 echo "$as_me:$LINENO: result: no" >&5
36040 echo "${ECHO_T}no" >&6
36043 min_sdl_version
=1.2.0
36044 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36045 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36047 if test "$SDL_CONFIG" = "no" ; then
36050 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
36051 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
36053 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
36054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36055 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
36056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36057 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
36058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36059 if test "x$enable_sdltest" = "xyes" ; then
36060 ac_save_CFLAGS
="$CFLAGS"
36061 ac_save_CXXFLAGS
="$CXXFLAGS"
36062 ac_save_LIBS
="$LIBS"
36063 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36064 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36065 LIBS
="$LIBS $SDL_LIBS"
36067 if test "$cross_compiling" = yes; then
36068 echo $ac_n "cross compiling; assumed OK... $ac_c"
36070 cat >conftest.
$ac_ext <<_ACEOF
36073 cat confdefs.h
>>conftest.
$ac_ext
36074 cat >>conftest.
$ac_ext <<_ACEOF
36075 /* end confdefs.h. */
36078 #include <stdlib.h>
36079 #include <string.h>
36083 my_strdup (char *str)
36089 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36090 strcpy (new_str, str);
36098 int main (int argc, char *argv[])
36100 int major, minor, micro;
36103 /* This hangs on some systems (?)
36104 system ("touch conf.sdltest");
36106 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36108 /* HP/UX 9 (%@#!) writes to sscanf strings */
36109 tmp_version = my_strdup("$min_sdl_version");
36110 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
36111 printf("%s, bad version string\n", "$min_sdl_version");
36115 if (($sdl_major_version > major) ||
36116 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36117 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36123 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36124 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36125 printf("*** best to upgrade to the required version.\n");
36126 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36127 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36128 printf("*** config.cache before re-running configure\n");
36135 rm -f conftest
$ac_exeext
36136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36137 (eval $ac_link) 2>&5
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142 (eval $ac_try) 2>&5
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); }; }; then
36148 echo "$as_me: program exited with status $ac_status" >&5
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.
$ac_ext >&5
36152 ( exit $ac_status )
36155 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36157 CFLAGS
="$ac_save_CFLAGS"
36158 CXXFLAGS
="$ac_save_CXXFLAGS"
36159 LIBS
="$ac_save_LIBS"
36162 if test "x$no_sdl" = x
; then
36163 echo "$as_me:$LINENO: result: yes" >&5
36164 echo "${ECHO_T}yes" >&6
36166 EXTRALIBS_SDL
="$SDL_LIBS"
36167 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36168 cat >>confdefs.h
<<\_ACEOF
36169 #define wxUSE_LIBSDL 1
36174 echo "$as_me:$LINENO: result: no" >&5
36175 echo "${ECHO_T}no" >&6
36176 if test "$SDL_CONFIG" = "no" ; then
36177 echo "*** The sdl-config script installed by SDL could not be found"
36178 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36179 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36180 echo "*** full path to sdl-config."
36182 if test -f conf.sdltest
; then
36185 echo "*** Could not run SDL test program, checking why..."
36186 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36187 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36188 LIBS
="$LIBS $SDL_LIBS"
36189 cat >conftest.
$ac_ext <<_ACEOF
36192 cat confdefs.h
>>conftest.
$ac_ext
36193 cat >>conftest.
$ac_ext <<_ACEOF
36194 /* end confdefs.h. */
36199 int main(int argc, char *argv[])
36202 #define main K_and_R_C_main
36212 rm -f conftest.
$ac_objext conftest
$ac_exeext
36213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36214 (eval $ac_link) 2>conftest.er1
36216 grep -v '^ *+' conftest.er1
>conftest.err
36218 cat conftest.err
>&5
36219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36220 (exit $ac_status); } &&
36221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36223 (eval $ac_try) 2>&5
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); }; } &&
36227 { ac_try
='test -s conftest$ac_exeext'
36228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36229 (eval $ac_try) 2>&5
36231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36232 (exit $ac_status); }; }; then
36233 echo "*** The test program compiled, but did not run. This usually means"
36234 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36235 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36236 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36237 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36238 echo "*** is required on your system"
36240 echo "*** If you have an old version installed, it is best to remove it, although"
36241 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36243 echo "$as_me: failed program was:" >&5
36244 sed 's/^/| /' conftest.
$ac_ext >&5
36246 echo "*** The test program failed to compile or link. See the file config.log for the"
36247 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36248 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36249 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36251 rm -f conftest.err conftest.
$ac_objext \
36252 conftest
$ac_exeext conftest.
$ac_ext
36253 CFLAGS
="$ac_save_CFLAGS"
36254 CXXFLAGS
="$ac_save_CXXFLAGS"
36255 LIBS
="$ac_save_LIBS"
36266 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36272 cat >>confdefs.h
<<\_ACEOF
36273 #define wxUSE_SOUND 1
36276 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36279 if test "$WXGTK20" = 1; then
36280 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36281 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36286 if test -z "$PKG_CONFIG"; then
36287 # Extract the first word of "pkg-config", so it can be a program name with args.
36288 set dummy pkg
-config; ac_word
=$2
36289 echo "$as_me:$LINENO: checking for $ac_word" >&5
36290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36291 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36292 echo $ECHO_N "(cached) $ECHO_C" >&6
36294 case $PKG_CONFIG in
36296 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36300 for as_dir
in $PATH
36303 test -z "$as_dir" && as_dir
=.
36304 for ac_exec_ext
in '' $ac_executable_extensions; do
36305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36306 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36313 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
36317 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36319 if test -n "$PKG_CONFIG"; then
36320 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36321 echo "${ECHO_T}$PKG_CONFIG" >&6
36323 echo "$as_me:$LINENO: result: no" >&5
36324 echo "${ECHO_T}no" >&6
36329 if test "$PKG_CONFIG" = "no" ; then
36330 echo "*** The pkg-config script could not be found. Make sure it is"
36331 echo "*** in your path, or set the PKG_CONFIG environment variable"
36332 echo "*** to the full path to pkg-config."
36333 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36335 PKG_CONFIG_MIN_VERSION
=0.9.0
36336 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36337 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36338 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36340 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36341 echo "$as_me:$LINENO: result: yes" >&5
36342 echo "${ECHO_T}yes" >&6
36345 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36346 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36347 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36348 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36349 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36351 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36352 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36353 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36354 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36355 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36357 LIBGNOMEPRINTUI_CFLAGS
=""
36358 LIBGNOMEPRINTUI_LIBS
=""
36359 ## If we have a custom action on failure, don't print errors, but
36360 ## do set a variable so people can do so.
36361 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36368 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36369 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36373 if test $succeeded = yes; then
36375 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36376 cat >>confdefs.h
<<\_ACEOF
36377 #define wxUSE_LIBGNOMEPRINT 1
36383 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36384 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36385 wxUSE_LIBGNOMEPRINT
="no"
36395 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36396 cat >>confdefs.h
<<\_ACEOF
36397 #define wxUSE_CMDLINE_PARSER 1
36402 if test "$wxUSE_STOPWATCH" = "yes"; then
36403 cat >>confdefs.h
<<\_ACEOF
36404 #define wxUSE_STOPWATCH 1
36409 if test "$wxUSE_DATETIME" = "yes"; then
36410 cat >>confdefs.h
<<\_ACEOF
36411 #define wxUSE_DATETIME 1
36416 if test "$wxUSE_FILE" = "yes"; then
36417 cat >>confdefs.h
<<\_ACEOF
36418 #define wxUSE_FILE 1
36423 if test "$wxUSE_FFILE" = "yes"; then
36424 cat >>confdefs.h
<<\_ACEOF
36425 #define wxUSE_FFILE 1
36430 if test "$wxUSE_FILESYSTEM" = "yes"; then
36431 cat >>confdefs.h
<<\_ACEOF
36432 #define wxUSE_FILESYSTEM 1
36437 if test "$wxUSE_FS_ZIP" = "yes"; then
36438 cat >>confdefs.h
<<\_ACEOF
36439 #define wxUSE_FS_ZIP 1
36444 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36445 cat >>confdefs.h
<<\_ACEOF
36446 #define wxUSE_ARCHIVE_STREAMS 1
36451 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36452 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36453 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36454 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36455 elif test "$wxUSE_ZLIB" = "no"; then
36456 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36457 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36459 cat >>confdefs.h
<<\_ACEOF
36460 #define wxUSE_ZIPSTREAM 1
36466 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36467 cat >>confdefs.h
<<\_ACEOF
36468 #define wxUSE_ON_FATAL_EXCEPTION 1
36473 if test "$wxUSE_STACKWALKER" = "yes"; then
36474 cat >>confdefs.h
<<\_ACEOF
36475 #define wxUSE_STACKWALKER 1
36480 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36481 cat >>confdefs.h
<<\_ACEOF
36482 #define wxUSE_DEBUGREPORT 1
36485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
36488 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36489 cat >>confdefs.h
<<\_ACEOF
36490 #define wxUSE_SNGLINST_CHECKER 1
36495 if test "$wxUSE_BUSYINFO" = "yes"; then
36496 cat >>confdefs.h
<<\_ACEOF
36497 #define wxUSE_BUSYINFO 1
36502 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36503 cat >>confdefs.h
<<\_ACEOF
36504 #define wxUSE_STD_IOSTREAM 1
36509 if test "$wxUSE_STDPATHS" = "yes"; then
36510 cat >>confdefs.h
<<\_ACEOF
36511 #define wxUSE_STDPATHS 1
36516 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36517 cat >>confdefs.h
<<\_ACEOF
36518 #define wxUSE_TEXTBUFFER 1
36523 if test "$wxUSE_TEXTFILE" = "yes"; then
36524 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36525 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36526 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36528 cat >>confdefs.h
<<\_ACEOF
36529 #define wxUSE_TEXTFILE 1
36535 if test "$wxUSE_CONFIG" = "yes" ; then
36536 if test "$wxUSE_TEXTFILE" != "yes"; then
36537 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36538 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36540 cat >>confdefs.h
<<\_ACEOF
36541 #define wxUSE_CONFIG 1
36544 cat >>confdefs.h
<<\_ACEOF
36545 #define wxUSE_CONFIG_NATIVE 1
36548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
36552 if test "$wxUSE_INTL" = "yes" ; then
36553 if test "$wxUSE_FILE" != "yes"; then
36554 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36555 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36557 cat >>confdefs.h
<<\_ACEOF
36558 #define wxUSE_INTL 1
36561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
36562 GUIDIST
="$GUIDIST INTL_DIST"
36566 if test "$wxUSE_LOG" = "yes"; then
36567 cat >>confdefs.h
<<\_ACEOF
36568 #define wxUSE_LOG 1
36572 if test "$wxUSE_LOGGUI" = "yes"; then
36573 cat >>confdefs.h
<<\_ACEOF
36574 #define wxUSE_LOGGUI 1
36579 if test "$wxUSE_LOGWINDOW" = "yes"; then
36580 cat >>confdefs.h
<<\_ACEOF
36581 #define wxUSE_LOGWINDOW 1
36586 if test "$wxUSE_LOGDIALOG" = "yes"; then
36587 cat >>confdefs.h
<<\_ACEOF
36588 #define wxUSE_LOG_DIALOG 1
36593 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
36596 if test "$wxUSE_LONGLONG" = "yes"; then
36597 cat >>confdefs.h
<<\_ACEOF
36598 #define wxUSE_LONGLONG 1
36603 if test "$wxUSE_GEOMETRY" = "yes"; then
36604 cat >>confdefs.h
<<\_ACEOF
36605 #define wxUSE_GEOMETRY 1
36610 if test "$wxUSE_STREAMS" = "yes" ; then
36611 cat >>confdefs.h
<<\_ACEOF
36612 #define wxUSE_STREAMS 1
36618 if test "$wxUSE_DATETIME" = "yes"; then
36620 for ac_func
in strptime
36622 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36623 echo "$as_me:$LINENO: checking for $ac_func" >&5
36624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36625 if eval "test \"\${$as_ac_var+set}\" = set"; then
36626 echo $ECHO_N "(cached) $ECHO_C" >&6
36628 cat >conftest.
$ac_ext <<_ACEOF
36631 cat confdefs.h
>>conftest.
$ac_ext
36632 cat >>conftest.
$ac_ext <<_ACEOF
36633 /* end confdefs.h. */
36634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36636 #define $ac_func innocuous_$ac_func
36638 /* System header to define __stub macros and hopefully few prototypes,
36639 which can conflict with char $ac_func (); below.
36640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36641 <limits.h> exists even on freestanding compilers. */
36644 # include <limits.h>
36646 # include <assert.h>
36651 /* Override any gcc2 internal prototype to avoid an error. */
36656 /* We use char because int might match the return type of a gcc2
36657 builtin and then its argument prototype would still apply. */
36659 /* The GNU C library defines this for functions which it implements
36660 to always fail with ENOSYS. Some functions are actually named
36661 something starting with __ and the normal name is an alias. */
36662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36665 char (*f) () = $ac_func;
36674 return f != $ac_func;
36679 rm -f conftest.
$ac_objext conftest
$ac_exeext
36680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36681 (eval $ac_link) 2>conftest.er1
36683 grep -v '^ *+' conftest.er1
>conftest.err
36685 cat conftest.err
>&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); } &&
36688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36690 (eval $ac_try) 2>&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); }; } &&
36694 { ac_try
='test -s conftest$ac_exeext'
36695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36696 (eval $ac_try) 2>&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); }; }; then
36700 eval "$as_ac_var=yes"
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.
$ac_ext >&5
36705 eval "$as_ac_var=no"
36707 rm -f conftest.err conftest.
$ac_objext \
36708 conftest
$ac_exeext conftest.
$ac_ext
36710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36712 if test `eval echo '${'$as_ac_var'}'` = yes; then
36713 cat >>confdefs.h
<<_ACEOF
36714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36721 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36722 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36723 if test "${wx_cv_var_timezone+set}" = set; then
36724 echo $ECHO_N "(cached) $ECHO_C" >&6
36727 cat >conftest.
$ac_ext <<_ACEOF
36730 cat confdefs.h
>>conftest.
$ac_ext
36731 cat >>conftest.
$ac_ext <<_ACEOF
36732 /* end confdefs.h. */
36747 rm -f conftest.
$ac_objext
36748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36749 (eval $ac_compile) 2>conftest.er1
36751 grep -v '^ *+' conftest.er1
>conftest.err
36753 cat conftest.err
>&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); } &&
36756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36758 (eval $ac_try) 2>&5
36760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36761 (exit $ac_status); }; } &&
36762 { ac_try
='test -s conftest.$ac_objext'
36763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36764 (eval $ac_try) 2>&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); }; }; then
36769 wx_cv_var_timezone
=timezone
36772 echo "$as_me: failed program was:" >&5
36773 sed 's/^/| /' conftest.
$ac_ext >&5
36776 cat >conftest.
$ac_ext <<_ACEOF
36779 cat confdefs.h
>>conftest.
$ac_ext
36780 cat >>conftest.
$ac_ext <<_ACEOF
36781 /* end confdefs.h. */
36796 rm -f conftest.
$ac_objext
36797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36798 (eval $ac_compile) 2>conftest.er1
36800 grep -v '^ *+' conftest.er1
>conftest.err
36802 cat conftest.err
>&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); } &&
36805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36807 (eval $ac_try) 2>&5
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); }; } &&
36811 { ac_try
='test -s conftest.$ac_objext'
36812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36813 (eval $ac_try) 2>&5
36815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36816 (exit $ac_status); }; }; then
36818 wx_cv_var_timezone
=_timezone
36821 echo "$as_me: failed program was:" >&5
36822 sed 's/^/| /' conftest.
$ac_ext >&5
36825 cat >conftest.
$ac_ext <<_ACEOF
36828 cat confdefs.h
>>conftest.
$ac_ext
36829 cat >>conftest.
$ac_ext <<_ACEOF
36830 /* end confdefs.h. */
36845 rm -f conftest.
$ac_objext
36846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36847 (eval $ac_compile) 2>conftest.er1
36849 grep -v '^ *+' conftest.er1
>conftest.err
36851 cat conftest.err
>&5
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); } &&
36854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36856 (eval $ac_try) 2>&5
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); }; } &&
36860 { ac_try
='test -s conftest.$ac_objext'
36861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36862 (eval $ac_try) 2>&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); }; }; then
36867 wx_cv_var_timezone
=__timezone
36870 echo "$as_me: failed program was:" >&5
36871 sed 's/^/| /' conftest.
$ac_ext >&5
36874 if test "$USE_DOS" = 0 ; then
36875 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36876 echo "$as_me: WARNING: no timezone variable" >&2;}
36881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36893 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36894 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36896 if test "x$wx_cv_var_timezone" != x
; then
36897 cat >>confdefs.h
<<_ACEOF
36898 #define WX_TIMEZONE $wx_cv_var_timezone
36904 for ac_func
in localtime
36906 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36907 echo "$as_me:$LINENO: checking for $ac_func" >&5
36908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36909 if eval "test \"\${$as_ac_var+set}\" = set"; then
36910 echo $ECHO_N "(cached) $ECHO_C" >&6
36912 cat >conftest.
$ac_ext <<_ACEOF
36915 cat confdefs.h
>>conftest.
$ac_ext
36916 cat >>conftest.
$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36920 #define $ac_func innocuous_$ac_func
36922 /* System header to define __stub macros and hopefully few prototypes,
36923 which can conflict with char $ac_func (); below.
36924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36925 <limits.h> exists even on freestanding compilers. */
36928 # include <limits.h>
36930 # include <assert.h>
36935 /* Override any gcc2 internal prototype to avoid an error. */
36940 /* We use char because int might match the return type of a gcc2
36941 builtin and then its argument prototype would still apply. */
36943 /* The GNU C library defines this for functions which it implements
36944 to always fail with ENOSYS. Some functions are actually named
36945 something starting with __ and the normal name is an alias. */
36946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36949 char (*f) () = $ac_func;
36958 return f != $ac_func;
36963 rm -f conftest.
$ac_objext conftest
$ac_exeext
36964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36965 (eval $ac_link) 2>conftest.er1
36967 grep -v '^ *+' conftest.er1
>conftest.err
36969 cat conftest.err
>&5
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); } &&
36972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36974 (eval $ac_try) 2>&5
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); }; } &&
36978 { ac_try
='test -s conftest$ac_exeext'
36979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36980 (eval $ac_try) 2>&5
36982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983 (exit $ac_status); }; }; then
36984 eval "$as_ac_var=yes"
36986 echo "$as_me: failed program was:" >&5
36987 sed 's/^/| /' conftest.
$ac_ext >&5
36989 eval "$as_ac_var=no"
36991 rm -f conftest.err conftest.
$ac_objext \
36992 conftest
$ac_exeext conftest.
$ac_ext
36994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36996 if test `eval echo '${'$as_ac_var'}'` = yes; then
36997 cat >>confdefs.h
<<_ACEOF
36998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37005 if test "$ac_cv_func_localtime" = "yes"; then
37006 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37007 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37008 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37009 echo $ECHO_N "(cached) $ECHO_C" >&6
37012 cat >conftest.
$ac_ext <<_ACEOF
37015 cat confdefs.h
>>conftest.
$ac_ext
37016 cat >>conftest.
$ac_ext <<_ACEOF
37017 /* end confdefs.h. */
37032 rm -f conftest.
$ac_objext
37033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37034 (eval $ac_compile) 2>conftest.er1
37036 grep -v '^ *+' conftest.er1
>conftest.err
37038 cat conftest.err
>&5
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); } &&
37041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37043 (eval $ac_try) 2>&5
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); }; } &&
37047 { ac_try
='test -s conftest.$ac_objext'
37048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37049 (eval $ac_try) 2>&5
37051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37052 (exit $ac_status); }; }; then
37054 wx_cv_struct_tm_has_gmtoff
=yes
37057 echo "$as_me: failed program was:" >&5
37058 sed 's/^/| /' conftest.
$ac_ext >&5
37060 wx_cv_struct_tm_has_gmtoff
=no
37063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37066 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37067 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37070 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37071 cat >>confdefs.h
<<\_ACEOF
37072 #define WX_GMTOFF_IN_TM 1
37079 for ac_func
in gettimeofday ftime
37081 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37082 echo "$as_me:$LINENO: checking for $ac_func" >&5
37083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37084 if eval "test \"\${$as_ac_var+set}\" = set"; then
37085 echo $ECHO_N "(cached) $ECHO_C" >&6
37087 cat >conftest.
$ac_ext <<_ACEOF
37090 cat confdefs.h
>>conftest.
$ac_ext
37091 cat >>conftest.
$ac_ext <<_ACEOF
37092 /* end confdefs.h. */
37093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37095 #define $ac_func innocuous_$ac_func
37097 /* System header to define __stub macros and hopefully few prototypes,
37098 which can conflict with char $ac_func (); below.
37099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37100 <limits.h> exists even on freestanding compilers. */
37103 # include <limits.h>
37105 # include <assert.h>
37110 /* Override any gcc2 internal prototype to avoid an error. */
37115 /* We use char because int might match the return type of a gcc2
37116 builtin and then its argument prototype would still apply. */
37118 /* The GNU C library defines this for functions which it implements
37119 to always fail with ENOSYS. Some functions are actually named
37120 something starting with __ and the normal name is an alias. */
37121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37124 char (*f) () = $ac_func;
37133 return f != $ac_func;
37138 rm -f conftest.
$ac_objext conftest
$ac_exeext
37139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37140 (eval $ac_link) 2>conftest.er1
37142 grep -v '^ *+' conftest.er1
>conftest.err
37144 cat conftest.err
>&5
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); } &&
37147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37149 (eval $ac_try) 2>&5
37151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152 (exit $ac_status); }; } &&
37153 { ac_try
='test -s conftest$ac_exeext'
37154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37155 (eval $ac_try) 2>&5
37157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37158 (exit $ac_status); }; }; then
37159 eval "$as_ac_var=yes"
37161 echo "$as_me: failed program was:" >&5
37162 sed 's/^/| /' conftest.
$ac_ext >&5
37164 eval "$as_ac_var=no"
37166 rm -f conftest.err conftest.
$ac_objext \
37167 conftest
$ac_exeext conftest.
$ac_ext
37169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37171 if test `eval echo '${'$as_ac_var'}'` = yes; then
37172 cat >>confdefs.h
<<_ACEOF
37173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37180 if test "$ac_cv_func_gettimeofday" = "yes"; then
37181 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37182 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37183 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37184 echo $ECHO_N "(cached) $ECHO_C" >&6
37190 ac_cpp
='$CXXCPP $CPPFLAGS'
37191 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37192 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37193 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37196 cat >conftest.
$ac_ext <<_ACEOF
37199 cat confdefs.h
>>conftest.
$ac_ext
37200 cat >>conftest.
$ac_ext <<_ACEOF
37201 /* end confdefs.h. */
37203 #include <sys/time.h>
37204 #include <unistd.h>
37211 gettimeofday(&tv, NULL);
37217 rm -f conftest.
$ac_objext
37218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37219 (eval $ac_compile) 2>conftest.er1
37221 grep -v '^ *+' conftest.er1
>conftest.err
37223 cat conftest.err
>&5
37224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37225 (exit $ac_status); } &&
37226 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37228 (eval $ac_try) 2>&5
37230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37231 (exit $ac_status); }; } &&
37232 { ac_try
='test -s conftest.$ac_objext'
37233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37234 (eval $ac_try) 2>&5
37236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37237 (exit $ac_status); }; }; then
37238 wx_cv_func_gettimeofday_has_2_args
=yes
37240 echo "$as_me: failed program was:" >&5
37241 sed 's/^/| /' conftest.
$ac_ext >&5
37243 cat >conftest.
$ac_ext <<_ACEOF
37246 cat confdefs.h
>>conftest.
$ac_ext
37247 cat >>conftest.
$ac_ext <<_ACEOF
37248 /* end confdefs.h. */
37250 #include <sys/time.h>
37251 #include <unistd.h>
37264 rm -f conftest.
$ac_objext
37265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37266 (eval $ac_compile) 2>conftest.er1
37268 grep -v '^ *+' conftest.er1
>conftest.err
37270 cat conftest.err
>&5
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); } &&
37273 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37275 (eval $ac_try) 2>&5
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); }; } &&
37279 { ac_try
='test -s conftest.$ac_objext'
37280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37281 (eval $ac_try) 2>&5
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); }; }; then
37285 wx_cv_func_gettimeofday_has_2_args
=no
37287 echo "$as_me: failed program was:" >&5
37288 sed 's/^/| /' conftest.
$ac_ext >&5
37291 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37292 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37293 wx_cv_func_gettimeofday_has_2_args
=unknown
37297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37302 ac_cpp
='$CPP $CPPFLAGS'
37303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37309 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37310 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37312 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37313 cat >>confdefs.h
<<\_ACEOF
37314 #define WX_GETTIMEOFDAY_NO_TZ 1
37320 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
37324 if test "$wxUSE_SOCKETS" = "yes"; then
37325 if test "$wxUSE_MGL" = "1"; then
37326 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37327 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37332 if test "$wxUSE_SOCKETS" = "yes"; then
37333 if test "$TOOLKIT" != "MSW"; then
37334 echo "$as_me:$LINENO: checking for socket" >&5
37335 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37336 if test "${ac_cv_func_socket+set}" = set; then
37337 echo $ECHO_N "(cached) $ECHO_C" >&6
37339 cat >conftest.
$ac_ext <<_ACEOF
37342 cat confdefs.h
>>conftest.
$ac_ext
37343 cat >>conftest.
$ac_ext <<_ACEOF
37344 /* end confdefs.h. */
37345 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37347 #define socket innocuous_socket
37349 /* System header to define __stub macros and hopefully few prototypes,
37350 which can conflict with char socket (); below.
37351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37352 <limits.h> exists even on freestanding compilers. */
37355 # include <limits.h>
37357 # include <assert.h>
37362 /* Override any gcc2 internal prototype to avoid an error. */
37367 /* We use char because int might match the return type of a gcc2
37368 builtin and then its argument prototype would still apply. */
37370 /* The GNU C library defines this for functions which it implements
37371 to always fail with ENOSYS. Some functions are actually named
37372 something starting with __ and the normal name is an alias. */
37373 #if defined (__stub_socket) || defined (__stub___socket)
37376 char (*f) () = socket;
37385 return f != socket;
37390 rm -f conftest.
$ac_objext conftest
$ac_exeext
37391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37392 (eval $ac_link) 2>conftest.er1
37394 grep -v '^ *+' conftest.er1
>conftest.err
37396 cat conftest.err
>&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); } &&
37399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37401 (eval $ac_try) 2>&5
37403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404 (exit $ac_status); }; } &&
37405 { ac_try
='test -s conftest$ac_exeext'
37406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37407 (eval $ac_try) 2>&5
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); }; }; then
37411 ac_cv_func_socket
=yes
37413 echo "$as_me: failed program was:" >&5
37414 sed 's/^/| /' conftest.
$ac_ext >&5
37416 ac_cv_func_socket
=no
37418 rm -f conftest.err conftest.
$ac_objext \
37419 conftest
$ac_exeext conftest.
$ac_ext
37421 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37422 echo "${ECHO_T}$ac_cv_func_socket" >&6
37423 if test $ac_cv_func_socket = yes; then
37427 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37428 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37429 if test "${ac_cv_lib_socket_socket+set}" = set; then
37430 echo $ECHO_N "(cached) $ECHO_C" >&6
37432 ac_check_lib_save_LIBS
=$LIBS
37433 LIBS
="-lsocket $LIBS"
37434 cat >conftest.
$ac_ext <<_ACEOF
37437 cat confdefs.h
>>conftest.
$ac_ext
37438 cat >>conftest.
$ac_ext <<_ACEOF
37439 /* end confdefs.h. */
37441 /* Override any gcc2 internal prototype to avoid an error. */
37445 /* We use char because int might match the return type of a gcc2
37446 builtin and then its argument prototype would still apply. */
37456 rm -f conftest.
$ac_objext conftest
$ac_exeext
37457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37458 (eval $ac_link) 2>conftest.er1
37460 grep -v '^ *+' conftest.er1
>conftest.err
37462 cat conftest.err
>&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } &&
37465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37467 (eval $ac_try) 2>&5
37469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470 (exit $ac_status); }; } &&
37471 { ac_try
='test -s conftest$ac_exeext'
37472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37473 (eval $ac_try) 2>&5
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); }; }; then
37477 ac_cv_lib_socket_socket
=yes
37479 echo "$as_me: failed program was:" >&5
37480 sed 's/^/| /' conftest.
$ac_ext >&5
37482 ac_cv_lib_socket_socket
=no
37484 rm -f conftest.err conftest.
$ac_objext \
37485 conftest
$ac_exeext conftest.
$ac_ext
37486 LIBS
=$ac_check_lib_save_LIBS
37488 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37489 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37490 if test $ac_cv_lib_socket_socket = yes; then
37491 if test "$INET_LINK" != " -lsocket"; then
37492 INET_LINK
="$INET_LINK -lsocket"
37496 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37497 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37510 if test "$wxUSE_SOCKETS" = "yes" ; then
37511 if test "$TOOLKIT" != "MSW"; then
37513 ac_cpp
='$CXXCPP $CPPFLAGS'
37514 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37515 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37516 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37518 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37519 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37520 if test "${wx_cv_type_getsockname3+set}" = set; then
37521 echo $ECHO_N "(cached) $ECHO_C" >&6
37524 cat >conftest.
$ac_ext <<_ACEOF
37527 cat confdefs.h
>>conftest.
$ac_ext
37528 cat >>conftest.
$ac_ext <<_ACEOF
37529 /* end confdefs.h. */
37531 #include <sys/types.h>
37532 #include <sys/socket.h>
37539 getsockname(0, 0, &len);
37545 rm -f conftest.
$ac_objext
37546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37547 (eval $ac_compile) 2>conftest.er1
37549 grep -v '^ *+' conftest.er1
>conftest.err
37551 cat conftest.err
>&5
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); } &&
37554 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; } &&
37560 { ac_try
='test -s conftest.$ac_objext'
37561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562 (eval $ac_try) 2>&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); }; }; then
37566 wx_cv_type_getsockname3
=socklen_t
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.
$ac_ext >&5
37572 CFLAGS_OLD
="$CFLAGS"
37573 if test "$GCC" = yes ; then
37574 CFLAGS
="$CFLAGS -Werror"
37577 cat >conftest.
$ac_ext <<_ACEOF
37580 cat confdefs.h
>>conftest.
$ac_ext
37581 cat >>conftest.
$ac_ext <<_ACEOF
37582 /* end confdefs.h. */
37584 #include <sys/types.h>
37585 #include <sys/socket.h>
37592 getsockname(0, 0, &len);
37598 rm -f conftest.
$ac_objext
37599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37600 (eval $ac_compile) 2>conftest.er1
37602 grep -v '^ *+' conftest.er1
>conftest.err
37604 cat conftest.err
>&5
37605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37606 (exit $ac_status); } &&
37607 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37609 (eval $ac_try) 2>&5
37611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37612 (exit $ac_status); }; } &&
37613 { ac_try
='test -s conftest.$ac_objext'
37614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37615 (eval $ac_try) 2>&5
37617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37618 (exit $ac_status); }; }; then
37619 wx_cv_type_getsockname3
=size_t
37621 echo "$as_me: failed program was:" >&5
37622 sed 's/^/| /' conftest.
$ac_ext >&5
37624 cat >conftest.
$ac_ext <<_ACEOF
37627 cat confdefs.h
>>conftest.
$ac_ext
37628 cat >>conftest.
$ac_ext <<_ACEOF
37629 /* end confdefs.h. */
37631 #include <sys/types.h>
37632 #include <sys/socket.h>
37639 getsockname(0, 0, &len);
37645 rm -f conftest.
$ac_objext
37646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37647 (eval $ac_compile) 2>conftest.er1
37649 grep -v '^ *+' conftest.er1
>conftest.err
37651 cat conftest.err
>&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); } &&
37654 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37656 (eval $ac_try) 2>&5
37658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659 (exit $ac_status); }; } &&
37660 { ac_try
='test -s conftest.$ac_objext'
37661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37662 (eval $ac_try) 2>&5
37664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665 (exit $ac_status); }; }; then
37666 wx_cv_type_getsockname3
=int
37668 echo "$as_me: failed program was:" >&5
37669 sed 's/^/| /' conftest.
$ac_ext >&5
37671 wx_cv_type_getsockname3
=unknown
37674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37679 CFLAGS
="$CFLAGS_OLD"
37683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37686 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37687 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37689 if test "$wx_cv_type_getsockname3" = "unknown"; then
37691 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37692 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37694 cat >>confdefs.h
<<_ACEOF
37695 #define SOCKLEN_T $wx_cv_type_getsockname3
37699 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37700 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37701 if test "${wx_cv_type_getsockopt5+set}" = set; then
37702 echo $ECHO_N "(cached) $ECHO_C" >&6
37705 cat >conftest.
$ac_ext <<_ACEOF
37708 cat confdefs.h
>>conftest.
$ac_ext
37709 cat >>conftest.
$ac_ext <<_ACEOF
37710 /* end confdefs.h. */
37712 #include <sys/types.h>
37713 #include <sys/socket.h>
37720 getsockopt(0, 0, 0, 0, &len);
37726 rm -f conftest.
$ac_objext
37727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37728 (eval $ac_compile) 2>conftest.er1
37730 grep -v '^ *+' conftest.er1
>conftest.err
37732 cat conftest.err
>&5
37733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37734 (exit $ac_status); } &&
37735 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37737 (eval $ac_try) 2>&5
37739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37740 (exit $ac_status); }; } &&
37741 { ac_try
='test -s conftest.$ac_objext'
37742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37743 (eval $ac_try) 2>&5
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); }; }; then
37747 wx_cv_type_getsockopt5
=socklen_t
37749 echo "$as_me: failed program was:" >&5
37750 sed 's/^/| /' conftest.
$ac_ext >&5
37753 CFLAGS_OLD
="$CFLAGS"
37754 if test "$GCC" = yes ; then
37755 CFLAGS
="$CFLAGS -Werror"
37758 cat >conftest.
$ac_ext <<_ACEOF
37761 cat confdefs.h
>>conftest.
$ac_ext
37762 cat >>conftest.
$ac_ext <<_ACEOF
37763 /* end confdefs.h. */
37765 #include <sys/types.h>
37766 #include <sys/socket.h>
37773 getsockopt(0, 0, 0, 0, &len);
37779 rm -f conftest.
$ac_objext
37780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37781 (eval $ac_compile) 2>conftest.er1
37783 grep -v '^ *+' conftest.er1
>conftest.err
37785 cat conftest.err
>&5
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); } &&
37788 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37790 (eval $ac_try) 2>&5
37792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37793 (exit $ac_status); }; } &&
37794 { ac_try
='test -s conftest.$ac_objext'
37795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37796 (eval $ac_try) 2>&5
37798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37799 (exit $ac_status); }; }; then
37800 wx_cv_type_getsockopt5
=size_t
37802 echo "$as_me: failed program was:" >&5
37803 sed 's/^/| /' conftest.
$ac_ext >&5
37805 cat >conftest.
$ac_ext <<_ACEOF
37808 cat confdefs.h
>>conftest.
$ac_ext
37809 cat >>conftest.
$ac_ext <<_ACEOF
37810 /* end confdefs.h. */
37812 #include <sys/types.h>
37813 #include <sys/socket.h>
37820 getsockopt(0, 0, 0, 0, &len);
37826 rm -f conftest.
$ac_objext
37827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37828 (eval $ac_compile) 2>conftest.er1
37830 grep -v '^ *+' conftest.er1
>conftest.err
37832 cat conftest.err
>&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); } &&
37835 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37837 (eval $ac_try) 2>&5
37839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37840 (exit $ac_status); }; } &&
37841 { ac_try
='test -s conftest.$ac_objext'
37842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37843 (eval $ac_try) 2>&5
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); }; }; then
37847 wx_cv_type_getsockopt5
=int
37849 echo "$as_me: failed program was:" >&5
37850 sed 's/^/| /' conftest.
$ac_ext >&5
37852 wx_cv_type_getsockopt5
=unknown
37855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37860 CFLAGS
="$CFLAGS_OLD"
37864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37867 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37868 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37870 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37872 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37873 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37875 cat >>confdefs.h
<<_ACEOF
37876 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37881 ac_cpp
='$CPP $CPPFLAGS'
37882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37889 if test "$wxUSE_SOCKETS" = "yes" ; then
37890 cat >>confdefs.h
<<\_ACEOF
37891 #define wxUSE_SOCKETS 1
37894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37897 if test "$wxUSE_PROTOCOL" = "yes"; then
37898 if test "$wxUSE_SOCKETS" != "yes"; then
37899 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37900 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37905 if test "$wxUSE_PROTOCOL" = "yes"; then
37906 cat >>confdefs.h
<<\_ACEOF
37907 #define wxUSE_PROTOCOL 1
37911 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37912 cat >>confdefs.h
<<\_ACEOF
37913 #define wxUSE_PROTOCOL_HTTP 1
37917 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37918 cat >>confdefs.h
<<\_ACEOF
37919 #define wxUSE_PROTOCOL_FTP 1
37923 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37924 cat >>confdefs.h
<<\_ACEOF
37925 #define wxUSE_PROTOCOL_FILE 1
37930 if test "$wxUSE_FS_INET" = "yes"; then
37931 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37932 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37937 if test "$wxUSE_URL" = "yes"; then
37938 if test "$wxUSE_PROTOCOL" != "yes"; then
37939 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37940 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37943 if test "$wxUSE_URL" = "yes"; then
37944 cat >>confdefs.h
<<\_ACEOF
37945 #define wxUSE_URL 1
37951 if test "$wxUSE_FS_INET" = "yes"; then
37952 cat >>confdefs.h
<<\_ACEOF
37953 #define wxUSE_FS_INET 1
37959 if test "$wxUSE_GUI" = "yes"; then
37960 if test "$wxUSE_JOYSTICK" = "yes"; then
37962 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
37964 for ac_header
in linux
/joystick.h
37966 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37968 echo "$as_me:$LINENO: checking for $ac_header" >&5
37969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37971 echo $ECHO_N "(cached) $ECHO_C" >&6
37973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37976 # Is the header compilable?
37977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37979 cat >conftest.
$ac_ext <<_ACEOF
37982 cat confdefs.h
>>conftest.
$ac_ext
37983 cat >>conftest.
$ac_ext <<_ACEOF
37984 /* end confdefs.h. */
37985 $ac_includes_default
37986 #include <$ac_header>
37988 rm -f conftest.
$ac_objext
37989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37990 (eval $ac_compile) 2>conftest.er1
37992 grep -v '^ *+' conftest.er1
>conftest.err
37994 cat conftest.err
>&5
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); } &&
37997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37999 (eval $ac_try) 2>&5
38001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38002 (exit $ac_status); }; } &&
38003 { ac_try
='test -s conftest.$ac_objext'
38004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38005 (eval $ac_try) 2>&5
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); }; }; then
38009 ac_header_compiler
=yes
38011 echo "$as_me: failed program was:" >&5
38012 sed 's/^/| /' conftest.
$ac_ext >&5
38014 ac_header_compiler
=no
38016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38018 echo "${ECHO_T}$ac_header_compiler" >&6
38020 # Is the header present?
38021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38023 cat >conftest.
$ac_ext <<_ACEOF
38026 cat confdefs.h
>>conftest.
$ac_ext
38027 cat >>conftest.
$ac_ext <<_ACEOF
38028 /* end confdefs.h. */
38029 #include <$ac_header>
38031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38034 grep -v '^ *+' conftest.er1
>conftest.err
38036 cat conftest.err
>&5
38037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38038 (exit $ac_status); } >/dev
/null
; then
38039 if test -s conftest.err
; then
38040 ac_cpp_err
=$ac_c_preproc_warn_flag
38041 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38048 if test -z "$ac_cpp_err"; then
38049 ac_header_preproc
=yes
38051 echo "$as_me: failed program was:" >&5
38052 sed 's/^/| /' conftest.
$ac_ext >&5
38054 ac_header_preproc
=no
38056 rm -f conftest.err conftest.
$ac_ext
38057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38058 echo "${ECHO_T}$ac_header_preproc" >&6
38060 # So? What about this header?
38061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38067 ac_header_preproc
=yes
38070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38084 ## ----------------------------------------- ##
38085 ## Report this to wx-dev@lists.wxwidgets.org ##
38086 ## ----------------------------------------- ##
38089 sed "s/^/$as_me: WARNING: /" >&2
38092 echo "$as_me:$LINENO: checking for $ac_header" >&5
38093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38095 echo $ECHO_N "(cached) $ECHO_C" >&6
38097 eval "$as_ac_Header=\$ac_header_preproc"
38099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38104 cat >>confdefs.h
<<_ACEOF
38105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38112 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38114 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38115 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38118 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38120 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38121 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38126 if test "$wxUSE_JOYSTICK" = "yes"; then
38127 cat >>confdefs.h
<<\_ACEOF
38128 #define wxUSE_JOYSTICK 1
38131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
38138 if test "$wxUSE_FONTMAP" = "yes" ; then
38139 cat >>confdefs.h
<<\_ACEOF
38140 #define wxUSE_FONTMAP 1
38145 if test "$wxUSE_UNICODE" = "yes" ; then
38146 cat >>confdefs.h
<<\_ACEOF
38147 #define wxUSE_UNICODE 1
38151 if test "$USE_WIN32" != 1; then
38152 wxUSE_UNICODE_MSLU
=no
38155 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38156 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38157 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38158 if test "${ac_cv_lib_unicows_main+set}" = set; then
38159 echo $ECHO_N "(cached) $ECHO_C" >&6
38161 ac_check_lib_save_LIBS
=$LIBS
38162 LIBS
="-lunicows $LIBS"
38163 cat >conftest.
$ac_ext <<_ACEOF
38166 cat confdefs.h
>>conftest.
$ac_ext
38167 cat >>conftest.
$ac_ext <<_ACEOF
38168 /* end confdefs.h. */
38179 rm -f conftest.
$ac_objext conftest
$ac_exeext
38180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38181 (eval $ac_link) 2>conftest.er1
38183 grep -v '^ *+' conftest.er1
>conftest.err
38185 cat conftest.err
>&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); } &&
38188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38190 (eval $ac_try) 2>&5
38192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38193 (exit $ac_status); }; } &&
38194 { ac_try
='test -s conftest$ac_exeext'
38195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38196 (eval $ac_try) 2>&5
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); }; }; then
38200 ac_cv_lib_unicows_main
=yes
38202 echo "$as_me: failed program was:" >&5
38203 sed 's/^/| /' conftest.
$ac_ext >&5
38205 ac_cv_lib_unicows_main
=no
38207 rm -f conftest.err conftest.
$ac_objext \
38208 conftest
$ac_exeext conftest.
$ac_ext
38209 LIBS
=$ac_check_lib_save_LIBS
38211 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38212 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38213 if test $ac_cv_lib_unicows_main = yes; then
38215 cat >>confdefs.h
<<\_ACEOF
38216 #define wxUSE_UNICODE_MSLU 1
38222 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38223 Applications will only run on Windows NT/2000/XP!" >&5
38224 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38225 Applications will only run on Windows NT/2000/XP!" >&2;}
38226 wxUSE_UNICODE_MSLU
=no
38233 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38234 cat >>confdefs.h
<<\_ACEOF
38235 #define wxUSE_EXPERIMENTAL_PRINTF 1
38241 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38242 cat >>confdefs.h
<<\_ACEOF
38243 #define wxUSE_POSTSCRIPT 1
38248 cat >>confdefs.h
<<\_ACEOF
38249 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38253 cat >>confdefs.h
<<\_ACEOF
38254 #define wxUSE_NORMALIZED_PS_FONTS 1
38259 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38260 cat >>confdefs.h
<<\_ACEOF
38261 #define wxUSE_CONSTRAINTS 1
38264 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
38267 if test "$wxUSE_MDI" = "yes"; then
38268 cat >>confdefs.h
<<\_ACEOF
38269 #define wxUSE_MDI 1
38273 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38274 cat >>confdefs.h
<<\_ACEOF
38275 #define wxUSE_MDI_ARCHITECTURE 1
38278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
38282 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38283 cat >>confdefs.h
<<\_ACEOF
38284 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38287 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
38288 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
38293 if test "$wxUSE_HELP" = "yes"; then
38294 cat >>confdefs.h
<<\_ACEOF
38295 #define wxUSE_HELP 1
38298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
38300 if test "$wxUSE_MSW" = 1; then
38301 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38302 cat >>confdefs.h
<<\_ACEOF
38303 #define wxUSE_MS_HTML_HELP 1
38309 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38310 if test "$wxUSE_HTML" = "yes"; then
38311 cat >>confdefs.h
<<\_ACEOF
38312 #define wxUSE_WXHTML_HELP 1
38316 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38317 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38318 wxUSE_WXHTML_HELP
=no
38323 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38324 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38325 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38326 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38328 cat >>confdefs.h
<<\_ACEOF
38329 #define wxUSE_PRINTING_ARCHITECTURE 1
38333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
38336 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38337 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38338 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38339 { (exit 1); exit 1; }; }
38343 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
38344 -o "$wxUSE_CLIPBOARD" = "yes" \
38345 -o "$wxUSE_OLE" = "yes" \
38346 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
38348 for ac_header
in ole2.h
38350 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38352 echo "$as_me:$LINENO: checking for $ac_header" >&5
38353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38355 echo $ECHO_N "(cached) $ECHO_C" >&6
38357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38360 # Is the header compilable?
38361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38363 cat >conftest.
$ac_ext <<_ACEOF
38366 cat confdefs.h
>>conftest.
$ac_ext
38367 cat >>conftest.
$ac_ext <<_ACEOF
38368 /* end confdefs.h. */
38369 $ac_includes_default
38370 #include <$ac_header>
38372 rm -f conftest.
$ac_objext
38373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38374 (eval $ac_compile) 2>conftest.er1
38376 grep -v '^ *+' conftest.er1
>conftest.err
38378 cat conftest.err
>&5
38379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38380 (exit $ac_status); } &&
38381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38383 (eval $ac_try) 2>&5
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); }; } &&
38387 { ac_try
='test -s conftest.$ac_objext'
38388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38389 (eval $ac_try) 2>&5
38391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38392 (exit $ac_status); }; }; then
38393 ac_header_compiler
=yes
38395 echo "$as_me: failed program was:" >&5
38396 sed 's/^/| /' conftest.
$ac_ext >&5
38398 ac_header_compiler
=no
38400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38402 echo "${ECHO_T}$ac_header_compiler" >&6
38404 # Is the header present?
38405 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38407 cat >conftest.
$ac_ext <<_ACEOF
38410 cat confdefs.h
>>conftest.
$ac_ext
38411 cat >>conftest.
$ac_ext <<_ACEOF
38412 /* end confdefs.h. */
38413 #include <$ac_header>
38415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38416 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38418 grep -v '^ *+' conftest.er1
>conftest.err
38420 cat conftest.err
>&5
38421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422 (exit $ac_status); } >/dev
/null
; then
38423 if test -s conftest.err
; then
38424 ac_cpp_err
=$ac_c_preproc_warn_flag
38425 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38432 if test -z "$ac_cpp_err"; then
38433 ac_header_preproc
=yes
38435 echo "$as_me: failed program was:" >&5
38436 sed 's/^/| /' conftest.
$ac_ext >&5
38438 ac_header_preproc
=no
38440 rm -f conftest.err conftest.
$ac_ext
38441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38442 echo "${ECHO_T}$ac_header_preproc" >&6
38444 # So? What about this header?
38445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38450 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38451 ac_header_preproc
=yes
38454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38458 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38459 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38460 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38468 ## ----------------------------------------- ##
38469 ## Report this to wx-dev@lists.wxwidgets.org ##
38470 ## ----------------------------------------- ##
38473 sed "s/^/$as_me: WARNING: /" >&2
38476 echo "$as_me:$LINENO: checking for $ac_header" >&5
38477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38479 echo $ECHO_N "(cached) $ECHO_C" >&6
38481 eval "$as_ac_Header=\$ac_header_preproc"
38483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38488 cat >>confdefs.h
<<_ACEOF
38489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38497 if test "$ac_cv_header_ole2_h" = "yes" ; then
38498 if test "$GCC" = yes ; then
38502 ac_cpp
='$CXXCPP $CPPFLAGS'
38503 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38504 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38505 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38508 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38509 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38510 cat >conftest.
$ac_ext <<_ACEOF
38513 cat confdefs.h
>>conftest.
$ac_ext
38514 cat >>conftest.
$ac_ext <<_ACEOF
38515 /* end confdefs.h. */
38516 #include <windows.h>
38526 rm -f conftest.
$ac_objext
38527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38528 (eval $ac_compile) 2>conftest.er1
38530 grep -v '^ *+' conftest.er1
>conftest.err
38532 cat conftest.err
>&5
38533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38534 (exit $ac_status); } &&
38535 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38537 (eval $ac_try) 2>&5
38539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38540 (exit $ac_status); }; } &&
38541 { ac_try
='test -s conftest.$ac_objext'
38542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38543 (eval $ac_try) 2>&5
38545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38546 (exit $ac_status); }; }; then
38547 echo "$as_me:$LINENO: result: no" >&5
38548 echo "${ECHO_T}no" >&6
38550 echo "$as_me: failed program was:" >&5
38551 sed 's/^/| /' conftest.
$ac_ext >&5
38553 echo "$as_me:$LINENO: result: yes" >&5
38554 echo "${ECHO_T}yes" >&6
38555 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38559 ac_cpp
='$CPP $CPPFLAGS'
38560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38564 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38565 if test "$wxUSE_OLE" = "yes" ; then
38566 cat >>confdefs.h
<<\_ACEOF
38567 #define wxUSE_OLE 1
38570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
38574 if test "$wxUSE_DATAOBJ" = "yes" ; then
38575 cat >>confdefs.h
<<\_ACEOF
38576 #define wxUSE_DATAOBJ 1
38581 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38582 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38585 wxUSE_DRAG_AND_DROP
=no
38590 if test "$wxUSE_METAFILE" = "yes"; then
38591 cat >>confdefs.h
<<\_ACEOF
38592 #define wxUSE_METAFILE 1
38596 cat >>confdefs.h
<<\_ACEOF
38597 #define wxUSE_ENH_METAFILE 1
38603 if test "$wxUSE_IPC" = "yes"; then
38604 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38605 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38606 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38610 if test "$wxUSE_IPC" = "yes"; then
38611 cat >>confdefs.h
<<\_ACEOF
38612 #define wxUSE_IPC 1
38615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
38619 if test "$wxUSE_CLIPBOARD" = "yes"; then
38620 if test "$wxUSE_MGL" = 1; then
38621 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38622 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38626 if test "$wxUSE_CLIPBOARD" = "yes"; then
38627 cat >>confdefs.h
<<\_ACEOF
38628 #define wxUSE_CLIPBOARD 1
38632 cat >>confdefs.h
<<\_ACEOF
38633 #define wxUSE_DATAOBJ 1
38639 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38640 if test "$wxUSE_GTK" = 1; then
38641 if test "$WXGTK12" != 1; then
38642 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38643 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38644 wxUSE_DRAG_AND_DROP
=no
38648 if test "$wxUSE_MOTIF" = 1; then
38649 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38650 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38651 wxUSE_DRAG_AND_DROP
=no
38654 if test "$wxUSE_X11" = 1; then
38655 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38656 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38657 wxUSE_DRAG_AND_DROP
=no
38660 if test "$wxUSE_MGL" = 1; then
38661 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38662 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38663 wxUSE_DRAG_AND_DROP
=no
38666 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38667 cat >>confdefs.h
<<\_ACEOF
38668 #define wxUSE_DRAG_AND_DROP 1
38675 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
38679 if test "$wxUSE_SPLINES" = "yes" ; then
38680 cat >>confdefs.h
<<\_ACEOF
38681 #define wxUSE_SPLINES 1
38688 if test "$wxUSE_CONTROLS" = "yes"; then
38692 if test "$wxUSE_ACCEL" = "yes"; then
38693 cat >>confdefs.h
<<\_ACEOF
38694 #define wxUSE_ACCEL 1
38700 if test "$wxUSE_BUTTON" = "yes"; then
38701 cat >>confdefs.h
<<\_ACEOF
38702 #define wxUSE_BUTTON 1
38708 if test "$wxUSE_BMPBUTTON" = "yes"; then
38709 cat >>confdefs.h
<<\_ACEOF
38710 #define wxUSE_BMPBUTTON 1
38716 if test "$wxUSE_CALCTRL" = "yes"; then
38717 cat >>confdefs.h
<<\_ACEOF
38718 #define wxUSE_CALENDARCTRL 1
38722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
38725 if test "$wxUSE_CARET" = "yes"; then
38726 cat >>confdefs.h
<<\_ACEOF
38727 #define wxUSE_CARET 1
38731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
38734 if test "$wxUSE_COMBOBOX" = "yes"; then
38735 cat >>confdefs.h
<<\_ACEOF
38736 #define wxUSE_COMBOBOX 1
38742 if test "$wxUSE_CHOICE" = "yes"; then
38743 cat >>confdefs.h
<<\_ACEOF
38744 #define wxUSE_CHOICE 1
38750 if test "$wxUSE_CHOICEBOOK" = "yes"; then
38751 cat >>confdefs.h
<<\_ACEOF
38752 #define wxUSE_CHOICEBOOK 1
38758 if test "$wxUSE_CHECKBOX" = "yes"; then
38759 cat >>confdefs.h
<<\_ACEOF
38760 #define wxUSE_CHECKBOX 1
38766 if test "$wxUSE_CHECKLST" = "yes"; then
38767 cat >>confdefs.h
<<\_ACEOF
38768 #define wxUSE_CHECKLISTBOX 1
38772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
38775 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
38776 cat >>confdefs.h
<<\_ACEOF
38777 #define wxUSE_DATEPICKCTRL 1
38783 if test "$wxUSE_DISPLAY" = "yes"; then
38784 cat >>confdefs.h
<<\_ACEOF
38785 #define wxUSE_DISPLAY 1
38788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
38791 if test "$wxUSE_GAUGE" = "yes"; then
38792 cat >>confdefs.h
<<\_ACEOF
38793 #define wxUSE_GAUGE 1
38799 if test "$wxUSE_GRID" = "yes"; then
38800 cat >>confdefs.h
<<\_ACEOF
38801 #define wxUSE_GRID 1
38805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
38808 if test "$wxUSE_IMAGLIST" = "yes"; then
38809 cat >>confdefs.h
<<\_ACEOF
38810 #define wxUSE_IMAGLIST 1
38815 if test "$wxUSE_LISTBOOK" = "yes"; then
38816 cat >>confdefs.h
<<\_ACEOF
38817 #define wxUSE_LISTBOOK 1
38823 if test "$wxUSE_LISTBOX" = "yes"; then
38824 cat >>confdefs.h
<<\_ACEOF
38825 #define wxUSE_LISTBOX 1
38829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
38832 if test "$wxUSE_LISTCTRL" = "yes"; then
38833 if test "$wxUSE_IMAGLIST" = "yes"; then
38834 cat >>confdefs.h
<<\_ACEOF
38835 #define wxUSE_LISTCTRL 1
38839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
38841 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
38842 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
38846 if test "$wxUSE_NOTEBOOK" = "yes"; then
38847 cat >>confdefs.h
<<\_ACEOF
38848 #define wxUSE_NOTEBOOK 1
38852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
38856 if test "$wxUSE_RADIOBOX" = "yes"; then
38857 cat >>confdefs.h
<<\_ACEOF
38858 #define wxUSE_RADIOBOX 1
38864 if test "$wxUSE_RADIOBTN" = "yes"; then
38865 cat >>confdefs.h
<<\_ACEOF
38866 #define wxUSE_RADIOBTN 1
38872 if test "$wxUSE_SASH" = "yes"; then
38873 cat >>confdefs.h
<<\_ACEOF
38874 #define wxUSE_SASH 1
38877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
38880 if test "$wxUSE_SCROLLBAR" = "yes"; then
38881 cat >>confdefs.h
<<\_ACEOF
38882 #define wxUSE_SCROLLBAR 1
38886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
38889 if test "$wxUSE_SLIDER" = "yes"; then
38890 cat >>confdefs.h
<<\_ACEOF
38891 #define wxUSE_SLIDER 1
38897 if test "$wxUSE_SPINBTN" = "yes"; then
38898 cat >>confdefs.h
<<\_ACEOF
38899 #define wxUSE_SPINBTN 1
38905 if test "$wxUSE_SPINCTRL" = "yes"; then
38906 cat >>confdefs.h
<<\_ACEOF
38907 #define wxUSE_SPINCTRL 1
38913 if test "$wxUSE_SPLITTER" = "yes"; then
38914 cat >>confdefs.h
<<\_ACEOF
38915 #define wxUSE_SPLITTER 1
38918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
38921 if test "$wxUSE_STATBMP" = "yes"; then
38922 cat >>confdefs.h
<<\_ACEOF
38923 #define wxUSE_STATBMP 1
38929 if test "$wxUSE_STATBOX" = "yes"; then
38930 cat >>confdefs.h
<<\_ACEOF
38931 #define wxUSE_STATBOX 1
38937 if test "$wxUSE_STATTEXT" = "yes"; then
38938 cat >>confdefs.h
<<\_ACEOF
38939 #define wxUSE_STATTEXT 1
38945 if test "$wxUSE_STATLINE" = "yes"; then
38946 cat >>confdefs.h
<<\_ACEOF
38947 #define wxUSE_STATLINE 1
38953 if test "$wxUSE_STATUSBAR" = "yes"; then
38954 cat >>confdefs.h
<<\_ACEOF
38955 #define wxUSE_NATIVE_STATUSBAR 1
38958 cat >>confdefs.h
<<\_ACEOF
38959 #define wxUSE_STATUSBAR 1
38964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
38967 if test "$wxUSE_TABDIALOG" = "yes"; then
38968 cat >>confdefs.h
<<\_ACEOF
38969 #define wxUSE_TAB_DIALOG 1
38974 if test "$wxUSE_TEXTCTRL" = "yes"; then
38975 cat >>confdefs.h
<<\_ACEOF
38976 #define wxUSE_TEXTCTRL 1
38980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
38983 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38984 if test "$wxUSE_COCOA" = 1 ; then
38985 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38986 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38989 if test "$wxUSE_PM" = 1; then
38990 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38991 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38995 if test "$wxUSE_UNIVERSAL" = "yes"; then
38996 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38997 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39001 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39002 cat >>confdefs.h
<<\_ACEOF
39003 #define wxUSE_TOGGLEBTN 1
39010 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39011 cat >>confdefs.h
<<\_ACEOF
39012 #define wxUSE_TOOLBAR_SIMPLE 1
39015 wxUSE_TOOLBAR
="yes"
39019 if test "$wxUSE_TOOLBAR" = "yes"; then
39020 cat >>confdefs.h
<<\_ACEOF
39021 #define wxUSE_TOOLBAR 1
39026 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39027 wxUSE_TOOLBAR_NATIVE
="yes"
39030 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39031 cat >>confdefs.h
<<\_ACEOF
39032 #define wxUSE_TOOLBAR_NATIVE 1
39038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
39041 if test "$wxUSE_TOOLTIPS" = "yes"; then
39042 if test "$wxUSE_MOTIF" = 1; then
39043 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39044 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39046 if test "$wxUSE_UNIVERSAL" = "yes"; then
39047 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39048 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39050 cat >>confdefs.h
<<\_ACEOF
39051 #define wxUSE_TOOLTIPS 1
39058 if test "$wxUSE_TREECTRL" = "yes"; then
39059 if test "$wxUSE_IMAGLIST" = "yes"; then
39060 cat >>confdefs.h
<<\_ACEOF
39061 #define wxUSE_TREECTRL 1
39065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
39067 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39068 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39072 if test "$wxUSE_POPUPWIN" = "yes"; then
39073 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39074 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39075 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39077 if test "$wxUSE_PM" = 1; then
39078 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39079 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39081 cat >>confdefs.h
<<\_ACEOF
39082 #define wxUSE_POPUPWIN 1
39085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
39092 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39093 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39094 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39095 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39097 cat >>confdefs.h
<<\_ACEOF
39098 #define wxUSE_DIALUP_MANAGER 1
39101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
39105 if test "$wxUSE_TIPWINDOW" = "yes"; then
39106 if test "$wxUSE_PM" = 1; then
39107 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39108 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39110 cat >>confdefs.h
<<\_ACEOF
39111 #define wxUSE_TIPWINDOW 1
39117 if test "$USES_CONTROLS" = 1; then
39118 cat >>confdefs.h
<<\_ACEOF
39119 #define wxUSE_CONTROLS 1
39125 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39126 cat >>confdefs.h
<<\_ACEOF
39127 #define wxUSE_ACCESSIBILITY 1
39130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
39133 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39134 cat >>confdefs.h
<<\_ACEOF
39135 #define wxUSE_DRAGIMAGE 1
39138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
39141 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39142 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39143 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39144 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39146 cat >>confdefs.h
<<\_ACEOF
39147 #define wxUSE_EXCEPTIONS 1
39150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39155 if test "$wxUSE_HTML" = "yes"; then
39156 cat >>confdefs.h
<<\_ACEOF
39157 #define wxUSE_HTML 1
39161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39162 if test "$wxUSE_MAC" = 1; then
39163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
39166 if test "$wxUSE_WEBKIT" = "yes"; then
39167 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39168 old_CPPFLAGS
="$CPPFLAGS"
39169 CPPFLAGS
="$CPPFLAGS -x objective-c++"
39170 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39171 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39172 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39173 echo $ECHO_N "(cached) $ECHO_C" >&6
39175 cat >conftest.
$ac_ext <<_ACEOF
39178 cat confdefs.h
>>conftest.
$ac_ext
39179 cat >>conftest.
$ac_ext <<_ACEOF
39180 /* end confdefs.h. */
39181 #include <Carbon/Carbon.h>
39183 #include <WebKit/HIWebView.h>
39185 rm -f conftest.
$ac_objext
39186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39187 (eval $ac_compile) 2>conftest.er1
39189 grep -v '^ *+' conftest.er1
>conftest.err
39191 cat conftest.err
>&5
39192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193 (exit $ac_status); } &&
39194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39196 (eval $ac_try) 2>&5
39198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39199 (exit $ac_status); }; } &&
39200 { ac_try
='test -s conftest.$ac_objext'
39201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39202 (eval $ac_try) 2>&5
39204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205 (exit $ac_status); }; }; then
39206 ac_cv_header_WebKit_HIWebView_h
=yes
39208 echo "$as_me: failed program was:" >&5
39209 sed 's/^/| /' conftest.
$ac_ext >&5
39211 ac_cv_header_WebKit_HIWebView_h
=no
39213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39215 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39216 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39217 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39219 cat >>confdefs.h
<<\_ACEOF
39220 #define wxUSE_WEBKIT 1
39223 WEBKIT_LINK
="-framework WebKit"
39227 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39228 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39234 CPPFLAGS
="$old_CPPFLAGS"
39235 elif test "$wxUSE_COCOA" = 1; then
39236 cat >>confdefs.h
<<\_ACEOF
39237 #define wxUSE_WEBKIT 1
39246 if test "$wxUSE_XRC" = "yes"; then
39247 if test "$wxUSE_XML" != "yes"; then
39248 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39249 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39252 cat >>confdefs.h
<<\_ACEOF
39253 #define wxUSE_XRC 1
39257 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
39261 if test "$wxUSE_MENUS" = "yes"; then
39262 cat >>confdefs.h
<<\_ACEOF
39263 #define wxUSE_MENUS 1
39266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
39269 if test "$wxUSE_METAFILE" = "yes"; then
39270 cat >>confdefs.h
<<\_ACEOF
39271 #define wxUSE_METAFILE 1
39276 if test "$wxUSE_MIMETYPE" = "yes"; then
39277 cat >>confdefs.h
<<\_ACEOF
39278 #define wxUSE_MIMETYPE 1
39283 if test "$wxUSE_MINIFRAME" = "yes"; then
39284 cat >>confdefs.h
<<\_ACEOF
39285 #define wxUSE_MINIFRAME 1
39288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
39291 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39292 cat >>confdefs.h
<<\_ACEOF
39293 #define wxUSE_SYSTEM_OPTIONS 1
39296 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39297 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
39303 if test "$wxUSE_VALIDATORS" = "yes"; then
39304 cat >>confdefs.h
<<\_ACEOF
39305 #define wxUSE_VALIDATORS 1
39308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
39311 if test "$wxUSE_PALETTE" = "yes" ; then
39312 cat >>confdefs.h
<<\_ACEOF
39313 #define wxUSE_PALETTE 1
39318 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39319 LIBS
=" -lunicows $LIBS"
39323 if test "$wxUSE_IMAGE" = "yes" ; then
39324 cat >>confdefs.h
<<\_ACEOF
39325 #define wxUSE_IMAGE 1
39329 if test "$wxUSE_GIF" = "yes" ; then
39330 cat >>confdefs.h
<<\_ACEOF
39331 #define wxUSE_GIF 1
39336 if test "$wxUSE_PCX" = "yes" ; then
39337 cat >>confdefs.h
<<\_ACEOF
39338 #define wxUSE_PCX 1
39343 if test "$wxUSE_IFF" = "yes" ; then
39344 cat >>confdefs.h
<<\_ACEOF
39345 #define wxUSE_IFF 1
39350 if test "$wxUSE_PNM" = "yes" ; then
39351 cat >>confdefs.h
<<\_ACEOF
39352 #define wxUSE_PNM 1
39357 if test "$wxUSE_XPM" = "yes" ; then
39358 cat >>confdefs.h
<<\_ACEOF
39359 #define wxUSE_XPM 1
39364 if test "$wxUSE_ICO_CUR" = "yes" ; then
39365 cat >>confdefs.h
<<\_ACEOF
39366 #define wxUSE_ICO_CUR 1
39373 if test "$wxUSE_CHOICEDLG" = "yes"; then
39374 cat >>confdefs.h
<<\_ACEOF
39375 #define wxUSE_CHOICEDLG 1
39380 if test "$wxUSE_COLOURDLG" = "yes"; then
39381 cat >>confdefs.h
<<\_ACEOF
39382 #define wxUSE_COLOURDLG 1
39387 if test "$wxUSE_FILEDLG" = "yes"; then
39388 cat >>confdefs.h
<<\_ACEOF
39389 #define wxUSE_FILEDLG 1
39394 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39395 cat >>confdefs.h
<<\_ACEOF
39396 #define wxUSE_FINDREPLDLG 1
39401 if test "$wxUSE_FONTDLG" = "yes"; then
39402 cat >>confdefs.h
<<\_ACEOF
39403 #define wxUSE_FONTDLG 1
39408 if test "$wxUSE_DIRDLG" = "yes"; then
39409 if test "$wxUSE_TREECTRL" != "yes"; then
39410 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39411 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39413 cat >>confdefs.h
<<\_ACEOF
39414 #define wxUSE_DIRDLG 1
39420 if test "$wxUSE_MSGDLG" = "yes"; then
39421 cat >>confdefs.h
<<\_ACEOF
39422 #define wxUSE_MSGDLG 1
39427 if test "$wxUSE_NUMBERDLG" = "yes"; then
39428 cat >>confdefs.h
<<\_ACEOF
39429 #define wxUSE_NUMBERDLG 1
39434 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39435 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39436 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39437 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39439 cat >>confdefs.h
<<\_ACEOF
39440 #define wxUSE_PROGRESSDLG 1
39446 if test "$wxUSE_SPLASH" = "yes"; then
39447 cat >>confdefs.h
<<\_ACEOF
39448 #define wxUSE_SPLASH 1
39451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
39454 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39455 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39456 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39457 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39459 cat >>confdefs.h
<<\_ACEOF
39460 #define wxUSE_STARTUP_TIPS 1
39466 if test "$wxUSE_TEXTDLG" = "yes"; then
39467 cat >>confdefs.h
<<\_ACEOF
39468 #define wxUSE_TEXTDLG 1
39473 if test "$wxUSE_WIZARDDLG" = "yes"; then
39474 cat >>confdefs.h
<<\_ACEOF
39475 #define wxUSE_WIZARDDLG 1
39478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
39482 if test "$wxUSE_MEDIACTRL" = "yes"; then
39483 if test "$wxUSE_MSW" = 1; then
39484 wxUSE_DIRECTSHOW
="yes"
39486 for ac_header
in dshow.h
39488 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39489 echo "$as_me:$LINENO: checking for $ac_header" >&5
39490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39492 echo $ECHO_N "(cached) $ECHO_C" >&6
39494 cat >conftest.
$ac_ext <<_ACEOF
39497 cat confdefs.h
>>conftest.
$ac_ext
39498 cat >>conftest.
$ac_ext <<_ACEOF
39499 /* end confdefs.h. */
39500 #include <windows.h>
39502 #include <$ac_header>
39504 rm -f conftest.
$ac_objext
39505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39506 (eval $ac_compile) 2>conftest.er1
39508 grep -v '^ *+' conftest.er1
>conftest.err
39510 cat conftest.err
>&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } &&
39513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39515 (eval $ac_try) 2>&5
39517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39518 (exit $ac_status); }; } &&
39519 { ac_try
='test -s conftest.$ac_objext'
39520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39521 (eval $ac_try) 2>&5
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); }; }; then
39525 eval "$as_ac_Header=yes"
39527 echo "$as_me: failed program was:" >&5
39528 sed 's/^/| /' conftest.
$ac_ext >&5
39530 eval "$as_ac_Header=no"
39532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39537 cat >>confdefs.h
<<_ACEOF
39538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39543 wxUSE_DIRECTSHOW
="no"
39544 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39545 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39552 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39553 cat >>confdefs.h
<<\_ACEOF
39554 #define wxUSE_DIRECTSHOW 1
39557 LIBS
="$LIBS -lstrmiids"
39561 if test "$wxUSE_GTK" = 1; then
39562 wxUSE_GSTREAMER
="yes"
39567 if test -z "$PKG_CONFIG"; then
39568 # Extract the first word of "pkg-config", so it can be a program name with args.
39569 set dummy pkg
-config; ac_word
=$2
39570 echo "$as_me:$LINENO: checking for $ac_word" >&5
39571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39573 echo $ECHO_N "(cached) $ECHO_C" >&6
39575 case $PKG_CONFIG in
39577 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39581 for as_dir
in $PATH
39584 test -z "$as_dir" && as_dir
=.
39585 for ac_exec_ext
in '' $ac_executable_extensions; do
39586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39587 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39594 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39598 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39600 if test -n "$PKG_CONFIG"; then
39601 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39602 echo "${ECHO_T}$PKG_CONFIG" >&6
39604 echo "$as_me:$LINENO: result: no" >&5
39605 echo "${ECHO_T}no" >&6
39610 if test "$PKG_CONFIG" = "no" ; then
39611 echo "*** The pkg-config script could not be found. Make sure it is"
39612 echo "*** in your path, or set the PKG_CONFIG environment variable"
39613 echo "*** to the full path to pkg-config."
39614 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39616 PKG_CONFIG_MIN_VERSION
=0.9.0
39617 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39618 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39619 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39621 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39622 echo "$as_me:$LINENO: result: yes" >&5
39623 echo "${ECHO_T}yes" >&6
39626 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39627 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39628 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39629 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39630 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39632 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39633 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39634 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
39635 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39636 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39638 GSTREAMER_CFLAGS
=""
39640 ## If we have a custom action on failure, don't print errors, but
39641 ## do set a variable so people can do so.
39642 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39649 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39650 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39654 if test $succeeded = yes; then
39656 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
39657 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39661 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39662 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39663 wxUSE_GSTREAMER
="no"
39671 if test "x$GST_INSPECT" == "x"; then
39672 # Extract the first word of "gst-inspect", so it can be a program name with args.
39673 set dummy gst
-inspect; ac_word
=$2
39674 echo "$as_me:$LINENO: checking for $ac_word" >&5
39675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39676 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39677 echo $ECHO_N "(cached) $ECHO_C" >&6
39679 if test -n "$GST_INSPECT"; then
39680 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
39682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39683 for as_dir
in $PATH
39686 test -z "$as_dir" && as_dir
=.
39687 for ac_exec_ext
in '' $ac_executable_extensions; do
39688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39689 ac_cv_prog_GST_INSPECT
="gst-inspect"
39690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39698 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
39699 if test -n "$GST_INSPECT"; then
39700 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39701 echo "${ECHO_T}$GST_INSPECT" >&6
39703 echo "$as_me:$LINENO: result: no" >&5
39704 echo "${ECHO_T}no" >&6
39709 if test "x$GST_INSPECT" != "x"; then
39710 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39711 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39712 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
39713 echo "$as_me:$LINENO: result: found." >&5
39714 echo "${ECHO_T}found." >&6
39717 echo "$as_me:$LINENO: result: not found." >&5
39718 echo "${ECHO_T}not found." >&6
39720 wxUSE_GSTREAMER
="no"
39721 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39722 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39728 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39729 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39730 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39731 echo $ECHO_N "(cached) $ECHO_C" >&6
39733 cat >conftest.
$ac_ext <<_ACEOF
39736 cat confdefs.h
>>conftest.
$ac_ext
39737 cat >>conftest.
$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39739 #include <gst/gst.h>
39741 #include <gst/xoverlay/xoverlay.h>
39743 rm -f conftest.
$ac_objext
39744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39745 (eval $ac_compile) 2>conftest.er1
39747 grep -v '^ *+' conftest.er1
>conftest.err
39749 cat conftest.err
>&5
39750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39751 (exit $ac_status); } &&
39752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39754 (eval $ac_try) 2>&5
39756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39757 (exit $ac_status); }; } &&
39758 { ac_try
='test -s conftest.$ac_objext'
39759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39760 (eval $ac_try) 2>&5
39762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39763 (exit $ac_status); }; }; then
39764 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
39766 echo "$as_me: failed program was:" >&5
39767 sed 's/^/| /' conftest.
$ac_ext >&5
39769 ac_cv_header_gst_xoverlay_xoverlay_h
=no
39771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39773 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
39774 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
39775 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
39779 wxUSE_GSTREAMER
="no"
39780 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
39781 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
39787 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
39788 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
39791 for ac_dir
in $SEARCH_LIB /usr
/lib
;
39793 for ac_extension
in a so sl dylib
; do
39794 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
39795 ac_find_libraries
=$ac_dir
39802 if test "$ac_find_libraries" = "" ; then
39803 echo "$as_me:$LINENO: result: no" >&5
39804 echo "${ECHO_T}no" >&6
39805 wxUSE_GSTREAMER
="no"
39807 echo "$as_me:$LINENO: result: yes" >&5
39808 echo "${ECHO_T}yes" >&6
39811 if test "$wxUSE_GSTREAMER" = "yes"; then
39812 cat >>confdefs.h
<<\_ACEOF
39813 #define wxUSE_GSTREAMER 1
39816 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
39817 echo "${ECHO_T}GStreamer detection successful" >&6
39820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
39821 cat >>confdefs.h
<<\_ACEOF
39822 #define wxUSE_MEDIACTRL 1
39828 if test "$cross_compiling" = "yes"; then
39831 OSINFO
=`uname -s -r -m`
39832 OSINFO
="\"$OSINFO\""
39835 cat >>confdefs.h
<<_ACEOF
39836 #define WXWIN_OS_DESCRIPTION $OSINFO
39841 if test "x$prefix" != "xNONE"; then
39844 wxPREFIX
=$ac_default_prefix
39847 cat >>confdefs.h
<<_ACEOF
39848 #define wxINSTALL_PREFIX "$wxPREFIX"
39854 CORE_BASE_LIBS
="net base"
39855 CORE_GUI_LIBS
="adv core"
39857 if test "$wxUSE_XML" = "yes" ; then
39858 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
39860 if test "$wxUSE_ODBC" != "no" ; then
39861 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
39862 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
39864 if test "$wxUSE_HTML" = "yes" ; then
39865 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
39867 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
39868 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
39870 if test "$wxUSE_XRC" = "yes" ; then
39871 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
39874 if test "$wxUSE_GUI" != "yes"; then
39885 if test "$wxUSE_MAC" = 1 ; then
39886 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39887 if test "$USE_DARWIN" = 1; then
39888 LDFLAGS
="$LDFLAGS -framework QuickTime"
39890 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
39893 if test "$USE_DARWIN" = 1; then
39894 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39896 LDFLAGS
="$LDFLAGS -lCarbonLib"
39899 if test "$wxUSE_COCOA" = 1 ; then
39900 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
39901 if test "$wxUSE_MEDIACTRL" = "yes"; then
39902 LDFLAGS
="$LDFLAGS -framework QuickTime"
39907 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39914 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39915 echo "$as_me:$LINENO: checking for $ac_func" >&5
39916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39917 if eval "test \"\${$as_ac_var+set}\" = set"; then
39918 echo $ECHO_N "(cached) $ECHO_C" >&6
39920 cat >conftest.
$ac_ext <<_ACEOF
39923 cat confdefs.h
>>conftest.
$ac_ext
39924 cat >>conftest.
$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39928 #define $ac_func innocuous_$ac_func
39930 /* System header to define __stub macros and hopefully few prototypes,
39931 which can conflict with char $ac_func (); below.
39932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39933 <limits.h> exists even on freestanding compilers. */
39936 # include <limits.h>
39938 # include <assert.h>
39943 /* Override any gcc2 internal prototype to avoid an error. */
39948 /* We use char because int might match the return type of a gcc2
39949 builtin and then its argument prototype would still apply. */
39951 /* The GNU C library defines this for functions which it implements
39952 to always fail with ENOSYS. Some functions are actually named
39953 something starting with __ and the normal name is an alias. */
39954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39957 char (*f) () = $ac_func;
39966 return f != $ac_func;
39971 rm -f conftest.
$ac_objext conftest
$ac_exeext
39972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39973 (eval $ac_link) 2>conftest.er1
39975 grep -v '^ *+' conftest.er1
>conftest.err
39977 cat conftest.err
>&5
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); } &&
39980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39982 (eval $ac_try) 2>&5
39984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39985 (exit $ac_status); }; } &&
39986 { ac_try
='test -s conftest$ac_exeext'
39987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39988 (eval $ac_try) 2>&5
39990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39991 (exit $ac_status); }; }; then
39992 eval "$as_ac_var=yes"
39994 echo "$as_me: failed program was:" >&5
39995 sed 's/^/| /' conftest.
$ac_ext >&5
39997 eval "$as_ac_var=no"
39999 rm -f conftest.err conftest.
$ac_objext \
40000 conftest
$ac_exeext conftest.
$ac_ext
40002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40004 if test `eval echo '${'$as_ac_var'}'` = yes; then
40005 cat >>confdefs.h
<<_ACEOF
40006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40013 for ac_func
in floor
40015 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40016 echo "$as_me:$LINENO: checking for $ac_func" >&5
40017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40018 if eval "test \"\${$as_ac_var+set}\" = set"; then
40019 echo $ECHO_N "(cached) $ECHO_C" >&6
40021 cat >conftest.
$ac_ext <<_ACEOF
40024 cat confdefs.h
>>conftest.
$ac_ext
40025 cat >>conftest.
$ac_ext <<_ACEOF
40026 /* end confdefs.h. */
40027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40029 #define $ac_func innocuous_$ac_func
40031 /* System header to define __stub macros and hopefully few prototypes,
40032 which can conflict with char $ac_func (); below.
40033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40034 <limits.h> exists even on freestanding compilers. */
40037 # include <limits.h>
40039 # include <assert.h>
40044 /* Override any gcc2 internal prototype to avoid an error. */
40049 /* We use char because int might match the return type of a gcc2
40050 builtin and then its argument prototype would still apply. */
40052 /* The GNU C library defines this for functions which it implements
40053 to always fail with ENOSYS. Some functions are actually named
40054 something starting with __ and the normal name is an alias. */
40055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40058 char (*f) () = $ac_func;
40067 return f != $ac_func;
40072 rm -f conftest.
$ac_objext conftest
$ac_exeext
40073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40074 (eval $ac_link) 2>conftest.er1
40076 grep -v '^ *+' conftest.er1
>conftest.err
40078 cat conftest.err
>&5
40079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40080 (exit $ac_status); } &&
40081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40083 (eval $ac_try) 2>&5
40085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086 (exit $ac_status); }; } &&
40087 { ac_try
='test -s conftest$ac_exeext'
40088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40089 (eval $ac_try) 2>&5
40091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40092 (exit $ac_status); }; }; then
40093 eval "$as_ac_var=yes"
40095 echo "$as_me: failed program was:" >&5
40096 sed 's/^/| /' conftest.
$ac_ext >&5
40098 eval "$as_ac_var=no"
40100 rm -f conftest.err conftest.
$ac_objext \
40101 conftest
$ac_exeext conftest.
$ac_ext
40103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40105 if test `eval echo '${'$as_ac_var'}'` = yes; then
40106 cat >>confdefs.h
<<_ACEOF
40107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40113 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40114 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40115 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40116 echo "$as_me:$LINENO: result: yes" >&5
40117 echo "${ECHO_T}yes" >&6
40119 echo "$as_me:$LINENO: result: no" >&5
40120 echo "${ECHO_T}no" >&6
40122 # use different functions to avoid configure caching
40128 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40129 echo "$as_me:$LINENO: checking for $ac_func" >&5
40130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40131 if eval "test \"\${$as_ac_var+set}\" = set"; then
40132 echo $ECHO_N "(cached) $ECHO_C" >&6
40134 cat >conftest.
$ac_ext <<_ACEOF
40137 cat confdefs.h
>>conftest.
$ac_ext
40138 cat >>conftest.
$ac_ext <<_ACEOF
40139 /* end confdefs.h. */
40140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40142 #define $ac_func innocuous_$ac_func
40144 /* System header to define __stub macros and hopefully few prototypes,
40145 which can conflict with char $ac_func (); below.
40146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40147 <limits.h> exists even on freestanding compilers. */
40150 # include <limits.h>
40152 # include <assert.h>
40157 /* Override any gcc2 internal prototype to avoid an error. */
40162 /* We use char because int might match the return type of a gcc2
40163 builtin and then its argument prototype would still apply. */
40165 /* The GNU C library defines this for functions which it implements
40166 to always fail with ENOSYS. Some functions are actually named
40167 something starting with __ and the normal name is an alias. */
40168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40171 char (*f) () = $ac_func;
40180 return f != $ac_func;
40185 rm -f conftest.
$ac_objext conftest
$ac_exeext
40186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40187 (eval $ac_link) 2>conftest.er1
40189 grep -v '^ *+' conftest.er1
>conftest.err
40191 cat conftest.err
>&5
40192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40193 (exit $ac_status); } &&
40194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40196 (eval $ac_try) 2>&5
40198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40199 (exit $ac_status); }; } &&
40200 { ac_try
='test -s conftest$ac_exeext'
40201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40202 (eval $ac_try) 2>&5
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); }; }; then
40206 eval "$as_ac_var=yes"
40208 echo "$as_me: failed program was:" >&5
40209 sed 's/^/| /' conftest.
$ac_ext >&5
40211 eval "$as_ac_var=no"
40213 rm -f conftest.err conftest.
$ac_objext \
40214 conftest
$ac_exeext conftest.
$ac_ext
40216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40218 if test `eval echo '${'$as_ac_var'}'` = yes; then
40219 cat >>confdefs.h
<<_ACEOF
40220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40227 for ac_func
in ceil
40229 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40230 echo "$as_me:$LINENO: checking for $ac_func" >&5
40231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40232 if eval "test \"\${$as_ac_var+set}\" = set"; then
40233 echo $ECHO_N "(cached) $ECHO_C" >&6
40235 cat >conftest.
$ac_ext <<_ACEOF
40238 cat confdefs.h
>>conftest.
$ac_ext
40239 cat >>conftest.
$ac_ext <<_ACEOF
40240 /* end confdefs.h. */
40241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40243 #define $ac_func innocuous_$ac_func
40245 /* System header to define __stub macros and hopefully few prototypes,
40246 which can conflict with char $ac_func (); below.
40247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40248 <limits.h> exists even on freestanding compilers. */
40251 # include <limits.h>
40253 # include <assert.h>
40258 /* Override any gcc2 internal prototype to avoid an error. */
40263 /* We use char because int might match the return type of a gcc2
40264 builtin and then its argument prototype would still apply. */
40266 /* The GNU C library defines this for functions which it implements
40267 to always fail with ENOSYS. Some functions are actually named
40268 something starting with __ and the normal name is an alias. */
40269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40272 char (*f) () = $ac_func;
40281 return f != $ac_func;
40286 rm -f conftest.
$ac_objext conftest
$ac_exeext
40287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40288 (eval $ac_link) 2>conftest.er1
40290 grep -v '^ *+' conftest.er1
>conftest.err
40292 cat conftest.err
>&5
40293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40294 (exit $ac_status); } &&
40295 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40297 (eval $ac_try) 2>&5
40299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40300 (exit $ac_status); }; } &&
40301 { ac_try
='test -s conftest$ac_exeext'
40302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40303 (eval $ac_try) 2>&5
40305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40306 (exit $ac_status); }; }; then
40307 eval "$as_ac_var=yes"
40309 echo "$as_me: failed program was:" >&5
40310 sed 's/^/| /' conftest.
$ac_ext >&5
40312 eval "$as_ac_var=no"
40314 rm -f conftest.err conftest.
$ac_objext \
40315 conftest
$ac_exeext conftest.
$ac_ext
40317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40319 if test `eval echo '${'$as_ac_var'}'` = yes; then
40320 cat >>confdefs.h
<<_ACEOF
40321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40327 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40328 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40329 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40330 echo "$as_me:$LINENO: result: yes" >&5
40331 echo "${ECHO_T}yes" >&6
40333 echo "$as_me:$LINENO: result: no" >&5
40334 echo "${ECHO_T}no" >&6
40335 # not sure we should warn the user, crash, etc.
40339 if test "$wxUSE_GUI" = "yes"; then
40342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40343 dynamic erase event exec font image minimal mobile \
40344 mobile/wxedit mobile/styles propsize render \
40345 richedit rotate shaped vscroll widgets"
40347 if test "$wxUSE_MONOLITHIC" != "yes"; then
40348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
40350 if test "$TOOLKIT" = "MSW"; then
40351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
40352 if test "$wxUSE_UNIVERSAL" != "yes"; then
40353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40356 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
40360 SAMPLES_SUBDIRS
="console"
40364 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40365 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40367 if test "$GXX" = yes ; then
40369 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
40372 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40374 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40375 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40376 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40378 if test "x$MWCC" = "xyes"; then
40380 CC
="$CC -cwd source -I-"
40381 CXX
="$CXX -cwd source -I-"
40386 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40387 EXTRALIBS_XML
="$EXPAT_LINK"
40388 EXTRALIBS_HTML
="$MSPACK_LINK"
40389 EXTRALIBS_ODBC
="$ODBC_LINK"
40390 if test "$wxUSE_GUI" = "yes"; then
40391 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40393 if test "$wxUSE_OPENGL" = "yes"; then
40394 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
40397 LDFLAGS
="$LDFLAGS $PROFILE"
40399 if test "$wxUSE_GTK" = 1; then
40402 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
40405 WXCONFIG_EXTRALIBS
="$LIBS"
40407 if test "$wxUSE_REGEX" = "builtin" ; then
40408 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
40410 if test "$wxUSE_EXPAT" = "builtin" ; then
40411 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
40413 if test "$wxUSE_ODBC" = "builtin" ; then
40414 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40416 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40417 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
40419 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40420 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
40422 if test "$wxUSE_LIBPNG" = "builtin" ; then
40423 wxconfig_3rdparty
="$wxconfig_3rdparty png"
40425 if test "$wxUSE_ZLIB" = "builtin" ; then
40426 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
40428 if test "$wxUSE_ODBC" = "builtin" ; then
40429 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40432 for i
in $wxconfig_3rdparty ; do
40433 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
40437 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40451 if test $wxUSE_MONOLITHIC = "yes" ; then
40457 if test $wxUSE_PLUGINS = "yes" ; then
40463 if test $wxUSE_ODBC != "no" ; then
40469 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40475 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40503 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40514 TOOLKIT_USER
="GTK+"
40515 if test "$WXGTK20" = 1; then
40516 TOOLKIT_USER
="$TOOLKIT_USER 2"
40521 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
40528 if test "x$BAKEFILE_HOST" = "x"; then
40529 BAKEFILE_HOST
="${host}"
40532 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40534 if test -n "$ac_tool_prefix"; then
40535 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40536 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
40537 echo "$as_me:$LINENO: checking for $ac_word" >&5
40538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40539 if test "${ac_cv_prog_RANLIB+set}" = set; then
40540 echo $ECHO_N "(cached) $ECHO_C" >&6
40542 if test -n "$RANLIB"; then
40543 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
40545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40546 for as_dir
in $PATH
40549 test -z "$as_dir" && as_dir
=.
40550 for ac_exec_ext
in '' $ac_executable_extensions; do
40551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40552 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
40553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40561 RANLIB
=$ac_cv_prog_RANLIB
40562 if test -n "$RANLIB"; then
40563 echo "$as_me:$LINENO: result: $RANLIB" >&5
40564 echo "${ECHO_T}$RANLIB" >&6
40566 echo "$as_me:$LINENO: result: no" >&5
40567 echo "${ECHO_T}no" >&6
40571 if test -z "$ac_cv_prog_RANLIB"; then
40572 ac_ct_RANLIB
=$RANLIB
40573 # Extract the first word of "ranlib", so it can be a program name with args.
40574 set dummy ranlib
; ac_word
=$2
40575 echo "$as_me:$LINENO: checking for $ac_word" >&5
40576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40577 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40578 echo $ECHO_N "(cached) $ECHO_C" >&6
40580 if test -n "$ac_ct_RANLIB"; then
40581 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
40583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40584 for as_dir
in $PATH
40587 test -z "$as_dir" && as_dir
=.
40588 for ac_exec_ext
in '' $ac_executable_extensions; do
40589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40590 ac_cv_prog_ac_ct_RANLIB
="ranlib"
40591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40597 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
40600 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
40601 if test -n "$ac_ct_RANLIB"; then
40602 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40603 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40605 echo "$as_me:$LINENO: result: no" >&5
40606 echo "${ECHO_T}no" >&6
40609 RANLIB
=$ac_ct_RANLIB
40611 RANLIB
="$ac_cv_prog_RANLIB"
40614 # Find a good install program. We prefer a C program (faster),
40615 # so one script is as good as another. But avoid the broken or
40616 # incompatible versions:
40617 # SysV /etc/install, /usr/sbin/install
40618 # SunOS /usr/etc/install
40619 # IRIX /sbin/install
40621 # AmigaOS /C/install, which installs bootblocks on floppy discs
40622 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40623 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40624 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40625 # OS/2's system install, which has a completely different semantic
40626 # ./install, which can be erroneously created by make from ./install.sh.
40627 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40628 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40629 if test -z "$INSTALL"; then
40630 if test "${ac_cv_path_install+set}" = set; then
40631 echo $ECHO_N "(cached) $ECHO_C" >&6
40633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40634 for as_dir
in $PATH
40637 test -z "$as_dir" && as_dir
=.
40638 # Account for people who put trailing slashes in PATH elements.
40640 .
/ | .
// | /cC
/* | \
40641 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
40642 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
40645 # OSF1 and SCO ODT 3.0 have their own names for install.
40646 # Don't use installbsd from OSF since it installs stuff as root
40648 for ac_prog
in ginstall scoinst
install; do
40649 for ac_exec_ext
in '' $ac_executable_extensions; do
40650 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40651 if test $ac_prog = install &&
40652 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40653 # AIX install. It has an incompatible calling convention.
40655 elif test $ac_prog = install &&
40656 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40657 # program-specific install script used by HP pwplus--don't use.
40660 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
40672 if test "${ac_cv_path_install+set}" = set; then
40673 INSTALL
=$ac_cv_path_install
40675 # As a last resort, use the slow shell script. We don't cache a
40676 # path for INSTALL within a source directory, because that will
40677 # break other packages using the cache if that directory is
40678 # removed, or if the path is relative.
40679 INSTALL
=$ac_install_sh
40682 echo "$as_me:$LINENO: result: $INSTALL" >&5
40683 echo "${ECHO_T}$INSTALL" >&6
40685 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40686 # It thinks the first close brace ends the variable substitution.
40687 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
40689 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
40691 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
40693 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40694 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40696 if test "$LN_S" = "ln -s"; then
40697 echo "$as_me:$LINENO: result: yes" >&5
40698 echo "${ECHO_T}yes" >&6
40700 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40701 echo "${ECHO_T}no, using $LN_S" >&6
40705 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40706 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40707 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40708 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40709 echo $ECHO_N "(cached) $ECHO_C" >&6
40711 cat >conftest.
make <<\_ACEOF
40713 @
echo 'ac_maketemp="$(MAKE)"'
40715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40716 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40717 if test -n "$ac_maketemp"; then
40718 eval ac_cv_prog_make_
${ac_make}_set
=yes
40720 eval ac_cv_prog_make_
${ac_make}_set
=no
40722 rm -f conftest.
make
40724 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40725 echo "$as_me:$LINENO: result: yes" >&5
40726 echo "${ECHO_T}yes" >&6
40729 echo "$as_me:$LINENO: result: no" >&5
40730 echo "${ECHO_T}no" >&6
40731 SET_MAKE
="MAKE=${MAKE-make}"
40736 if test -n "$ac_tool_prefix"; then
40737 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40738 set dummy
${ac_tool_prefix}ar; ac_word
=$2
40739 echo "$as_me:$LINENO: checking for $ac_word" >&5
40740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40741 if test "${ac_cv_prog_AR+set}" = set; then
40742 echo $ECHO_N "(cached) $ECHO_C" >&6
40744 if test -n "$AR"; then
40745 ac_cv_prog_AR
="$AR" # Let the user override the test.
40747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40748 for as_dir
in $PATH
40751 test -z "$as_dir" && as_dir
=.
40752 for ac_exec_ext
in '' $ac_executable_extensions; do
40753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40754 ac_cv_prog_AR
="${ac_tool_prefix}ar"
40755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40764 if test -n "$AR"; then
40765 echo "$as_me:$LINENO: result: $AR" >&5
40766 echo "${ECHO_T}$AR" >&6
40768 echo "$as_me:$LINENO: result: no" >&5
40769 echo "${ECHO_T}no" >&6
40773 if test -z "$ac_cv_prog_AR"; then
40775 # Extract the first word of "ar", so it can be a program name with args.
40776 set dummy
ar; ac_word
=$2
40777 echo "$as_me:$LINENO: checking for $ac_word" >&5
40778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40779 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
40780 echo $ECHO_N "(cached) $ECHO_C" >&6
40782 if test -n "$ac_ct_AR"; then
40783 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
40785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40786 for as_dir
in $PATH
40789 test -z "$as_dir" && as_dir
=.
40790 for ac_exec_ext
in '' $ac_executable_extensions; do
40791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40792 ac_cv_prog_ac_ct_AR
="ar"
40793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40799 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
40802 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
40803 if test -n "$ac_ct_AR"; then
40804 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
40805 echo "${ECHO_T}$ac_ct_AR" >&6
40807 echo "$as_me:$LINENO: result: no" >&5
40808 echo "${ECHO_T}no" >&6
40813 AR
="$ac_cv_prog_AR"
40816 if test -n "$ac_tool_prefix"; then
40817 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
40818 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
40819 echo "$as_me:$LINENO: checking for $ac_word" >&5
40820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40821 if test "${ac_cv_prog_STRIP+set}" = set; then
40822 echo $ECHO_N "(cached) $ECHO_C" >&6
40824 if test -n "$STRIP"; then
40825 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
40827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40828 for as_dir
in $PATH
40831 test -z "$as_dir" && as_dir
=.
40832 for ac_exec_ext
in '' $ac_executable_extensions; do
40833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40834 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
40835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40843 STRIP
=$ac_cv_prog_STRIP
40844 if test -n "$STRIP"; then
40845 echo "$as_me:$LINENO: result: $STRIP" >&5
40846 echo "${ECHO_T}$STRIP" >&6
40848 echo "$as_me:$LINENO: result: no" >&5
40849 echo "${ECHO_T}no" >&6
40853 if test -z "$ac_cv_prog_STRIP"; then
40855 # Extract the first word of "strip", so it can be a program name with args.
40856 set dummy strip
; ac_word
=$2
40857 echo "$as_me:$LINENO: checking for $ac_word" >&5
40858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40859 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40860 echo $ECHO_N "(cached) $ECHO_C" >&6
40862 if test -n "$ac_ct_STRIP"; then
40863 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
40865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40866 for as_dir
in $PATH
40869 test -z "$as_dir" && as_dir
=.
40870 for ac_exec_ext
in '' $ac_executable_extensions; do
40871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40872 ac_cv_prog_ac_ct_STRIP
="strip"
40873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40879 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
40882 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
40883 if test -n "$ac_ct_STRIP"; then
40884 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40885 echo "${ECHO_T}$ac_ct_STRIP" >&6
40887 echo "$as_me:$LINENO: result: no" >&5
40888 echo "${ECHO_T}no" >&6
40893 STRIP
="$ac_cv_prog_STRIP"
40896 if test -n "$ac_tool_prefix"; then
40897 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40898 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
40899 echo "$as_me:$LINENO: checking for $ac_word" >&5
40900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40901 if test "${ac_cv_prog_NM+set}" = set; then
40902 echo $ECHO_N "(cached) $ECHO_C" >&6
40904 if test -n "$NM"; then
40905 ac_cv_prog_NM
="$NM" # Let the user override the test.
40907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40908 for as_dir
in $PATH
40911 test -z "$as_dir" && as_dir
=.
40912 for ac_exec_ext
in '' $ac_executable_extensions; do
40913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40914 ac_cv_prog_NM
="${ac_tool_prefix}nm"
40915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40924 if test -n "$NM"; then
40925 echo "$as_me:$LINENO: result: $NM" >&5
40926 echo "${ECHO_T}$NM" >&6
40928 echo "$as_me:$LINENO: result: no" >&5
40929 echo "${ECHO_T}no" >&6
40933 if test -z "$ac_cv_prog_NM"; then
40935 # Extract the first word of "nm", so it can be a program name with args.
40936 set dummy nm
; ac_word
=$2
40937 echo "$as_me:$LINENO: checking for $ac_word" >&5
40938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40939 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
40940 echo $ECHO_N "(cached) $ECHO_C" >&6
40942 if test -n "$ac_ct_NM"; then
40943 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
40945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40946 for as_dir
in $PATH
40949 test -z "$as_dir" && as_dir
=.
40950 for ac_exec_ext
in '' $ac_executable_extensions; do
40951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40952 ac_cv_prog_ac_ct_NM
="nm"
40953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40959 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
40962 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
40963 if test -n "$ac_ct_NM"; then
40964 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
40965 echo "${ECHO_T}$ac_ct_NM" >&6
40967 echo "$as_me:$LINENO: result: no" >&5
40968 echo "${ECHO_T}no" >&6
40973 NM
="$ac_cv_prog_NM"
40977 case ${BAKEFILE_HOST} in
40979 INSTALL_DIR
="mkdir -p"
40981 *) INSTALL_DIR
="$INSTALL -d"
40987 case ${BAKEFILE_HOST} in
40988 *-*-cygwin* | *-*-mingw32* )
40989 LDFLAGS_GUI
="-mwindows"
40995 echo "$as_me:$LINENO: checking if make is GNU make" >&5
40996 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
40997 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
40998 echo $ECHO_N "(cached) $ECHO_C" >&6
41001 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
41002 egrep -s GNU
> /dev
/null
); then
41003 bakefile_cv_prog_makeisgnu
="yes"
41005 bakefile_cv_prog_makeisgnu
="no"
41009 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41010 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41012 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41029 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41030 case "${BAKEFILE_HOST}" in
41031 *-*-cygwin* | *-*-mingw32* )
41037 *-pc-os2_emx | *-pc-os2-emx )
41040 powerpc
-*-darwin* )
41047 powerpc
-apple-macos* )
41056 case "$BAKEFILE_FORCE_PLATFORM" in
41077 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41078 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41079 { (exit 1); exit 1; }; }
41094 # Check whether --enable-omf or --disable-omf was given.
41095 if test "${enable_omf+set}" = set; then
41096 enableval
="$enable_omf"
41097 bk_os2_use_omf
="$enableval"
41100 case "${BAKEFILE_HOST}" in
41102 CFLAGS
="$CFLAGS -fno-common"
41103 CXXFLAGS
="$CXXFLAGS -fno-common"
41106 *-pc-os2_emx | *-pc-os2-emx )
41107 if test "x$bk_os2_use_omf" = "xyes" ; then
41110 LDFLAGS
="-Zomf $LDFLAGS"
41111 CFLAGS
="-Zomf $CFLAGS"
41112 CXXFLAGS
="-Zomf $CXXFLAGS"
41120 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
41126 SO_SUFFIX_MODULE
="so"
41131 DLLPREFIX_MODULE
=""
41134 case "${BAKEFILE_HOST}" in
41137 SO_SUFFIX_MODULE
="sl"
41141 SO_SUFFIX_MODULE
="a"
41143 *-*-cygwin* | *-*-mingw32* )
41145 SO_SUFFIX_MODULE
="dll"
41146 DLLIMP_SUFFIX
="dll.a"
41154 *-pc-os2_emx | *-pc-os2-emx )
41156 SO_SUFFIX_MODULE
="dll"
41157 DLLIMP_SUFFIX
=$OS2_LIBEXT
41161 LIBEXT
=".$OS2_LIBEXT"
41163 powerpc
-*-darwin* )
41165 SO_SUFFIX_MODULE
="bundle"
41169 if test "x$DLLIMP_SUFFIX" = "x" ; then
41170 DLLIMP_SUFFIX
="$SO_SUFFIX"
41184 if test "x$GCC" = "xyes"; then
41188 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41189 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41191 case "${BAKEFILE_HOST}" in
41193 if test "x$GCC" != "xyes"; then
41194 LDFLAGS
="$LDFLAGS -L/usr/lib"
41196 SHARED_LD_CC
="${CC} -b -o"
41197 SHARED_LD_CXX
="${CXX} -b -o"
41203 if test "x$GCC" != "xyes"; then
41204 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41205 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41206 if test "${bakefile_cv_prog_icc+set}" = set; then
41207 echo $ECHO_N "(cached) $ECHO_C" >&6
41210 cat >conftest.
$ac_ext <<_ACEOF
41213 cat confdefs.h
>>conftest.
$ac_ext
41214 cat >>conftest.
$ac_ext <<_ACEOF
41215 /* end confdefs.h. */
41221 #ifndef __INTEL_COMPILER
41229 rm -f conftest.
$ac_objext
41230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41231 (eval $ac_compile) 2>conftest.er1
41233 grep -v '^ *+' conftest.er1
>conftest.err
41235 cat conftest.err
>&5
41236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41237 (exit $ac_status); } &&
41238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41240 (eval $ac_try) 2>&5
41242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243 (exit $ac_status); }; } &&
41244 { ac_try
='test -s conftest.$ac_objext'
41245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41246 (eval $ac_try) 2>&5
41248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249 (exit $ac_status); }; }; then
41250 bakefile_cv_prog_icc
=yes
41252 echo "$as_me: failed program was:" >&5
41253 sed 's/^/| /' conftest.
$ac_ext >&5
41255 bakefile_cv_prog_icc
=no
41258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41261 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41262 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41263 if test "$bakefile_cv_prog_icc" = "yes"; then
41270 if test "x$GCC" != xyes
; then
41271 SHARED_LD_CC
="${CC} -G -o"
41272 SHARED_LD_CXX
="${CXX} -G -o"
41279 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41280 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41281 if test "${wx_cv_gcc31+set}" = set; then
41282 echo $ECHO_N "(cached) $ECHO_C" >&6
41285 cat >conftest.
$ac_ext <<_ACEOF
41288 cat confdefs.h
>>conftest.
$ac_ext
41289 cat >>conftest.
$ac_ext <<_ACEOF
41290 /* end confdefs.h. */
41296 #if (__GNUC__ < 3) || \
41297 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41305 rm -f conftest.
$ac_objext
41306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41307 (eval $ac_compile) 2>conftest.er1
41309 grep -v '^ *+' conftest.er1
>conftest.err
41311 cat conftest.err
>&5
41312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41313 (exit $ac_status); } &&
41314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41316 (eval $ac_try) 2>&5
41318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41319 (exit $ac_status); }; } &&
41320 { ac_try
='test -s conftest.$ac_objext'
41321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41322 (eval $ac_try) 2>&5
41324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41325 (exit $ac_status); }; }; then
41330 echo "$as_me: failed program was:" >&5
41331 sed 's/^/| /' conftest.
$ac_ext >&5
41338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41341 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41342 echo "${ECHO_T}$wx_cv_gcc31" >&6
41343 if test "$wx_cv_gcc31" = "no"; then
41346 cat <<EOF >shared-ld-sh
41348 #-----------------------------------------------------------------------------
41349 #-- Name: distrib/mac/shared-ld-sh
41350 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41351 #-- Author: Gilles Depeyrot
41352 #-- Copyright: (c) 2002 Gilles Depeyrot
41353 #-- Licence: any use permitted
41354 #-----------------------------------------------------------------------------
41359 linking_flag="-dynamiclib"
41361 while test ${D}# -gt 0; do
41368 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41369 # collect these options and values
41370 args="${D}{args} ${D}1 ${D}2"
41374 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41375 # collect these options
41376 args="${D}{args} ${D}1"
41379 -dynamiclib|-bundle)
41380 linking_flag="${D}1"
41384 echo "shared-ld: unhandled option '${D}1'"
41388 *.o | *.a | *.dylib)
41389 # collect object files
41390 objects="${D}{objects} ${D}1"
41394 echo "shared-ld: unhandled argument '${D}1'"
41403 # Link one module containing all the others
41405 if test ${D}{verbose} = 1; then
41406 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41408 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41410 if test ${D}{status} != 0; then
41415 # Link the shared library from the single module created
41417 if test ${D}{verbose} = 1; then
41418 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41420 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41422 if test ${D}{status} != 0; then
41427 # Remove intermediate module
41429 rm -f master.${D}${D}.o
41434 chmod +x shared
-ld-sh
41436 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41437 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41438 SHARED_LD_CXX
="$SHARED_LD_CC"
41439 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
41441 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41442 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41443 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41444 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41447 PIC_FLAG
="-dynamic -fPIC"
41451 if test "x$GCC" != "xyes"; then
41452 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41453 set dummy makeC
++SharedLib
; ac_word
=$2
41454 echo "$as_me:$LINENO: checking for $ac_word" >&5
41455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41456 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41457 echo $ECHO_N "(cached) $ECHO_C" >&6
41459 if test -n "$AIX_CXX_LD"; then
41460 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
41462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41463 for as_dir
in $PATH
41466 test -z "$as_dir" && as_dir
=.
41467 for ac_exec_ext
in '' $ac_executable_extensions; do
41468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41469 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
41470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41476 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
41479 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
41480 if test -n "$AIX_CXX_LD"; then
41481 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41482 echo "${ECHO_T}$AIX_CXX_LD" >&6
41484 echo "$as_me:$LINENO: result: no" >&5
41485 echo "${ECHO_T}no" >&6
41488 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
41489 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
41494 SHARED_LD_CC
="${LD} -nostart -o"
41495 SHARED_LD_CXX
="${LD} -nostart -o"
41499 if test "x$GCC" != "xyes"; then
41504 *-*-cygwin* | *-*-mingw32* )
41506 SHARED_LD_CC
="\$(CC) -shared -o"
41507 SHARED_LD_CXX
="\$(CXX) -shared -o"
41510 *-pc-os2_emx | *-pc-os2-emx )
41511 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41512 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41516 cat <<EOF >dllar.sh
41519 # dllar - a tool to build both a .dll and an .a file
41520 # from a set of object (.o) files for EMX/OS2.
41522 # Written by Andrew Zabolotny, bit@freya.etu.ru
41523 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41525 # This script will accept a set of files on the command line.
41526 # All the public symbols from the .o files will be exported into
41527 # a .DEF file, then linker will be run (through gcc) against them to
41528 # build a shared library consisting of all given .o files. All libraries
41529 # (.a) will be first decompressed into component .o files then act as
41530 # described above. You can optionally give a description (-d "description")
41531 # which will be put into .DLL. To see the list of accepted options (as well
41532 # as command-line format) simply run this program without options. The .DLL
41533 # is built to be imported by name (there is no guarantee that new versions
41534 # of the library you build will have same ordinals for same symbols).
41536 # dllar is free software; you can redistribute it and/or modify
41537 # it under the terms of the GNU General Public License as published by
41538 # the Free Software Foundation; either version 2, or (at your option)
41539 # any later version.
41541 # dllar is distributed in the hope that it will be useful,
41542 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41543 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41544 # GNU General Public License for more details.
41546 # You should have received a copy of the GNU General Public License
41547 # along with dllar; see the file COPYING. If not, write to the Free
41548 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41551 # To successfuly run this program you will need:
41552 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41553 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41555 # (used to build the .dll)
41557 # (used to create .def file from .o files)
41559 # (used to create .a file from .def file)
41560 # - GNU text utilites (cat, sort, uniq)
41561 # used to process emxexp output
41562 # - GNU file utilities (mv, rm)
41564 # - lxlite (optional, see flag below)
41565 # (used for general .dll cleanup)
41572 # basnam, variant of basename, which does _not_ remove the path, _iff_
41573 # second argument (suffix to remove) is given
41577 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41580 echo ${D}1 | sed 's/'${D}2'${D}//'
41583 echo "error in basnam ${D}*"
41589 # Cleanup temporary files and output
41592 for i in ${D}inputFiles ; do
41595 rm -rf \`basnam ${D}i !\`
41602 # Kill result in case of failure as there is just to many stupid make/nmake
41603 # things out there which doesn't do this.
41604 if [ ${D}# -eq 0 ]; then
41605 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41609 # Print usage and exit script with rc=1.
41611 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41612 echo ' [-name-mangler-script script.sh]'
41613 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41614 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41615 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41616 echo ' [*.o] [*.a]'
41617 echo '*> "output_file" should have no extension.'
41618 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41619 echo ' The import library name is derived from this and is set to "name".a,'
41620 echo ' unless overridden by -import'
41621 echo '*> "importlib_name" should have no extension.'
41622 echo ' If it has the .o, or .a extension, it is automatically removed.'
41623 echo ' This name is used as the import library name and may be longer and'
41624 echo ' more descriptive than the DLL name which has to follow the old '
41625 echo ' 8.3 convention of FAT.'
41626 echo '*> "script.sh may be given to override the output_file name by a'
41627 echo ' different name. It is mainly useful if the regular make process'
41628 echo ' of some package does not take into account OS/2 restriction of'
41629 echo ' DLL name lengths. It takes the importlib name as input and is'
41630 echo ' supposed to procude a shorter name as output. The script should'
41631 echo ' expect to get importlib_name without extension and should produce'
41632 echo ' a (max.) 8 letter name without extension.'
41633 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41634 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41635 echo ' These flags will be put at the start of GCC command line.'
41636 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41637 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41638 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41639 echo ' If the last character of a symbol is "*", all symbols beginning'
41640 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41641 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41642 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41643 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41644 echo ' C runtime DLLs.'
41645 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41646 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41647 echo ' unchanged to GCC at the end of command line.'
41648 echo '*> If you create a DLL from a library and you do not specify -o,'
41649 echo ' the basename for DLL and import library will be set to library name,'
41650 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41651 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41652 echo ' library will be renamed into gcc_s.a.'
41655 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41656 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41661 # Execute a command.
41662 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41663 # @Uses Whatever CleanUp() uses.
41669 if [ ${D}rcCmd -ne 0 ]; then
41670 echo "command failed, exit code="${D}rcCmd
41685 CFLAGS="-s -Zcrtdll"
41687 EXPORT_BY_ORDINALS=0
41692 case ${D}curDirS in
41696 curDirS=${D}{curDirS}"/"
41699 # Parse commandline
41702 while [ ${D}1 ]; do
41705 EXPORT_BY_ORDINALS=1;
41715 -name-mangler-script)
41736 exclude_symbols=${D}{exclude_symbols}${D}1" "
41740 library_flags=${D}{library_flags}${D}1" "
41759 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41762 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
41763 if [ ${D}omfLinking -eq 1 ]; then
41764 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
41766 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
41771 if [ ${D}libsToLink -ne 0 ]; then
41772 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41774 for file in ${D}1 ; do
41775 if [ -f ${D}file ]; then
41776 inputFiles="${D}{inputFiles} ${D}file"
41780 if [ ${D}found -eq 0 ]; then
41781 echo "ERROR: No file(s) found: "${D}1
41788 done # iterate cmdline words
41791 if [ -z "${D}inputFiles" ]; then
41792 echo "dllar: no input files"
41796 # Now extract all .o files from .a files
41798 for file in ${D}inputFiles ; do
41809 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
41814 dirname=\`basnam ${D}file ${D}suffix\`"_%"
41816 if [ ${D}? -ne 0 ]; then
41817 echo "Failed to create subdirectory ./${D}dirname"
41821 # Append '!' to indicate archive
41822 newInputFiles="${D}newInputFiles ${D}{dirname}!"
41823 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
41826 for subfile in ${D}dirname/*.o* ; do
41827 if [ -f ${D}subfile ]; then
41829 if [ -s ${D}subfile ]; then
41830 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
41831 newInputFiles="${D}newInputFiles ${D}subfile"
41835 if [ ${D}found -eq 0 ]; then
41836 echo "WARNING: there are no files in archive \\'${D}file\\'"
41840 newInputFiles="${D}{newInputFiles} ${D}file"
41844 inputFiles="${D}newInputFiles"
41846 # Output filename(s).
41848 if [ -z ${D}outFile ]; then
41850 set outFile ${D}inputFiles; outFile=${D}2
41853 # If it is an archive, remove the '!' and the '_%' suffixes
41854 case ${D}outFile in
41856 outFile=\`basnam ${D}outFile _%!\`
41861 case ${D}outFile in
41863 outFile=\`basnam ${D}outFile .dll\`
41866 outFile=\`basnam ${D}outFile .DLL\`
41869 outFile=\`basnam ${D}outFile .o\`
41872 outFile=\`basnam ${D}outFile .obj\`
41875 outFile=\`basnam ${D}outFile .a\`
41878 outFile=\`basnam ${D}outFile .lib\`
41883 case ${D}outimpFile in
41885 outimpFile=\`basnam ${D}outimpFile .a\`
41888 outimpFile=\`basnam ${D}outimpFile .lib\`
41893 if [ -z ${D}outimpFile ]; then
41894 outimpFile=${D}outFile
41896 defFile="${D}{outFile}.def"
41897 arcFile="${D}{outimpFile}.a"
41898 arcFile2="${D}{outimpFile}.lib"
41900 #create ${D}dllFile as something matching 8.3 restrictions,
41901 if [ -z ${D}renameScript ] ; then
41902 dllFile="${D}outFile"
41904 dllFile=\`${D}renameScript ${D}outimpFile\`
41907 if [ ${D}do_backup -ne 0 ] ; then
41908 if [ -f ${D}arcFile ] ; then
41909 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41911 if [ -f ${D}arcFile2 ] ; then
41912 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41916 # Extract public symbols from all the object files.
41917 tmpdefFile=${D}{defFile}_%
41918 rm -f ${D}tmpdefFile
41919 for file in ${D}inputFiles ; do
41924 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41929 # Create the def file.
41931 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41932 dllFile="${D}{dllFile}.dll"
41933 if [ ! -z ${D}description ]; then
41934 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
41936 echo "EXPORTS" >> ${D}defFile
41938 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
41939 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
41941 # Checks if the export is ok or not.
41942 for word in ${D}exclude_symbols; do
41943 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
41944 mv ${D}{tmpdefFile}% ${D}tmpdefFile
41948 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41949 sed "=" < ${D}tmpdefFile | \\
41953 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
41955 ' > ${D}{tmpdefFile}%
41956 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
41958 rm -f ${D}{tmpdefFile}%
41960 cat ${D}tmpdefFile >> ${D}defFile
41961 rm -f ${D}tmpdefFile
41963 # Do linking, create implib, and apply lxlite.
41965 for file in ${D}inputFiles ; do
41970 gccCmdl="${D}gccCmdl ${D}file"
41974 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
41975 touch "${D}{outFile}.dll"
41977 doCommand "emximp -o ${D}arcFile ${D}defFile"
41978 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
41980 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41983 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
41985 doCommand "emxomf -s -l ${D}arcFile"
41995 powerpc
-apple-macos* | \
41996 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42004 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42005 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42006 { (exit 1); exit 1; }; }
42009 if test "x$PIC_FLAG" != "x" ; then
42010 PIC_FLAG
="$PIC_FLAG -DPIC"
42013 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42014 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
42016 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42017 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
42034 case "${BAKEFILE_HOST}" in
42035 *-*-linux* | *-*-freebsd* )
42036 SONAME_FLAG
="-Wl,-soname,"
42064 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42065 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42068 if test "x$GCC" = "xyes"; then
42071 case "${BAKEFILE_HOST}" in
42072 powerpc
-*-darwin* )
42073 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
42076 DEPSFLAG_GCC
="-MMD"
42079 echo "$as_me:$LINENO: result: gcc" >&5
42080 echo "${ECHO_T}gcc" >&6
42081 elif test "x$MWCC" = "xyes"; then
42084 DEPSFLAG_MWCC
="-MM"
42085 echo "$as_me:$LINENO: result: mwcc" >&5
42086 echo "${ECHO_T}mwcc" >&6
42088 echo "$as_me:$LINENO: result: none" >&5
42089 echo "${ECHO_T}none" >&6
42092 if test $DEPS_TRACKING = 1 ; then
42098 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42099 # script. It is used to track C/C++ files dependencies in portable way.
42101 # Permission is given to use this file in any way.
42103 DEPSMODE=${DEPSMODE}
42105 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42106 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42108 mkdir -p ${D}DEPSDIR
42110 if test ${D}DEPSMODE = gcc ; then
42111 ${D}* ${D}{DEPSFLAG_GCC}
42113 if test ${D}{status} != 0 ; then
42116 # move created file to the location we want it in:
42117 while test ${D}# -gt 0; do
42131 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42132 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42133 if test -f ${D}depfile ; then
42134 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42137 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42138 if test -f ${D}depfile ; then
42139 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42144 elif test ${D}DEPSMODE = mwcc ; then
42147 if test ${D}{status} != 0 ; then
42150 # Run mwcc again with -MM and redirect into the dep file we want
42151 # NOTE: We can't use shift here because we need ${D}* to be valid
42153 for arg in ${D}* ; do
42154 if test "${D}prevarg" = "-o"; then
42167 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42184 case ${BAKEFILE_HOST} in
42185 *-*-cygwin* | *-*-mingw32* )
42186 if test "$build" != "$host" ; then
42187 RESCOMP
=$host_alias-windres
42189 # Extract the first word of "windres", so it can be a program name with args.
42190 set dummy windres
; ac_word
=$2
42191 echo "$as_me:$LINENO: checking for $ac_word" >&5
42192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42193 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42194 echo $ECHO_N "(cached) $ECHO_C" >&6
42196 if test -n "$RESCOMP"; then
42197 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42200 for as_dir
in $PATH
42203 test -z "$as_dir" && as_dir
=.
42204 for ac_exec_ext
in '' $ac_executable_extensions; do
42205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42206 ac_cv_prog_RESCOMP
="windres"
42207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42213 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42216 RESCOMP
=$ac_cv_prog_RESCOMP
42217 if test -n "$RESCOMP"; then
42218 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42219 echo "${ECHO_T}$RESCOMP" >&6
42221 echo "$as_me:$LINENO: result: no" >&5
42222 echo "${ECHO_T}no" >&6
42228 *-*-darwin* | powerpc
-apple-macos* )
42229 # Extract the first word of "Rez", so it can be a program name with args.
42230 set dummy Rez
; ac_word
=$2
42231 echo "$as_me:$LINENO: checking for $ac_word" >&5
42232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42233 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42234 echo $ECHO_N "(cached) $ECHO_C" >&6
42236 if test -n "$RESCOMP"; then
42237 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42240 for as_dir
in $PATH
42243 test -z "$as_dir" && as_dir
=.
42244 for ac_exec_ext
in '' $ac_executable_extensions; do
42245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42246 ac_cv_prog_RESCOMP
="Rez"
42247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42253 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
42256 RESCOMP
=$ac_cv_prog_RESCOMP
42257 if test -n "$RESCOMP"; then
42258 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42259 echo "${ECHO_T}$RESCOMP" >&6
42261 echo "$as_me:$LINENO: result: no" >&5
42262 echo "${ECHO_T}no" >&6
42265 # Extract the first word of "SetFile", so it can be a program name with args.
42266 set dummy SetFile
; ac_word
=$2
42267 echo "$as_me:$LINENO: checking for $ac_word" >&5
42268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42269 if test "${ac_cv_prog_SETFILE+set}" = set; then
42270 echo $ECHO_N "(cached) $ECHO_C" >&6
42272 if test -n "$SETFILE"; then
42273 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
42275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42276 for as_dir
in $PATH
42279 test -z "$as_dir" && as_dir
=.
42280 for ac_exec_ext
in '' $ac_executable_extensions; do
42281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42282 ac_cv_prog_SETFILE
="SetFile"
42283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42289 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
42292 SETFILE
=$ac_cv_prog_SETFILE
42293 if test -n "$SETFILE"; then
42294 echo "$as_me:$LINENO: result: $SETFILE" >&5
42295 echo "${ECHO_T}$SETFILE" >&6
42297 echo "$as_me:$LINENO: result: no" >&5
42298 echo "${ECHO_T}no" >&6
42308 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.8"
42311 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.8"
42315 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42316 if test "${enable_precomp_headers+set}" = set; then
42317 enableval
="$enable_precomp_headers"
42318 bk_use_pch
="$enableval"
42323 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42324 if test "x$GCC" = "xyes"; then
42325 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42326 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42327 cat >conftest.
$ac_ext <<_ACEOF
42330 cat confdefs.h
>>conftest.
$ac_ext
42331 cat >>conftest.
$ac_ext <<_ACEOF
42332 /* end confdefs.h. */
42338 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42339 #error "no pch support"
42342 #error "no pch support"
42344 #if (__GNUC__ == 3) && \
42345 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42346 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42347 #error "no pch support"
42354 rm -f conftest.
$ac_objext
42355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42356 (eval $ac_compile) 2>conftest.er1
42358 grep -v '^ *+' conftest.er1
>conftest.err
42360 cat conftest.err
>&5
42361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42362 (exit $ac_status); } &&
42363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42365 (eval $ac_try) 2>&5
42367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42368 (exit $ac_status); }; } &&
42369 { ac_try
='test -s conftest.$ac_objext'
42370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42371 (eval $ac_try) 2>&5
42373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374 (exit $ac_status); }; }; then
42376 echo "$as_me:$LINENO: result: yes" >&5
42377 echo "${ECHO_T}yes" >&6
42381 echo "$as_me: failed program was:" >&5
42382 sed 's/^/| /' conftest.
$ac_ext >&5
42385 echo "$as_me:$LINENO: result: no" >&5
42386 echo "${ECHO_T}no" >&6
42389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42390 if test $GCC_PCH = 1 ; then
42393 cat <<EOF >bk-make-pch
42396 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42397 # script. It is used to generated precompiled headers.
42399 # Permission is given to use this file in any way.
42408 while test ${D}{#} -gt 0; do
42411 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42412 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42413 headerfile="${D}{incdir}/${D}{header}"
42417 compiler="${D}{compiler} ${D}{1}"
42421 if test "x${D}{headerfile}" = "x" ; then
42422 echo "error: can't find header ${D}{header} in include paths" >2
42424 if test -f ${D}{outfile} ; then
42425 rm -f ${D}{outfile}
42427 mkdir -p \`dirname ${D}{outfile}\`
42429 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42431 # can do this because gcc is >= 3.4:
42432 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42437 chmod +x bk
-make-pch
42444 COND_BUILD_DEBUG
="#"
42445 if test "x$BUILD" = "xdebug" ; then
42446 COND_BUILD_DEBUG
=""
42449 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
42450 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42451 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
42454 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
42455 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42456 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
42459 COND_BUILD_DEBUG_UNICODE_0
="#"
42460 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42461 COND_BUILD_DEBUG_UNICODE_0
=""
42464 COND_BUILD_DEBUG_UNICODE_1
="#"
42465 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42466 COND_BUILD_DEBUG_UNICODE_1
=""
42469 COND_BUILD_RELEASE
="#"
42470 if test "x$BUILD" = "xrelease" ; then
42471 COND_BUILD_RELEASE
=""
42474 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
42475 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42476 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
42479 COND_BUILD_RELEASE_UNICODE_0
="#"
42480 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42481 COND_BUILD_RELEASE_UNICODE_0
=""
42484 COND_BUILD_RELEASE_UNICODE_1
="#"
42485 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42486 COND_BUILD_RELEASE_UNICODE_1
=""
42489 COND_DEBUG_FLAG_1
="#"
42490 if test "x$DEBUG_FLAG" = "x1" ; then
42491 COND_DEBUG_FLAG_1
=""
42494 COND_DEBUG_INFO_0
="#"
42495 if test "x$DEBUG_INFO" = "x0" ; then
42496 COND_DEBUG_INFO_0
=""
42499 COND_DEBUG_INFO_1
="#"
42500 if test "x$DEBUG_INFO" = "x1" ; then
42501 COND_DEBUG_INFO_1
=""
42504 COND_DEPS_TRACKING_0
="#"
42505 if test "x$DEPS_TRACKING" = "x0" ; then
42506 COND_DEPS_TRACKING_0
=""
42509 COND_DEPS_TRACKING_1
="#"
42510 if test "x$DEPS_TRACKING" = "x1" ; then
42511 COND_DEPS_TRACKING_1
=""
42515 if test "x$GCC_PCH" = "x1" ; then
42519 COND_MONOLITHIC_0
="#"
42520 if test "x$MONOLITHIC" = "x0" ; then
42521 COND_MONOLITHIC_0
=""
42524 COND_MONOLITHIC_0_SHARED_0
="#"
42525 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42526 COND_MONOLITHIC_0_SHARED_0
=""
42529 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
42530 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42531 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
42534 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
42535 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42536 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
42539 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
42540 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42541 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
42544 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
42545 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42546 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
42549 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
42550 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42551 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
42554 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
42555 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42556 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
42559 COND_MONOLITHIC_0_SHARED_1
="#"
42560 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42561 COND_MONOLITHIC_0_SHARED_1
=""
42564 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
42565 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42566 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
42569 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
42570 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42571 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
42574 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
42575 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42576 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
42579 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
42580 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42581 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
42584 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
42585 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42586 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
42589 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
42590 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42591 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
42594 COND_MONOLITHIC_0_USE_ODBC_1
="#"
42595 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42596 COND_MONOLITHIC_0_USE_ODBC_1
=""
42599 COND_MONOLITHIC_1
="#"
42600 if test "x$MONOLITHIC" = "x1" ; then
42601 COND_MONOLITHIC_1
=""
42604 COND_MONOLITHIC_1_SHARED_0
="#"
42605 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42606 COND_MONOLITHIC_1_SHARED_0
=""
42609 COND_MONOLITHIC_1_SHARED_1
="#"
42610 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42611 COND_MONOLITHIC_1_SHARED_1
=""
42614 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
42615 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42616 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
42619 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
42620 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42621 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
42624 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
42625 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42626 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
42629 COND_PLATFORM_MACOSX_1
="#"
42630 if test "x$PLATFORM_MACOSX" = "x1" ; then
42631 COND_PLATFORM_MACOSX_1
=""
42634 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
42635 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42636 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
42639 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
42640 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42641 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
42644 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
42645 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42646 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
42649 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
42650 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42651 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
42654 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
42655 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42656 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
42659 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42660 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42661 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42664 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
42665 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42666 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
42669 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
42670 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42671 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
42674 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
42675 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42676 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
42679 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
42680 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42681 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
42684 COND_PLATFORM_MACOS_1
="#"
42685 if test "x$PLATFORM_MACOS" = "x1" ; then
42686 COND_PLATFORM_MACOS_1
=""
42689 COND_PLATFORM_MAC_1
="#"
42690 if test "x$PLATFORM_MAC" = "x1" ; then
42691 COND_PLATFORM_MAC_1
=""
42694 COND_PLATFORM_OS2_1
="#"
42695 if test "x$PLATFORM_OS2" = "x1" ; then
42696 COND_PLATFORM_OS2_1
=""
42699 COND_PLATFORM_UNIX_0
="#"
42700 if test "x$PLATFORM_UNIX" = "x0" ; then
42701 COND_PLATFORM_UNIX_0
=""
42704 COND_PLATFORM_UNIX_1
="#"
42705 if test "x$PLATFORM_UNIX" = "x1" ; then
42706 COND_PLATFORM_UNIX_1
=""
42709 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
42710 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42711 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
42714 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
42715 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42716 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
42719 COND_PLATFORM_WIN32_0
="#"
42720 if test "x$PLATFORM_WIN32" = "x0" ; then
42721 COND_PLATFORM_WIN32_0
=""
42724 COND_PLATFORM_WIN32_1
="#"
42725 if test "x$PLATFORM_WIN32" = "x1" ; then
42726 COND_PLATFORM_WIN32_1
=""
42730 if test "x$SHARED" = "x0" ; then
42734 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
42735 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42736 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
42739 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
42740 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
42741 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
42744 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
42745 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
42746 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
42749 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
42750 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42751 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
42754 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42755 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42756 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42759 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42760 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42761 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42764 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42765 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42766 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42769 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
42770 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
42771 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
42774 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
42775 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
42776 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
42779 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
42780 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
42781 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
42784 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
42785 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
42786 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
42790 if test "x$SHARED" = "x1" ; then
42794 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
42795 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42796 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
42800 if test "x$TOOLKIT" = "x" ; then
42804 COND_TOOLKIT_COCOA
="#"
42805 if test "x$TOOLKIT" = "xCOCOA" ; then
42806 COND_TOOLKIT_COCOA
=""
42809 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
42810 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
42811 COND_TOOLKIT_COCOA_USE_GUI_1
=""
42814 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
42815 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42816 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
42819 COND_TOOLKIT_GTK
="#"
42820 if test "x$TOOLKIT" = "xGTK" ; then
42821 COND_TOOLKIT_GTK
=""
42824 COND_TOOLKIT_GTK_USE_GUI_1
="#"
42825 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
42826 COND_TOOLKIT_GTK_USE_GUI_1
=""
42829 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
42830 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42831 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
42834 COND_TOOLKIT_MAC
="#"
42835 if test "x$TOOLKIT" = "xMAC" ; then
42836 COND_TOOLKIT_MAC
=""
42839 COND_TOOLKIT_MAC_USE_GUI_1
="#"
42840 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42841 COND_TOOLKIT_MAC_USE_GUI_1
=""
42844 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42845 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42846 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42849 COND_TOOLKIT_MGL
="#"
42850 if test "x$TOOLKIT" = "xMGL" ; then
42851 COND_TOOLKIT_MGL
=""
42854 COND_TOOLKIT_MGL_USE_GUI_1
="#"
42855 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
42856 COND_TOOLKIT_MGL_USE_GUI_1
=""
42859 COND_TOOLKIT_MOTIF
="#"
42860 if test "x$TOOLKIT" = "xMOTIF" ; then
42861 COND_TOOLKIT_MOTIF
=""
42864 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
42865 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42866 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
42869 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
42870 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42871 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
42874 COND_TOOLKIT_MSW
="#"
42875 if test "x$TOOLKIT" = "xMSW" ; then
42876 COND_TOOLKIT_MSW
=""
42879 COND_TOOLKIT_MSW_USE_GUI_1
="#"
42880 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42881 COND_TOOLKIT_MSW_USE_GUI_1
=""
42884 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
42885 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42886 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
42889 COND_TOOLKIT_PM
="#"
42890 if test "x$TOOLKIT" = "xPM" ; then
42894 COND_TOOLKIT_PM_USE_GUI_1
="#"
42895 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42896 COND_TOOLKIT_PM_USE_GUI_1
=""
42899 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
42900 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42901 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
42904 COND_TOOLKIT_WINCE
="#"
42905 if test "x$TOOLKIT" = "xWINCE" ; then
42906 COND_TOOLKIT_WINCE
=""
42909 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
42910 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42911 COND_TOOLKIT_WINCE_USE_GUI_1
=""
42914 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
42915 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42916 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
42919 COND_TOOLKIT_X11
="#"
42920 if test "x$TOOLKIT" = "xX11" ; then
42921 COND_TOOLKIT_X11
=""
42924 COND_TOOLKIT_X11_USE_GUI_1
="#"
42925 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42926 COND_TOOLKIT_X11_USE_GUI_1
=""
42930 if test "x$UNICODE" = "x1" ; then
42934 COND_USE_EXCEPTIONS_0
="#"
42935 if test "x$USE_EXCEPTIONS" = "x0" ; then
42936 COND_USE_EXCEPTIONS_0
=""
42939 COND_USE_EXCEPTIONS_1
="#"
42940 if test "x$USE_EXCEPTIONS" = "x1" ; then
42941 COND_USE_EXCEPTIONS_1
=""
42945 if test "x$USE_GUI" = "x0" ; then
42950 if test "x$USE_GUI" = "x1" ; then
42954 COND_USE_GUI_1_WXUNIV_0
="#"
42955 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42956 COND_USE_GUI_1_WXUNIV_0
=""
42959 COND_USE_GUI_1_WXUNIV_1
="#"
42960 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
42961 COND_USE_GUI_1_WXUNIV_1
=""
42964 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42965 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42966 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42969 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42970 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42971 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42974 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42975 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42976 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42979 COND_USE_ODBC_1
="#"
42980 if test "x$USE_ODBC" = "x1" ; then
42984 COND_USE_OPENGL_1
="#"
42985 if test "x$USE_OPENGL" = "x1" ; then
42986 COND_USE_OPENGL_1
=""
42989 COND_USE_PLUGINS_0
="#"
42990 if test "x$USE_PLUGINS" = "x0" ; then
42991 COND_USE_PLUGINS_0
=""
42994 COND_USE_RTTI_0
="#"
42995 if test "x$USE_RTTI" = "x0" ; then
42999 COND_USE_RTTI_1
="#"
43000 if test "x$USE_RTTI" = "x1" ; then
43004 COND_USE_SOSYMLINKS_1
="#"
43005 if test "x$USE_SOSYMLINKS" = "x1" ; then
43006 COND_USE_SOSYMLINKS_1
=""
43009 COND_USE_SOVERLINUX_1
="#"
43010 if test "x$USE_SOVERLINUX" = "x1" ; then
43011 COND_USE_SOVERLINUX_1
=""
43014 COND_USE_SOVERSION_0
="#"
43015 if test "x$USE_SOVERSION" = "x0" ; then
43016 COND_USE_SOVERSION_0
=""
43019 COND_USE_SOVERSOLARIS_1
="#"
43020 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43021 COND_USE_SOVERSOLARIS_1
=""
43024 COND_USE_THREADS_0
="#"
43025 if test "x$USE_THREADS" = "x0" ; then
43026 COND_USE_THREADS_0
=""
43029 COND_USE_THREADS_1
="#"
43030 if test "x$USE_THREADS" = "x1" ; then
43031 COND_USE_THREADS_1
=""
43035 if test "x$USE_XRC" = "x1" ; then
43039 COND_WITH_PLUGIN_SDL_1
="#"
43040 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43041 COND_WITH_PLUGIN_SDL_1
=""
43045 if test "x$WXUNIV" = "x0" ; then
43050 if test "x$WXUNIV" = "x1" ; then
43054 COND_WXUSE_EXPAT_BUILTIN
="#"
43055 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43056 COND_WXUSE_EXPAT_BUILTIN
=""
43059 COND_WXUSE_LIBJPEG_BUILTIN
="#"
43060 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43061 COND_WXUSE_LIBJPEG_BUILTIN
=""
43064 COND_WXUSE_LIBPNG_BUILTIN
="#"
43065 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43066 COND_WXUSE_LIBPNG_BUILTIN
=""
43069 COND_WXUSE_LIBTIFF_BUILTIN
="#"
43070 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43071 COND_WXUSE_LIBTIFF_BUILTIN
=""
43074 COND_WXUSE_ODBC_BUILTIN
="#"
43075 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43076 COND_WXUSE_ODBC_BUILTIN
=""
43079 COND_WXUSE_REGEX_BUILTIN
="#"
43080 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43081 COND_WXUSE_REGEX_BUILTIN
=""
43084 COND_WXUSE_ZLIB_BUILTIN
="#"
43085 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43086 COND_WXUSE_ZLIB_BUILTIN
=""
43091 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43092 { { 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
43093 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;}
43094 { (exit 1); exit 1; }; }
43098 if test "$wxUSE_SHARED" = "yes"; then
43100 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
43101 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
43104 *-pc-os2_emx | *-pc-os2-emx )
43105 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43106 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43107 cp -p ${srcdir}/src
/os
2/dllnames.sh .
43108 cp -p ${srcdir}/src
/os
2/dllar.sh .
43113 EXE_LINKER
="$CXX -o"
43117 GCC_PRAGMA_FLAGS
=""
43119 if test $GCC_PCH = 1 ; then
43120 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43121 PCH_FLAGS
="-DWX_PRECOMP"
43124 powerpc
-*-darwin* )
43125 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43128 if test "$wxUSE_STL" = "yes" -o \
43129 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43130 "$wxUSE_NO_RTTI" != "yes"; then
43131 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43132 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43133 cat >conftest.
$ac_ext <<_ACEOF
43136 cat confdefs.h
>>conftest.
$ac_ext
43137 cat >>conftest.
$ac_ext <<_ACEOF
43138 /* end confdefs.h. */
43143 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43144 #error "Not GCC 3.2 or greater"
43151 rm -f conftest.
$ac_objext
43152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43153 (eval $ac_compile) 2>conftest.er1
43155 grep -v '^ *+' conftest.er1
>conftest.err
43157 cat conftest.err
>&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); } &&
43160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43162 (eval $ac_try) 2>&5
43164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43165 (exit $ac_status); }; } &&
43166 { ac_try
='test -s conftest.$ac_objext'
43167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43168 (eval $ac_try) 2>&5
43170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171 (exit $ac_status); }; }; then
43172 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43173 echo "$as_me:$LINENO: result: yes" >&5
43174 echo "${ECHO_T}yes" >&6
43176 echo "$as_me: failed program was:" >&5
43177 sed 's/^/| /' conftest.
$ac_ext >&5
43179 echo "$as_me:$LINENO: result: no" >&5
43180 echo "${ECHO_T}no" >&6
43182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43185 *-pc-os2_emx | *-pc-os2-emx )
43186 if test "$wxUSE_STL" = "yes"; then
43187 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43188 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43189 cat >conftest.
$ac_ext <<_ACEOF
43192 cat confdefs.h
>>conftest.
$ac_ext
43193 cat >>conftest.
$ac_ext <<_ACEOF
43194 /* end confdefs.h. */
43199 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43200 #error "Not GCC 3.2 or greater"
43207 rm -f conftest.
$ac_objext
43208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43209 (eval $ac_compile) 2>conftest.er1
43211 grep -v '^ *+' conftest.er1
>conftest.err
43213 cat conftest.err
>&5
43214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43215 (exit $ac_status); } &&
43216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43218 (eval $ac_try) 2>&5
43220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 (exit $ac_status); }; } &&
43222 { ac_try
='test -s conftest.$ac_objext'
43223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43224 (eval $ac_try) 2>&5
43226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43227 (exit $ac_status); }; }; then
43228 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43229 echo "$as_me:$LINENO: result: yes" >&5
43230 echo "${ECHO_T}yes" >&6
43232 echo "$as_me: failed program was:" >&5
43233 sed 's/^/| /' conftest.
$ac_ext >&5
43235 echo "$as_me:$LINENO: result: no" >&5
43236 echo "${ECHO_T}no" >&6
43238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43243 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43246 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43310 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43311 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43312 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43313 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43314 echo $ECHO_N "(cached) $ECHO_C" >&6
43316 cat >conftest.
make <<\_ACEOF
43318 @
echo 'ac_maketemp="$(MAKE)"'
43320 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43321 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43322 if test -n "$ac_maketemp"; then
43323 eval ac_cv_prog_make_
${ac_make}_set
=yes
43325 eval ac_cv_prog_make_
${ac_make}_set
=no
43327 rm -f conftest.
make
43329 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43330 echo "$as_me:$LINENO: result: yes" >&5
43331 echo "${ECHO_T}yes" >&6
43334 echo "$as_me:$LINENO: result: no" >&5
43335 echo "${ECHO_T}no" >&6
43336 SET_MAKE
="MAKE=${MAKE-make}"
43341 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43344 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43347 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43350 ac_config_files
="$ac_config_files version-script Makefile"
43353 ac_config_commands
="$ac_config_commands wx-config
43359 if test "$wxUSE_GUI" = "yes"; then
43360 SUBDIRS
="samples demos utils contrib"
43361 else SUBDIRS
="samples utils"
43366 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43367 if test "${with_cppunit_prefix+set}" = set; then
43368 withval
="$with_cppunit_prefix"
43369 cppunit_config_prefix
="$withval"
43371 cppunit_config_prefix
=""
43374 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43375 if test "${with_cppunit_exec_prefix+set}" = set; then
43376 withval
="$with_cppunit_exec_prefix"
43377 cppunit_config_exec_prefix
="$withval"
43379 cppunit_config_exec_prefix
=""
43382 if test x
$cppunit_config_exec_prefix != x
; then
43383 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43384 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43385 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
43388 if test x
$cppunit_config_prefix != x
; then
43389 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
43390 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43391 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
43395 # Extract the first word of "cppunit-config", so it can be a program name with args.
43396 set dummy cppunit
-config; ac_word
=$2
43397 echo "$as_me:$LINENO: checking for $ac_word" >&5
43398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43399 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43400 echo $ECHO_N "(cached) $ECHO_C" >&6
43402 case $CPPUNIT_CONFIG in
43404 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43408 for as_dir
in $PATH
43411 test -z "$as_dir" && as_dir
=.
43412 for ac_exec_ext
in '' $ac_executable_extensions; do
43413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43414 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43421 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
43425 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
43427 if test -n "$CPPUNIT_CONFIG"; then
43428 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43429 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43431 echo "$as_me:$LINENO: result: no" >&5
43432 echo "${ECHO_T}no" >&6
43435 cppunit_version_min
=1.8.0
43437 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43438 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43440 if test "$CPPUNIT_CONFIG" = "no" ; then
43443 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
43444 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
43445 cppunit_version
=`$CPPUNIT_CONFIG --version`
43447 cppunit_major_version
=`echo $cppunit_version | \
43448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43449 cppunit_minor_version
=`echo $cppunit_version | \
43450 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43451 cppunit_micro_version
=`echo $cppunit_version | \
43452 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43454 cppunit_major_min
=`echo $cppunit_version_min | \
43455 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43456 cppunit_minor_min
=`echo $cppunit_version_min | \
43457 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43458 cppunit_micro_min
=`echo $cppunit_version_min | \
43459 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43461 cppunit_version_proper
=`expr \
43462 $cppunit_major_version \> $cppunit_major_min \| \
43463 $cppunit_major_version \= $cppunit_major_min \& \
43464 $cppunit_minor_version \> $cppunit_minor_min \| \
43465 $cppunit_major_version \= $cppunit_major_min \& \
43466 $cppunit_minor_version \= $cppunit_minor_min \& \
43467 $cppunit_micro_version \>= $cppunit_micro_min `
43469 if test "$cppunit_version_proper" = "1" ; then
43470 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43471 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43473 echo "$as_me:$LINENO: result: no" >&5
43474 echo "${ECHO_T}no" >&6
43479 if test "x$no_cppunit" = x
; then
43480 SUBDIRS
="$SUBDIRS tests"
43491 for subdir
in `echo $SUBDIRS`; do
43492 if test -d ${srcdir}/${subdir} ; then
43493 if test "$wxUSE_GUI" = "yes"; then
43494 if test ${subdir} = "samples"; then
43495 makefiles
="samples/Makefile.in $makefiles"
43496 for sample
in `echo $SAMPLES_SUBDIRS`; do
43497 if test -d $srcdir/samples
/$sample; then
43498 makefiles
="samples/$sample/Makefile.in $makefiles"
43501 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43503 else if test ${subdir} = "samples"; then
43504 makefiles
="samples/Makefile.in samples/console/Makefile.in"
43505 elif test ${subdir} = "utils"; then
43507 for util
in HelpGen tex2rtf
; do
43508 if test -d $srcdir/utils
/$util ; then
43509 makefiles
="utils/$util/Makefile.in \
43510 utils/$util/src/Makefile.in \
43514 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43518 for mkin
in $makefiles ; do
43519 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43520 ac_config_files
="$ac_config_files $mk"
43527 cat >confcache
<<\_ACEOF
43528 # This file is a shell script that caches the results of configure
43529 # tests run on this system so they can be shared between configure
43530 # scripts and configure runs, see configure's option --config-cache.
43531 # It is not useful on other systems. If it contains results you don't
43532 # want to keep, you may remove or edit it.
43534 # config.status only pays attention to the cache file if you give it
43535 # the --recheck option to rerun configure.
43537 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43538 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43539 # following values.
43543 # The following way of writing the cache mishandles newlines in values,
43544 # but we know of no workaround that is simple, portable, and efficient.
43545 # So, don't put newlines in cache variables' values.
43546 # Ultrix sh set writes to stderr and can't be redirected directly,
43547 # and sets the high bit in the cache file unless we assign to the vars.
43550 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43552 # `set' does not quote correctly, so add quotes (double-quote
43553 # substitution turns \\\\ into \\, and sed turns \\ into \).
43556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43559 # `set' quotes correctly as required by POSIX, so do not add quotes.
43561 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43568 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43570 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43572 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
43573 if test -w $cache_file; then
43574 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43575 cat confcache
>$cache_file
43577 echo "not updating unwritable cache $cache_file"
43582 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
43583 # Let make expand exec_prefix.
43584 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
43586 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43587 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43588 # trailing colons and then remove the whole line if VPATH becomes empty
43589 # (actually we leave an empty line to preserve line numbers).
43590 if test "x$srcdir" = x.
; then
43591 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
43592 s/:*\$(srcdir):*/:/;
43593 s/:*\${srcdir}:*/:/;
43595 s/^\([^=]*=[ ]*\):*/\1/;
43601 DEFS
=-DHAVE_CONFIG_H
43605 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
43606 # 1. Remove the extension, and $U if already installed.
43607 ac_i
=`echo "$ac_i" |
43608 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43610 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
43611 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
43613 LIBOBJS
=$ac_libobjs
43615 LTLIBOBJS
=$ac_ltlibobjs
43619 : ${CONFIG_STATUS=./config.status}
43620 ac_clean_files_save
=$ac_clean_files
43621 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
43622 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43623 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43624 cat >$CONFIG_STATUS <<_ACEOF
43626 # Generated by $as_me.
43627 # Run this file to recreate the current configuration.
43628 # Compiler output produced by configure, useful for debugging
43629 # configure, is in config.log if it exists.
43632 ac_cs_recheck=false
43634 SHELL=\${CONFIG_SHELL-$SHELL}
43637 cat >>$CONFIG_STATUS <<\_ACEOF
43638 ## --------------------- ##
43639 ## M4sh Initialization. ##
43640 ## --------------------- ##
43642 # Be Bourne compatible
43643 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
43646 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43647 # is contrary to our usage. Disable this feature.
43648 alias -g '${1+"$@"}'='"$@"'
43649 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
43652 DUALCASE
=1; export DUALCASE
# for MKS sh
43654 # Support unset when possible.
43655 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
43662 # Work around bugs in pre-3.0 UWIN ksh.
43663 $as_unset ENV MAIL MAILPATH
43670 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43671 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43672 LC_TELEPHONE LC_TIME
43674 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43675 eval $as_var=C
; export $as_var
43681 # Required to use basename.
43682 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43688 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
43689 as_basename
=basename
43695 # Name of the executable.
43696 as_me
=`$as_basename "$0" ||
43697 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43698 X"$0" : 'X\(//\)$' \| \
43699 X"$0" : 'X\(/\)$' \| \
43700 . : '\(.\)' 2>/dev/null ||
43702 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43703 /^X\/\(\/\/\)$/{ s//\1/; q; }
43704 /^X\/\(\/\).*/{ s//\1/; q; }
43708 # PATH needs CR, and LINENO needs CR and PATH.
43709 # Avoid depending upon Character Ranges.
43710 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
43711 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43712 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
43713 as_cr_digits
='0123456789'
43714 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43716 # The user is always right.
43717 if test "${PATH_SEPARATOR+set}" != set; then
43718 echo "#! /bin/sh" >conf$$.sh
43719 echo "exit 0" >>conf$$.sh
43721 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
43730 as_lineno_1
=$LINENO
43731 as_lineno_2
=$LINENO
43732 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
43733 test "x$as_lineno_1" != "x$as_lineno_2" &&
43734 test "x$as_lineno_3" = "x$as_lineno_2" || {
43735 # Find who we are. Look in the path if we contain no path at all
43738 *[\\/]* ) as_myself
=$0 ;;
43739 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43740 for as_dir
in $PATH
43743 test -z "$as_dir" && as_dir
=.
43744 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
43749 # We did not find ourselves, most probably we were run as `sh COMMAND'
43750 # in which case we are not to be found in the path.
43751 if test "x$as_myself" = x
; then
43754 if test ! -f "$as_myself"; then
43755 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43756 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43757 { (exit 1); exit 1; }; }
43759 case $CONFIG_SHELL in
43761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43762 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
43765 test -z "$as_dir" && as_dir
=.
43766 for as_base
in sh bash ksh sh5
; do
43769 if ("$as_dir/$as_base" -c '
43770 as_lineno_1=$LINENO
43771 as_lineno_2=$LINENO
43772 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43773 test "x$as_lineno_1" != "x$as_lineno_2" &&
43774 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
43775 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
43776 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
43777 CONFIG_SHELL
=$as_dir/$as_base
43778 export CONFIG_SHELL
43779 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
43787 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43788 # uniformly replaced by the line number. The first 'sed' inserts a
43789 # line-number line before each line; the second 'sed' does the real
43790 # work. The second script uses 'N' to pair each line-number line
43791 # with the numbered line, and appends trailing '-' during
43792 # substitution so that $LINENO is not a special case at line end.
43793 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43794 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
43795 sed '=' <$as_myself |
43800 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
43803 s,^['$as_cr_digits']*\n,,
43804 ' >$as_me.lineno
&&
43805 chmod +x
$as_me.lineno
||
43806 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
43807 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
43808 { (exit 1); exit 1; }; }
43810 # Don't try to exec as it changes $[0], causing all sort of problems
43811 # (the dirname of $[0] is not the place where we might find the
43812 # original and so on. Autoconf is especially sensible to this).
43814 # Exit status is that of the last command.
43819 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
43820 *c
*,-n*) ECHO_N
= ECHO_C
='
43822 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
43823 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
43826 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43832 rm -f conf$$ conf$$.exe conf$$.
file
43834 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
43835 # We could just check for DJGPP; but this test a) works b) is more generic
43836 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
43837 if test -f conf$$.exe
; then
43838 # Don't use ln at all; we don't have any links
43843 elif ln conf$$.
file conf$$
2>/dev
/null
; then
43848 rm -f conf$$ conf$$.exe conf$$.
file
43850 if mkdir -p .
2>/dev
/null
; then
43853 test -d .
/-p && rmdir .
/-p
43857 as_executable_p
="test -f"
43859 # Sed expression to map a string onto a valid CPP name.
43860 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43862 # Sed expression to map a string onto a valid variable name.
43863 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43867 # We need space, tab and new line, in precisely that order.
43877 # Open the log real soon, to keep \$[0] and so on meaningful, and to
43878 # report actual input values of CONFIG_FILES etc. instead of their
43879 # values after options handling. Logging --version etc. is OK.
43883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43884 ## Running $as_me. ##
43889 This file was extended by wxWidgets $as_me 2.5.5, which was
43890 generated by GNU Autoconf 2.59. Invocation command line was
43892 CONFIG_FILES = $CONFIG_FILES
43893 CONFIG_HEADERS = $CONFIG_HEADERS
43894 CONFIG_LINKS = $CONFIG_LINKS
43895 CONFIG_COMMANDS = $CONFIG_COMMANDS
43899 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43903 # Files that config.status was made for.
43904 if test -n "$ac_config_files"; then
43905 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43908 if test -n "$ac_config_headers"; then
43909 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43912 if test -n "$ac_config_links"; then
43913 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43916 if test -n "$ac_config_commands"; then
43917 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43920 cat >>$CONFIG_STATUS <<\_ACEOF
43923 \`$as_me' instantiates files from templates according to the
43924 current configuration.
43926 Usage: $0 [OPTIONS] [FILE]...
43928 -h, --help print this help, then exit
43929 -V, --version print version number, then exit
43930 -q, --quiet do not print progress messages
43931 -d, --debug don't remove temporary files
43932 --recheck update $as_me by reconfiguring in the same conditions
43933 --file=FILE[:TEMPLATE]
43934 instantiate the configuration file FILE
43935 --header=FILE[:TEMPLATE]
43936 instantiate the configuration header FILE
43938 Configuration files:
43941 Configuration headers:
43944 Configuration commands:
43947 Report bugs to <bug-autoconf@gnu.org>."
43950 cat >>$CONFIG_STATUS <<_ACEOF
43952 wxWidgets config.status 2.5.5
43953 configured by $0, generated by GNU Autoconf 2.59,
43954 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43956 Copyright (C) 2003 Free Software Foundation, Inc.
43957 This config.status script is free software; the Free Software Foundation
43958 gives unlimited permission to copy, distribute and modify it."
43963 cat >>$CONFIG_STATUS <<\_ACEOF
43964 # If no file are specified by the user, then we need to provide default
43965 # value. By we need to know if files were specified by the user.
43971 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
43972 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
43980 *) # This is not an option, so the user has probably given explicit
43983 ac_need_defaults
=false
;;
43987 # Handling of the options.
43989 cat >>$CONFIG_STATUS <<\_ACEOF
43990 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43992 --version | --vers* | -V )
43993 echo "$ac_cs_version"; exit 0 ;;
43995 # Conflict between --help and --header
43996 { { echo "$as_me:$LINENO: error: ambiguous option: $1
43997 Try \`$0 --help' for more information." >&5
43998 echo "$as_me: error: ambiguous option: $1
43999 Try \`$0 --help' for more information." >&2;}
44000 { (exit 1); exit 1; }; };;
44001 --help | --hel | -h )
44002 echo "$ac_cs_usage"; exit 0 ;;
44003 --debug | --d* | -d )
44005 --file | --fil | --fi | --f )
44007 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
44008 ac_need_defaults
=false
;;
44009 --header | --heade | --head | --hea )
44011 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
44012 ac_need_defaults
=false
;;
44013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44014 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44017 # This is an error.
44018 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44019 Try \`$0 --help' for more information." >&5
44020 echo "$as_me: error: unrecognized option: $1
44021 Try \`$0 --help' for more information." >&2;}
44022 { (exit 1); exit 1; }; } ;;
44024 *) ac_config_targets
="$ac_config_targets $1" ;;
44030 ac_configure_extra_args
=
44032 if $ac_cs_silent; then
44034 ac_configure_extra_args
="$ac_configure_extra_args --silent"
44038 cat >>$CONFIG_STATUS <<_ACEOF
44039 if \$ac_cs_recheck; then
44040 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44041 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44046 cat >>$CONFIG_STATUS <<_ACEOF
44048 # INIT-COMMANDS section.
44051 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44052 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44053 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44061 cat >>$CONFIG_STATUS <<\_ACEOF
44062 for ac_config_target
in $ac_config_targets
44064 case "$ac_config_target" in
44065 # Handling of arguments.
44066 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44067 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44068 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
44069 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
44070 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
44071 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
44072 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44073 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44074 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44075 { (exit 1); exit 1; }; };;
44079 # If the user did not use the arguments to specify the items to instantiate,
44080 # then the envvar interface is used. Set only those that are not.
44081 # We use the long form for the default assignment because of an extremely
44082 # bizarre bug on SunOS 4.1.3.
44083 if $ac_need_defaults; then
44084 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
44085 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
44086 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
44089 # Have a temporary directory for convenience. Make it in the build tree
44090 # simply because there is no reason to put it here, and in addition,
44091 # creating and moving files from /tmp can sometimes cause problems.
44092 # Create a temporary directory, and hook for its removal unless debugging.
44095 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44096 trap '{ (exit 1); exit 1; }' 1 2 13 15
44099 # Create a (secure) tmp directory for tmp files.
44102 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44103 test -n "$tmp" && test -d "$tmp"
44106 tmp
=.
/confstat$$
-$RANDOM
44107 (umask 077 && mkdir $tmp)
44110 echo "$me: cannot create a temporary directory in ." >&2
44111 { (exit 1); exit 1; }
44116 cat >>$CONFIG_STATUS <<_ACEOF
44119 # CONFIG_FILES section.
44122 # No need to generate the scripts if there are no CONFIG_FILES.
44123 # This happens for instance when ./config.status config.h
44124 if test -n "\$CONFIG_FILES"; then
44125 # Protect against being on the right side of a sed subst in config.status.
44126 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44127 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44128 s,@SHELL@,$SHELL,;t t
44129 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44130 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44131 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44132 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44133 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44134 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44135 s,@exec_prefix@,$exec_prefix,;t t
44136 s,@prefix@,$prefix,;t t
44137 s,@program_transform_name@,$program_transform_name,;t t
44138 s,@bindir@,$bindir,;t t
44139 s,@sbindir@,$sbindir,;t t
44140 s,@libexecdir@,$libexecdir,;t t
44141 s,@datadir@,$datadir,;t t
44142 s,@sysconfdir@,$sysconfdir,;t t
44143 s,@sharedstatedir@,$sharedstatedir,;t t
44144 s,@localstatedir@,$localstatedir,;t t
44145 s,@libdir@,$libdir,;t t
44146 s,@includedir@,$includedir,;t t
44147 s,@oldincludedir@,$oldincludedir,;t t
44148 s,@infodir@,$infodir,;t t
44149 s,@mandir@,$mandir,;t t
44150 s,@build_alias@,$build_alias,;t t
44151 s,@host_alias@,$host_alias,;t t
44152 s,@target_alias@,$target_alias,;t t
44153 s,@DEFS@,$DEFS,;t t
44154 s,@ECHO_C@,$ECHO_C,;t t
44155 s,@ECHO_N@,$ECHO_N,;t t
44156 s,@ECHO_T@,$ECHO_T,;t t
44157 s,@LIBS@,$LIBS,;t t
44158 s,@build@,$build,;t t
44159 s,@build_cpu@,$build_cpu,;t t
44160 s,@build_vendor@,$build_vendor,;t t
44161 s,@build_os@,$build_os,;t t
44162 s,@host@,$host,;t t
44163 s,@host_cpu@,$host_cpu,;t t
44164 s,@host_vendor@,$host_vendor,;t t
44165 s,@host_os@,$host_os,;t t
44166 s,@target@,$target,;t t
44167 s,@target_cpu@,$target_cpu,;t t
44168 s,@target_vendor@,$target_vendor,;t t
44169 s,@target_os@,$target_os,;t t
44171 s,@CFLAGS@,$CFLAGS,;t t
44172 s,@LDFLAGS@,$LDFLAGS,;t t
44173 s,@CPPFLAGS@,$CPPFLAGS,;t t
44174 s,@ac_ct_CC@,$ac_ct_CC,;t t
44175 s,@EXEEXT@,$EXEEXT,;t t
44176 s,@OBJEXT@,$OBJEXT,;t t
44178 s,@EGREP@,$EGREP,;t t
44180 s,@CXXFLAGS@,$CXXFLAGS,;t t
44181 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44182 s,@RANLIB@,$RANLIB,;t t
44183 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44185 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44186 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44187 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44188 s,@STRIP@,$STRIP,;t t
44189 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44190 s,@LN_S@,$LN_S,;t t
44191 s,@CXXCPP@,$CXXCPP,;t t
44192 s,@subdirs@,$subdirs,;t t
44193 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44194 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44195 s,@GTK_LIBS@,$GTK_LIBS,;t t
44196 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44197 s,@X_CFLAGS@,$X_CFLAGS,;t t
44198 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44199 s,@X_LIBS@,$X_LIBS,;t t
44200 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44201 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44202 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44203 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44204 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44205 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44206 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44207 s,@RESCOMP@,$RESCOMP,;t t
44208 s,@DEREZ@,$DEREZ,;t t
44209 s,@SETFILE@,$SETFILE,;t t
44210 s,@LIBICONV@,$LIBICONV,;t t
44211 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44212 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44213 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44214 s,@SDL_LIBS@,$SDL_LIBS,;t t
44215 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44216 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44217 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44218 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44219 s,@GST_INSPECT@,$GST_INSPECT,;t t
44220 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44221 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44222 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44223 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44224 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44225 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44226 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44227 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44228 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44229 s,@VENDOR@,$VENDOR,;t t
44230 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44231 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44232 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44233 s,@WXUNIV@,$WXUNIV,;t t
44234 s,@MONOLITHIC@,$MONOLITHIC,;t t
44235 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44236 s,@EXTRALIBS@,$EXTRALIBS,;t t
44237 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44238 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44239 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44240 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44241 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44242 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44243 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44244 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44245 s,@UNICODE@,$UNICODE,;t t
44246 s,@BUILD@,$BUILD,;t t
44247 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44248 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44249 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44250 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44251 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44252 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44253 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44254 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44255 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44256 s,@SET_MAKE@,$SET_MAKE,;t t
44257 s,@MAKE_SET@,$MAKE_SET,;t t
44258 s,@ac_ct_AR@,$ac_ct_AR,;t t
44259 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44261 s,@ac_ct_NM@,$ac_ct_NM,;t t
44262 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44263 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44264 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44265 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44266 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44267 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44268 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44269 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44270 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44271 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44272 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44273 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44274 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44275 s,@LIBPREFIX@,$LIBPREFIX,;t t
44276 s,@LIBEXT@,$LIBEXT,;t t
44277 s,@DLLPREFIX@,$DLLPREFIX,;t t
44278 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44279 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44280 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44281 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44282 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44283 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44284 s,@PIC_FLAG@,$PIC_FLAG,;t t
44285 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44286 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44287 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44288 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44289 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44290 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44291 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44292 s,@GCC_PCH@,$GCC_PCH,;t t
44293 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44294 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44295 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44296 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44297 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44298 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44299 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44300 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44301 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44302 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44303 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44304 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44305 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44306 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44307 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44308 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44309 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44310 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44311 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
44312 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
44313 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1,;t t
44314 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44315 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44316 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44317 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44318 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
44319 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
44320 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1,;t t
44321 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44322 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44323 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44324 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44325 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44326 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44327 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44328 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44329 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44330 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44331 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44332 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44333 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44334 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44335 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44336 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
44337 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44338 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44339 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44340 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44341 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44342 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44343 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44344 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44345 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44346 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44347 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44348 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44349 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44350 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44351 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44352 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44353 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44354 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44355 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44356 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44357 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44358 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44359 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44360 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44361 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44362 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44363 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44364 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44365 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44366 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44367 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44368 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44369 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44370 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44371 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44372 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44373 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44374 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44375 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44376 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44377 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44378 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44379 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44380 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44381 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44382 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44383 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44384 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44385 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44386 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44387 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44388 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44389 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44390 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44391 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44392 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44393 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44394 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44395 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44396 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44397 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44398 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44399 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44400 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44401 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44402 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44403 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44404 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44405 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44406 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44407 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44408 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44409 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44410 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44411 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44412 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44413 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44414 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44415 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44416 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44417 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44418 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44419 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44420 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44421 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44422 s,@SHARED@,$SHARED,;t t
44423 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44424 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44425 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44426 s,@USE_GUI@,$USE_GUI,;t t
44427 s,@AFMINSTALL@,$AFMINSTALL,;t t
44428 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44429 s,@TOOLKIT@,$TOOLKIT,;t t
44430 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44431 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44432 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44433 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44434 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44435 s,@cross_compiling@,$cross_compiling,;t t
44436 s,@WIDGET_SET@,$WIDGET_SET,;t t
44437 s,@WX_RELEASE@,$WX_RELEASE,;t t
44438 s,@WX_VERSION@,$WX_VERSION,;t t
44439 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44440 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44441 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44442 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44443 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44444 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44445 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44446 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44447 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44448 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44449 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44450 s,@EXE_LINKER@,$EXE_LINKER,;t t
44451 s,@GUIDIST@,$GUIDIST,;t t
44452 s,@DISTDIR@,$DISTDIR,;t t
44453 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44454 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44455 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44456 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44457 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44458 s,@RESFLAGS@,$RESFLAGS,;t t
44459 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44460 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44461 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44462 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44463 s,@MACRESCOMP@,$MACRESCOMP,;t t
44464 s,@MACSETFILE@,$MACSETFILE,;t t
44465 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44467 s,@DLLTOOL@,$DLLTOOL,;t t
44468 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44469 s,@LIBOBJS@,$LIBOBJS,;t t
44470 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44475 cat >>$CONFIG_STATUS <<\_ACEOF
44476 # Split the substitutions into bite-sized pieces for seds with
44477 # small command number limits, like on Digital OSF/1 and HP-UX.
44478 ac_max_sed_lines
=48
44479 ac_sed_frag
=1 # Number of current file.
44480 ac_beg
=1 # First line for current file.
44481 ac_end
=$ac_max_sed_lines # Line after last line for current file.
44484 while $ac_more_lines; do
44485 if test $ac_beg -gt 1; then
44486 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44488 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44490 if test ! -s $tmp/subs.frag
; then
44491 ac_more_lines
=false
44493 # The purpose of the label and of the branching condition is to
44494 # speed up the sed processing (if there are no `@' at all, there
44495 # is no need to browse any of the substitutions).
44496 # These are the two extra sed commands mentioned above.
44498 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
44499 if test -z "$ac_sed_cmds"; then
44500 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
44502 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44504 ac_sed_frag
=`expr $ac_sed_frag + 1`
44506 ac_end
=`expr $ac_end + $ac_max_sed_lines`
44509 if test -z "$ac_sed_cmds"; then
44512 fi # test -n "$CONFIG_FILES"
44515 cat >>$CONFIG_STATUS <<\_ACEOF
44516 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
44517 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44519 - | *:- | *:-:* ) # input from stdin
44521 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44522 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44523 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44524 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44525 * ) ac_file_in
=$ac_file.
in ;;
44528 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44529 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44530 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44531 X"$ac_file" : 'X\(//\)[^/]' \| \
44532 X"$ac_file" : 'X\(//\)$' \| \
44533 X"$ac_file" : 'X\(/\)' \| \
44534 . : '\(.\)' 2>/dev/null ||
44536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44537 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44538 /^X\(\/\/\)$/{ s//\1/; q; }
44539 /^X\(\/\).*/{ s//\1/; q; }
44541 { if $as_mkdir_p; then
44546 while test ! -d "$as_dir"; do
44547 as_dirs
="$as_dir $as_dirs"
44548 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44550 X"$as_dir" : 'X\(//\)[^/]' \| \
44551 X"$as_dir" : 'X\(//\)$' \| \
44552 X"$as_dir" : 'X\(/\)' \| \
44553 . : '\(.\)' 2>/dev/null ||
44555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44556 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44557 /^X\(\/\/\)$/{ s//\1/; q; }
44558 /^X\(\/\).*/{ s//\1/; q; }
44561 test ! -n "$as_dirs" || mkdir $as_dirs
44562 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44563 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44564 { (exit 1); exit 1; }; }; }
44568 if test "$ac_dir" != .
; then
44569 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44570 # A "../" for each directory in $ac_dir_suffix.
44571 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44573 ac_dir_suffix
= ac_top_builddir
=
44577 .
) # No --srcdir option. We are building in place.
44579 if test -z "$ac_top_builddir"; then
44582 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44584 [\\/]* | ?
:[\\/]* ) # Absolute path.
44585 ac_srcdir
=$srcdir$ac_dir_suffix;
44586 ac_top_srcdir
=$srcdir ;;
44587 *) # Relative path.
44588 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44589 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44592 # Do not use `cd foo && pwd` to compute absolute paths, because
44593 # the directories may not exist.
44595 .
) ac_abs_builddir
="$ac_dir";;
44598 .
) ac_abs_builddir
=`pwd`;;
44599 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44600 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44603 case $ac_abs_builddir in
44604 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44606 case ${ac_top_builddir}.
in
44607 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44608 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44609 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44612 case $ac_abs_builddir in
44613 .
) ac_abs_srcdir
=$ac_srcdir;;
44616 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44617 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44618 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44621 case $ac_abs_builddir in
44622 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44624 case $ac_top_srcdir in
44625 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44626 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44627 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44633 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
44634 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
44637 # Let's still pretend it is `configure' which instantiates (i.e., don't
44638 # use $as_me), people would be surprised to read:
44639 # /* config.h. Generated by config.status. */
44640 if test x
"$ac_file" = x
-; then
44643 configure_input
="$ac_file. "
44645 configure_input
=$configure_input"Generated from `echo $ac_file_in |
44646 sed 's,.*/,,'` by configure."
44648 # First look for the input files in the build tree, otherwise in the
44650 ac_file_inputs
=`IFS=:
44651 for f in $ac_file_in; do
44653 -) echo $tmp/stdin ;;
44655 # Absolute (can't be DOS-style, as IFS=:)
44656 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44657 echo "$as_me: error: cannot find input file: $f" >&2;}
44658 { (exit 1); exit 1; }; }
44661 if test -f "$f"; then
44664 elif test -f "$srcdir/$f"; then
44669 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44670 echo "$as_me: error: cannot find input file: $f" >&2;}
44671 { (exit 1); exit 1; }; }
44674 done` || { (exit 1); exit 1; }
44676 if test x
"$ac_file" != x
-; then
44677 { echo "$as_me:$LINENO: creating $ac_file" >&5
44678 echo "$as_me: creating $ac_file" >&6;}
44682 cat >>$CONFIG_STATUS <<_ACEOF
44686 cat >>$CONFIG_STATUS <<\_ACEOF
44688 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
44689 s
,@configure_input@
,$configure_input,;t t
44690 s
,@srcdir@
,$ac_srcdir,;t t
44691 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
44692 s
,@top_srcdir@
,$ac_top_srcdir,;t t
44693 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
44694 s
,@builddir@
,$ac_builddir,;t t
44695 s
,@abs_builddir@
,$ac_abs_builddir,;t t
44696 s
,@top_builddir@
,$ac_top_builddir,;t t
44697 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
44698 s
,@INSTALL@
,$ac_INSTALL,;t t
44699 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44701 if test x"$ac_file" != x-; then
44702 mv $tmp/out $ac_file
44708 # Run the commands associated with the file.
44710 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44711 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44715 cat >>$CONFIG_STATUS <<\_ACEOF
44718 # CONFIG_HEADER section.
44721 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
44722 # NAME is the cpp macro being defined and VALUE is the value it is being given.
44724 # ac_d sets the value in "#define NAME VALUE" lines.
44725 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44726 ac_dB
='[ ].*$,\1#\2'
44729 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44730 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44731 ac_uB
='$,\1#\2define\3'
44735 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
44736 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44738 - | *:- | *:-:* ) # input from stdin
44740 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44741 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44742 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44743 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44744 * ) ac_file_in
=$ac_file.
in ;;
44747 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44748 echo "$as_me: creating $ac_file" >&6;}
44750 # First look for the input files in the build tree, otherwise in the
44752 ac_file_inputs
=`IFS=:
44753 for f in $ac_file_in; do
44755 -) echo $tmp/stdin ;;
44757 # Absolute (can't be DOS-style, as IFS=:)
44758 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44759 echo "$as_me: error: cannot find input file: $f" >&2;}
44760 { (exit 1); exit 1; }; }
44761 # Do quote $f, to prevent DOS paths from being IFS'd.
44764 if test -f "$f"; then
44767 elif test -f "$srcdir/$f"; then
44772 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44773 echo "$as_me: error: cannot find input file: $f" >&2;}
44774 { (exit 1); exit 1; }; }
44777 done` || { (exit 1); exit 1; }
44778 # Remove the trailing spaces.
44779 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
44783 # Transform confdefs.h into two sed scripts, `conftest.defines' and
44784 # `conftest.undefs', that substitutes the proper values into
44785 # config.h.in to produce config.h. The first handles `#define'
44786 # templates, and the second `#undef' templates.
44787 # And first: Protect against being on the right side of a sed subst in
44788 # config.status. Protect against being in an unquoted here document
44789 # in config.status.
44790 rm -f conftest.defines conftest.undefs
44791 # Using a here document instead of a string reduces the quoting nightmare.
44792 # Putting comments in sed scripts is not portable.
44794 # `end' is used to avoid that the second main sed command (meant for
44795 # 0-ary CPP macros) applies to n-ary macro definitions.
44796 # See the Autoconf documentation for `clear'.
44797 cat >confdef2sed.
sed <<\_ACEOF
44802 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
44804 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
44807 # If some macros were called several times there might be several times
44808 # the same #defines, which is useless. Nevertheless, we may not want to
44809 # sort them, since we want the *last* AC-DEFINE to be honored.
44810 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
44811 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
44812 rm -f confdef2sed.sed
44814 # This sed command replaces #undef with comments. This is necessary, for
44815 # example, in the case of _POSIX_SOURCE, which is predefined and required
44816 # on some systems where configure will not decide to define it.
44817 cat >>conftest.undefs <<\_ACEOF
44818 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44821 # Break up conftest.defines because some shells have a limit on the size
44822 # of here documents, and old seds have small limits too (100 cmds).
44823 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
44824 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
44825 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
44826 echo ' :' >>$CONFIG_STATUS
44827 rm -f conftest.tail
44828 while grep . conftest.defines >/dev/null
44830 # Write a limited-size here document to $tmp/defines.sed.
44831 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
44832 # Speed up: don't consider the non `#define' lines.
44833 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
44834 # Work around the forget-to-reset-the-flag bug.
44835 echo 't clr' >>$CONFIG_STATUS
44836 echo ': clr' >>$CONFIG_STATUS
44837 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
44839 sed -f $tmp/defines.sed $tmp/in >$tmp/out
44841 mv $tmp/out $tmp/in
44843 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
44844 rm -f conftest.defines
44845 mv conftest.
tail conftest.defines
44847 rm -f conftest.defines
44848 echo ' fi # grep' >>$CONFIG_STATUS
44849 echo >>$CONFIG_STATUS
44851 # Break up conftest.undefs because some shells have a limit on the size
44852 # of here documents, and old seds have small limits too (100 cmds).
44853 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
44854 rm -f conftest.
tail
44855 while grep . conftest.undefs
>/dev
/null
44857 # Write a limited-size here document to $tmp/undefs.sed.
44858 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
44859 # Speed up: don't consider the non
`#undef'
44860 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
44861 # Work around the forget-to-reset-the-flag bug.
44862 echo 't clr' >>$CONFIG_STATUS
44863 echo ': clr' >>$CONFIG_STATUS
44864 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
44866 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
44868 mv $tmp/out $tmp/in
44870 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
44871 rm -f conftest.undefs
44872 mv conftest.tail conftest.undefs
44874 rm -f conftest.undefs
44876 cat >>$CONFIG_STATUS <<\_ACEOF
44877 # Let's still pretend it is `configure
' which instantiates (i.e., don't
44878 # use $as_me), people would be surprised to read:
44879 # /* config.h. Generated by config.status. */
44880 if test x
"$ac_file" = x
-; then
44881 echo "/* Generated by configure. */" >$tmp/config.h
44883 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
44885 cat $tmp/in >>$tmp/config.h
44887 if test x
"$ac_file" != x
-; then
44888 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
44889 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44890 echo "$as_me: $ac_file is unchanged" >&6;}
44892 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44893 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44894 X"$ac_file" : 'X\(//\)[^/]' \| \
44895 X"$ac_file" : 'X\(//\)$' \| \
44896 X"$ac_file" : 'X\(/\)' \| \
44897 . : '\(.\)' 2>/dev/null ||
44899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44900 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44901 /^X\(\/\/\)$/{ s//\1/; q; }
44902 /^X\(\/\).*/{ s//\1/; q; }
44904 { if $as_mkdir_p; then
44909 while test ! -d "$as_dir"; do
44910 as_dirs
="$as_dir $as_dirs"
44911 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44912 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44913 X"$as_dir" : 'X\(//\)[^/]' \| \
44914 X"$as_dir" : 'X\(//\)$' \| \
44915 X"$as_dir" : 'X\(/\)' \| \
44916 . : '\(.\)' 2>/dev/null ||
44918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44919 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44920 /^X\(\/\/\)$/{ s//\1/; q; }
44921 /^X\(\/\).*/{ s//\1/; q; }
44924 test ! -n "$as_dirs" || mkdir $as_dirs
44925 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44926 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44927 { (exit 1); exit 1; }; }; }
44930 mv $tmp/config.h
$ac_file
44934 rm -f $tmp/config.h
44938 cat >>$CONFIG_STATUS <<\_ACEOF
44941 # CONFIG_COMMANDS section.
44943 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
44944 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
44945 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44946 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
44947 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44948 X"$ac_dest" : 'X\(//\)[^/]' \| \
44949 X"$ac_dest" : 'X\(//\)$' \| \
44950 X"$ac_dest" : 'X\(/\)' \| \
44951 . : '\(.\)' 2>/dev/null ||
44953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44955 /^X\(\/\/\)$/{ s//\1/; q; }
44956 /^X\(\/\).*/{ s//\1/; q; }
44958 { if $as_mkdir_p; then
44963 while test ! -d "$as_dir"; do
44964 as_dirs
="$as_dir $as_dirs"
44965 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44967 X"$as_dir" : 'X\(//\)[^/]' \| \
44968 X"$as_dir" : 'X\(//\)$' \| \
44969 X"$as_dir" : 'X\(/\)' \| \
44970 . : '\(.\)' 2>/dev/null ||
44972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44974 /^X\(\/\/\)$/{ s//\1/; q; }
44975 /^X\(\/\).*/{ s//\1/; q; }
44978 test ! -n "$as_dirs" || mkdir $as_dirs
44979 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44980 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44981 { (exit 1); exit 1; }; }; }
44985 if test "$ac_dir" != .
; then
44986 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44987 # A "../" for each directory in $ac_dir_suffix.
44988 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44990 ac_dir_suffix
= ac_top_builddir
=
44994 .
) # No --srcdir option. We are building in place.
44996 if test -z "$ac_top_builddir"; then
44999 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45001 [\\/]* | ?
:[\\/]* ) # Absolute path.
45002 ac_srcdir
=$srcdir$ac_dir_suffix;
45003 ac_top_srcdir
=$srcdir ;;
45004 *) # Relative path.
45005 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45006 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45009 # Do not use `cd foo && pwd` to compute absolute paths, because
45010 # the directories may not exist.
45012 .
) ac_abs_builddir
="$ac_dir";;
45015 .
) ac_abs_builddir
=`pwd`;;
45016 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45017 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45020 case $ac_abs_builddir in
45021 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45023 case ${ac_top_builddir}.
in
45024 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45025 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45026 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45029 case $ac_abs_builddir in
45030 .
) ac_abs_srcdir
=$ac_srcdir;;
45033 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45034 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45035 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45038 case $ac_abs_builddir in
45039 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45041 case $ac_top_srcdir in
45042 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45043 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45044 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45049 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45050 echo "$as_me: executing $ac_dest commands" >&6;}
45052 wx
-config ) rm -f wx
-config
45053 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
45059 cat >>$CONFIG_STATUS <<\_ACEOF
45061 { (exit 0); exit 0; }
45063 chmod +x
$CONFIG_STATUS
45064 ac_clean_files
=$ac_clean_files_save
45067 # configure is writing to config.log, and then calls config.status.
45068 # config.status does its own redirection, appending to config.log.
45069 # Unfortunately, on DOS this fails, as config.log is still kept open
45070 # by configure, so config.status won't be able to write to it; its
45071 # output is simply discarded. So we exec the FD to /dev/null,
45072 # effectively closing config.log, so it can be properly (re)opened and
45073 # appended to by config.status. When coming back to configure, we
45074 # need to make the FD available again.
45075 if test "$no_create" != yes; then
45077 ac_config_status_args
=
45078 test "$silent" = yes &&
45079 ac_config_status_args
="$ac_config_status_args --quiet"
45081 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
45083 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45084 # would make configure fail if this is the last instruction.
45085 $ac_cs_success || { (exit 1); exit 1; }
45089 # CONFIG_SUBDIRS section.
45091 if test "$no_recursion" != yes; then
45093 # Remove --cache-file and --srcdir arguments so they do not pile up.
45094 ac_sub_configure_args
=
45096 for ac_arg
in $ac_configure_args; do
45097 if test -n "$ac_prev"; then
45102 -cache-file | --cache-file | --cache-fil | --cache-fi \
45103 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45104 ac_prev
=cache_file
;;
45105 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45106 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45109 --config-cache | -C)
45111 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45113 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45115 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45117 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45119 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
45123 # Always prepend --prefix to ensure using the same prefix
45124 # in subdir configurations.
45125 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
45128 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
45130 # Do not complain, so a configure script can configure whichever
45131 # parts of a large source tree are present.
45132 test -d $srcdir/$ac_dir || continue
45134 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45135 echo "$as_me: configuring in $ac_dir" >&6;}
45136 { if $as_mkdir_p; then
45141 while test ! -d "$as_dir"; do
45142 as_dirs
="$as_dir $as_dirs"
45143 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45144 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45145 X"$as_dir" : 'X\(//\)[^/]' \| \
45146 X"$as_dir" : 'X\(//\)$' \| \
45147 X"$as_dir" : 'X\(/\)' \| \
45148 . : '\(.\)' 2>/dev/null ||
45150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45152 /^X\(\/\/\)$/{ s//\1/; q; }
45153 /^X\(\/\).*/{ s//\1/; q; }
45156 test ! -n "$as_dirs" || mkdir $as_dirs
45157 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45158 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45159 { (exit 1); exit 1; }; }; }
45163 if test "$ac_dir" != .
; then
45164 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45165 # A "../" for each directory in $ac_dir_suffix.
45166 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45168 ac_dir_suffix
= ac_top_builddir
=
45172 .
) # No --srcdir option. We are building in place.
45174 if test -z "$ac_top_builddir"; then
45177 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45179 [\\/]* | ?
:[\\/]* ) # Absolute path.
45180 ac_srcdir
=$srcdir$ac_dir_suffix;
45181 ac_top_srcdir
=$srcdir ;;
45182 *) # Relative path.
45183 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45184 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45187 # Do not use `cd foo && pwd` to compute absolute paths, because
45188 # the directories may not exist.
45190 .
) ac_abs_builddir
="$ac_dir";;
45193 .
) ac_abs_builddir
=`pwd`;;
45194 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45195 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45198 case $ac_abs_builddir in
45199 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45201 case ${ac_top_builddir}.
in
45202 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45203 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45204 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45207 case $ac_abs_builddir in
45208 .
) ac_abs_srcdir
=$ac_srcdir;;
45211 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45212 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45213 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45216 case $ac_abs_builddir in
45217 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45219 case $ac_top_srcdir in
45220 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45221 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45222 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45229 # Check for guested configure; otherwise get Cygnus style configure.
45230 if test -f $ac_srcdir/configure.gnu
; then
45231 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
45232 elif test -f $ac_srcdir/configure
; then
45233 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
45234 elif test -f $ac_srcdir/configure.
in; then
45235 ac_sub_configure
=$ac_configure
45237 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45238 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45242 # The recursion is here.
45243 if test -n "$ac_sub_configure"; then
45244 # Make the cache file name correct relative to the subdirectory.
45245 case $cache_file in
45246 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
45247 *) # Relative path.
45248 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
45251 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45252 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45253 # The eval makes quoting arguments work.
45254 eval $ac_sub_configure $ac_sub_configure_args \
45255 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45256 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45257 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45258 { (exit 1); exit 1; }; }
45267 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45269 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45270 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45272 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45273 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45274 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45276 echo " What level of wxWidgets compatibility should be enabled?"
45277 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45278 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45280 echo " Which libraries should wxWidgets use?"
45281 echo " jpeg ${wxUSE_LIBJPEG-none}"
45282 echo " png ${wxUSE_LIBPNG-none}"
45283 echo " regex ${wxUSE_REGEX}"
45284 echo " tiff ${wxUSE_LIBTIFF-none}"
45285 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45286 echo " xpm ${wxUSE_LIBXPM-none}"
45288 echo " zlib ${wxUSE_ZLIB}"
45289 echo " odbc ${wxUSE_ODBC}"
45290 echo " expat ${wxUSE_EXPAT}"
45291 echo " libmspack ${wxUSE_LIBMSPACK}"
45292 echo " sdl ${wxUSE_LIBSDL}"
45293 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"