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.3.
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.3'
274 PACKAGE_STRING
='wxWidgets 2.5.3'
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 CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 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.3 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.3:";;
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-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-mediactrl use wxMediaCtrl class
935 --enable-wxprintfv use wxWidgets implementation of vprintf
()
936 --enable-zipstream use wxZipInputStream
937 --enable-url use wxURL class
938 --enable-protocol use wxProtocol class
939 --enable-protocol-http HTTP support
in wxProtocol
940 --enable-protocol-ftp FTP support
in wxProtocol
941 --enable-protocol-file FILE support
in wxProtocol
942 --enable-threads use threads
943 --enable-docview use document view architecture
944 --enable-help use
help subsystem
945 --enable-mshtmlhelp use MS HTML Help
(win32
)
946 --enable-html use wxHTML sub
-library
947 --enable-htmlhelp use wxHTML
-based help
948 --enable-xrc use XRC resources sub
-library
949 --enable-constraints use layout
-constraints system
950 --enable-printarch use printing architecture
951 --enable-mdi use multiple document interface architecture
952 --enable-mdidoc use docview architecture with MDI
953 --enable-loggui use standard GUI logger
954 --enable-logwin use wxLogWindow
955 --enable-logdialog use wxLogDialog
956 --enable-webkit use wxWebKitCtrl
(Mac
)
957 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
958 --enable-prologio not available
; see contrib
959 --enable-resources not available
; see contrib
960 --enable-clipboard use wxClipboard class
961 --enable-dnd use Drag
'n'Drop classes
962 --enable-metafile use win32 metafiles
963 --enable-controls use all usual controls
964 --enable-accel use accelerators
965 --enable-button use wxButton class
966 --enable-bmpbutton use wxBitmapButton class
967 --enable-calendar use wxCalendarCtrl class
968 --enable-caret use wxCaret class
969 --enable-checkbox use wxCheckBox class
970 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
971 --enable-choice use wxChoice class
972 --enable-choicebook use wxChoicebook class
973 --enable-combobox use wxComboBox class
974 --enable-display use wxDisplay class
975 --enable-gauge use wxGauge class
976 --enable-grid use wxGrid class
977 --enable-imaglist use wxImageList class
978 --enable-listbook use wxListbook class
979 --enable-listbox use wxListBox class
980 --enable-listctrl use wxListCtrl class
981 --enable-notebook use wxNotebook class
982 --enable-radiobox use wxRadioBox class
983 --enable-radiobtn use wxRadioButton class
984 --enable-sash use wxSashWindow class
985 --enable-scrollbar use wxScrollBar class and scrollable windows
986 --enable-slider use wxSlider class
987 --enable-spinbtn use wxSpinButton class
988 --enable-spinctrl use wxSpinCtrl class
989 --enable-splitter use wxSplitterWindow class
990 --enable-statbmp use wxStaticBitmap class
991 --enable-statbox use wxStaticBox class
992 --enable-statline use wxStaticLine class
993 --enable-stattext use wxStaticText class
994 --enable-statusbar use wxStatusBar class
995 --enable-tabdialog use wxTabControl class
996 --enable-textctrl use wxTextCtrl class
997 --enable-togglebtn use wxToggleButton class
998 --enable-toolbar use wxToolBar class
999 --enable-tbarnative use native wxToolBar class
1000 --enable-tbarsmpl use wxToolBarSimple class
1001 --enable-treectrl use wxTreeCtrl class
1002 --enable-tipwindow use wxTipWindow class
1003 --enable-popupwin use wxPopUpWindow class
1004 --enable-commondlg use all common dialogs
1005 --enable-choicedlg use wxChoiceDialog
1006 --enable-coldlg use wxColourDialog
1007 --enable-filedlg use wxFileDialog
1008 --enable-finddlg use wxFindReplaceDialog
1009 --enable-fontdlg use wxFontDialog
1010 --enable-dirdlg use wxDirDialog
1011 --enable-msgdlg use wxMessageDialog
1012 --enable-numberdlg use wxNumberEntryDialog
1013 --enable-splash use wxSplashScreen
1014 --enable-textdlg use wxTextDialog
1015 --enable-tipdlg use startup tips
1016 --enable-progressdlg use wxProgressDialog
1017 --enable-wizarddlg use wxWizard
1018 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1019 --enable-miniframe use wxMiniFrame class
1020 --enable-tooltips use wxToolTip class
1021 --enable-splines use spline drawing code
1022 --enable-validators use wxValidator and derived classes
1023 --enable-busyinfo use wxBusyInfo
1024 --enable-joystick use wxJoystick
(Linux only
)
1025 --enable-metafiles use wxMetaFile
(Windows only
)
1026 --enable-dragimage use wxDragImage
1027 --enable-accessibility enable accessibility support
1028 --enable-palette use wxPalette class
1029 --enable-image use wxImage class
1030 --enable-gif use gif images
(GIF
file format
)
1031 --enable-pcx use pcx images
(PCX
file format
)
1032 --enable-iff use iff images
(IFF
file format
)
1033 --enable-pnm use pnm images
(PNM
file format
)
1034 --enable-xpm use xpm images
(XPM
file format
)
1035 --enable-icocur use Windows ICO and CUR formats
1036 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1037 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1038 --disable-largefile omit support
for large files
1039 --disable-gtktest do not try to compile and run a
test GTK
+ program
1040 --disable-gtktest Do not try to compile and run a
test GTK program
1041 --disable-sdltest Do not try to compile and run a
test SDL program
1042 --enable-omf use OMF object format
(OS
/2)
1043 --disable-precomp-headers
1044 don
't use precompiled headers even if compiler can
1047 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1048 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1050 --with-motif use Motif/Lesstif
1051 --with-mac use Mac OS X
1052 --with-cocoa use Cocoa
1053 --with-wine use Wine
1054 --with-msw use MS-Windows
1055 --with-pm use OS/2 Presentation Manager
1056 --with-mgl use SciTech MGL
1057 --with-microwin use MicroWindows
1059 --with-libpng use libpng (PNG image format)
1060 --with-libjpeg use libjpeg (JPEG file format)
1061 --with-libtiff use libtiff (TIFF file format)
1062 --with-libxpm use libxpm (XPM file format)
1063 --with-libmspack use libmspack (CHM help files loading)
1064 --with-sdl use SDL for audio on Unix
1065 --with-gnomeprint use GNOME print for printing under Unix
1066 --with-opengl use OpenGL (or Mesa)
1067 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1068 --with-regex enable support for wxRegEx class
1069 --with-zlib use zlib for LZW compression
1070 --with-odbc use the IODBC and wxODBC classes
1071 --with-expat enable XML support using expat parser
1072 --with-flavour=NAME specify a name to identify this build
1073 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1074 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1075 --with-x use the X Window System
1076 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1077 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1078 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1079 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1080 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1082 Some influential environment variables:
1083 CC C compiler command
1084 CFLAGS C compiler flags
1085 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1086 nonstandard directory <lib dir>
1087 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1088 headers in a nonstandard directory <include dir>
1090 CXX C++ compiler command
1091 CXXFLAGS C++ compiler flags
1092 CXXCPP C++ preprocessor
1094 Use these variables to override the choices made by `configure' or to
help
1095 it to
find libraries and programs with nonstandard names
/locations.
1097 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1101 if test "$ac_init_help" = "recursive"; then
1102 # If there are subdirs, report their specific --help.
1104 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1105 test -d $ac_dir || continue
1108 if test "$ac_dir" != .
; then
1109 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1110 # A "../" for each directory in $ac_dir_suffix.
1111 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1113 ac_dir_suffix
= ac_top_builddir
=
1117 .
) # No --srcdir option. We are building in place.
1119 if test -z "$ac_top_builddir"; then
1122 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1124 [\\/]* | ?
:[\\/]* ) # Absolute path.
1125 ac_srcdir
=$srcdir$ac_dir_suffix;
1126 ac_top_srcdir
=$srcdir ;;
1128 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1129 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1132 # Do not use `cd foo && pwd` to compute absolute paths, because
1133 # the directories may not exist.
1135 .
) ac_abs_builddir
="$ac_dir";;
1138 .
) ac_abs_builddir
=`pwd`;;
1139 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1140 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1143 case $ac_abs_builddir in
1144 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1146 case ${ac_top_builddir}.
in
1147 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1148 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1149 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1152 case $ac_abs_builddir in
1153 .
) ac_abs_srcdir
=$ac_srcdir;;
1156 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1157 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1158 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1161 case $ac_abs_builddir in
1162 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1164 case $ac_top_srcdir in
1165 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1166 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1167 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1172 # Check for guested configure; otherwise get Cygnus style configure.
1173 if test -f $ac_srcdir/configure.gnu
; then
1175 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1176 elif test -f $ac_srcdir/configure
; then
1178 $SHELL $ac_srcdir/configure
--help=recursive
1179 elif test -f $ac_srcdir/configure.ac
||
1180 test -f $ac_srcdir/configure.
in; then
1182 $ac_configure --help
1184 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1190 test -n "$ac_init_help" && exit 0
1191 if $ac_init_version; then
1193 wxWidgets configure
2.5.3
1194 generated by GNU Autoconf
2.59
1196 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1197 This configure
script is free software
; the Free Software Foundation
1198 gives unlimited permission to copy
, distribute and modify it.
1204 This file contains any messages produced by compilers while
1205 running configure, to aid debugging if configure makes a mistake.
1207 It was created by wxWidgets $as_me 2.5.3, which was
1208 generated by GNU Autoconf 2.59. Invocation command line was
1219 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1220 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1221 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1222 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1223 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1225 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1226 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1228 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1229 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1230 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1231 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1232 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1233 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1234 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1242 test -z "$as_dir" && as_dir
=.
1243 echo "PATH: $as_dir"
1258 # Keep a trace of the command line.
1259 # Strip out --no-create and --no-recursion so they do not pile up.
1260 # Strip out --silent because we don't want to record it for future runs.
1261 # Also quote any args containing shell meta-characters.
1262 # Make two passes to allow for proper duplicate-argument suppression.
1267 ac_must_keep_next
=false
1273 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1275 | -silent | --silent | --silen | --sile | --sil)
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1283 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1284 if test $ac_must_keep_next = true
; then
1285 ac_must_keep_next
=false
# Got value, back to normal.
1288 *=* | --config-cache | -C | -disable-* | --disable-* \
1289 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1290 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1291 | -with-* | --with-* | -without-* | --without-* | --x)
1292 case "$ac_configure_args0 " in
1293 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1296 -* ) ac_must_keep_next
=true
;;
1299 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1300 # Get rid of the leading space.
1306 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1307 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1309 # When interrupted or exit'd, cleanup temporary files, and complete
1310 # config.log. We remove comments because anyway the quotes in there
1311 # would cause problems or look ugly.
1312 # WARNING: Be sure not to use single quotes in there, as some shells,
1313 # such as our DU 5.0 friend, will then `close' the trap.
1314 trap 'exit_status=$?
1315 # Save into config.log some information that might help in debugging.
1320 ## ---------------- ##
1321 ## Cache variables. ##
1322 ## ---------------- ##
1325 # The following way of writing the cache mishandles newlines in values,
1328 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1331 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1336 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1343 ## ----------------- ##
1344 ## Output variables. ##
1345 ## ----------------- ##
1348 for ac_var in $ac_subst_vars
1350 eval ac_val=$`echo $ac_var`
1351 echo "$ac_var='"'"'$ac_val'"'"'"
1355 if test -n "$ac_subst_files"; then
1362 for ac_var in $ac_subst_files
1364 eval ac_val=$`echo $ac_var`
1365 echo "$ac_var='"'"'$ac_val'"'"'"
1370 if test -s confdefs.h; then
1377 sed "/^$/d" confdefs.h | sort
1380 test "$ac_signal" != 0 &&
1381 echo "$as_me: caught signal $ac_signal"
1382 echo "$as_me: exit $exit_status"
1384 rm -f core *.core &&
1385 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1388 for ac_signal
in 1 2 13 15; do
1389 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1393 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1394 rm -rf conftest
* confdefs.h
1395 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1398 # Predefined preprocessor variables.
1400 cat >>confdefs.h
<<_ACEOF
1401 #define PACKAGE_NAME "$PACKAGE_NAME"
1405 cat >>confdefs.h
<<_ACEOF
1406 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1410 cat >>confdefs.h
<<_ACEOF
1411 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1415 cat >>confdefs.h
<<_ACEOF
1416 #define PACKAGE_STRING "$PACKAGE_STRING"
1420 cat >>confdefs.h
<<_ACEOF
1421 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1425 # Let the site file select an alternate cache file if it wants to.
1426 # Prefer explicitly selected file to automatically selected ones.
1427 if test -z "$CONFIG_SITE"; then
1428 if test "x$prefix" != xNONE
; then
1429 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1431 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1434 for ac_site_file
in $CONFIG_SITE; do
1435 if test -r "$ac_site_file"; then
1436 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1437 echo "$as_me: loading site script $ac_site_file" >&6;}
1438 sed 's/^/| /' "$ac_site_file" >&5
1443 if test -r "$cache_file"; then
1444 # Some versions of bash will fail to source /dev/null (special
1445 # files actually), so we avoid doing that.
1446 if test -f "$cache_file"; then
1447 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1448 echo "$as_me: loading cache $cache_file" >&6;}
1450 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1451 *) . .
/$cache_file;;
1455 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1456 echo "$as_me: creating cache $cache_file" >&6;}
1460 # Check that the precious variables saved in the cache have kept the same
1462 ac_cache_corrupted
=false
1463 for ac_var
in `(set) 2>&1 |
1464 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1465 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1466 eval ac_new_set
=\
$ac_env_${ac_var}_set
1467 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1468 eval ac_new_val
="\$ac_env_${ac_var}_value"
1469 case $ac_old_set,$ac_new_set in
1471 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1472 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1473 ac_cache_corrupted
=: ;;
1475 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1476 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1477 ac_cache_corrupted
=: ;;
1480 if test "x$ac_old_val" != "x$ac_new_val"; then
1481 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1482 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1483 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1484 echo "$as_me: former value: $ac_old_val" >&2;}
1485 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1486 echo "$as_me: current value: $ac_new_val" >&2;}
1487 ac_cache_corrupted
=:
1490 # Pass precious variables to config.status.
1491 if test "$ac_new_set" = set; then
1493 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1494 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1495 *) ac_arg
=$ac_var=$ac_new_val ;;
1497 case " $ac_configure_args " in
1498 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1499 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1503 if $ac_cache_corrupted; then
1504 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1505 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1506 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1507 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1508 { (exit 1); exit 1; }; }
1512 ac_cpp
='$CPP $CPPFLAGS'
1513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1547 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1548 if test -f $ac_dir/install-sh; then
1550 ac_install_sh
="$ac_aux_dir/install-sh -c"
1552 elif test -f $ac_dir/install.sh
; then
1554 ac_install_sh
="$ac_aux_dir/install.sh -c"
1556 elif test -f $ac_dir/shtool
; then
1558 ac_install_sh
="$ac_aux_dir/shtool install -c"
1562 if test -z "$ac_aux_dir"; then
1563 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1564 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1565 { (exit 1); exit 1; }; }
1567 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1568 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1569 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1571 # Make sure we can run config.sub.
1572 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1573 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1574 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1575 { (exit 1); exit 1; }; }
1577 echo "$as_me:$LINENO: checking build system type" >&5
1578 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1579 if test "${ac_cv_build+set}" = set; then
1580 echo $ECHO_N "(cached) $ECHO_C" >&6
1582 ac_cv_build_alias
=$build_alias
1583 test -z "$ac_cv_build_alias" &&
1584 ac_cv_build_alias
=`$ac_config_guess`
1585 test -z "$ac_cv_build_alias" &&
1586 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1587 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1588 { (exit 1); exit 1; }; }
1589 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1590 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1591 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1592 { (exit 1); exit 1; }; }
1595 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1596 echo "${ECHO_T}$ac_cv_build" >&6
1598 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1599 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1600 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1603 echo "$as_me:$LINENO: checking host system type" >&5
1604 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1605 if test "${ac_cv_host+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 ac_cv_host_alias
=$host_alias
1609 test -z "$ac_cv_host_alias" &&
1610 ac_cv_host_alias
=$ac_cv_build_alias
1611 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1612 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1613 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1614 { (exit 1); exit 1; }; }
1617 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1618 echo "${ECHO_T}$ac_cv_host" >&6
1620 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1621 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1622 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1625 echo "$as_me:$LINENO: checking target system type" >&5
1626 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1627 if test "${ac_cv_target+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 ac_cv_target_alias
=$target_alias
1631 test "x$ac_cv_target_alias" = "x" &&
1632 ac_cv_target_alias
=$ac_cv_host_alias
1633 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1634 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1635 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1636 { (exit 1); exit 1; }; }
1639 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1640 echo "${ECHO_T}$ac_cv_target" >&6
1641 target
=$ac_cv_target
1642 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1643 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1644 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1647 # The aliases save the names the user supplied, while $host etc.
1648 # will get canonicalized.
1649 test -n "$target_alias" &&
1650 test "$program_prefix$program_suffix$program_transform_name" = \
1652 program_prefix
=${target_alias}-
1656 wx_major_version_number
=2
1657 wx_minor_version_number
=5
1659 wx_subrelease_number
=3
1661 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1662 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1663 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1665 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1681 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1687 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1693 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1695 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1697 DEFAULT_wxUSE_COCOA
=0
1701 DEFAULT_wxUSE_MICROWIN
=0
1702 DEFAULT_wxUSE_MOTIF
=0
1707 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1708 DEFAULT_DEFAULT_wxUSE_GTK
=0
1709 DEFAULT_DEFAULT_wxUSE_MAC
=0
1710 DEFAULT_DEFAULT_wxUSE_MGL
=0
1711 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1712 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1713 DEFAULT_DEFAULT_wxUSE_MSW
=0
1714 DEFAULT_DEFAULT_wxUSE_PM
=0
1715 DEFAULT_DEFAULT_wxUSE_X11
=0
1720 SAMPLES_RPATH_POSTLINK
=
1725 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1726 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1728 cat >>confdefs.h
<<\_ACEOF
1735 cat >>confdefs.h
<<\_ACEOF
1740 if test "x$TMP" = "xalpha"; then
1742 cat >>confdefs.h
<<\_ACEOF
1747 DEFAULT_DEFAULT_wxUSE_GTK
=1
1749 *-*-gnu* | *-*-k*bsd
*-gnu )
1752 if test "x$TMP" = "xalpha"; then
1754 cat >>confdefs.h
<<\_ACEOF
1759 DEFAULT_DEFAULT_wxUSE_GTK
=1
1761 *-*-irix5* | *-*-irix6* )
1764 cat >>confdefs.h
<<\_ACEOF
1768 cat >>confdefs.h
<<\_ACEOF
1772 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1778 cat >>confdefs.h
<<\_ACEOF
1782 cat >>confdefs.h
<<\_ACEOF
1783 #define __SOLARIS__ 1
1786 cat >>confdefs.h
<<\_ACEOF
1790 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1791 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1797 cat >>confdefs.h
<<\_ACEOF
1801 cat >>confdefs.h
<<\_ACEOF
1805 cat >>confdefs.h
<<\_ACEOF
1809 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1814 cat >>confdefs.h
<<\_ACEOF
1815 #define __FREEBSD__ 1
1818 cat >>confdefs.h
<<\_ACEOF
1822 DEFAULT_DEFAULT_wxUSE_GTK
=1
1827 cat >>confdefs.h
<<\_ACEOF
1828 #define __OPENBSD__ 1
1831 cat >>confdefs.h
<<\_ACEOF
1835 DEFAULT_DEFAULT_wxUSE_GTK
=1
1840 cat >>confdefs.h
<<\_ACEOF
1841 #define __NETBSD__ 1
1844 cat >>confdefs.h
<<\_ACEOF
1848 DEFAULT_DEFAULT_wxUSE_GTK
=1
1853 cat >>confdefs.h
<<\_ACEOF
1857 cat >>confdefs.h
<<\_ACEOF
1861 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1862 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1867 cat >>confdefs.h
<<\_ACEOF
1871 cat >>confdefs.h
<<\_ACEOF
1875 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1880 cat >>confdefs.h
<<\_ACEOF
1884 cat >>confdefs.h
<<\_ACEOF
1888 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1895 cat >>confdefs.h
<<\_ACEOF
1899 cat >>confdefs.h
<<\_ACEOF
1903 cat >>confdefs.h
<<\_ACEOF
1907 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1914 cat >>confdefs.h
<<\_ACEOF
1915 #define __UNIXWARE__ 1
1920 *-*-cygwin* | *-*-mingw32* )
1924 DEFAULT_DEFAULT_wxUSE_MSW
=1
1930 cat >>confdefs.h
<<\_ACEOF
1935 DEFAULT_DEFAULT_wxUSE_MGL
=1
1936 LIBS
="$LIBS -lstdc++"
1939 *-pc-os2_emx | *-pc-os2-emx )
1940 cat >>confdefs.h
<<\_ACEOF
1945 cat >>confdefs.h
<<\_ACEOF
1950 DEFAULT_DEFAULT_wxUSE_PM
=1
1952 LDFLAGS
="$LDFLAGS -Zcrtdll"
1953 ac_executable_extensions
=".exe"
1954 export ac_executable_extensions
1958 for ac_dir
in $PATH; do
1960 if test -z "$ac_TEMP_PATH"; then
1961 ac_TEMP_PATH
="$ac_dir"
1963 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1966 export PATH
="$ac_TEMP_PATH"
1974 cat >>confdefs.h
<<\_ACEOF
1978 cat >>confdefs.h
<<\_ACEOF
1979 #define __DARWIN__ 1
1982 cat >>confdefs.h
<<\_ACEOF
1983 #define __POWERPC__ 1
1986 cat >>confdefs.h
<<\_ACEOF
1987 #define TARGET_CARBON 1
1990 DEFAULT_DEFAULT_wxUSE_MAC
=1
1992 powerpc
-apple-macos* )
1994 ac_cv_c_bigendian
=yes
1996 DEFAULT_DEFAULT_wxUSE_MAC
=1
2001 cat >>confdefs.h
<<\_ACEOF
2008 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2009 echo "$as_me: error: unknown system type ${host}." >&2;}
2010 { (exit 1); exit 1; }; }
2016 wx_arg_cache_file
="configarg.cache"
2017 echo "loading argument cache $wx_arg_cache_file"
2018 rm -f ${wx_arg_cache_file}.tmp
2019 touch ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}
2024 if test $DEBUG_CONFIGURE = 1; then
2025 DEFAULT_wxUSE_UNIVERSAL
=no
2026 DEFAULT_wxUSE_STL
=no
2028 DEFAULT_wxUSE_NANOX
=no
2030 DEFAULT_wxUSE_THREADS
=yes
2032 DEFAULT_wxUSE_SHARED
=yes
2033 DEFAULT_wxUSE_OPTIMISE
=no
2034 DEFAULT_wxUSE_PROFILE
=no
2035 DEFAULT_wxUSE_NO_DEPS
=no
2036 DEFAULT_wxUSE_NO_RTTI
=no
2037 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2038 DEFAULT_wxUSE_RPATH
=yes
2039 DEFAULT_wxUSE_PERMISSIVE
=no
2040 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2041 DEFAULT_wxUSE_DEBUG_INFO
=yes
2042 DEFAULT_wxUSE_DEBUG_GDB
=yes
2043 DEFAULT_wxUSE_MEM_TRACING
=no
2044 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2045 DEFAULT_wxUSE_DMALLOC
=no
2046 DEFAULT_wxUSE_APPLE_IEEE
=no
2048 DEFAULT_wxUSE_EXCEPTIONS
=no
2049 DEFAULT_wxUSE_LOG
=yes
2050 DEFAULT_wxUSE_LOGWINDOW
=no
2051 DEFAULT_wxUSE_LOGGUI
=no
2052 DEFAULT_wxUSE_LOGDIALOG
=no
2054 DEFAULT_wxUSE_GUI
=yes
2055 DEFAULT_wxUSE_CONTROLS
=no
2057 DEFAULT_wxUSE_REGEX
=no
2058 DEFAULT_wxUSE_XML
=no
2059 DEFAULT_wxUSE_EXPAT
=no
2060 DEFAULT_wxUSE_ZLIB
=no
2061 DEFAULT_wxUSE_LIBPNG
=no
2062 DEFAULT_wxUSE_LIBJPEG
=no
2063 DEFAULT_wxUSE_LIBTIFF
=no
2064 DEFAULT_wxUSE_LIBXPM
=no
2065 DEFAULT_wxUSE_LIBMSPACK
=no
2066 DEFAULT_wxUSE_LIBSDL
=no
2067 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2068 DEFAULT_wxUSE_ODBC
=no
2069 DEFAULT_wxUSE_OPENGL
=no
2071 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2072 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2073 DEFAULT_wxUSE_STD_IOSTREAM
=no
2074 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2075 DEFAULT_wxUSE_DATETIME
=no
2076 DEFAULT_wxUSE_TIMER
=no
2077 DEFAULT_wxUSE_STOPWATCH
=no
2078 DEFAULT_wxUSE_FILE
=no
2079 DEFAULT_wxUSE_FFILE
=no
2080 DEFAULT_wxUSE_TEXTBUFFER
=no
2081 DEFAULT_wxUSE_TEXTFILE
=no
2082 DEFAULT_wxUSE_SOUND
=no
2083 DEFAULT_wxUSE_MEDIACTRL
=no
2084 DEFAULT_wxUSE_DIRECTSHOW
=no
2085 DEFAULT_wxUSE_INTL
=no
2086 DEFAULT_wxUSE_CONFIG
=no
2087 DEFAULT_wxUSE_FONTMAP
=no
2088 DEFAULT_wxUSE_STREAMS
=no
2089 DEFAULT_wxUSE_SOCKETS
=no
2090 DEFAULT_wxUSE_OLE
=no
2091 DEFAULT_wxUSE_DATAOBJ
=no
2092 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2093 DEFAULT_wxUSE_JOYSTICK
=no
2094 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2095 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2096 DEFAULT_wxUSE_LONGLONG
=no
2097 DEFAULT_wxUSE_GEOMETRY
=no
2099 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2100 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2101 DEFAULT_wxUSE_POSTSCRIPT
=no
2103 DEFAULT_wxUSE_CLIPBOARD
=no
2104 DEFAULT_wxUSE_TOOLTIPS
=no
2105 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2106 DEFAULT_wxUSE_DRAGIMAGE
=no
2107 DEFAULT_wxUSE_SPLINES
=no
2109 DEFAULT_wxUSE_MDI
=no
2110 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2111 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2112 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2114 DEFAULT_wxUSE_RESOURCES
=no
2115 DEFAULT_wxUSE_CONSTRAINTS
=no
2116 DEFAULT_wxUSE_IPC
=no
2117 DEFAULT_wxUSE_HELP
=no
2118 DEFAULT_wxUSE_MS_HTML_HELP
=no
2119 DEFAULT_wxUSE_WXHTML_HELP
=no
2120 DEFAULT_wxUSE_TREELAYOUT
=no
2121 DEFAULT_wxUSE_METAFILE
=no
2122 DEFAULT_wxUSE_MIMETYPE
=no
2123 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2124 DEFAULT_wxUSE_PROTOCOL
=no
2125 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2126 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2127 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2128 DEFAULT_wxUSE_URL
=no
2130 DEFAULT_wxUSE_COMMONDLGS
=no
2131 DEFAULT_wxUSE_CHOICEDLG
=no
2132 DEFAULT_wxUSE_COLOURDLG
=no
2133 DEFAULT_wxUSE_DIRDLG
=no
2134 DEFAULT_wxUSE_FILEDLG
=no
2135 DEFAULT_wxUSE_FINDREPLDLG
=no
2136 DEFAULT_wxUSE_FONTDLG
=no
2137 DEFAULT_wxUSE_MSGDLG
=no
2138 DEFAULT_wxUSE_NUMBERDLG
=no
2139 DEFAULT_wxUSE_TEXTDLG
=no
2140 DEFAULT_wxUSE_SPLASH
=no
2141 DEFAULT_wxUSE_STARTUP_TIPS
=no
2142 DEFAULT_wxUSE_PROGRESSDLG
=no
2143 DEFAULT_wxUSE_WIZARDDLG
=no
2145 DEFAULT_wxUSE_MENUS
=no
2146 DEFAULT_wxUSE_MINIFRAME
=no
2147 DEFAULT_wxUSE_HTML
=no
2148 DEFAULT_wxUSE_XRC
=no
2149 DEFAULT_wxUSE_WEBKIT
=no
2150 DEFAULT_wxUSE_FILESYSTEM
=no
2151 DEFAULT_wxUSE_FS_INET
=no
2152 DEFAULT_wxUSE_FS_ZIP
=no
2153 DEFAULT_wxUSE_BUSYINFO
=no
2154 DEFAULT_wxUSE_ZIPSTREAM
=no
2155 DEFAULT_wxUSE_VALIDATORS
=no
2157 DEFAULT_wxUSE_ACCEL
=no
2158 DEFAULT_wxUSE_BUTTON
=no
2159 DEFAULT_wxUSE_BMPBUTTON
=no
2160 DEFAULT_wxUSE_CALCTRL
=no
2161 DEFAULT_wxUSE_CARET
=no
2162 DEFAULT_wxUSE_CHECKBOX
=no
2163 DEFAULT_wxUSE_CHECKLST
=no
2164 DEFAULT_wxUSE_CHOICE
=no
2165 DEFAULT_wxUSE_CHOICEBOOK
=no
2166 DEFAULT_wxUSE_COMBOBOX
=no
2167 DEFAULT_wxUSE_DISPLAY
=no
2168 DEFAULT_wxUSE_GAUGE
=no
2169 DEFAULT_wxUSE_GRID
=no
2170 DEFAULT_wxUSE_IMAGLIST
=no
2171 DEFAULT_wxUSE_LISTBOOK
=no
2172 DEFAULT_wxUSE_LISTBOX
=no
2173 DEFAULT_wxUSE_LISTCTRL
=no
2174 DEFAULT_wxUSE_NOTEBOOK
=no
2175 DEFAULT_wxUSE_RADIOBOX
=no
2176 DEFAULT_wxUSE_RADIOBTN
=no
2177 DEFAULT_wxUSE_SASH
=no
2178 DEFAULT_wxUSE_SCROLLBAR
=no
2179 DEFAULT_wxUSE_SLIDER
=no
2180 DEFAULT_wxUSE_SPINBTN
=no
2181 DEFAULT_wxUSE_SPINCTRL
=no
2182 DEFAULT_wxUSE_SPLITTER
=no
2183 DEFAULT_wxUSE_STATBMP
=no
2184 DEFAULT_wxUSE_STATBOX
=no
2185 DEFAULT_wxUSE_STATLINE
=no
2186 DEFAULT_wxUSE_STATTEXT
=no
2187 DEFAULT_wxUSE_STATUSBAR
=yes
2188 DEFAULT_wxUSE_TABDIALOG
=no
2189 DEFAULT_wxUSE_TEXTCTRL
=no
2190 DEFAULT_wxUSE_TOGGLEBTN
=no
2191 DEFAULT_wxUSE_TOOLBAR
=no
2192 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2193 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2194 DEFAULT_wxUSE_TREECTRL
=no
2195 DEFAULT_wxUSE_POPUPWIN
=no
2196 DEFAULT_wxUSE_TIPWINDOW
=no
2198 DEFAULT_wxUSE_UNICODE
=no
2199 DEFAULT_wxUSE_UNICODE_MSLU
=no
2200 DEFAULT_wxUSE_WCSRTOMBS
=no
2202 DEFAULT_wxUSE_PALETTE
=no
2203 DEFAULT_wxUSE_IMAGE
=no
2204 DEFAULT_wxUSE_GIF
=no
2205 DEFAULT_wxUSE_PCX
=no
2206 DEFAULT_wxUSE_PNM
=no
2207 DEFAULT_wxUSE_IFF
=no
2208 DEFAULT_wxUSE_XPM
=no
2209 DEFAULT_wxUSE_ICO_CUR
=no
2210 DEFAULT_wxUSE_ACCESSIBILITY
=no
2212 DEFAULT_wxUSE_MONOLITHIC
=no
2213 DEFAULT_wxUSE_PLUGINS
=no
2214 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2216 DEFAULT_wxUSE_UNIVERSAL
=no
2217 DEFAULT_wxUSE_STL
=no
2219 DEFAULT_wxUSE_NANOX
=no
2221 DEFAULT_wxUSE_THREADS
=yes
2223 DEFAULT_wxUSE_SHARED
=yes
2224 DEFAULT_wxUSE_OPTIMISE
=yes
2225 DEFAULT_wxUSE_PROFILE
=no
2226 DEFAULT_wxUSE_NO_DEPS
=no
2227 DEFAULT_wxUSE_NO_RTTI
=no
2228 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2229 DEFAULT_wxUSE_RPATH
=yes
2230 DEFAULT_wxUSE_PERMISSIVE
=no
2231 DEFAULT_wxUSE_DEBUG_FLAG
=no
2232 DEFAULT_wxUSE_DEBUG_INFO
=no
2233 DEFAULT_wxUSE_DEBUG_GDB
=no
2234 DEFAULT_wxUSE_MEM_TRACING
=no
2235 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2236 DEFAULT_wxUSE_DMALLOC
=no
2237 DEFAULT_wxUSE_APPLE_IEEE
=yes
2239 DEFAULT_wxUSE_EXCEPTIONS
=yes
2240 DEFAULT_wxUSE_LOG
=yes
2241 DEFAULT_wxUSE_LOGWINDOW
=yes
2242 DEFAULT_wxUSE_LOGGUI
=yes
2243 DEFAULT_wxUSE_LOGDIALOG
=yes
2245 DEFAULT_wxUSE_GUI
=yes
2247 DEFAULT_wxUSE_REGEX
=yes
2248 DEFAULT_wxUSE_XML
=yes
2249 DEFAULT_wxUSE_EXPAT
=yes
2250 DEFAULT_wxUSE_ZLIB
=yes
2251 DEFAULT_wxUSE_LIBPNG
=yes
2252 DEFAULT_wxUSE_LIBJPEG
=yes
2253 DEFAULT_wxUSE_LIBTIFF
=yes
2254 DEFAULT_wxUSE_LIBXPM
=yes
2255 DEFAULT_wxUSE_LIBMSPACK
=yes
2256 DEFAULT_wxUSE_LIBSDL
=no
2257 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2258 DEFAULT_wxUSE_ODBC
=no
2259 DEFAULT_wxUSE_OPENGL
=no
2261 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2262 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2263 DEFAULT_wxUSE_STD_IOSTREAM
=no
2264 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2265 DEFAULT_wxUSE_DATETIME
=yes
2266 DEFAULT_wxUSE_TIMER
=yes
2267 DEFAULT_wxUSE_STOPWATCH
=yes
2268 DEFAULT_wxUSE_FILE
=yes
2269 DEFAULT_wxUSE_FFILE
=yes
2270 DEFAULT_wxUSE_TEXTBUFFER
=yes
2271 DEFAULT_wxUSE_TEXTFILE
=yes
2272 DEFAULT_wxUSE_SOUND
=yes
2273 DEFAULT_wxUSE_MEDIACTRL
=no
2274 DEFAULT_wxUSE_DIRECTSHOW
=no
2275 DEFAULT_wxUSE_INTL
=yes
2276 DEFAULT_wxUSE_CONFIG
=yes
2277 DEFAULT_wxUSE_FONTMAP
=yes
2278 DEFAULT_wxUSE_STREAMS
=yes
2279 DEFAULT_wxUSE_SOCKETS
=yes
2280 DEFAULT_wxUSE_OLE
=yes
2281 DEFAULT_wxUSE_DATAOBJ
=yes
2282 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2283 DEFAULT_wxUSE_JOYSTICK
=yes
2284 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2285 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2286 DEFAULT_wxUSE_LONGLONG
=yes
2287 DEFAULT_wxUSE_GEOMETRY
=yes
2289 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2290 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2291 DEFAULT_wxUSE_POSTSCRIPT
=yes
2293 DEFAULT_wxUSE_CLIPBOARD
=yes
2294 DEFAULT_wxUSE_TOOLTIPS
=yes
2295 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2296 DEFAULT_wxUSE_DRAGIMAGE
=yes
2297 DEFAULT_wxUSE_SPLINES
=yes
2299 DEFAULT_wxUSE_MDI
=yes
2300 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2301 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2302 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2304 DEFAULT_wxUSE_RESOURCES
=no
2305 DEFAULT_wxUSE_CONSTRAINTS
=yes
2306 DEFAULT_wxUSE_IPC
=yes
2307 DEFAULT_wxUSE_HELP
=yes
2308 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2309 DEFAULT_wxUSE_WXHTML_HELP
=yes
2310 DEFAULT_wxUSE_TREELAYOUT
=yes
2311 DEFAULT_wxUSE_METAFILE
=yes
2312 DEFAULT_wxUSE_MIMETYPE
=yes
2313 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2314 DEFAULT_wxUSE_PROTOCOL
=yes
2315 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2316 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2317 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2318 DEFAULT_wxUSE_URL
=yes
2320 DEFAULT_wxUSE_COMMONDLGS
=yes
2321 DEFAULT_wxUSE_CHOICEDLG
=yes
2322 DEFAULT_wxUSE_COLOURDLG
=yes
2323 DEFAULT_wxUSE_DIRDLG
=yes
2324 DEFAULT_wxUSE_FILEDLG
=yes
2325 DEFAULT_wxUSE_FINDREPLDLG
=yes
2326 DEFAULT_wxUSE_FONTDLG
=yes
2327 DEFAULT_wxUSE_MSGDLG
=yes
2328 DEFAULT_wxUSE_NUMBERDLG
=yes
2329 DEFAULT_wxUSE_TEXTDLG
=yes
2330 DEFAULT_wxUSE_SPLASH
=yes
2331 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2332 DEFAULT_wxUSE_PROGRESSDLG
=yes
2333 DEFAULT_wxUSE_WIZARDDLG
=yes
2335 DEFAULT_wxUSE_MENUS
=yes
2336 DEFAULT_wxUSE_MINIFRAME
=yes
2337 DEFAULT_wxUSE_HTML
=yes
2338 DEFAULT_wxUSE_XRC
=yes
2339 DEFAULT_wxUSE_WEBKIT
=yes
2340 DEFAULT_wxUSE_FILESYSTEM
=yes
2341 DEFAULT_wxUSE_FS_INET
=yes
2342 DEFAULT_wxUSE_FS_ZIP
=yes
2343 DEFAULT_wxUSE_BUSYINFO
=yes
2344 DEFAULT_wxUSE_ZIPSTREAM
=yes
2345 DEFAULT_wxUSE_VALIDATORS
=yes
2347 DEFAULT_wxUSE_ACCEL
=yes
2348 DEFAULT_wxUSE_BUTTON
=yes
2349 DEFAULT_wxUSE_BMPBUTTON
=yes
2350 DEFAULT_wxUSE_CALCTRL
=yes
2351 DEFAULT_wxUSE_CARET
=yes
2352 DEFAULT_wxUSE_CHECKBOX
=yes
2353 DEFAULT_wxUSE_CHECKLST
=yes
2354 DEFAULT_wxUSE_CHOICE
=yes
2355 DEFAULT_wxUSE_CHOICEBOOK
=yes
2356 DEFAULT_wxUSE_COMBOBOX
=yes
2357 DEFAULT_wxUSE_DISPLAY
=yes
2358 DEFAULT_wxUSE_GAUGE
=yes
2359 DEFAULT_wxUSE_GRID
=yes
2360 DEFAULT_wxUSE_IMAGLIST
=yes
2361 DEFAULT_wxUSE_LISTBOOK
=yes
2362 DEFAULT_wxUSE_LISTBOX
=yes
2363 DEFAULT_wxUSE_LISTCTRL
=yes
2364 DEFAULT_wxUSE_NOTEBOOK
=yes
2365 DEFAULT_wxUSE_RADIOBOX
=yes
2366 DEFAULT_wxUSE_RADIOBTN
=yes
2367 DEFAULT_wxUSE_SASH
=yes
2368 DEFAULT_wxUSE_SCROLLBAR
=yes
2369 DEFAULT_wxUSE_SLIDER
=yes
2370 DEFAULT_wxUSE_SPINBTN
=yes
2371 DEFAULT_wxUSE_SPINCTRL
=yes
2372 DEFAULT_wxUSE_SPLITTER
=yes
2373 DEFAULT_wxUSE_STATBMP
=yes
2374 DEFAULT_wxUSE_STATBOX
=yes
2375 DEFAULT_wxUSE_STATLINE
=yes
2376 DEFAULT_wxUSE_STATTEXT
=yes
2377 DEFAULT_wxUSE_STATUSBAR
=yes
2378 DEFAULT_wxUSE_TABDIALOG
=no
2379 DEFAULT_wxUSE_TEXTCTRL
=yes
2380 DEFAULT_wxUSE_TOGGLEBTN
=yes
2381 DEFAULT_wxUSE_TOOLBAR
=yes
2382 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2383 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2384 DEFAULT_wxUSE_TREECTRL
=yes
2385 DEFAULT_wxUSE_POPUPWIN
=yes
2386 DEFAULT_wxUSE_TIPWINDOW
=yes
2388 DEFAULT_wxUSE_UNICODE
=no
2389 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2390 DEFAULT_wxUSE_WCSRTOMBS
=no
2392 DEFAULT_wxUSE_PALETTE
=yes
2393 DEFAULT_wxUSE_IMAGE
=yes
2394 DEFAULT_wxUSE_GIF
=yes
2395 DEFAULT_wxUSE_PCX
=yes
2396 DEFAULT_wxUSE_IFF
=no
2397 DEFAULT_wxUSE_PNM
=yes
2398 DEFAULT_wxUSE_XPM
=yes
2399 DEFAULT_wxUSE_ICO_CUR
=yes
2400 DEFAULT_wxUSE_ACCESSIBILITY
=no
2402 DEFAULT_wxUSE_MONOLITHIC
=no
2403 DEFAULT_wxUSE_PLUGINS
=no
2404 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2406 DEFAULT_wxUSE_GTK2
=yes
2411 for toolkit
in `echo $ALL_TOOLKITS`; do
2412 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2413 if test "x$LINE" != "x" ; then
2414 has_toolkit_in_cache
=1
2415 eval "DEFAULT_$LINE"
2416 eval "CACHE_$toolkit=1"
2423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2424 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2426 # Check whether --enable-gui or --disable-gui was given.
2427 if test "${enable_gui+set}" = set; then
2428 enableval
="$enable_gui"
2430 if test "$enableval" = yes; then
2431 ac_cv_use_gui
='wxUSE_GUI=yes'
2433 ac_cv_use_gui
='wxUSE_GUI=no'
2438 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2439 if test "x$LINE" != x
; then
2440 eval "DEFAULT_$LINE"
2445 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2449 eval "$ac_cv_use_gui"
2450 if test "$no_cache" != 1; then
2451 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2454 if test "$wxUSE_GUI" = yes; then
2455 echo "$as_me:$LINENO: result: yes" >&5
2456 echo "${ECHO_T}yes" >&6
2458 echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6
2464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2465 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2467 # Check whether --enable-monolithic or --disable-monolithic was given.
2468 if test "${enable_monolithic+set}" = set; then
2469 enableval
="$enable_monolithic"
2471 if test "$enableval" = yes; then
2472 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2474 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2479 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2480 if test "x$LINE" != x
; then
2481 eval "DEFAULT_$LINE"
2486 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2490 eval "$ac_cv_use_monolithic"
2491 if test "$no_cache" != 1; then
2492 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2495 if test "$wxUSE_MONOLITHIC" = yes; then
2496 echo "$as_me:$LINENO: result: yes" >&5
2497 echo "${ECHO_T}yes" >&6
2499 echo "$as_me:$LINENO: result: no" >&5
2500 echo "${ECHO_T}no" >&6
2505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2506 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2508 # Check whether --enable-plugins or --disable-plugins was given.
2509 if test "${enable_plugins+set}" = set; then
2510 enableval
="$enable_plugins"
2512 if test "$enableval" = yes; then
2513 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2515 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2520 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2521 if test "x$LINE" != x
; then
2522 eval "DEFAULT_$LINE"
2527 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2531 eval "$ac_cv_use_plugins"
2532 if test "$no_cache" != 1; then
2533 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2536 if test "$wxUSE_PLUGINS" = yes; then
2537 echo "$as_me:$LINENO: result: yes" >&5
2538 echo "${ECHO_T}yes" >&6
2540 echo "$as_me:$LINENO: result: no" >&5
2541 echo "${ECHO_T}no" >&6
2545 if test "$wxUSE_GUI" = "yes"; then
2549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2550 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2552 # Check whether --enable-universal or --disable-universal was given.
2553 if test "${enable_universal+set}" = set; then
2554 enableval
="$enable_universal"
2556 if test "$enableval" = yes; then
2557 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2559 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2564 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2565 if test "x$LINE" != x
; then
2566 eval "DEFAULT_$LINE"
2571 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2575 eval "$ac_cv_use_universal"
2576 if test "$no_cache" != 1; then
2577 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2580 if test "$wxUSE_UNIVERSAL" = yes; then
2581 echo "$as_me:$LINENO: result: yes" >&5
2582 echo "${ECHO_T}yes" >&6
2584 echo "$as_me:$LINENO: result: no" >&5
2585 echo "${ECHO_T}no" >&6
2589 # Check whether --with-gtk or --without-gtk was given.
2590 if test "${with_gtk+set}" = set; then
2592 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2595 # Check whether --with-motif or --without-motif was given.
2596 if test "${with_motif+set}" = set; then
2597 withval
="$with_motif"
2598 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2601 # Check whether --with-mac or --without-mac was given.
2602 if test "${with_mac+set}" = set; then
2604 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2607 # Check whether --with-cocoa or --without-cocoa was given.
2608 if test "${with_cocoa+set}" = set; then
2609 withval
="$with_cocoa"
2610 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2613 # Check whether --with-wine or --without-wine was given.
2614 if test "${with_wine+set}" = set; then
2615 withval
="$with_wine"
2616 wxUSE_WINE
="$withval" CACHE_WINE
=1
2619 # Check whether --with-msw or --without-msw was given.
2620 if test "${with_msw+set}" = set; then
2622 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2625 # Check whether --with-pm or --without-pm was given.
2626 if test "${with_pm+set}" = set; then
2628 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2631 # Check whether --with-mgl or --without-mgl was given.
2632 if test "${with_mgl+set}" = set; then
2634 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2637 # Check whether --with-microwin or --without-microwin was given.
2638 if test "${with_microwin+set}" = set; then
2639 withval
="$with_microwin"
2640 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2643 # Check whether --with-x11 or --without-x11 was given.
2644 if test "${with_x11+set}" = set; then
2646 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2651 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2653 # Check whether --enable-nanox or --disable-nanox was given.
2654 if test "${enable_nanox+set}" = set; then
2655 enableval
="$enable_nanox"
2657 if test "$enableval" = yes; then
2658 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2660 ac_cv_use_nanox
='wxUSE_NANOX=no'
2665 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x
; then
2667 eval "DEFAULT_$LINE"
2672 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2676 eval "$ac_cv_use_nanox"
2677 if test "$no_cache" != 1; then
2678 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2681 if test "$wxUSE_NANOX" = yes; then
2682 echo "$as_me:$LINENO: result: yes" >&5
2683 echo "${ECHO_T}yes" >&6
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2693 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2695 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2696 if test "${enable_gtk2+set}" = set; then
2697 enableval
="$enable_gtk2"
2699 if test "$enableval" = yes; then
2700 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2702 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2707 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2708 if test "x$LINE" != x
; then
2709 eval "DEFAULT_$LINE"
2714 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2718 eval "$ac_cv_use_gtk2"
2719 if test "$no_cache" != 1; then
2720 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2723 if test "$wxUSE_GTK2" = yes; then
2724 echo "$as_me:$LINENO: result: yes" >&5
2725 echo "${ECHO_T}yes" >&6
2727 echo "$as_me:$LINENO: result: no" >&5
2728 echo "${ECHO_T}no" >&6
2733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2734 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2736 # Check whether --enable-gpe or --disable-gpe was given.
2737 if test "${enable_gpe+set}" = set; then
2738 enableval
="$enable_gpe"
2740 if test "$enableval" = yes; then
2741 ac_cv_use_gpe
='wxUSE_GPE=yes'
2743 ac_cv_use_gpe
='wxUSE_GPE=no'
2748 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2749 if test "x$LINE" != x
; then
2750 eval "DEFAULT_$LINE"
2755 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2759 eval "$ac_cv_use_gpe"
2760 if test "$no_cache" != 1; then
2761 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2764 if test "$wxUSE_GPE" = yes; then
2765 echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6
2768 echo "$as_me:$LINENO: result: no" >&5
2769 echo "${ECHO_T}no" >&6
2774 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2775 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2778 # Check whether --with-libpng or --without-libpng was given.
2779 if test "${with_libpng+set}" = set; then
2780 withval
="$with_libpng"
2782 if test "$withval" = yes; then
2783 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2784 elif test "$withval" = no
; then
2785 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2786 elif test "$withval" = sys
; then
2787 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2788 elif test "$withval" = builtin; then
2789 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2791 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2792 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2793 { (exit 1); exit 1; }; }
2798 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2799 if test "x$LINE" != x
; then
2800 eval "DEFAULT_$LINE"
2805 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2809 eval "$ac_cv_use_libpng"
2810 if test "$no_cache" != 1; then
2811 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2814 if test "$wxUSE_LIBPNG" = yes; then
2815 echo "$as_me:$LINENO: result: yes" >&5
2816 echo "${ECHO_T}yes" >&6
2817 elif test "$wxUSE_LIBPNG" = no
; then
2818 echo "$as_me:$LINENO: result: no" >&5
2819 echo "${ECHO_T}no" >&6
2820 elif test "$wxUSE_LIBPNG" = sys
; then
2821 echo "$as_me:$LINENO: result: system version" >&5
2822 echo "${ECHO_T}system version" >&6
2823 elif test "$wxUSE_LIBPNG" = builtin; then
2824 echo "$as_me:$LINENO: result: builtin version" >&5
2825 echo "${ECHO_T}builtin version" >&6
2827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2828 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2829 { (exit 1); exit 1; }; }
2833 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2834 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2837 # Check whether --with-libjpeg or --without-libjpeg was given.
2838 if test "${with_libjpeg+set}" = set; then
2839 withval
="$with_libjpeg"
2841 if test "$withval" = yes; then
2842 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2843 elif test "$withval" = no
; then
2844 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2845 elif test "$withval" = sys
; then
2846 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2847 elif test "$withval" = builtin; then
2848 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2850 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2851 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2852 { (exit 1); exit 1; }; }
2857 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2858 if test "x$LINE" != x
; then
2859 eval "DEFAULT_$LINE"
2864 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2868 eval "$ac_cv_use_libjpeg"
2869 if test "$no_cache" != 1; then
2870 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2873 if test "$wxUSE_LIBJPEG" = yes; then
2874 echo "$as_me:$LINENO: result: yes" >&5
2875 echo "${ECHO_T}yes" >&6
2876 elif test "$wxUSE_LIBJPEG" = no
; then
2877 echo "$as_me:$LINENO: result: no" >&5
2878 echo "${ECHO_T}no" >&6
2879 elif test "$wxUSE_LIBJPEG" = sys
; then
2880 echo "$as_me:$LINENO: result: system version" >&5
2881 echo "${ECHO_T}system version" >&6
2882 elif test "$wxUSE_LIBJPEG" = builtin; then
2883 echo "$as_me:$LINENO: result: builtin version" >&5
2884 echo "${ECHO_T}builtin version" >&6
2886 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2887 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2888 { (exit 1); exit 1; }; }
2892 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2893 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2896 # Check whether --with-libtiff or --without-libtiff was given.
2897 if test "${with_libtiff+set}" = set; then
2898 withval
="$with_libtiff"
2900 if test "$withval" = yes; then
2901 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2902 elif test "$withval" = no
; then
2903 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2904 elif test "$withval" = sys
; then
2905 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2906 elif test "$withval" = builtin; then
2907 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2909 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2910 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2911 { (exit 1); exit 1; }; }
2916 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2917 if test "x$LINE" != x
; then
2918 eval "DEFAULT_$LINE"
2923 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2927 eval "$ac_cv_use_libtiff"
2928 if test "$no_cache" != 1; then
2929 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2932 if test "$wxUSE_LIBTIFF" = yes; then
2933 echo "$as_me:$LINENO: result: yes" >&5
2934 echo "${ECHO_T}yes" >&6
2935 elif test "$wxUSE_LIBTIFF" = no
; then
2936 echo "$as_me:$LINENO: result: no" >&5
2937 echo "${ECHO_T}no" >&6
2938 elif test "$wxUSE_LIBTIFF" = sys
; then
2939 echo "$as_me:$LINENO: result: system version" >&5
2940 echo "${ECHO_T}system version" >&6
2941 elif test "$wxUSE_LIBTIFF" = builtin; then
2942 echo "$as_me:$LINENO: result: builtin version" >&5
2943 echo "${ECHO_T}builtin version" >&6
2945 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2946 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2947 { (exit 1); exit 1; }; }
2951 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2952 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2955 # Check whether --with-libxpm or --without-libxpm was given.
2956 if test "${with_libxpm+set}" = set; then
2957 withval
="$with_libxpm"
2959 if test "$withval" = yes; then
2960 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2961 elif test "$withval" = no
; then
2962 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2963 elif test "$withval" = sys
; then
2964 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2965 elif test "$withval" = builtin; then
2966 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2968 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2969 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2970 { (exit 1); exit 1; }; }
2975 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2976 if test "x$LINE" != x
; then
2977 eval "DEFAULT_$LINE"
2982 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2986 eval "$ac_cv_use_libxpm"
2987 if test "$no_cache" != 1; then
2988 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2991 if test "$wxUSE_LIBXPM" = yes; then
2992 echo "$as_me:$LINENO: result: yes" >&5
2993 echo "${ECHO_T}yes" >&6
2994 elif test "$wxUSE_LIBXPM" = no
; then
2995 echo "$as_me:$LINENO: result: no" >&5
2996 echo "${ECHO_T}no" >&6
2997 elif test "$wxUSE_LIBXPM" = sys
; then
2998 echo "$as_me:$LINENO: result: system version" >&5
2999 echo "${ECHO_T}system version" >&6
3000 elif test "$wxUSE_LIBXPM" = builtin; then
3001 echo "$as_me:$LINENO: result: builtin version" >&5
3002 echo "${ECHO_T}builtin version" >&6
3004 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3005 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3006 { (exit 1); exit 1; }; }
3010 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3011 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3014 # Check whether --with-libmspack or --without-libmspack was given.
3015 if test "${with_libmspack+set}" = set; then
3016 withval
="$with_libmspack"
3018 if test "$withval" = yes; then
3019 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3021 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3026 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3027 if test "x$LINE" != x
; then
3028 eval "DEFAULT_$LINE"
3033 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3037 eval "$ac_cv_use_libmspack"
3038 if test "$no_cache" != 1; then
3039 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3042 if test "$wxUSE_LIBMSPACK" = yes; then
3043 echo "$as_me:$LINENO: result: yes" >&5
3044 echo "${ECHO_T}yes" >&6
3046 echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6
3051 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3052 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3055 # Check whether --with-sdl or --without-sdl was given.
3056 if test "${with_sdl+set}" = set; then
3059 if test "$withval" = yes; then
3060 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3062 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3067 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3068 if test "x$LINE" != x
; then
3069 eval "DEFAULT_$LINE"
3074 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3078 eval "$ac_cv_use_sdl"
3079 if test "$no_cache" != 1; then
3080 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3083 if test "$wxUSE_LIBSDL" = yes; then
3084 echo "$as_me:$LINENO: result: yes" >&5
3085 echo "${ECHO_T}yes" >&6
3087 echo "$as_me:$LINENO: result: no" >&5
3088 echo "${ECHO_T}no" >&6
3092 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3093 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3096 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3097 if test "${with_gnomeprint+set}" = set; then
3098 withval
="$with_gnomeprint"
3100 if test "$withval" = yes; then
3101 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3103 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3108 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3109 if test "x$LINE" != x
; then
3110 eval "DEFAULT_$LINE"
3115 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3119 eval "$ac_cv_use_gnomeprint"
3120 if test "$no_cache" != 1; then
3121 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3124 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3125 echo "$as_me:$LINENO: result: yes" >&5
3126 echo "${ECHO_T}yes" >&6
3128 echo "$as_me:$LINENO: result: no" >&5
3129 echo "${ECHO_T}no" >&6
3133 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3134 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3137 # Check whether --with-opengl or --without-opengl was given.
3138 if test "${with_opengl+set}" = set; then
3139 withval
="$with_opengl"
3141 if test "$withval" = yes; then
3142 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3144 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3149 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x
; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3160 eval "$ac_cv_use_opengl"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_OPENGL" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3177 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3178 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3181 # Check whether --with-dmalloc or --without-dmalloc was given.
3182 if test "${with_dmalloc+set}" = set; then
3183 withval
="$with_dmalloc"
3185 if test "$withval" = yes; then
3186 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3188 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3193 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3194 if test "x$LINE" != x
; then
3195 eval "DEFAULT_$LINE"
3200 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3204 eval "$ac_cv_use_dmalloc"
3205 if test "$no_cache" != 1; then
3206 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3209 if test "$wxUSE_DMALLOC" = yes; then
3210 echo "$as_me:$LINENO: result: yes" >&5
3211 echo "${ECHO_T}yes" >&6
3213 echo "$as_me:$LINENO: result: no" >&5
3214 echo "${ECHO_T}no" >&6
3218 echo "$as_me:$LINENO: checking for --with-regex" >&5
3219 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3222 # Check whether --with-regex or --without-regex was given.
3223 if test "${with_regex+set}" = set; then
3224 withval
="$with_regex"
3226 if test "$withval" = yes; then
3227 ac_cv_use_regex
='wxUSE_REGEX=yes'
3228 elif test "$withval" = no
; then
3229 ac_cv_use_regex
='wxUSE_REGEX=no'
3230 elif test "$withval" = sys
; then
3231 ac_cv_use_regex
='wxUSE_REGEX=sys'
3232 elif test "$withval" = builtin; then
3233 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3235 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3236 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3237 { (exit 1); exit 1; }; }
3242 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x
; then
3244 eval "DEFAULT_$LINE"
3249 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3253 eval "$ac_cv_use_regex"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3258 if test "$wxUSE_REGEX" = yes; then
3259 echo "$as_me:$LINENO: result: yes" >&5
3260 echo "${ECHO_T}yes" >&6
3261 elif test "$wxUSE_REGEX" = no
; then
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3264 elif test "$wxUSE_REGEX" = sys
; then
3265 echo "$as_me:$LINENO: result: system version" >&5
3266 echo "${ECHO_T}system version" >&6
3267 elif test "$wxUSE_REGEX" = builtin; then
3268 echo "$as_me:$LINENO: result: builtin version" >&5
3269 echo "${ECHO_T}builtin version" >&6
3271 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3272 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3273 { (exit 1); exit 1; }; }
3277 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3278 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3281 # Check whether --with-zlib or --without-zlib was given.
3282 if test "${with_zlib+set}" = set; then
3283 withval
="$with_zlib"
3285 if test "$withval" = yes; then
3286 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3287 elif test "$withval" = no
; then
3288 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3289 elif test "$withval" = sys
; then
3290 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3291 elif test "$withval" = builtin; then
3292 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3294 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3295 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3296 { (exit 1); exit 1; }; }
3301 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3302 if test "x$LINE" != x
; then
3303 eval "DEFAULT_$LINE"
3308 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3312 eval "$ac_cv_use_zlib"
3313 if test "$no_cache" != 1; then
3314 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3317 if test "$wxUSE_ZLIB" = yes; then
3318 echo "$as_me:$LINENO: result: yes" >&5
3319 echo "${ECHO_T}yes" >&6
3320 elif test "$wxUSE_ZLIB" = no
; then
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3323 elif test "$wxUSE_ZLIB" = sys
; then
3324 echo "$as_me:$LINENO: result: system version" >&5
3325 echo "${ECHO_T}system version" >&6
3326 elif test "$wxUSE_ZLIB" = builtin; then
3327 echo "$as_me:$LINENO: result: builtin version" >&5
3328 echo "${ECHO_T}builtin version" >&6
3330 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3331 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3332 { (exit 1); exit 1; }; }
3336 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3337 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3340 # Check whether --with-odbc or --without-odbc was given.
3341 if test "${with_odbc+set}" = set; then
3342 withval
="$with_odbc"
3344 if test "$withval" = yes; then
3345 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3346 elif test "$withval" = no
; then
3347 ac_cv_use_odbc
='wxUSE_ODBC=no'
3348 elif test "$withval" = sys
; then
3349 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3350 elif test "$withval" = builtin; then
3351 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3353 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3354 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3355 { (exit 1); exit 1; }; }
3360 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3361 if test "x$LINE" != x
; then
3362 eval "DEFAULT_$LINE"
3367 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3371 eval "$ac_cv_use_odbc"
3372 if test "$no_cache" != 1; then
3373 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3376 if test "$wxUSE_ODBC" = yes; then
3377 echo "$as_me:$LINENO: result: yes" >&5
3378 echo "${ECHO_T}yes" >&6
3379 elif test "$wxUSE_ODBC" = no
; then
3380 echo "$as_me:$LINENO: result: no" >&5
3381 echo "${ECHO_T}no" >&6
3382 elif test "$wxUSE_ODBC" = sys
; then
3383 echo "$as_me:$LINENO: result: system version" >&5
3384 echo "${ECHO_T}system version" >&6
3385 elif test "$wxUSE_ODBC" = builtin; then
3386 echo "$as_me:$LINENO: result: builtin version" >&5
3387 echo "${ECHO_T}builtin version" >&6
3389 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3390 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3391 { (exit 1); exit 1; }; }
3395 echo "$as_me:$LINENO: checking for --with-expat" >&5
3396 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3399 # Check whether --with-expat or --without-expat was given.
3400 if test "${with_expat+set}" = set; then
3401 withval
="$with_expat"
3403 if test "$withval" = yes; then
3404 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3405 elif test "$withval" = no
; then
3406 ac_cv_use_expat
='wxUSE_EXPAT=no'
3407 elif test "$withval" = sys
; then
3408 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3409 elif test "$withval" = builtin; then
3410 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3412 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3413 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3414 { (exit 1); exit 1; }; }
3419 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3420 if test "x$LINE" != x
; then
3421 eval "DEFAULT_$LINE"
3426 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3430 eval "$ac_cv_use_expat"
3431 if test "$no_cache" != 1; then
3432 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3435 if test "$wxUSE_EXPAT" = yes; then
3436 echo "$as_me:$LINENO: result: yes" >&5
3437 echo "${ECHO_T}yes" >&6
3438 elif test "$wxUSE_EXPAT" = no
; then
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
3441 elif test "$wxUSE_EXPAT" = sys
; then
3442 echo "$as_me:$LINENO: result: system version" >&5
3443 echo "${ECHO_T}system version" >&6
3444 elif test "$wxUSE_EXPAT" = builtin; then
3445 echo "$as_me:$LINENO: result: builtin version" >&5
3446 echo "${ECHO_T}builtin version" >&6
3448 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3449 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3450 { (exit 1); exit 1; }; }
3457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3458 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3460 # Check whether --enable-shared or --disable-shared was given.
3461 if test "${enable_shared+set}" = set; then
3462 enableval
="$enable_shared"
3464 if test "$enableval" = yes; then
3465 ac_cv_use_shared
='wxUSE_SHARED=yes'
3467 ac_cv_use_shared
='wxUSE_SHARED=no'
3472 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3473 if test "x$LINE" != x
; then
3474 eval "DEFAULT_$LINE"
3479 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3483 eval "$ac_cv_use_shared"
3484 if test "$no_cache" != 1; then
3485 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3488 if test "$wxUSE_SHARED" = yes; then
3489 echo "$as_me:$LINENO: result: yes" >&5
3490 echo "${ECHO_T}yes" >&6
3492 echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6
3498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3499 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3501 # Check whether --enable-optimise or --disable-optimise was given.
3502 if test "${enable_optimise+set}" = set; then
3503 enableval
="$enable_optimise"
3505 if test "$enableval" = yes; then
3506 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3508 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3513 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3514 if test "x$LINE" != x
; then
3515 eval "DEFAULT_$LINE"
3520 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3524 eval "$ac_cv_use_optimise"
3525 if test "$no_cache" != 1; then
3526 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3529 if test "$wxUSE_OPTIMISE" = yes; then
3530 echo "$as_me:$LINENO: result: yes" >&5
3531 echo "${ECHO_T}yes" >&6
3533 echo "$as_me:$LINENO: result: no" >&5
3534 echo "${ECHO_T}no" >&6
3539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3540 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3542 # Check whether --enable-debug or --disable-debug was given.
3543 if test "${enable_debug+set}" = set; then
3544 enableval
="$enable_debug"
3546 if test "$enableval" = yes; then
3547 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3549 ac_cv_use_debug
='wxUSE_DEBUG=no'
3554 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3555 if test "x$LINE" != x
; then
3556 eval "DEFAULT_$LINE"
3561 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3565 eval "$ac_cv_use_debug"
3566 if test "$no_cache" != 1; then
3567 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3570 if test "$wxUSE_DEBUG" = yes; then
3571 echo "$as_me:$LINENO: result: yes" >&5
3572 echo "${ECHO_T}yes" >&6
3574 echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6
3580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3581 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3583 # Check whether --enable-stl or --disable-stl was given.
3584 if test "${enable_stl+set}" = set; then
3585 enableval
="$enable_stl"
3587 if test "$enableval" = yes; then
3588 ac_cv_use_stl
='wxUSE_STL=yes'
3590 ac_cv_use_stl
='wxUSE_STL=no'
3595 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3596 if test "x$LINE" != x
; then
3597 eval "DEFAULT_$LINE"
3602 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3606 eval "$ac_cv_use_stl"
3607 if test "$no_cache" != 1; then
3608 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3611 if test "$wxUSE_STL" = yes; then
3612 echo "$as_me:$LINENO: result: yes" >&5
3613 echo "${ECHO_T}yes" >&6
3615 echo "$as_me:$LINENO: result: no" >&5
3616 echo "${ECHO_T}no" >&6
3619 if test "$USE_OS2" = "1"; then
3622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3623 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3625 # Check whether --enable-omf or --disable-omf was given.
3626 if test "${enable_omf+set}" = set; then
3627 enableval
="$enable_omf"
3629 if test "$enableval" = yes; then
3630 ac_cv_use_omf
='wxUSE_OMF=yes'
3632 ac_cv_use_omf
='wxUSE_OMF=no'
3637 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x
; then
3639 eval "DEFAULT_$LINE"
3644 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3648 eval "$ac_cv_use_omf"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3653 if test "$wxUSE_OMF" = yes; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3663 if test "$wxUSE_DEBUG" = "yes"; then
3664 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3665 DEFAULT_wxUSE_DEBUG_INFO
=yes
3667 elif test "$wxUSE_DEBUG" = "no"; then
3668 DEFAULT_wxUSE_DEBUG_FLAG
=no
3669 DEFAULT_wxUSE_DEBUG_INFO
=no
3675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3676 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3678 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3679 if test "${enable_debug_flag+set}" = set; then
3680 enableval
="$enable_debug_flag"
3682 if test "$enableval" = yes; then
3683 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3685 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3690 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x
; then
3692 eval "DEFAULT_$LINE"
3697 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3701 eval "$ac_cv_use_debug_flag"
3702 if test "$no_cache" != 1; then
3703 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3706 if test "$wxUSE_DEBUG_FLAG" = yes; then
3707 echo "$as_me:$LINENO: result: yes" >&5
3708 echo "${ECHO_T}yes" >&6
3710 echo "$as_me:$LINENO: result: no" >&5
3711 echo "${ECHO_T}no" >&6
3716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3717 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3719 # Check whether --enable-debug_info or --disable-debug_info was given.
3720 if test "${enable_debug_info+set}" = set; then
3721 enableval
="$enable_debug_info"
3723 if test "$enableval" = yes; then
3724 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3726 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3731 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x
; then
3733 eval "DEFAULT_$LINE"
3738 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3742 eval "$ac_cv_use_debug_info"
3743 if test "$no_cache" != 1; then
3744 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3747 if test "$wxUSE_DEBUG_INFO" = yes; then
3748 echo "$as_me:$LINENO: result: yes" >&5
3749 echo "${ECHO_T}yes" >&6
3751 echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6
3757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3758 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3760 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3761 if test "${enable_debug_gdb+set}" = set; then
3762 enableval
="$enable_debug_gdb"
3764 if test "$enableval" = yes; then
3765 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3767 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3772 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x
; then
3774 eval "DEFAULT_$LINE"
3779 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3783 eval "$ac_cv_use_debug_gdb"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3788 if test "$wxUSE_DEBUG_GDB" = yes; then
3789 echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6
3792 echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6
3798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3799 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3801 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3802 if test "${enable_debug_cntxt+set}" = set; then
3803 enableval
="$enable_debug_cntxt"
3805 if test "$enableval" = yes; then
3806 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3808 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3813 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x
; then
3815 eval "DEFAULT_$LINE"
3820 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3824 eval "$ac_cv_use_debug_cntxt"
3825 if test "$no_cache" != 1; then
3826 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3829 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3830 echo "$as_me:$LINENO: result: yes" >&5
3831 echo "${ECHO_T}yes" >&6
3833 echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3840 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3842 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3843 if test "${enable_mem_tracing+set}" = set; then
3844 enableval
="$enable_mem_tracing"
3846 if test "$enableval" = yes; then
3847 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3849 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3854 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3855 if test "x$LINE" != x
; then
3856 eval "DEFAULT_$LINE"
3861 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3865 eval "$ac_cv_use_mem_tracing"
3866 if test "$no_cache" != 1; then
3867 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3870 if test "$wxUSE_MEM_TRACING" = yes; then
3871 echo "$as_me:$LINENO: result: yes" >&5
3872 echo "${ECHO_T}yes" >&6
3874 echo "$as_me:$LINENO: result: no" >&5
3875 echo "${ECHO_T}no" >&6
3880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3881 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3883 # Check whether --enable-profile or --disable-profile was given.
3884 if test "${enable_profile+set}" = set; then
3885 enableval
="$enable_profile"
3887 if test "$enableval" = yes; then
3888 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3890 ac_cv_use_profile
='wxUSE_PROFILE=no'
3895 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x
; then
3897 eval "DEFAULT_$LINE"
3902 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3906 eval "$ac_cv_use_profile"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3911 if test "$wxUSE_PROFILE" = yes; then
3912 echo "$as_me:$LINENO: result: yes" >&5
3913 echo "${ECHO_T}yes" >&6
3915 echo "$as_me:$LINENO: result: no" >&5
3916 echo "${ECHO_T}no" >&6
3921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3922 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3924 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3925 if test "${enable_no_rtti+set}" = set; then
3926 enableval
="$enable_no_rtti"
3928 if test "$enableval" = yes; then
3929 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3931 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3936 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3937 if test "x$LINE" != x
; then
3938 eval "DEFAULT_$LINE"
3943 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3947 eval "$ac_cv_use_no_rtti"
3948 if test "$no_cache" != 1; then
3949 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3952 if test "$wxUSE_NO_RTTI" = yes; then
3953 echo "$as_me:$LINENO: result: yes" >&5
3954 echo "${ECHO_T}yes" >&6
3956 echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6
3962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3963 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3965 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3966 if test "${enable_no_exceptions+set}" = set; then
3967 enableval
="$enable_no_exceptions"
3969 if test "$enableval" = yes; then
3970 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3972 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3977 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x
; then
3979 eval "DEFAULT_$LINE"
3984 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3988 eval "$ac_cv_use_no_exceptions"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3993 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3994 echo "$as_me:$LINENO: result: yes" >&5
3995 echo "${ECHO_T}yes" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4004 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4006 # Check whether --enable-permissive or --disable-permissive was given.
4007 if test "${enable_permissive+set}" = set; then
4008 enableval
="$enable_permissive"
4010 if test "$enableval" = yes; then
4011 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4013 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4018 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4019 if test "x$LINE" != x
; then
4020 eval "DEFAULT_$LINE"
4025 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4029 eval "$ac_cv_use_permissive"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4034 if test "$wxUSE_PERMISSIVE" = yes; then
4035 echo "$as_me:$LINENO: result: yes" >&5
4036 echo "${ECHO_T}yes" >&6
4038 echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6
4044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4045 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4047 # Check whether --enable-no_deps or --disable-no_deps was given.
4048 if test "${enable_no_deps+set}" = set; then
4049 enableval
="$enable_no_deps"
4051 if test "$enableval" = yes; then
4052 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4054 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4059 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x
; then
4061 eval "DEFAULT_$LINE"
4066 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4070 eval "$ac_cv_use_no_deps"
4071 if test "$no_cache" != 1; then
4072 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4075 if test "$wxUSE_NO_DEPS" = yes; then
4076 echo "$as_me:$LINENO: result: yes" >&5
4077 echo "${ECHO_T}yes" >&6
4079 echo "$as_me:$LINENO: result: no" >&5
4080 echo "${ECHO_T}no" >&6
4086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4087 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4089 # Check whether --enable-compat22 or --disable-compat22 was given.
4090 if test "${enable_compat22+set}" = set; then
4091 enableval
="$enable_compat22"
4093 if test "$enableval" = yes; then
4094 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4096 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4101 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x
; then
4103 eval "DEFAULT_$LINE"
4108 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4112 eval "$ac_cv_use_compat22"
4113 if test "$no_cache" != 1; then
4114 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4117 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4118 echo "$as_me:$LINENO: result: yes" >&5
4119 echo "${ECHO_T}yes" >&6
4121 echo "$as_me:$LINENO: result: no" >&5
4122 echo "${ECHO_T}no" >&6
4126 enablestring
=disable
4127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4128 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4130 # Check whether --enable-compat24 or --disable-compat24 was given.
4131 if test "${enable_compat24+set}" = set; then
4132 enableval
="$enable_compat24"
4134 if test "$enableval" = yes; then
4135 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4137 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4142 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x
; then
4144 eval "DEFAULT_$LINE"
4149 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4153 eval "$ac_cv_use_compat24"
4154 if test "$no_cache" != 1; then
4155 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4158 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4159 echo "$as_me:$LINENO: result: yes" >&5
4160 echo "${ECHO_T}yes" >&6
4162 echo "$as_me:$LINENO: result: no" >&5
4163 echo "${ECHO_T}no" >&6
4169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4170 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4172 # Check whether --enable-rpath or --disable-rpath was given.
4173 if test "${enable_rpath+set}" = set; then
4174 enableval
="$enable_rpath"
4176 if test "$enableval" = yes; then
4177 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4179 ac_cv_use_rpath
='wxUSE_RPATH=no'
4184 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x
; then
4186 eval "DEFAULT_$LINE"
4191 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4195 eval "$ac_cv_use_rpath"
4196 if test "$no_cache" != 1; then
4197 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4200 if test "$wxUSE_RPATH" = yes; then
4201 echo "$as_me:$LINENO: result: yes" >&5
4202 echo "${ECHO_T}yes" >&6
4204 echo "$as_me:$LINENO: result: no" >&5
4205 echo "${ECHO_T}no" >&6
4213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4214 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4216 # Check whether --enable-intl or --disable-intl was given.
4217 if test "${enable_intl+set}" = set; then
4218 enableval
="$enable_intl"
4220 if test "$enableval" = yes; then
4221 ac_cv_use_intl
='wxUSE_INTL=yes'
4223 ac_cv_use_intl
='wxUSE_INTL=no'
4228 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x
; then
4230 eval "DEFAULT_$LINE"
4235 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4239 eval "$ac_cv_use_intl"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4244 if test "$wxUSE_INTL" = yes; then
4245 echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6
4248 echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6
4254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4255 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4257 # Check whether --enable-config or --disable-config was given.
4258 if test "${enable_config+set}" = set; then
4259 enableval
="$enable_config"
4261 if test "$enableval" = yes; then
4262 ac_cv_use_config
='wxUSE_CONFIG=yes'
4264 ac_cv_use_config
='wxUSE_CONFIG=no'
4269 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4270 if test "x$LINE" != x
; then
4271 eval "DEFAULT_$LINE"
4276 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4280 eval "$ac_cv_use_config"
4281 if test "$no_cache" != 1; then
4282 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4285 if test "$wxUSE_CONFIG" = yes; then
4286 echo "$as_me:$LINENO: result: yes" >&5
4287 echo "${ECHO_T}yes" >&6
4289 echo "$as_me:$LINENO: result: no" >&5
4290 echo "${ECHO_T}no" >&6
4296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4297 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4299 # Check whether --enable-protocols or --disable-protocols was given.
4300 if test "${enable_protocols+set}" = set; then
4301 enableval
="$enable_protocols"
4303 if test "$enableval" = yes; then
4304 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4306 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4311 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x
; then
4313 eval "DEFAULT_$LINE"
4318 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4322 eval "$ac_cv_use_protocols"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4327 if test "$wxUSE_PROTOCOL" = yes; then
4328 echo "$as_me:$LINENO: result: yes" >&5
4329 echo "${ECHO_T}yes" >&6
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4338 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4340 # Check whether --enable-ftp or --disable-ftp was given.
4341 if test "${enable_ftp+set}" = set; then
4342 enableval
="$enable_ftp"
4344 if test "$enableval" = yes; then
4345 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4347 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4352 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x
; then
4354 eval "DEFAULT_$LINE"
4359 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4363 eval "$ac_cv_use_ftp"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4368 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4369 echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4381 # Check whether --enable-http or --disable-http was given.
4382 if test "${enable_http+set}" = set; then
4383 enableval
="$enable_http"
4385 if test "$enableval" = yes; then
4386 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4388 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4393 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x
; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4404 eval "$ac_cv_use_http"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4409 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4410 echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4422 # Check whether --enable-fileproto or --disable-fileproto was given.
4423 if test "${enable_fileproto+set}" = set; then
4424 enableval
="$enable_fileproto"
4426 if test "$enableval" = yes; then
4427 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4429 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4434 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x
; then
4436 eval "DEFAULT_$LINE"
4441 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4445 eval "$ac_cv_use_fileproto"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4450 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4451 echo "$as_me:$LINENO: result: yes" >&5
4452 echo "${ECHO_T}yes" >&6
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4461 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4463 # Check whether --enable-sockets or --disable-sockets was given.
4464 if test "${enable_sockets+set}" = set; then
4465 enableval
="$enable_sockets"
4467 if test "$enableval" = yes; then
4468 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4470 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4475 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4476 if test "x$LINE" != x
; then
4477 eval "DEFAULT_$LINE"
4482 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4486 eval "$ac_cv_use_sockets"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4491 if test "$wxUSE_SOCKETS" = yes; then
4492 echo "$as_me:$LINENO: result: yes" >&5
4493 echo "${ECHO_T}yes" >&6
4495 echo "$as_me:$LINENO: result: no" >&5
4496 echo "${ECHO_T}no" >&6
4501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4504 # Check whether --enable-ole or --disable-ole was given.
4505 if test "${enable_ole+set}" = set; then
4506 enableval
="$enable_ole"
4508 if test "$enableval" = yes; then
4509 ac_cv_use_ole
='wxUSE_OLE=yes'
4511 ac_cv_use_ole
='wxUSE_OLE=no'
4516 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4517 if test "x$LINE" != x
; then
4518 eval "DEFAULT_$LINE"
4523 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4527 eval "$ac_cv_use_ole"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4532 if test "$wxUSE_OLE" = yes; then
4533 echo "$as_me:$LINENO: result: yes" >&5
4534 echo "${ECHO_T}yes" >&6
4536 echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6
4542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4543 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4545 # Check whether --enable-dataobj or --disable-dataobj was given.
4546 if test "${enable_dataobj+set}" = set; then
4547 enableval
="$enable_dataobj"
4549 if test "$enableval" = yes; then
4550 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4552 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4557 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4558 if test "x$LINE" != x
; then
4559 eval "DEFAULT_$LINE"
4564 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4568 eval "$ac_cv_use_dataobj"
4569 if test "$no_cache" != 1; then
4570 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4573 if test "$wxUSE_DATAOBJ" = yes; then
4574 echo "$as_me:$LINENO: result: yes" >&5
4575 echo "${ECHO_T}yes" >&6
4577 echo "$as_me:$LINENO: result: no" >&5
4578 echo "${ECHO_T}no" >&6
4584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4585 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4587 # Check whether --enable-ipc or --disable-ipc was given.
4588 if test "${enable_ipc+set}" = set; then
4589 enableval
="$enable_ipc"
4591 if test "$enableval" = yes; then
4592 ac_cv_use_ipc
='wxUSE_IPC=yes'
4594 ac_cv_use_ipc
='wxUSE_IPC=no'
4599 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4600 if test "x$LINE" != x
; then
4601 eval "DEFAULT_$LINE"
4606 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4610 eval "$ac_cv_use_ipc"
4611 if test "$no_cache" != 1; then
4612 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4615 if test "$wxUSE_IPC" = yes; then
4616 echo "$as_me:$LINENO: result: yes" >&5
4617 echo "${ECHO_T}yes" >&6
4619 echo "$as_me:$LINENO: result: no" >&5
4620 echo "${ECHO_T}no" >&6
4626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4629 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4630 if test "${enable_apple_ieee+set}" = set; then
4631 enableval
="$enable_apple_ieee"
4633 if test "$enableval" = yes; then
4634 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4636 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4641 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x
; then
4643 eval "DEFAULT_$LINE"
4648 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4652 eval "$ac_cv_use_apple_ieee"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4657 if test "$wxUSE_APPLE_IEEE" = yes; then
4658 echo "$as_me:$LINENO: result: yes" >&5
4659 echo "${ECHO_T}yes" >&6
4661 echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4670 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4671 if test "${enable_catch_segvs+set}" = set; then
4672 enableval
="$enable_catch_segvs"
4674 if test "$enableval" = yes; then
4675 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4677 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4682 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x
; then
4684 eval "DEFAULT_$LINE"
4689 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4693 eval "$ac_cv_use_catch_segvs"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4698 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4699 echo "$as_me:$LINENO: result: yes" >&5
4700 echo "${ECHO_T}yes" >&6
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4711 # Check whether --enable-cmdline or --disable-cmdline was given.
4712 if test "${enable_cmdline+set}" = set; then
4713 enableval
="$enable_cmdline"
4715 if test "$enableval" = yes; then
4716 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4718 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4723 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x
; then
4725 eval "DEFAULT_$LINE"
4730 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4734 eval "$ac_cv_use_cmdline"
4735 if test "$no_cache" != 1; then
4736 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4739 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4740 echo "$as_me:$LINENO: result: yes" >&5
4741 echo "${ECHO_T}yes" >&6
4743 echo "$as_me:$LINENO: result: no" >&5
4744 echo "${ECHO_T}no" >&6
4749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4750 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4752 # Check whether --enable-datetime or --disable-datetime was given.
4753 if test "${enable_datetime+set}" = set; then
4754 enableval
="$enable_datetime"
4756 if test "$enableval" = yes; then
4757 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4759 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4764 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x
; then
4766 eval "DEFAULT_$LINE"
4771 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4775 eval "$ac_cv_use_datetime"
4776 if test "$no_cache" != 1; then
4777 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4780 if test "$wxUSE_DATETIME" = yes; then
4781 echo "$as_me:$LINENO: result: yes" >&5
4782 echo "${ECHO_T}yes" >&6
4784 echo "$as_me:$LINENO: result: no" >&5
4785 echo "${ECHO_T}no" >&6
4790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4791 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4793 # Check whether --enable-dialupman or --disable-dialupman was given.
4794 if test "${enable_dialupman+set}" = set; then
4795 enableval
="$enable_dialupman"
4797 if test "$enableval" = yes; then
4798 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4800 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4805 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x
; then
4807 eval "DEFAULT_$LINE"
4812 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4816 eval "$ac_cv_use_dialupman"
4817 if test "$no_cache" != 1; then
4818 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4821 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4822 echo "$as_me:$LINENO: result: yes" >&5
4823 echo "${ECHO_T}yes" >&6
4825 echo "$as_me:$LINENO: result: no" >&5
4826 echo "${ECHO_T}no" >&6
4831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4832 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4834 # Check whether --enable-dynlib or --disable-dynlib was given.
4835 if test "${enable_dynlib+set}" = set; then
4836 enableval
="$enable_dynlib"
4838 if test "$enableval" = yes; then
4839 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4841 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4846 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x
; then
4848 eval "DEFAULT_$LINE"
4853 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4857 eval "$ac_cv_use_dynlib"
4858 if test "$no_cache" != 1; then
4859 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4862 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4863 echo "$as_me:$LINENO: result: yes" >&5
4864 echo "${ECHO_T}yes" >&6
4866 echo "$as_me:$LINENO: result: no" >&5
4867 echo "${ECHO_T}no" >&6
4872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4873 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4875 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4876 if test "${enable_dynamicloader+set}" = set; then
4877 enableval
="$enable_dynamicloader"
4879 if test "$enableval" = yes; then
4880 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4882 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4887 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x
; then
4889 eval "DEFAULT_$LINE"
4894 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4898 eval "$ac_cv_use_dynamicloader"
4899 if test "$no_cache" != 1; then
4900 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4903 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4904 echo "$as_me:$LINENO: result: yes" >&5
4905 echo "${ECHO_T}yes" >&6
4907 echo "$as_me:$LINENO: result: no" >&5
4908 echo "${ECHO_T}no" >&6
4913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4916 # Check whether --enable-exceptions or --disable-exceptions was given.
4917 if test "${enable_exceptions+set}" = set; then
4918 enableval
="$enable_exceptions"
4920 if test "$enableval" = yes; then
4921 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4923 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4928 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x
; then
4930 eval "DEFAULT_$LINE"
4935 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4939 eval "$ac_cv_use_exceptions"
4940 if test "$no_cache" != 1; then
4941 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4944 if test "$wxUSE_EXCEPTIONS" = yes; then
4945 echo "$as_me:$LINENO: result: yes" >&5
4946 echo "${ECHO_T}yes" >&6
4948 echo "$as_me:$LINENO: result: no" >&5
4949 echo "${ECHO_T}no" >&6
4954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4955 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4957 # Check whether --enable-ffile or --disable-ffile was given.
4958 if test "${enable_ffile+set}" = set; then
4959 enableval
="$enable_ffile"
4961 if test "$enableval" = yes; then
4962 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4964 ac_cv_use_ffile
='wxUSE_FFILE=no'
4969 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4970 if test "x$LINE" != x
; then
4971 eval "DEFAULT_$LINE"
4976 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4980 eval "$ac_cv_use_ffile"
4981 if test "$no_cache" != 1; then
4982 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4985 if test "$wxUSE_FFILE" = yes; then
4986 echo "$as_me:$LINENO: result: yes" >&5
4987 echo "${ECHO_T}yes" >&6
4989 echo "$as_me:$LINENO: result: no" >&5
4990 echo "${ECHO_T}no" >&6
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4998 # Check whether --enable-file or --disable-file was given.
4999 if test "${enable_file+set}" = set; then
5000 enableval
="$enable_file"
5002 if test "$enableval" = yes; then
5003 ac_cv_use_file
='wxUSE_FILE=yes'
5005 ac_cv_use_file
='wxUSE_FILE=no'
5010 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x
; then
5012 eval "DEFAULT_$LINE"
5017 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5021 eval "$ac_cv_use_file"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5026 if test "$wxUSE_FILE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5039 # Check whether --enable-filesystem or --disable-filesystem was given.
5040 if test "${enable_filesystem+set}" = set; then
5041 enableval
="$enable_filesystem"
5043 if test "$enableval" = yes; then
5044 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5046 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5051 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x
; then
5053 eval "DEFAULT_$LINE"
5058 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5062 eval "$ac_cv_use_filesystem"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5067 if test "$wxUSE_FILESYSTEM" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5080 # Check whether --enable-fontmap or --disable-fontmap was given.
5081 if test "${enable_fontmap+set}" = set; then
5082 enableval
="$enable_fontmap"
5084 if test "$enableval" = yes; then
5085 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5087 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5092 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x
; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5103 eval "$ac_cv_use_fontmap"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5108 if test "$wxUSE_FONTMAP" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5121 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5122 if test "${enable_fs_inet+set}" = set; then
5123 enableval
="$enable_fs_inet"
5125 if test "$enableval" = yes; then
5126 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5128 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5133 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x
; then
5135 eval "DEFAULT_$LINE"
5140 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5144 eval "$ac_cv_use_fs_inet"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5149 if test "$wxUSE_FS_INET" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5162 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5163 if test "${enable_fs_zip+set}" = set; then
5164 enableval
="$enable_fs_zip"
5166 if test "$enableval" = yes; then
5167 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5169 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5174 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x
; then
5176 eval "DEFAULT_$LINE"
5181 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5185 eval "$ac_cv_use_fs_zip"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5190 if test "$wxUSE_FS_ZIP" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5203 # Check whether --enable-geometry or --disable-geometry was given.
5204 if test "${enable_geometry+set}" = set; then
5205 enableval
="$enable_geometry"
5207 if test "$enableval" = yes; then
5208 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5210 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5215 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x
; then
5217 eval "DEFAULT_$LINE"
5222 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5226 eval "$ac_cv_use_geometry"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5231 if test "$wxUSE_GEOMETRY" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5244 # Check whether --enable-log or --disable-log was given.
5245 if test "${enable_log+set}" = set; then
5246 enableval
="$enable_log"
5248 if test "$enableval" = yes; then
5249 ac_cv_use_log
='wxUSE_LOG=yes'
5251 ac_cv_use_log
='wxUSE_LOG=no'
5256 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x
; then
5258 eval "DEFAULT_$LINE"
5263 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5267 eval "$ac_cv_use_log"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5272 if test "$wxUSE_LOG" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5285 # Check whether --enable-longlong or --disable-longlong was given.
5286 if test "${enable_longlong+set}" = set; then
5287 enableval
="$enable_longlong"
5289 if test "$enableval" = yes; then
5290 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5292 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5297 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x
; then
5299 eval "DEFAULT_$LINE"
5304 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5308 eval "$ac_cv_use_longlong"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5313 if test "$wxUSE_LONGLONG" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5326 # Check whether --enable-mimetype or --disable-mimetype was given.
5327 if test "${enable_mimetype+set}" = set; then
5328 enableval
="$enable_mimetype"
5330 if test "$enableval" = yes; then
5331 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5333 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5338 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x
; then
5340 eval "DEFAULT_$LINE"
5345 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5349 eval "$ac_cv_use_mimetype"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5354 if test "$wxUSE_MIMETYPE" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5367 # Check whether --enable-mslu or --disable-mslu was given.
5368 if test "${enable_mslu+set}" = set; then
5369 enableval
="$enable_mslu"
5371 if test "$enableval" = yes; then
5372 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5374 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5379 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x
; then
5381 eval "DEFAULT_$LINE"
5386 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5390 eval "$ac_cv_use_mslu"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5395 if test "$wxUSE_UNICODE_MSLU" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5408 # Check whether --enable-snglinst or --disable-snglinst was given.
5409 if test "${enable_snglinst+set}" = set; then
5410 enableval
="$enable_snglinst"
5412 if test "$enableval" = yes; then
5413 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5415 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5420 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x
; then
5422 eval "DEFAULT_$LINE"
5427 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5431 eval "$ac_cv_use_snglinst"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5436 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5449 # Check whether --enable-streams or --disable-streams was given.
5450 if test "${enable_streams+set}" = set; then
5451 enableval
="$enable_streams"
5453 if test "$enableval" = yes; then
5454 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5456 ac_cv_use_streams
='wxUSE_STREAMS=no'
5461 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x
; then
5463 eval "DEFAULT_$LINE"
5468 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5472 eval "$ac_cv_use_streams"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5477 if test "$wxUSE_STREAMS" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5490 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5491 if test "${enable_std_iostreams+set}" = set; then
5492 enableval
="$enable_std_iostreams"
5494 if test "$enableval" = yes; then
5495 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5497 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5502 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x
; then
5504 eval "DEFAULT_$LINE"
5509 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5513 eval "$ac_cv_use_std_iostreams"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5518 if test "$wxUSE_STD_IOSTREAM" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5531 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5532 if test "${enable_stopwatch+set}" = set; then
5533 enableval
="$enable_stopwatch"
5535 if test "$enableval" = yes; then
5536 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5538 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5543 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x
; then
5545 eval "DEFAULT_$LINE"
5550 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5554 eval "$ac_cv_use_stopwatch"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5559 if test "$wxUSE_STOPWATCH" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5572 # Check whether --enable-system_options or --disable-system_options was given.
5573 if test "${enable_system_options+set}" = set; then
5574 enableval
="$enable_system_options"
5576 if test "$enableval" = yes; then
5577 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5579 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5584 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x
; then
5586 eval "DEFAULT_$LINE"
5591 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5595 eval "$ac_cv_use_system_options"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5600 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5613 # Check whether --enable-textbuf or --disable-textbuf was given.
5614 if test "${enable_textbuf+set}" = set; then
5615 enableval
="$enable_textbuf"
5617 if test "$enableval" = yes; then
5618 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5620 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5625 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x
; then
5627 eval "DEFAULT_$LINE"
5632 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5636 eval "$ac_cv_use_textbuf"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5641 if test "$wxUSE_TEXTBUFFER" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5654 # Check whether --enable-textfile or --disable-textfile was given.
5655 if test "${enable_textfile+set}" = set; then
5656 enableval
="$enable_textfile"
5658 if test "$enableval" = yes; then
5659 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5661 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5666 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x
; then
5668 eval "DEFAULT_$LINE"
5673 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5677 eval "$ac_cv_use_textfile"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5682 if test "$wxUSE_TEXTFILE" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5695 # Check whether --enable-timer or --disable-timer was given.
5696 if test "${enable_timer+set}" = set; then
5697 enableval
="$enable_timer"
5699 if test "$enableval" = yes; then
5700 ac_cv_use_timer
='wxUSE_TIMER=yes'
5702 ac_cv_use_timer
='wxUSE_TIMER=no'
5707 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x
; then
5709 eval "DEFAULT_$LINE"
5714 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5718 eval "$ac_cv_use_timer"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5723 if test "$wxUSE_TIMER" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5736 # Check whether --enable-unicode or --disable-unicode was given.
5737 if test "${enable_unicode+set}" = set; then
5738 enableval
="$enable_unicode"
5740 if test "$enableval" = yes; then
5741 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5743 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5748 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x
; then
5750 eval "DEFAULT_$LINE"
5755 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5759 eval "$ac_cv_use_unicode"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5764 if test "$wxUSE_UNICODE" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5777 # Check whether --enable-sound or --disable-sound was given.
5778 if test "${enable_sound+set}" = set; then
5779 enableval
="$enable_sound"
5781 if test "$enableval" = yes; then
5782 ac_cv_use_sound
='wxUSE_SOUND=yes'
5784 ac_cv_use_sound
='wxUSE_SOUND=no'
5789 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x
; then
5791 eval "DEFAULT_$LINE"
5796 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5800 eval "$ac_cv_use_sound"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5805 if test "$wxUSE_SOUND" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5818 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5819 if test "${enable_mediactrl+set}" = set; then
5820 enableval
="$enable_mediactrl"
5822 if test "$enableval" = yes; then
5823 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
5825 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
5830 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x
; then
5832 eval "DEFAULT_$LINE"
5837 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5841 eval "$ac_cv_use_mediactrl"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5846 if test "$wxUSE_MEDIACTRL" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5859 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5860 if test "${enable_wxprintfv+set}" = set; then
5861 enableval
="$enable_wxprintfv"
5863 if test "$enableval" = yes; then
5864 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5866 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5871 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x
; then
5873 eval "DEFAULT_$LINE"
5878 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5882 eval "$ac_cv_use_wxprintfv"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5887 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5900 # Check whether --enable-zipstream or --disable-zipstream was given.
5901 if test "${enable_zipstream+set}" = set; then
5902 enableval
="$enable_zipstream"
5904 if test "$enableval" = yes; then
5905 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5907 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5912 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x
; then
5914 eval "DEFAULT_$LINE"
5919 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5923 eval "$ac_cv_use_zipstream"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5928 if test "$wxUSE_ZIPSTREAM" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5942 # Check whether --enable-url or --disable-url was given.
5943 if test "${enable_url+set}" = set; then
5944 enableval
="$enable_url"
5946 if test "$enableval" = yes; then
5947 ac_cv_use_url
='wxUSE_URL=yes'
5949 ac_cv_use_url
='wxUSE_URL=no'
5954 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5955 if test "x$LINE" != x
; then
5956 eval "DEFAULT_$LINE"
5961 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5965 eval "$ac_cv_use_url"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5970 if test "$wxUSE_URL" = yes; then
5971 echo "$as_me:$LINENO: result: yes" >&5
5972 echo "${ECHO_T}yes" >&6
5974 echo "$as_me:$LINENO: result: no" >&5
5975 echo "${ECHO_T}no" >&6
5980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5983 # Check whether --enable-protocol or --disable-protocol was given.
5984 if test "${enable_protocol+set}" = set; then
5985 enableval
="$enable_protocol"
5987 if test "$enableval" = yes; then
5988 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5990 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5995 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5996 if test "x$LINE" != x
; then
5997 eval "DEFAULT_$LINE"
6002 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6006 eval "$ac_cv_use_protocol"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6011 if test "$wxUSE_PROTOCOL" = yes; then
6012 echo "$as_me:$LINENO: result: yes" >&5
6013 echo "${ECHO_T}yes" >&6
6015 echo "$as_me:$LINENO: result: no" >&5
6016 echo "${ECHO_T}no" >&6
6021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6024 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6025 if test "${enable_protocol_http+set}" = set; then
6026 enableval
="$enable_protocol_http"
6028 if test "$enableval" = yes; then
6029 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6031 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6036 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6037 if test "x$LINE" != x
; then
6038 eval "DEFAULT_$LINE"
6043 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6047 eval "$ac_cv_use_protocol_http"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6052 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6053 echo "$as_me:$LINENO: result: yes" >&5
6054 echo "${ECHO_T}yes" >&6
6056 echo "$as_me:$LINENO: result: no" >&5
6057 echo "${ECHO_T}no" >&6
6062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6065 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6066 if test "${enable_protocol_ftp+set}" = set; then
6067 enableval
="$enable_protocol_ftp"
6069 if test "$enableval" = yes; then
6070 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6072 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6077 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x
; then
6079 eval "DEFAULT_$LINE"
6084 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6088 eval "$ac_cv_use_protocol_ftp"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6093 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6094 echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6
6097 echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6
6103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6106 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6107 if test "${enable_protocol_file+set}" = set; then
6108 enableval
="$enable_protocol_file"
6110 if test "$enableval" = yes; then
6111 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6113 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6118 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x
; then
6120 eval "DEFAULT_$LINE"
6125 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6129 eval "$ac_cv_use_protocol_file"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6134 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6135 echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6
6138 echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6
6147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6148 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6150 # Check whether --enable-threads or --disable-threads was given.
6151 if test "${enable_threads+set}" = set; then
6152 enableval
="$enable_threads"
6154 if test "$enableval" = yes; then
6155 ac_cv_use_threads
='wxUSE_THREADS=yes'
6157 ac_cv_use_threads
='wxUSE_THREADS=no'
6162 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x
; then
6164 eval "DEFAULT_$LINE"
6169 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6173 eval "$ac_cv_use_threads"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6178 if test "$wxUSE_THREADS" = yes; then
6179 echo "$as_me:$LINENO: result: yes" >&5
6180 echo "${ECHO_T}yes" >&6
6182 echo "$as_me:$LINENO: result: no" >&5
6183 echo "${ECHO_T}no" >&6
6187 if test "$wxUSE_GUI" = "yes"; then
6192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6193 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6195 # Check whether --enable-docview or --disable-docview was given.
6196 if test "${enable_docview+set}" = set; then
6197 enableval
="$enable_docview"
6199 if test "$enableval" = yes; then
6200 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6202 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6207 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6208 if test "x$LINE" != x
; then
6209 eval "DEFAULT_$LINE"
6214 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6218 eval "$ac_cv_use_docview"
6219 if test "$no_cache" != 1; then
6220 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6223 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6224 echo "$as_me:$LINENO: result: yes" >&5
6225 echo "${ECHO_T}yes" >&6
6227 echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6
6233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6234 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6236 # Check whether --enable-help or --disable-help was given.
6237 if test "${enable_help+set}" = set; then
6238 enableval
="$enable_help"
6240 if test "$enableval" = yes; then
6241 ac_cv_use_help
='wxUSE_HELP=yes'
6243 ac_cv_use_help
='wxUSE_HELP=no'
6248 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6249 if test "x$LINE" != x
; then
6250 eval "DEFAULT_$LINE"
6255 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6259 eval "$ac_cv_use_help"
6260 if test "$no_cache" != 1; then
6261 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6264 if test "$wxUSE_HELP" = yes; then
6265 echo "$as_me:$LINENO: result: yes" >&5
6266 echo "${ECHO_T}yes" >&6
6268 echo "$as_me:$LINENO: result: no" >&5
6269 echo "${ECHO_T}no" >&6
6274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6275 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6277 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6278 if test "${enable_mshtmlhelp+set}" = set; then
6279 enableval
="$enable_mshtmlhelp"
6281 if test "$enableval" = yes; then
6282 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6284 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6289 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6290 if test "x$LINE" != x
; then
6291 eval "DEFAULT_$LINE"
6296 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6300 eval "$ac_cv_use_mshtmlhelp"
6301 if test "$no_cache" != 1; then
6302 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6305 if test "$wxUSE_MS_HTML_HELP" = yes; then
6306 echo "$as_me:$LINENO: result: yes" >&5
6307 echo "${ECHO_T}yes" >&6
6309 echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6
6315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6316 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6318 # Check whether --enable-html or --disable-html was given.
6319 if test "${enable_html+set}" = set; then
6320 enableval
="$enable_html"
6322 if test "$enableval" = yes; then
6323 ac_cv_use_html
='wxUSE_HTML=yes'
6325 ac_cv_use_html
='wxUSE_HTML=no'
6330 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6331 if test "x$LINE" != x
; then
6332 eval "DEFAULT_$LINE"
6337 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6341 eval "$ac_cv_use_html"
6342 if test "$no_cache" != 1; then
6343 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6346 if test "$wxUSE_HTML" = yes; then
6347 echo "$as_me:$LINENO: result: yes" >&5
6348 echo "${ECHO_T}yes" >&6
6350 echo "$as_me:$LINENO: result: no" >&5
6351 echo "${ECHO_T}no" >&6
6356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6357 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6359 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6360 if test "${enable_htmlhelp+set}" = set; then
6361 enableval
="$enable_htmlhelp"
6363 if test "$enableval" = yes; then
6364 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6366 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6371 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6372 if test "x$LINE" != x
; then
6373 eval "DEFAULT_$LINE"
6378 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6382 eval "$ac_cv_use_htmlhelp"
6383 if test "$no_cache" != 1; then
6384 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6387 if test "$wxUSE_WXHTML_HELP" = yes; then
6388 echo "$as_me:$LINENO: result: yes" >&5
6389 echo "${ECHO_T}yes" >&6
6391 echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6
6397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6398 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6400 # Check whether --enable-xrc or --disable-xrc was given.
6401 if test "${enable_xrc+set}" = set; then
6402 enableval
="$enable_xrc"
6404 if test "$enableval" = yes; then
6405 ac_cv_use_xrc
='wxUSE_XRC=yes'
6407 ac_cv_use_xrc
='wxUSE_XRC=no'
6412 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6413 if test "x$LINE" != x
; then
6414 eval "DEFAULT_$LINE"
6419 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6423 eval "$ac_cv_use_xrc"
6424 if test "$no_cache" != 1; then
6425 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6428 if test "$wxUSE_XRC" = yes; then
6429 echo "$as_me:$LINENO: result: yes" >&5
6430 echo "${ECHO_T}yes" >&6
6432 echo "$as_me:$LINENO: result: no" >&5
6433 echo "${ECHO_T}no" >&6
6438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6439 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6441 # Check whether --enable-constraints or --disable-constraints was given.
6442 if test "${enable_constraints+set}" = set; then
6443 enableval
="$enable_constraints"
6445 if test "$enableval" = yes; then
6446 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6448 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6453 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6454 if test "x$LINE" != x
; then
6455 eval "DEFAULT_$LINE"
6460 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6464 eval "$ac_cv_use_constraints"
6465 if test "$no_cache" != 1; then
6466 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6469 if test "$wxUSE_CONSTRAINTS" = yes; then
6470 echo "$as_me:$LINENO: result: yes" >&5
6471 echo "${ECHO_T}yes" >&6
6473 echo "$as_me:$LINENO: result: no" >&5
6474 echo "${ECHO_T}no" >&6
6479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6480 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6482 # Check whether --enable-printarch or --disable-printarch was given.
6483 if test "${enable_printarch+set}" = set; then
6484 enableval
="$enable_printarch"
6486 if test "$enableval" = yes; then
6487 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6489 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6494 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6495 if test "x$LINE" != x
; then
6496 eval "DEFAULT_$LINE"
6501 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6505 eval "$ac_cv_use_printarch"
6506 if test "$no_cache" != 1; then
6507 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6510 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6511 echo "$as_me:$LINENO: result: yes" >&5
6512 echo "${ECHO_T}yes" >&6
6514 echo "$as_me:$LINENO: result: no" >&5
6515 echo "${ECHO_T}no" >&6
6520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6521 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6523 # Check whether --enable-mdi or --disable-mdi was given.
6524 if test "${enable_mdi+set}" = set; then
6525 enableval
="$enable_mdi"
6527 if test "$enableval" = yes; then
6528 ac_cv_use_mdi
='wxUSE_MDI=yes'
6530 ac_cv_use_mdi
='wxUSE_MDI=no'
6535 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6536 if test "x$LINE" != x
; then
6537 eval "DEFAULT_$LINE"
6542 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6546 eval "$ac_cv_use_mdi"
6547 if test "$no_cache" != 1; then
6548 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6551 if test "$wxUSE_MDI" = yes; then
6552 echo "$as_me:$LINENO: result: yes" >&5
6553 echo "${ECHO_T}yes" >&6
6555 echo "$as_me:$LINENO: result: no" >&5
6556 echo "${ECHO_T}no" >&6
6561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6562 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6564 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6565 if test "${enable_mdidoc+set}" = set; then
6566 enableval
="$enable_mdidoc"
6568 if test "$enableval" = yes; then
6569 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6571 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6576 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6577 if test "x$LINE" != x
; then
6578 eval "DEFAULT_$LINE"
6583 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6587 eval "$ac_cv_use_mdidoc"
6588 if test "$no_cache" != 1; then
6589 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6592 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6593 echo "$as_me:$LINENO: result: yes" >&5
6594 echo "${ECHO_T}yes" >&6
6596 echo "$as_me:$LINENO: result: no" >&5
6597 echo "${ECHO_T}no" >&6
6602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6603 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6605 # Check whether --enable-loggui or --disable-loggui was given.
6606 if test "${enable_loggui+set}" = set; then
6607 enableval
="$enable_loggui"
6609 if test "$enableval" = yes; then
6610 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6612 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6617 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6618 if test "x$LINE" != x
; then
6619 eval "DEFAULT_$LINE"
6624 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6628 eval "$ac_cv_use_loggui"
6629 if test "$no_cache" != 1; then
6630 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6633 if test "$wxUSE_LOGGUI" = yes; then
6634 echo "$as_me:$LINENO: result: yes" >&5
6635 echo "${ECHO_T}yes" >&6
6637 echo "$as_me:$LINENO: result: no" >&5
6638 echo "${ECHO_T}no" >&6
6643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6644 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6646 # Check whether --enable-logwin or --disable-logwin was given.
6647 if test "${enable_logwin+set}" = set; then
6648 enableval
="$enable_logwin"
6650 if test "$enableval" = yes; then
6651 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6653 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6658 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6659 if test "x$LINE" != x
; then
6660 eval "DEFAULT_$LINE"
6665 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6669 eval "$ac_cv_use_logwin"
6670 if test "$no_cache" != 1; then
6671 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6674 if test "$wxUSE_LOGWINDOW" = yes; then
6675 echo "$as_me:$LINENO: result: yes" >&5
6676 echo "${ECHO_T}yes" >&6
6678 echo "$as_me:$LINENO: result: no" >&5
6679 echo "${ECHO_T}no" >&6
6684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6687 # Check whether --enable-logdialog or --disable-logdialog was given.
6688 if test "${enable_logdialog+set}" = set; then
6689 enableval
="$enable_logdialog"
6691 if test "$enableval" = yes; then
6692 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6694 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6699 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x
; then
6701 eval "DEFAULT_$LINE"
6706 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6710 eval "$ac_cv_use_logdialog"
6711 if test "$no_cache" != 1; then
6712 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6715 if test "$wxUSE_LOGDIALOG" = yes; then
6716 echo "$as_me:$LINENO: result: yes" >&5
6717 echo "${ECHO_T}yes" >&6
6719 echo "$as_me:$LINENO: result: no" >&5
6720 echo "${ECHO_T}no" >&6
6725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6726 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6728 # Check whether --enable-webkit or --disable-webkit was given.
6729 if test "${enable_webkit+set}" = set; then
6730 enableval
="$enable_webkit"
6732 if test "$enableval" = yes; then
6733 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6735 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6740 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6741 if test "x$LINE" != x
; then
6742 eval "DEFAULT_$LINE"
6747 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6751 eval "$ac_cv_use_webkit"
6752 if test "$no_cache" != 1; then
6753 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6756 if test "$wxUSE_WEBKIT" = yes; then
6757 echo "$as_me:$LINENO: result: yes" >&5
6758 echo "${ECHO_T}yes" >&6
6760 echo "$as_me:$LINENO: result: no" >&5
6761 echo "${ECHO_T}no" >&6
6767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6768 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6770 # Check whether --enable-postscript or --disable-postscript was given.
6771 if test "${enable_postscript+set}" = set; then
6772 enableval
="$enable_postscript"
6774 if test "$enableval" = yes; then
6775 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6777 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6782 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x
; then
6784 eval "DEFAULT_$LINE"
6789 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6793 eval "$ac_cv_use_postscript"
6794 if test "$no_cache" != 1; then
6795 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6798 if test "$wxUSE_POSTSCRIPT" = yes; then
6799 echo "$as_me:$LINENO: result: yes" >&5
6800 echo "${ECHO_T}yes" >&6
6802 echo "$as_me:$LINENO: result: no" >&5
6803 echo "${ECHO_T}no" >&6
6811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6812 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6814 # Check whether --enable-prologio or --disable-prologio was given.
6815 if test "${enable_prologio+set}" = set; then
6816 enableval
="$enable_prologio"
6818 if test "$enableval" = yes; then
6819 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6821 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6826 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x
; then
6828 eval "DEFAULT_$LINE"
6833 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6837 eval "$ac_cv_use_prologio"
6838 if test "$no_cache" != 1; then
6839 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6842 if test "$wxUSE_PROLOGIO" = yes; then
6843 echo "$as_me:$LINENO: result: yes" >&5
6844 echo "${ECHO_T}yes" >&6
6846 echo "$as_me:$LINENO: result: no" >&5
6847 echo "${ECHO_T}no" >&6
6852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6853 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6855 # Check whether --enable-resources or --disable-resources was given.
6856 if test "${enable_resources+set}" = set; then
6857 enableval
="$enable_resources"
6859 if test "$enableval" = yes; then
6860 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6862 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6867 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6868 if test "x$LINE" != x
; then
6869 eval "DEFAULT_$LINE"
6874 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6878 eval "$ac_cv_use_resources"
6879 if test "$no_cache" != 1; then
6880 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6883 if test "$wxUSE_RESOURCES" = yes; then
6884 echo "$as_me:$LINENO: result: yes" >&5
6885 echo "${ECHO_T}yes" >&6
6887 echo "$as_me:$LINENO: result: no" >&5
6888 echo "${ECHO_T}no" >&6
6895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6898 # Check whether --enable-clipboard or --disable-clipboard was given.
6899 if test "${enable_clipboard+set}" = set; then
6900 enableval
="$enable_clipboard"
6902 if test "$enableval" = yes; then
6903 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6905 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6910 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6911 if test "x$LINE" != x
; then
6912 eval "DEFAULT_$LINE"
6917 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6921 eval "$ac_cv_use_clipboard"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6926 if test "$wxUSE_CLIPBOARD" = yes; then
6927 echo "$as_me:$LINENO: result: yes" >&5
6928 echo "${ECHO_T}yes" >&6
6930 echo "$as_me:$LINENO: result: no" >&5
6931 echo "${ECHO_T}no" >&6
6936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6939 # Check whether --enable-dnd or --disable-dnd was given.
6940 if test "${enable_dnd+set}" = set; then
6941 enableval
="$enable_dnd"
6943 if test "$enableval" = yes; then
6944 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6946 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6951 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6952 if test "x$LINE" != x
; then
6953 eval "DEFAULT_$LINE"
6958 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6962 eval "$ac_cv_use_dnd"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6967 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6968 echo "$as_me:$LINENO: result: yes" >&5
6969 echo "${ECHO_T}yes" >&6
6971 echo "$as_me:$LINENO: result: no" >&5
6972 echo "${ECHO_T}no" >&6
6977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6980 # Check whether --enable-metafile or --disable-metafile was given.
6981 if test "${enable_metafile+set}" = set; then
6982 enableval
="$enable_metafile"
6984 if test "$enableval" = yes; then
6985 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6987 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6992 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6993 if test "x$LINE" != x
; then
6994 eval "DEFAULT_$LINE"
6999 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7003 eval "$ac_cv_use_metafile"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7008 if test "$wxUSE_METAFILE" = yes; then
7009 echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6
7012 echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7024 # Check whether --enable-controls or --disable-controls was given.
7025 if test "${enable_controls+set}" = set; then
7026 enableval
="$enable_controls"
7028 if test "$enableval" = yes; then
7029 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7031 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7036 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x
; then
7038 eval "DEFAULT_$LINE"
7043 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7047 eval "$ac_cv_use_controls"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_CONTROLS" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7061 if test "$wxUSE_CONTROLS" = "yes"; then
7062 DEFAULT_wxUSE_ACCEL
=yes
7063 DEFAULT_wxUSE_BMPBUTTON
=yes
7064 DEFAULT_wxUSE_BUTTON
=yes
7065 DEFAULT_wxUSE_CALCTRL
=no
7066 DEFAULT_wxUSE_CARET
=yes
7067 DEFAULT_wxUSE_COMBOBOX
=yes
7068 DEFAULT_wxUSE_CHECKBOX
=yes
7069 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7070 DEFAULT_wxUSE_CHOICE
=yes
7071 DEFAULT_wxUSE_CHOICEBOOK
=yes
7072 DEFAULT_wxUSE_GAUGE
=yes
7073 DEFAULT_wxUSE_GRID
=yes
7074 DEFAULT_wxUSE_IMAGLIST
=yes
7075 DEFAULT_wxUSE_LISTBOOK
=yes
7076 DEFAULT_wxUSE_LISTBOX
=yes
7077 DEFAULT_wxUSE_LISTCTRL
=yes
7078 DEFAULT_wxUSE_NOTEBOOK
=yes
7079 DEFAULT_wxUSE_RADIOBOX
=yes
7080 DEFAULT_wxUSE_RADIOBTN
=yes
7081 DEFAULT_wxUSE_SASH
=yes
7082 DEFAULT_wxUSE_SCROLLBAR
=yes
7083 DEFAULT_wxUSE_SLIDER
=yes
7084 DEFAULT_wxUSE_SPINBTN
=yes
7085 DEFAULT_wxUSE_SPINCTRL
=yes
7086 DEFAULT_wxUSE_SPLITTER
=yes
7087 DEFAULT_wxUSE_STATBMP
=yes
7088 DEFAULT_wxUSE_STATBOX
=yes
7089 DEFAULT_wxUSE_STATLINE
=yes
7090 DEFAULT_wxUSE_STATUSBAR
=yes
7091 DEFAULT_wxUSE_TAB_DIALOG
=yes
7092 DEFAULT_wxUSE_TOGGLEBTN
=yes
7093 DEFAULT_wxUSE_TOOLBAR
=yes
7094 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7095 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7096 DEFAULT_wxUSE_TOOLTIPS
=yes
7097 DEFAULT_wxUSE_TREECTRL
=yes
7098 DEFAULT_wxUSE_POPUPWIN
=yes
7099 DEFAULT_wxUSE_TIPWINDOW
=yes
7100 elif test "$wxUSE_CONTROLS" = "no"; then
7101 DEFAULT_wxUSE_ACCEL
=no
7102 DEFAULT_wxUSE_BMPBUTTON
=no
7103 DEFAULT_wxUSE_BUTTON
=no
7104 DEFAULT_wxUSE_CALCTRL
=no
7105 DEFAULT_wxUSE_CARET
=no
7106 DEFAULT_wxUSE_COMBOBOX
=no
7107 DEFAULT_wxUSE_CHECKBOX
=no
7108 DEFAULT_wxUSE_CHECKLISTBOX
=no
7109 DEFAULT_wxUSE_CHOICE
=no
7110 DEFAULT_wxUSE_CHOICEBOOK
=no
7111 DEFAULT_wxUSE_GAUGE
=no
7112 DEFAULT_wxUSE_GRID
=no
7113 DEFAULT_wxUSE_IMAGLIST
=no
7114 DEFAULT_wxUSE_LISTBOOK
=no
7115 DEFAULT_wxUSE_LISTBOX
=no
7116 DEFAULT_wxUSE_LISTCTRL
=no
7117 DEFAULT_wxUSE_NOTEBOOK
=no
7118 DEFAULT_wxUSE_RADIOBOX
=no
7119 DEFAULT_wxUSE_RADIOBTN
=no
7120 DEFAULT_wxUSE_SASH
=no
7121 DEFAULT_wxUSE_SCROLLBAR
=no
7122 DEFAULT_wxUSE_SLIDER
=no
7123 DEFAULT_wxUSE_SPINBTN
=no
7124 DEFAULT_wxUSE_SPINCTRL
=no
7125 DEFAULT_wxUSE_SPLITTER
=no
7126 DEFAULT_wxUSE_STATBMP
=no
7127 DEFAULT_wxUSE_STATBOX
=no
7128 DEFAULT_wxUSE_STATLINE
=no
7129 DEFAULT_wxUSE_STATUSBAR
=no
7130 DEFAULT_wxUSE_TAB_DIALOG
=no
7131 DEFAULT_wxUSE_TOGGLEBTN
=no
7132 DEFAULT_wxUSE_TOOLBAR
=no
7133 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7134 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7135 DEFAULT_wxUSE_TOOLTIPS
=no
7136 DEFAULT_wxUSE_TREECTRL
=no
7137 DEFAULT_wxUSE_POPUPWIN
=no
7138 DEFAULT_wxUSE_TIPWINDOW
=no
7143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7144 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7146 # Check whether --enable-accel or --disable-accel was given.
7147 if test "${enable_accel+set}" = set; then
7148 enableval
="$enable_accel"
7150 if test "$enableval" = yes; then
7151 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7153 ac_cv_use_accel
='wxUSE_ACCEL=no'
7158 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7159 if test "x$LINE" != x
; then
7160 eval "DEFAULT_$LINE"
7165 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7169 eval "$ac_cv_use_accel"
7170 if test "$no_cache" != 1; then
7171 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7174 if test "$wxUSE_ACCEL" = yes; then
7175 echo "$as_me:$LINENO: result: yes" >&5
7176 echo "${ECHO_T}yes" >&6
7178 echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6
7184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7185 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7187 # Check whether --enable-button or --disable-button was given.
7188 if test "${enable_button+set}" = set; then
7189 enableval
="$enable_button"
7191 if test "$enableval" = yes; then
7192 ac_cv_use_button
='wxUSE_BUTTON=yes'
7194 ac_cv_use_button
='wxUSE_BUTTON=no'
7199 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x
; then
7201 eval "DEFAULT_$LINE"
7206 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7210 eval "$ac_cv_use_button"
7211 if test "$no_cache" != 1; then
7212 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7215 if test "$wxUSE_BUTTON" = yes; then
7216 echo "$as_me:$LINENO: result: yes" >&5
7217 echo "${ECHO_T}yes" >&6
7219 echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6
7225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7228 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7229 if test "${enable_bmpbutton+set}" = set; then
7230 enableval
="$enable_bmpbutton"
7232 if test "$enableval" = yes; then
7233 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7235 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7240 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x
; then
7242 eval "DEFAULT_$LINE"
7247 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7251 eval "$ac_cv_use_bmpbutton"
7252 if test "$no_cache" != 1; then
7253 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7256 if test "$wxUSE_BMPBUTTON" = yes; then
7257 echo "$as_me:$LINENO: result: yes" >&5
7258 echo "${ECHO_T}yes" >&6
7260 echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6
7266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7267 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7269 # Check whether --enable-calendar or --disable-calendar was given.
7270 if test "${enable_calendar+set}" = set; then
7271 enableval
="$enable_calendar"
7273 if test "$enableval" = yes; then
7274 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7276 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7281 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x
; then
7283 eval "DEFAULT_$LINE"
7288 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7292 eval "$ac_cv_use_calendar"
7293 if test "$no_cache" != 1; then
7294 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7297 if test "$wxUSE_CALCTRL" = yes; then
7298 echo "$as_me:$LINENO: result: yes" >&5
7299 echo "${ECHO_T}yes" >&6
7301 echo "$as_me:$LINENO: result: no" >&5
7302 echo "${ECHO_T}no" >&6
7307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7310 # Check whether --enable-caret or --disable-caret was given.
7311 if test "${enable_caret+set}" = set; then
7312 enableval
="$enable_caret"
7314 if test "$enableval" = yes; then
7315 ac_cv_use_caret
='wxUSE_CARET=yes'
7317 ac_cv_use_caret
='wxUSE_CARET=no'
7322 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7323 if test "x$LINE" != x
; then
7324 eval "DEFAULT_$LINE"
7329 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7333 eval "$ac_cv_use_caret"
7334 if test "$no_cache" != 1; then
7335 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7338 if test "$wxUSE_CARET" = yes; then
7339 echo "$as_me:$LINENO: result: yes" >&5
7340 echo "${ECHO_T}yes" >&6
7342 echo "$as_me:$LINENO: result: no" >&5
7343 echo "${ECHO_T}no" >&6
7348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7349 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7351 # Check whether --enable-checkbox or --disable-checkbox was given.
7352 if test "${enable_checkbox+set}" = set; then
7353 enableval
="$enable_checkbox"
7355 if test "$enableval" = yes; then
7356 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7358 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7363 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x
; then
7365 eval "DEFAULT_$LINE"
7370 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7374 eval "$ac_cv_use_checkbox"
7375 if test "$no_cache" != 1; then
7376 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7379 if test "$wxUSE_CHECKBOX" = yes; then
7380 echo "$as_me:$LINENO: result: yes" >&5
7381 echo "${ECHO_T}yes" >&6
7383 echo "$as_me:$LINENO: result: no" >&5
7384 echo "${ECHO_T}no" >&6
7389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7392 # Check whether --enable-checklst or --disable-checklst was given.
7393 if test "${enable_checklst+set}" = set; then
7394 enableval
="$enable_checklst"
7396 if test "$enableval" = yes; then
7397 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7399 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7404 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7405 if test "x$LINE" != x
; then
7406 eval "DEFAULT_$LINE"
7411 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7415 eval "$ac_cv_use_checklst"
7416 if test "$no_cache" != 1; then
7417 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7420 if test "$wxUSE_CHECKLST" = yes; then
7421 echo "$as_me:$LINENO: result: yes" >&5
7422 echo "${ECHO_T}yes" >&6
7424 echo "$as_me:$LINENO: result: no" >&5
7425 echo "${ECHO_T}no" >&6
7430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7431 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7433 # Check whether --enable-choice or --disable-choice was given.
7434 if test "${enable_choice+set}" = set; then
7435 enableval
="$enable_choice"
7437 if test "$enableval" = yes; then
7438 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7440 ac_cv_use_choice
='wxUSE_CHOICE=no'
7445 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7446 if test "x$LINE" != x
; then
7447 eval "DEFAULT_$LINE"
7452 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7456 eval "$ac_cv_use_choice"
7457 if test "$no_cache" != 1; then
7458 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7461 if test "$wxUSE_CHOICE" = yes; then
7462 echo "$as_me:$LINENO: result: yes" >&5
7463 echo "${ECHO_T}yes" >&6
7465 echo "$as_me:$LINENO: result: no" >&5
7466 echo "${ECHO_T}no" >&6
7471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7472 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7474 # Check whether --enable-choicebook or --disable-choicebook was given.
7475 if test "${enable_choicebook+set}" = set; then
7476 enableval
="$enable_choicebook"
7478 if test "$enableval" = yes; then
7479 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7481 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7486 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x
; then
7488 eval "DEFAULT_$LINE"
7493 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7497 eval "$ac_cv_use_choicebook"
7498 if test "$no_cache" != 1; then
7499 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7502 if test "$wxUSE_CHOICEBOOK" = yes; then
7503 echo "$as_me:$LINENO: result: yes" >&5
7504 echo "${ECHO_T}yes" >&6
7506 echo "$as_me:$LINENO: result: no" >&5
7507 echo "${ECHO_T}no" >&6
7512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7513 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7515 # Check whether --enable-combobox or --disable-combobox was given.
7516 if test "${enable_combobox+set}" = set; then
7517 enableval
="$enable_combobox"
7519 if test "$enableval" = yes; then
7520 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7522 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7527 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7528 if test "x$LINE" != x
; then
7529 eval "DEFAULT_$LINE"
7534 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7538 eval "$ac_cv_use_combobox"
7539 if test "$no_cache" != 1; then
7540 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7543 if test "$wxUSE_COMBOBOX" = yes; then
7544 echo "$as_me:$LINENO: result: yes" >&5
7545 echo "${ECHO_T}yes" >&6
7547 echo "$as_me:$LINENO: result: no" >&5
7548 echo "${ECHO_T}no" >&6
7553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7554 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7556 # Check whether --enable-display or --disable-display was given.
7557 if test "${enable_display+set}" = set; then
7558 enableval
="$enable_display"
7560 if test "$enableval" = yes; then
7561 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7563 ac_cv_use_display
='wxUSE_DISPLAY=no'
7568 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7569 if test "x$LINE" != x
; then
7570 eval "DEFAULT_$LINE"
7575 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7579 eval "$ac_cv_use_display"
7580 if test "$no_cache" != 1; then
7581 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7584 if test "$wxUSE_DISPLAY" = yes; then
7585 echo "$as_me:$LINENO: result: yes" >&5
7586 echo "${ECHO_T}yes" >&6
7588 echo "$as_me:$LINENO: result: no" >&5
7589 echo "${ECHO_T}no" >&6
7594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7595 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7597 # Check whether --enable-gauge or --disable-gauge was given.
7598 if test "${enable_gauge+set}" = set; then
7599 enableval
="$enable_gauge"
7601 if test "$enableval" = yes; then
7602 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7604 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7609 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7610 if test "x$LINE" != x
; then
7611 eval "DEFAULT_$LINE"
7616 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7620 eval "$ac_cv_use_gauge"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7625 if test "$wxUSE_GAUGE" = yes; then
7626 echo "$as_me:$LINENO: result: yes" >&5
7627 echo "${ECHO_T}yes" >&6
7629 echo "$as_me:$LINENO: result: no" >&5
7630 echo "${ECHO_T}no" >&6
7635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7638 # Check whether --enable-grid or --disable-grid was given.
7639 if test "${enable_grid+set}" = set; then
7640 enableval
="$enable_grid"
7642 if test "$enableval" = yes; then
7643 ac_cv_use_grid
='wxUSE_GRID=yes'
7645 ac_cv_use_grid
='wxUSE_GRID=no'
7650 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7651 if test "x$LINE" != x
; then
7652 eval "DEFAULT_$LINE"
7657 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7661 eval "$ac_cv_use_grid"
7662 if test "$no_cache" != 1; then
7663 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7666 if test "$wxUSE_GRID" = yes; then
7667 echo "$as_me:$LINENO: result: yes" >&5
7668 echo "${ECHO_T}yes" >&6
7670 echo "$as_me:$LINENO: result: no" >&5
7671 echo "${ECHO_T}no" >&6
7676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7677 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7679 # Check whether --enable-imaglist or --disable-imaglist was given.
7680 if test "${enable_imaglist+set}" = set; then
7681 enableval
="$enable_imaglist"
7683 if test "$enableval" = yes; then
7684 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7686 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7691 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7692 if test "x$LINE" != x
; then
7693 eval "DEFAULT_$LINE"
7698 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7702 eval "$ac_cv_use_imaglist"
7703 if test "$no_cache" != 1; then
7704 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7707 if test "$wxUSE_IMAGLIST" = yes; then
7708 echo "$as_me:$LINENO: result: yes" >&5
7709 echo "${ECHO_T}yes" >&6
7711 echo "$as_me:$LINENO: result: no" >&5
7712 echo "${ECHO_T}no" >&6
7717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7718 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7720 # Check whether --enable-listbook or --disable-listbook was given.
7721 if test "${enable_listbook+set}" = set; then
7722 enableval
="$enable_listbook"
7724 if test "$enableval" = yes; then
7725 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7727 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7732 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7733 if test "x$LINE" != x
; then
7734 eval "DEFAULT_$LINE"
7739 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7743 eval "$ac_cv_use_listbook"
7744 if test "$no_cache" != 1; then
7745 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7748 if test "$wxUSE_LISTBOOK" = yes; then
7749 echo "$as_me:$LINENO: result: yes" >&5
7750 echo "${ECHO_T}yes" >&6
7752 echo "$as_me:$LINENO: result: no" >&5
7753 echo "${ECHO_T}no" >&6
7758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7759 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7761 # Check whether --enable-listbox or --disable-listbox was given.
7762 if test "${enable_listbox+set}" = set; then
7763 enableval
="$enable_listbox"
7765 if test "$enableval" = yes; then
7766 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7768 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7773 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x
; then
7775 eval "DEFAULT_$LINE"
7780 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7784 eval "$ac_cv_use_listbox"
7785 if test "$no_cache" != 1; then
7786 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7789 if test "$wxUSE_LISTBOX" = yes; then
7790 echo "$as_me:$LINENO: result: yes" >&5
7791 echo "${ECHO_T}yes" >&6
7793 echo "$as_me:$LINENO: result: no" >&5
7794 echo "${ECHO_T}no" >&6
7799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7800 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7802 # Check whether --enable-listctrl or --disable-listctrl was given.
7803 if test "${enable_listctrl+set}" = set; then
7804 enableval
="$enable_listctrl"
7806 if test "$enableval" = yes; then
7807 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7809 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7814 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7815 if test "x$LINE" != x
; then
7816 eval "DEFAULT_$LINE"
7821 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7825 eval "$ac_cv_use_listctrl"
7826 if test "$no_cache" != 1; then
7827 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7830 if test "$wxUSE_LISTCTRL" = yes; then
7831 echo "$as_me:$LINENO: result: yes" >&5
7832 echo "${ECHO_T}yes" >&6
7834 echo "$as_me:$LINENO: result: no" >&5
7835 echo "${ECHO_T}no" >&6
7840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7841 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7843 # Check whether --enable-notebook or --disable-notebook was given.
7844 if test "${enable_notebook+set}" = set; then
7845 enableval
="$enable_notebook"
7847 if test "$enableval" = yes; then
7848 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7850 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7855 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7856 if test "x$LINE" != x
; then
7857 eval "DEFAULT_$LINE"
7862 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7866 eval "$ac_cv_use_notebook"
7867 if test "$no_cache" != 1; then
7868 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7871 if test "$wxUSE_NOTEBOOK" = yes; then
7872 echo "$as_me:$LINENO: result: yes" >&5
7873 echo "${ECHO_T}yes" >&6
7875 echo "$as_me:$LINENO: result: no" >&5
7876 echo "${ECHO_T}no" >&6
7881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7882 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7884 # Check whether --enable-radiobox or --disable-radiobox was given.
7885 if test "${enable_radiobox+set}" = set; then
7886 enableval
="$enable_radiobox"
7888 if test "$enableval" = yes; then
7889 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7891 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7896 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7897 if test "x$LINE" != x
; then
7898 eval "DEFAULT_$LINE"
7903 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7907 eval "$ac_cv_use_radiobox"
7908 if test "$no_cache" != 1; then
7909 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7912 if test "$wxUSE_RADIOBOX" = yes; then
7913 echo "$as_me:$LINENO: result: yes" >&5
7914 echo "${ECHO_T}yes" >&6
7916 echo "$as_me:$LINENO: result: no" >&5
7917 echo "${ECHO_T}no" >&6
7922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7923 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7925 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7926 if test "${enable_radiobtn+set}" = set; then
7927 enableval
="$enable_radiobtn"
7929 if test "$enableval" = yes; then
7930 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7932 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7937 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7938 if test "x$LINE" != x
; then
7939 eval "DEFAULT_$LINE"
7944 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7948 eval "$ac_cv_use_radiobtn"
7949 if test "$no_cache" != 1; then
7950 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7953 if test "$wxUSE_RADIOBTN" = yes; then
7954 echo "$as_me:$LINENO: result: yes" >&5
7955 echo "${ECHO_T}yes" >&6
7957 echo "$as_me:$LINENO: result: no" >&5
7958 echo "${ECHO_T}no" >&6
7963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7966 # Check whether --enable-sash or --disable-sash was given.
7967 if test "${enable_sash+set}" = set; then
7968 enableval
="$enable_sash"
7970 if test "$enableval" = yes; then
7971 ac_cv_use_sash
='wxUSE_SASH=yes'
7973 ac_cv_use_sash
='wxUSE_SASH=no'
7978 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7979 if test "x$LINE" != x
; then
7980 eval "DEFAULT_$LINE"
7985 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7989 eval "$ac_cv_use_sash"
7990 if test "$no_cache" != 1; then
7991 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7994 if test "$wxUSE_SASH" = yes; then
7995 echo "$as_me:$LINENO: result: yes" >&5
7996 echo "${ECHO_T}yes" >&6
7998 echo "$as_me:$LINENO: result: no" >&5
7999 echo "${ECHO_T}no" >&6
8004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8007 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8008 if test "${enable_scrollbar+set}" = set; then
8009 enableval
="$enable_scrollbar"
8011 if test "$enableval" = yes; then
8012 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8014 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8019 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8020 if test "x$LINE" != x
; then
8021 eval "DEFAULT_$LINE"
8026 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8030 eval "$ac_cv_use_scrollbar"
8031 if test "$no_cache" != 1; then
8032 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8035 if test "$wxUSE_SCROLLBAR" = yes; then
8036 echo "$as_me:$LINENO: result: yes" >&5
8037 echo "${ECHO_T}yes" >&6
8039 echo "$as_me:$LINENO: result: no" >&5
8040 echo "${ECHO_T}no" >&6
8045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8048 # Check whether --enable-slider or --disable-slider was given.
8049 if test "${enable_slider+set}" = set; then
8050 enableval
="$enable_slider"
8052 if test "$enableval" = yes; then
8053 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8055 ac_cv_use_slider
='wxUSE_SLIDER=no'
8060 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8061 if test "x$LINE" != x
; then
8062 eval "DEFAULT_$LINE"
8067 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8071 eval "$ac_cv_use_slider"
8072 if test "$no_cache" != 1; then
8073 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8076 if test "$wxUSE_SLIDER" = yes; then
8077 echo "$as_me:$LINENO: result: yes" >&5
8078 echo "${ECHO_T}yes" >&6
8080 echo "$as_me:$LINENO: result: no" >&5
8081 echo "${ECHO_T}no" >&6
8086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8089 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8090 if test "${enable_spinbtn+set}" = set; then
8091 enableval
="$enable_spinbtn"
8093 if test "$enableval" = yes; then
8094 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8096 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8101 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8102 if test "x$LINE" != x
; then
8103 eval "DEFAULT_$LINE"
8108 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8112 eval "$ac_cv_use_spinbtn"
8113 if test "$no_cache" != 1; then
8114 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8117 if test "$wxUSE_SPINBTN" = yes; then
8118 echo "$as_me:$LINENO: result: yes" >&5
8119 echo "${ECHO_T}yes" >&6
8121 echo "$as_me:$LINENO: result: no" >&5
8122 echo "${ECHO_T}no" >&6
8127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8128 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8130 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8131 if test "${enable_spinctrl+set}" = set; then
8132 enableval
="$enable_spinctrl"
8134 if test "$enableval" = yes; then
8135 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8137 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8142 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8143 if test "x$LINE" != x
; then
8144 eval "DEFAULT_$LINE"
8149 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8153 eval "$ac_cv_use_spinctrl"
8154 if test "$no_cache" != 1; then
8155 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8158 if test "$wxUSE_SPINCTRL" = yes; then
8159 echo "$as_me:$LINENO: result: yes" >&5
8160 echo "${ECHO_T}yes" >&6
8162 echo "$as_me:$LINENO: result: no" >&5
8163 echo "${ECHO_T}no" >&6
8168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8171 # Check whether --enable-splitter or --disable-splitter was given.
8172 if test "${enable_splitter+set}" = set; then
8173 enableval
="$enable_splitter"
8175 if test "$enableval" = yes; then
8176 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8178 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8183 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8184 if test "x$LINE" != x
; then
8185 eval "DEFAULT_$LINE"
8190 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8194 eval "$ac_cv_use_splitter"
8195 if test "$no_cache" != 1; then
8196 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8199 if test "$wxUSE_SPLITTER" = yes; then
8200 echo "$as_me:$LINENO: result: yes" >&5
8201 echo "${ECHO_T}yes" >&6
8203 echo "$as_me:$LINENO: result: no" >&5
8204 echo "${ECHO_T}no" >&6
8209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8210 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8212 # Check whether --enable-statbmp or --disable-statbmp was given.
8213 if test "${enable_statbmp+set}" = set; then
8214 enableval
="$enable_statbmp"
8216 if test "$enableval" = yes; then
8217 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8219 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8224 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8225 if test "x$LINE" != x
; then
8226 eval "DEFAULT_$LINE"
8231 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8235 eval "$ac_cv_use_statbmp"
8236 if test "$no_cache" != 1; then
8237 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8240 if test "$wxUSE_STATBMP" = yes; then
8241 echo "$as_me:$LINENO: result: yes" >&5
8242 echo "${ECHO_T}yes" >&6
8244 echo "$as_me:$LINENO: result: no" >&5
8245 echo "${ECHO_T}no" >&6
8250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8251 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8253 # Check whether --enable-statbox or --disable-statbox was given.
8254 if test "${enable_statbox+set}" = set; then
8255 enableval
="$enable_statbox"
8257 if test "$enableval" = yes; then
8258 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8260 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8265 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x
; then
8267 eval "DEFAULT_$LINE"
8272 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8276 eval "$ac_cv_use_statbox"
8277 if test "$no_cache" != 1; then
8278 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8281 if test "$wxUSE_STATBOX" = yes; then
8282 echo "$as_me:$LINENO: result: yes" >&5
8283 echo "${ECHO_T}yes" >&6
8285 echo "$as_me:$LINENO: result: no" >&5
8286 echo "${ECHO_T}no" >&6
8291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8292 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8294 # Check whether --enable-statline or --disable-statline was given.
8295 if test "${enable_statline+set}" = set; then
8296 enableval
="$enable_statline"
8298 if test "$enableval" = yes; then
8299 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8301 ac_cv_use_statline
='wxUSE_STATLINE=no'
8306 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8307 if test "x$LINE" != x
; then
8308 eval "DEFAULT_$LINE"
8313 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8317 eval "$ac_cv_use_statline"
8318 if test "$no_cache" != 1; then
8319 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8322 if test "$wxUSE_STATLINE" = yes; then
8323 echo "$as_me:$LINENO: result: yes" >&5
8324 echo "${ECHO_T}yes" >&6
8326 echo "$as_me:$LINENO: result: no" >&5
8327 echo "${ECHO_T}no" >&6
8332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8335 # Check whether --enable-stattext or --disable-stattext was given.
8336 if test "${enable_stattext+set}" = set; then
8337 enableval
="$enable_stattext"
8339 if test "$enableval" = yes; then
8340 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8342 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8347 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8348 if test "x$LINE" != x
; then
8349 eval "DEFAULT_$LINE"
8354 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8358 eval "$ac_cv_use_stattext"
8359 if test "$no_cache" != 1; then
8360 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8363 if test "$wxUSE_STATTEXT" = yes; then
8364 echo "$as_me:$LINENO: result: yes" >&5
8365 echo "${ECHO_T}yes" >&6
8367 echo "$as_me:$LINENO: result: no" >&5
8368 echo "${ECHO_T}no" >&6
8373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8376 # Check whether --enable-statusbar or --disable-statusbar was given.
8377 if test "${enable_statusbar+set}" = set; then
8378 enableval
="$enable_statusbar"
8380 if test "$enableval" = yes; then
8381 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8383 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8388 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x
; then
8390 eval "DEFAULT_$LINE"
8395 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8399 eval "$ac_cv_use_statusbar"
8400 if test "$no_cache" != 1; then
8401 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8404 if test "$wxUSE_STATUSBAR" = yes; then
8405 echo "$as_me:$LINENO: result: yes" >&5
8406 echo "${ECHO_T}yes" >&6
8408 echo "$as_me:$LINENO: result: no" >&5
8409 echo "${ECHO_T}no" >&6
8414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8417 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8418 if test "${enable_tabdialog+set}" = set; then
8419 enableval
="$enable_tabdialog"
8421 if test "$enableval" = yes; then
8422 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8424 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8429 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8430 if test "x$LINE" != x
; then
8431 eval "DEFAULT_$LINE"
8436 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8440 eval "$ac_cv_use_tabdialog"
8441 if test "$no_cache" != 1; then
8442 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8445 if test "$wxUSE_TABDIALOG" = yes; then
8446 echo "$as_me:$LINENO: result: yes" >&5
8447 echo "${ECHO_T}yes" >&6
8449 echo "$as_me:$LINENO: result: no" >&5
8450 echo "${ECHO_T}no" >&6
8455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8456 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8458 # Check whether --enable-textctrl or --disable-textctrl was given.
8459 if test "${enable_textctrl+set}" = set; then
8460 enableval
="$enable_textctrl"
8462 if test "$enableval" = yes; then
8463 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8465 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8470 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x
; then
8472 eval "DEFAULT_$LINE"
8477 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8481 eval "$ac_cv_use_textctrl"
8482 if test "$no_cache" != 1; then
8483 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8486 if test "$wxUSE_TEXTCTRL" = yes; then
8487 echo "$as_me:$LINENO: result: yes" >&5
8488 echo "${ECHO_T}yes" >&6
8490 echo "$as_me:$LINENO: result: no" >&5
8491 echo "${ECHO_T}no" >&6
8496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8499 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8500 if test "${enable_togglebtn+set}" = set; then
8501 enableval
="$enable_togglebtn"
8503 if test "$enableval" = yes; then
8504 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8506 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8511 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8512 if test "x$LINE" != x
; then
8513 eval "DEFAULT_$LINE"
8518 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8522 eval "$ac_cv_use_togglebtn"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8527 if test "$wxUSE_TOGGLEBTN" = yes; then
8528 echo "$as_me:$LINENO: result: yes" >&5
8529 echo "${ECHO_T}yes" >&6
8531 echo "$as_me:$LINENO: result: no" >&5
8532 echo "${ECHO_T}no" >&6
8537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8538 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8540 # Check whether --enable-toolbar or --disable-toolbar was given.
8541 if test "${enable_toolbar+set}" = set; then
8542 enableval
="$enable_toolbar"
8544 if test "$enableval" = yes; then
8545 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8547 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8552 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8553 if test "x$LINE" != x
; then
8554 eval "DEFAULT_$LINE"
8559 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8563 eval "$ac_cv_use_toolbar"
8564 if test "$no_cache" != 1; then
8565 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8568 if test "$wxUSE_TOOLBAR" = yes; then
8569 echo "$as_me:$LINENO: result: yes" >&5
8570 echo "${ECHO_T}yes" >&6
8572 echo "$as_me:$LINENO: result: no" >&5
8573 echo "${ECHO_T}no" >&6
8578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8581 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8582 if test "${enable_tbarnative+set}" = set; then
8583 enableval
="$enable_tbarnative"
8585 if test "$enableval" = yes; then
8586 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8588 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8593 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8594 if test "x$LINE" != x
; then
8595 eval "DEFAULT_$LINE"
8600 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8604 eval "$ac_cv_use_tbarnative"
8605 if test "$no_cache" != 1; then
8606 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8609 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8610 echo "$as_me:$LINENO: result: yes" >&5
8611 echo "${ECHO_T}yes" >&6
8613 echo "$as_me:$LINENO: result: no" >&5
8614 echo "${ECHO_T}no" >&6
8619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8620 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8622 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8623 if test "${enable_tbarsmpl+set}" = set; then
8624 enableval
="$enable_tbarsmpl"
8626 if test "$enableval" = yes; then
8627 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8629 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8634 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x
; then
8636 eval "DEFAULT_$LINE"
8641 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8645 eval "$ac_cv_use_tbarsmpl"
8646 if test "$no_cache" != 1; then
8647 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8650 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8651 echo "$as_me:$LINENO: result: yes" >&5
8652 echo "${ECHO_T}yes" >&6
8654 echo "$as_me:$LINENO: result: no" >&5
8655 echo "${ECHO_T}no" >&6
8660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8661 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8663 # Check whether --enable-treectrl or --disable-treectrl was given.
8664 if test "${enable_treectrl+set}" = set; then
8665 enableval
="$enable_treectrl"
8667 if test "$enableval" = yes; then
8668 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8670 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8675 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8676 if test "x$LINE" != x
; then
8677 eval "DEFAULT_$LINE"
8682 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8686 eval "$ac_cv_use_treectrl"
8687 if test "$no_cache" != 1; then
8688 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8691 if test "$wxUSE_TREECTRL" = yes; then
8692 echo "$as_me:$LINENO: result: yes" >&5
8693 echo "${ECHO_T}yes" >&6
8695 echo "$as_me:$LINENO: result: no" >&5
8696 echo "${ECHO_T}no" >&6
8701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8702 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8704 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8705 if test "${enable_tipwindow+set}" = set; then
8706 enableval
="$enable_tipwindow"
8708 if test "$enableval" = yes; then
8709 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8711 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8716 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8717 if test "x$LINE" != x
; then
8718 eval "DEFAULT_$LINE"
8723 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8727 eval "$ac_cv_use_tipwindow"
8728 if test "$no_cache" != 1; then
8729 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8732 if test "$wxUSE_TIPWINDOW" = yes; then
8733 echo "$as_me:$LINENO: result: yes" >&5
8734 echo "${ECHO_T}yes" >&6
8736 echo "$as_me:$LINENO: result: no" >&5
8737 echo "${ECHO_T}no" >&6
8742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8743 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8745 # Check whether --enable-popupwin or --disable-popupwin was given.
8746 if test "${enable_popupwin+set}" = set; then
8747 enableval
="$enable_popupwin"
8749 if test "$enableval" = yes; then
8750 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8752 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8757 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8758 if test "x$LINE" != x
; then
8759 eval "DEFAULT_$LINE"
8764 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8768 eval "$ac_cv_use_popupwin"
8769 if test "$no_cache" != 1; then
8770 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8773 if test "$wxUSE_POPUPWIN" = yes; then
8774 echo "$as_me:$LINENO: result: yes" >&5
8775 echo "${ECHO_T}yes" >&6
8777 echo "$as_me:$LINENO: result: no" >&5
8778 echo "${ECHO_T}no" >&6
8785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8788 # Check whether --enable-commondlg or --disable-commondlg was given.
8789 if test "${enable_commondlg+set}" = set; then
8790 enableval
="$enable_commondlg"
8792 if test "$enableval" = yes; then
8793 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8795 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8800 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8801 if test "x$LINE" != x
; then
8802 eval "DEFAULT_$LINE"
8807 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8811 eval "$ac_cv_use_commondlg"
8812 if test "$no_cache" != 1; then
8813 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8816 if test "$wxUSE_COMMONDLGS" = yes; then
8817 echo "$as_me:$LINENO: result: yes" >&5
8818 echo "${ECHO_T}yes" >&6
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8827 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8829 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8830 if test "${enable_choicedlg+set}" = set; then
8831 enableval
="$enable_choicedlg"
8833 if test "$enableval" = yes; then
8834 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8836 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8841 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8842 if test "x$LINE" != x
; then
8843 eval "DEFAULT_$LINE"
8848 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8852 eval "$ac_cv_use_choicedlg"
8853 if test "$no_cache" != 1; then
8854 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8857 if test "$wxUSE_CHOICEDLG" = yes; then
8858 echo "$as_me:$LINENO: result: yes" >&5
8859 echo "${ECHO_T}yes" >&6
8861 echo "$as_me:$LINENO: result: no" >&5
8862 echo "${ECHO_T}no" >&6
8867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8870 # Check whether --enable-coldlg or --disable-coldlg was given.
8871 if test "${enable_coldlg+set}" = set; then
8872 enableval
="$enable_coldlg"
8874 if test "$enableval" = yes; then
8875 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8877 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8882 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8883 if test "x$LINE" != x
; then
8884 eval "DEFAULT_$LINE"
8889 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8893 eval "$ac_cv_use_coldlg"
8894 if test "$no_cache" != 1; then
8895 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8898 if test "$wxUSE_COLOURDLG" = yes; then
8899 echo "$as_me:$LINENO: result: yes" >&5
8900 echo "${ECHO_T}yes" >&6
8902 echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6
8908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8909 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8911 # Check whether --enable-filedlg or --disable-filedlg was given.
8912 if test "${enable_filedlg+set}" = set; then
8913 enableval
="$enable_filedlg"
8915 if test "$enableval" = yes; then
8916 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8918 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8923 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8924 if test "x$LINE" != x
; then
8925 eval "DEFAULT_$LINE"
8930 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8934 eval "$ac_cv_use_filedlg"
8935 if test "$no_cache" != 1; then
8936 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8939 if test "$wxUSE_FILEDLG" = yes; then
8940 echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6
8943 echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6
8949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8952 # Check whether --enable-finddlg or --disable-finddlg was given.
8953 if test "${enable_finddlg+set}" = set; then
8954 enableval
="$enable_finddlg"
8956 if test "$enableval" = yes; then
8957 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8959 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8964 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8965 if test "x$LINE" != x
; then
8966 eval "DEFAULT_$LINE"
8971 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8975 eval "$ac_cv_use_finddlg"
8976 if test "$no_cache" != 1; then
8977 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8980 if test "$wxUSE_FINDREPLDLG" = yes; then
8981 echo "$as_me:$LINENO: result: yes" >&5
8982 echo "${ECHO_T}yes" >&6
8984 echo "$as_me:$LINENO: result: no" >&5
8985 echo "${ECHO_T}no" >&6
8990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8993 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8994 if test "${enable_fontdlg+set}" = set; then
8995 enableval
="$enable_fontdlg"
8997 if test "$enableval" = yes; then
8998 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9000 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9005 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9006 if test "x$LINE" != x
; then
9007 eval "DEFAULT_$LINE"
9012 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9016 eval "$ac_cv_use_fontdlg"
9017 if test "$no_cache" != 1; then
9018 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9021 if test "$wxUSE_FONTDLG" = yes; then
9022 echo "$as_me:$LINENO: result: yes" >&5
9023 echo "${ECHO_T}yes" >&6
9025 echo "$as_me:$LINENO: result: no" >&5
9026 echo "${ECHO_T}no" >&6
9031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9034 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9035 if test "${enable_dirdlg+set}" = set; then
9036 enableval
="$enable_dirdlg"
9038 if test "$enableval" = yes; then
9039 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9041 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9046 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x
; then
9048 eval "DEFAULT_$LINE"
9053 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9057 eval "$ac_cv_use_dirdlg"
9058 if test "$no_cache" != 1; then
9059 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9062 if test "$wxUSE_DIRDLG" = yes; then
9063 echo "$as_me:$LINENO: result: yes" >&5
9064 echo "${ECHO_T}yes" >&6
9066 echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6
9072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9075 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9076 if test "${enable_msgdlg+set}" = set; then
9077 enableval
="$enable_msgdlg"
9079 if test "$enableval" = yes; then
9080 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9082 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9087 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9088 if test "x$LINE" != x
; then
9089 eval "DEFAULT_$LINE"
9094 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9098 eval "$ac_cv_use_msgdlg"
9099 if test "$no_cache" != 1; then
9100 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9103 if test "$wxUSE_MSGDLG" = yes; then
9104 echo "$as_me:$LINENO: result: yes" >&5
9105 echo "${ECHO_T}yes" >&6
9107 echo "$as_me:$LINENO: result: no" >&5
9108 echo "${ECHO_T}no" >&6
9113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9116 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9117 if test "${enable_numberdlg+set}" = set; then
9118 enableval
="$enable_numberdlg"
9120 if test "$enableval" = yes; then
9121 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9123 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9128 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9129 if test "x$LINE" != x
; then
9130 eval "DEFAULT_$LINE"
9135 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9139 eval "$ac_cv_use_numberdlg"
9140 if test "$no_cache" != 1; then
9141 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9144 if test "$wxUSE_NUMBERDLG" = yes; then
9145 echo "$as_me:$LINENO: result: yes" >&5
9146 echo "${ECHO_T}yes" >&6
9148 echo "$as_me:$LINENO: result: no" >&5
9149 echo "${ECHO_T}no" >&6
9154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9155 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9157 # Check whether --enable-splash or --disable-splash was given.
9158 if test "${enable_splash+set}" = set; then
9159 enableval
="$enable_splash"
9161 if test "$enableval" = yes; then
9162 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9164 ac_cv_use_splash
='wxUSE_SPLASH=no'
9169 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9170 if test "x$LINE" != x
; then
9171 eval "DEFAULT_$LINE"
9176 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9180 eval "$ac_cv_use_splash"
9181 if test "$no_cache" != 1; then
9182 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9185 if test "$wxUSE_SPLASH" = yes; then
9186 echo "$as_me:$LINENO: result: yes" >&5
9187 echo "${ECHO_T}yes" >&6
9189 echo "$as_me:$LINENO: result: no" >&5
9190 echo "${ECHO_T}no" >&6
9195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9198 # Check whether --enable-textdlg or --disable-textdlg was given.
9199 if test "${enable_textdlg+set}" = set; then
9200 enableval
="$enable_textdlg"
9202 if test "$enableval" = yes; then
9203 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9205 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9210 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x
; then
9212 eval "DEFAULT_$LINE"
9217 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9221 eval "$ac_cv_use_textdlg"
9222 if test "$no_cache" != 1; then
9223 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9226 if test "$wxUSE_TEXTDLG" = yes; then
9227 echo "$as_me:$LINENO: result: yes" >&5
9228 echo "${ECHO_T}yes" >&6
9230 echo "$as_me:$LINENO: result: no" >&5
9231 echo "${ECHO_T}no" >&6
9236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9237 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9239 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9240 if test "${enable_tipdlg+set}" = set; then
9241 enableval
="$enable_tipdlg"
9243 if test "$enableval" = yes; then
9244 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9246 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9251 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9252 if test "x$LINE" != x
; then
9253 eval "DEFAULT_$LINE"
9258 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9262 eval "$ac_cv_use_tipdlg"
9263 if test "$no_cache" != 1; then
9264 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9267 if test "$wxUSE_STARTUP_TIPS" = yes; then
9268 echo "$as_me:$LINENO: result: yes" >&5
9269 echo "${ECHO_T}yes" >&6
9271 echo "$as_me:$LINENO: result: no" >&5
9272 echo "${ECHO_T}no" >&6
9277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9278 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9280 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9281 if test "${enable_progressdlg+set}" = set; then
9282 enableval
="$enable_progressdlg"
9284 if test "$enableval" = yes; then
9285 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9287 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9292 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9293 if test "x$LINE" != x
; then
9294 eval "DEFAULT_$LINE"
9299 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9303 eval "$ac_cv_use_progressdlg"
9304 if test "$no_cache" != 1; then
9305 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9308 if test "$wxUSE_PROGRESSDLG" = yes; then
9309 echo "$as_me:$LINENO: result: yes" >&5
9310 echo "${ECHO_T}yes" >&6
9312 echo "$as_me:$LINENO: result: no" >&5
9313 echo "${ECHO_T}no" >&6
9318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9319 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9321 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9322 if test "${enable_wizarddlg+set}" = set; then
9323 enableval
="$enable_wizarddlg"
9325 if test "$enableval" = yes; then
9326 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9328 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9333 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9334 if test "x$LINE" != x
; then
9335 eval "DEFAULT_$LINE"
9340 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9344 eval "$ac_cv_use_wizarddlg"
9345 if test "$no_cache" != 1; then
9346 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9349 if test "$wxUSE_WIZARDDLG" = yes; then
9350 echo "$as_me:$LINENO: result: yes" >&5
9351 echo "${ECHO_T}yes" >&6
9353 echo "$as_me:$LINENO: result: no" >&5
9354 echo "${ECHO_T}no" >&6
9361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9364 # Check whether --enable-menus or --disable-menus was given.
9365 if test "${enable_menus+set}" = set; then
9366 enableval
="$enable_menus"
9368 if test "$enableval" = yes; then
9369 ac_cv_use_menus
='wxUSE_MENUS=yes'
9371 ac_cv_use_menus
='wxUSE_MENUS=no'
9376 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9377 if test "x$LINE" != x
; then
9378 eval "DEFAULT_$LINE"
9383 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9387 eval "$ac_cv_use_menus"
9388 if test "$no_cache" != 1; then
9389 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9392 if test "$wxUSE_MENUS" = yes; then
9393 echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6
9396 echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6
9402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9403 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9405 # Check whether --enable-miniframe or --disable-miniframe was given.
9406 if test "${enable_miniframe+set}" = set; then
9407 enableval
="$enable_miniframe"
9409 if test "$enableval" = yes; then
9410 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9412 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9417 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9418 if test "x$LINE" != x
; then
9419 eval "DEFAULT_$LINE"
9424 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9428 eval "$ac_cv_use_miniframe"
9429 if test "$no_cache" != 1; then
9430 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9433 if test "$wxUSE_MINIFRAME" = yes; then
9434 echo "$as_me:$LINENO: result: yes" >&5
9435 echo "${ECHO_T}yes" >&6
9437 echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6
9443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9446 # Check whether --enable-tooltips or --disable-tooltips was given.
9447 if test "${enable_tooltips+set}" = set; then
9448 enableval
="$enable_tooltips"
9450 if test "$enableval" = yes; then
9451 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9453 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9458 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9459 if test "x$LINE" != x
; then
9460 eval "DEFAULT_$LINE"
9465 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9469 eval "$ac_cv_use_tooltips"
9470 if test "$no_cache" != 1; then
9471 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9474 if test "$wxUSE_TOOLTIPS" = yes; then
9475 echo "$as_me:$LINENO: result: yes" >&5
9476 echo "${ECHO_T}yes" >&6
9478 echo "$as_me:$LINENO: result: no" >&5
9479 echo "${ECHO_T}no" >&6
9484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9485 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9487 # Check whether --enable-splines or --disable-splines was given.
9488 if test "${enable_splines+set}" = set; then
9489 enableval
="$enable_splines"
9491 if test "$enableval" = yes; then
9492 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9494 ac_cv_use_splines
='wxUSE_SPLINES=no'
9499 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9500 if test "x$LINE" != x
; then
9501 eval "DEFAULT_$LINE"
9506 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9510 eval "$ac_cv_use_splines"
9511 if test "$no_cache" != 1; then
9512 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9515 if test "$wxUSE_SPLINES" = yes; then
9516 echo "$as_me:$LINENO: result: yes" >&5
9517 echo "${ECHO_T}yes" >&6
9519 echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6
9525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9528 # Check whether --enable-validators or --disable-validators was given.
9529 if test "${enable_validators+set}" = set; then
9530 enableval
="$enable_validators"
9532 if test "$enableval" = yes; then
9533 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9535 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9540 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9541 if test "x$LINE" != x
; then
9542 eval "DEFAULT_$LINE"
9547 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9551 eval "$ac_cv_use_validators"
9552 if test "$no_cache" != 1; then
9553 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9556 if test "$wxUSE_VALIDATORS" = yes; then
9557 echo "$as_me:$LINENO: result: yes" >&5
9558 echo "${ECHO_T}yes" >&6
9560 echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6
9566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9569 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9570 if test "${enable_busyinfo+set}" = set; then
9571 enableval
="$enable_busyinfo"
9573 if test "$enableval" = yes; then
9574 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9576 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9581 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9582 if test "x$LINE" != x
; then
9583 eval "DEFAULT_$LINE"
9588 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9592 eval "$ac_cv_use_busyinfo"
9593 if test "$no_cache" != 1; then
9594 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9597 if test "$wxUSE_BUSYINFO" = yes; then
9598 echo "$as_me:$LINENO: result: yes" >&5
9599 echo "${ECHO_T}yes" >&6
9601 echo "$as_me:$LINENO: result: no" >&5
9602 echo "${ECHO_T}no" >&6
9607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9608 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9610 # Check whether --enable-joystick or --disable-joystick was given.
9611 if test "${enable_joystick+set}" = set; then
9612 enableval
="$enable_joystick"
9614 if test "$enableval" = yes; then
9615 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9617 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9622 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9623 if test "x$LINE" != x
; then
9624 eval "DEFAULT_$LINE"
9629 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9633 eval "$ac_cv_use_joystick"
9634 if test "$no_cache" != 1; then
9635 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9638 if test "$wxUSE_JOYSTICK" = yes; then
9639 echo "$as_me:$LINENO: result: yes" >&5
9640 echo "${ECHO_T}yes" >&6
9642 echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6
9648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9651 # Check whether --enable-metafile or --disable-metafile was given.
9652 if test "${enable_metafile+set}" = set; then
9653 enableval
="$enable_metafile"
9655 if test "$enableval" = yes; then
9656 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9658 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9663 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9664 if test "x$LINE" != x
; then
9665 eval "DEFAULT_$LINE"
9670 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9674 eval "$ac_cv_use_metafile"
9675 if test "$no_cache" != 1; then
9676 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9679 if test "$wxUSE_METAFILE" = yes; then
9680 echo "$as_me:$LINENO: result: yes" >&5
9681 echo "${ECHO_T}yes" >&6
9683 echo "$as_me:$LINENO: result: no" >&5
9684 echo "${ECHO_T}no" >&6
9689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9690 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9692 # Check whether --enable-dragimage or --disable-dragimage was given.
9693 if test "${enable_dragimage+set}" = set; then
9694 enableval
="$enable_dragimage"
9696 if test "$enableval" = yes; then
9697 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9699 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9704 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9705 if test "x$LINE" != x
; then
9706 eval "DEFAULT_$LINE"
9711 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9715 eval "$ac_cv_use_dragimage"
9716 if test "$no_cache" != 1; then
9717 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9720 if test "$wxUSE_DRAGIMAGE" = yes; then
9721 echo "$as_me:$LINENO: result: yes" >&5
9722 echo "${ECHO_T}yes" >&6
9724 echo "$as_me:$LINENO: result: no" >&5
9725 echo "${ECHO_T}no" >&6
9730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9733 # Check whether --enable-accessibility or --disable-accessibility was given.
9734 if test "${enable_accessibility+set}" = set; then
9735 enableval
="$enable_accessibility"
9737 if test "$enableval" = yes; then
9738 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9740 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9745 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9746 if test "x$LINE" != x
; then
9747 eval "DEFAULT_$LINE"
9752 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9756 eval "$ac_cv_use_accessibility"
9757 if test "$no_cache" != 1; then
9758 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9761 if test "$wxUSE_ACCESSIBILITY" = yes; then
9762 echo "$as_me:$LINENO: result: yes" >&5
9763 echo "${ECHO_T}yes" >&6
9765 echo "$as_me:$LINENO: result: no" >&5
9766 echo "${ECHO_T}no" >&6
9773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9776 # Check whether --enable-palette or --disable-palette was given.
9777 if test "${enable_palette+set}" = set; then
9778 enableval
="$enable_palette"
9780 if test "$enableval" = yes; then
9781 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9783 ac_cv_use_palette
='wxUSE_PALETTE=no'
9788 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9789 if test "x$LINE" != x
; then
9790 eval "DEFAULT_$LINE"
9795 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9799 eval "$ac_cv_use_palette"
9800 if test "$no_cache" != 1; then
9801 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9804 if test "$wxUSE_PALETTE" = yes; then
9805 echo "$as_me:$LINENO: result: yes" >&5
9806 echo "${ECHO_T}yes" >&6
9808 echo "$as_me:$LINENO: result: no" >&5
9809 echo "${ECHO_T}no" >&6
9814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9815 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9817 # Check whether --enable-image or --disable-image was given.
9818 if test "${enable_image+set}" = set; then
9819 enableval
="$enable_image"
9821 if test "$enableval" = yes; then
9822 ac_cv_use_image
='wxUSE_IMAGE=yes'
9824 ac_cv_use_image
='wxUSE_IMAGE=no'
9829 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9830 if test "x$LINE" != x
; then
9831 eval "DEFAULT_$LINE"
9836 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9840 eval "$ac_cv_use_image"
9841 if test "$no_cache" != 1; then
9842 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9845 if test "$wxUSE_IMAGE" = yes; then
9846 echo "$as_me:$LINENO: result: yes" >&5
9847 echo "${ECHO_T}yes" >&6
9849 echo "$as_me:$LINENO: result: no" >&5
9850 echo "${ECHO_T}no" >&6
9855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9856 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9858 # Check whether --enable-gif or --disable-gif was given.
9859 if test "${enable_gif+set}" = set; then
9860 enableval
="$enable_gif"
9862 if test "$enableval" = yes; then
9863 ac_cv_use_gif
='wxUSE_GIF=yes'
9865 ac_cv_use_gif
='wxUSE_GIF=no'
9870 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9871 if test "x$LINE" != x
; then
9872 eval "DEFAULT_$LINE"
9877 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9881 eval "$ac_cv_use_gif"
9882 if test "$no_cache" != 1; then
9883 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9886 if test "$wxUSE_GIF" = yes; then
9887 echo "$as_me:$LINENO: result: yes" >&5
9888 echo "${ECHO_T}yes" >&6
9890 echo "$as_me:$LINENO: result: no" >&5
9891 echo "${ECHO_T}no" >&6
9896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9899 # Check whether --enable-pcx or --disable-pcx was given.
9900 if test "${enable_pcx+set}" = set; then
9901 enableval
="$enable_pcx"
9903 if test "$enableval" = yes; then
9904 ac_cv_use_pcx
='wxUSE_PCX=yes'
9906 ac_cv_use_pcx
='wxUSE_PCX=no'
9911 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9912 if test "x$LINE" != x
; then
9913 eval "DEFAULT_$LINE"
9918 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9922 eval "$ac_cv_use_pcx"
9923 if test "$no_cache" != 1; then
9924 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9927 if test "$wxUSE_PCX" = yes; then
9928 echo "$as_me:$LINENO: result: yes" >&5
9929 echo "${ECHO_T}yes" >&6
9931 echo "$as_me:$LINENO: result: no" >&5
9932 echo "${ECHO_T}no" >&6
9937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9940 # Check whether --enable-iff or --disable-iff was given.
9941 if test "${enable_iff+set}" = set; then
9942 enableval
="$enable_iff"
9944 if test "$enableval" = yes; then
9945 ac_cv_use_iff
='wxUSE_IFF=yes'
9947 ac_cv_use_iff
='wxUSE_IFF=no'
9952 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x
; then
9954 eval "DEFAULT_$LINE"
9959 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9963 eval "$ac_cv_use_iff"
9964 if test "$no_cache" != 1; then
9965 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9968 if test "$wxUSE_IFF" = yes; then
9969 echo "$as_me:$LINENO: result: yes" >&5
9970 echo "${ECHO_T}yes" >&6
9972 echo "$as_me:$LINENO: result: no" >&5
9973 echo "${ECHO_T}no" >&6
9978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9979 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9981 # Check whether --enable-pnm or --disable-pnm was given.
9982 if test "${enable_pnm+set}" = set; then
9983 enableval
="$enable_pnm"
9985 if test "$enableval" = yes; then
9986 ac_cv_use_pnm
='wxUSE_PNM=yes'
9988 ac_cv_use_pnm
='wxUSE_PNM=no'
9993 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9994 if test "x$LINE" != x
; then
9995 eval "DEFAULT_$LINE"
10000 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10004 eval "$ac_cv_use_pnm"
10005 if test "$no_cache" != 1; then
10006 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10009 if test "$wxUSE_PNM" = yes; then
10010 echo "$as_me:$LINENO: result: yes" >&5
10011 echo "${ECHO_T}yes" >&6
10013 echo "$as_me:$LINENO: result: no" >&5
10014 echo "${ECHO_T}no" >&6
10019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10022 # Check whether --enable-xpm or --disable-xpm was given.
10023 if test "${enable_xpm+set}" = set; then
10024 enableval
="$enable_xpm"
10026 if test "$enableval" = yes; then
10027 ac_cv_use_xpm
='wxUSE_XPM=yes'
10029 ac_cv_use_xpm
='wxUSE_XPM=no'
10034 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10035 if test "x$LINE" != x
; then
10036 eval "DEFAULT_$LINE"
10041 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10045 eval "$ac_cv_use_xpm"
10046 if test "$no_cache" != 1; then
10047 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10050 if test "$wxUSE_XPM" = yes; then
10051 echo "$as_me:$LINENO: result: yes" >&5
10052 echo "${ECHO_T}yes" >&6
10054 echo "$as_me:$LINENO: result: no" >&5
10055 echo "${ECHO_T}no" >&6
10060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10061 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10063 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10064 if test "${enable_ico_cur+set}" = set; then
10065 enableval
="$enable_ico_cur"
10067 if test "$enableval" = yes; then
10068 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10070 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10075 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10076 if test "x$LINE" != x
; then
10077 eval "DEFAULT_$LINE"
10082 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10086 eval "$ac_cv_use_ico_cur"
10087 if test "$no_cache" != 1; then
10088 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10091 if test "$wxUSE_ICO_CUR" = yes; then
10092 echo "$as_me:$LINENO: result: yes" >&5
10093 echo "${ECHO_T}yes" >&6
10095 echo "$as_me:$LINENO: result: no" >&5
10096 echo "${ECHO_T}no" >&6
10104 # Check whether --with-flavour or --without-flavour was given.
10105 if test "${with_flavour+set}" = set; then
10106 withval
="$with_flavour"
10107 WX_FLAVOUR
="$withval"
10113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10114 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10116 # Check whether --enable-official_build or --disable-official_build was given.
10117 if test "${enable_official_build+set}" = set; then
10118 enableval
="$enable_official_build"
10120 if test "$enableval" = yes; then
10121 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10123 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10128 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10129 if test "x$LINE" != x
; then
10130 eval "DEFAULT_$LINE"
10135 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10139 eval "$ac_cv_use_official_build"
10140 if test "$no_cache" != 1; then
10141 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10144 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10145 echo "$as_me:$LINENO: result: yes" >&5
10146 echo "${ECHO_T}yes" >&6
10148 echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6
10152 # Check whether --enable-vendor or --disable-vendor was given.
10153 if test "${enable_vendor+set}" = set; then
10154 enableval
="$enable_vendor"
10155 VENDOR
="$enableval"
10157 if test "x$VENDOR" = "x"; then
10164 echo "saving argument cache $wx_arg_cache_file"
10165 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10169 echo "$as_me:$LINENO: checking for toolkit" >&5
10170 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10172 # In Wine, we need to default to MSW, not GTK or MOTIF
10173 if test "$wxUSE_WINE" = "yes"; then
10174 DEFAULT_DEFAULT_wxUSE_GTK
=0
10175 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10176 DEFAULT_DEFAULT_wxUSE_MSW
=1
10180 if test "$wxUSE_GUI" = "yes"; then
10182 if test "$USE_BEOS" = 1; then
10183 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10184 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10185 { (exit 1); exit 1; }; }
10188 if test "$TOOLKIT_GIVEN" = 1; then
10189 for toolkit
in `echo $ALL_TOOLKITS`; do
10191 eval "value=\$${var}"
10192 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10195 for toolkit
in `echo $ALL_TOOLKITS`; do
10196 if test "$has_toolkit_in_cache" != 1; then
10197 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10199 var
=DEFAULT_wxUSE_
$toolkit
10201 eval "wxUSE_$toolkit=\$${var}"
10205 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10206 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10207 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10210 *-pc-os2_emx | *-pc-os2-emx )
10211 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10214 case "$NUM_TOOLKITS" in
10218 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10219 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10220 { (exit 1); exit 1; }; }
10223 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10224 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10225 { (exit 1); exit 1; }; }
10228 for toolkit
in `echo $ALL_TOOLKITS`; do
10230 eval "value=\$${var}"
10231 if test "x$value" != x
; then
10232 cache_var
=CACHE_
$toolkit
10233 eval "cache=\$${cache_var}"
10234 if test "$cache" = 1; then
10235 echo "$var=$value" >> ${wx_arg_cache_file}
10237 if test "$value" = 1; then
10238 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10239 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10240 echo "${ECHO_T}$toolkit_echo" >&6
10245 if test "x$host_alias" != "x"; then
10246 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10247 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10249 echo "$as_me:$LINENO: result: base only" >&5
10250 echo "${ECHO_T}base only" >&6
10255 doesnt_want_win32
=0
10258 if test "$wxUSE_MSW" = 1 ; then
10261 doesnt_want_win32
=1
10269 if test "$wxUSE_WINE" = "yes"; then
10274 LDFLAGS_GUI
="-mwindows"
10277 if test "$wants_win32" = 1 ; then
10280 cat >>confdefs.h
<<\_ACEOF
10281 #define __WIN32__ 1
10284 cat >>confdefs.h
<<\_ACEOF
10285 #define __WIN95__ 1
10288 cat >>confdefs.h
<<\_ACEOF
10289 #define __WINDOWS__ 1
10292 cat >>confdefs.h
<<\_ACEOF
10293 #define __GNUWIN32__ 1
10296 cat >>confdefs.h
<<\_ACEOF
10300 cat >>confdefs.h
<<\_ACEOF
10301 #define WINVER 0x0400
10305 if test "$doesnt_want_win32" = 1 ; then
10310 if test "$USE_UNIX" = 1 ; then
10312 cat >>confdefs.h
<<\_ACEOF
10319 cat >confcache
<<\_ACEOF
10320 # This file is a shell script that caches the results of configure
10321 # tests run on this system so they can be shared between configure
10322 # scripts and configure runs, see configure's option --config-cache.
10323 # It is not useful on other systems. If it contains results you don't
10324 # want to keep, you may remove or edit it.
10326 # config.status only pays attention to the cache file if you give it
10327 # the --recheck option to rerun configure.
10329 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10330 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10331 # following values.
10335 # The following way of writing the cache mishandles newlines in values,
10336 # but we know of no workaround that is simple, portable, and efficient.
10337 # So, don't put newlines in cache variables' values.
10338 # Ultrix sh set writes to stderr and can't be redirected directly,
10339 # and sets the high bit in the cache file unless we assign to the vars.
10342 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10344 # `set' does not quote correctly, so add quotes (double-quote
10345 # substitution turns \\\\ into \\, and sed turns \\ into \).
10348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10351 # `set' quotes correctly as required by POSIX, so do not add quotes.
10353 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10360 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10362 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10364 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10365 if test -w $cache_file; then
10366 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10367 cat confcache
>$cache_file
10369 echo "not updating unwritable cache $cache_file"
10374 if test "$build" != "$host" ; then
10375 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10377 CXX
=$host_alias-c++
10379 RANLIB
=$host_alias-ranlib
10380 DLLTOOL
=$host_alias-dlltool
10381 RESCOMP
=$host_alias-windres
10382 STRIP
=$host_alias-strip
10383 elif test "x$CC" '!=' "x"; then
10384 echo "You set CC, I assume you know what you are doing."
10386 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10387 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10388 { (exit 1); exit 1; }; }
10394 ac_cpp
='$CPP $CPPFLAGS'
10395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10398 if test -n "$ac_tool_prefix"; then
10399 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10400 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10401 echo "$as_me:$LINENO: checking for $ac_word" >&5
10402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10403 if test "${ac_cv_prog_CC+set}" = set; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10406 if test -n "$CC"; then
10407 ac_cv_prog_CC
="$CC" # Let the user override the test.
10409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10410 for as_dir
in $PATH
10413 test -z "$as_dir" && as_dir
=.
10414 for ac_exec_ext
in '' $ac_executable_extensions; do
10415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10426 if test -n "$CC"; then
10427 echo "$as_me:$LINENO: result: $CC" >&5
10428 echo "${ECHO_T}$CC" >&6
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10435 if test -z "$ac_cv_prog_CC"; then
10437 # Extract the first word of "gcc", so it can be a program name with args.
10438 set dummy gcc
; ac_word
=$2
10439 echo "$as_me:$LINENO: checking for $ac_word" >&5
10440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10442 echo $ECHO_N "(cached) $ECHO_C" >&6
10444 if test -n "$ac_ct_CC"; then
10445 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10448 for as_dir
in $PATH
10451 test -z "$as_dir" && as_dir
=.
10452 for ac_exec_ext
in '' $ac_executable_extensions; do
10453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10454 ac_cv_prog_ac_ct_CC
="gcc"
10455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10463 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10464 if test -n "$ac_ct_CC"; then
10465 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10466 echo "${ECHO_T}$ac_ct_CC" >&6
10468 echo "$as_me:$LINENO: result: no" >&5
10469 echo "${ECHO_T}no" >&6
10474 CC
="$ac_cv_prog_CC"
10477 if test -z "$CC"; then
10478 if test -n "$ac_tool_prefix"; then
10479 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10480 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10481 echo "$as_me:$LINENO: checking for $ac_word" >&5
10482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10483 if test "${ac_cv_prog_CC+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10486 if test -n "$CC"; then
10487 ac_cv_prog_CC
="$CC" # Let the user override the test.
10489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10490 for as_dir
in $PATH
10493 test -z "$as_dir" && as_dir
=.
10494 for ac_exec_ext
in '' $ac_executable_extensions; do
10495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10496 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10506 if test -n "$CC"; then
10507 echo "$as_me:$LINENO: result: $CC" >&5
10508 echo "${ECHO_T}$CC" >&6
10510 echo "$as_me:$LINENO: result: no" >&5
10511 echo "${ECHO_T}no" >&6
10515 if test -z "$ac_cv_prog_CC"; then
10517 # Extract the first word of "cc", so it can be a program name with args.
10518 set dummy cc
; ac_word
=$2
10519 echo "$as_me:$LINENO: checking for $ac_word" >&5
10520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10521 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10522 echo $ECHO_N "(cached) $ECHO_C" >&6
10524 if test -n "$ac_ct_CC"; then
10525 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10528 for as_dir
in $PATH
10531 test -z "$as_dir" && as_dir
=.
10532 for ac_exec_ext
in '' $ac_executable_extensions; do
10533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10534 ac_cv_prog_ac_ct_CC
="cc"
10535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10543 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10544 if test -n "$ac_ct_CC"; then
10545 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10546 echo "${ECHO_T}$ac_ct_CC" >&6
10548 echo "$as_me:$LINENO: result: no" >&5
10549 echo "${ECHO_T}no" >&6
10554 CC
="$ac_cv_prog_CC"
10558 if test -z "$CC"; then
10559 # Extract the first word of "cc", so it can be a program name with args.
10560 set dummy cc
; ac_word
=$2
10561 echo "$as_me:$LINENO: checking for $ac_word" >&5
10562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10563 if test "${ac_cv_prog_CC+set}" = set; then
10564 echo $ECHO_N "(cached) $ECHO_C" >&6
10566 if test -n "$CC"; then
10567 ac_cv_prog_CC
="$CC" # Let the user override the test.
10569 ac_prog_rejected
=no
10570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10571 for as_dir
in $PATH
10574 test -z "$as_dir" && as_dir
=.
10575 for ac_exec_ext
in '' $ac_executable_extensions; do
10576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10577 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10578 ac_prog_rejected
=yes
10582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10588 if test $ac_prog_rejected = yes; then
10589 # We found a bogon in the path, so make sure we never use it.
10590 set dummy
$ac_cv_prog_CC
10592 if test $# != 0; then
10593 # We chose a different compiler from the bogus one.
10594 # However, it has the same basename, so the bogon will be chosen
10595 # first if we set CC to just the basename; use the full file name.
10597 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10603 if test -n "$CC"; then
10604 echo "$as_me:$LINENO: result: $CC" >&5
10605 echo "${ECHO_T}$CC" >&6
10607 echo "$as_me:$LINENO: result: no" >&5
10608 echo "${ECHO_T}no" >&6
10612 if test -z "$CC"; then
10613 if test -n "$ac_tool_prefix"; then
10616 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10617 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10618 echo "$as_me:$LINENO: checking for $ac_word" >&5
10619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10620 if test "${ac_cv_prog_CC+set}" = set; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 if test -n "$CC"; then
10624 ac_cv_prog_CC
="$CC" # Let the user override the test.
10626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10627 for as_dir
in $PATH
10630 test -z "$as_dir" && as_dir
=.
10631 for ac_exec_ext
in '' $ac_executable_extensions; do
10632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10633 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10643 if test -n "$CC"; then
10644 echo "$as_me:$LINENO: result: $CC" >&5
10645 echo "${ECHO_T}$CC" >&6
10647 echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6
10651 test -n "$CC" && break
10654 if test -z "$CC"; then
10658 # Extract the first word of "$ac_prog", so it can be a program name with args.
10659 set dummy
$ac_prog; ac_word
=$2
10660 echo "$as_me:$LINENO: checking for $ac_word" >&5
10661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10665 if test -n "$ac_ct_CC"; then
10666 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10669 for as_dir
in $PATH
10672 test -z "$as_dir" && as_dir
=.
10673 for ac_exec_ext
in '' $ac_executable_extensions; do
10674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10675 ac_cv_prog_ac_ct_CC
="$ac_prog"
10676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10684 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10685 if test -n "$ac_ct_CC"; then
10686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10687 echo "${ECHO_T}$ac_ct_CC" >&6
10689 echo "$as_me:$LINENO: result: no" >&5
10690 echo "${ECHO_T}no" >&6
10693 test -n "$ac_ct_CC" && break
10702 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10703 See \`config.log' for more details." >&5
10704 echo "$as_me: error: no acceptable C compiler found in \$PATH
10705 See \`config.log' for more details." >&2;}
10706 { (exit 1); exit 1; }; }
10708 # Provide some information about the compiler.
10709 echo "$as_me:$LINENO:" \
10710 "checking for C compiler version" >&5
10711 ac_compiler
=`set X $ac_compile; echo $2`
10712 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10713 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 (exit $ac_status); }
10717 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10718 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }
10722 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10723 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); }
10728 cat >conftest.
$ac_ext <<_ACEOF
10731 cat confdefs.h
>>conftest.
$ac_ext
10732 cat >>conftest.
$ac_ext <<_ACEOF
10733 /* end confdefs.h. */
10743 ac_clean_files_save
=$ac_clean_files
10744 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10745 # Try to create an executable without -o first, disregard a.out.
10746 # It will help us diagnose broken compilers, and finding out an intuition
10748 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10749 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10750 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10751 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10752 (eval $ac_link_default) 2>&5
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); }; then
10756 # Find the output, starting from the most likely. This scheme is
10757 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10760 # Be careful to initialize this variable, since it used to be cached.
10761 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10763 # b.out is created by i960 compilers.
10764 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10766 test -f "$ac_file" || continue
10768 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10771 # This is the source file.
10774 # We found the default executable, but exeext='' is most
10778 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10779 # FIXME: I believe we export ac_cv_exeext for Libtool,
10780 # but it would be cool to find out if it's true. Does anybody
10781 # maintain Libtool? --akim.
10782 export ac_cv_exeext
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.
$ac_ext >&5
10792 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10793 See \`config.log' for more details." >&5
10794 echo "$as_me: error: C compiler cannot create executables
10795 See \`config.log' for more details." >&2;}
10796 { (exit 77); exit 77; }; }
10799 ac_exeext
=$ac_cv_exeext
10800 echo "$as_me:$LINENO: result: $ac_file" >&5
10801 echo "${ECHO_T}$ac_file" >&6
10803 # Check the compiler produces executables we can run. If not, either
10804 # the compiler is broken, or we cross compile.
10805 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10806 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10807 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10808 # If not cross compiling, check that we can run a simple program.
10809 if test "$cross_compiling" != yes; then
10810 if { ac_try
='./$ac_file'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; }; then
10818 if test "$cross_compiling" = maybe
; then
10819 cross_compiling
=yes
10821 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10822 If you meant to cross compile, use \`--host'.
10823 See \`config.log' for more details." >&5
10824 echo "$as_me: error: cannot run C compiled programs.
10825 If you meant to cross compile, use \`--host'.
10826 See \`config.log' for more details." >&2;}
10827 { (exit 1); exit 1; }; }
10831 echo "$as_me:$LINENO: result: yes" >&5
10832 echo "${ECHO_T}yes" >&6
10834 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10835 ac_clean_files
=$ac_clean_files_save
10836 # Check the compiler produces executables we can run. If not, either
10837 # the compiler is broken, or we cross compile.
10838 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10839 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10840 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10841 echo "${ECHO_T}$cross_compiling" >&6
10843 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10844 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10846 (eval $ac_link) 2>&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); }; then
10850 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10851 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10852 # work properly (i.e., refer to `conftest.exe'), while it won't with
10854 for ac_file
in conftest.exe conftest conftest.
*; do
10855 test -f "$ac_file" || continue
10857 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10858 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10859 export ac_cv_exeext
10865 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10866 See \`config.log' for more details." >&5
10867 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10868 See \`config.log' for more details." >&2;}
10869 { (exit 1); exit 1; }; }
10872 rm -f conftest
$ac_cv_exeext
10873 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10874 echo "${ECHO_T}$ac_cv_exeext" >&6
10876 rm -f conftest.
$ac_ext
10877 EXEEXT
=$ac_cv_exeext
10879 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10880 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10881 if test "${ac_cv_objext+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10884 cat >conftest.
$ac_ext <<_ACEOF
10887 cat confdefs.h
>>conftest.
$ac_ext
10888 cat >>conftest.
$ac_ext <<_ACEOF
10889 /* end confdefs.h. */
10899 rm -f conftest.o conftest.obj
10900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10901 (eval $ac_compile) 2>&5
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); }; then
10905 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10907 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10908 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10913 echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.
$ac_ext >&5
10916 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10917 See \`config.log' for more details." >&5
10918 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10919 See \`config.log' for more details." >&2;}
10920 { (exit 1); exit 1; }; }
10923 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10925 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10926 echo "${ECHO_T}$ac_cv_objext" >&6
10927 OBJEXT
=$ac_cv_objext
10929 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10930 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10931 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10934 cat >conftest.
$ac_ext <<_ACEOF
10937 cat confdefs.h
>>conftest.
$ac_ext
10938 cat >>conftest.
$ac_ext <<_ACEOF
10939 /* end confdefs.h. */
10952 rm -f conftest.
$ac_objext
10953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10954 (eval $ac_compile) 2>conftest.er1
10956 grep -v '^ *+' conftest.er1
>conftest.err
10958 cat conftest.err
>&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); } &&
10961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10963 (eval $ac_try) 2>&5
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); }; } &&
10967 { ac_try
='test -s conftest.$ac_objext'
10968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10969 (eval $ac_try) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }; }; then
10973 ac_compiler_gnu
=yes
10975 echo "$as_me: failed program was:" >&5
10976 sed 's/^/| /' conftest.
$ac_ext >&5
10980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10981 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10984 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10985 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10986 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10987 ac_test_CFLAGS
=${CFLAGS+set}
10988 ac_save_CFLAGS
=$CFLAGS
10990 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10991 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10992 if test "${ac_cv_prog_cc_g+set}" = set; then
10993 echo $ECHO_N "(cached) $ECHO_C" >&6
10995 cat >conftest.
$ac_ext <<_ACEOF
10998 cat confdefs.h
>>conftest.
$ac_ext
10999 cat >>conftest.
$ac_ext <<_ACEOF
11000 /* end confdefs.h. */
11010 rm -f conftest.
$ac_objext
11011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11012 (eval $ac_compile) 2>conftest.er1
11014 grep -v '^ *+' conftest.er1
>conftest.err
11016 cat conftest.err
>&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); } &&
11019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; } &&
11025 { ac_try
='test -s conftest.$ac_objext'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; }; then
11031 ac_cv_prog_cc_g
=yes
11033 echo "$as_me: failed program was:" >&5
11034 sed 's/^/| /' conftest.
$ac_ext >&5
11038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11040 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11041 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11042 if test "$ac_test_CFLAGS" = set; then
11043 CFLAGS
=$ac_save_CFLAGS
11044 elif test $ac_cv_prog_cc_g = yes; then
11045 if test "$GCC" = yes; then
11051 if test "$GCC" = yes; then
11057 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11058 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11059 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11060 echo $ECHO_N "(cached) $ECHO_C" >&6
11062 ac_cv_prog_cc_stdc
=no
11064 cat >conftest.
$ac_ext <<_ACEOF
11067 cat confdefs.h
>>conftest.
$ac_ext
11068 cat >>conftest.
$ac_ext <<_ACEOF
11069 /* end confdefs.h. */
11070 #include <stdarg.h>
11072 #include <sys/types.h>
11073 #include <sys/stat.h>
11074 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11075 struct buf { int x; };
11076 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11077 static char *e (p, i)
11083 static char *f (char * (*g) (char **, int), char **p, ...)
11088 s = g (p, va_arg (v,int));
11093 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11094 function prototypes and stuff, but not '\xHH' hex character constants.
11095 These don't provoke an error unfortunately, instead are silently treated
11096 as 'x'. The following induces an error, until -std1 is added to get
11097 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11098 array size at least. It's necessary to write '\x00'==0 to get something
11099 that's true only with -std1. */
11100 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11102 int test (int i, double x);
11103 struct s1 {int (*f) (int a);};
11104 struct s2 {int (*f) (double a);};
11105 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11111 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11116 # Don't try gcc -ansi; that turns off useful extensions and
11117 # breaks some systems' header files.
11118 # AIX -qlanglvl=ansi
11119 # Ultrix and OSF/1 -std1
11120 # HP-UX 10.20 and later -Ae
11121 # HP-UX older versions -Aa -D_HPUX_SOURCE
11122 # SVR4 -Xc -D__EXTENSIONS__
11123 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11125 CC
="$ac_save_CC $ac_arg"
11126 rm -f conftest.
$ac_objext
11127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11128 (eval $ac_compile) 2>conftest.er1
11130 grep -v '^ *+' conftest.er1
>conftest.err
11132 cat conftest.err
>&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } &&
11135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11137 (eval $ac_try) 2>&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); }; } &&
11141 { ac_try
='test -s conftest.$ac_objext'
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; }; then
11147 ac_cv_prog_cc_stdc
=$ac_arg
11150 echo "$as_me: failed program was:" >&5
11151 sed 's/^/| /' conftest.
$ac_ext >&5
11154 rm -f conftest.err conftest.
$ac_objext
11156 rm -f conftest.
$ac_ext conftest.
$ac_objext
11161 case "x$ac_cv_prog_cc_stdc" in
11163 echo "$as_me:$LINENO: result: none needed" >&5
11164 echo "${ECHO_T}none needed" >&6 ;;
11166 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11167 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11168 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11171 # Some people use a C++ compiler to compile C. Since we use `exit',
11172 # in C++ we need to declare it. In case someone uses the same compiler
11173 # for both compiling C and C++ we need to have the C++ compiler decide
11174 # the declaration of exit, since it's the most demanding environment.
11175 cat >conftest.
$ac_ext <<_ACEOF
11176 #ifndef __cplusplus
11180 rm -f conftest.
$ac_objext
11181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11182 (eval $ac_compile) 2>conftest.er1
11184 grep -v '^ *+' conftest.er1
>conftest.err
11186 cat conftest.err
>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } &&
11189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; } &&
11195 { ac_try
='test -s conftest.$ac_objext'
11196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; }; then
11201 for ac_declaration
in \
11203 'extern "C" void std::exit (int) throw (); using std::exit;' \
11204 'extern "C" void std::exit (int); using std::exit;' \
11205 'extern "C" void exit (int) throw ();' \
11206 'extern "C" void exit (int);' \
11209 cat >conftest.
$ac_ext <<_ACEOF
11212 cat confdefs.h
>>conftest.
$ac_ext
11213 cat >>conftest.
$ac_ext <<_ACEOF
11214 /* end confdefs.h. */
11216 #include <stdlib.h>
11225 rm -f conftest.
$ac_objext
11226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11227 (eval $ac_compile) 2>conftest.er1
11229 grep -v '^ *+' conftest.er1
>conftest.err
11231 cat conftest.err
>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); } &&
11234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; } &&
11240 { ac_try
='test -s conftest.$ac_objext'
11241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242 (eval $ac_try) 2>&5
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); }; }; then
11248 echo "$as_me: failed program was:" >&5
11249 sed 's/^/| /' conftest.
$ac_ext >&5
11253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11254 cat >conftest.
$ac_ext <<_ACEOF
11257 cat confdefs.h
>>conftest.
$ac_ext
11258 cat >>conftest.
$ac_ext <<_ACEOF
11259 /* end confdefs.h. */
11269 rm -f conftest.
$ac_objext
11270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11271 (eval $ac_compile) 2>conftest.er1
11273 grep -v '^ *+' conftest.er1
>conftest.err
11275 cat conftest.err
>&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } &&
11278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; } &&
11284 { ac_try
='test -s conftest.$ac_objext'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; }; then
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.
$ac_ext >&5
11296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11299 if test -n "$ac_declaration"; then
11300 echo '#ifdef __cplusplus' >>confdefs.h
11301 echo $ac_declaration >>confdefs.h
11302 echo '#endif' >>confdefs.h
11306 echo "$as_me: failed program was:" >&5
11307 sed 's/^/| /' conftest.
$ac_ext >&5
11310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11312 ac_cpp
='$CPP $CPPFLAGS'
11313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11320 ac_cpp
='$CPP $CPPFLAGS'
11321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11324 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11325 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11326 # On Suns, sometimes $CPP names a directory.
11327 if test -n "$CPP" && test -d "$CPP"; then
11330 if test -z "$CPP"; then
11331 if test "${ac_cv_prog_CPP+set}" = set; then
11332 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 # Double quotes because CPP needs to be expanded
11335 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11337 ac_preproc_ok
=false
11338 for ac_c_preproc_warn_flag
in '' yes
11340 # Use a header file that comes with gcc, so configuring glibc
11341 # with a fresh cross-compiler works.
11342 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11343 # <limits.h> exists even on freestanding compilers.
11344 # On the NeXT, cc -E runs the code through the compiler's parser,
11345 # not just through cpp. "Syntax error" is here to catch this case.
11346 cat >conftest.
$ac_ext <<_ACEOF
11349 cat confdefs.h
>>conftest.
$ac_ext
11350 cat >>conftest.
$ac_ext <<_ACEOF
11351 /* end confdefs.h. */
11353 # include <limits.h>
11355 # include <assert.h>
11359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11360 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11362 grep -v '^ *+' conftest.er1
>conftest.err
11364 cat conftest.err
>&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); } >/dev
/null
; then
11367 if test -s conftest.err
; then
11368 ac_cpp_err
=$ac_c_preproc_warn_flag
11369 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11376 if test -z "$ac_cpp_err"; then
11379 echo "$as_me: failed program was:" >&5
11380 sed 's/^/| /' conftest.
$ac_ext >&5
11382 # Broken: fails on valid input.
11385 rm -f conftest.err conftest.
$ac_ext
11387 # OK, works on sane cases. Now check whether non-existent headers
11388 # can be detected and how.
11389 cat >conftest.
$ac_ext <<_ACEOF
11392 cat confdefs.h
>>conftest.
$ac_ext
11393 cat >>conftest.
$ac_ext <<_ACEOF
11394 /* end confdefs.h. */
11395 #include <ac_nonexistent.h>
11397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11398 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11400 grep -v '^ *+' conftest.er1
>conftest.err
11402 cat conftest.err
>&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); } >/dev
/null
; then
11405 if test -s conftest.err
; then
11406 ac_cpp_err
=$ac_c_preproc_warn_flag
11407 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11414 if test -z "$ac_cpp_err"; then
11415 # Broken: success on invalid input.
11418 echo "$as_me: failed program was:" >&5
11419 sed 's/^/| /' conftest.
$ac_ext >&5
11421 # Passes both tests.
11425 rm -f conftest.err conftest.
$ac_ext
11428 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11429 rm -f conftest.err conftest.
$ac_ext
11430 if $ac_preproc_ok; then
11435 ac_cv_prog_CPP
=$CPP
11438 CPP
=$ac_cv_prog_CPP
11440 ac_cv_prog_CPP
=$CPP
11442 echo "$as_me:$LINENO: result: $CPP" >&5
11443 echo "${ECHO_T}$CPP" >&6
11444 ac_preproc_ok
=false
11445 for ac_c_preproc_warn_flag
in '' yes
11447 # Use a header file that comes with gcc, so configuring glibc
11448 # with a fresh cross-compiler works.
11449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11450 # <limits.h> exists even on freestanding compilers.
11451 # On the NeXT, cc -E runs the code through the compiler's parser,
11452 # not just through cpp. "Syntax error" is here to catch this case.
11453 cat >conftest.
$ac_ext <<_ACEOF
11456 cat confdefs.h
>>conftest.
$ac_ext
11457 cat >>conftest.
$ac_ext <<_ACEOF
11458 /* end confdefs.h. */
11460 # include <limits.h>
11462 # include <assert.h>
11466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11467 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11469 grep -v '^ *+' conftest.er1
>conftest.err
11471 cat conftest.err
>&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); } >/dev
/null
; then
11474 if test -s conftest.err
; then
11475 ac_cpp_err
=$ac_c_preproc_warn_flag
11476 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11483 if test -z "$ac_cpp_err"; then
11486 echo "$as_me: failed program was:" >&5
11487 sed 's/^/| /' conftest.
$ac_ext >&5
11489 # Broken: fails on valid input.
11492 rm -f conftest.err conftest.
$ac_ext
11494 # OK, works on sane cases. Now check whether non-existent headers
11495 # can be detected and how.
11496 cat >conftest.
$ac_ext <<_ACEOF
11499 cat confdefs.h
>>conftest.
$ac_ext
11500 cat >>conftest.
$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11502 #include <ac_nonexistent.h>
11504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11505 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11507 grep -v '^ *+' conftest.er1
>conftest.err
11509 cat conftest.err
>&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); } >/dev
/null
; then
11512 if test -s conftest.err
; then
11513 ac_cpp_err
=$ac_c_preproc_warn_flag
11514 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11521 if test -z "$ac_cpp_err"; then
11522 # Broken: success on invalid input.
11525 echo "$as_me: failed program was:" >&5
11526 sed 's/^/| /' conftest.
$ac_ext >&5
11528 # Passes both tests.
11532 rm -f conftest.err conftest.
$ac_ext
11535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11536 rm -f conftest.err conftest.
$ac_ext
11537 if $ac_preproc_ok; then
11540 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11541 See \`config.log' for more details." >&5
11542 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11543 See \`config.log' for more details." >&2;}
11544 { (exit 1); exit 1; }; }
11548 ac_cpp
='$CPP $CPPFLAGS'
11549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11554 echo "$as_me:$LINENO: checking for egrep" >&5
11555 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11556 if test "${ac_cv_prog_egrep+set}" = set; then
11557 echo $ECHO_N "(cached) $ECHO_C" >&6
11559 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11560 then ac_cv_prog_egrep
='grep -E'
11561 else ac_cv_prog_egrep
='egrep'
11564 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11565 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11566 EGREP
=$ac_cv_prog_egrep
11569 if test $ac_cv_c_compiler_gnu = yes; then
11570 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11571 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11572 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11573 echo $ECHO_N "(cached) $ECHO_C" >&6
11575 ac_pattern
="Autoconf.*'x'"
11576 cat >conftest.
$ac_ext <<_ACEOF
11579 cat confdefs.h
>>conftest.
$ac_ext
11580 cat >>conftest.
$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11586 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11587 ac_cv_prog_gcc_traditional
=yes
11589 ac_cv_prog_gcc_traditional
=no
11594 if test $ac_cv_prog_gcc_traditional = no
; then
11595 cat >conftest.
$ac_ext <<_ACEOF
11598 cat confdefs.h
>>conftest.
$ac_ext
11599 cat >>conftest.
$ac_ext <<_ACEOF
11600 /* end confdefs.h. */
11601 #include <termio.h>
11604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11605 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11606 ac_cv_prog_gcc_traditional
=yes
11612 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11613 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11614 if test $ac_cv_prog_gcc_traditional = yes; then
11615 CC
="$CC -traditional"
11623 ac_cpp
='$CXXCPP $CPPFLAGS'
11624 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11625 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11626 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11629 CXXFLAGS
=${CXXFLAGS:=}
11631 ac_cpp
='$CXXCPP $CPPFLAGS'
11632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11635 if test -n "$ac_tool_prefix"; then
11636 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11638 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11639 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11640 echo "$as_me:$LINENO: checking for $ac_word" >&5
11641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11642 if test "${ac_cv_prog_CXX+set}" = set; then
11643 echo $ECHO_N "(cached) $ECHO_C" >&6
11645 if test -n "$CXX"; then
11646 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11649 for as_dir
in $PATH
11652 test -z "$as_dir" && as_dir
=.
11653 for ac_exec_ext
in '' $ac_executable_extensions; do
11654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11655 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11664 CXX
=$ac_cv_prog_CXX
11665 if test -n "$CXX"; then
11666 echo "$as_me:$LINENO: result: $CXX" >&5
11667 echo "${ECHO_T}$CXX" >&6
11669 echo "$as_me:$LINENO: result: no" >&5
11670 echo "${ECHO_T}no" >&6
11673 test -n "$CXX" && break
11676 if test -z "$CXX"; then
11678 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11680 # Extract the first word of "$ac_prog", so it can be a program name with args.
11681 set dummy
$ac_prog; ac_word
=$2
11682 echo "$as_me:$LINENO: checking for $ac_word" >&5
11683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11684 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11687 if test -n "$ac_ct_CXX"; then
11688 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11691 for as_dir
in $PATH
11694 test -z "$as_dir" && as_dir
=.
11695 for ac_exec_ext
in '' $ac_executable_extensions; do
11696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11697 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11706 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11707 if test -n "$ac_ct_CXX"; then
11708 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11709 echo "${ECHO_T}$ac_ct_CXX" >&6
11711 echo "$as_me:$LINENO: result: no" >&5
11712 echo "${ECHO_T}no" >&6
11715 test -n "$ac_ct_CXX" && break
11717 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11723 # Provide some information about the compiler.
11724 echo "$as_me:$LINENO:" \
11725 "checking for C++ compiler version" >&5
11726 ac_compiler
=`set X $ac_compile; echo $2`
11727 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11728 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); }
11732 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11733 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); }
11737 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11738 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); }
11743 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11744 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11745 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11746 echo $ECHO_N "(cached) $ECHO_C" >&6
11748 cat >conftest.
$ac_ext <<_ACEOF
11751 cat confdefs.h
>>conftest.
$ac_ext
11752 cat >>conftest.
$ac_ext <<_ACEOF
11753 /* end confdefs.h. */
11766 rm -f conftest.
$ac_objext
11767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11768 (eval $ac_compile) 2>conftest.er1
11770 grep -v '^ *+' conftest.er1
>conftest.err
11772 cat conftest.err
>&5
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); } &&
11775 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11777 (eval $ac_try) 2>&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); }; } &&
11781 { ac_try
='test -s conftest.$ac_objext'
11782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11783 (eval $ac_try) 2>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; }; then
11787 ac_compiler_gnu
=yes
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.
$ac_ext >&5
11794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11795 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11798 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11799 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11800 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11801 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11802 ac_save_CXXFLAGS
=$CXXFLAGS
11804 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11805 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11806 if test "${ac_cv_prog_cxx_g+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11809 cat >conftest.
$ac_ext <<_ACEOF
11812 cat confdefs.h
>>conftest.
$ac_ext
11813 cat >>conftest.
$ac_ext <<_ACEOF
11814 /* end confdefs.h. */
11824 rm -f conftest.
$ac_objext
11825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11826 (eval $ac_compile) 2>conftest.er1
11828 grep -v '^ *+' conftest.er1
>conftest.err
11830 cat conftest.err
>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } &&
11833 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; } &&
11839 { ac_try
='test -s conftest.$ac_objext'
11840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11841 (eval $ac_try) 2>&5
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); }; }; then
11845 ac_cv_prog_cxx_g
=yes
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.
$ac_ext >&5
11850 ac_cv_prog_cxx_g
=no
11852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11854 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11855 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11856 if test "$ac_test_CXXFLAGS" = set; then
11857 CXXFLAGS
=$ac_save_CXXFLAGS
11858 elif test $ac_cv_prog_cxx_g = yes; then
11859 if test "$GXX" = yes; then
11865 if test "$GXX" = yes; then
11871 for ac_declaration
in \
11873 'extern "C" void std::exit (int) throw (); using std::exit;' \
11874 'extern "C" void std::exit (int); using std::exit;' \
11875 'extern "C" void exit (int) throw ();' \
11876 'extern "C" void exit (int);' \
11879 cat >conftest.
$ac_ext <<_ACEOF
11882 cat confdefs.h
>>conftest.
$ac_ext
11883 cat >>conftest.
$ac_ext <<_ACEOF
11884 /* end confdefs.h. */
11886 #include <stdlib.h>
11895 rm -f conftest.
$ac_objext
11896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11897 (eval $ac_compile) 2>conftest.er1
11899 grep -v '^ *+' conftest.er1
>conftest.err
11901 cat conftest.err
>&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); } &&
11904 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906 (eval $ac_try) 2>&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); }; } &&
11910 { ac_try
='test -s conftest.$ac_objext'
11911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912 (eval $ac_try) 2>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); }; }; then
11918 echo "$as_me: failed program was:" >&5
11919 sed 's/^/| /' conftest.
$ac_ext >&5
11923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11924 cat >conftest.
$ac_ext <<_ACEOF
11927 cat confdefs.h
>>conftest.
$ac_ext
11928 cat >>conftest.
$ac_ext <<_ACEOF
11929 /* end confdefs.h. */
11939 rm -f conftest.
$ac_objext
11940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11941 (eval $ac_compile) 2>conftest.er1
11943 grep -v '^ *+' conftest.er1
>conftest.err
11945 cat conftest.err
>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } &&
11948 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); }; } &&
11954 { ac_try
='test -s conftest.$ac_objext'
11955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11956 (eval $ac_try) 2>&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); }; }; then
11962 echo "$as_me: failed program was:" >&5
11963 sed 's/^/| /' conftest.
$ac_ext >&5
11966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11969 if test -n "$ac_declaration"; then
11970 echo '#ifdef __cplusplus' >>confdefs.h
11971 echo $ac_declaration >>confdefs.h
11972 echo '#endif' >>confdefs.h
11976 ac_cpp
='$CXXCPP $CPPFLAGS'
11977 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11978 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11979 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11983 ac_cpp
='$CPP $CPPFLAGS'
11984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11989 if test -n "$ac_tool_prefix"; then
11990 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11991 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11992 echo "$as_me:$LINENO: checking for $ac_word" >&5
11993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11994 if test "${ac_cv_prog_RANLIB+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 if test -n "$RANLIB"; then
11998 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12001 for as_dir
in $PATH
12004 test -z "$as_dir" && as_dir
=.
12005 for ac_exec_ext
in '' $ac_executable_extensions; do
12006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12007 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12016 RANLIB
=$ac_cv_prog_RANLIB
12017 if test -n "$RANLIB"; then
12018 echo "$as_me:$LINENO: result: $RANLIB" >&5
12019 echo "${ECHO_T}$RANLIB" >&6
12021 echo "$as_me:$LINENO: result: no" >&5
12022 echo "${ECHO_T}no" >&6
12026 if test -z "$ac_cv_prog_RANLIB"; then
12027 ac_ct_RANLIB
=$RANLIB
12028 # Extract the first word of "ranlib", so it can be a program name with args.
12029 set dummy ranlib
; ac_word
=$2
12030 echo "$as_me:$LINENO: checking for $ac_word" >&5
12031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12032 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12033 echo $ECHO_N "(cached) $ECHO_C" >&6
12035 if test -n "$ac_ct_RANLIB"; then
12036 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12039 for as_dir
in $PATH
12042 test -z "$as_dir" && as_dir
=.
12043 for ac_exec_ext
in '' $ac_executable_extensions; do
12044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12045 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12052 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12055 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12056 if test -n "$ac_ct_RANLIB"; then
12057 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12058 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12060 echo "$as_me:$LINENO: result: no" >&5
12061 echo "${ECHO_T}no" >&6
12064 RANLIB
=$ac_ct_RANLIB
12066 RANLIB
="$ac_cv_prog_RANLIB"
12070 # Extract the first word of "ar", so it can be a program name with args.
12071 set dummy
ar; ac_word
=$2
12072 echo "$as_me:$LINENO: checking for $ac_word" >&5
12073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12074 if test "${ac_cv_prog_AR+set}" = set; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12077 if test -n "$AR"; then
12078 ac_cv_prog_AR
="$AR" # Let the user override the test.
12080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12081 for as_dir
in $PATH
12084 test -z "$as_dir" && as_dir
=.
12085 for ac_exec_ext
in '' $ac_executable_extensions; do
12086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12097 if test -n "$AR"; then
12098 echo "$as_me:$LINENO: result: $AR" >&5
12099 echo "${ECHO_T}$AR" >&6
12101 echo "$as_me:$LINENO: result: no" >&5
12102 echo "${ECHO_T}no" >&6
12105 if test "x$AR" = "x" ; then
12106 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12107 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12108 { (exit 1); exit 1; }; }
12111 # Find a good install program. We prefer a C program (faster),
12112 # so one script is as good as another. But avoid the broken or
12113 # incompatible versions:
12114 # SysV /etc/install, /usr/sbin/install
12115 # SunOS /usr/etc/install
12116 # IRIX /sbin/install
12118 # AmigaOS /C/install, which installs bootblocks on floppy discs
12119 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12120 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12121 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12122 # OS/2's system install, which has a completely different semantic
12123 # ./install, which can be erroneously created by make from ./install.sh.
12124 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12125 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12126 if test -z "$INSTALL"; then
12127 if test "${ac_cv_path_install+set}" = set; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6
12130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12131 for as_dir
in $PATH
12134 test -z "$as_dir" && as_dir
=.
12135 # Account for people who put trailing slashes in PATH elements.
12137 .
/ | .
// | /cC
/* | \
12138 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12139 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12142 # OSF1 and SCO ODT 3.0 have their own names for install.
12143 # Don't use installbsd from OSF since it installs stuff as root
12145 for ac_prog
in ginstall scoinst
install; do
12146 for ac_exec_ext
in '' $ac_executable_extensions; do
12147 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12148 if test $ac_prog = install &&
12149 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12150 # AIX install. It has an incompatible calling convention.
12152 elif test $ac_prog = install &&
12153 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12154 # program-specific install script used by HP pwplus--don't use.
12157 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12169 if test "${ac_cv_path_install+set}" = set; then
12170 INSTALL
=$ac_cv_path_install
12172 # As a last resort, use the slow shell script. We don't cache a
12173 # path for INSTALL within a source directory, because that will
12174 # break other packages using the cache if that directory is
12175 # removed, or if the path is relative.
12176 INSTALL
=$ac_install_sh
12179 echo "$as_me:$LINENO: result: $INSTALL" >&5
12180 echo "${ECHO_T}$INSTALL" >&6
12182 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12183 # It thinks the first close brace ends the variable substitution.
12184 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12186 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12188 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12194 ?
:* ) # Drive letter, considered as absolute.
12197 INSTALL
=`pwd`/${INSTALL} ;;
12203 powerpc
-*-darwin* )
12204 INSTALL_PROGRAM
="cp -fp"
12205 INSTALL_DATA
="cp -fp"
12211 # Extract the first word of "strip", so it can be a program name with args.
12212 set dummy strip
; ac_word
=$2
12213 echo "$as_me:$LINENO: checking for $ac_word" >&5
12214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12215 if test "${ac_cv_prog_STRIP+set}" = set; then
12216 echo $ECHO_N "(cached) $ECHO_C" >&6
12218 if test -n "$STRIP"; then
12219 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12222 for as_dir
in $PATH
12225 test -z "$as_dir" && as_dir
=.
12226 for ac_exec_ext
in '' $ac_executable_extensions; do
12227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12228 ac_cv_prog_STRIP
="strip"
12229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12235 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12238 STRIP
=$ac_cv_prog_STRIP
12239 if test -n "$STRIP"; then
12240 echo "$as_me:$LINENO: result: $STRIP" >&5
12241 echo "${ECHO_T}$STRIP" >&6
12243 echo "$as_me:$LINENO: result: no" >&5
12244 echo "${ECHO_T}no" >&6
12248 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12249 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12250 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12251 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12255 egrep -s GNU
> /dev
/null
); then
12256 wx_cv_prog_makeisgnu
="yes"
12258 wx_cv_prog_makeisgnu
="no"
12262 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12263 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12265 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12273 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12274 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12275 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12276 if test "${wx_cv_prog_makevpath+set}" = set; then
12277 echo $ECHO_N "(cached) $ECHO_C" >&6
12280 cat - << EOF > confMake
12286 if test ! -d sub
; then
12289 echo dummy
> sub
/file
12290 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12292 rm -f sub
/file check final_file confMake
12294 if test "$RESULT" = 0; then
12295 wx_cv_prog_makevpath
="yes"
12297 wx_cv_prog_makevpath
="no"
12301 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12302 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12304 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12305 { { echo "$as_me:$LINENO: error:
12306 You need a make-utility that is able to use the variable
12308 If your version of make does not support VPATH correctly,
12309 please install GNU-make (possibly as gmake), and start
12310 configure with the following command:
12311 export MAKE=gmake; ./configure for sh-type shells
12312 setenv MAKE gmake; ./configure for csh-type shells
12313 Also please do remember to use gmake in this case every time
12314 you are trying to compile.
12316 echo "$as_me: error:
12317 You need a make-utility that is able to use the variable
12319 If your version of make does not support VPATH correctly,
12320 please install GNU-make (possibly as gmake), and start
12321 configure with the following command:
12322 export MAKE=gmake; ./configure for sh-type shells
12323 setenv MAKE gmake; ./configure for csh-type shells
12324 Also please do remember to use gmake in this case every time
12325 you are trying to compile.
12327 { (exit 1); exit 1; }; }
12329 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12330 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12332 if test "$LN_S" = "ln -s"; then
12333 echo "$as_me:$LINENO: result: yes" >&5
12334 echo "${ECHO_T}yes" >&6
12336 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12337 echo "${ECHO_T}no, using $LN_S" >&6
12343 *-pc-os2_emx | *-pc-os2-emx )
12344 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12345 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12346 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12347 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12350 ac_check_lib_save_LIBS
=$LIBS
12351 LIBS
="-lcExt $LIBS"
12352 cat >conftest.
$ac_ext <<_ACEOF
12355 cat confdefs.h
>>conftest.
$ac_ext
12356 cat >>conftest.
$ac_ext <<_ACEOF
12357 /* end confdefs.h. */
12359 /* Override any gcc2 internal prototype to avoid an error. */
12363 /* We use char because int might match the return type of a gcc2
12364 builtin and then its argument prototype would still apply. */
12374 rm -f conftest.
$ac_objext conftest
$ac_exeext
12375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12376 (eval $ac_link) 2>conftest.er1
12378 grep -v '^ *+' conftest.er1
>conftest.err
12380 cat conftest.err
>&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); } &&
12383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12385 (eval $ac_try) 2>&5
12387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12388 (exit $ac_status); }; } &&
12389 { ac_try
='test -s conftest$ac_exeext'
12390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12391 (eval $ac_try) 2>&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); }; }; then
12395 ac_cv_lib_cExt_drand48
=yes
12397 echo "$as_me: failed program was:" >&5
12398 sed 's/^/| /' conftest.
$ac_ext >&5
12400 ac_cv_lib_cExt_drand48
=no
12402 rm -f conftest.err conftest.
$ac_objext \
12403 conftest
$ac_exeext conftest.
$ac_ext
12404 LIBS
=$ac_check_lib_save_LIBS
12406 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12407 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12408 if test $ac_cv_lib_cExt_drand48 = yes; then
12409 LIBS
="$LIBS -lcExt"
12413 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12415 echo "$as_me:$LINENO: checking for gcc version" >&5
12416 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12417 if test "${wx_cv_gccversion+set}" = set; then
12418 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 cat >conftest.
$ac_ext <<_ACEOF
12424 cat confdefs.h
>>conftest.
$ac_ext
12425 cat >>conftest.
$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12440 rm -f conftest.
$ac_objext
12441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12442 (eval $ac_compile) 2>conftest.er1
12444 grep -v '^ *+' conftest.er1
>conftest.err
12446 cat conftest.err
>&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); } &&
12449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12451 (eval $ac_try) 2>&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); }; } &&
12455 { ac_try
='test -s conftest.$ac_objext'
12456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12457 (eval $ac_try) 2>&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); }; }; then
12462 cat >conftest.
$ac_ext <<_ACEOF
12465 cat confdefs.h
>>conftest.
$ac_ext
12466 cat >>conftest.
$ac_ext <<_ACEOF
12467 /* end confdefs.h. */
12473 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12474 #error intermediate gcc
12481 rm -f conftest.
$ac_objext
12482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12483 (eval $ac_compile) 2>conftest.er1
12485 grep -v '^ *+' conftest.er1
>conftest.err
12487 cat conftest.err
>&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); } &&
12490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12492 (eval $ac_try) 2>&5
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); }; } &&
12496 { ac_try
='test -s conftest.$ac_objext'
12497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12498 (eval $ac_try) 2>&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); }; }; then
12503 wx_cv_gccversion
=Innotek
12506 echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.
$ac_ext >&5
12514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12517 echo "$as_me: failed program was:" >&5
12518 sed 's/^/| /' conftest.
$ac_ext >&5
12525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12528 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12529 echo "${ECHO_T}$wx_cv_gccversion" >&6
12530 if test "$wx_cv_gccversion" = "2"; then
12531 LIBS
="$LIBS -lstdcpp"
12532 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12534 if test "$wx_cv_gccversion" = "3"; then
12535 LIBS
="$LIBS -lstdcxx"
12536 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12538 LIBS
="$LIBS -lstdc++"
12541 if test "$wxUSE_OMF" = "yes"; then
12542 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12550 ac_cpp
='$CXXCPP $CPPFLAGS'
12551 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12552 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12553 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12557 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12558 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12559 if test "${ac_cv_string_strcasecmp+set}" = set; then
12560 echo $ECHO_N "(cached) $ECHO_C" >&6
12563 cat >conftest.
$ac_ext <<_ACEOF
12566 cat confdefs.h
>>conftest.
$ac_ext
12567 cat >>conftest.
$ac_ext <<_ACEOF
12568 /* end confdefs.h. */
12570 #include <string.h>
12576 strcasecmp("foo", "bar");
12582 rm -f conftest.
$ac_objext conftest
$ac_exeext
12583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12584 (eval $ac_link) 2>conftest.er1
12586 grep -v '^ *+' conftest.er1
>conftest.err
12588 cat conftest.err
>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); } &&
12591 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; } &&
12597 { ac_try
='test -s conftest$ac_exeext'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; }; then
12603 ac_cv_string_strcasecmp
=yes
12605 echo "$as_me: failed program was:" >&5
12606 sed 's/^/| /' conftest.
$ac_ext >&5
12608 ac_cv_string_strcasecmp
=no
12611 rm -f conftest.err conftest.
$ac_objext \
12612 conftest
$ac_exeext conftest.
$ac_ext
12615 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12616 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12618 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12619 cat >>confdefs.h
<<\_ACEOF
12620 #define HAVE_STRCASECMP_IN_STRING_H 1
12624 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12625 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12626 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12627 echo $ECHO_N "(cached) $ECHO_C" >&6
12630 cat >conftest.
$ac_ext <<_ACEOF
12633 cat confdefs.h
>>conftest.
$ac_ext
12634 cat >>conftest.
$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12637 #include <strings.h>
12643 strcasecmp("foo", "bar");
12649 rm -f conftest.
$ac_objext conftest
$ac_exeext
12650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12651 (eval $ac_link) 2>conftest.er1
12653 grep -v '^ *+' conftest.er1
>conftest.err
12655 cat conftest.err
>&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } &&
12658 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; } &&
12664 { ac_try
='test -s conftest$ac_exeext'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; }; then
12670 ac_cv_strings_strcasecmp
=yes
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.
$ac_ext >&5
12675 ac_cv_strings_strcasecmp
=no
12678 rm -f conftest.err conftest.
$ac_objext \
12679 conftest
$ac_exeext conftest.
$ac_ext
12682 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12683 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12685 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12686 cat >>confdefs.h
<<\_ACEOF
12687 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12691 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12692 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12693 { (exit 1); exit 1; }; }
12698 ac_cpp
='$CPP $CPPFLAGS'
12699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12707 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12708 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12709 if test "${ac_cv_header_stdc+set}" = set; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 cat >conftest.
$ac_ext <<_ACEOF
12715 cat confdefs.h
>>conftest.
$ac_ext
12716 cat >>conftest.
$ac_ext <<_ACEOF
12717 /* end confdefs.h. */
12718 #include <stdlib.h>
12719 #include <stdarg.h>
12720 #include <string.h>
12731 rm -f conftest.
$ac_objext
12732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12733 (eval $ac_compile) 2>conftest.er1
12735 grep -v '^ *+' conftest.er1
>conftest.err
12737 cat conftest.err
>&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); } &&
12740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12742 (eval $ac_try) 2>&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); }; } &&
12746 { ac_try
='test -s conftest.$ac_objext'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; }; then
12752 ac_cv_header_stdc
=yes
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.
$ac_ext >&5
12757 ac_cv_header_stdc
=no
12759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12761 if test $ac_cv_header_stdc = yes; then
12762 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12763 cat >conftest.
$ac_ext <<_ACEOF
12766 cat confdefs.h
>>conftest.
$ac_ext
12767 cat >>conftest.
$ac_ext <<_ACEOF
12768 /* end confdefs.h. */
12769 #include <string.h>
12772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12773 $EGREP "memchr" >/dev
/null
2>&1; then
12776 ac_cv_header_stdc
=no
12782 if test $ac_cv_header_stdc = yes; then
12783 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12784 cat >conftest.
$ac_ext <<_ACEOF
12787 cat confdefs.h
>>conftest.
$ac_ext
12788 cat >>conftest.
$ac_ext <<_ACEOF
12789 /* end confdefs.h. */
12790 #include <stdlib.h>
12793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12794 $EGREP "free" >/dev
/null
2>&1; then
12797 ac_cv_header_stdc
=no
12803 if test $ac_cv_header_stdc = yes; then
12804 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12805 if test "$cross_compiling" = yes; then
12808 cat >conftest.
$ac_ext <<_ACEOF
12811 cat confdefs.h
>>conftest.
$ac_ext
12812 cat >>conftest.
$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12815 #if ((' ' & 0x0FF) == 0x020)
12816 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12817 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12819 # define ISLOWER(c) \
12820 (('a' <= (c) && (c) <= 'i') \
12821 || ('j' <= (c) && (c) <= 'r') \
12822 || ('s' <= (c) && (c) <= 'z'))
12823 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12826 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12831 for (i = 0; i < 256; i++)
12832 if (XOR (islower (i), ISLOWER (i))
12833 || toupper (i) != TOUPPER (i))
12838 rm -f conftest
$ac_exeext
12839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12840 (eval $ac_link) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; }; then
12851 echo "$as_me: program exited with status $ac_status" >&5
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.
$ac_ext >&5
12855 ( exit $ac_status )
12856 ac_cv_header_stdc
=no
12858 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12862 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12863 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12864 if test $ac_cv_header_stdc = yes; then
12866 cat >>confdefs.h
<<\_ACEOF
12867 #define STDC_HEADERS 1
12872 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12882 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12883 inttypes.h stdint.h unistd.h
12885 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12886 echo "$as_me:$LINENO: checking for $ac_header" >&5
12887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12889 echo $ECHO_N "(cached) $ECHO_C" >&6
12891 cat >conftest.
$ac_ext <<_ACEOF
12894 cat confdefs.h
>>conftest.
$ac_ext
12895 cat >>conftest.
$ac_ext <<_ACEOF
12896 /* end confdefs.h. */
12897 $ac_includes_default
12899 #include <$ac_header>
12901 rm -f conftest.
$ac_objext
12902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12903 (eval $ac_compile) 2>conftest.er1
12905 grep -v '^ *+' conftest.er1
>conftest.err
12907 cat conftest.err
>&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); } &&
12910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912 (eval $ac_try) 2>&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; } &&
12916 { ac_try
='test -s conftest.$ac_objext'
12917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12918 (eval $ac_try) 2>&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); }; }; then
12922 eval "$as_ac_Header=yes"
12924 echo "$as_me: failed program was:" >&5
12925 sed 's/^/| /' conftest.
$ac_ext >&5
12927 eval "$as_ac_Header=no"
12929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12934 cat >>confdefs.h
<<_ACEOF
12935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12944 for ac_header
in stdlib.h
12946 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12948 echo "$as_me:$LINENO: checking for $ac_header" >&5
12949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12956 # Is the header compilable?
12957 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12958 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12959 cat >conftest.
$ac_ext <<_ACEOF
12962 cat confdefs.h
>>conftest.
$ac_ext
12963 cat >>conftest.
$ac_ext <<_ACEOF
12964 /* end confdefs.h. */
12965 $ac_includes_default
12966 #include <$ac_header>
12968 rm -f conftest.
$ac_objext
12969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12970 (eval $ac_compile) 2>conftest.er1
12972 grep -v '^ *+' conftest.er1
>conftest.err
12974 cat conftest.err
>&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); } &&
12977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12979 (eval $ac_try) 2>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; } &&
12983 { ac_try
='test -s conftest.$ac_objext'
12984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }; }; then
12989 ac_header_compiler
=yes
12991 echo "$as_me: failed program was:" >&5
12992 sed 's/^/| /' conftest.
$ac_ext >&5
12994 ac_header_compiler
=no
12996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12998 echo "${ECHO_T}$ac_header_compiler" >&6
13000 # Is the header present?
13001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13003 cat >conftest.
$ac_ext <<_ACEOF
13006 cat confdefs.h
>>conftest.
$ac_ext
13007 cat >>conftest.
$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13009 #include <$ac_header>
13011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13012 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13014 grep -v '^ *+' conftest.er1
>conftest.err
13016 cat conftest.err
>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); } >/dev
/null
; then
13019 if test -s conftest.err
; then
13020 ac_cpp_err
=$ac_c_preproc_warn_flag
13021 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13028 if test -z "$ac_cpp_err"; then
13029 ac_header_preproc
=yes
13031 echo "$as_me: failed program was:" >&5
13032 sed 's/^/| /' conftest.
$ac_ext >&5
13034 ac_header_preproc
=no
13036 rm -f conftest.err conftest.
$ac_ext
13037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13038 echo "${ECHO_T}$ac_header_preproc" >&6
13040 # So? What about this header?
13041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13047 ac_header_preproc
=yes
13050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13064 ## ----------------------------------------- ##
13065 ## Report this to wx-dev@lists.wxwidgets.org ##
13066 ## ----------------------------------------- ##
13069 sed "s/^/$as_me: WARNING: /" >&2
13072 echo "$as_me:$LINENO: checking for $ac_header" >&5
13073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13075 echo $ECHO_N "(cached) $ECHO_C" >&6
13077 eval "$as_ac_Header=\$ac_header_preproc"
13079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13084 cat >>confdefs.h
<<_ACEOF
13085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13093 for ac_header
in malloc.h
13095 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13097 echo "$as_me:$LINENO: checking for $ac_header" >&5
13098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13105 # Is the header compilable?
13106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13108 cat >conftest.
$ac_ext <<_ACEOF
13111 cat confdefs.h
>>conftest.
$ac_ext
13112 cat >>conftest.
$ac_ext <<_ACEOF
13113 /* end confdefs.h. */
13114 $ac_includes_default
13115 #include <$ac_header>
13117 rm -f conftest.
$ac_objext
13118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13119 (eval $ac_compile) 2>conftest.er1
13121 grep -v '^ *+' conftest.er1
>conftest.err
13123 cat conftest.err
>&5
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); } &&
13126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13128 (eval $ac_try) 2>&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); }; } &&
13132 { ac_try
='test -s conftest.$ac_objext'
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13134 (eval $ac_try) 2>&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; }; then
13138 ac_header_compiler
=yes
13140 echo "$as_me: failed program was:" >&5
13141 sed 's/^/| /' conftest.
$ac_ext >&5
13143 ac_header_compiler
=no
13145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13147 echo "${ECHO_T}$ac_header_compiler" >&6
13149 # Is the header present?
13150 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13152 cat >conftest.
$ac_ext <<_ACEOF
13155 cat confdefs.h
>>conftest.
$ac_ext
13156 cat >>conftest.
$ac_ext <<_ACEOF
13157 /* end confdefs.h. */
13158 #include <$ac_header>
13160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13161 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13163 grep -v '^ *+' conftest.er1
>conftest.err
13165 cat conftest.err
>&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); } >/dev
/null
; then
13168 if test -s conftest.err
; then
13169 ac_cpp_err
=$ac_c_preproc_warn_flag
13170 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13177 if test -z "$ac_cpp_err"; then
13178 ac_header_preproc
=yes
13180 echo "$as_me: failed program was:" >&5
13181 sed 's/^/| /' conftest.
$ac_ext >&5
13183 ac_header_preproc
=no
13185 rm -f conftest.err conftest.
$ac_ext
13186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13187 echo "${ECHO_T}$ac_header_preproc" >&6
13189 # So? What about this header?
13190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13192 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13193 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13195 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13196 ac_header_preproc
=yes
13199 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13200 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13201 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13202 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13203 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13204 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13205 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13206 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13208 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13209 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13210 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13213 ## ----------------------------------------- ##
13214 ## Report this to wx-dev@lists.wxwidgets.org ##
13215 ## ----------------------------------------- ##
13218 sed "s/^/$as_me: WARNING: /" >&2
13221 echo "$as_me:$LINENO: checking for $ac_header" >&5
13222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13224 echo $ECHO_N "(cached) $ECHO_C" >&6
13226 eval "$as_ac_Header=\$ac_header_preproc"
13228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13233 cat >>confdefs.h
<<_ACEOF
13234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13242 for ac_header
in unistd.h
13244 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13246 echo "$as_me:$LINENO: checking for $ac_header" >&5
13247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13254 # Is the header compilable?
13255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13257 cat >conftest.
$ac_ext <<_ACEOF
13260 cat confdefs.h
>>conftest.
$ac_ext
13261 cat >>conftest.
$ac_ext <<_ACEOF
13262 /* end confdefs.h. */
13263 $ac_includes_default
13264 #include <$ac_header>
13266 rm -f conftest.
$ac_objext
13267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13268 (eval $ac_compile) 2>conftest.er1
13270 grep -v '^ *+' conftest.er1
>conftest.err
13272 cat conftest.err
>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } &&
13275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 (eval $ac_try) 2>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; } &&
13281 { ac_try
='test -s conftest.$ac_objext'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; }; then
13287 ac_header_compiler
=yes
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.
$ac_ext >&5
13292 ac_header_compiler
=no
13294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13296 echo "${ECHO_T}$ac_header_compiler" >&6
13298 # Is the header present?
13299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13301 cat >conftest.
$ac_ext <<_ACEOF
13304 cat confdefs.h
>>conftest.
$ac_ext
13305 cat >>conftest.
$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13307 #include <$ac_header>
13309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13312 grep -v '^ *+' conftest.er1
>conftest.err
13314 cat conftest.err
>&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); } >/dev
/null
; then
13317 if test -s conftest.err
; then
13318 ac_cpp_err
=$ac_c_preproc_warn_flag
13319 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13326 if test -z "$ac_cpp_err"; then
13327 ac_header_preproc
=yes
13329 echo "$as_me: failed program was:" >&5
13330 sed 's/^/| /' conftest.
$ac_ext >&5
13332 ac_header_preproc
=no
13334 rm -f conftest.err conftest.
$ac_ext
13335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13336 echo "${ECHO_T}$ac_header_preproc" >&6
13338 # So? What about this header?
13339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13345 ac_header_preproc
=yes
13348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13352 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13354 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13355 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13358 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13362 ## ----------------------------------------- ##
13363 ## Report this to wx-dev@lists.wxwidgets.org ##
13364 ## ----------------------------------------- ##
13367 sed "s/^/$as_me: WARNING: /" >&2
13370 echo "$as_me:$LINENO: checking for $ac_header" >&5
13371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13373 echo $ECHO_N "(cached) $ECHO_C" >&6
13375 eval "$as_ac_Header=\$ac_header_preproc"
13377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13382 cat >>confdefs.h
<<_ACEOF
13383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13391 for ac_header
in wchar.h
13393 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13395 echo "$as_me:$LINENO: checking for $ac_header" >&5
13396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13403 # Is the header compilable?
13404 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13406 cat >conftest.
$ac_ext <<_ACEOF
13409 cat confdefs.h
>>conftest.
$ac_ext
13410 cat >>conftest.
$ac_ext <<_ACEOF
13411 /* end confdefs.h. */
13412 $ac_includes_default
13413 #include <$ac_header>
13415 rm -f conftest.
$ac_objext
13416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13417 (eval $ac_compile) 2>conftest.er1
13419 grep -v '^ *+' conftest.er1
>conftest.err
13421 cat conftest.err
>&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); } &&
13424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; } &&
13430 { ac_try
='test -s conftest.$ac_objext'
13431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13432 (eval $ac_try) 2>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); }; }; then
13436 ac_header_compiler
=yes
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.
$ac_ext >&5
13441 ac_header_compiler
=no
13443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13445 echo "${ECHO_T}$ac_header_compiler" >&6
13447 # Is the header present?
13448 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13450 cat >conftest.
$ac_ext <<_ACEOF
13453 cat confdefs.h
>>conftest.
$ac_ext
13454 cat >>conftest.
$ac_ext <<_ACEOF
13455 /* end confdefs.h. */
13456 #include <$ac_header>
13458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13461 grep -v '^ *+' conftest.er1
>conftest.err
13463 cat conftest.err
>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); } >/dev
/null
; then
13466 if test -s conftest.err
; then
13467 ac_cpp_err
=$ac_c_preproc_warn_flag
13468 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13475 if test -z "$ac_cpp_err"; then
13476 ac_header_preproc
=yes
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.
$ac_ext >&5
13481 ac_header_preproc
=no
13483 rm -f conftest.err conftest.
$ac_ext
13484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13485 echo "${ECHO_T}$ac_header_preproc" >&6
13487 # So? What about this header?
13488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13490 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13491 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13493 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13494 ac_header_preproc
=yes
13497 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13498 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13499 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13500 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13501 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13502 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13503 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13504 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13506 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13507 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13508 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13511 ## ----------------------------------------- ##
13512 ## Report this to wx-dev@lists.wxwidgets.org ##
13513 ## ----------------------------------------- ##
13516 sed "s/^/$as_me: WARNING: /" >&2
13519 echo "$as_me:$LINENO: checking for $ac_header" >&5
13520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13522 echo $ECHO_N "(cached) $ECHO_C" >&6
13524 eval "$as_ac_Header=\$ac_header_preproc"
13526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13531 cat >>confdefs.h
<<_ACEOF
13532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13540 if test "$ac_cv_header_wchar_h" != "yes"; then
13542 for ac_header
in wcstr.h
13544 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13546 echo "$as_me:$LINENO: checking for $ac_header" >&5
13547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13554 # Is the header compilable?
13555 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13557 cat >conftest.
$ac_ext <<_ACEOF
13560 cat confdefs.h
>>conftest.
$ac_ext
13561 cat >>conftest.
$ac_ext <<_ACEOF
13562 /* end confdefs.h. */
13563 $ac_includes_default
13564 #include <$ac_header>
13566 rm -f conftest.
$ac_objext
13567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13568 (eval $ac_compile) 2>conftest.er1
13570 grep -v '^ *+' conftest.er1
>conftest.err
13572 cat conftest.err
>&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); } &&
13575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13577 (eval $ac_try) 2>&5
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); }; } &&
13581 { ac_try
='test -s conftest.$ac_objext'
13582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13583 (eval $ac_try) 2>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); }; }; then
13587 ac_header_compiler
=yes
13589 echo "$as_me: failed program was:" >&5
13590 sed 's/^/| /' conftest.
$ac_ext >&5
13592 ac_header_compiler
=no
13594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13595 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13596 echo "${ECHO_T}$ac_header_compiler" >&6
13598 # Is the header present?
13599 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13600 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13601 cat >conftest.
$ac_ext <<_ACEOF
13604 cat confdefs.h
>>conftest.
$ac_ext
13605 cat >>conftest.
$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 #include <$ac_header>
13609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13610 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13612 grep -v '^ *+' conftest.er1
>conftest.err
13614 cat conftest.err
>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } >/dev
/null
; then
13617 if test -s conftest.err
; then
13618 ac_cpp_err
=$ac_c_preproc_warn_flag
13619 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13626 if test -z "$ac_cpp_err"; then
13627 ac_header_preproc
=yes
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.
$ac_ext >&5
13632 ac_header_preproc
=no
13634 rm -f conftest.err conftest.
$ac_ext
13635 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13636 echo "${ECHO_T}$ac_header_preproc" >&6
13638 # So? What about this header?
13639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13641 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13642 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13644 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13645 ac_header_preproc
=yes
13648 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13649 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13650 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13651 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13652 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13653 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13654 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13655 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13658 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13659 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13662 ## ----------------------------------------- ##
13663 ## Report this to wx-dev@lists.wxwidgets.org ##
13664 ## ----------------------------------------- ##
13667 sed "s/^/$as_me: WARNING: /" >&2
13670 echo "$as_me:$LINENO: checking for $ac_header" >&5
13671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13673 echo $ECHO_N "(cached) $ECHO_C" >&6
13675 eval "$as_ac_Header=\$ac_header_preproc"
13677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13682 cat >>confdefs.h
<<_ACEOF
13683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13693 for ac_header
in fnmatch.h
13695 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13697 echo "$as_me:$LINENO: checking for $ac_header" >&5
13698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13700 echo $ECHO_N "(cached) $ECHO_C" >&6
13702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13705 # Is the header compilable?
13706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13708 cat >conftest.
$ac_ext <<_ACEOF
13711 cat confdefs.h
>>conftest.
$ac_ext
13712 cat >>conftest.
$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13714 $ac_includes_default
13715 #include <$ac_header>
13717 rm -f conftest.
$ac_objext
13718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13719 (eval $ac_compile) 2>conftest.er1
13721 grep -v '^ *+' conftest.er1
>conftest.err
13723 cat conftest.err
>&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); } &&
13726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13728 (eval $ac_try) 2>&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); }; } &&
13732 { ac_try
='test -s conftest.$ac_objext'
13733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734 (eval $ac_try) 2>&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); }; }; then
13738 ac_header_compiler
=yes
13740 echo "$as_me: failed program was:" >&5
13741 sed 's/^/| /' conftest.
$ac_ext >&5
13743 ac_header_compiler
=no
13745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13746 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13747 echo "${ECHO_T}$ac_header_compiler" >&6
13749 # Is the header present?
13750 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13751 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13752 cat >conftest.
$ac_ext <<_ACEOF
13755 cat confdefs.h
>>conftest.
$ac_ext
13756 cat >>conftest.
$ac_ext <<_ACEOF
13757 /* end confdefs.h. */
13758 #include <$ac_header>
13760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13761 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13763 grep -v '^ *+' conftest.er1
>conftest.err
13765 cat conftest.err
>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); } >/dev
/null
; then
13768 if test -s conftest.err
; then
13769 ac_cpp_err
=$ac_c_preproc_warn_flag
13770 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13777 if test -z "$ac_cpp_err"; then
13778 ac_header_preproc
=yes
13780 echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.
$ac_ext >&5
13783 ac_header_preproc
=no
13785 rm -f conftest.err conftest.
$ac_ext
13786 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13787 echo "${ECHO_T}$ac_header_preproc" >&6
13789 # So? What about this header?
13790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13792 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13793 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13795 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13796 ac_header_preproc
=yes
13799 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13800 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13801 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13802 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13803 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13804 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13805 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13806 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13809 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13810 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13813 ## ----------------------------------------- ##
13814 ## Report this to wx-dev@lists.wxwidgets.org ##
13815 ## ----------------------------------------- ##
13818 sed "s/^/$as_me: WARNING: /" >&2
13821 echo "$as_me:$LINENO: checking for $ac_header" >&5
13822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13824 echo $ECHO_N "(cached) $ECHO_C" >&6
13826 eval "$as_ac_Header=\$ac_header_preproc"
13828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13829 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
13842 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13844 for ac_func
in fnmatch
13846 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13847 echo "$as_me:$LINENO: checking for $ac_func" >&5
13848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13849 if eval "test \"\${$as_ac_var+set}\" = set"; then
13850 echo $ECHO_N "(cached) $ECHO_C" >&6
13852 cat >conftest.
$ac_ext <<_ACEOF
13855 cat confdefs.h
>>conftest.
$ac_ext
13856 cat >>conftest.
$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13860 #define $ac_func innocuous_$ac_func
13862 /* System header to define __stub macros and hopefully few prototypes,
13863 which can conflict with char $ac_func (); below.
13864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13865 <limits.h> exists even on freestanding compilers. */
13868 # include <limits.h>
13870 # include <assert.h>
13875 /* Override any gcc2 internal prototype to avoid an error. */
13880 /* We use char because int might match the return type of a gcc2
13881 builtin and then its argument prototype would still apply. */
13883 /* The GNU C library defines this for functions which it implements
13884 to always fail with ENOSYS. Some functions are actually named
13885 something starting with __ and the normal name is an alias. */
13886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13889 char (*f) () = $ac_func;
13898 return f != $ac_func;
13903 rm -f conftest.
$ac_objext conftest
$ac_exeext
13904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13905 (eval $ac_link) 2>conftest.er1
13907 grep -v '^ *+' conftest.er1
>conftest.err
13909 cat conftest.err
>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); } &&
13912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914 (eval $ac_try) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }; } &&
13918 { ac_try
='test -s conftest$ac_exeext'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; }; then
13924 eval "$as_ac_var=yes"
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.
$ac_ext >&5
13929 eval "$as_ac_var=no"
13931 rm -f conftest.err conftest.
$ac_objext \
13932 conftest
$ac_exeext conftest.
$ac_ext
13934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13936 if test `eval echo '${'$as_ac_var'}'` = yes; then
13937 cat >>confdefs.h
<<_ACEOF
13938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13947 for ac_header
in langinfo.h
13949 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13951 echo "$as_me:$LINENO: checking for $ac_header" >&5
13952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13954 echo $ECHO_N "(cached) $ECHO_C" >&6
13956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13959 # Is the header compilable?
13960 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13962 cat >conftest.
$ac_ext <<_ACEOF
13965 cat confdefs.h
>>conftest.
$ac_ext
13966 cat >>conftest.
$ac_ext <<_ACEOF
13967 /* end confdefs.h. */
13968 $ac_includes_default
13969 #include <$ac_header>
13971 rm -f conftest.
$ac_objext
13972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13973 (eval $ac_compile) 2>conftest.er1
13975 grep -v '^ *+' conftest.er1
>conftest.err
13977 cat conftest.err
>&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); } &&
13980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13982 (eval $ac_try) 2>&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); }; } &&
13986 { ac_try
='test -s conftest.$ac_objext'
13987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13988 (eval $ac_try) 2>&5
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); }; }; then
13992 ac_header_compiler
=yes
13994 echo "$as_me: failed program was:" >&5
13995 sed 's/^/| /' conftest.
$ac_ext >&5
13997 ac_header_compiler
=no
13999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14001 echo "${ECHO_T}$ac_header_compiler" >&6
14003 # Is the header present?
14004 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14005 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14006 cat >conftest.
$ac_ext <<_ACEOF
14009 cat confdefs.h
>>conftest.
$ac_ext
14010 cat >>conftest.
$ac_ext <<_ACEOF
14011 /* end confdefs.h. */
14012 #include <$ac_header>
14014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14015 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14017 grep -v '^ *+' conftest.er1
>conftest.err
14019 cat conftest.err
>&5
14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 (exit $ac_status); } >/dev
/null
; then
14022 if test -s conftest.err
; then
14023 ac_cpp_err
=$ac_c_preproc_warn_flag
14024 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14031 if test -z "$ac_cpp_err"; then
14032 ac_header_preproc
=yes
14034 echo "$as_me: failed program was:" >&5
14035 sed 's/^/| /' conftest.
$ac_ext >&5
14037 ac_header_preproc
=no
14039 rm -f conftest.err conftest.
$ac_ext
14040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14041 echo "${ECHO_T}$ac_header_preproc" >&6
14043 # So? What about this header?
14044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14046 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14047 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14049 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14050 ac_header_preproc
=yes
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14057 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14058 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14059 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14060 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14062 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14063 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14064 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14067 ## ----------------------------------------- ##
14068 ## Report this to wx-dev@lists.wxwidgets.org ##
14069 ## ----------------------------------------- ##
14072 sed "s/^/$as_me: WARNING: /" >&2
14075 echo "$as_me:$LINENO: checking for $ac_header" >&5
14076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 eval "$as_ac_Header=\$ac_header_preproc"
14082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14087 cat >>confdefs.h
<<_ACEOF
14088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14097 *-pc-os2_emx | *-pc-os2-emx )
14098 if test $ac_cv_header_langinfo_h = "yes"; then
14099 LIBS
="$LIBS -lintl"
14104 if test "$wxUSE_GUI" = "yes"; then
14105 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14107 for ac_header
in X
11/Xlib.h
14109 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14111 echo "$as_me:$LINENO: checking for $ac_header" >&5
14112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14119 # Is the header compilable?
14120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14122 cat >conftest.
$ac_ext <<_ACEOF
14125 cat confdefs.h
>>conftest.
$ac_ext
14126 cat >>conftest.
$ac_ext <<_ACEOF
14127 /* end confdefs.h. */
14128 $ac_includes_default
14129 #include <$ac_header>
14131 rm -f conftest.
$ac_objext
14132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14133 (eval $ac_compile) 2>conftest.er1
14135 grep -v '^ *+' conftest.er1
>conftest.err
14137 cat conftest.err
>&5
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 (exit $ac_status); } &&
14140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142 (eval $ac_try) 2>&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }; } &&
14146 { ac_try
='test -s conftest.$ac_objext'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14152 ac_header_compiler
=yes
14154 echo "$as_me: failed program was:" >&5
14155 sed 's/^/| /' conftest.
$ac_ext >&5
14157 ac_header_compiler
=no
14159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14161 echo "${ECHO_T}$ac_header_compiler" >&6
14163 # Is the header present?
14164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14166 cat >conftest.
$ac_ext <<_ACEOF
14169 cat confdefs.h
>>conftest.
$ac_ext
14170 cat >>conftest.
$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172 #include <$ac_header>
14174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14175 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14177 grep -v '^ *+' conftest.er1
>conftest.err
14179 cat conftest.err
>&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); } >/dev
/null
; then
14182 if test -s conftest.err
; then
14183 ac_cpp_err
=$ac_c_preproc_warn_flag
14184 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14191 if test -z "$ac_cpp_err"; then
14192 ac_header_preproc
=yes
14194 echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.
$ac_ext >&5
14197 ac_header_preproc
=no
14199 rm -f conftest.err conftest.
$ac_ext
14200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14201 echo "${ECHO_T}$ac_header_preproc" >&6
14203 # So? What about this header?
14204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14210 ac_header_preproc
=yes
14213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14227 ## ----------------------------------------- ##
14228 ## Report this to wx-dev@lists.wxwidgets.org ##
14229 ## ----------------------------------------- ##
14232 sed "s/^/$as_me: WARNING: /" >&2
14235 echo "$as_me:$LINENO: checking for $ac_header" >&5
14236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14238 echo $ECHO_N "(cached) $ECHO_C" >&6
14240 eval "$as_ac_Header=\$ac_header_preproc"
14242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14247 cat >>confdefs.h
<<_ACEOF
14248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14256 for ac_header
in X
11/XKBlib.h
14258 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14259 echo "$as_me:$LINENO: checking for $ac_header" >&5
14260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14264 cat >conftest.
$ac_ext <<_ACEOF
14267 cat confdefs.h
>>conftest.
$ac_ext
14268 cat >>conftest.
$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14271 #if HAVE_X11_XLIB_H
14272 #include <X11/Xlib.h>
14276 #include <$ac_header>
14278 rm -f conftest.
$ac_objext
14279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14280 (eval $ac_compile) 2>conftest.er1
14282 grep -v '^ *+' conftest.er1
>conftest.err
14284 cat conftest.err
>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } &&
14287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; } &&
14293 { ac_try
='test -s conftest.$ac_objext'
14294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295 (eval $ac_try) 2>&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; }; then
14299 eval "$as_ac_Header=yes"
14301 echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.
$ac_ext >&5
14304 eval "$as_ac_Header=no"
14306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14310 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14311 cat >>confdefs.h
<<_ACEOF
14312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14323 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14324 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14325 if test "${ac_cv_c_const+set}" = set; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14328 cat >conftest.
$ac_ext <<_ACEOF
14331 cat confdefs.h
>>conftest.
$ac_ext
14332 cat >>conftest.
$ac_ext <<_ACEOF
14333 /* end confdefs.h. */
14338 /* FIXME: Include the comments suggested by Paul. */
14339 #ifndef __cplusplus
14340 /* Ultrix mips cc rejects this. */
14341 typedef int charset[2];
14343 /* SunOS 4.1.1 cc rejects this. */
14344 char const *const *ccp;
14346 /* NEC SVR4.0.2 mips cc rejects this. */
14347 struct point {int x, y;};
14348 static struct point const zero = {0,0};
14349 /* AIX XL C 1.02.0.0 rejects this.
14350 It does not let you subtract one const X* pointer from another in
14351 an arm of an if-expression whose if-part is not a constant
14353 const char *g = "string";
14354 ccp = &g + (g ? g-g : 0);
14355 /* HPUX 7.0 cc rejects these. */
14358 ccp = (char const *const *) p;
14359 { /* SCO 3.2v4 cc rejects this. */
14361 char const *s = 0 ? (char *) 0 : (char const *) 0;
14365 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14366 int x[] = {25, 17};
14367 const int *foo = &x[0];
14370 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14371 typedef const int *iptr;
14375 { /* AIX XL C 1.02.0.0 rejects this saying
14376 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14377 struct s { int j; const int *ap[3]; };
14378 struct s *b; b->j = 5;
14380 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14381 const int foo = 10;
14389 rm -f conftest.
$ac_objext
14390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14391 (eval $ac_compile) 2>conftest.er1
14393 grep -v '^ *+' conftest.er1
>conftest.err
14395 cat conftest.err
>&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); } &&
14398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14400 (eval $ac_try) 2>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); }; } &&
14404 { ac_try
='test -s conftest.$ac_objext'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; }; then
14412 echo "$as_me: failed program was:" >&5
14413 sed 's/^/| /' conftest.
$ac_ext >&5
14417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14419 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14420 echo "${ECHO_T}$ac_cv_c_const" >&6
14421 if test $ac_cv_c_const = no
; then
14423 cat >>confdefs.h
<<\_ACEOF
14429 echo "$as_me:$LINENO: checking for inline" >&5
14430 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14431 if test "${ac_cv_c_inline+set}" = set; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14435 for ac_kw
in inline __inline__ __inline
; do
14436 cat >conftest.
$ac_ext <<_ACEOF
14439 cat confdefs.h
>>conftest.
$ac_ext
14440 cat >>conftest.
$ac_ext <<_ACEOF
14441 /* end confdefs.h. */
14442 #ifndef __cplusplus
14444 static $ac_kw foo_t static_foo () {return 0; }
14445 $ac_kw foo_t foo () {return 0; }
14449 rm -f conftest.
$ac_objext
14450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14451 (eval $ac_compile) 2>conftest.er1
14453 grep -v '^ *+' conftest.er1
>conftest.err
14455 cat conftest.err
>&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } &&
14458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14460 (eval $ac_try) 2>&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); }; } &&
14464 { ac_try
='test -s conftest.$ac_objext'
14465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14466 (eval $ac_try) 2>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; }; then
14470 ac_cv_c_inline
=$ac_kw; break
14472 echo "$as_me: failed program was:" >&5
14473 sed 's/^/| /' conftest.
$ac_ext >&5
14476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14480 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14481 echo "${ECHO_T}$ac_cv_c_inline" >&6
14484 case $ac_cv_c_inline in
14487 case $ac_cv_c_inline in
14489 *) ac_val
=$ac_cv_c_inline;;
14491 cat >>confdefs.h
<<_ACEOF
14492 #ifndef __cplusplus
14493 #define inline $ac_val
14500 echo "$as_me:$LINENO: checking for char" >&5
14501 echo $ECHO_N "checking for char... $ECHO_C" >&6
14502 if test "${ac_cv_type_char+set}" = set; then
14503 echo $ECHO_N "(cached) $ECHO_C" >&6
14505 cat >conftest.
$ac_ext <<_ACEOF
14508 cat confdefs.h
>>conftest.
$ac_ext
14509 cat >>conftest.
$ac_ext <<_ACEOF
14510 /* end confdefs.h. */
14511 $ac_includes_default
14523 rm -f conftest.
$ac_objext
14524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14525 (eval $ac_compile) 2>conftest.er1
14527 grep -v '^ *+' conftest.er1
>conftest.err
14529 cat conftest.err
>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); } &&
14532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; } &&
14538 { ac_try
='test -s conftest.$ac_objext'
14539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540 (eval $ac_try) 2>&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); }; }; then
14544 ac_cv_type_char
=yes
14546 echo "$as_me: failed program was:" >&5
14547 sed 's/^/| /' conftest.
$ac_ext >&5
14551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14553 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14554 echo "${ECHO_T}$ac_cv_type_char" >&6
14556 echo "$as_me:$LINENO: checking size of char" >&5
14557 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14558 if test "${ac_cv_sizeof_char+set}" = set; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14561 if test "$ac_cv_type_char" = yes; then
14562 # The cast to unsigned long works around a bug in the HP C Compiler
14563 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14564 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14565 # This bug is HP SR number 8606223364.
14566 if test "$cross_compiling" = yes; then
14567 # Depending upon the size, compute the lo and hi bounds.
14568 cat >conftest.
$ac_ext <<_ACEOF
14571 cat confdefs.h
>>conftest.
$ac_ext
14572 cat >>conftest.
$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14574 $ac_includes_default
14578 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14585 rm -f conftest.
$ac_objext
14586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14587 (eval $ac_compile) 2>conftest.er1
14589 grep -v '^ *+' conftest.er1
>conftest.err
14591 cat conftest.err
>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } &&
14594 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; } &&
14600 { ac_try
='test -s conftest.$ac_objext'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); }; }; then
14608 cat >conftest.
$ac_ext <<_ACEOF
14611 cat confdefs.h
>>conftest.
$ac_ext
14612 cat >>conftest.
$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14614 $ac_includes_default
14618 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14625 rm -f conftest.
$ac_objext
14626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14627 (eval $ac_compile) 2>conftest.er1
14629 grep -v '^ *+' conftest.er1
>conftest.err
14631 cat conftest.err
>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } &&
14634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; } &&
14640 { ac_try
='test -s conftest.$ac_objext'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; }; then
14646 ac_hi
=$ac_mid; break
14648 echo "$as_me: failed program was:" >&5
14649 sed 's/^/| /' conftest.
$ac_ext >&5
14651 ac_lo
=`expr $ac_mid + 1`
14652 if test $ac_lo -le $ac_mid; then
14656 ac_mid
=`expr 2 '*' $ac_mid + 1`
14658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14661 echo "$as_me: failed program was:" >&5
14662 sed 's/^/| /' conftest.
$ac_ext >&5
14664 cat >conftest.
$ac_ext <<_ACEOF
14667 cat confdefs.h
>>conftest.
$ac_ext
14668 cat >>conftest.
$ac_ext <<_ACEOF
14669 /* end confdefs.h. */
14670 $ac_includes_default
14674 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14681 rm -f conftest.
$ac_objext
14682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14683 (eval $ac_compile) 2>conftest.er1
14685 grep -v '^ *+' conftest.er1
>conftest.err
14687 cat conftest.err
>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } &&
14690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; } &&
14696 { ac_try
='test -s conftest.$ac_objext'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; }; then
14704 cat >conftest.
$ac_ext <<_ACEOF
14707 cat confdefs.h
>>conftest.
$ac_ext
14708 cat >>conftest.
$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14710 $ac_includes_default
14714 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14721 rm -f conftest.
$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>conftest.er1
14725 grep -v '^ *+' conftest.er1
>conftest.err
14727 cat conftest.err
>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; } &&
14736 { ac_try
='test -s conftest.$ac_objext'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14742 ac_lo
=$ac_mid; break
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.
$ac_ext >&5
14747 ac_hi
=`expr '(' $ac_mid ')' - 1`
14748 if test $ac_mid -le $ac_hi; then
14752 ac_mid
=`expr 2 '*' $ac_mid`
14754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.
$ac_ext >&5
14762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14765 # Binary search between lo and hi bounds.
14766 while test "x$ac_lo" != "x$ac_hi"; do
14767 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14768 cat >conftest.
$ac_ext <<_ACEOF
14771 cat confdefs.h
>>conftest.
$ac_ext
14772 cat >>conftest.
$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 $ac_includes_default
14778 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14785 rm -f conftest.
$ac_objext
14786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14787 (eval $ac_compile) 2>conftest.er1
14789 grep -v '^ *+' conftest.er1
>conftest.err
14791 cat conftest.err
>&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); } &&
14794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14796 (eval $ac_try) 2>&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); }; } &&
14800 { ac_try
='test -s conftest.$ac_objext'
14801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14802 (eval $ac_try) 2>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; }; then
14808 echo "$as_me: failed program was:" >&5
14809 sed 's/^/| /' conftest.
$ac_ext >&5
14811 ac_lo
=`expr '(' $ac_mid ')' + 1`
14813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14816 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14817 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14818 See \`config.log' for more details." >&5
14819 echo "$as_me: error: cannot compute sizeof (char), 77
14820 See \`config.log' for more details." >&2;}
14821 { (exit 1); exit 1; }; } ;;
14824 if test "$cross_compiling" = yes; then
14825 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14826 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14827 { (exit 1); exit 1; }; }
14829 cat >conftest.
$ac_ext <<_ACEOF
14832 cat confdefs.h
>>conftest.
$ac_ext
14833 cat >>conftest.
$ac_ext <<_ACEOF
14834 /* end confdefs.h. */
14835 $ac_includes_default
14836 long longval () { return (long) (sizeof (char)); }
14837 unsigned long ulongval () { return (long) (sizeof (char)); }
14839 #include <stdlib.h>
14844 FILE *f = fopen ("conftest.val", "w");
14847 if (((long) (sizeof (char))) < 0)
14849 long i = longval ();
14850 if (i != ((long) (sizeof (char))))
14852 fprintf (f, "%ld\n", i);
14856 unsigned long i = ulongval ();
14857 if (i != ((long) (sizeof (char))))
14859 fprintf (f, "%lu\n", i);
14861 exit (ferror (f) || fclose (f) != 0);
14867 rm -f conftest
$ac_exeext
14868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14869 (eval $ac_link) 2>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874 (eval $ac_try) 2>&5
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; }; then
14878 ac_cv_sizeof_char
=`cat conftest.val`
14880 echo "$as_me: program exited with status $ac_status" >&5
14881 echo "$as_me: failed program was:" >&5
14882 sed 's/^/| /' conftest.
$ac_ext >&5
14884 ( exit $ac_status )
14885 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14886 See \`config.log' for more details." >&5
14887 echo "$as_me: error: cannot compute sizeof (char), 77
14888 See \`config.log' for more details." >&2;}
14889 { (exit 1); exit 1; }; }
14891 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14896 ac_cv_sizeof_char
=0
14899 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14900 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14901 cat >>confdefs.h
<<_ACEOF
14902 #define SIZEOF_CHAR $ac_cv_sizeof_char
14906 echo "$as_me:$LINENO: checking for short" >&5
14907 echo $ECHO_N "checking for short... $ECHO_C" >&6
14908 if test "${ac_cv_type_short+set}" = set; then
14909 echo $ECHO_N "(cached) $ECHO_C" >&6
14911 cat >conftest.
$ac_ext <<_ACEOF
14914 cat confdefs.h
>>conftest.
$ac_ext
14915 cat >>conftest.
$ac_ext <<_ACEOF
14916 /* end confdefs.h. */
14917 $ac_includes_default
14923 if (sizeof (short))
14929 rm -f conftest.
$ac_objext
14930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931 (eval $ac_compile) 2>conftest.er1
14933 grep -v '^ *+' conftest.er1
>conftest.err
14935 cat conftest.err
>&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); } &&
14938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14940 (eval $ac_try) 2>&5
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); }; } &&
14944 { ac_try
='test -s conftest.$ac_objext'
14945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14946 (eval $ac_try) 2>&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); }; }; then
14950 ac_cv_type_short
=yes
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.
$ac_ext >&5
14955 ac_cv_type_short
=no
14957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14959 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14960 echo "${ECHO_T}$ac_cv_type_short" >&6
14962 echo "$as_me:$LINENO: checking size of short" >&5
14963 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14964 if test "${ac_cv_sizeof_short+set}" = set; then
14965 echo $ECHO_N "(cached) $ECHO_C" >&6
14967 if test "$ac_cv_type_short" = yes; then
14968 # The cast to unsigned long works around a bug in the HP C Compiler
14969 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14970 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14971 # This bug is HP SR number 8606223364.
14972 if test "$cross_compiling" = yes; then
14973 # Depending upon the size, compute the lo and hi bounds.
14974 cat >conftest.
$ac_ext <<_ACEOF
14977 cat confdefs.h
>>conftest.
$ac_ext
14978 cat >>conftest.
$ac_ext <<_ACEOF
14979 /* end confdefs.h. */
14980 $ac_includes_default
14984 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14991 rm -f conftest.
$ac_objext
14992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14993 (eval $ac_compile) 2>conftest.er1
14995 grep -v '^ *+' conftest.er1
>conftest.err
14997 cat conftest.err
>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); } &&
15000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; } &&
15006 { ac_try
='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15014 cat >conftest.
$ac_ext <<_ACEOF
15017 cat confdefs.h
>>conftest.
$ac_ext
15018 cat >>conftest.
$ac_ext <<_ACEOF
15019 /* end confdefs.h. */
15020 $ac_includes_default
15024 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15031 rm -f conftest.
$ac_objext
15032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15033 (eval $ac_compile) 2>conftest.er1
15035 grep -v '^ *+' conftest.er1
>conftest.err
15037 cat conftest.err
>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); } &&
15040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; } &&
15046 { ac_try
='test -s conftest.$ac_objext'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15052 ac_hi
=$ac_mid; break
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.
$ac_ext >&5
15057 ac_lo
=`expr $ac_mid + 1`
15058 if test $ac_lo -le $ac_mid; then
15062 ac_mid
=`expr 2 '*' $ac_mid + 1`
15064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.
$ac_ext >&5
15070 cat >conftest.
$ac_ext <<_ACEOF
15073 cat confdefs.h
>>conftest.
$ac_ext
15074 cat >>conftest.
$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15076 $ac_includes_default
15080 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15087 rm -f conftest.
$ac_objext
15088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15089 (eval $ac_compile) 2>conftest.er1
15091 grep -v '^ *+' conftest.er1
>conftest.err
15093 cat conftest.err
>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; } &&
15102 { ac_try
='test -s conftest.$ac_objext'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; }; then
15110 cat >conftest.
$ac_ext <<_ACEOF
15113 cat confdefs.h
>>conftest.
$ac_ext
15114 cat >>conftest.
$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 $ac_includes_default
15120 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15127 rm -f conftest.
$ac_objext
15128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15129 (eval $ac_compile) 2>conftest.er1
15131 grep -v '^ *+' conftest.er1
>conftest.err
15133 cat conftest.err
>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } &&
15136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15138 (eval $ac_try) 2>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); }; } &&
15142 { ac_try
='test -s conftest.$ac_objext'
15143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15144 (eval $ac_try) 2>&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); }; }; then
15148 ac_lo
=$ac_mid; break
15150 echo "$as_me: failed program was:" >&5
15151 sed 's/^/| /' conftest.
$ac_ext >&5
15153 ac_hi
=`expr '(' $ac_mid ')' - 1`
15154 if test $ac_mid -le $ac_hi; then
15158 ac_mid
=`expr 2 '*' $ac_mid`
15160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.
$ac_ext >&5
15168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15171 # Binary search between lo and hi bounds.
15172 while test "x$ac_lo" != "x$ac_hi"; do
15173 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15174 cat >conftest.
$ac_ext <<_ACEOF
15177 cat confdefs.h
>>conftest.
$ac_ext
15178 cat >>conftest.
$ac_ext <<_ACEOF
15179 /* end confdefs.h. */
15180 $ac_includes_default
15184 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15191 rm -f conftest.
$ac_objext
15192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15193 (eval $ac_compile) 2>conftest.er1
15195 grep -v '^ *+' conftest.er1
>conftest.err
15197 cat conftest.err
>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); } &&
15200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202 (eval $ac_try) 2>&5
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); }; } &&
15206 { ac_try
='test -s conftest.$ac_objext'
15207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208 (eval $ac_try) 2>&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); }; }; then
15214 echo "$as_me: failed program was:" >&5
15215 sed 's/^/| /' conftest.
$ac_ext >&5
15217 ac_lo
=`expr '(' $ac_mid ')' + 1`
15219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15222 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15223 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15224 See \`config.log' for more details." >&5
15225 echo "$as_me: error: cannot compute sizeof (short), 77
15226 See \`config.log' for more details." >&2;}
15227 { (exit 1); exit 1; }; } ;;
15230 if test "$cross_compiling" = yes; then
15231 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15232 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15233 { (exit 1); exit 1; }; }
15235 cat >conftest.
$ac_ext <<_ACEOF
15238 cat confdefs.h
>>conftest.
$ac_ext
15239 cat >>conftest.
$ac_ext <<_ACEOF
15240 /* end confdefs.h. */
15241 $ac_includes_default
15242 long longval () { return (long) (sizeof (short)); }
15243 unsigned long ulongval () { return (long) (sizeof (short)); }
15245 #include <stdlib.h>
15250 FILE *f = fopen ("conftest.val", "w");
15253 if (((long) (sizeof (short))) < 0)
15255 long i = longval ();
15256 if (i != ((long) (sizeof (short))))
15258 fprintf (f, "%ld\n", i);
15262 unsigned long i = ulongval ();
15263 if (i != ((long) (sizeof (short))))
15265 fprintf (f, "%lu\n", i);
15267 exit (ferror (f) || fclose (f) != 0);
15273 rm -f conftest
$ac_exeext
15274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15275 (eval $ac_link) 2>&5
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15280 (eval $ac_try) 2>&5
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); }; }; then
15284 ac_cv_sizeof_short
=`cat conftest.val`
15286 echo "$as_me: program exited with status $ac_status" >&5
15287 echo "$as_me: failed program was:" >&5
15288 sed 's/^/| /' conftest.
$ac_ext >&5
15290 ( exit $ac_status )
15291 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15292 See \`config.log' for more details." >&5
15293 echo "$as_me: error: cannot compute sizeof (short), 77
15294 See \`config.log' for more details." >&2;}
15295 { (exit 1); exit 1; }; }
15297 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15302 ac_cv_sizeof_short
=0
15305 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15306 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15307 cat >>confdefs.h
<<_ACEOF
15308 #define SIZEOF_SHORT $ac_cv_sizeof_short
15312 echo "$as_me:$LINENO: checking for void *" >&5
15313 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15314 if test "${ac_cv_type_void_p+set}" = set; then
15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15317 cat >conftest.
$ac_ext <<_ACEOF
15320 cat confdefs.h
>>conftest.
$ac_ext
15321 cat >>conftest.
$ac_ext <<_ACEOF
15322 /* end confdefs.h. */
15323 $ac_includes_default
15329 if (sizeof (void *))
15335 rm -f conftest.
$ac_objext
15336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15337 (eval $ac_compile) 2>conftest.er1
15339 grep -v '^ *+' conftest.er1
>conftest.err
15341 cat conftest.err
>&5
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); } &&
15344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15346 (eval $ac_try) 2>&5
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); }; } &&
15350 { ac_try
='test -s conftest.$ac_objext'
15351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15352 (eval $ac_try) 2>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); }; }; then
15356 ac_cv_type_void_p
=yes
15358 echo "$as_me: failed program was:" >&5
15359 sed 's/^/| /' conftest.
$ac_ext >&5
15361 ac_cv_type_void_p
=no
15363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15365 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15366 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15368 echo "$as_me:$LINENO: checking size of void *" >&5
15369 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15370 if test "${ac_cv_sizeof_void_p+set}" = set; then
15371 echo $ECHO_N "(cached) $ECHO_C" >&6
15373 if test "$ac_cv_type_void_p" = yes; then
15374 # The cast to unsigned long works around a bug in the HP C Compiler
15375 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15376 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15377 # This bug is HP SR number 8606223364.
15378 if test "$cross_compiling" = yes; then
15379 # Depending upon the size, compute the lo and hi bounds.
15380 cat >conftest.
$ac_ext <<_ACEOF
15383 cat confdefs.h
>>conftest.
$ac_ext
15384 cat >>conftest.
$ac_ext <<_ACEOF
15385 /* end confdefs.h. */
15386 $ac_includes_default
15390 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15397 rm -f conftest.
$ac_objext
15398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15399 (eval $ac_compile) 2>conftest.er1
15401 grep -v '^ *+' conftest.er1
>conftest.err
15403 cat conftest.err
>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } &&
15406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15408 (eval $ac_try) 2>&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; } &&
15412 { ac_try
='test -s conftest.$ac_objext'
15413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15414 (eval $ac_try) 2>&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); }; }; then
15420 cat >conftest.
$ac_ext <<_ACEOF
15423 cat confdefs.h
>>conftest.
$ac_ext
15424 cat >>conftest.
$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15426 $ac_includes_default
15430 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15437 rm -f conftest.
$ac_objext
15438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15439 (eval $ac_compile) 2>conftest.er1
15441 grep -v '^ *+' conftest.er1
>conftest.err
15443 cat conftest.err
>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } &&
15446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; } &&
15452 { ac_try
='test -s conftest.$ac_objext'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; }; then
15458 ac_hi
=$ac_mid; break
15460 echo "$as_me: failed program was:" >&5
15461 sed 's/^/| /' conftest.
$ac_ext >&5
15463 ac_lo
=`expr $ac_mid + 1`
15464 if test $ac_lo -le $ac_mid; then
15468 ac_mid
=`expr 2 '*' $ac_mid + 1`
15470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15473 echo "$as_me: failed program was:" >&5
15474 sed 's/^/| /' conftest.
$ac_ext >&5
15476 cat >conftest.
$ac_ext <<_ACEOF
15479 cat confdefs.h
>>conftest.
$ac_ext
15480 cat >>conftest.
$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15482 $ac_includes_default
15486 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15493 rm -f conftest.
$ac_objext
15494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15495 (eval $ac_compile) 2>conftest.er1
15497 grep -v '^ *+' conftest.er1
>conftest.err
15499 cat conftest.err
>&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); } &&
15502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15508 { ac_try
='test -s conftest.$ac_objext'
15509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15510 (eval $ac_try) 2>&5
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); }; }; then
15516 cat >conftest.
$ac_ext <<_ACEOF
15519 cat confdefs.h
>>conftest.
$ac_ext
15520 cat >>conftest.
$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522 $ac_includes_default
15526 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15533 rm -f conftest.
$ac_objext
15534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15535 (eval $ac_compile) 2>conftest.er1
15537 grep -v '^ *+' conftest.er1
>conftest.err
15539 cat conftest.err
>&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); } &&
15542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15548 { ac_try
='test -s conftest.$ac_objext'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; }; then
15554 ac_lo
=$ac_mid; break
15556 echo "$as_me: failed program was:" >&5
15557 sed 's/^/| /' conftest.
$ac_ext >&5
15559 ac_hi
=`expr '(' $ac_mid ')' - 1`
15560 if test $ac_mid -le $ac_hi; then
15564 ac_mid
=`expr 2 '*' $ac_mid`
15566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.
$ac_ext >&5
15574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15577 # Binary search between lo and hi bounds.
15578 while test "x$ac_lo" != "x$ac_hi"; do
15579 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15580 cat >conftest.
$ac_ext <<_ACEOF
15583 cat confdefs.h
>>conftest.
$ac_ext
15584 cat >>conftest.
$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15586 $ac_includes_default
15590 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15597 rm -f conftest.
$ac_objext
15598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15599 (eval $ac_compile) 2>conftest.er1
15601 grep -v '^ *+' conftest.er1
>conftest.err
15603 cat conftest.err
>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15608 (eval $ac_try) 2>&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); }; } &&
15612 { ac_try
='test -s conftest.$ac_objext'
15613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614 (eval $ac_try) 2>&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }; }; then
15620 echo "$as_me: failed program was:" >&5
15621 sed 's/^/| /' conftest.
$ac_ext >&5
15623 ac_lo
=`expr '(' $ac_mid ')' + 1`
15625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15628 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15629 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15630 See \`config.log' for more details." >&5
15631 echo "$as_me: error: cannot compute sizeof (void *), 77
15632 See \`config.log' for more details." >&2;}
15633 { (exit 1); exit 1; }; } ;;
15636 if test "$cross_compiling" = yes; then
15637 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15638 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15639 { (exit 1); exit 1; }; }
15641 cat >conftest.
$ac_ext <<_ACEOF
15644 cat confdefs.h
>>conftest.
$ac_ext
15645 cat >>conftest.
$ac_ext <<_ACEOF
15646 /* end confdefs.h. */
15647 $ac_includes_default
15648 long longval () { return (long) (sizeof (void *)); }
15649 unsigned long ulongval () { return (long) (sizeof (void *)); }
15651 #include <stdlib.h>
15656 FILE *f = fopen ("conftest.val", "w");
15659 if (((long) (sizeof (void *))) < 0)
15661 long i = longval ();
15662 if (i != ((long) (sizeof (void *))))
15664 fprintf (f, "%ld\n", i);
15668 unsigned long i = ulongval ();
15669 if (i != ((long) (sizeof (void *))))
15671 fprintf (f, "%lu\n", i);
15673 exit (ferror (f) || fclose (f) != 0);
15679 rm -f conftest
$ac_exeext
15680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15681 (eval $ac_link) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15686 (eval $ac_try) 2>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }; }; then
15690 ac_cv_sizeof_void_p
=`cat conftest.val`
15692 echo "$as_me: program exited with status $ac_status" >&5
15693 echo "$as_me: failed program was:" >&5
15694 sed 's/^/| /' conftest.
$ac_ext >&5
15696 ( exit $ac_status )
15697 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15698 See \`config.log' for more details." >&5
15699 echo "$as_me: error: cannot compute sizeof (void *), 77
15700 See \`config.log' for more details." >&2;}
15701 { (exit 1); exit 1; }; }
15703 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15708 ac_cv_sizeof_void_p
=0
15711 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15712 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15713 cat >>confdefs.h
<<_ACEOF
15714 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15718 echo "$as_me:$LINENO: checking for int" >&5
15719 echo $ECHO_N "checking for int... $ECHO_C" >&6
15720 if test "${ac_cv_type_int+set}" = set; then
15721 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 cat >conftest.
$ac_ext <<_ACEOF
15726 cat confdefs.h
>>conftest.
$ac_ext
15727 cat >>conftest.
$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15729 $ac_includes_default
15741 rm -f conftest.
$ac_objext
15742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15743 (eval $ac_compile) 2>conftest.er1
15745 grep -v '^ *+' conftest.er1
>conftest.err
15747 cat conftest.err
>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); } &&
15750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15752 (eval $ac_try) 2>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); }; } &&
15756 { ac_try
='test -s conftest.$ac_objext'
15757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15758 (eval $ac_try) 2>&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); }; }; then
15764 echo "$as_me: failed program was:" >&5
15765 sed 's/^/| /' conftest.
$ac_ext >&5
15769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15771 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15772 echo "${ECHO_T}$ac_cv_type_int" >&6
15774 echo "$as_me:$LINENO: checking size of int" >&5
15775 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15776 if test "${ac_cv_sizeof_int+set}" = set; then
15777 echo $ECHO_N "(cached) $ECHO_C" >&6
15779 if test "$ac_cv_type_int" = yes; then
15780 # The cast to unsigned long works around a bug in the HP C Compiler
15781 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15782 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15783 # This bug is HP SR number 8606223364.
15784 if test "$cross_compiling" = yes; then
15785 # Depending upon the size, compute the lo and hi bounds.
15786 cat >conftest.
$ac_ext <<_ACEOF
15789 cat confdefs.h
>>conftest.
$ac_ext
15790 cat >>conftest.
$ac_ext <<_ACEOF
15791 /* end confdefs.h. */
15792 $ac_includes_default
15796 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15803 rm -f conftest.
$ac_objext
15804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15805 (eval $ac_compile) 2>conftest.er1
15807 grep -v '^ *+' conftest.er1
>conftest.err
15809 cat conftest.err
>&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); } &&
15812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; } &&
15818 { ac_try
='test -s conftest.$ac_objext'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; }; then
15826 cat >conftest.
$ac_ext <<_ACEOF
15829 cat confdefs.h
>>conftest.
$ac_ext
15830 cat >>conftest.
$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15832 $ac_includes_default
15836 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15843 rm -f conftest.
$ac_objext
15844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15845 (eval $ac_compile) 2>conftest.er1
15847 grep -v '^ *+' conftest.er1
>conftest.err
15849 cat conftest.err
>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); } &&
15852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15854 (eval $ac_try) 2>&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); }; } &&
15858 { ac_try
='test -s conftest.$ac_objext'
15859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15860 (eval $ac_try) 2>&5
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); }; }; then
15864 ac_hi
=$ac_mid; break
15866 echo "$as_me: failed program was:" >&5
15867 sed 's/^/| /' conftest.
$ac_ext >&5
15869 ac_lo
=`expr $ac_mid + 1`
15870 if test $ac_lo -le $ac_mid; then
15874 ac_mid
=`expr 2 '*' $ac_mid + 1`
15876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.
$ac_ext >&5
15882 cat >conftest.
$ac_ext <<_ACEOF
15885 cat confdefs.h
>>conftest.
$ac_ext
15886 cat >>conftest.
$ac_ext <<_ACEOF
15887 /* end confdefs.h. */
15888 $ac_includes_default
15892 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15899 rm -f conftest.
$ac_objext
15900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15901 (eval $ac_compile) 2>conftest.er1
15903 grep -v '^ *+' conftest.er1
>conftest.err
15905 cat conftest.err
>&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); } &&
15908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15914 { ac_try
='test -s conftest.$ac_objext'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; }; then
15922 cat >conftest.
$ac_ext <<_ACEOF
15925 cat confdefs.h
>>conftest.
$ac_ext
15926 cat >>conftest.
$ac_ext <<_ACEOF
15927 /* end confdefs.h. */
15928 $ac_includes_default
15932 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15939 rm -f conftest.
$ac_objext
15940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15941 (eval $ac_compile) 2>conftest.er1
15943 grep -v '^ *+' conftest.er1
>conftest.err
15945 cat conftest.err
>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); } &&
15948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15954 { ac_try
='test -s conftest.$ac_objext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15960 ac_lo
=$ac_mid; break
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.
$ac_ext >&5
15965 ac_hi
=`expr '(' $ac_mid ')' - 1`
15966 if test $ac_mid -le $ac_hi; then
15970 ac_mid
=`expr 2 '*' $ac_mid`
15972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.
$ac_ext >&5
15980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15983 # Binary search between lo and hi bounds.
15984 while test "x$ac_lo" != "x$ac_hi"; do
15985 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15986 cat >conftest.
$ac_ext <<_ACEOF
15989 cat confdefs.h
>>conftest.
$ac_ext
15990 cat >>conftest.
$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
15992 $ac_includes_default
15996 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16003 rm -f conftest.
$ac_objext
16004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16005 (eval $ac_compile) 2>conftest.er1
16007 grep -v '^ *+' conftest.er1
>conftest.err
16009 cat conftest.err
>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); } &&
16012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16014 (eval $ac_try) 2>&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); }; } &&
16018 { ac_try
='test -s conftest.$ac_objext'
16019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16020 (eval $ac_try) 2>&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); }; }; then
16026 echo "$as_me: failed program was:" >&5
16027 sed 's/^/| /' conftest.
$ac_ext >&5
16029 ac_lo
=`expr '(' $ac_mid ')' + 1`
16031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16034 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16035 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16036 See \`config.log' for more details." >&5
16037 echo "$as_me: error: cannot compute sizeof (int), 77
16038 See \`config.log' for more details." >&2;}
16039 { (exit 1); exit 1; }; } ;;
16042 if test "$cross_compiling" = yes; then
16043 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16044 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16045 { (exit 1); exit 1; }; }
16047 cat >conftest.
$ac_ext <<_ACEOF
16050 cat confdefs.h
>>conftest.
$ac_ext
16051 cat >>conftest.
$ac_ext <<_ACEOF
16052 /* end confdefs.h. */
16053 $ac_includes_default
16054 long longval () { return (long) (sizeof (int)); }
16055 unsigned long ulongval () { return (long) (sizeof (int)); }
16057 #include <stdlib.h>
16062 FILE *f = fopen ("conftest.val", "w");
16065 if (((long) (sizeof (int))) < 0)
16067 long i = longval ();
16068 if (i != ((long) (sizeof (int))))
16070 fprintf (f, "%ld\n", i);
16074 unsigned long i = ulongval ();
16075 if (i != ((long) (sizeof (int))))
16077 fprintf (f, "%lu\n", i);
16079 exit (ferror (f) || fclose (f) != 0);
16085 rm -f conftest
$ac_exeext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16087 (eval $ac_link) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16096 ac_cv_sizeof_int
=`cat conftest.val`
16098 echo "$as_me: program exited with status $ac_status" >&5
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.
$ac_ext >&5
16102 ( exit $ac_status )
16103 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16104 See \`config.log' for more details." >&5
16105 echo "$as_me: error: cannot compute sizeof (int), 77
16106 See \`config.log' for more details." >&2;}
16107 { (exit 1); exit 1; }; }
16109 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16117 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16118 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16119 cat >>confdefs.h
<<_ACEOF
16120 #define SIZEOF_INT $ac_cv_sizeof_int
16124 echo "$as_me:$LINENO: checking for long" >&5
16125 echo $ECHO_N "checking for long... $ECHO_C" >&6
16126 if test "${ac_cv_type_long+set}" = set; then
16127 echo $ECHO_N "(cached) $ECHO_C" >&6
16129 cat >conftest.
$ac_ext <<_ACEOF
16132 cat confdefs.h
>>conftest.
$ac_ext
16133 cat >>conftest.
$ac_ext <<_ACEOF
16134 /* end confdefs.h. */
16135 $ac_includes_default
16147 rm -f conftest.
$ac_objext
16148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16149 (eval $ac_compile) 2>conftest.er1
16151 grep -v '^ *+' conftest.er1
>conftest.err
16153 cat conftest.err
>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); } &&
16156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; } &&
16162 { ac_try
='test -s conftest.$ac_objext'
16163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16164 (eval $ac_try) 2>&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; }; then
16168 ac_cv_type_long
=yes
16170 echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.
$ac_ext >&5
16175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16177 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16178 echo "${ECHO_T}$ac_cv_type_long" >&6
16180 echo "$as_me:$LINENO: checking size of long" >&5
16181 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16182 if test "${ac_cv_sizeof_long+set}" = set; then
16183 echo $ECHO_N "(cached) $ECHO_C" >&6
16185 if test "$ac_cv_type_long" = yes; then
16186 # The cast to unsigned long works around a bug in the HP C Compiler
16187 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16188 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16189 # This bug is HP SR number 8606223364.
16190 if test "$cross_compiling" = yes; then
16191 # Depending upon the size, compute the lo and hi bounds.
16192 cat >conftest.
$ac_ext <<_ACEOF
16195 cat confdefs.h
>>conftest.
$ac_ext
16196 cat >>conftest.
$ac_ext <<_ACEOF
16197 /* end confdefs.h. */
16198 $ac_includes_default
16202 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16209 rm -f conftest.
$ac_objext
16210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16211 (eval $ac_compile) 2>conftest.er1
16213 grep -v '^ *+' conftest.er1
>conftest.err
16215 cat conftest.err
>&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); } &&
16218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220 (eval $ac_try) 2>&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); }; } &&
16224 { ac_try
='test -s conftest.$ac_objext'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; }; then
16232 cat >conftest.
$ac_ext <<_ACEOF
16235 cat confdefs.h
>>conftest.
$ac_ext
16236 cat >>conftest.
$ac_ext <<_ACEOF
16237 /* end confdefs.h. */
16238 $ac_includes_default
16242 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16249 rm -f conftest.
$ac_objext
16250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16251 (eval $ac_compile) 2>conftest.er1
16253 grep -v '^ *+' conftest.er1
>conftest.err
16255 cat conftest.err
>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } &&
16258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260 (eval $ac_try) 2>&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); }; } &&
16264 { ac_try
='test -s conftest.$ac_objext'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; }; then
16270 ac_hi
=$ac_mid; break
16272 echo "$as_me: failed program was:" >&5
16273 sed 's/^/| /' conftest.
$ac_ext >&5
16275 ac_lo
=`expr $ac_mid + 1`
16276 if test $ac_lo -le $ac_mid; then
16280 ac_mid
=`expr 2 '*' $ac_mid + 1`
16282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16285 echo "$as_me: failed program was:" >&5
16286 sed 's/^/| /' conftest.
$ac_ext >&5
16288 cat >conftest.
$ac_ext <<_ACEOF
16291 cat confdefs.h
>>conftest.
$ac_ext
16292 cat >>conftest.
$ac_ext <<_ACEOF
16293 /* end confdefs.h. */
16294 $ac_includes_default
16298 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16305 rm -f conftest.
$ac_objext
16306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16307 (eval $ac_compile) 2>conftest.er1
16309 grep -v '^ *+' conftest.er1
>conftest.err
16311 cat conftest.err
>&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); } &&
16314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16320 { ac_try
='test -s conftest.$ac_objext'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; }; then
16328 cat >conftest.
$ac_ext <<_ACEOF
16331 cat confdefs.h
>>conftest.
$ac_ext
16332 cat >>conftest.
$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16334 $ac_includes_default
16338 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16345 rm -f conftest.
$ac_objext
16346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16347 (eval $ac_compile) 2>conftest.er1
16349 grep -v '^ *+' conftest.er1
>conftest.err
16351 cat conftest.err
>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } &&
16354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16360 { ac_try
='test -s conftest.$ac_objext'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; }; then
16366 ac_lo
=$ac_mid; break
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.
$ac_ext >&5
16371 ac_hi
=`expr '(' $ac_mid ')' - 1`
16372 if test $ac_mid -le $ac_hi; then
16376 ac_mid
=`expr 2 '*' $ac_mid`
16378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.
$ac_ext >&5
16386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16389 # Binary search between lo and hi bounds.
16390 while test "x$ac_lo" != "x$ac_hi"; do
16391 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16392 cat >conftest.
$ac_ext <<_ACEOF
16395 cat confdefs.h
>>conftest.
$ac_ext
16396 cat >>conftest.
$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 $ac_includes_default
16402 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16409 rm -f conftest.
$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>conftest.er1
16413 grep -v '^ *+' conftest.er1
>conftest.err
16415 cat conftest.err
>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } &&
16418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16420 (eval $ac_try) 2>&5
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); }; } &&
16424 { ac_try
='test -s conftest.$ac_objext'
16425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16426 (eval $ac_try) 2>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); }; }; then
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.
$ac_ext >&5
16435 ac_lo
=`expr '(' $ac_mid ')' + 1`
16437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16440 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16441 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16442 See \`config.log' for more details." >&5
16443 echo "$as_me: error: cannot compute sizeof (long), 77
16444 See \`config.log' for more details." >&2;}
16445 { (exit 1); exit 1; }; } ;;
16448 if test "$cross_compiling" = yes; then
16449 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16450 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16451 { (exit 1); exit 1; }; }
16453 cat >conftest.
$ac_ext <<_ACEOF
16456 cat confdefs.h
>>conftest.
$ac_ext
16457 cat >>conftest.
$ac_ext <<_ACEOF
16458 /* end confdefs.h. */
16459 $ac_includes_default
16460 long longval () { return (long) (sizeof (long)); }
16461 unsigned long ulongval () { return (long) (sizeof (long)); }
16463 #include <stdlib.h>
16468 FILE *f = fopen ("conftest.val", "w");
16471 if (((long) (sizeof (long))) < 0)
16473 long i = longval ();
16474 if (i != ((long) (sizeof (long))))
16476 fprintf (f, "%ld\n", i);
16480 unsigned long i = ulongval ();
16481 if (i != ((long) (sizeof (long))))
16483 fprintf (f, "%lu\n", i);
16485 exit (ferror (f) || fclose (f) != 0);
16491 rm -f conftest
$ac_exeext
16492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16493 (eval $ac_link) 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; }; then
16502 ac_cv_sizeof_long
=`cat conftest.val`
16504 echo "$as_me: program exited with status $ac_status" >&5
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.
$ac_ext >&5
16508 ( exit $ac_status )
16509 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16510 See \`config.log' for more details." >&5
16511 echo "$as_me: error: cannot compute sizeof (long), 77
16512 See \`config.log' for more details." >&2;}
16513 { (exit 1); exit 1; }; }
16515 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16520 ac_cv_sizeof_long
=0
16523 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16524 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16525 cat >>confdefs.h
<<_ACEOF
16526 #define SIZEOF_LONG $ac_cv_sizeof_long
16530 echo "$as_me:$LINENO: checking for size_t" >&5
16531 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16532 if test "${ac_cv_type_size_t+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16535 cat >conftest.
$ac_ext <<_ACEOF
16538 cat confdefs.h
>>conftest.
$ac_ext
16539 cat >>conftest.
$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16541 $ac_includes_default
16547 if (sizeof (size_t))
16553 rm -f conftest.
$ac_objext
16554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16555 (eval $ac_compile) 2>conftest.er1
16557 grep -v '^ *+' conftest.er1
>conftest.err
16559 cat conftest.err
>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } &&
16562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; } &&
16568 { ac_try
='test -s conftest.$ac_objext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 ac_cv_type_size_t
=yes
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.
$ac_ext >&5
16579 ac_cv_type_size_t
=no
16581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16583 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16584 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16586 echo "$as_me:$LINENO: checking size of size_t" >&5
16587 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16588 if test "${ac_cv_sizeof_size_t+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16591 if test "$ac_cv_type_size_t" = yes; then
16592 # The cast to unsigned long works around a bug in the HP C Compiler
16593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16595 # This bug is HP SR number 8606223364.
16596 if test "$cross_compiling" = yes; then
16597 # Depending upon the size, compute the lo and hi bounds.
16598 cat >conftest.
$ac_ext <<_ACEOF
16601 cat confdefs.h
>>conftest.
$ac_ext
16602 cat >>conftest.
$ac_ext <<_ACEOF
16603 /* end confdefs.h. */
16604 $ac_includes_default
16608 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16615 rm -f conftest.
$ac_objext
16616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16617 (eval $ac_compile) 2>conftest.er1
16619 grep -v '^ *+' conftest.er1
>conftest.err
16621 cat conftest.err
>&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } &&
16624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; } &&
16630 { ac_try
='test -s conftest.$ac_objext'
16631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16632 (eval $ac_try) 2>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; }; then
16638 cat >conftest.
$ac_ext <<_ACEOF
16641 cat confdefs.h
>>conftest.
$ac_ext
16642 cat >>conftest.
$ac_ext <<_ACEOF
16643 /* end confdefs.h. */
16644 $ac_includes_default
16648 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16655 rm -f conftest.
$ac_objext
16656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16657 (eval $ac_compile) 2>conftest.er1
16659 grep -v '^ *+' conftest.er1
>conftest.err
16661 cat conftest.err
>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } &&
16664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666 (eval $ac_try) 2>&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; } &&
16670 { ac_try
='test -s conftest.$ac_objext'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 ac_hi
=$ac_mid; break
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.
$ac_ext >&5
16681 ac_lo
=`expr $ac_mid + 1`
16682 if test $ac_lo -le $ac_mid; then
16686 ac_mid
=`expr 2 '*' $ac_mid + 1`
16688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16691 echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.
$ac_ext >&5
16694 cat >conftest.
$ac_ext <<_ACEOF
16697 cat confdefs.h
>>conftest.
$ac_ext
16698 cat >>conftest.
$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 $ac_includes_default
16704 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16711 rm -f conftest.
$ac_objext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16713 (eval $ac_compile) 2>conftest.er1
16715 grep -v '^ *+' conftest.er1
>conftest.err
16717 cat conftest.err
>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } &&
16720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16726 { ac_try
='test -s conftest.$ac_objext'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; }; then
16734 cat >conftest.
$ac_ext <<_ACEOF
16737 cat confdefs.h
>>conftest.
$ac_ext
16738 cat >>conftest.
$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16740 $ac_includes_default
16744 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16751 rm -f conftest.
$ac_objext
16752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16753 (eval $ac_compile) 2>conftest.er1
16755 grep -v '^ *+' conftest.er1
>conftest.err
16757 cat conftest.err
>&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); } &&
16760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16766 { ac_try
='test -s conftest.$ac_objext'
16767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16768 (eval $ac_try) 2>&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); }; }; then
16772 ac_lo
=$ac_mid; break
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.
$ac_ext >&5
16777 ac_hi
=`expr '(' $ac_mid ')' - 1`
16778 if test $ac_mid -le $ac_hi; then
16782 ac_mid
=`expr 2 '*' $ac_mid`
16784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.
$ac_ext >&5
16792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16795 # Binary search between lo and hi bounds.
16796 while test "x$ac_lo" != "x$ac_hi"; do
16797 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16798 cat >conftest.
$ac_ext <<_ACEOF
16801 cat confdefs.h
>>conftest.
$ac_ext
16802 cat >>conftest.
$ac_ext <<_ACEOF
16803 /* end confdefs.h. */
16804 $ac_includes_default
16808 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16815 rm -f conftest.
$ac_objext
16816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16817 (eval $ac_compile) 2>conftest.er1
16819 grep -v '^ *+' conftest.er1
>conftest.err
16821 cat conftest.err
>&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } &&
16824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16826 (eval $ac_try) 2>&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); }; } &&
16830 { ac_try
='test -s conftest.$ac_objext'
16831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16832 (eval $ac_try) 2>&5
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); }; }; then
16838 echo "$as_me: failed program was:" >&5
16839 sed 's/^/| /' conftest.
$ac_ext >&5
16841 ac_lo
=`expr '(' $ac_mid ')' + 1`
16843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16846 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16847 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16848 See \`config.log' for more details." >&5
16849 echo "$as_me: error: cannot compute sizeof (size_t), 77
16850 See \`config.log' for more details." >&2;}
16851 { (exit 1); exit 1; }; } ;;
16854 if test "$cross_compiling" = yes; then
16855 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16856 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16857 { (exit 1); exit 1; }; }
16859 cat >conftest.
$ac_ext <<_ACEOF
16862 cat confdefs.h
>>conftest.
$ac_ext
16863 cat >>conftest.
$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 $ac_includes_default
16866 long longval () { return (long) (sizeof (size_t)); }
16867 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16869 #include <stdlib.h>
16874 FILE *f = fopen ("conftest.val", "w");
16877 if (((long) (sizeof (size_t))) < 0)
16879 long i = longval ();
16880 if (i != ((long) (sizeof (size_t))))
16882 fprintf (f, "%ld\n", i);
16886 unsigned long i = ulongval ();
16887 if (i != ((long) (sizeof (size_t))))
16889 fprintf (f, "%lu\n", i);
16891 exit (ferror (f) || fclose (f) != 0);
16897 rm -f conftest
$ac_exeext
16898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16899 (eval $ac_link) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16904 (eval $ac_try) 2>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); }; }; then
16908 ac_cv_sizeof_size_t
=`cat conftest.val`
16910 echo "$as_me: program exited with status $ac_status" >&5
16911 echo "$as_me: failed program was:" >&5
16912 sed 's/^/| /' conftest.
$ac_ext >&5
16914 ( exit $ac_status )
16915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16916 See \`config.log' for more details." >&5
16917 echo "$as_me: error: cannot compute sizeof (size_t), 77
16918 See \`config.log' for more details." >&2;}
16919 { (exit 1); exit 1; }; }
16921 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16926 ac_cv_sizeof_size_t
=0
16929 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16930 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16931 cat >>confdefs.h
<<_ACEOF
16932 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16939 echo "$as_me:$LINENO: checking for long long" >&5
16940 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16941 if test "${ac_cv_type_long_long+set}" = set; then
16942 echo $ECHO_N "(cached) $ECHO_C" >&6
16944 cat >conftest.
$ac_ext <<_ACEOF
16947 cat confdefs.h
>>conftest.
$ac_ext
16948 cat >>conftest.
$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 $ac_includes_default
16954 if ((long long *) 0)
16956 if (sizeof (long long))
16962 rm -f conftest.
$ac_objext
16963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16964 (eval $ac_compile) 2>conftest.er1
16966 grep -v '^ *+' conftest.er1
>conftest.err
16968 cat conftest.err
>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } &&
16971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973 (eval $ac_try) 2>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; } &&
16977 { ac_try
='test -s conftest.$ac_objext'
16978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979 (eval $ac_try) 2>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }; }; then
16983 ac_cv_type_long_long
=yes
16985 echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.
$ac_ext >&5
16988 ac_cv_type_long_long
=no
16990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16992 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16993 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16995 echo "$as_me:$LINENO: checking size of long long" >&5
16996 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16997 if test "${ac_cv_sizeof_long_long+set}" = set; then
16998 echo $ECHO_N "(cached) $ECHO_C" >&6
17000 if test "$ac_cv_type_long_long" = yes; then
17001 # The cast to unsigned long works around a bug in the HP C Compiler
17002 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17003 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17004 # This bug is HP SR number 8606223364.
17005 if test "$cross_compiling" = yes; then
17006 # Depending upon the size, compute the lo and hi bounds.
17007 cat >conftest.
$ac_ext <<_ACEOF
17010 cat confdefs.h
>>conftest.
$ac_ext
17011 cat >>conftest.
$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17013 $ac_includes_default
17017 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17024 rm -f conftest.
$ac_objext
17025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17026 (eval $ac_compile) 2>conftest.er1
17028 grep -v '^ *+' conftest.er1
>conftest.err
17030 cat conftest.err
>&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } &&
17033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; } &&
17039 { ac_try
='test -s conftest.$ac_objext'
17040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17041 (eval $ac_try) 2>&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); }; }; then
17047 cat >conftest.
$ac_ext <<_ACEOF
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 $ac_includes_default
17057 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17064 rm -f conftest.
$ac_objext
17065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17066 (eval $ac_compile) 2>conftest.er1
17068 grep -v '^ *+' conftest.er1
>conftest.err
17070 cat conftest.err
>&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); } &&
17073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075 (eval $ac_try) 2>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; } &&
17079 { ac_try
='test -s conftest.$ac_objext'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; }; then
17085 ac_hi
=$ac_mid; break
17087 echo "$as_me: failed program was:" >&5
17088 sed 's/^/| /' conftest.
$ac_ext >&5
17090 ac_lo
=`expr $ac_mid + 1`
17091 if test $ac_lo -le $ac_mid; then
17095 ac_mid
=`expr 2 '*' $ac_mid + 1`
17097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.
$ac_ext >&5
17103 cat >conftest.
$ac_ext <<_ACEOF
17106 cat confdefs.h
>>conftest.
$ac_ext
17107 cat >>conftest.
$ac_ext <<_ACEOF
17108 /* end confdefs.h. */
17109 $ac_includes_default
17113 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17120 rm -f conftest.
$ac_objext
17121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17122 (eval $ac_compile) 2>conftest.er1
17124 grep -v '^ *+' conftest.er1
>conftest.err
17126 cat conftest.err
>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } &&
17129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17131 (eval $ac_try) 2>&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); }; } &&
17135 { ac_try
='test -s conftest.$ac_objext'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; }; then
17143 cat >conftest.
$ac_ext <<_ACEOF
17146 cat confdefs.h
>>conftest.
$ac_ext
17147 cat >>conftest.
$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17149 $ac_includes_default
17153 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17160 rm -f conftest.
$ac_objext
17161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17162 (eval $ac_compile) 2>conftest.er1
17164 grep -v '^ *+' conftest.er1
>conftest.err
17166 cat conftest.err
>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); } &&
17169 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171 (eval $ac_try) 2>&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); }; } &&
17175 { ac_try
='test -s conftest.$ac_objext'
17176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17177 (eval $ac_try) 2>&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); }; }; then
17181 ac_lo
=$ac_mid; break
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.
$ac_ext >&5
17186 ac_hi
=`expr '(' $ac_mid ')' - 1`
17187 if test $ac_mid -le $ac_hi; then
17191 ac_mid
=`expr 2 '*' $ac_mid`
17193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.
$ac_ext >&5
17201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17204 # Binary search between lo and hi bounds.
17205 while test "x$ac_lo" != "x$ac_hi"; do
17206 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17207 cat >conftest.
$ac_ext <<_ACEOF
17210 cat confdefs.h
>>conftest.
$ac_ext
17211 cat >>conftest.
$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17213 $ac_includes_default
17217 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17224 rm -f conftest.
$ac_objext
17225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17226 (eval $ac_compile) 2>conftest.er1
17228 grep -v '^ *+' conftest.er1
>conftest.err
17230 cat conftest.err
>&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); } &&
17233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235 (eval $ac_try) 2>&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); }; } &&
17239 { ac_try
='test -s conftest.$ac_objext'
17240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17241 (eval $ac_try) 2>&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); }; }; then
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.
$ac_ext >&5
17250 ac_lo
=`expr '(' $ac_mid ')' + 1`
17252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17255 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17256 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17257 See \`config.log' for more details." >&5
17258 echo "$as_me: error: cannot compute sizeof (long long), 77
17259 See \`config.log' for more details." >&2;}
17260 { (exit 1); exit 1; }; } ;;
17263 if test "$cross_compiling" = yes; then
17264 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17265 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17266 { (exit 1); exit 1; }; }
17268 cat >conftest.
$ac_ext <<_ACEOF
17271 cat confdefs.h
>>conftest.
$ac_ext
17272 cat >>conftest.
$ac_ext <<_ACEOF
17273 /* end confdefs.h. */
17274 $ac_includes_default
17275 long longval () { return (long) (sizeof (long long)); }
17276 unsigned long ulongval () { return (long) (sizeof (long long)); }
17278 #include <stdlib.h>
17283 FILE *f = fopen ("conftest.val", "w");
17286 if (((long) (sizeof (long long))) < 0)
17288 long i = longval ();
17289 if (i != ((long) (sizeof (long long))))
17291 fprintf (f, "%ld\n", i);
17295 unsigned long i = ulongval ();
17296 if (i != ((long) (sizeof (long long))))
17298 fprintf (f, "%lu\n", i);
17300 exit (ferror (f) || fclose (f) != 0);
17306 rm -f conftest
$ac_exeext
17307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17308 (eval $ac_link) 2>&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17313 (eval $ac_try) 2>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; }; then
17317 ac_cv_sizeof_long_long
=`cat conftest.val`
17319 echo "$as_me: program exited with status $ac_status" >&5
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.
$ac_ext >&5
17323 ( exit $ac_status )
17324 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17325 See \`config.log' for more details." >&5
17326 echo "$as_me: error: cannot compute sizeof (long long), 77
17327 See \`config.log' for more details." >&2;}
17328 { (exit 1); exit 1; }; }
17330 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17335 ac_cv_sizeof_long_long
=0
17338 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17339 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17340 cat >>confdefs.h
<<_ACEOF
17341 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17347 echo "$as_me:$LINENO: checking for long long" >&5
17348 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17349 if test "${ac_cv_type_long_long+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 cat >conftest.
$ac_ext <<_ACEOF
17355 cat confdefs.h
>>conftest.
$ac_ext
17356 cat >>conftest.
$ac_ext <<_ACEOF
17357 /* end confdefs.h. */
17358 $ac_includes_default
17362 if ((long long *) 0)
17364 if (sizeof (long long))
17370 rm -f conftest.
$ac_objext
17371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17372 (eval $ac_compile) 2>conftest.er1
17374 grep -v '^ *+' conftest.er1
>conftest.err
17376 cat conftest.err
>&5
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); } &&
17379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; } &&
17385 { ac_try
='test -s conftest.$ac_objext'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; }; then
17391 ac_cv_type_long_long
=yes
17393 echo "$as_me: failed program was:" >&5
17394 sed 's/^/| /' conftest.
$ac_ext >&5
17396 ac_cv_type_long_long
=no
17398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17400 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17401 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17403 echo "$as_me:$LINENO: checking size of long long" >&5
17404 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17405 if test "${ac_cv_sizeof_long_long+set}" = set; then
17406 echo $ECHO_N "(cached) $ECHO_C" >&6
17408 if test "$ac_cv_type_long_long" = yes; then
17409 # The cast to unsigned long works around a bug in the HP C Compiler
17410 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17411 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17412 # This bug is HP SR number 8606223364.
17413 if test "$cross_compiling" = yes; then
17414 # Depending upon the size, compute the lo and hi bounds.
17415 cat >conftest.
$ac_ext <<_ACEOF
17418 cat confdefs.h
>>conftest.
$ac_ext
17419 cat >>conftest.
$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17421 $ac_includes_default
17425 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17432 rm -f conftest.
$ac_objext
17433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17434 (eval $ac_compile) 2>conftest.er1
17436 grep -v '^ *+' conftest.er1
>conftest.err
17438 cat conftest.err
>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } &&
17441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; } &&
17447 { ac_try
='test -s conftest.$ac_objext'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); }; }; then
17455 cat >conftest.
$ac_ext <<_ACEOF
17458 cat confdefs.h
>>conftest.
$ac_ext
17459 cat >>conftest.
$ac_ext <<_ACEOF
17460 /* end confdefs.h. */
17461 $ac_includes_default
17465 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17472 rm -f conftest.
$ac_objext
17473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17474 (eval $ac_compile) 2>conftest.er1
17476 grep -v '^ *+' conftest.er1
>conftest.err
17478 cat conftest.err
>&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); } &&
17481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17483 (eval $ac_try) 2>&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); }; } &&
17487 { ac_try
='test -s conftest.$ac_objext'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; }; then
17493 ac_hi
=$ac_mid; break
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.
$ac_ext >&5
17498 ac_lo
=`expr $ac_mid + 1`
17499 if test $ac_lo -le $ac_mid; then
17503 ac_mid
=`expr 2 '*' $ac_mid + 1`
17505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.
$ac_ext >&5
17511 cat >conftest.
$ac_ext <<_ACEOF
17514 cat confdefs.h
>>conftest.
$ac_ext
17515 cat >>conftest.
$ac_ext <<_ACEOF
17516 /* end confdefs.h. */
17517 $ac_includes_default
17521 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17528 rm -f conftest.
$ac_objext
17529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17530 (eval $ac_compile) 2>conftest.er1
17532 grep -v '^ *+' conftest.er1
>conftest.err
17534 cat conftest.err
>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } &&
17537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; } &&
17543 { ac_try
='test -s conftest.$ac_objext'
17544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17545 (eval $ac_try) 2>&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; }; then
17551 cat >conftest.
$ac_ext <<_ACEOF
17554 cat confdefs.h
>>conftest.
$ac_ext
17555 cat >>conftest.
$ac_ext <<_ACEOF
17556 /* end confdefs.h. */
17557 $ac_includes_default
17561 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17568 rm -f conftest.
$ac_objext
17569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17570 (eval $ac_compile) 2>conftest.er1
17572 grep -v '^ *+' conftest.er1
>conftest.err
17574 cat conftest.err
>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } &&
17577 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579 (eval $ac_try) 2>&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; } &&
17583 { ac_try
='test -s conftest.$ac_objext'
17584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17585 (eval $ac_try) 2>&5
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); }; }; then
17589 ac_lo
=$ac_mid; break
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.
$ac_ext >&5
17594 ac_hi
=`expr '(' $ac_mid ')' - 1`
17595 if test $ac_mid -le $ac_hi; then
17599 ac_mid
=`expr 2 '*' $ac_mid`
17601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17604 echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.
$ac_ext >&5
17609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17612 # Binary search between lo and hi bounds.
17613 while test "x$ac_lo" != "x$ac_hi"; do
17614 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17615 cat >conftest.
$ac_ext <<_ACEOF
17618 cat confdefs.h
>>conftest.
$ac_ext
17619 cat >>conftest.
$ac_ext <<_ACEOF
17620 /* end confdefs.h. */
17621 $ac_includes_default
17625 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17632 rm -f conftest.
$ac_objext
17633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17634 (eval $ac_compile) 2>conftest.er1
17636 grep -v '^ *+' conftest.er1
>conftest.err
17638 cat conftest.err
>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } &&
17641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17643 (eval $ac_try) 2>&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); }; } &&
17647 { ac_try
='test -s conftest.$ac_objext'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; }; then
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.
$ac_ext >&5
17658 ac_lo
=`expr '(' $ac_mid ')' + 1`
17660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17663 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17664 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17665 See \`config.log' for more details." >&5
17666 echo "$as_me: error: cannot compute sizeof (long long), 77
17667 See \`config.log' for more details." >&2;}
17668 { (exit 1); exit 1; }; } ;;
17671 if test "$cross_compiling" = yes; then
17672 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17673 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17674 { (exit 1); exit 1; }; }
17676 cat >conftest.
$ac_ext <<_ACEOF
17679 cat confdefs.h
>>conftest.
$ac_ext
17680 cat >>conftest.
$ac_ext <<_ACEOF
17681 /* end confdefs.h. */
17682 $ac_includes_default
17683 long longval () { return (long) (sizeof (long long)); }
17684 unsigned long ulongval () { return (long) (sizeof (long long)); }
17686 #include <stdlib.h>
17691 FILE *f = fopen ("conftest.val", "w");
17694 if (((long) (sizeof (long long))) < 0)
17696 long i = longval ();
17697 if (i != ((long) (sizeof (long long))))
17699 fprintf (f, "%ld\n", i);
17703 unsigned long i = ulongval ();
17704 if (i != ((long) (sizeof (long long))))
17706 fprintf (f, "%lu\n", i);
17708 exit (ferror (f) || fclose (f) != 0);
17714 rm -f conftest
$ac_exeext
17715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17716 (eval $ac_link) 2>&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; }; then
17725 ac_cv_sizeof_long_long
=`cat conftest.val`
17727 echo "$as_me: program exited with status $ac_status" >&5
17728 echo "$as_me: failed program was:" >&5
17729 sed 's/^/| /' conftest.
$ac_ext >&5
17731 ( exit $ac_status )
17732 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17733 See \`config.log' for more details." >&5
17734 echo "$as_me: error: cannot compute sizeof (long long), 77
17735 See \`config.log' for more details." >&2;}
17736 { (exit 1); exit 1; }; }
17738 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17743 ac_cv_sizeof_long_long
=0
17746 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17747 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17748 cat >>confdefs.h
<<_ACEOF
17749 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17753 if test "$ac_cv_sizeof_long_long" != "0"; then
17754 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17758 echo "$as_me:$LINENO: checking for long long" >&5
17759 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17760 if test "${ac_cv_type_long_long+set}" = set; then
17761 echo $ECHO_N "(cached) $ECHO_C" >&6
17763 cat >conftest.
$ac_ext <<_ACEOF
17766 cat confdefs.h
>>conftest.
$ac_ext
17767 cat >>conftest.
$ac_ext <<_ACEOF
17768 /* end confdefs.h. */
17769 $ac_includes_default
17773 if ((long long *) 0)
17775 if (sizeof (long long))
17781 rm -f conftest.
$ac_objext
17782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17783 (eval $ac_compile) 2>conftest.er1
17785 grep -v '^ *+' conftest.er1
>conftest.err
17787 cat conftest.err
>&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); } &&
17790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792 (eval $ac_try) 2>&5
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }; } &&
17796 { ac_try
='test -s conftest.$ac_objext'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; }; then
17802 ac_cv_type_long_long
=yes
17804 echo "$as_me: failed program was:" >&5
17805 sed 's/^/| /' conftest.
$ac_ext >&5
17807 ac_cv_type_long_long
=no
17809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17811 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17812 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17814 echo "$as_me:$LINENO: checking size of long long" >&5
17815 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17816 if test "${ac_cv_sizeof_long_long+set}" = set; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 if test "$ac_cv_type_long_long" = yes; then
17820 # The cast to unsigned long works around a bug in the HP C Compiler
17821 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17822 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17823 # This bug is HP SR number 8606223364.
17824 if test "$cross_compiling" = yes; then
17825 # Depending upon the size, compute the lo and hi bounds.
17826 cat >conftest.
$ac_ext <<_ACEOF
17829 cat confdefs.h
>>conftest.
$ac_ext
17830 cat >>conftest.
$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832 $ac_includes_default
17836 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17843 rm -f conftest.
$ac_objext
17844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17845 (eval $ac_compile) 2>conftest.er1
17847 grep -v '^ *+' conftest.er1
>conftest.err
17849 cat conftest.err
>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } &&
17852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; } &&
17858 { ac_try
='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17866 cat >conftest.
$ac_ext <<_ACEOF
17869 cat confdefs.h
>>conftest.
$ac_ext
17870 cat >>conftest.
$ac_ext <<_ACEOF
17871 /* end confdefs.h. */
17872 $ac_includes_default
17876 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17883 rm -f conftest.
$ac_objext
17884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17885 (eval $ac_compile) 2>conftest.er1
17887 grep -v '^ *+' conftest.er1
>conftest.err
17889 cat conftest.err
>&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); } &&
17892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17894 (eval $ac_try) 2>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; } &&
17898 { ac_try
='test -s conftest.$ac_objext'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; }; then
17904 ac_hi
=$ac_mid; break
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.
$ac_ext >&5
17909 ac_lo
=`expr $ac_mid + 1`
17910 if test $ac_lo -le $ac_mid; then
17914 ac_mid
=`expr 2 '*' $ac_mid + 1`
17916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17919 echo "$as_me: failed program was:" >&5
17920 sed 's/^/| /' conftest.
$ac_ext >&5
17922 cat >conftest.
$ac_ext <<_ACEOF
17925 cat confdefs.h
>>conftest.
$ac_ext
17926 cat >>conftest.
$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928 $ac_includes_default
17932 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17939 rm -f conftest.
$ac_objext
17940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17941 (eval $ac_compile) 2>conftest.er1
17943 grep -v '^ *+' conftest.er1
>conftest.err
17945 cat conftest.err
>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } &&
17948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17950 (eval $ac_try) 2>&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); }; } &&
17954 { ac_try
='test -s conftest.$ac_objext'
17955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17956 (eval $ac_try) 2>&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; }; then
17962 cat >conftest.
$ac_ext <<_ACEOF
17965 cat confdefs.h
>>conftest.
$ac_ext
17966 cat >>conftest.
$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17968 $ac_includes_default
17972 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17979 rm -f conftest.
$ac_objext
17980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17981 (eval $ac_compile) 2>conftest.er1
17983 grep -v '^ *+' conftest.er1
>conftest.err
17985 cat conftest.err
>&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); } &&
17988 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; } &&
17994 { ac_try
='test -s conftest.$ac_objext'
17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17996 (eval $ac_try) 2>&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); }; }; then
18000 ac_lo
=$ac_mid; break
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.
$ac_ext >&5
18005 ac_hi
=`expr '(' $ac_mid ')' - 1`
18006 if test $ac_mid -le $ac_hi; then
18010 ac_mid
=`expr 2 '*' $ac_mid`
18012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.
$ac_ext >&5
18020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18023 # Binary search between lo and hi bounds.
18024 while test "x$ac_lo" != "x$ac_hi"; do
18025 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18026 cat >conftest.
$ac_ext <<_ACEOF
18029 cat confdefs.h
>>conftest.
$ac_ext
18030 cat >>conftest.
$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18032 $ac_includes_default
18036 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18043 rm -f conftest.
$ac_objext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18045 (eval $ac_compile) 2>conftest.er1
18047 grep -v '^ *+' conftest.er1
>conftest.err
18049 cat conftest.err
>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } &&
18052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; } &&
18058 { ac_try
='test -s conftest.$ac_objext'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; }; then
18066 echo "$as_me: failed program was:" >&5
18067 sed 's/^/| /' conftest.
$ac_ext >&5
18069 ac_lo
=`expr '(' $ac_mid ')' + 1`
18071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18074 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18075 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18076 See \`config.log' for more details." >&5
18077 echo "$as_me: error: cannot compute sizeof (long long), 77
18078 See \`config.log' for more details." >&2;}
18079 { (exit 1); exit 1; }; } ;;
18082 if test "$cross_compiling" = yes; then
18083 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18084 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18085 { (exit 1); exit 1; }; }
18087 cat >conftest.
$ac_ext <<_ACEOF
18090 cat confdefs.h
>>conftest.
$ac_ext
18091 cat >>conftest.
$ac_ext <<_ACEOF
18092 /* end confdefs.h. */
18093 $ac_includes_default
18094 long longval () { return (long) (sizeof (long long)); }
18095 unsigned long ulongval () { return (long) (sizeof (long long)); }
18097 #include <stdlib.h>
18102 FILE *f = fopen ("conftest.val", "w");
18105 if (((long) (sizeof (long long))) < 0)
18107 long i = longval ();
18108 if (i != ((long) (sizeof (long long))))
18110 fprintf (f, "%ld\n", i);
18114 unsigned long i = ulongval ();
18115 if (i != ((long) (sizeof (long long))))
18117 fprintf (f, "%lu\n", i);
18119 exit (ferror (f) || fclose (f) != 0);
18125 rm -f conftest
$ac_exeext
18126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18127 (eval $ac_link) 2>&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18132 (eval $ac_try) 2>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }; }; then
18136 ac_cv_sizeof_long_long
=`cat conftest.val`
18138 echo "$as_me: program exited with status $ac_status" >&5
18139 echo "$as_me: failed program was:" >&5
18140 sed 's/^/| /' conftest.
$ac_ext >&5
18142 ( exit $ac_status )
18143 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18144 See \`config.log' for more details." >&5
18145 echo "$as_me: error: cannot compute sizeof (long long), 77
18146 See \`config.log' for more details." >&2;}
18147 { (exit 1); exit 1; }; }
18149 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18154 ac_cv_sizeof_long_long
=0
18157 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18158 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18159 cat >>confdefs.h
<<_ACEOF
18160 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18166 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18167 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18168 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 if test "$cross_compiling" = yes; then
18176 wx_cv_sizeof_wchar_t
=0
18179 wx_cv_sizeof_wchar_t
=4
18185 cat >conftest.
$ac_ext <<_ACEOF
18188 cat confdefs.h
>>conftest.
$ac_ext
18189 cat >>conftest.
$ac_ext <<_ACEOF
18190 /* end confdefs.h. */
18192 /* DJGPP only has fake wchar_t: */
18194 # error "fake wchar_t"
18196 #ifdef HAVE_WCHAR_H
18198 # include <stddef.h>
18200 # include <wchar.h>
18202 #ifdef HAVE_STDLIB_H
18203 # include <stdlib.h>
18208 FILE *f=fopen("conftestval", "w");
18210 fprintf(f, "%i", sizeof(wchar_t));
18215 rm -f conftest
$ac_exeext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18217 (eval $ac_link) 2>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; }; then
18226 wx_cv_sizeof_wchar_t
=`cat conftestval`
18228 echo "$as_me: program exited with status $ac_status" >&5
18229 echo "$as_me: failed program was:" >&5
18230 sed 's/^/| /' conftest.
$ac_ext >&5
18232 ( exit $ac_status )
18233 wx_cv_sizeof_wchar_t
=0
18235 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18239 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18240 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18242 cat >>confdefs.h
<<_ACEOF
18243 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18247 echo "$as_me:$LINENO: checking for va_copy" >&5
18248 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18249 if test "${wx_cv_func_va_copy+set}" = set; then
18250 echo $ECHO_N "(cached) $ECHO_C" >&6
18253 cat >conftest.
$ac_ext <<_ACEOF
18255 #include <stdarg.h>
18256 void foo(char *f, ...)
18270 rm -f conftest.
$ac_objext conftest
$ac_exeext
18271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18272 (eval $ac_link) 2>conftest.er1
18274 grep -v '^ *+' conftest.er1
>conftest.err
18276 cat conftest.err
>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); } &&
18279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18281 (eval $ac_try) 2>&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); }; } &&
18285 { ac_try
='test -s conftest$ac_exeext'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; }; then
18291 wx_cv_func_va_copy
=yes
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.
$ac_ext >&5
18296 wx_cv_func_va_copy
=no
18299 rm -f conftest.err conftest.
$ac_objext \
18300 conftest
$ac_exeext conftest.
$ac_ext
18304 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18305 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18307 if test $wx_cv_func_va_copy = "yes"; then
18308 cat >>confdefs.h
<<\_ACEOF
18309 #define HAVE_VA_COPY 1
18313 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18314 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18315 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18316 echo $ECHO_N "(cached) $ECHO_C" >&6
18319 if test "$cross_compiling" = yes; then
18320 wx_cv_type_va_list_lvalue
=yes
18323 cat >conftest.
$ac_ext <<_ACEOF
18325 #include <stdarg.h>
18326 int foo(char *f, ...)
18331 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18339 return foo("hi", 17);
18342 rm -f conftest
$ac_exeext
18343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18344 (eval $ac_link) 2>&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18349 (eval $ac_try) 2>&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); }; }; then
18353 wx_cv_type_va_list_lvalue
=yes
18355 echo "$as_me: program exited with status $ac_status" >&5
18356 echo "$as_me: failed program was:" >&5
18357 sed 's/^/| /' conftest.
$ac_ext >&5
18359 ( exit $ac_status )
18360 wx_cv_type_va_list_lvalue
=no
18362 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18367 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18368 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18370 if test $wx_cv_type_va_list_lvalue != "yes"; then
18371 cat >>confdefs.h
<<\_ACEOF
18372 #define VA_LIST_IS_ARRAY 1
18378 # Check whether --enable-largefile or --disable-largefile was given.
18379 if test "${enable_largefile+set}" = set; then
18380 enableval
="$enable_largefile"
18383 if test "$enable_largefile" != no
; then
18386 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18387 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18388 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18389 echo $ECHO_N "(cached) $ECHO_C" >&6
18392 cat >conftest.
$ac_ext <<_ACEOF
18395 cat confdefs.h
>>conftest.
$ac_ext
18396 cat >>conftest.
$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 #define _FILE_OFFSET_BITS 64
18399 #include <sys/types.h>
18404 unsigned int field: sizeof(off_t) == 8;
18411 rm -f conftest.
$ac_objext
18412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18413 (eval $ac_compile) 2>conftest.er1
18415 grep -v '^ *+' conftest.er1
>conftest.err
18417 cat conftest.err
>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } &&
18420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18422 (eval $ac_try) 2>&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); }; } &&
18426 { ac_try
='test -s conftest.$ac_objext'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; }; then
18432 ac_cv_sys_file_offset_bits
=64
18434 echo "$as_me: failed program was:" >&5
18435 sed 's/^/| /' conftest.
$ac_ext >&5
18437 ac_cv_sys_file_offset_bits
=no
18439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18443 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18444 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18446 if test "$ac_cv_sys_file_offset_bits" != no
; then
18448 cat >>confdefs.h
<<_ACEOF
18449 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18454 if test "x$wx_largefile" != "xyes"; then
18456 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18457 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18458 if test "${ac_cv_sys_large_files+set}" = set; then
18459 echo $ECHO_N "(cached) $ECHO_C" >&6
18462 cat >conftest.
$ac_ext <<_ACEOF
18465 cat confdefs.h
>>conftest.
$ac_ext
18466 cat >>conftest.
$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18468 #define _LARGE_FILES 1
18469 #include <sys/types.h>
18474 unsigned int field: sizeof(off_t) == 8;
18481 rm -f conftest.
$ac_objext
18482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18483 (eval $ac_compile) 2>conftest.er1
18485 grep -v '^ *+' conftest.er1
>conftest.err
18487 cat conftest.err
>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); } &&
18490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18492 (eval $ac_try) 2>&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); }; } &&
18496 { ac_try
='test -s conftest.$ac_objext'
18497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18498 (eval $ac_try) 2>&5
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); }; }; then
18502 ac_cv_sys_large_files
=1
18504 echo "$as_me: failed program was:" >&5
18505 sed 's/^/| /' conftest.
$ac_ext >&5
18507 ac_cv_sys_large_files
=no
18509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18513 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18514 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18516 if test "$ac_cv_sys_large_files" != no
; then
18518 cat >>confdefs.h
<<_ACEOF
18519 #define _LARGE_FILES $ac_cv_sys_large_files
18526 echo "$as_me:$LINENO: checking if large file support is available" >&5
18527 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18528 if test "x$wx_largefile" = "xyes"; then
18529 cat >>confdefs.h
<<\_ACEOF
18530 #define HAVE_LARGEFILE_SUPPORT 1
18534 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18535 echo "${ECHO_T}$wx_largefile" >&6
18539 if test "x$wx_largefile" = "xyes"; then
18540 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18541 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18543 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18545 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18546 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
18547 if test "${ac_cv_sys_largefile_source+set}" = set; then
18548 echo $ECHO_N "(cached) $ECHO_C" >&6
18551 ac_cv_sys_largefile_source
=no
18552 cat >conftest.
$ac_ext <<_ACEOF
18555 cat confdefs.h
>>conftest.
$ac_ext
18556 cat >>conftest.
$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18567 rm -f conftest.
$ac_objext
18568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18569 (eval $ac_compile) 2>conftest.er1
18571 grep -v '^ *+' conftest.er1
>conftest.err
18573 cat conftest.err
>&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } &&
18576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18578 (eval $ac_try) 2>&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); }; } &&
18582 { ac_try
='test -s conftest.$ac_objext'
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18584 (eval $ac_try) 2>&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; }; then
18590 echo "$as_me: failed program was:" >&5
18591 sed 's/^/| /' conftest.
$ac_ext >&5
18594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18595 cat >conftest.
$ac_ext <<_ACEOF
18598 cat confdefs.h
>>conftest.
$ac_ext
18599 cat >>conftest.
$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18601 #define _LARGEFILE_SOURCE 1
18611 rm -f conftest.
$ac_objext
18612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18613 (eval $ac_compile) 2>conftest.er1
18615 grep -v '^ *+' conftest.er1
>conftest.err
18617 cat conftest.err
>&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } &&
18620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; } &&
18626 { ac_try
='test -s conftest.$ac_objext'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; }; then
18632 ac_cv_sys_largefile_source
=1; break
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.
$ac_ext >&5
18638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18642 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
18643 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
18644 if test "$ac_cv_sys_largefile_source" != no
; then
18646 cat >>confdefs.h
<<_ACEOF
18647 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
18653 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
18654 # in glibc 2.1.3, but that breaks too many other things.
18655 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
18656 echo "$as_me:$LINENO: checking for fseeko" >&5
18657 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
18658 if test "${ac_cv_func_fseeko+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 cat >conftest.
$ac_ext <<_ACEOF
18664 cat confdefs.h
>>conftest.
$ac_ext
18665 cat >>conftest.
$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18671 return fseeko && fseeko (stdin, 0, 0);
18676 rm -f conftest.
$ac_objext conftest
$ac_exeext
18677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18678 (eval $ac_link) 2>conftest.er1
18680 grep -v '^ *+' conftest.er1
>conftest.err
18682 cat conftest.err
>&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } &&
18685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687 (eval $ac_try) 2>&5
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); }; } &&
18691 { ac_try
='test -s conftest$ac_exeext'
18692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18693 (eval $ac_try) 2>&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); }; }; then
18697 ac_cv_func_fseeko
=yes
18699 echo "$as_me: failed program was:" >&5
18700 sed 's/^/| /' conftest.
$ac_ext >&5
18702 ac_cv_func_fseeko
=no
18704 rm -f conftest.err conftest.
$ac_objext \
18705 conftest
$ac_exeext conftest.
$ac_ext
18707 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
18708 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
18709 if test $ac_cv_func_fseeko = yes; then
18711 cat >>confdefs.h
<<\_ACEOF
18712 #define HAVE_FSEEKO 1
18717 if test "$ac_cv_sys_largefile_source" != no
; then
18718 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
18720 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18723 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18724 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18725 if test "${ac_cv_c_bigendian+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 ac_cv_c_bigendian
=unknown
18729 # See if sys/param.h defines the BYTE_ORDER macro.
18730 cat >conftest.
$ac_ext <<_ACEOF
18733 cat confdefs.h
>>conftest.
$ac_ext
18734 cat >>conftest.
$ac_ext <<_ACEOF
18735 /* end confdefs.h. */
18736 #include <sys/types.h>
18737 #include <sys/param.h>
18742 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18743 bogus endian macros
18749 rm -f conftest.
$ac_objext
18750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18751 (eval $ac_compile) 2>conftest.er1
18753 grep -v '^ *+' conftest.er1
>conftest.err
18755 cat conftest.err
>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } &&
18758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; } &&
18764 { ac_try
='test -s conftest.$ac_objext'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; }; then
18770 # It does; now see whether it defined to BIG_ENDIAN or not.
18771 cat >conftest.
$ac_ext <<_ACEOF
18774 cat confdefs.h
>>conftest.
$ac_ext
18775 cat >>conftest.
$ac_ext <<_ACEOF
18776 /* end confdefs.h. */
18777 #include <sys/types.h>
18778 #include <sys/param.h>
18783 #if BYTE_ORDER != BIG_ENDIAN
18790 rm -f conftest.
$ac_objext
18791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18792 (eval $ac_compile) 2>conftest.er1
18794 grep -v '^ *+' conftest.er1
>conftest.err
18796 cat conftest.err
>&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); } &&
18799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801 (eval $ac_try) 2>&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); }; } &&
18805 { ac_try
='test -s conftest.$ac_objext'
18806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807 (eval $ac_try) 2>&5
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); }; }; then
18811 ac_cv_c_bigendian
=yes
18813 echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.
$ac_ext >&5
18816 ac_cv_c_bigendian
=no
18818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18820 echo "$as_me: failed program was:" >&5
18821 sed 's/^/| /' conftest.
$ac_ext >&5
18824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18825 if test $ac_cv_c_bigendian = unknown
; then
18826 if test "$cross_compiling" = yes; then
18827 ac_cv_c_bigendian
=unknown
18829 cat >conftest.
$ac_ext <<_ACEOF
18832 cat confdefs.h
>>conftest.
$ac_ext
18833 cat >>conftest.
$ac_ext <<_ACEOF
18834 /* end confdefs.h. */
18836 /* Are we little or big endian? From Harbison&Steele. */
18840 char c[sizeof (long)];
18843 exit (u.c[sizeof (long) - 1] == 1);
18846 rm -f conftest
$ac_exeext
18847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18848 (eval $ac_link) 2>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; }; then
18857 ac_cv_c_bigendian
=no
18859 echo "$as_me: program exited with status $ac_status" >&5
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.
$ac_ext >&5
18863 ( exit $ac_status )
18864 ac_cv_c_bigendian
=yes
18866 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18870 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18871 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18872 if test $ac_cv_c_bigendian = unknown
; then
18873 { 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
18874 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;}
18876 if test $ac_cv_c_bigendian = yes; then
18877 cat >>confdefs.h
<<\_ACEOF
18878 #define WORDS_BIGENDIAN 1
18885 ac_cpp
='$CXXCPP $CPPFLAGS'
18886 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18887 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18888 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18889 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18890 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18891 if test -z "$CXXCPP"; then
18892 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18893 echo $ECHO_N "(cached) $ECHO_C" >&6
18895 # Double quotes because CXXCPP needs to be expanded
18896 for CXXCPP
in "$CXX -E" "/lib/cpp"
18898 ac_preproc_ok
=false
18899 for ac_cxx_preproc_warn_flag
in '' yes
18901 # Use a header file that comes with gcc, so configuring glibc
18902 # with a fresh cross-compiler works.
18903 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18904 # <limits.h> exists even on freestanding compilers.
18905 # On the NeXT, cc -E runs the code through the compiler's parser,
18906 # not just through cpp. "Syntax error" is here to catch this case.
18907 cat >conftest.
$ac_ext <<_ACEOF
18910 cat confdefs.h
>>conftest.
$ac_ext
18911 cat >>conftest.
$ac_ext <<_ACEOF
18912 /* end confdefs.h. */
18914 # include <limits.h>
18916 # include <assert.h>
18920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18921 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18923 grep -v '^ *+' conftest.er1
>conftest.err
18925 cat conftest.err
>&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } >/dev
/null
; then
18928 if test -s conftest.err
; then
18929 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18930 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18937 if test -z "$ac_cpp_err"; then
18940 echo "$as_me: failed program was:" >&5
18941 sed 's/^/| /' conftest.
$ac_ext >&5
18943 # Broken: fails on valid input.
18946 rm -f conftest.err conftest.
$ac_ext
18948 # OK, works on sane cases. Now check whether non-existent headers
18949 # can be detected and how.
18950 cat >conftest.
$ac_ext <<_ACEOF
18953 cat confdefs.h
>>conftest.
$ac_ext
18954 cat >>conftest.
$ac_ext <<_ACEOF
18955 /* end confdefs.h. */
18956 #include <ac_nonexistent.h>
18958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18959 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18961 grep -v '^ *+' conftest.er1
>conftest.err
18963 cat conftest.err
>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } >/dev
/null
; then
18966 if test -s conftest.err
; then
18967 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18968 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18975 if test -z "$ac_cpp_err"; then
18976 # Broken: success on invalid input.
18979 echo "$as_me: failed program was:" >&5
18980 sed 's/^/| /' conftest.
$ac_ext >&5
18982 # Passes both tests.
18986 rm -f conftest.err conftest.
$ac_ext
18989 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18990 rm -f conftest.err conftest.
$ac_ext
18991 if $ac_preproc_ok; then
18996 ac_cv_prog_CXXCPP
=$CXXCPP
18999 CXXCPP
=$ac_cv_prog_CXXCPP
19001 ac_cv_prog_CXXCPP
=$CXXCPP
19003 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19004 echo "${ECHO_T}$CXXCPP" >&6
19005 ac_preproc_ok
=false
19006 for ac_cxx_preproc_warn_flag
in '' yes
19008 # Use a header file that comes with gcc, so configuring glibc
19009 # with a fresh cross-compiler works.
19010 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19011 # <limits.h> exists even on freestanding compilers.
19012 # On the NeXT, cc -E runs the code through the compiler's parser,
19013 # not just through cpp. "Syntax error" is here to catch this case.
19014 cat >conftest.
$ac_ext <<_ACEOF
19017 cat confdefs.h
>>conftest.
$ac_ext
19018 cat >>conftest.
$ac_ext <<_ACEOF
19019 /* end confdefs.h. */
19021 # include <limits.h>
19023 # include <assert.h>
19027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19028 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19030 grep -v '^ *+' conftest.er1
>conftest.err
19032 cat conftest.err
>&5
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); } >/dev
/null
; then
19035 if test -s conftest.err
; then
19036 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19037 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19044 if test -z "$ac_cpp_err"; then
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.
$ac_ext >&5
19050 # Broken: fails on valid input.
19053 rm -f conftest.err conftest.
$ac_ext
19055 # OK, works on sane cases. Now check whether non-existent headers
19056 # can be detected and how.
19057 cat >conftest.
$ac_ext <<_ACEOF
19060 cat confdefs.h
>>conftest.
$ac_ext
19061 cat >>conftest.
$ac_ext <<_ACEOF
19062 /* end confdefs.h. */
19063 #include <ac_nonexistent.h>
19065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19066 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19068 grep -v '^ *+' conftest.er1
>conftest.err
19070 cat conftest.err
>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); } >/dev
/null
; then
19073 if test -s conftest.err
; then
19074 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19075 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19082 if test -z "$ac_cpp_err"; then
19083 # Broken: success on invalid input.
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.
$ac_ext >&5
19089 # Passes both tests.
19093 rm -f conftest.err conftest.
$ac_ext
19096 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19097 rm -f conftest.err conftest.
$ac_ext
19098 if $ac_preproc_ok; then
19101 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19102 See \`config.log' for more details." >&5
19103 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19104 See \`config.log' for more details." >&2;}
19105 { (exit 1); exit 1; }; }
19109 ac_cpp
='$CXXCPP $CPPFLAGS'
19110 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19111 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19112 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19119 ac_cpp
='$CXXCPP $CPPFLAGS'
19120 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19121 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19122 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19126 for ac_header
in iostream
19128 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19130 echo "$as_me:$LINENO: checking for $ac_header" >&5
19131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19133 echo $ECHO_N "(cached) $ECHO_C" >&6
19135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19138 # Is the header compilable?
19139 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19140 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19141 cat >conftest.
$ac_ext <<_ACEOF
19144 cat confdefs.h
>>conftest.
$ac_ext
19145 cat >>conftest.
$ac_ext <<_ACEOF
19146 /* end confdefs.h. */
19147 $ac_includes_default
19148 #include <$ac_header>
19150 rm -f conftest.
$ac_objext
19151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19152 (eval $ac_compile) 2>conftest.er1
19154 grep -v '^ *+' conftest.er1
>conftest.err
19156 cat conftest.err
>&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); } &&
19159 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19161 (eval $ac_try) 2>&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); }; } &&
19165 { ac_try
='test -s conftest.$ac_objext'
19166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19167 (eval $ac_try) 2>&5
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); }; }; then
19171 ac_header_compiler
=yes
19173 echo "$as_me: failed program was:" >&5
19174 sed 's/^/| /' conftest.
$ac_ext >&5
19176 ac_header_compiler
=no
19178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19180 echo "${ECHO_T}$ac_header_compiler" >&6
19182 # Is the header present?
19183 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19184 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19185 cat >conftest.
$ac_ext <<_ACEOF
19188 cat confdefs.h
>>conftest.
$ac_ext
19189 cat >>conftest.
$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 #include <$ac_header>
19193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19194 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19196 grep -v '^ *+' conftest.er1
>conftest.err
19198 cat conftest.err
>&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); } >/dev
/null
; then
19201 if test -s conftest.err
; then
19202 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19203 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19210 if test -z "$ac_cpp_err"; then
19211 ac_header_preproc
=yes
19213 echo "$as_me: failed program was:" >&5
19214 sed 's/^/| /' conftest.
$ac_ext >&5
19216 ac_header_preproc
=no
19218 rm -f conftest.err conftest.
$ac_ext
19219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19220 echo "${ECHO_T}$ac_header_preproc" >&6
19222 # So? What about this header?
19223 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19225 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19226 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19228 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19229 ac_header_preproc
=yes
19232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19236 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19237 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19238 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19239 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19242 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19243 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19246 ## ----------------------------------------- ##
19247 ## Report this to wx-dev@lists.wxwidgets.org ##
19248 ## ----------------------------------------- ##
19251 sed "s/^/$as_me: WARNING: /" >&2
19254 echo "$as_me:$LINENO: checking for $ac_header" >&5
19255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19257 echo $ECHO_N "(cached) $ECHO_C" >&6
19259 eval "$as_ac_Header=\$ac_header_preproc"
19261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19266 cat >>confdefs.h
<<_ACEOF
19267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19275 if test "$ac_cv_header_iostream" = "yes" ; then
19278 cat >>confdefs.h
<<\_ACEOF
19279 #define wxUSE_IOSTREAMH 1
19285 ac_cpp
='$CPP $CPPFLAGS'
19286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19293 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19294 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19295 if test "${wx_cv_cpp_bool+set}" = set; then
19296 echo $ECHO_N "(cached) $ECHO_C" >&6
19302 ac_cpp
='$CXXCPP $CPPFLAGS'
19303 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19304 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19305 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19308 cat >conftest.
$ac_ext <<_ACEOF
19311 cat confdefs.h
>>conftest.
$ac_ext
19312 cat >>conftest.
$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19328 rm -f conftest.
$ac_objext
19329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19330 (eval $ac_compile) 2>conftest.er1
19332 grep -v '^ *+' conftest.er1
>conftest.err
19334 cat conftest.err
>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); } &&
19337 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; } &&
19343 { ac_try
='test -s conftest.$ac_objext'
19344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19345 (eval $ac_try) 2>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); }; }; then
19353 echo "$as_me: failed program was:" >&5
19354 sed 's/^/| /' conftest.
$ac_ext >&5
19361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19364 ac_cpp
='$CPP $CPPFLAGS'
19365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19371 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19372 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19374 if test "$wx_cv_cpp_bool" = "yes"; then
19375 cat >>confdefs.h
<<\_ACEOF
19376 #define HAVE_BOOL 1
19383 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19384 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19385 if test "${wx_cv_explicit+set}" = set; then
19386 echo $ECHO_N "(cached) $ECHO_C" >&6
19392 ac_cpp
='$CXXCPP $CPPFLAGS'
19393 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19394 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19395 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19398 cat >conftest.
$ac_ext <<_ACEOF
19401 cat confdefs.h
>>conftest.
$ac_ext
19402 cat >>conftest.
$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19405 class Foo { public: explicit Foo(int) {} };
19417 rm -f conftest.
$ac_objext
19418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19419 (eval $ac_compile) 2>conftest.er1
19421 grep -v '^ *+' conftest.er1
>conftest.err
19423 cat conftest.err
>&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); } &&
19426 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19428 (eval $ac_try) 2>&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); }; } &&
19432 { ac_try
='test -s conftest.$ac_objext'
19433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19434 (eval $ac_try) 2>&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); }; }; then
19439 cat >conftest.
$ac_ext <<_ACEOF
19442 cat confdefs.h
>>conftest.
$ac_ext
19443 cat >>conftest.
$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19446 class Foo { public: explicit Foo(int) {} };
19447 static void TakeFoo(const Foo& foo) { }
19460 rm -f conftest.
$ac_objext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>conftest.er1
19464 grep -v '^ *+' conftest.er1
>conftest.err
19466 cat conftest.err
>&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19471 (eval $ac_try) 2>&5
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); }; } &&
19475 { ac_try
='test -s conftest.$ac_objext'
19476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19477 (eval $ac_try) 2>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); }; }; then
19483 echo "$as_me: failed program was:" >&5
19484 sed 's/^/| /' conftest.
$ac_ext >&5
19489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.
$ac_ext >&5
19498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19501 ac_cpp
='$CPP $CPPFLAGS'
19502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19508 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19509 echo "${ECHO_T}$wx_cv_explicit" >&6
19511 if test "$wx_cv_explicit" = "yes"; then
19512 cat >>confdefs.h
<<\_ACEOF
19513 #define HAVE_EXPLICIT 1
19519 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19520 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19521 if test "${ac_cv_cxx_const_cast+set}" = set; then
19522 echo $ECHO_N "(cached) $ECHO_C" >&6
19527 ac_cpp
='$CXXCPP $CPPFLAGS'
19528 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19529 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19530 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19532 cat >conftest.
$ac_ext <<_ACEOF
19535 cat confdefs.h
>>conftest.
$ac_ext
19536 cat >>conftest.
$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19542 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19547 rm -f conftest.
$ac_objext
19548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19549 (eval $ac_compile) 2>conftest.er1
19551 grep -v '^ *+' conftest.er1
>conftest.err
19553 cat conftest.err
>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } &&
19556 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19558 (eval $ac_try) 2>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; } &&
19562 { ac_try
='test -s conftest.$ac_objext'
19563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19564 (eval $ac_try) 2>&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); }; }; then
19568 ac_cv_cxx_const_cast
=yes
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.
$ac_ext >&5
19573 ac_cv_cxx_const_cast
=no
19575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19577 ac_cpp
='$CPP $CPPFLAGS'
19578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19584 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19585 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19586 if test "$ac_cv_cxx_const_cast" = yes; then
19588 cat >>confdefs.h
<<\_ACEOF
19589 #define HAVE_CONST_CAST
19594 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19595 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19596 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19597 echo $ECHO_N "(cached) $ECHO_C" >&6
19602 ac_cpp
='$CXXCPP $CPPFLAGS'
19603 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19604 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19605 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19607 cat >conftest.
$ac_ext <<_ACEOF
19610 cat confdefs.h
>>conftest.
$ac_ext
19611 cat >>conftest.
$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19613 #include <typeinfo>
19614 class Base { public : Base () {} virtual void f () = 0;};
19615 class Derived : public Base { public : Derived () {} virtual void f () {} };
19616 class Unrelated { public : Unrelated () {} };
19617 int g (Unrelated&) { return 0; }
19622 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19627 rm -f conftest.
$ac_objext
19628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19629 (eval $ac_compile) 2>conftest.er1
19631 grep -v '^ *+' conftest.er1
>conftest.err
19633 cat conftest.err
>&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); } &&
19636 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19638 (eval $ac_try) 2>&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); }; } &&
19642 { ac_try
='test -s conftest.$ac_objext'
19643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19644 (eval $ac_try) 2>&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); }; }; then
19648 ac_cv_cxx_reinterpret_cast
=yes
19650 echo "$as_me: failed program was:" >&5
19651 sed 's/^/| /' conftest.
$ac_ext >&5
19653 ac_cv_cxx_reinterpret_cast
=no
19655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19657 ac_cpp
='$CPP $CPPFLAGS'
19658 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19659 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19660 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19664 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19665 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19666 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19668 cat >>confdefs.h
<<\_ACEOF
19669 #define HAVE_REINTERPRET_CAST
19674 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19675 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19676 if test "${ac_cv_cxx_static_cast+set}" = set; then
19677 echo $ECHO_N "(cached) $ECHO_C" >&6
19682 ac_cpp
='$CXXCPP $CPPFLAGS'
19683 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19684 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19685 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19687 cat >conftest.
$ac_ext <<_ACEOF
19690 cat confdefs.h
>>conftest.
$ac_ext
19691 cat >>conftest.
$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 #include <typeinfo>
19694 class Base { public : Base () {} virtual void f () = 0; };
19695 class Derived : public Base { public : Derived () {} virtual void f () {} };
19696 int g (Derived&) { return 0; }
19701 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19706 rm -f conftest.
$ac_objext
19707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19708 (eval $ac_compile) 2>conftest.er1
19710 grep -v '^ *+' conftest.er1
>conftest.err
19712 cat conftest.err
>&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); } &&
19715 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717 (eval $ac_try) 2>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; } &&
19721 { ac_try
='test -s conftest.$ac_objext'
19722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19723 (eval $ac_try) 2>&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); }; }; then
19727 ac_cv_cxx_static_cast
=yes
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.
$ac_ext >&5
19732 ac_cv_cxx_static_cast
=no
19734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19736 ac_cpp
='$CPP $CPPFLAGS'
19737 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19738 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19743 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19744 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19745 if test "$ac_cv_cxx_static_cast" = yes; then
19747 cat >>confdefs.h
<<\_ACEOF
19748 #define HAVE_STATIC_CAST
19754 if test "$wxUSE_STL" = "yes"; then
19756 ac_cpp
='$CXXCPP $CPPFLAGS'
19757 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19758 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19759 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19762 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19763 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19764 cat >conftest.
$ac_ext <<_ACEOF
19767 cat confdefs.h
>>conftest.
$ac_ext
19768 cat >>conftest.
$ac_ext <<_ACEOF
19769 /* end confdefs.h. */
19771 #include <functional>
19772 #include <algorithm>
19778 std::vector<int> moo;
19779 std::list<int> foo;
19780 std::vector<int>::iterator it =
19781 std::find_if(moo.begin(), moo.end(),
19782 std::bind2nd(std::less<int>(), 3));
19787 rm -f conftest.
$ac_objext
19788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19789 (eval $ac_compile) 2>conftest.er1
19791 grep -v '^ *+' conftest.er1
>conftest.err
19793 cat conftest.err
>&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); } &&
19796 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19798 (eval $ac_try) 2>&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); }; } &&
19802 { ac_try
='test -s conftest.$ac_objext'
19803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19804 (eval $ac_try) 2>&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); }; }; then
19808 echo "$as_me:$LINENO: result: yes" >&5
19809 echo "${ECHO_T}yes" >&6
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.
$ac_ext >&5
19814 echo "$as_me:$LINENO: result: no" >&5
19815 echo "${ECHO_T}no" >&6
19816 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19817 echo "$as_me: error: Basic STL functionality missing" >&2;}
19818 { (exit 1); exit 1; }; }
19820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19822 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19823 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19824 cat >conftest.
$ac_ext <<_ACEOF
19827 cat confdefs.h
>>conftest.
$ac_ext
19828 cat >>conftest.
$ac_ext <<_ACEOF
19829 /* end confdefs.h. */
19839 rm -f conftest.
$ac_objext
19840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19841 (eval $ac_compile) 2>conftest.er1
19843 grep -v '^ *+' conftest.er1
>conftest.err
19845 cat conftest.err
>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } &&
19848 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19850 (eval $ac_try) 2>&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); }; } &&
19854 { ac_try
='test -s conftest.$ac_objext'
19855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19856 (eval $ac_try) 2>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); }; }; then
19860 echo "$as_me:$LINENO: result: yes" >&5
19861 echo "${ECHO_T}yes" >&6
19862 cat >>confdefs.h
<<\_ACEOF
19863 #define HAVE_STD_WSTRING 1
19867 echo "$as_me: failed program was:" >&5
19868 sed 's/^/| /' conftest.
$ac_ext >&5
19870 echo "$as_me:$LINENO: result: no" >&5
19871 echo "${ECHO_T}no" >&6
19873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19875 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19876 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19877 cat >conftest.
$ac_ext <<_ACEOF
19880 cat confdefs.h
>>conftest.
$ac_ext
19881 cat >>conftest.
$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19887 std::string foo, bar;
19889 foo.compare(1, 1, bar);
19890 foo.compare(1, 1, bar, 1, 1);
19892 foo.compare(1, 1, "");
19893 foo.compare(1, 1, "", 2);
19898 rm -f conftest.
$ac_objext
19899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19900 (eval $ac_compile) 2>conftest.er1
19902 grep -v '^ *+' conftest.er1
>conftest.err
19904 cat conftest.err
>&5
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); } &&
19907 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19909 (eval $ac_try) 2>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; } &&
19913 { ac_try
='test -s conftest.$ac_objext'
19914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19915 (eval $ac_try) 2>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; }; then
19919 echo "$as_me:$LINENO: result: yes" >&5
19920 echo "${ECHO_T}yes" >&6
19921 cat >>confdefs.h
<<\_ACEOF
19922 #define HAVE_STD_STRING_COMPARE 1
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.
$ac_ext >&5
19929 echo "$as_me:$LINENO: result: no" >&5
19930 echo "${ECHO_T}no" >&6
19932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19934 if test "${ac_cv_header_hash_map+set}" = set; then
19935 echo "$as_me:$LINENO: checking for hash_map" >&5
19936 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19937 if test "${ac_cv_header_hash_map+set}" = set; then
19938 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19941 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19943 # Is the header compilable?
19944 echo "$as_me:$LINENO: checking hash_map usability" >&5
19945 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19946 cat >conftest.
$ac_ext <<_ACEOF
19949 cat confdefs.h
>>conftest.
$ac_ext
19950 cat >>conftest.
$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 $ac_includes_default
19953 #include <hash_map>
19955 rm -f conftest.
$ac_objext
19956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19957 (eval $ac_compile) 2>conftest.er1
19959 grep -v '^ *+' conftest.er1
>conftest.err
19961 cat conftest.err
>&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); } &&
19964 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19966 (eval $ac_try) 2>&5
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); }; } &&
19970 { ac_try
='test -s conftest.$ac_objext'
19971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19972 (eval $ac_try) 2>&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); }; }; then
19976 ac_header_compiler
=yes
19978 echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.
$ac_ext >&5
19981 ac_header_compiler
=no
19983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19985 echo "${ECHO_T}$ac_header_compiler" >&6
19987 # Is the header present?
19988 echo "$as_me:$LINENO: checking hash_map presence" >&5
19989 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19990 cat >conftest.
$ac_ext <<_ACEOF
19993 cat confdefs.h
>>conftest.
$ac_ext
19994 cat >>conftest.
$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 #include <hash_map>
19998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19999 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20001 grep -v '^ *+' conftest.er1
>conftest.err
20003 cat conftest.err
>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); } >/dev
/null
; then
20006 if test -s conftest.err
; then
20007 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20008 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20015 if test -z "$ac_cpp_err"; then
20016 ac_header_preproc
=yes
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.
$ac_ext >&5
20021 ac_header_preproc
=no
20023 rm -f conftest.err conftest.
$ac_ext
20024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20025 echo "${ECHO_T}$ac_header_preproc" >&6
20027 # So? What about this header?
20028 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20030 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20031 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20032 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20033 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20034 ac_header_preproc
=yes
20037 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20038 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20039 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20040 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20041 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20042 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20043 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20044 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20045 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20046 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20047 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20048 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20051 ## ----------------------------------------- ##
20052 ## Report this to wx-dev@lists.wxwidgets.org ##
20053 ## ----------------------------------------- ##
20056 sed "s/^/$as_me: WARNING: /" >&2
20059 echo "$as_me:$LINENO: checking for hash_map" >&5
20060 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20061 if test "${ac_cv_header_hash_map+set}" = set; then
20062 echo $ECHO_N "(cached) $ECHO_C" >&6
20064 ac_cv_header_hash_map
=$ac_header_preproc
20066 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20067 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20070 if test $ac_cv_header_hash_map = yes; then
20071 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20072 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20073 cat >conftest.
$ac_ext <<_ACEOF
20076 cat confdefs.h
>>conftest.
$ac_ext
20077 cat >>conftest.
$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 #include <hash_map>
20080 #include <hash_set>
20084 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20085 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20090 rm -f conftest.
$ac_objext
20091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20092 (eval $ac_compile) 2>conftest.er1
20094 grep -v '^ *+' conftest.er1
>conftest.err
20096 cat conftest.err
>&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); } &&
20099 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20101 (eval $ac_try) 2>&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); }; } &&
20105 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
20111 echo "$as_me:$LINENO: result: yes" >&5
20112 echo "${ECHO_T}yes" >&6
20113 cat >>confdefs.h
<<\_ACEOF
20114 #define HAVE_HASH_MAP 1
20117 cat >>confdefs.h
<<\_ACEOF
20118 #define HAVE_STD_HASH_MAP 1
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.
$ac_ext >&5
20125 echo "$as_me:$LINENO: result: no" >&5
20126 echo "${ECHO_T}no" >&6
20128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20134 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20135 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20136 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20137 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20138 echo $ECHO_N "(cached) $ECHO_C" >&6
20140 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20141 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20143 # Is the header compilable?
20144 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20145 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20146 cat >conftest.
$ac_ext <<_ACEOF
20149 cat confdefs.h
>>conftest.
$ac_ext
20150 cat >>conftest.
$ac_ext <<_ACEOF
20151 /* end confdefs.h. */
20152 $ac_includes_default
20153 #include <ext/hash_map>
20155 rm -f conftest.
$ac_objext
20156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20157 (eval $ac_compile) 2>conftest.er1
20159 grep -v '^ *+' conftest.er1
>conftest.err
20161 cat conftest.err
>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); } &&
20164 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20166 (eval $ac_try) 2>&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); }; } &&
20170 { ac_try
='test -s conftest.$ac_objext'
20171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20172 (eval $ac_try) 2>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); }; }; then
20176 ac_header_compiler
=yes
20178 echo "$as_me: failed program was:" >&5
20179 sed 's/^/| /' conftest.
$ac_ext >&5
20181 ac_header_compiler
=no
20183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20185 echo "${ECHO_T}$ac_header_compiler" >&6
20187 # Is the header present?
20188 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20189 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20190 cat >conftest.
$ac_ext <<_ACEOF
20193 cat confdefs.h
>>conftest.
$ac_ext
20194 cat >>conftest.
$ac_ext <<_ACEOF
20195 /* end confdefs.h. */
20196 #include <ext/hash_map>
20198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20199 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20201 grep -v '^ *+' conftest.er1
>conftest.err
20203 cat conftest.err
>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } >/dev
/null
; then
20206 if test -s conftest.err
; then
20207 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20208 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20215 if test -z "$ac_cpp_err"; then
20216 ac_header_preproc
=yes
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.
$ac_ext >&5
20221 ac_header_preproc
=no
20223 rm -f conftest.err conftest.
$ac_ext
20224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20225 echo "${ECHO_T}$ac_header_preproc" >&6
20227 # So? What about this header?
20228 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20230 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20231 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20232 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20233 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20234 ac_header_preproc
=yes
20237 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20238 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20239 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20240 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20241 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20242 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20243 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20244 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20245 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20246 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20247 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20248 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20251 ## ----------------------------------------- ##
20252 ## Report this to wx-dev@lists.wxwidgets.org ##
20253 ## ----------------------------------------- ##
20256 sed "s/^/$as_me: WARNING: /" >&2
20259 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20260 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20261 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20262 echo $ECHO_N "(cached) $ECHO_C" >&6
20264 ac_cv_header_ext_hash_map
=$ac_header_preproc
20266 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20267 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20270 if test $ac_cv_header_ext_hash_map = yes; then
20271 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20272 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20273 cat >conftest.
$ac_ext <<_ACEOF
20276 cat confdefs.h
>>conftest.
$ac_ext
20277 cat >>conftest.
$ac_ext <<_ACEOF
20278 /* end confdefs.h. */
20279 #include <ext/hash_map>
20280 #include <ext/hash_set>
20284 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20285 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20290 rm -f conftest.
$ac_objext
20291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20292 (eval $ac_compile) 2>conftest.er1
20294 grep -v '^ *+' conftest.er1
>conftest.err
20296 cat conftest.err
>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); } &&
20299 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20301 (eval $ac_try) 2>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; } &&
20305 { ac_try
='test -s conftest.$ac_objext'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; }; then
20311 echo "$as_me:$LINENO: result: yes" >&5
20312 echo "${ECHO_T}yes" >&6
20313 cat >>confdefs.h
<<\_ACEOF
20314 #define HAVE_EXT_HASH_MAP 1
20317 cat >>confdefs.h
<<\_ACEOF
20318 #define HAVE_GNU_CXX_HASH_MAP 1
20322 echo "$as_me: failed program was:" >&5
20323 sed 's/^/| /' conftest.
$ac_ext >&5
20325 echo "$as_me:$LINENO: result: no" >&5
20326 echo "${ECHO_T}no" >&6
20328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20335 ac_cpp
='$CPP $CPPFLAGS'
20336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20344 /usr/local/include \
20346 /usr/Motif-2.1/include \
20347 /usr/Motif-1.2/include \
20348 /usr/include/Motif1.2 \
20349 /opt/xpm/include/X11 \
20350 /opt/GBxpm/include/ \
20351 /opt/GBxpm/X11/include/ \
20354 /usr/openwin/include \
20358 /usr/X11R6/include \
20359 /usr/X11R6.4/include \
20360 /usr/X11R5/include \
20361 /usr/X11R4/include \
20363 /usr/include/X11R6 \
20364 /usr/include/X11R5 \
20365 /usr/include/X11R4 \
20367 /usr/local/X11R6/include \
20368 /usr/local/X11R5/include \
20369 /usr/local/X11R4/include \
20371 /usr/local/include/X11R6 \
20372 /usr/local/include/X11R5 \
20373 /usr/local/include/X11R4 \
20377 /usr/local/X11/include \
20378 /usr/local/include/X11 \
20380 /usr/X386/include \
20381 /usr/x386/include \
20382 /usr/XFree86/include/X11 \
20384 X:/XFree86/include \
20385 X:/XFree86/include/X11 \
20388 /usr/local/include/gtk \
20389 /usr/include/glib \
20390 /usr/local/include/glib \
20393 /usr/local/include/qt \
20395 /usr/local/arm/3.3.2/include \
20397 /usr/include/windows \
20398 /usr/include/wine \
20399 /usr/local/include/wine \
20401 /usr/unsupported/include \
20402 /usr/athena/include \
20403 /usr/local/x11r5/include \
20404 /usr/lpp/Xamples/include \
20406 /usr/openwin/share/include"
20408 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20411 cat >confcache
<<\_ACEOF
20412 # This file is a shell script that caches the results of configure
20413 # tests run on this system so they can be shared between configure
20414 # scripts and configure runs, see configure's option --config-cache.
20415 # It is not useful on other systems. If it contains results you don't
20416 # want to keep, you may remove or edit it.
20418 # config.status only pays attention to the cache file if you give it
20419 # the --recheck option to rerun configure.
20421 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20422 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20423 # following values.
20427 # The following way of writing the cache mishandles newlines in values,
20428 # but we know of no workaround that is simple, portable, and efficient.
20429 # So, don't put newlines in cache variables' values.
20430 # Ultrix sh set writes to stderr and can't be redirected directly,
20431 # and sets the high bit in the cache file unless we assign to the vars.
20434 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20436 # `set' does not quote correctly, so add quotes (double-quote
20437 # substitution turns \\\\ into \\, and sed turns \\ into \).
20440 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20443 # `set' quotes correctly as required by POSIX, so do not add quotes.
20445 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20452 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20454 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20456 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20457 if test -w $cache_file; then
20458 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20459 cat confcache
>$cache_file
20461 echo "not updating unwritable cache $cache_file"
20466 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20467 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20468 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20469 if test "${wx_cv_lib_glibc21+set}" = set; then
20470 echo $ECHO_N "(cached) $ECHO_C" >&6
20473 cat >conftest.
$ac_ext <<_ACEOF
20476 cat confdefs.h
>>conftest.
$ac_ext
20477 cat >>conftest.
$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20479 #include <features.h>
20484 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20485 #error not glibc2.1
20492 rm -f conftest.
$ac_objext
20493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20494 (eval $ac_compile) 2>conftest.er1
20496 grep -v '^ *+' conftest.er1
>conftest.err
20498 cat conftest.err
>&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); } &&
20501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20503 (eval $ac_try) 2>&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); }; } &&
20507 { ac_try
='test -s conftest.$ac_objext'
20508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20509 (eval $ac_try) 2>&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); }; }; then
20514 wx_cv_lib_glibc21
=yes
20517 echo "$as_me: failed program was:" >&5
20518 sed 's/^/| /' conftest.
$ac_ext >&5
20521 wx_cv_lib_glibc21
=no
20525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20528 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20529 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20530 if test "$wx_cv_lib_glibc21" = "yes"; then
20531 cat >>confdefs.h
<<\_ACEOF
20532 #define wxHAVE_GLIBC2 1
20538 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20539 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20540 cat >>confdefs.h
<<\_ACEOF
20541 #define _GNU_SOURCE 1
20549 if test "$wxUSE_REGEX" != "no"; then
20550 cat >>confdefs.h
<<\_ACEOF
20551 #define wxUSE_REGEX 1
20555 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20556 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20557 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20558 wxUSE_REGEX
=builtin
20561 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20562 if test "${ac_cv_header_regex_h+set}" = set; then
20563 echo "$as_me:$LINENO: checking for regex.h" >&5
20564 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20565 if test "${ac_cv_header_regex_h+set}" = set; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20568 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20569 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20571 # Is the header compilable?
20572 echo "$as_me:$LINENO: checking regex.h usability" >&5
20573 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20574 cat >conftest.
$ac_ext <<_ACEOF
20577 cat confdefs.h
>>conftest.
$ac_ext
20578 cat >>conftest.
$ac_ext <<_ACEOF
20579 /* end confdefs.h. */
20580 $ac_includes_default
20583 rm -f conftest.
$ac_objext
20584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20585 (eval $ac_compile) 2>conftest.er1
20587 grep -v '^ *+' conftest.er1
>conftest.err
20589 cat conftest.err
>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } &&
20592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20594 (eval $ac_try) 2>&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); }; } &&
20598 { ac_try
='test -s conftest.$ac_objext'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20600 (eval $ac_try) 2>&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; }; then
20604 ac_header_compiler
=yes
20606 echo "$as_me: failed program was:" >&5
20607 sed 's/^/| /' conftest.
$ac_ext >&5
20609 ac_header_compiler
=no
20611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20613 echo "${ECHO_T}$ac_header_compiler" >&6
20615 # Is the header present?
20616 echo "$as_me:$LINENO: checking regex.h presence" >&5
20617 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20618 cat >conftest.
$ac_ext <<_ACEOF
20621 cat confdefs.h
>>conftest.
$ac_ext
20622 cat >>conftest.
$ac_ext <<_ACEOF
20623 /* end confdefs.h. */
20626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20627 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20629 grep -v '^ *+' conftest.er1
>conftest.err
20631 cat conftest.err
>&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } >/dev
/null
; then
20634 if test -s conftest.err
; then
20635 ac_cpp_err
=$ac_c_preproc_warn_flag
20636 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20643 if test -z "$ac_cpp_err"; then
20644 ac_header_preproc
=yes
20646 echo "$as_me: failed program was:" >&5
20647 sed 's/^/| /' conftest.
$ac_ext >&5
20649 ac_header_preproc
=no
20651 rm -f conftest.err conftest.
$ac_ext
20652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20653 echo "${ECHO_T}$ac_header_preproc" >&6
20655 # So? What about this header?
20656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20658 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20659 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20660 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20661 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20662 ac_header_preproc
=yes
20665 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20666 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20667 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20668 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20669 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20670 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20671 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20672 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20673 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20674 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20675 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20676 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20679 ## ----------------------------------------- ##
20680 ## Report this to wx-dev@lists.wxwidgets.org ##
20681 ## ----------------------------------------- ##
20684 sed "s/^/$as_me: WARNING: /" >&2
20687 echo "$as_me:$LINENO: checking for regex.h" >&5
20688 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20689 if test "${ac_cv_header_regex_h+set}" = set; then
20690 echo $ECHO_N "(cached) $ECHO_C" >&6
20692 ac_cv_header_regex_h
=$ac_header_preproc
20694 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20695 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20698 if test $ac_cv_header_regex_h = yes; then
20700 for ac_func
in regcomp
20702 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20703 echo "$as_me:$LINENO: checking for $ac_func" >&5
20704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20705 if eval "test \"\${$as_ac_var+set}\" = set"; then
20706 echo $ECHO_N "(cached) $ECHO_C" >&6
20708 cat >conftest.
$ac_ext <<_ACEOF
20711 cat confdefs.h
>>conftest.
$ac_ext
20712 cat >>conftest.
$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20716 #define $ac_func innocuous_$ac_func
20718 /* System header to define __stub macros and hopefully few prototypes,
20719 which can conflict with char $ac_func (); below.
20720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20721 <limits.h> exists even on freestanding compilers. */
20724 # include <limits.h>
20726 # include <assert.h>
20731 /* Override any gcc2 internal prototype to avoid an error. */
20736 /* We use char because int might match the return type of a gcc2
20737 builtin and then its argument prototype would still apply. */
20739 /* The GNU C library defines this for functions which it implements
20740 to always fail with ENOSYS. Some functions are actually named
20741 something starting with __ and the normal name is an alias. */
20742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20745 char (*f) () = $ac_func;
20754 return f != $ac_func;
20759 rm -f conftest.
$ac_objext conftest
$ac_exeext
20760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20761 (eval $ac_link) 2>conftest.er1
20763 grep -v '^ *+' conftest.er1
>conftest.err
20765 cat conftest.err
>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } &&
20768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20770 (eval $ac_try) 2>&5
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); }; } &&
20774 { ac_try
='test -s conftest$ac_exeext'
20775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20776 (eval $ac_try) 2>&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); }; }; then
20780 eval "$as_ac_var=yes"
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.
$ac_ext >&5
20785 eval "$as_ac_var=no"
20787 rm -f conftest.err conftest.
$ac_objext \
20788 conftest
$ac_exeext conftest.
$ac_ext
20790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20792 if test `eval echo '${'$as_ac_var'}'` = yes; then
20793 cat >>confdefs.h
<<_ACEOF
20794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20804 if test "x$ac_cv_func_regcomp" != "xyes"; then
20805 if test "$wxUSE_REGEX" = "sys" ; then
20806 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20807 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20808 { (exit 1); exit 1; }; }
20810 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20811 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20812 wxUSE_REGEX
=builtin
20816 cat >>confdefs.h
<<\_ACEOF
20817 #define WX_NO_REGEX_ADVANCED 1
20823 cat >>confdefs.h
<<\_ACEOF
20824 #define wxUSE_REGEX 0
20831 if test "$wxUSE_ZLIB" != "no" ; then
20832 cat >>confdefs.h
<<\_ACEOF
20833 #define wxUSE_ZLIB 1
20837 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20838 if test "$USE_DARWIN" = 1; then
20839 system_zlib_h_ok
="yes"
20841 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20842 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20843 if test "${ac_cv_header_zlib_h+set}" = set; then
20844 echo $ECHO_N "(cached) $ECHO_C" >&6
20846 if test "$cross_compiling" = yes; then
20847 unset ac_cv_header_zlib_h
20850 cat >conftest.
$ac_ext <<_ACEOF
20853 cat confdefs.h
>>conftest.
$ac_ext
20854 cat >>conftest.
$ac_ext <<_ACEOF
20855 /* end confdefs.h. */
20862 FILE *f=fopen("conftestval", "w");
20865 ZLIB_VERSION[0] == '1' &&
20866 (ZLIB_VERSION[2] > '1' ||
20867 (ZLIB_VERSION[2] == '1' &&
20868 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20873 rm -f conftest
$ac_exeext
20874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20875 (eval $ac_link) 2>&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; }; then
20884 ac_cv_header_zlib_h
=`cat conftestval`
20886 echo "$as_me: program exited with status $ac_status" >&5
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.
$ac_ext >&5
20890 ( exit $ac_status )
20891 ac_cv_header_zlib_h
=no
20893 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20897 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20898 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20899 if test "${ac_cv_header_zlib_h+set}" = set; then
20900 echo "$as_me:$LINENO: checking for zlib.h" >&5
20901 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20902 if test "${ac_cv_header_zlib_h+set}" = set; then
20903 echo $ECHO_N "(cached) $ECHO_C" >&6
20905 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20906 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20908 # Is the header compilable?
20909 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20910 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20911 cat >conftest.
$ac_ext <<_ACEOF
20914 cat confdefs.h
>>conftest.
$ac_ext
20915 cat >>conftest.
$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20917 $ac_includes_default
20920 rm -f conftest.
$ac_objext
20921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20922 (eval $ac_compile) 2>conftest.er1
20924 grep -v '^ *+' conftest.er1
>conftest.err
20926 cat conftest.err
>&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); } &&
20929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931 (eval $ac_try) 2>&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); }; } &&
20935 { ac_try
='test -s conftest.$ac_objext'
20936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20937 (eval $ac_try) 2>&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); }; }; then
20941 ac_header_compiler
=yes
20943 echo "$as_me: failed program was:" >&5
20944 sed 's/^/| /' conftest.
$ac_ext >&5
20946 ac_header_compiler
=no
20948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20949 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20950 echo "${ECHO_T}$ac_header_compiler" >&6
20952 # Is the header present?
20953 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20954 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20955 cat >conftest.
$ac_ext <<_ACEOF
20958 cat confdefs.h
>>conftest.
$ac_ext
20959 cat >>conftest.
$ac_ext <<_ACEOF
20960 /* end confdefs.h. */
20963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20964 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20966 grep -v '^ *+' conftest.er1
>conftest.err
20968 cat conftest.err
>&5
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); } >/dev
/null
; then
20971 if test -s conftest.err
; then
20972 ac_cpp_err
=$ac_c_preproc_warn_flag
20973 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20980 if test -z "$ac_cpp_err"; then
20981 ac_header_preproc
=yes
20983 echo "$as_me: failed program was:" >&5
20984 sed 's/^/| /' conftest.
$ac_ext >&5
20986 ac_header_preproc
=no
20988 rm -f conftest.err conftest.
$ac_ext
20989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20990 echo "${ECHO_T}$ac_header_preproc" >&6
20992 # So? What about this header?
20993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20995 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20996 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20997 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20998 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20999 ac_header_preproc
=yes
21002 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21003 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21004 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21005 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21006 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21007 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21008 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21009 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21010 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21011 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21012 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21013 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21016 ## ----------------------------------------- ##
21017 ## Report this to wx-dev@lists.wxwidgets.org ##
21018 ## ----------------------------------------- ##
21021 sed "s/^/$as_me: WARNING: /" >&2
21024 echo "$as_me:$LINENO: checking for zlib.h" >&5
21025 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21026 if test "${ac_cv_header_zlib_h+set}" = set; then
21027 echo $ECHO_N "(cached) $ECHO_C" >&6
21029 ac_cv_header_zlib_h
=$ac_header_preproc
21031 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21032 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21038 system_zlib_h_ok
=$ac_cv_header_zlib_h
21041 if test "$system_zlib_h_ok" = "yes"; then
21042 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21043 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21044 if test "${ac_cv_lib_z_deflate+set}" = set; then
21045 echo $ECHO_N "(cached) $ECHO_C" >&6
21047 ac_check_lib_save_LIBS
=$LIBS
21049 cat >conftest.
$ac_ext <<_ACEOF
21052 cat confdefs.h
>>conftest.
$ac_ext
21053 cat >>conftest.
$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21056 /* Override any gcc2 internal prototype to avoid an error. */
21060 /* We use char because int might match the return type of a gcc2
21061 builtin and then its argument prototype would still apply. */
21071 rm -f conftest.
$ac_objext conftest
$ac_exeext
21072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21073 (eval $ac_link) 2>conftest.er1
21075 grep -v '^ *+' conftest.er1
>conftest.err
21077 cat conftest.err
>&5
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); } &&
21080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21082 (eval $ac_try) 2>&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); }; } &&
21086 { ac_try
='test -s conftest$ac_exeext'
21087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21088 (eval $ac_try) 2>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); }; }; then
21092 ac_cv_lib_z_deflate
=yes
21094 echo "$as_me: failed program was:" >&5
21095 sed 's/^/| /' conftest.
$ac_ext >&5
21097 ac_cv_lib_z_deflate
=no
21099 rm -f conftest.err conftest.
$ac_objext \
21100 conftest
$ac_exeext conftest.
$ac_ext
21101 LIBS
=$ac_check_lib_save_LIBS
21103 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21104 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21105 if test $ac_cv_lib_z_deflate = yes; then
21111 if test "x$ZLIB_LINK" = "x" ; then
21112 if test "$wxUSE_ZLIB" = "sys" ; then
21113 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21114 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21115 { (exit 1); exit 1; }; }
21117 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21118 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21126 cat >>confdefs.h
<<\_ACEOF
21127 #define wxUSE_ZLIB 0
21134 if test "$wxUSE_LIBPNG" != "no" ; then
21135 cat >>confdefs.h
<<\_ACEOF
21136 #define wxUSE_LIBPNG 1
21140 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21141 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21142 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21146 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21147 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21148 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21149 wxUSE_LIBPNG
=builtin
21152 if test "$wxUSE_MGL" != 1 ; then
21153 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21154 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21155 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21156 if test "${ac_cv_header_png_h+set}" = set; then
21157 echo $ECHO_N "(cached) $ECHO_C" >&6
21159 if test "$cross_compiling" = yes; then
21160 unset ac_cv_header_png_h
21163 cat >conftest.
$ac_ext <<_ACEOF
21166 cat confdefs.h
>>conftest.
$ac_ext
21167 cat >>conftest.
$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21175 FILE *f=fopen("conftestval", "w");
21178 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21183 rm -f conftest
$ac_exeext
21184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21185 (eval $ac_link) 2>&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21190 (eval $ac_try) 2>&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; }; then
21194 ac_cv_header_png_h
=`cat conftestval`
21196 echo "$as_me: program exited with status $ac_status" >&5
21197 echo "$as_me: failed program was:" >&5
21198 sed 's/^/| /' conftest.
$ac_ext >&5
21200 ( exit $ac_status )
21201 ac_cv_header_png_h
=no
21203 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21207 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21208 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21209 if test "${ac_cv_header_png_h+set}" = set; then
21210 echo "$as_me:$LINENO: checking for png.h" >&5
21211 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21212 if test "${ac_cv_header_png_h+set}" = set; then
21213 echo $ECHO_N "(cached) $ECHO_C" >&6
21215 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21216 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21218 # Is the header compilable?
21219 echo "$as_me:$LINENO: checking png.h usability" >&5
21220 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21221 cat >conftest.
$ac_ext <<_ACEOF
21224 cat confdefs.h
>>conftest.
$ac_ext
21225 cat >>conftest.
$ac_ext <<_ACEOF
21226 /* end confdefs.h. */
21227 $ac_includes_default
21230 rm -f conftest.
$ac_objext
21231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21232 (eval $ac_compile) 2>conftest.er1
21234 grep -v '^ *+' conftest.er1
>conftest.err
21236 cat conftest.err
>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } &&
21239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241 (eval $ac_try) 2>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; } &&
21245 { ac_try
='test -s conftest.$ac_objext'
21246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247 (eval $ac_try) 2>&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); }; }; then
21251 ac_header_compiler
=yes
21253 echo "$as_me: failed program was:" >&5
21254 sed 's/^/| /' conftest.
$ac_ext >&5
21256 ac_header_compiler
=no
21258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21260 echo "${ECHO_T}$ac_header_compiler" >&6
21262 # Is the header present?
21263 echo "$as_me:$LINENO: checking png.h presence" >&5
21264 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21265 cat >conftest.
$ac_ext <<_ACEOF
21268 cat confdefs.h
>>conftest.
$ac_ext
21269 cat >>conftest.
$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21274 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21276 grep -v '^ *+' conftest.er1
>conftest.err
21278 cat conftest.err
>&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); } >/dev
/null
; then
21281 if test -s conftest.err
; then
21282 ac_cpp_err
=$ac_c_preproc_warn_flag
21283 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21290 if test -z "$ac_cpp_err"; then
21291 ac_header_preproc
=yes
21293 echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.
$ac_ext >&5
21296 ac_header_preproc
=no
21298 rm -f conftest.err conftest.
$ac_ext
21299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21300 echo "${ECHO_T}$ac_header_preproc" >&6
21302 # So? What about this header?
21303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21305 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21306 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21307 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21308 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21309 ac_header_preproc
=yes
21312 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21313 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21314 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21315 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21316 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21317 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21318 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21319 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21320 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21321 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21322 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21323 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21326 ## ----------------------------------------- ##
21327 ## Report this to wx-dev@lists.wxwidgets.org ##
21328 ## ----------------------------------------- ##
21331 sed "s/^/$as_me: WARNING: /" >&2
21334 echo "$as_me:$LINENO: checking for png.h" >&5
21335 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21336 if test "${ac_cv_header_png_h+set}" = set; then
21337 echo $ECHO_N "(cached) $ECHO_C" >&6
21339 ac_cv_header_png_h
=$ac_header_preproc
21341 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21342 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21348 if test "$ac_cv_header_png_h" = "yes"; then
21349 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21350 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21351 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21352 echo $ECHO_N "(cached) $ECHO_C" >&6
21354 ac_check_lib_save_LIBS
=$LIBS
21355 LIBS
="-lpng -lz -lm $LIBS"
21356 cat >conftest.
$ac_ext <<_ACEOF
21359 cat confdefs.h
>>conftest.
$ac_ext
21360 cat >>conftest.
$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21363 /* Override any gcc2 internal prototype to avoid an error. */
21367 /* We use char because int might match the return type of a gcc2
21368 builtin and then its argument prototype would still apply. */
21369 char png_check_sig ();
21378 rm -f conftest.
$ac_objext conftest
$ac_exeext
21379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21380 (eval $ac_link) 2>conftest.er1
21382 grep -v '^ *+' conftest.er1
>conftest.err
21384 cat conftest.err
>&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } &&
21387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21389 (eval $ac_try) 2>&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); }; } &&
21393 { ac_try
='test -s conftest$ac_exeext'
21394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21395 (eval $ac_try) 2>&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); }; }; then
21399 ac_cv_lib_png_png_check_sig
=yes
21401 echo "$as_me: failed program was:" >&5
21402 sed 's/^/| /' conftest.
$ac_ext >&5
21404 ac_cv_lib_png_png_check_sig
=no
21406 rm -f conftest.err conftest.
$ac_objext \
21407 conftest
$ac_exeext conftest.
$ac_ext
21408 LIBS
=$ac_check_lib_save_LIBS
21410 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21411 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21412 if test $ac_cv_lib_png_png_check_sig = yes; then
21413 PNG_LINK
=" -lpng -lz"
21418 if test "x$PNG_LINK" = "x" ; then
21419 if test "$wxUSE_LIBPNG" = "sys" ; then
21420 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21421 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21422 { (exit 1); exit 1; }; }
21424 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21425 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21426 wxUSE_LIBPNG
=builtin
21434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21436 cat >>confdefs.h
<<\_ACEOF
21437 #define wxUSE_LIBPNG 0
21444 if test "$wxUSE_LIBJPEG" != "no" ; then
21445 cat >>confdefs.h
<<\_ACEOF
21446 #define wxUSE_LIBJPEG 1
21450 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21451 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21452 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21456 if test "$wxUSE_MGL" != 1 ; then
21457 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21458 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21459 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21460 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21461 echo $ECHO_N "(cached) $ECHO_C" >&6
21463 cat >conftest.
$ac_ext <<_ACEOF
21466 cat confdefs.h
>>conftest.
$ac_ext
21467 cat >>conftest.
$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21470 #undef HAVE_STDLIB_H
21472 #include <jpeglib.h>
21483 rm -f conftest.
$ac_objext
21484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21485 (eval $ac_compile) 2>conftest.er1
21487 grep -v '^ *+' conftest.er1
>conftest.err
21489 cat conftest.err
>&5
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); } &&
21492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21494 (eval $ac_try) 2>&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); }; } &&
21498 { ac_try
='test -s conftest.$ac_objext'
21499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21500 (eval $ac_try) 2>&5
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); }; }; then
21504 ac_cv_header_jpeglib_h
=yes
21506 echo "$as_me: failed program was:" >&5
21507 sed 's/^/| /' conftest.
$ac_ext >&5
21509 ac_cv_header_jpeglib_h
=no
21512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21516 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21517 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21519 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21520 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21521 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21522 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21523 echo $ECHO_N "(cached) $ECHO_C" >&6
21525 ac_check_lib_save_LIBS
=$LIBS
21526 LIBS
="-ljpeg $LIBS"
21527 cat >conftest.
$ac_ext <<_ACEOF
21530 cat confdefs.h
>>conftest.
$ac_ext
21531 cat >>conftest.
$ac_ext <<_ACEOF
21532 /* end confdefs.h. */
21534 /* Override any gcc2 internal prototype to avoid an error. */
21538 /* We use char because int might match the return type of a gcc2
21539 builtin and then its argument prototype would still apply. */
21540 char jpeg_read_header ();
21544 jpeg_read_header ();
21549 rm -f conftest.
$ac_objext conftest
$ac_exeext
21550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21551 (eval $ac_link) 2>conftest.er1
21553 grep -v '^ *+' conftest.er1
>conftest.err
21555 cat conftest.err
>&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); } &&
21558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560 (eval $ac_try) 2>&5
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); }; } &&
21564 { ac_try
='test -s conftest$ac_exeext'
21565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21566 (eval $ac_try) 2>&5
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); }; }; then
21570 ac_cv_lib_jpeg_jpeg_read_header
=yes
21572 echo "$as_me: failed program was:" >&5
21573 sed 's/^/| /' conftest.
$ac_ext >&5
21575 ac_cv_lib_jpeg_jpeg_read_header
=no
21577 rm -f conftest.err conftest.
$ac_objext \
21578 conftest
$ac_exeext conftest.
$ac_ext
21579 LIBS
=$ac_check_lib_save_LIBS
21581 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21582 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21583 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21584 JPEG_LINK
=" -ljpeg"
21589 if test "x$JPEG_LINK" = "x" ; then
21590 if test "$wxUSE_LIBJPEG" = "sys" ; then
21591 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21592 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21593 { (exit 1); exit 1; }; }
21595 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21596 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21597 wxUSE_LIBJPEG
=builtin
21605 cat >>confdefs.h
<<\_ACEOF
21606 #define wxUSE_LIBJPEG 0
21613 TIFF_PREREQ_LINKS
=-lm
21614 if test "$wxUSE_LIBTIFF" != "no" ; then
21615 cat >>confdefs.h
<<\_ACEOF
21616 #define wxUSE_LIBTIFF 1
21620 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21621 if test "$wxUSE_LIBJPEG" = "sys"; then
21622 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21624 if test "$wxUSE_ZLIB" = "sys"; then
21625 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21627 if test "${ac_cv_header_tiffio_h+set}" = set; then
21628 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21629 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21630 if test "${ac_cv_header_tiffio_h+set}" = set; then
21631 echo $ECHO_N "(cached) $ECHO_C" >&6
21633 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21634 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21636 # Is the header compilable?
21637 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21638 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21639 cat >conftest.
$ac_ext <<_ACEOF
21642 cat confdefs.h
>>conftest.
$ac_ext
21643 cat >>conftest.
$ac_ext <<_ACEOF
21644 /* end confdefs.h. */
21645 $ac_includes_default
21646 #include <tiffio.h>
21648 rm -f conftest.
$ac_objext
21649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21650 (eval $ac_compile) 2>conftest.er1
21652 grep -v '^ *+' conftest.er1
>conftest.err
21654 cat conftest.err
>&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } &&
21657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21659 (eval $ac_try) 2>&5
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); }; } &&
21663 { ac_try
='test -s conftest.$ac_objext'
21664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665 (eval $ac_try) 2>&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); }; }; then
21669 ac_header_compiler
=yes
21671 echo "$as_me: failed program was:" >&5
21672 sed 's/^/| /' conftest.
$ac_ext >&5
21674 ac_header_compiler
=no
21676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21678 echo "${ECHO_T}$ac_header_compiler" >&6
21680 # Is the header present?
21681 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21682 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21683 cat >conftest.
$ac_ext <<_ACEOF
21686 cat confdefs.h
>>conftest.
$ac_ext
21687 cat >>conftest.
$ac_ext <<_ACEOF
21688 /* end confdefs.h. */
21689 #include <tiffio.h>
21691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21692 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21694 grep -v '^ *+' conftest.er1
>conftest.err
21696 cat conftest.err
>&5
21697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698 (exit $ac_status); } >/dev
/null
; then
21699 if test -s conftest.err
; then
21700 ac_cpp_err
=$ac_c_preproc_warn_flag
21701 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21708 if test -z "$ac_cpp_err"; then
21709 ac_header_preproc
=yes
21711 echo "$as_me: failed program was:" >&5
21712 sed 's/^/| /' conftest.
$ac_ext >&5
21714 ac_header_preproc
=no
21716 rm -f conftest.err conftest.
$ac_ext
21717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21718 echo "${ECHO_T}$ac_header_preproc" >&6
21720 # So? What about this header?
21721 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21723 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21724 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21725 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21726 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21727 ac_header_preproc
=yes
21730 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21731 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21732 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21733 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21734 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21735 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21736 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21737 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21738 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21739 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21740 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21741 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21744 ## ----------------------------------------- ##
21745 ## Report this to wx-dev@lists.wxwidgets.org ##
21746 ## ----------------------------------------- ##
21749 sed "s/^/$as_me: WARNING: /" >&2
21752 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21753 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21754 if test "${ac_cv_header_tiffio_h+set}" = set; then
21755 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 ac_cv_header_tiffio_h
=$ac_header_preproc
21759 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21760 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21763 if test $ac_cv_header_tiffio_h = yes; then
21765 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21766 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21767 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21768 echo $ECHO_N "(cached) $ECHO_C" >&6
21770 ac_check_lib_save_LIBS
=$LIBS
21771 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21772 cat >conftest.
$ac_ext <<_ACEOF
21775 cat confdefs.h
>>conftest.
$ac_ext
21776 cat >>conftest.
$ac_ext <<_ACEOF
21777 /* end confdefs.h. */
21779 /* Override any gcc2 internal prototype to avoid an error. */
21783 /* We use char because int might match the return type of a gcc2
21784 builtin and then its argument prototype would still apply. */
21794 rm -f conftest.
$ac_objext conftest
$ac_exeext
21795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21796 (eval $ac_link) 2>conftest.er1
21798 grep -v '^ *+' conftest.er1
>conftest.err
21800 cat conftest.err
>&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); } &&
21803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21805 (eval $ac_try) 2>&5
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); }; } &&
21809 { ac_try
='test -s conftest$ac_exeext'
21810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21811 (eval $ac_try) 2>&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); }; }; then
21815 ac_cv_lib_tiff_TIFFError
=yes
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.
$ac_ext >&5
21820 ac_cv_lib_tiff_TIFFError
=no
21822 rm -f conftest.err conftest.
$ac_objext \
21823 conftest
$ac_exeext conftest.
$ac_ext
21824 LIBS
=$ac_check_lib_save_LIBS
21826 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21827 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21828 if test $ac_cv_lib_tiff_TIFFError = yes; then
21829 TIFF_LINK
=" -ltiff"
21838 if test "x$TIFF_LINK" = "x" ; then
21839 if test "$wxUSE_LIBTIFF" = "sys" ; then
21840 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21841 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21842 { (exit 1); exit 1; }; }
21844 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21845 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21846 wxUSE_LIBTIFF
=builtin
21853 cat >>confdefs.h
<<\_ACEOF
21854 #define wxUSE_LIBTIFF 0
21860 if test "$wxUSE_EXPAT" != "no"; then
21862 cat >>confdefs.h
<<\_ACEOF
21863 #define wxUSE_EXPAT 1
21866 cat >>confdefs.h
<<\_ACEOF
21867 #define wxUSE_XML 1
21871 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21872 if test "${ac_cv_header_expat_h+set}" = set; then
21873 echo "$as_me:$LINENO: checking for expat.h" >&5
21874 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21875 if test "${ac_cv_header_expat_h+set}" = set; then
21876 echo $ECHO_N "(cached) $ECHO_C" >&6
21878 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21879 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21881 # Is the header compilable?
21882 echo "$as_me:$LINENO: checking expat.h usability" >&5
21883 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21884 cat >conftest.
$ac_ext <<_ACEOF
21887 cat confdefs.h
>>conftest.
$ac_ext
21888 cat >>conftest.
$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21890 $ac_includes_default
21893 rm -f conftest.
$ac_objext
21894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21895 (eval $ac_compile) 2>conftest.er1
21897 grep -v '^ *+' conftest.er1
>conftest.err
21899 cat conftest.err
>&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904 (eval $ac_try) 2>&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; } &&
21908 { ac_try
='test -s conftest.$ac_objext'
21909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21910 (eval $ac_try) 2>&5
21912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913 (exit $ac_status); }; }; then
21914 ac_header_compiler
=yes
21916 echo "$as_me: failed program was:" >&5
21917 sed 's/^/| /' conftest.
$ac_ext >&5
21919 ac_header_compiler
=no
21921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21923 echo "${ECHO_T}$ac_header_compiler" >&6
21925 # Is the header present?
21926 echo "$as_me:$LINENO: checking expat.h presence" >&5
21927 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21928 cat >conftest.
$ac_ext <<_ACEOF
21931 cat confdefs.h
>>conftest.
$ac_ext
21932 cat >>conftest.
$ac_ext <<_ACEOF
21933 /* end confdefs.h. */
21936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21937 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21939 grep -v '^ *+' conftest.er1
>conftest.err
21941 cat conftest.err
>&5
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); } >/dev
/null
; then
21944 if test -s conftest.err
; then
21945 ac_cpp_err
=$ac_c_preproc_warn_flag
21946 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21953 if test -z "$ac_cpp_err"; then
21954 ac_header_preproc
=yes
21956 echo "$as_me: failed program was:" >&5
21957 sed 's/^/| /' conftest.
$ac_ext >&5
21959 ac_header_preproc
=no
21961 rm -f conftest.err conftest.
$ac_ext
21962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21963 echo "${ECHO_T}$ac_header_preproc" >&6
21965 # So? What about this header?
21966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21968 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21969 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21970 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21971 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21972 ac_header_preproc
=yes
21975 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21976 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21977 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21978 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21979 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21980 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21981 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21982 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21983 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21984 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21985 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21986 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21989 ## ----------------------------------------- ##
21990 ## Report this to wx-dev@lists.wxwidgets.org ##
21991 ## ----------------------------------------- ##
21994 sed "s/^/$as_me: WARNING: /" >&2
21997 echo "$as_me:$LINENO: checking for expat.h" >&5
21998 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21999 if test "${ac_cv_header_expat_h+set}" = set; then
22000 echo $ECHO_N "(cached) $ECHO_C" >&6
22002 ac_cv_header_expat_h
=$ac_header_preproc
22004 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22005 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22008 if test $ac_cv_header_expat_h = yes; then
22013 if test "x$found_expat_h" = "x1"; then
22014 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22015 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22016 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22023 ac_cpp
='$CXXCPP $CPPFLAGS'
22024 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22025 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22026 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22028 cat >conftest.
$ac_ext <<_ACEOF
22031 cat confdefs.h
>>conftest.
$ac_ext
22032 cat >>conftest.
$ac_ext <<_ACEOF
22033 /* end confdefs.h. */
22043 rm -f conftest.
$ac_objext
22044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22045 (eval $ac_compile) 2>conftest.er1
22047 grep -v '^ *+' conftest.er1
>conftest.err
22049 cat conftest.err
>&5
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); } &&
22052 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22054 (eval $ac_try) 2>&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; } &&
22058 { ac_try
='test -s conftest.$ac_objext'
22059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22060 (eval $ac_try) 2>&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); }; }; then
22064 wx_cv_expat_is_not_broken
=yes
22066 echo "$as_me: failed program was:" >&5
22067 sed 's/^/| /' conftest.
$ac_ext >&5
22069 wx_cv_expat_is_not_broken
=no
22072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22074 ac_cpp
='$CPP $CPPFLAGS'
22075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22082 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22083 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22084 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22085 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22086 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22087 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 ac_check_lib_save_LIBS
=$LIBS
22091 LIBS
="-lexpat $LIBS"
22092 cat >conftest.
$ac_ext <<_ACEOF
22095 cat confdefs.h
>>conftest.
$ac_ext
22096 cat >>conftest.
$ac_ext <<_ACEOF
22097 /* end confdefs.h. */
22099 /* Override any gcc2 internal prototype to avoid an error. */
22103 /* We use char because int might match the return type of a gcc2
22104 builtin and then its argument prototype would still apply. */
22105 char XML_ParserCreate ();
22109 XML_ParserCreate ();
22114 rm -f conftest.
$ac_objext conftest
$ac_exeext
22115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22116 (eval $ac_link) 2>conftest.er1
22118 grep -v '^ *+' conftest.er1
>conftest.err
22120 cat conftest.err
>&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); } &&
22123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22125 (eval $ac_try) 2>&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); }; } &&
22129 { ac_try
='test -s conftest$ac_exeext'
22130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22131 (eval $ac_try) 2>&5
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); }; }; then
22135 ac_cv_lib_expat_XML_ParserCreate
=yes
22137 echo "$as_me: failed program was:" >&5
22138 sed 's/^/| /' conftest.
$ac_ext >&5
22140 ac_cv_lib_expat_XML_ParserCreate
=no
22142 rm -f conftest.err conftest.
$ac_objext \
22143 conftest
$ac_exeext conftest.
$ac_ext
22144 LIBS
=$ac_check_lib_save_LIBS
22146 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22147 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22148 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22149 EXPAT_LINK
=" -lexpat"
22154 if test "x$EXPAT_LINK" = "x" ; then
22155 if test "$wxUSE_EXPAT" = "sys" ; then
22156 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22157 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22158 { (exit 1); exit 1; }; }
22160 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22161 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22162 wxUSE_EXPAT
=builtin
22168 if test "$wxUSE_EXPAT" = "builtin" ; then
22171 subdirs
="$subdirs src/expat"
22175 cat >>confdefs.h
<<\_ACEOF
22176 #define wxUSE_EXPAT 0
22179 cat >>confdefs.h
<<\_ACEOF
22180 #define wxUSE_XML 0
22187 if test "$wxUSE_LIBMSPACK" != "no"; then
22188 if test "${ac_cv_header_mspack_h+set}" = set; then
22189 echo "$as_me:$LINENO: checking for mspack.h" >&5
22190 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22191 if test "${ac_cv_header_mspack_h+set}" = set; then
22192 echo $ECHO_N "(cached) $ECHO_C" >&6
22194 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22195 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22197 # Is the header compilable?
22198 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22199 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22200 cat >conftest.
$ac_ext <<_ACEOF
22203 cat confdefs.h
>>conftest.
$ac_ext
22204 cat >>conftest.
$ac_ext <<_ACEOF
22205 /* end confdefs.h. */
22206 $ac_includes_default
22207 #include <mspack.h>
22209 rm -f conftest.
$ac_objext
22210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22211 (eval $ac_compile) 2>conftest.er1
22213 grep -v '^ *+' conftest.er1
>conftest.err
22215 cat conftest.err
>&5
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); } &&
22218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22220 (eval $ac_try) 2>&5
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); }; } &&
22224 { ac_try
='test -s conftest.$ac_objext'
22225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22226 (eval $ac_try) 2>&5
22228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22229 (exit $ac_status); }; }; then
22230 ac_header_compiler
=yes
22232 echo "$as_me: failed program was:" >&5
22233 sed 's/^/| /' conftest.
$ac_ext >&5
22235 ac_header_compiler
=no
22237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22239 echo "${ECHO_T}$ac_header_compiler" >&6
22241 # Is the header present?
22242 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22243 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22244 cat >conftest.
$ac_ext <<_ACEOF
22247 cat confdefs.h
>>conftest.
$ac_ext
22248 cat >>conftest.
$ac_ext <<_ACEOF
22249 /* end confdefs.h. */
22250 #include <mspack.h>
22252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22255 grep -v '^ *+' conftest.er1
>conftest.err
22257 cat conftest.err
>&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); } >/dev
/null
; then
22260 if test -s conftest.err
; then
22261 ac_cpp_err
=$ac_c_preproc_warn_flag
22262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22269 if test -z "$ac_cpp_err"; then
22270 ac_header_preproc
=yes
22272 echo "$as_me: failed program was:" >&5
22273 sed 's/^/| /' conftest.
$ac_ext >&5
22275 ac_header_preproc
=no
22277 rm -f conftest.err conftest.
$ac_ext
22278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22279 echo "${ECHO_T}$ac_header_preproc" >&6
22281 # So? What about this header?
22282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22284 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22285 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22286 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22287 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22288 ac_header_preproc
=yes
22291 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22292 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22293 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22294 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22295 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22296 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22297 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22298 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22299 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22300 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22301 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22302 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22305 ## ----------------------------------------- ##
22306 ## Report this to wx-dev@lists.wxwidgets.org ##
22307 ## ----------------------------------------- ##
22310 sed "s/^/$as_me: WARNING: /" >&2
22313 echo "$as_me:$LINENO: checking for mspack.h" >&5
22314 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22315 if test "${ac_cv_header_mspack_h+set}" = set; then
22316 echo $ECHO_N "(cached) $ECHO_C" >&6
22318 ac_cv_header_mspack_h
=$ac_header_preproc
22320 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22321 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22324 if test $ac_cv_header_mspack_h = yes; then
22329 if test "x$found_mspack_h" = "x1"; then
22330 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22331 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22332 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22333 echo $ECHO_N "(cached) $ECHO_C" >&6
22335 ac_check_lib_save_LIBS
=$LIBS
22336 LIBS
="-lmspack $LIBS"
22337 cat >conftest.
$ac_ext <<_ACEOF
22340 cat confdefs.h
>>conftest.
$ac_ext
22341 cat >>conftest.
$ac_ext <<_ACEOF
22342 /* end confdefs.h. */
22344 /* Override any gcc2 internal prototype to avoid an error. */
22348 /* We use char because int might match the return type of a gcc2
22349 builtin and then its argument prototype would still apply. */
22350 char mspack_create_chm_decompressor ();
22354 mspack_create_chm_decompressor ();
22359 rm -f conftest.
$ac_objext conftest
$ac_exeext
22360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22361 (eval $ac_link) 2>conftest.er1
22363 grep -v '^ *+' conftest.er1
>conftest.err
22365 cat conftest.err
>&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); } &&
22368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22370 (eval $ac_try) 2>&5
22372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22373 (exit $ac_status); }; } &&
22374 { ac_try
='test -s conftest$ac_exeext'
22375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22376 (eval $ac_try) 2>&5
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); }; }; then
22380 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22382 echo "$as_me: failed program was:" >&5
22383 sed 's/^/| /' conftest.
$ac_ext >&5
22385 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22387 rm -f conftest.err conftest.
$ac_objext \
22388 conftest
$ac_exeext conftest.
$ac_ext
22389 LIBS
=$ac_check_lib_save_LIBS
22391 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22392 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22393 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22394 MSPACK_LINK
=" -lmspack"
22398 if test "x$MSPACK_LINK" = "x" ; then
22403 if test "$wxUSE_LIBMSPACK" != "no"; then
22404 cat >>confdefs.h
<<\_ACEOF
22405 #define wxUSE_LIBMSPACK 1
22409 cat >>confdefs.h
<<\_ACEOF
22410 #define wxUSE_LIBMSPACK 0
22424 if test "$USE_WIN32" = 1 ; then
22426 for ac_header
in w32api.h
22428 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22430 echo "$as_me:$LINENO: checking for $ac_header" >&5
22431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22433 echo $ECHO_N "(cached) $ECHO_C" >&6
22435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22438 # Is the header compilable?
22439 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22441 cat >conftest.
$ac_ext <<_ACEOF
22444 cat confdefs.h
>>conftest.
$ac_ext
22445 cat >>conftest.
$ac_ext <<_ACEOF
22446 /* end confdefs.h. */
22447 $ac_includes_default
22448 #include <$ac_header>
22450 rm -f conftest.
$ac_objext
22451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22452 (eval $ac_compile) 2>conftest.er1
22454 grep -v '^ *+' conftest.er1
>conftest.err
22456 cat conftest.err
>&5
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); } &&
22459 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22461 (eval $ac_try) 2>&5
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); }; } &&
22465 { ac_try
='test -s conftest.$ac_objext'
22466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22467 (eval $ac_try) 2>&5
22469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22470 (exit $ac_status); }; }; then
22471 ac_header_compiler
=yes
22473 echo "$as_me: failed program was:" >&5
22474 sed 's/^/| /' conftest.
$ac_ext >&5
22476 ac_header_compiler
=no
22478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22479 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22480 echo "${ECHO_T}$ac_header_compiler" >&6
22482 # Is the header present?
22483 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22484 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22485 cat >conftest.
$ac_ext <<_ACEOF
22488 cat confdefs.h
>>conftest.
$ac_ext
22489 cat >>conftest.
$ac_ext <<_ACEOF
22490 /* end confdefs.h. */
22491 #include <$ac_header>
22493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22494 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22496 grep -v '^ *+' conftest.er1
>conftest.err
22498 cat conftest.err
>&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } >/dev
/null
; then
22501 if test -s conftest.err
; then
22502 ac_cpp_err
=$ac_c_preproc_warn_flag
22503 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22510 if test -z "$ac_cpp_err"; then
22511 ac_header_preproc
=yes
22513 echo "$as_me: failed program was:" >&5
22514 sed 's/^/| /' conftest.
$ac_ext >&5
22516 ac_header_preproc
=no
22518 rm -f conftest.err conftest.
$ac_ext
22519 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22520 echo "${ECHO_T}$ac_header_preproc" >&6
22522 # So? What about this header?
22523 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22525 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22526 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22528 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22529 ac_header_preproc
=yes
22532 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22533 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22534 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22535 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22536 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22537 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22538 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22539 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22541 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22542 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22543 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22546 ## ----------------------------------------- ##
22547 ## Report this to wx-dev@lists.wxwidgets.org ##
22548 ## ----------------------------------------- ##
22551 sed "s/^/$as_me: WARNING: /" >&2
22554 echo "$as_me:$LINENO: checking for $ac_header" >&5
22555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22557 echo $ECHO_N "(cached) $ECHO_C" >&6
22559 eval "$as_ac_Header=\$ac_header_preproc"
22561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22566 cat >>confdefs.h
<<_ACEOF
22567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22574 if test "${ac_cv_header_windows_h+set}" = set; then
22575 echo "$as_me:$LINENO: checking for windows.h" >&5
22576 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22577 if test "${ac_cv_header_windows_h+set}" = set; then
22578 echo $ECHO_N "(cached) $ECHO_C" >&6
22580 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22581 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22583 # Is the header compilable?
22584 echo "$as_me:$LINENO: checking windows.h usability" >&5
22585 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22586 cat >conftest.
$ac_ext <<_ACEOF
22589 cat confdefs.h
>>conftest.
$ac_ext
22590 cat >>conftest.
$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 $ac_includes_default
22593 #include <windows.h>
22595 rm -f conftest.
$ac_objext
22596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22597 (eval $ac_compile) 2>conftest.er1
22599 grep -v '^ *+' conftest.er1
>conftest.err
22601 cat conftest.err
>&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } &&
22604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606 (eval $ac_try) 2>&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); }; } &&
22610 { ac_try
='test -s conftest.$ac_objext'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612 (eval $ac_try) 2>&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; }; then
22616 ac_header_compiler
=yes
22618 echo "$as_me: failed program was:" >&5
22619 sed 's/^/| /' conftest.
$ac_ext >&5
22621 ac_header_compiler
=no
22623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22625 echo "${ECHO_T}$ac_header_compiler" >&6
22627 # Is the header present?
22628 echo "$as_me:$LINENO: checking windows.h presence" >&5
22629 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22630 cat >conftest.
$ac_ext <<_ACEOF
22633 cat confdefs.h
>>conftest.
$ac_ext
22634 cat >>conftest.
$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636 #include <windows.h>
22638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22639 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22641 grep -v '^ *+' conftest.er1
>conftest.err
22643 cat conftest.err
>&5
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); } >/dev
/null
; then
22646 if test -s conftest.err
; then
22647 ac_cpp_err
=$ac_c_preproc_warn_flag
22648 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22655 if test -z "$ac_cpp_err"; then
22656 ac_header_preproc
=yes
22658 echo "$as_me: failed program was:" >&5
22659 sed 's/^/| /' conftest.
$ac_ext >&5
22661 ac_header_preproc
=no
22663 rm -f conftest.err conftest.
$ac_ext
22664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22665 echo "${ECHO_T}$ac_header_preproc" >&6
22667 # So? What about this header?
22668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22670 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22671 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22672 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22673 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22674 ac_header_preproc
=yes
22677 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22678 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22679 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22680 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22681 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22682 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22683 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22684 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22685 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22686 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22687 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22688 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22691 ## ----------------------------------------- ##
22692 ## Report this to wx-dev@lists.wxwidgets.org ##
22693 ## ----------------------------------------- ##
22696 sed "s/^/$as_me: WARNING: /" >&2
22699 echo "$as_me:$LINENO: checking for windows.h" >&5
22700 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22701 if test "${ac_cv_header_windows_h+set}" = set; then
22702 echo $ECHO_N "(cached) $ECHO_C" >&6
22704 ac_cv_header_windows_h
=$ac_header_preproc
22706 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22707 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22710 if test $ac_cv_header_windows_h = yes; then
22714 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22715 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22716 { (exit 1); exit 1; }; }
22722 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22724 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22725 LIBS
="$LIBS -loleacc"
22730 LIBS
="$LIBS -lkernel32 -luser32"
22731 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22734 if test "$wxUSE_ODBC" = "sys" ; then
22737 if test "$wxUSE_ODBC" = "yes" ; then
22738 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22739 cat >>confdefs.h
<<\_ACEOF
22740 #define wxUSE_ODBC 1
22745 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22746 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22748 WIN32INSTALL
=win32install
22751 if test "$wxUSE_GUI" = "yes"; then
22761 if test "$wxUSE_COCOA" = 1 ; then
22762 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22763 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22764 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22765 wxUSE_PRINTING_ARCHITECTURE
=no
22767 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22768 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22769 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22770 wxUSE_DRAG_AND_DROP
=no
22772 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22773 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22774 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22779 if test "$wxUSE_MSW" = 1 ; then
22785 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22789 if test "$wxUSE_GTK" = 1; then
22790 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22791 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22793 gtk_version_cached
=1
22794 if test "${wx_cv_lib_gtk+set}" = set; then
22795 echo $ECHO_N "(cached) $ECHO_C" >&6
22798 gtk_version_cached
=0
22799 echo "$as_me:$LINENO: result: " >&5
22800 echo "${ECHO_T}" >&6
22803 if test "$wxUSE_THREADS" = "yes"; then
22804 GTK_MODULES
=gthread
22808 if test "x$wxUSE_GTK2" = "xyes"; then
22809 # Check whether --enable-gtktest or --disable-gtktest was given.
22810 if test "${enable_gtktest+set}" = set; then
22811 enableval
="$enable_gtktest"
22817 pkg_config_args
=gtk
+-2.0
22818 for module
in .
$GTK_MODULES
22822 pkg_config_args
="$pkg_config_args gthread-2.0"
22829 # Extract the first word of "pkg-config", so it can be a program name with args.
22830 set dummy pkg
-config; ac_word
=$2
22831 echo "$as_me:$LINENO: checking for $ac_word" >&5
22832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22833 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22836 case $PKG_CONFIG in
22838 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22842 for as_dir
in $PATH
22845 test -z "$as_dir" && as_dir
=.
22846 for ac_exec_ext
in '' $ac_executable_extensions; do
22847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22848 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22855 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22859 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22861 if test -n "$PKG_CONFIG"; then
22862 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22863 echo "${ECHO_T}$PKG_CONFIG" >&6
22865 echo "$as_me:$LINENO: result: no" >&5
22866 echo "${ECHO_T}no" >&6
22870 if test x
$PKG_CONFIG != xno
; then
22871 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22874 echo "*** pkg-config too old; version 0.7 or better required."
22882 min_gtk_version
=2.0.0
22883 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22884 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22886 if test x
$PKG_CONFIG != xno
; then
22887 ## don't try to run the test against uninstalled libtool libs
22888 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22889 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22893 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22900 if test x
"$no_gtk" = x
; then
22901 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22902 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22903 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22904 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22905 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22906 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22907 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22909 if test "x$enable_gtktest" = "xyes" ; then
22910 ac_save_CFLAGS
="$CFLAGS"
22911 ac_save_LIBS
="$LIBS"
22912 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22913 LIBS
="$GTK_LIBS $LIBS"
22915 if test "$cross_compiling" = yes; then
22916 echo $ac_n "cross compiling; assumed OK... $ac_c"
22918 cat >conftest.
$ac_ext <<_ACEOF
22921 cat confdefs.h
>>conftest.
$ac_ext
22922 cat >>conftest.
$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22925 #include <gtk/gtk.h>
22927 #include <stdlib.h>
22932 int major, minor, micro;
22935 system ("touch conf.gtktest");
22937 /* HP/UX 9 (%@#!) writes to sscanf strings */
22938 tmp_version = g_strdup("$min_gtk_version");
22939 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22940 printf("%s, bad version string\n", "$min_gtk_version");
22944 if ((gtk_major_version != $gtk_config_major_version) ||
22945 (gtk_minor_version != $gtk_config_minor_version) ||
22946 (gtk_micro_version != $gtk_config_micro_version))
22948 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22949 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22950 gtk_major_version, gtk_minor_version, gtk_micro_version);
22951 printf ("*** was found! If pkg-config was correct, then it is best\n");
22952 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22953 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22954 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22955 printf("*** required on your system.\n");
22956 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22957 printf("*** to point to the correct configuration files\n");
22959 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22960 (gtk_minor_version != GTK_MINOR_VERSION) ||
22961 (gtk_micro_version != GTK_MICRO_VERSION))
22963 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22964 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22965 printf("*** library (version %d.%d.%d)\n",
22966 gtk_major_version, gtk_minor_version, gtk_micro_version);
22970 if ((gtk_major_version > major) ||
22971 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22972 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22978 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22979 gtk_major_version, gtk_minor_version, gtk_micro_version);
22980 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22981 major, minor, micro);
22982 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22984 printf("*** If you have already installed a sufficiently new version, this error\n");
22985 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22986 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22987 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22988 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22989 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22990 printf("*** so that the correct libraries are found at run-time))\n");
22997 rm -f conftest
$ac_exeext
22998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22999 (eval $ac_link) 2>&5
23001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23004 (eval $ac_try) 2>&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); }; }; then
23010 echo "$as_me: program exited with status $ac_status" >&5
23011 echo "$as_me: failed program was:" >&5
23012 sed 's/^/| /' conftest.
$ac_ext >&5
23014 ( exit $ac_status )
23017 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23019 CFLAGS
="$ac_save_CFLAGS"
23020 LIBS
="$ac_save_LIBS"
23023 if test "x$no_gtk" = x
; then
23024 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23025 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23028 echo "$as_me:$LINENO: result: no" >&5
23029 echo "${ECHO_T}no" >&6
23030 if test "$PKG_CONFIG" = "no" ; then
23031 echo "*** A new enough version of pkg-config was not found."
23032 echo "*** See http://pkgconfig.sourceforge.net"
23034 if test -f conf.gtktest
; then
23037 echo "*** Could not run GTK+ test program, checking why..."
23038 ac_save_CFLAGS
="$CFLAGS"
23039 ac_save_LIBS
="$LIBS"
23040 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23041 LIBS
="$LIBS $GTK_LIBS"
23042 cat >conftest.
$ac_ext <<_ACEOF
23045 cat confdefs.h
>>conftest.
$ac_ext
23046 cat >>conftest.
$ac_ext <<_ACEOF
23047 /* end confdefs.h. */
23049 #include <gtk/gtk.h>
23055 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23060 rm -f conftest.
$ac_objext conftest
$ac_exeext
23061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23062 (eval $ac_link) 2>conftest.er1
23064 grep -v '^ *+' conftest.er1
>conftest.err
23066 cat conftest.err
>&5
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); } &&
23069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071 (eval $ac_try) 2>&5
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); }; } &&
23075 { ac_try
='test -s conftest$ac_exeext'
23076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23077 (eval $ac_try) 2>&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); }; }; then
23081 echo "*** The test program compiled, but did not run. This usually means"
23082 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23083 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23084 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23085 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23086 echo "*** is required on your system"
23088 echo "*** If you have an old version installed, it is best to remove it, although"
23089 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23091 echo "$as_me: failed program was:" >&5
23092 sed 's/^/| /' conftest.
$ac_ext >&5
23094 echo "*** The test program failed to compile or link. See the file config.log for the"
23095 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23097 rm -f conftest.err conftest.
$ac_objext \
23098 conftest
$ac_exeext conftest.
$ac_ext
23099 CFLAGS
="$ac_save_CFLAGS"
23100 LIBS
="$ac_save_LIBS"
23113 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23114 if test "${with_gtk_prefix+set}" = set; then
23115 withval
="$with_gtk_prefix"
23116 gtk_config_prefix
="$withval"
23118 gtk_config_prefix
=""
23121 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23122 if test "${with_gtk_exec_prefix+set}" = set; then
23123 withval
="$with_gtk_exec_prefix"
23124 gtk_config_exec_prefix
="$withval"
23126 gtk_config_exec_prefix
=""
23128 # Check whether --enable-gtktest or --disable-gtktest was given.
23129 if test "${enable_gtktest+set}" = set; then
23130 enableval
="$enable_gtktest"
23136 for module
in .
$GTK_MODULES
23140 gtk_config_args
="$gtk_config_args gthread"
23145 if test x
$gtk_config_exec_prefix != x
; then
23146 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23147 if test x
${GTK_CONFIG+set} != xset
; then
23148 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23151 if test x
$gtk_config_prefix != x
; then
23152 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23153 if test x
${GTK_CONFIG+set} != xset
; then
23154 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23158 # Extract the first word of "gtk-config", so it can be a program name with args.
23159 set dummy gtk
-config; ac_word
=$2
23160 echo "$as_me:$LINENO: checking for $ac_word" >&5
23161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23162 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23163 echo $ECHO_N "(cached) $ECHO_C" >&6
23165 case $GTK_CONFIG in
23167 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23171 for as_dir
in $PATH
23174 test -z "$as_dir" && as_dir
=.
23175 for ac_exec_ext
in '' $ac_executable_extensions; do
23176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23177 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23184 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23188 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23190 if test -n "$GTK_CONFIG"; then
23191 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23192 echo "${ECHO_T}$GTK_CONFIG" >&6
23194 echo "$as_me:$LINENO: result: no" >&5
23195 echo "${ECHO_T}no" >&6
23198 min_gtk_version
=1.2.7
23199 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23200 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23202 if test "$GTK_CONFIG" = "no" ; then
23205 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23206 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23207 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23208 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23209 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23211 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23213 if test "x$enable_gtktest" = "xyes" ; then
23214 ac_save_CFLAGS
="$CFLAGS"
23215 ac_save_LIBS
="$LIBS"
23216 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23217 LIBS
="$GTK_LIBS $LIBS"
23219 if test "$cross_compiling" = yes; then
23220 echo $ac_n "cross compiling; assumed OK... $ac_c"
23222 cat >conftest.
$ac_ext <<_ACEOF
23225 cat confdefs.h
>>conftest.
$ac_ext
23226 cat >>conftest.
$ac_ext <<_ACEOF
23227 /* end confdefs.h. */
23229 #include <gtk/gtk.h>
23231 #include <stdlib.h>
23236 int major, minor, micro;
23239 system ("touch conf.gtktest");
23241 /* HP/UX 9 (%@#!) writes to sscanf strings */
23242 tmp_version = g_strdup("$min_gtk_version");
23243 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23244 printf("%s, bad version string\n", "$min_gtk_version");
23248 if ((gtk_major_version != $gtk_config_major_version) ||
23249 (gtk_minor_version != $gtk_config_minor_version) ||
23250 (gtk_micro_version != $gtk_config_micro_version))
23252 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23253 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23254 gtk_major_version, gtk_minor_version, gtk_micro_version);
23255 printf ("*** was found! If gtk-config was correct, then it is best\n");
23256 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23257 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23258 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23259 printf("*** required on your system.\n");
23260 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23261 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23262 printf("*** before re-running configure\n");
23264 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23265 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23266 (gtk_minor_version != GTK_MINOR_VERSION) ||
23267 (gtk_micro_version != GTK_MICRO_VERSION))
23269 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23270 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23271 printf("*** library (version %d.%d.%d)\n",
23272 gtk_major_version, gtk_minor_version, gtk_micro_version);
23274 #endif /* defined (GTK_MAJOR_VERSION) ... */
23277 if ((gtk_major_version > major) ||
23278 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23279 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23285 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23286 gtk_major_version, gtk_minor_version, gtk_micro_version);
23287 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23288 major, minor, micro);
23289 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23291 printf("*** If you have already installed a sufficiently new version, this error\n");
23292 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23293 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23294 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23295 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23296 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23297 printf("*** so that the correct libraries are found at run-time))\n");
23304 rm -f conftest
$ac_exeext
23305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23306 (eval $ac_link) 2>&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23311 (eval $ac_try) 2>&5
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); }; }; then
23317 echo "$as_me: program exited with status $ac_status" >&5
23318 echo "$as_me: failed program was:" >&5
23319 sed 's/^/| /' conftest.
$ac_ext >&5
23321 ( exit $ac_status )
23324 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23326 CFLAGS
="$ac_save_CFLAGS"
23327 LIBS
="$ac_save_LIBS"
23330 if test "x$no_gtk" = x
; then
23331 echo "$as_me:$LINENO: result: yes" >&5
23332 echo "${ECHO_T}yes" >&6
23333 wx_cv_lib_gtk
=1.2.7
23335 echo "$as_me:$LINENO: result: no" >&5
23336 echo "${ECHO_T}no" >&6
23337 if test "$GTK_CONFIG" = "no" ; then
23338 echo "*** The gtk-config script installed by GTK could not be found"
23339 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23340 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23341 echo "*** full path to gtk-config."
23343 if test -f conf.gtktest
; then
23346 echo "*** Could not run GTK test program, checking why..."
23347 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23348 LIBS
="$LIBS $GTK_LIBS"
23349 cat >conftest.
$ac_ext <<_ACEOF
23352 cat confdefs.h
>>conftest.
$ac_ext
23353 cat >>conftest.
$ac_ext <<_ACEOF
23354 /* end confdefs.h. */
23356 #include <gtk/gtk.h>
23362 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23367 rm -f conftest.
$ac_objext conftest
$ac_exeext
23368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23369 (eval $ac_link) 2>conftest.er1
23371 grep -v '^ *+' conftest.er1
>conftest.err
23373 cat conftest.err
>&5
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); } &&
23376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23378 (eval $ac_try) 2>&5
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); }; } &&
23382 { ac_try
='test -s conftest$ac_exeext'
23383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23384 (eval $ac_try) 2>&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); }; }; then
23388 echo "*** The test program compiled, but did not run. This usually means"
23389 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23390 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23391 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23392 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23393 echo "*** is required on your system"
23395 echo "*** If you have an old version installed, it is best to remove it, although"
23396 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23398 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23399 echo "*** came with the system with the command"
23401 echo "*** rpm --erase --nodeps gtk gtk-devel"
23403 echo "$as_me: failed program was:" >&5
23404 sed 's/^/| /' conftest.
$ac_ext >&5
23406 echo "*** The test program failed to compile or link. See the file config.log for the"
23407 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23408 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23409 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23411 rm -f conftest.err conftest.
$ac_objext \
23412 conftest
$ac_exeext conftest.
$ac_ext
23413 CFLAGS
="$ac_save_CFLAGS"
23414 LIBS
="$ac_save_LIBS"
23426 if test -z "$wx_cv_lib_gtk"; then
23428 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23429 if test "${with_gtk_prefix+set}" = set; then
23430 withval
="$with_gtk_prefix"
23431 gtk_config_prefix
="$withval"
23433 gtk_config_prefix
=""
23436 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23437 if test "${with_gtk_exec_prefix+set}" = set; then
23438 withval
="$with_gtk_exec_prefix"
23439 gtk_config_exec_prefix
="$withval"
23441 gtk_config_exec_prefix
=""
23443 # Check whether --enable-gtktest or --disable-gtktest was given.
23444 if test "${enable_gtktest+set}" = set; then
23445 enableval
="$enable_gtktest"
23451 for module
in .
$GTK_MODULES
23455 gtk_config_args
="$gtk_config_args gthread"
23460 if test x
$gtk_config_exec_prefix != x
; then
23461 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23462 if test x
${GTK_CONFIG+set} != xset
; then
23463 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23466 if test x
$gtk_config_prefix != x
; then
23467 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23468 if test x
${GTK_CONFIG+set} != xset
; then
23469 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23473 # Extract the first word of "gtk-config", so it can be a program name with args.
23474 set dummy gtk
-config; ac_word
=$2
23475 echo "$as_me:$LINENO: checking for $ac_word" >&5
23476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23477 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23478 echo $ECHO_N "(cached) $ECHO_C" >&6
23480 case $GTK_CONFIG in
23482 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23486 for as_dir
in $PATH
23489 test -z "$as_dir" && as_dir
=.
23490 for ac_exec_ext
in '' $ac_executable_extensions; do
23491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23492 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23499 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23503 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23505 if test -n "$GTK_CONFIG"; then
23506 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23507 echo "${ECHO_T}$GTK_CONFIG" >&6
23509 echo "$as_me:$LINENO: result: no" >&5
23510 echo "${ECHO_T}no" >&6
23513 min_gtk_version
=1.2.3
23514 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23515 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23517 if test "$GTK_CONFIG" = "no" ; then
23520 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23521 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23522 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23524 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23526 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23527 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23528 if test "x$enable_gtktest" = "xyes" ; then
23529 ac_save_CFLAGS
="$CFLAGS"
23530 ac_save_LIBS
="$LIBS"
23531 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23532 LIBS
="$GTK_LIBS $LIBS"
23534 if test "$cross_compiling" = yes; then
23535 echo $ac_n "cross compiling; assumed OK... $ac_c"
23537 cat >conftest.
$ac_ext <<_ACEOF
23540 cat confdefs.h
>>conftest.
$ac_ext
23541 cat >>conftest.
$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23544 #include <gtk/gtk.h>
23546 #include <stdlib.h>
23551 int major, minor, micro;
23554 system ("touch conf.gtktest");
23556 /* HP/UX 9 (%@#!) writes to sscanf strings */
23557 tmp_version = g_strdup("$min_gtk_version");
23558 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23559 printf("%s, bad version string\n", "$min_gtk_version");
23563 if ((gtk_major_version != $gtk_config_major_version) ||
23564 (gtk_minor_version != $gtk_config_minor_version) ||
23565 (gtk_micro_version != $gtk_config_micro_version))
23567 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23568 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23569 gtk_major_version, gtk_minor_version, gtk_micro_version);
23570 printf ("*** was found! If gtk-config was correct, then it is best\n");
23571 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23572 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23573 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23574 printf("*** required on your system.\n");
23575 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23576 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23577 printf("*** before re-running configure\n");
23579 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23580 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23581 (gtk_minor_version != GTK_MINOR_VERSION) ||
23582 (gtk_micro_version != GTK_MICRO_VERSION))
23584 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23585 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23586 printf("*** library (version %d.%d.%d)\n",
23587 gtk_major_version, gtk_minor_version, gtk_micro_version);
23589 #endif /* defined (GTK_MAJOR_VERSION) ... */
23592 if ((gtk_major_version > major) ||
23593 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23594 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23600 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23601 gtk_major_version, gtk_minor_version, gtk_micro_version);
23602 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23603 major, minor, micro);
23604 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23606 printf("*** If you have already installed a sufficiently new version, this error\n");
23607 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23608 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23609 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23610 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23611 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23612 printf("*** so that the correct libraries are found at run-time))\n");
23619 rm -f conftest
$ac_exeext
23620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23621 (eval $ac_link) 2>&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23626 (eval $ac_try) 2>&5
23628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629 (exit $ac_status); }; }; then
23632 echo "$as_me: program exited with status $ac_status" >&5
23633 echo "$as_me: failed program was:" >&5
23634 sed 's/^/| /' conftest.
$ac_ext >&5
23636 ( exit $ac_status )
23639 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23641 CFLAGS
="$ac_save_CFLAGS"
23642 LIBS
="$ac_save_LIBS"
23645 if test "x$no_gtk" = x
; then
23646 echo "$as_me:$LINENO: result: yes" >&5
23647 echo "${ECHO_T}yes" >&6
23648 wx_cv_lib_gtk
=1.2.3
23650 echo "$as_me:$LINENO: result: no" >&5
23651 echo "${ECHO_T}no" >&6
23652 if test "$GTK_CONFIG" = "no" ; then
23653 echo "*** The gtk-config script installed by GTK could not be found"
23654 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23655 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23656 echo "*** full path to gtk-config."
23658 if test -f conf.gtktest
; then
23661 echo "*** Could not run GTK test program, checking why..."
23662 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23663 LIBS
="$LIBS $GTK_LIBS"
23664 cat >conftest.
$ac_ext <<_ACEOF
23667 cat confdefs.h
>>conftest.
$ac_ext
23668 cat >>conftest.
$ac_ext <<_ACEOF
23669 /* end confdefs.h. */
23671 #include <gtk/gtk.h>
23677 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23682 rm -f conftest.
$ac_objext conftest
$ac_exeext
23683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23684 (eval $ac_link) 2>conftest.er1
23686 grep -v '^ *+' conftest.er1
>conftest.err
23688 cat conftest.err
>&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); } &&
23691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23693 (eval $ac_try) 2>&5
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); }; } &&
23697 { ac_try
='test -s conftest$ac_exeext'
23698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699 (eval $ac_try) 2>&5
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; }; then
23703 echo "*** The test program compiled, but did not run. This usually means"
23704 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23705 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23706 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23707 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23708 echo "*** is required on your system"
23710 echo "*** If you have an old version installed, it is best to remove it, although"
23711 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23713 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23714 echo "*** came with the system with the command"
23716 echo "*** rpm --erase --nodeps gtk gtk-devel"
23718 echo "$as_me: failed program was:" >&5
23719 sed 's/^/| /' conftest.
$ac_ext >&5
23721 echo "*** The test program failed to compile or link. See the file config.log for the"
23722 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23723 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23724 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23726 rm -f conftest.err conftest.
$ac_objext \
23727 conftest
$ac_exeext conftest.
$ac_ext
23728 CFLAGS
="$ac_save_CFLAGS"
23729 LIBS
="$ac_save_LIBS"
23743 if test -z "$wx_cv_lib_gtk"; then
23746 wx_cv_cflags_gtk
=$GTK_CFLAGS
23747 wx_cv_libs_gtk
=$GTK_LIBS
23754 if test "$gtk_version_cached" = 1; then
23755 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23756 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23759 case "$wx_cv_lib_gtk" in
23768 *) { { echo "$as_me:$LINENO: error:
23769 Please check that gtk-config is in path, the directory
23770 where GTK+ libraries are installed (returned by
23771 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23772 equivalent variable and GTK+ is version 1.2.3 or above.
23774 echo "$as_me: error:
23775 Please check that gtk-config is in path, the directory
23776 where GTK+ libraries are installed (returned by
23777 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23778 equivalent variable and GTK+ is version 1.2.3 or above.
23780 { (exit 1); exit 1; }; }
23784 if test "$WXGTK20" = 1; then
23785 save_CFLAGS
="$CFLAGS"
23787 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23788 LIBS
="$LIBS $GTK_LIBS"
23791 for ac_func
in pango_font_family_is_monospace
23793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23794 echo "$as_me:$LINENO: checking for $ac_func" >&5
23795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23796 if eval "test \"\${$as_ac_var+set}\" = set"; then
23797 echo $ECHO_N "(cached) $ECHO_C" >&6
23799 cat >conftest.
$ac_ext <<_ACEOF
23802 cat confdefs.h
>>conftest.
$ac_ext
23803 cat >>conftest.
$ac_ext <<_ACEOF
23804 /* end confdefs.h. */
23805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23807 #define $ac_func innocuous_$ac_func
23809 /* System header to define __stub macros and hopefully few prototypes,
23810 which can conflict with char $ac_func (); below.
23811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23812 <limits.h> exists even on freestanding compilers. */
23815 # include <limits.h>
23817 # include <assert.h>
23822 /* Override any gcc2 internal prototype to avoid an error. */
23827 /* We use char because int might match the return type of a gcc2
23828 builtin and then its argument prototype would still apply. */
23830 /* The GNU C library defines this for functions which it implements
23831 to always fail with ENOSYS. Some functions are actually named
23832 something starting with __ and the normal name is an alias. */
23833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23836 char (*f) () = $ac_func;
23845 return f != $ac_func;
23850 rm -f conftest.
$ac_objext conftest
$ac_exeext
23851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23852 (eval $ac_link) 2>conftest.er1
23854 grep -v '^ *+' conftest.er1
>conftest.err
23856 cat conftest.err
>&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } &&
23859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23861 (eval $ac_try) 2>&5
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); }; } &&
23865 { ac_try
='test -s conftest$ac_exeext'
23866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23867 (eval $ac_try) 2>&5
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); }; }; then
23871 eval "$as_ac_var=yes"
23873 echo "$as_me: failed program was:" >&5
23874 sed 's/^/| /' conftest.
$ac_ext >&5
23876 eval "$as_ac_var=no"
23878 rm -f conftest.err conftest.
$ac_objext \
23879 conftest
$ac_exeext conftest.
$ac_ext
23881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23883 if test `eval echo '${'$as_ac_var'}'` = yes; then
23884 cat >>confdefs.h
<<_ACEOF
23885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23892 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
23893 echo $ECHO_N "checking if GTK+ is version >= 2.4... $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. */
23901 #include <gtk/gtk.h>
23907 #if !GTK_CHECK_VERSION(2,4,0)
23908 #error "Not GTK+ 2.4"
23915 rm -f conftest.
$ac_objext
23916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23917 (eval $ac_compile) 2>conftest.er1
23919 grep -v '^ *+' conftest.er1
>conftest.err
23921 cat conftest.err
>&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } &&
23924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23926 (eval $ac_try) 2>&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); }; } &&
23930 { ac_try
='test -s conftest.$ac_objext'
23931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23932 (eval $ac_try) 2>&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); }; }; then
23937 cat >>confdefs.h
<<\_ACEOF
23938 #define __WXGTK24__ 1
23941 echo "$as_me:$LINENO: result: yes" >&5
23942 echo "${ECHO_T}yes" >&6
23945 echo "$as_me: failed program was:" >&5
23946 sed 's/^/| /' conftest.
$ac_ext >&5
23949 echo "$as_me:$LINENO: result: no" >&5
23950 echo "${ECHO_T}no" >&6
23953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23955 CFLAGS
="$save_CFLAGS"
23958 if test "$wxUSE_UNICODE" = "yes"; then
23959 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23960 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23965 if test "$USE_DARWIN" != 1; then
23967 for ac_func
in poll
23969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23970 echo "$as_me:$LINENO: checking for $ac_func" >&5
23971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23972 if eval "test \"\${$as_ac_var+set}\" = set"; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23975 cat >conftest.
$ac_ext <<_ACEOF
23978 cat confdefs.h
>>conftest.
$ac_ext
23979 cat >>conftest.
$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23983 #define $ac_func innocuous_$ac_func
23985 /* System header to define __stub macros and hopefully few prototypes,
23986 which can conflict with char $ac_func (); below.
23987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23988 <limits.h> exists even on freestanding compilers. */
23991 # include <limits.h>
23993 # include <assert.h>
23998 /* Override any gcc2 internal prototype to avoid an error. */
24003 /* We use char because int might match the return type of a gcc2
24004 builtin and then its argument prototype would still apply. */
24006 /* The GNU C library defines this for functions which it implements
24007 to always fail with ENOSYS. Some functions are actually named
24008 something starting with __ and the normal name is an alias. */
24009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24012 char (*f) () = $ac_func;
24021 return f != $ac_func;
24026 rm -f conftest.
$ac_objext conftest
$ac_exeext
24027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24028 (eval $ac_link) 2>conftest.er1
24030 grep -v '^ *+' conftest.er1
>conftest.err
24032 cat conftest.err
>&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } &&
24035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24037 (eval $ac_try) 2>&5
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); }; } &&
24041 { ac_try
='test -s conftest$ac_exeext'
24042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24043 (eval $ac_try) 2>&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); }; }; then
24047 eval "$as_ac_var=yes"
24049 echo "$as_me: failed program was:" >&5
24050 sed 's/^/| /' conftest.
$ac_ext >&5
24052 eval "$as_ac_var=no"
24054 rm -f conftest.err conftest.
$ac_objext \
24055 conftest
$ac_exeext conftest.
$ac_ext
24057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24059 if test `eval echo '${'$as_ac_var'}'` = yes; then
24060 cat >>confdefs.h
<<_ACEOF
24061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24069 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24070 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24072 AFMINSTALL
=afminstall
24076 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24077 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24078 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24079 echo $ECHO_N "(cached) $ECHO_C" >&6
24081 ac_check_lib_save_LIBS
=$LIBS
24083 cat >conftest.
$ac_ext <<_ACEOF
24086 cat confdefs.h
>>conftest.
$ac_ext
24087 cat >>conftest.
$ac_ext <<_ACEOF
24088 /* end confdefs.h. */
24090 /* Override any gcc2 internal prototype to avoid an error. */
24094 /* We use char because int might match the return type of a gcc2
24095 builtin and then its argument prototype would still apply. */
24096 char gdk_im_open ();
24105 rm -f conftest.
$ac_objext conftest
$ac_exeext
24106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24107 (eval $ac_link) 2>conftest.er1
24109 grep -v '^ *+' conftest.er1
>conftest.err
24111 cat conftest.err
>&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); } &&
24114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24116 (eval $ac_try) 2>&5
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); }; } &&
24120 { ac_try
='test -s conftest$ac_exeext'
24121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24122 (eval $ac_try) 2>&5
24124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24125 (exit $ac_status); }; }; then
24126 ac_cv_lib_gdk_gdk_im_open
=yes
24128 echo "$as_me: failed program was:" >&5
24129 sed 's/^/| /' conftest.
$ac_ext >&5
24131 ac_cv_lib_gdk_gdk_im_open
=no
24133 rm -f conftest.err conftest.
$ac_objext \
24134 conftest
$ac_exeext conftest.
$ac_ext
24135 LIBS
=$ac_check_lib_save_LIBS
24137 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24138 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24139 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24140 cat >>confdefs.h
<<\_ACEOF
24148 if test "$wxUSE_GPE" = "yes"; then
24149 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24150 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24153 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24155 for ac_extension
in a so sl dylib
; do
24156 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24157 ac_find_libraries
=$ac_dir
24163 if test "$ac_find_libraries" != "" ; then
24165 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24167 if test $result = 0; then
24170 ac_path_to_link
=" -L$ac_find_libraries"
24173 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24175 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24176 echo "${ECHO_T}found at $ac_find_libraries" >&6
24178 echo "$as_me:$LINENO: result: not found" >&5
24179 echo "${ECHO_T}not found" >&6
24185 if test "$wxUSE_MGL" = 1; then
24186 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24187 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24188 if test "x$MGL_ROOT" = x
; then
24189 echo "$as_me:$LINENO: result: not found" >&5
24190 echo "${ECHO_T}not found" >&6
24191 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24192 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24193 { (exit 1); exit 1; }; }
24195 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24196 echo "${ECHO_T}$MGL_ROOT" >&6
24199 echo "$as_me:$LINENO: checking for libmgl location" >&5
24200 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24203 if test "x$wxUSE_SHARED" = xyes
; then
24204 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24206 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24210 mgl_os_candidates
="dos32/dj2"
24213 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24214 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24215 { (exit 1); exit 1; }; }
24221 for mgl_os_i
in $mgl_os_candidates ; do
24222 if test "x$mgl_os" = x
; then
24223 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24224 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24225 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24230 if test "x$mgl_lib_type" = x
; then
24231 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24232 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24233 mgl_lib_type
=release
24240 if test "x$mgl_os" = x
; then
24241 echo "$as_me:$LINENO: result: not found" >&5
24242 echo "${ECHO_T}not found" >&6
24243 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24244 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24245 { (exit 1); exit 1; }; }
24247 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24248 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24250 wxUSE_UNIVERSAL
="yes"
24252 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24253 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24255 AFMINSTALL
=afminstall
24260 if test "$wxUSE_MICROWIN" = 1; then
24261 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24262 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24263 if test "x$MICROWINDOWS" = x
; then
24264 echo "$as_me:$LINENO: result: not found" >&5
24265 echo "${ECHO_T}not found" >&6
24266 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24267 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24268 { (exit 1); exit 1; }; }
24270 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24271 echo "${ECHO_T}$MICROWINDOWS" >&6
24274 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24275 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24276 echo "${ECHO_T}MicroWindows' libraries found." >&6
24278 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24279 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24280 { (exit 1); exit 1; }; }
24283 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24284 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24286 wxUSE_UNIVERSAL
="yes"
24288 AFMINSTALL
=afminstall
24290 GUIDIST
=MICROWIN_DIST
24292 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24295 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24297 if test "x$ac_path_x_has_been_run" != xyes
; then
24298 echo "$as_me:$LINENO: checking for X" >&5
24299 echo $ECHO_N "checking for X... $ECHO_C" >&6
24301 ac_path_x_has_been_run
=yes
24303 # Check whether --with-x or --without-x was given.
24304 if test "${with_x+set}" = set; then
24308 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24309 if test "x$with_x" = xno
; then
24310 # The user explicitly disabled X.
24313 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24314 # Both variables are already set.
24317 if test "${ac_cv_have_x+set}" = set; then
24318 echo $ECHO_N "(cached) $ECHO_C" >&6
24320 # One or both of the vars are not set, and there is no cached value.
24321 ac_x_includes
=no ac_x_libraries
=no
24322 rm -fr conftest.dir
24323 if mkdir conftest.dir
; then
24325 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24326 cat >Imakefile
<<'_ACEOF'
24328 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24330 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24331 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24332 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24333 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24334 for ac_extension
in a so sl
; do
24335 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24336 test -f $ac_im_libdir/libX11.
$ac_extension; then
24337 ac_im_usrlibdir
=$ac_im_libdir; break
24340 # Screen out bogus values from the imake configuration. They are
24341 # bogus both because they are the default anyway, and because
24342 # using them would break gcc on systems where it needs fixed includes.
24343 case $ac_im_incroot in
24345 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24347 case $ac_im_usrlibdir in
24348 /usr
/lib
| /lib
) ;;
24349 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24353 rm -fr conftest.dir
24356 # Standard set of common directories for X headers.
24357 # Check X11 before X11Rn because it is often a symlink to the current release.
24369 /usr/local/X11/include
24370 /usr/local/X11R6/include
24371 /usr/local/X11R5/include
24372 /usr/local/X11R4/include
24374 /usr/local/include/X11
24375 /usr/local/include/X11R6
24376 /usr/local/include/X11R5
24377 /usr/local/include/X11R4
24381 /usr/XFree86/include/X11
24385 /usr/unsupported/include
24386 /usr/athena/include
24387 /usr/local/x11r5/include
24388 /usr/lpp/Xamples/include
24390 /usr/openwin/include
24391 /usr/openwin/share/include'
24393 if test "$ac_x_includes" = no
; then
24394 # Guess where to find include files, by looking for a specified header file.
24395 # First, try using that file with no special directory specified.
24396 cat >conftest.
$ac_ext <<_ACEOF
24399 cat confdefs.h
>>conftest.
$ac_ext
24400 cat >>conftest.
$ac_ext <<_ACEOF
24401 /* end confdefs.h. */
24402 #include <X11/Intrinsic.h>
24404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24405 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24407 grep -v '^ *+' conftest.er1
>conftest.err
24409 cat conftest.err
>&5
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); } >/dev
/null
; then
24412 if test -s conftest.err
; then
24413 ac_cpp_err
=$ac_c_preproc_warn_flag
24414 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24421 if test -z "$ac_cpp_err"; then
24422 # We can compile using X headers with no special include directory.
24425 echo "$as_me: failed program was:" >&5
24426 sed 's/^/| /' conftest.
$ac_ext >&5
24428 for ac_dir
in $ac_x_header_dirs; do
24429 if test -r "$ac_dir/X11/Intrinsic.h"; then
24430 ac_x_includes
=$ac_dir
24435 rm -f conftest.err conftest.
$ac_ext
24436 fi # $ac_x_includes = no
24438 if test "$ac_x_libraries" = no
; then
24439 # Check for the libraries.
24440 # See if we find them without any special options.
24441 # Don't add to $LIBS permanently.
24444 cat >conftest.
$ac_ext <<_ACEOF
24447 cat confdefs.h
>>conftest.
$ac_ext
24448 cat >>conftest.
$ac_ext <<_ACEOF
24449 /* end confdefs.h. */
24450 #include <X11/Intrinsic.h>
24459 rm -f conftest.
$ac_objext conftest
$ac_exeext
24460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24461 (eval $ac_link) 2>conftest.er1
24463 grep -v '^ *+' conftest.er1
>conftest.err
24465 cat conftest.err
>&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); } &&
24468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24470 (eval $ac_try) 2>&5
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); }; } &&
24474 { ac_try
='test -s conftest$ac_exeext'
24475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24476 (eval $ac_try) 2>&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); }; }; then
24481 # We can link X programs with no special library path.
24484 echo "$as_me: failed program was:" >&5
24485 sed 's/^/| /' conftest.
$ac_ext >&5
24488 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24490 # Don't even attempt the hair of trying to link an X program!
24491 for ac_extension
in a so sl
; do
24492 if test -r $ac_dir/libXt.
$ac_extension; then
24493 ac_x_libraries
=$ac_dir
24499 rm -f conftest.err conftest.
$ac_objext \
24500 conftest
$ac_exeext conftest.
$ac_ext
24501 fi # $ac_x_libraries = no
24503 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24504 # Didn't find X anywhere. Cache the known absence of X.
24505 ac_cv_have_x
="have_x=no"
24507 # Record where we found X for the cache.
24508 ac_cv_have_x
="have_x=yes \
24509 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24514 eval "$ac_cv_have_x"
24517 if test "$have_x" != yes; then
24518 echo "$as_me:$LINENO: result: $have_x" >&5
24519 echo "${ECHO_T}$have_x" >&6
24522 # If each of the values was on the command line, it overrides each guess.
24523 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24524 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24525 # Update the cache value to reflect the command line values.
24526 ac_cv_have_x
="have_x=yes \
24527 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24528 # It might be that x_includes is empty (headers are found in the
24529 # standard search path. Then output the corresponding message
24530 ac_out_x_includes
=$x_includes
24531 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
24532 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24533 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24537 if test "$no_x" = yes; then
24538 # Not all programs may use this symbol, but it does not hurt to define it.
24540 cat >>confdefs.h
<<\_ACEOF
24541 #define X_DISPLAY_MISSING 1
24544 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24546 if test -n "$x_includes"; then
24547 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24550 # It would also be nice to do this for all -L options, not just this one.
24551 if test -n "$x_libraries"; then
24552 X_LIBS
="$X_LIBS -L$x_libraries"
24553 # For Solaris; some versions of Sun CC require a space after -R and
24554 # others require no space. Words are not sufficient . . . .
24555 case `(uname -sr) 2>/dev/null` in
24557 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24558 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24559 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24560 cat >conftest.
$ac_ext <<_ACEOF
24563 cat confdefs.h
>>conftest.
$ac_ext
24564 cat >>conftest.
$ac_ext <<_ACEOF
24565 /* end confdefs.h. */
24575 rm -f conftest.
$ac_objext conftest
$ac_exeext
24576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24577 (eval $ac_link) 2>conftest.er1
24579 grep -v '^ *+' conftest.er1
>conftest.err
24581 cat conftest.err
>&5
24582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24583 (exit $ac_status); } &&
24584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24586 (eval $ac_try) 2>&5
24588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 (exit $ac_status); }; } &&
24590 { ac_try
='test -s conftest$ac_exeext'
24591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24592 (eval $ac_try) 2>&5
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); }; }; then
24598 echo "$as_me: failed program was:" >&5
24599 sed 's/^/| /' conftest.
$ac_ext >&5
24603 rm -f conftest.err conftest.
$ac_objext \
24604 conftest
$ac_exeext conftest.
$ac_ext
24605 if test $ac_R_nospace = yes; then
24606 echo "$as_me:$LINENO: result: no" >&5
24607 echo "${ECHO_T}no" >&6
24608 X_LIBS
="$X_LIBS -R$x_libraries"
24610 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24611 cat >conftest.
$ac_ext <<_ACEOF
24614 cat confdefs.h
>>conftest.
$ac_ext
24615 cat >>conftest.
$ac_ext <<_ACEOF
24616 /* end confdefs.h. */
24626 rm -f conftest.
$ac_objext conftest
$ac_exeext
24627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24628 (eval $ac_link) 2>conftest.er1
24630 grep -v '^ *+' conftest.er1
>conftest.err
24632 cat conftest.err
>&5
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); } &&
24635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24637 (eval $ac_try) 2>&5
24639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24640 (exit $ac_status); }; } &&
24641 { ac_try
='test -s conftest$ac_exeext'
24642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24643 (eval $ac_try) 2>&5
24645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24646 (exit $ac_status); }; }; then
24649 echo "$as_me: failed program was:" >&5
24650 sed 's/^/| /' conftest.
$ac_ext >&5
24654 rm -f conftest.err conftest.
$ac_objext \
24655 conftest
$ac_exeext conftest.
$ac_ext
24656 if test $ac_R_space = yes; then
24657 echo "$as_me:$LINENO: result: yes" >&5
24658 echo "${ECHO_T}yes" >&6
24659 X_LIBS
="$X_LIBS -R $x_libraries"
24661 echo "$as_me:$LINENO: result: neither works" >&5
24662 echo "${ECHO_T}neither works" >&6
24665 LIBS
=$ac_xsave_LIBS
24669 # Check for system-dependent libraries X programs must link with.
24670 # Do this before checking for the system-independent R6 libraries
24671 # (-lICE), since we may need -lsocket or whatever for X linking.
24673 if test "$ISC" = yes; then
24674 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24676 # Martyn Johnson says this is needed for Ultrix, if the X
24677 # libraries were built with DECnet support. And Karl Berry says
24678 # the Alpha needs dnet_stub (dnet does not exist).
24679 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24680 cat >conftest.
$ac_ext <<_ACEOF
24683 cat confdefs.h
>>conftest.
$ac_ext
24684 cat >>conftest.
$ac_ext <<_ACEOF
24685 /* end confdefs.h. */
24687 /* Override any gcc2 internal prototype to avoid an error. */
24691 /* We use char because int might match the return type of a gcc2
24692 builtin and then its argument prototype would still apply. */
24693 char XOpenDisplay ();
24702 rm -f conftest.
$ac_objext conftest
$ac_exeext
24703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24704 (eval $ac_link) 2>conftest.er1
24706 grep -v '^ *+' conftest.er1
>conftest.err
24708 cat conftest.err
>&5
24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710 (exit $ac_status); } &&
24711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24713 (eval $ac_try) 2>&5
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); }; } &&
24717 { ac_try
='test -s conftest$ac_exeext'
24718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24719 (eval $ac_try) 2>&5
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); }; }; then
24725 echo "$as_me: failed program was:" >&5
24726 sed 's/^/| /' conftest.
$ac_ext >&5
24728 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24729 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24730 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24731 echo $ECHO_N "(cached) $ECHO_C" >&6
24733 ac_check_lib_save_LIBS
=$LIBS
24734 LIBS
="-ldnet $LIBS"
24735 cat >conftest.
$ac_ext <<_ACEOF
24738 cat confdefs.h
>>conftest.
$ac_ext
24739 cat >>conftest.
$ac_ext <<_ACEOF
24740 /* end confdefs.h. */
24742 /* Override any gcc2 internal prototype to avoid an error. */
24746 /* We use char because int might match the return type of a gcc2
24747 builtin and then its argument prototype would still apply. */
24757 rm -f conftest.
$ac_objext conftest
$ac_exeext
24758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24759 (eval $ac_link) 2>conftest.er1
24761 grep -v '^ *+' conftest.er1
>conftest.err
24763 cat conftest.err
>&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } &&
24766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24768 (eval $ac_try) 2>&5
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); }; } &&
24772 { ac_try
='test -s conftest$ac_exeext'
24773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24774 (eval $ac_try) 2>&5
24776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777 (exit $ac_status); }; }; then
24778 ac_cv_lib_dnet_dnet_ntoa
=yes
24780 echo "$as_me: failed program was:" >&5
24781 sed 's/^/| /' conftest.
$ac_ext >&5
24783 ac_cv_lib_dnet_dnet_ntoa
=no
24785 rm -f conftest.err conftest.
$ac_objext \
24786 conftest
$ac_exeext conftest.
$ac_ext
24787 LIBS
=$ac_check_lib_save_LIBS
24789 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24790 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24791 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24792 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24795 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24796 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24797 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24798 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24799 echo $ECHO_N "(cached) $ECHO_C" >&6
24801 ac_check_lib_save_LIBS
=$LIBS
24802 LIBS
="-ldnet_stub $LIBS"
24803 cat >conftest.
$ac_ext <<_ACEOF
24806 cat confdefs.h
>>conftest.
$ac_ext
24807 cat >>conftest.
$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24810 /* Override any gcc2 internal prototype to avoid an error. */
24814 /* We use char because int might match the return type of a gcc2
24815 builtin and then its argument prototype would still apply. */
24825 rm -f conftest.
$ac_objext conftest
$ac_exeext
24826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24827 (eval $ac_link) 2>conftest.er1
24829 grep -v '^ *+' conftest.er1
>conftest.err
24831 cat conftest.err
>&5
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); } &&
24834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; } &&
24840 { ac_try
='test -s conftest$ac_exeext'
24841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24842 (eval $ac_try) 2>&5
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); }; }; then
24846 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.
$ac_ext >&5
24851 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24853 rm -f conftest.err conftest.
$ac_objext \
24854 conftest
$ac_exeext conftest.
$ac_ext
24855 LIBS
=$ac_check_lib_save_LIBS
24857 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24858 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24859 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24860 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24865 rm -f conftest.err conftest.
$ac_objext \
24866 conftest
$ac_exeext conftest.
$ac_ext
24867 LIBS
="$ac_xsave_LIBS"
24869 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24870 # to get the SysV transport functions.
24871 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24873 # The nsl library prevents programs from opening the X display
24874 # on Irix 5.2, according to T.E. Dickey.
24875 # The functions gethostbyname, getservbyname, and inet_addr are
24876 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24877 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24878 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24879 if test "${ac_cv_func_gethostbyname+set}" = set; then
24880 echo $ECHO_N "(cached) $ECHO_C" >&6
24882 cat >conftest.
$ac_ext <<_ACEOF
24885 cat confdefs.h
>>conftest.
$ac_ext
24886 cat >>conftest.
$ac_ext <<_ACEOF
24887 /* end confdefs.h. */
24888 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24890 #define gethostbyname innocuous_gethostbyname
24892 /* System header to define __stub macros and hopefully few prototypes,
24893 which can conflict with char gethostbyname (); below.
24894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24895 <limits.h> exists even on freestanding compilers. */
24898 # include <limits.h>
24900 # include <assert.h>
24903 #undef gethostbyname
24905 /* Override any gcc2 internal prototype to avoid an error. */
24910 /* We use char because int might match the return type of a gcc2
24911 builtin and then its argument prototype would still apply. */
24912 char gethostbyname ();
24913 /* The GNU C library defines this for functions which it implements
24914 to always fail with ENOSYS. Some functions are actually named
24915 something starting with __ and the normal name is an alias. */
24916 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24919 char (*f) () = gethostbyname;
24928 return f != gethostbyname;
24933 rm -f conftest.
$ac_objext conftest
$ac_exeext
24934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24935 (eval $ac_link) 2>conftest.er1
24937 grep -v '^ *+' conftest.er1
>conftest.err
24939 cat conftest.err
>&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } &&
24942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24944 (eval $ac_try) 2>&5
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); }; } &&
24948 { ac_try
='test -s conftest$ac_exeext'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; }; then
24954 ac_cv_func_gethostbyname
=yes
24956 echo "$as_me: failed program was:" >&5
24957 sed 's/^/| /' conftest.
$ac_ext >&5
24959 ac_cv_func_gethostbyname
=no
24961 rm -f conftest.err conftest.
$ac_objext \
24962 conftest
$ac_exeext conftest.
$ac_ext
24964 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24965 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24967 if test $ac_cv_func_gethostbyname = no
; then
24968 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24969 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24970 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24971 echo $ECHO_N "(cached) $ECHO_C" >&6
24973 ac_check_lib_save_LIBS
=$LIBS
24975 cat >conftest.
$ac_ext <<_ACEOF
24978 cat confdefs.h
>>conftest.
$ac_ext
24979 cat >>conftest.
$ac_ext <<_ACEOF
24980 /* end confdefs.h. */
24982 /* Override any gcc2 internal prototype to avoid an error. */
24986 /* We use char because int might match the return type of a gcc2
24987 builtin and then its argument prototype would still apply. */
24988 char gethostbyname ();
24997 rm -f conftest.
$ac_objext conftest
$ac_exeext
24998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24999 (eval $ac_link) 2>conftest.er1
25001 grep -v '^ *+' conftest.er1
>conftest.err
25003 cat conftest.err
>&5
25004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); } &&
25006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25008 (eval $ac_try) 2>&5
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); }; } &&
25012 { ac_try
='test -s conftest$ac_exeext'
25013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25014 (eval $ac_try) 2>&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); }; }; then
25018 ac_cv_lib_nsl_gethostbyname
=yes
25020 echo "$as_me: failed program was:" >&5
25021 sed 's/^/| /' conftest.
$ac_ext >&5
25023 ac_cv_lib_nsl_gethostbyname
=no
25025 rm -f conftest.err conftest.
$ac_objext \
25026 conftest
$ac_exeext conftest.
$ac_ext
25027 LIBS
=$ac_check_lib_save_LIBS
25029 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25030 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25031 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25032 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25035 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25036 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25037 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25038 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25039 echo $ECHO_N "(cached) $ECHO_C" >&6
25041 ac_check_lib_save_LIBS
=$LIBS
25043 cat >conftest.
$ac_ext <<_ACEOF
25046 cat confdefs.h
>>conftest.
$ac_ext
25047 cat >>conftest.
$ac_ext <<_ACEOF
25048 /* end confdefs.h. */
25050 /* Override any gcc2 internal prototype to avoid an error. */
25054 /* We use char because int might match the return type of a gcc2
25055 builtin and then its argument prototype would still apply. */
25056 char gethostbyname ();
25065 rm -f conftest.
$ac_objext conftest
$ac_exeext
25066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25067 (eval $ac_link) 2>conftest.er1
25069 grep -v '^ *+' conftest.er1
>conftest.err
25071 cat conftest.err
>&5
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); } &&
25074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; } &&
25080 { ac_try
='test -s conftest$ac_exeext'
25081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25082 (eval $ac_try) 2>&5
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); }; }; then
25086 ac_cv_lib_bsd_gethostbyname
=yes
25088 echo "$as_me: failed program was:" >&5
25089 sed 's/^/| /' conftest.
$ac_ext >&5
25091 ac_cv_lib_bsd_gethostbyname
=no
25093 rm -f conftest.err conftest.
$ac_objext \
25094 conftest
$ac_exeext conftest.
$ac_ext
25095 LIBS
=$ac_check_lib_save_LIBS
25097 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25098 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25099 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25100 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25106 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25107 # socket/setsockopt and other routines are undefined under SCO ODT
25108 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25109 # on later versions), says Simon Leinen: it contains gethostby*
25110 # variants that don't use the name server (or something). -lsocket
25111 # must be given before -lnsl if both are needed. We assume that
25112 # if connect needs -lnsl, so does gethostbyname.
25113 echo "$as_me:$LINENO: checking for connect" >&5
25114 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25115 if test "${ac_cv_func_connect+set}" = set; then
25116 echo $ECHO_N "(cached) $ECHO_C" >&6
25118 cat >conftest.
$ac_ext <<_ACEOF
25121 cat confdefs.h
>>conftest.
$ac_ext
25122 cat >>conftest.
$ac_ext <<_ACEOF
25123 /* end confdefs.h. */
25124 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25126 #define connect innocuous_connect
25128 /* System header to define __stub macros and hopefully few prototypes,
25129 which can conflict with char connect (); below.
25130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25131 <limits.h> exists even on freestanding compilers. */
25134 # include <limits.h>
25136 # include <assert.h>
25141 /* Override any gcc2 internal prototype to avoid an error. */
25146 /* We use char because int might match the return type of a gcc2
25147 builtin and then its argument prototype would still apply. */
25149 /* The GNU C library defines this for functions which it implements
25150 to always fail with ENOSYS. Some functions are actually named
25151 something starting with __ and the normal name is an alias. */
25152 #if defined (__stub_connect) || defined (__stub___connect)
25155 char (*f) () = connect;
25164 return f != connect;
25169 rm -f conftest.
$ac_objext conftest
$ac_exeext
25170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25171 (eval $ac_link) 2>conftest.er1
25173 grep -v '^ *+' conftest.er1
>conftest.err
25175 cat conftest.err
>&5
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); } &&
25178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25180 (eval $ac_try) 2>&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); }; } &&
25184 { ac_try
='test -s conftest$ac_exeext'
25185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25186 (eval $ac_try) 2>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; }; then
25190 ac_cv_func_connect
=yes
25192 echo "$as_me: failed program was:" >&5
25193 sed 's/^/| /' conftest.
$ac_ext >&5
25195 ac_cv_func_connect
=no
25197 rm -f conftest.err conftest.
$ac_objext \
25198 conftest
$ac_exeext conftest.
$ac_ext
25200 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25201 echo "${ECHO_T}$ac_cv_func_connect" >&6
25203 if test $ac_cv_func_connect = no
; then
25204 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25205 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25206 if test "${ac_cv_lib_socket_connect+set}" = set; then
25207 echo $ECHO_N "(cached) $ECHO_C" >&6
25209 ac_check_lib_save_LIBS
=$LIBS
25210 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25211 cat >conftest.
$ac_ext <<_ACEOF
25214 cat confdefs.h
>>conftest.
$ac_ext
25215 cat >>conftest.
$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25218 /* Override any gcc2 internal prototype to avoid an error. */
25222 /* We use char because int might match the return type of a gcc2
25223 builtin and then its argument prototype would still apply. */
25233 rm -f conftest.
$ac_objext conftest
$ac_exeext
25234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25235 (eval $ac_link) 2>conftest.er1
25237 grep -v '^ *+' conftest.er1
>conftest.err
25239 cat conftest.err
>&5
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); } &&
25242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25244 (eval $ac_try) 2>&5
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); }; } &&
25248 { ac_try
='test -s conftest$ac_exeext'
25249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25250 (eval $ac_try) 2>&5
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); }; }; then
25254 ac_cv_lib_socket_connect
=yes
25256 echo "$as_me: failed program was:" >&5
25257 sed 's/^/| /' conftest.
$ac_ext >&5
25259 ac_cv_lib_socket_connect
=no
25261 rm -f conftest.err conftest.
$ac_objext \
25262 conftest
$ac_exeext conftest.
$ac_ext
25263 LIBS
=$ac_check_lib_save_LIBS
25265 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25266 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25267 if test $ac_cv_lib_socket_connect = yes; then
25268 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25273 # Guillermo Gomez says -lposix is necessary on A/UX.
25274 echo "$as_me:$LINENO: checking for remove" >&5
25275 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25276 if test "${ac_cv_func_remove+set}" = set; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25279 cat >conftest.
$ac_ext <<_ACEOF
25282 cat confdefs.h
>>conftest.
$ac_ext
25283 cat >>conftest.
$ac_ext <<_ACEOF
25284 /* end confdefs.h. */
25285 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25287 #define remove innocuous_remove
25289 /* System header to define __stub macros and hopefully few prototypes,
25290 which can conflict with char remove (); below.
25291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25292 <limits.h> exists even on freestanding compilers. */
25295 # include <limits.h>
25297 # include <assert.h>
25302 /* Override any gcc2 internal prototype to avoid an error. */
25307 /* We use char because int might match the return type of a gcc2
25308 builtin and then its argument prototype would still apply. */
25310 /* The GNU C library defines this for functions which it implements
25311 to always fail with ENOSYS. Some functions are actually named
25312 something starting with __ and the normal name is an alias. */
25313 #if defined (__stub_remove) || defined (__stub___remove)
25316 char (*f) () = remove;
25325 return f != remove;
25330 rm -f conftest.
$ac_objext conftest
$ac_exeext
25331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25332 (eval $ac_link) 2>conftest.er1
25334 grep -v '^ *+' conftest.er1
>conftest.err
25336 cat conftest.err
>&5
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); } &&
25339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; } &&
25345 { ac_try
='test -s conftest$ac_exeext'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; }; then
25351 ac_cv_func_remove
=yes
25353 echo "$as_me: failed program was:" >&5
25354 sed 's/^/| /' conftest.
$ac_ext >&5
25356 ac_cv_func_remove
=no
25358 rm -f conftest.err conftest.
$ac_objext \
25359 conftest
$ac_exeext conftest.
$ac_ext
25361 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25362 echo "${ECHO_T}$ac_cv_func_remove" >&6
25364 if test $ac_cv_func_remove = no
; then
25365 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25366 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25367 if test "${ac_cv_lib_posix_remove+set}" = set; then
25368 echo $ECHO_N "(cached) $ECHO_C" >&6
25370 ac_check_lib_save_LIBS
=$LIBS
25371 LIBS
="-lposix $LIBS"
25372 cat >conftest.
$ac_ext <<_ACEOF
25375 cat confdefs.h
>>conftest.
$ac_ext
25376 cat >>conftest.
$ac_ext <<_ACEOF
25377 /* end confdefs.h. */
25379 /* Override any gcc2 internal prototype to avoid an error. */
25383 /* We use char because int might match the return type of a gcc2
25384 builtin and then its argument prototype would still apply. */
25394 rm -f conftest.
$ac_objext conftest
$ac_exeext
25395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25396 (eval $ac_link) 2>conftest.er1
25398 grep -v '^ *+' conftest.er1
>conftest.err
25400 cat conftest.err
>&5
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); } &&
25403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25405 (eval $ac_try) 2>&5
25407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408 (exit $ac_status); }; } &&
25409 { ac_try
='test -s conftest$ac_exeext'
25410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25411 (eval $ac_try) 2>&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); }; }; then
25415 ac_cv_lib_posix_remove
=yes
25417 echo "$as_me: failed program was:" >&5
25418 sed 's/^/| /' conftest.
$ac_ext >&5
25420 ac_cv_lib_posix_remove
=no
25422 rm -f conftest.err conftest.
$ac_objext \
25423 conftest
$ac_exeext conftest.
$ac_ext
25424 LIBS
=$ac_check_lib_save_LIBS
25426 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25427 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25428 if test $ac_cv_lib_posix_remove = yes; then
25429 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25434 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25435 echo "$as_me:$LINENO: checking for shmat" >&5
25436 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25437 if test "${ac_cv_func_shmat+set}" = set; then
25438 echo $ECHO_N "(cached) $ECHO_C" >&6
25440 cat >conftest.
$ac_ext <<_ACEOF
25443 cat confdefs.h
>>conftest.
$ac_ext
25444 cat >>conftest.
$ac_ext <<_ACEOF
25445 /* end confdefs.h. */
25446 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25448 #define shmat innocuous_shmat
25450 /* System header to define __stub macros and hopefully few prototypes,
25451 which can conflict with char shmat (); below.
25452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25453 <limits.h> exists even on freestanding compilers. */
25456 # include <limits.h>
25458 # include <assert.h>
25463 /* Override any gcc2 internal prototype to avoid an error. */
25468 /* We use char because int might match the return type of a gcc2
25469 builtin and then its argument prototype would still apply. */
25471 /* The GNU C library defines this for functions which it implements
25472 to always fail with ENOSYS. Some functions are actually named
25473 something starting with __ and the normal name is an alias. */
25474 #if defined (__stub_shmat) || defined (__stub___shmat)
25477 char (*f) () = shmat;
25491 rm -f conftest.
$ac_objext conftest
$ac_exeext
25492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25493 (eval $ac_link) 2>conftest.er1
25495 grep -v '^ *+' conftest.er1
>conftest.err
25497 cat conftest.err
>&5
25498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25499 (exit $ac_status); } &&
25500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25502 (eval $ac_try) 2>&5
25504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25505 (exit $ac_status); }; } &&
25506 { ac_try
='test -s conftest$ac_exeext'
25507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25508 (eval $ac_try) 2>&5
25510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25511 (exit $ac_status); }; }; then
25512 ac_cv_func_shmat
=yes
25514 echo "$as_me: failed program was:" >&5
25515 sed 's/^/| /' conftest.
$ac_ext >&5
25517 ac_cv_func_shmat
=no
25519 rm -f conftest.err conftest.
$ac_objext \
25520 conftest
$ac_exeext conftest.
$ac_ext
25522 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25523 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25525 if test $ac_cv_func_shmat = no
; then
25526 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25527 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25528 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25529 echo $ECHO_N "(cached) $ECHO_C" >&6
25531 ac_check_lib_save_LIBS
=$LIBS
25533 cat >conftest.
$ac_ext <<_ACEOF
25536 cat confdefs.h
>>conftest.
$ac_ext
25537 cat >>conftest.
$ac_ext <<_ACEOF
25538 /* end confdefs.h. */
25540 /* Override any gcc2 internal prototype to avoid an error. */
25544 /* We use char because int might match the return type of a gcc2
25545 builtin and then its argument prototype would still apply. */
25555 rm -f conftest.
$ac_objext conftest
$ac_exeext
25556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25557 (eval $ac_link) 2>conftest.er1
25559 grep -v '^ *+' conftest.er1
>conftest.err
25561 cat conftest.err
>&5
25562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563 (exit $ac_status); } &&
25564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25566 (eval $ac_try) 2>&5
25568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25569 (exit $ac_status); }; } &&
25570 { ac_try
='test -s conftest$ac_exeext'
25571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25572 (eval $ac_try) 2>&5
25574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25575 (exit $ac_status); }; }; then
25576 ac_cv_lib_ipc_shmat
=yes
25578 echo "$as_me: failed program was:" >&5
25579 sed 's/^/| /' conftest.
$ac_ext >&5
25581 ac_cv_lib_ipc_shmat
=no
25583 rm -f conftest.err conftest.
$ac_objext \
25584 conftest
$ac_exeext conftest.
$ac_ext
25585 LIBS
=$ac_check_lib_save_LIBS
25587 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25588 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25589 if test $ac_cv_lib_ipc_shmat = yes; then
25590 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25596 # Check for libraries that X11R6 Xt/Xaw programs need.
25597 ac_save_LDFLAGS
=$LDFLAGS
25598 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25599 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25600 # check for ICE first), but we must link in the order -lSM -lICE or
25601 # we get undefined symbols. So assume we have SM if we have ICE.
25602 # These have to be linked with before -lX11, unlike the other
25603 # libraries we check for below, so use a different variable.
25604 # John Interrante, Karl Berry
25605 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25606 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25607 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25608 echo $ECHO_N "(cached) $ECHO_C" >&6
25610 ac_check_lib_save_LIBS
=$LIBS
25611 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25612 cat >conftest.
$ac_ext <<_ACEOF
25615 cat confdefs.h
>>conftest.
$ac_ext
25616 cat >>conftest.
$ac_ext <<_ACEOF
25617 /* end confdefs.h. */
25619 /* Override any gcc2 internal prototype to avoid an error. */
25623 /* We use char because int might match the return type of a gcc2
25624 builtin and then its argument prototype would still apply. */
25625 char IceConnectionNumber ();
25629 IceConnectionNumber ();
25634 rm -f conftest.
$ac_objext conftest
$ac_exeext
25635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25636 (eval $ac_link) 2>conftest.er1
25638 grep -v '^ *+' conftest.er1
>conftest.err
25640 cat conftest.err
>&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); } &&
25643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; } &&
25649 { ac_try
='test -s conftest$ac_exeext'
25650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25651 (eval $ac_try) 2>&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); }; }; then
25655 ac_cv_lib_ICE_IceConnectionNumber
=yes
25657 echo "$as_me: failed program was:" >&5
25658 sed 's/^/| /' conftest.
$ac_ext >&5
25660 ac_cv_lib_ICE_IceConnectionNumber
=no
25662 rm -f conftest.err conftest.
$ac_objext \
25663 conftest
$ac_exeext conftest.
$ac_ext
25664 LIBS
=$ac_check_lib_save_LIBS
25666 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25667 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25668 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25669 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25672 LDFLAGS
=$ac_save_LDFLAGS
25677 if test "$no_x" = "yes"; then
25678 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25679 echo "$as_me: error: X11 not found" >&2;}
25680 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25683 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25684 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25685 AFMINSTALL
=afminstall
25686 COMPILED_X_PROGRAM
=0
25690 if test "$wxUSE_X11" = 1; then
25691 if test "$wxUSE_NANOX" = "yes"; then
25692 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25693 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25694 if test "x$MICROWIN" = x
; then
25695 echo "$as_me:$LINENO: result: not found" >&5
25696 echo "${ECHO_T}not found" >&6
25697 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25698 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25699 { (exit 1); exit 1; }; }
25701 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25702 echo "${ECHO_T}$MICROWIN" >&6
25703 cat >>confdefs.h
<<\_ACEOF
25704 #define wxUSE_NANOX 1
25710 if test "$wxUSE_UNICODE" = "yes"; then
25714 if test -z "$PKG_CONFIG"; then
25715 # Extract the first word of "pkg-config", so it can be a program name with args.
25716 set dummy pkg
-config; ac_word
=$2
25717 echo "$as_me:$LINENO: checking for $ac_word" >&5
25718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25719 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25720 echo $ECHO_N "(cached) $ECHO_C" >&6
25722 case $PKG_CONFIG in
25724 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25728 for as_dir
in $PATH
25731 test -z "$as_dir" && as_dir
=.
25732 for ac_exec_ext
in '' $ac_executable_extensions; do
25733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25734 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25741 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25745 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25747 if test -n "$PKG_CONFIG"; then
25748 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25749 echo "${ECHO_T}$PKG_CONFIG" >&6
25751 echo "$as_me:$LINENO: result: no" >&5
25752 echo "${ECHO_T}no" >&6
25757 if test "$PKG_CONFIG" = "no" ; then
25758 echo "*** The pkg-config script could not be found. Make sure it is"
25759 echo "*** in your path, or set the PKG_CONFIG environment variable"
25760 echo "*** to the full path to pkg-config."
25761 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25763 PKG_CONFIG_MIN_VERSION
=0.9.0
25764 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25765 echo "$as_me:$LINENO: checking for pangox" >&5
25766 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25768 if $PKG_CONFIG --exists "pangox" ; then
25769 echo "$as_me:$LINENO: result: yes" >&5
25770 echo "${ECHO_T}yes" >&6
25773 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25774 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25775 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25776 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25777 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25779 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25780 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25781 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25782 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25783 echo "${ECHO_T}$PANGOX_LIBS" >&6
25787 ## If we have a custom action on failure, don't print errors, but
25788 ## do set a variable so people can do so.
25789 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25796 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25797 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25801 if test $succeeded = yes; then
25803 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25804 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25808 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25809 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25810 { (exit 1); exit 1; }; }
25818 if test -z "$PKG_CONFIG"; then
25819 # Extract the first word of "pkg-config", so it can be a program name with args.
25820 set dummy pkg
-config; ac_word
=$2
25821 echo "$as_me:$LINENO: checking for $ac_word" >&5
25822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25823 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25824 echo $ECHO_N "(cached) $ECHO_C" >&6
25826 case $PKG_CONFIG in
25828 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25832 for as_dir
in $PATH
25835 test -z "$as_dir" && as_dir
=.
25836 for ac_exec_ext
in '' $ac_executable_extensions; do
25837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25838 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25845 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25849 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25851 if test -n "$PKG_CONFIG"; then
25852 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25853 echo "${ECHO_T}$PKG_CONFIG" >&6
25855 echo "$as_me:$LINENO: result: no" >&5
25856 echo "${ECHO_T}no" >&6
25861 if test "$PKG_CONFIG" = "no" ; then
25862 echo "*** The pkg-config script could not be found. Make sure it is"
25863 echo "*** in your path, or set the PKG_CONFIG environment variable"
25864 echo "*** to the full path to pkg-config."
25865 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25867 PKG_CONFIG_MIN_VERSION
=0.9.0
25868 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25869 echo "$as_me:$LINENO: checking for pangoft2" >&5
25870 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25872 if $PKG_CONFIG --exists "pangoft2" ; then
25873 echo "$as_me:$LINENO: result: yes" >&5
25874 echo "${ECHO_T}yes" >&6
25877 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25878 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25879 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25880 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25881 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25883 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25884 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25885 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25886 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25887 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25891 ## If we have a custom action on failure, don't print errors, but
25892 ## do set a variable so people can do so.
25893 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25900 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25901 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25905 if test $succeeded = yes; then
25907 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25908 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25912 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25913 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25914 wxUSE_PRINTING_ARCHITECTURE
="no"
25922 if test -z "$PKG_CONFIG"; then
25923 # Extract the first word of "pkg-config", so it can be a program name with args.
25924 set dummy pkg
-config; ac_word
=$2
25925 echo "$as_me:$LINENO: checking for $ac_word" >&5
25926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25927 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25928 echo $ECHO_N "(cached) $ECHO_C" >&6
25930 case $PKG_CONFIG in
25932 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25936 for as_dir
in $PATH
25939 test -z "$as_dir" && as_dir
=.
25940 for ac_exec_ext
in '' $ac_executable_extensions; do
25941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25942 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25949 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25953 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25955 if test -n "$PKG_CONFIG"; then
25956 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25957 echo "${ECHO_T}$PKG_CONFIG" >&6
25959 echo "$as_me:$LINENO: result: no" >&5
25960 echo "${ECHO_T}no" >&6
25965 if test "$PKG_CONFIG" = "no" ; then
25966 echo "*** The pkg-config script could not be found. Make sure it is"
25967 echo "*** in your path, or set the PKG_CONFIG environment variable"
25968 echo "*** to the full path to pkg-config."
25969 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25971 PKG_CONFIG_MIN_VERSION
=0.9.0
25972 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25973 echo "$as_me:$LINENO: checking for pangoxft" >&5
25974 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25976 if $PKG_CONFIG --exists "pangoxft" ; then
25977 echo "$as_me:$LINENO: result: yes" >&5
25978 echo "${ECHO_T}yes" >&6
25981 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25982 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25983 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25984 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25985 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25987 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25988 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25989 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25990 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25991 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25995 ## If we have a custom action on failure, don't print errors, but
25996 ## do set a variable so people can do so.
25997 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26004 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26005 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26009 if test $succeeded = yes; then
26011 cat >>confdefs.h
<<\_ACEOF
26012 #define HAVE_PANGO_XFT 1
26015 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
26016 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26020 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26021 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26026 save_CFLAGS
="$CFLAGS"
26028 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
26029 LIBS
="$LIBS $PANGOX_LIBS"
26031 for ac_func
in pango_font_family_is_monospace
26033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26034 echo "$as_me:$LINENO: checking for $ac_func" >&5
26035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26036 if eval "test \"\${$as_ac_var+set}\" = set"; then
26037 echo $ECHO_N "(cached) $ECHO_C" >&6
26039 cat >conftest.
$ac_ext <<_ACEOF
26042 cat confdefs.h
>>conftest.
$ac_ext
26043 cat >>conftest.
$ac_ext <<_ACEOF
26044 /* end confdefs.h. */
26045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26047 #define $ac_func innocuous_$ac_func
26049 /* System header to define __stub macros and hopefully few prototypes,
26050 which can conflict with char $ac_func (); below.
26051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26052 <limits.h> exists even on freestanding compilers. */
26055 # include <limits.h>
26057 # include <assert.h>
26062 /* Override any gcc2 internal prototype to avoid an error. */
26067 /* We use char because int might match the return type of a gcc2
26068 builtin and then its argument prototype would still apply. */
26070 /* The GNU C library defines this for functions which it implements
26071 to always fail with ENOSYS. Some functions are actually named
26072 something starting with __ and the normal name is an alias. */
26073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26076 char (*f) () = $ac_func;
26085 return f != $ac_func;
26090 rm -f conftest.
$ac_objext conftest
$ac_exeext
26091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26092 (eval $ac_link) 2>conftest.er1
26094 grep -v '^ *+' conftest.er1
>conftest.err
26096 cat conftest.err
>&5
26097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098 (exit $ac_status); } &&
26099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; } &&
26105 { ac_try
='test -s conftest$ac_exeext'
26106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26107 (eval $ac_try) 2>&5
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); }; }; then
26111 eval "$as_ac_var=yes"
26113 echo "$as_me: failed program was:" >&5
26114 sed 's/^/| /' conftest.
$ac_ext >&5
26116 eval "$as_ac_var=no"
26118 rm -f conftest.err conftest.
$ac_objext \
26119 conftest
$ac_exeext conftest.
$ac_ext
26121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26123 if test `eval echo '${'$as_ac_var'}'` = yes; then
26124 cat >>confdefs.h
<<_ACEOF
26125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26131 CFLAGS
="$save_CFLAGS"
26135 wxUSE_UNIVERSAL
="yes"
26137 if test "$wxUSE_NANOX" = "yes"; then
26138 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26139 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"
26140 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26142 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26149 if test "$wxUSE_MOTIF" = 1; then
26150 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26151 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26154 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26156 if test -f "$ac_dir/Xm/Xm.h"; then
26157 ac_find_includes
=$ac_dir
26162 if test "$ac_find_includes" != "" ; then
26163 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26164 echo "${ECHO_T}found in $ac_find_includes" >&6
26166 if test "x$ac_find_includes" = "x/usr/include"; then
26167 ac_path_to_include
=""
26169 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26171 if test $result = 0; then
26172 ac_path_to_include
=""
26174 ac_path_to_include
=" -I$ac_find_includes"
26178 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26180 cat >conftest.
$ac_ext <<_ACEOF
26183 cat confdefs.h
>>conftest.
$ac_ext
26184 cat >>conftest.
$ac_ext <<_ACEOF
26185 /* end confdefs.h. */
26194 version = xmUseVersion;
26200 rm -f conftest.
$ac_objext
26201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26202 (eval $ac_compile) 2>conftest.er1
26204 grep -v '^ *+' conftest.er1
>conftest.err
26206 cat conftest.err
>&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } &&
26209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; } &&
26215 { ac_try
='test -s conftest.$ac_objext'
26216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26217 (eval $ac_try) 2>&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); }; }; then
26222 echo "$as_me:$LINENO: result: found in default search path" >&5
26223 echo "${ECHO_T}found in default search path" >&6
26224 COMPILED_X_PROGRAM
=1
26227 echo "$as_me: failed program was:" >&5
26228 sed 's/^/| /' conftest.
$ac_ext >&5
26231 echo "$as_me:$LINENO: result: no" >&5
26232 echo "${ECHO_T}no" >&6
26233 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26234 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26235 { (exit 1); exit 1; }; }
26239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26242 if test "$COMPILED_X_PROGRAM" = 0; then
26243 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26244 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26247 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26249 for ac_extension
in a so sl dylib
; do
26250 if test -f "$ac_dir/libXm.$ac_extension"; then
26251 ac_find_libraries
=$ac_dir
26257 if test "$ac_find_libraries" != "" ; then
26258 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26259 echo "${ECHO_T}found at $ac_find_libraries" >&6
26262 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26264 if test $result = 0; then
26267 ac_path_to_link
=" -L$ac_find_libraries"
26270 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26272 save_CFLAGS
=$CFLAGS
26273 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26275 cat >conftest.
$ac_ext <<_ACEOF
26278 cat confdefs.h
>>conftest.
$ac_ext
26279 cat >>conftest.
$ac_ext <<_ACEOF
26280 /* end confdefs.h. */
26289 version = xmUseVersion;
26295 rm -f conftest.
$ac_objext
26296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26297 (eval $ac_compile) 2>conftest.er1
26299 grep -v '^ *+' conftest.er1
>conftest.err
26301 cat conftest.err
>&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } &&
26304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26306 (eval $ac_try) 2>&5
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); }; } &&
26310 { ac_try
='test -s conftest.$ac_objext'
26311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26312 (eval $ac_try) 2>&5
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); }; }; then
26317 echo "$as_me:$LINENO: result: found in default search path" >&5
26318 echo "${ECHO_T}found in default search path" >&6
26319 COMPILED_X_PROGRAM
=1
26322 echo "$as_me: failed program was:" >&5
26323 sed 's/^/| /' conftest.
$ac_ext >&5
26326 echo "$as_me:$LINENO: result: no" >&5
26327 echo "${ECHO_T}no" >&6
26328 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26329 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26330 { (exit 1); exit 1; }; }
26334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26336 CFLAGS
=$save_CFLAGS
26340 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26341 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26345 for libp
in "" " -lXp"; do
26346 if test "$libs_found" = "0"; then
26347 for libsm_ice
in "" " -lSM -lICE"; do
26348 if test "$libs_found" = "0"; then
26350 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26351 save_CFLAGS
=$CFLAGS
26352 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26354 cat >conftest.
$ac_ext <<_ACEOF
26357 cat confdefs.h
>>conftest.
$ac_ext
26358 cat >>conftest.
$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26362 #include <Xm/List.h>
26368 XmString string = NULL;
26371 XmListAddItem(w, string, position);
26377 rm -f conftest.
$ac_objext conftest
$ac_exeext
26378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26379 (eval $ac_link) 2>conftest.er1
26381 grep -v '^ *+' conftest.er1
>conftest.err
26383 cat conftest.err
>&5
26384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385 (exit $ac_status); } &&
26386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26388 (eval $ac_try) 2>&5
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); }; } &&
26392 { ac_try
='test -s conftest$ac_exeext'
26393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26394 (eval $ac_try) 2>&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); }; }; then
26400 libsm_ice_link
="$libsm_ice"
26401 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26402 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26406 echo "$as_me: failed program was:" >&5
26407 sed 's/^/| /' conftest.
$ac_ext >&5
26412 rm -f conftest.err conftest.
$ac_objext \
26413 conftest
$ac_exeext conftest.
$ac_ext
26416 CFLAGS
=$save_CFLAGS
26422 if test "$libs_found" = "0"; then
26423 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26424 echo "${ECHO_T}can't find the right libraries" >&6
26425 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26426 echo "$as_me: error: can't link a simple motif program" >&2;}
26427 { (exit 1); exit 1; }; }
26430 save_CFLAGS
=$CFLAGS
26431 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26432 echo "$as_me:$LINENO: checking for Motif 2" >&5
26433 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26434 cat >conftest.
$ac_ext <<_ACEOF
26437 cat confdefs.h
>>conftest.
$ac_ext
26438 cat >>conftest.
$ac_ext <<_ACEOF
26439 /* end confdefs.h. */
26447 #if XmVersion < 2000
26448 #error "Not Motif 2"
26455 rm -f conftest.
$ac_objext
26456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26457 (eval $ac_compile) 2>conftest.er1
26459 grep -v '^ *+' conftest.er1
>conftest.err
26461 cat conftest.err
>&5
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); } &&
26464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26466 (eval $ac_try) 2>&5
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); }; } &&
26470 { ac_try
='test -s conftest.$ac_objext'
26471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26472 (eval $ac_try) 2>&5
26474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26475 (exit $ac_status); }; }; then
26477 cat >>confdefs.h
<<\_ACEOF
26478 #define __WXMOTIF20__ 1
26481 echo "$as_me:$LINENO: result: found" >&5
26482 echo "${ECHO_T}found" >&6
26485 echo "$as_me: failed program was:" >&5
26486 sed 's/^/| /' conftest.
$ac_ext >&5
26489 cat >>confdefs.h
<<\_ACEOF
26490 #define __WXMOTIF20__ 0
26493 echo "$as_me:$LINENO: result: not found" >&5
26494 echo "${ECHO_T}not found" >&6
26497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26498 CFLAGS
=$save_CFLAGS
26500 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26505 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26506 if test "$wxUSE_LIBXPM" = "sys"; then
26507 echo "$as_me:$LINENO: checking for Xpm library" >&5
26508 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26511 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26513 for ac_extension
in a so sl dylib
; do
26514 if test -f "$ac_dir/libXpm.$ac_extension"; then
26515 ac_find_libraries
=$ac_dir
26521 if test "$ac_find_libraries" != "" ; then
26523 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26525 if test $result = 0; then
26528 ac_path_to_link
=" -L$ac_find_libraries"
26531 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26532 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26533 echo "${ECHO_T}found at $ac_find_libraries" >&6
26535 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26536 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26537 if test "${wx_cv_x11_xpm_h+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26541 save_CFLAGS
=$CFLAGS
26542 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26544 cat >conftest.
$ac_ext <<_ACEOF
26547 cat confdefs.h
>>conftest.
$ac_ext
26548 cat >>conftest.
$ac_ext <<_ACEOF
26549 /* end confdefs.h. */
26551 #include <X11/xpm.h>
26558 version = XpmLibraryVersion();
26564 rm -f conftest.
$ac_objext
26565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26566 (eval $ac_compile) 2>conftest.er1
26568 grep -v '^ *+' conftest.er1
>conftest.err
26570 cat conftest.err
>&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); } &&
26573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26575 (eval $ac_try) 2>&5
26577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26578 (exit $ac_status); }; } &&
26579 { ac_try
='test -s conftest.$ac_objext'
26580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26581 (eval $ac_try) 2>&5
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); }; }; then
26585 wx_cv_x11_xpm_h
=yes
26587 echo "$as_me: failed program was:" >&5
26588 sed 's/^/| /' conftest.
$ac_ext >&5
26593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26595 CFLAGS
=$save_CFLAGS
26599 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26600 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26602 if test $wx_cv_x11_xpm_h = "yes"; then
26603 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26604 cat >>confdefs.h
<<\_ACEOF
26605 #define wxHAVE_LIB_XPM 1
26609 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26610 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26616 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26617 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26618 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26619 echo $ECHO_N "(cached) $ECHO_C" >&6
26621 ac_check_lib_save_LIBS
=$LIBS
26622 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26623 cat >conftest.
$ac_ext <<_ACEOF
26626 cat confdefs.h
>>conftest.
$ac_ext
26627 cat >>conftest.
$ac_ext <<_ACEOF
26628 /* end confdefs.h. */
26630 /* Override any gcc2 internal prototype to avoid an error. */
26634 /* We use char because int might match the return type of a gcc2
26635 builtin and then its argument prototype would still apply. */
26636 char XShapeQueryExtension ();
26640 XShapeQueryExtension ();
26645 rm -f conftest.
$ac_objext conftest
$ac_exeext
26646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26647 (eval $ac_link) 2>conftest.er1
26649 grep -v '^ *+' conftest.er1
>conftest.err
26651 cat conftest.err
>&5
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); } &&
26654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; } &&
26660 { ac_try
='test -s conftest$ac_exeext'
26661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662 (eval $ac_try) 2>&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); }; }; then
26666 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26668 echo "$as_me: failed program was:" >&5
26669 sed 's/^/| /' conftest.
$ac_ext >&5
26671 ac_cv_lib_Xext_XShapeQueryExtension
=no
26673 rm -f conftest.err conftest.
$ac_objext \
26674 conftest
$ac_exeext conftest.
$ac_ext
26675 LIBS
=$ac_check_lib_save_LIBS
26677 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26678 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26679 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26681 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26687 if test "$wxHAVE_XEXT_LIB" = 1; then
26688 save_CFLAGS
="$CFLAGS"
26689 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26691 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26692 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26693 cat >conftest.
$ac_ext <<_ACEOF
26696 cat confdefs.h
>>conftest.
$ac_ext
26697 cat >>conftest.
$ac_ext <<_ACEOF
26698 /* end confdefs.h. */
26700 #include <X11/Xlib.h>
26701 #include <X11/extensions/shape.h>
26707 int dummy1, dummy2;
26708 XShapeQueryExtension((Display*)NULL,
26709 (int*)NULL, (int*)NULL);
26715 rm -f conftest.
$ac_objext
26716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26717 (eval $ac_compile) 2>conftest.er1
26719 grep -v '^ *+' conftest.er1
>conftest.err
26721 cat conftest.err
>&5
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); } &&
26724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26726 (eval $ac_try) 2>&5
26728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729 (exit $ac_status); }; } &&
26730 { ac_try
='test -s conftest.$ac_objext'
26731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26732 (eval $ac_try) 2>&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); }; }; then
26737 cat >>confdefs.h
<<\_ACEOF
26738 #define HAVE_XSHAPE 1
26741 echo "$as_me:$LINENO: result: found" >&5
26742 echo "${ECHO_T}found" >&6
26745 echo "$as_me: failed program was:" >&5
26746 sed 's/^/| /' conftest.
$ac_ext >&5
26749 echo "$as_me:$LINENO: result: not found" >&5
26750 echo "${ECHO_T}not found" >&6
26753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26754 CFLAGS
="$save_CFLAGS"
26759 if test "$wxUSE_MAC" = 1; then
26760 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26761 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26762 if test "$GCC" = yes; then
26763 echo "$as_me:$LINENO: result: gcc" >&5
26764 echo "${ECHO_T}gcc" >&6
26765 CPPFLAGS_PASCAL
="-fpascal-strings"
26766 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26767 echo "$as_me:$LINENO: result: xlc" >&5
26768 echo "${ECHO_T}xlc" >&6
26769 CPPFLAGS_PASCAL
="-qmacpstr"
26771 echo "$as_me:$LINENO: result: none" >&5
26772 echo "${ECHO_T}none" >&6
26775 if test "x$wxUSE_UNIX" = "xyes"; then
26776 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26778 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
26783 WXBASEPORT
="_carbon"
26786 if test "$wxUSE_COCOA" = 1; then
26791 if test "$wxUSE_PM" = 1; then
26794 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26795 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26796 if test "${wx_cv_spbcdata+set}" = set; then
26797 echo $ECHO_N "(cached) $ECHO_C" >&6
26800 cat >conftest.
$ac_ext <<_ACEOF
26803 cat confdefs.h
>>conftest.
$ac_ext
26804 cat >>conftest.
$ac_ext <<_ACEOF
26805 /* end confdefs.h. */
26820 rm -f conftest.
$ac_objext
26821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26822 (eval $ac_compile) 2>conftest.er1
26824 grep -v '^ *+' conftest.er1
>conftest.err
26826 cat conftest.err
>&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); } &&
26829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26831 (eval $ac_try) 2>&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); }; } &&
26835 { ac_try
='test -s conftest.$ac_objext'
26836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26837 (eval $ac_try) 2>&5
26839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26840 (exit $ac_status); }; }; then
26843 echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.
$ac_ext >&5
26849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26853 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26854 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26856 if test $wx_cv_spbcdata = "yes"; then
26857 cat >>confdefs.h
<<\_ACEOF
26858 #define HAVE_SPBCDATA 1
26864 if test "$TOOLKIT" = "PM" ; then
26867 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26870 if test "$wxUSE_UNIVERSAL" = "yes"; then
26871 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26875 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26876 DISTDIR
="wx\$(TOOLKIT)"
26882 if test "$USE_WIN32" = 1 ; then
26886 GUIDIST
="BASE_DIST"
26896 if test "$TOOLKIT" != "MSW" ; then
26898 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26900 if test "${ac_cv_header_sql_h+set}" = set; then
26901 echo "$as_me:$LINENO: checking for sql.h" >&5
26902 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26903 if test "${ac_cv_header_sql_h+set}" = set; then
26904 echo $ECHO_N "(cached) $ECHO_C" >&6
26906 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26907 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26909 # Is the header compilable?
26910 echo "$as_me:$LINENO: checking sql.h usability" >&5
26911 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26912 cat >conftest.
$ac_ext <<_ACEOF
26915 cat confdefs.h
>>conftest.
$ac_ext
26916 cat >>conftest.
$ac_ext <<_ACEOF
26917 /* end confdefs.h. */
26918 $ac_includes_default
26921 rm -f conftest.
$ac_objext
26922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26923 (eval $ac_compile) 2>conftest.er1
26925 grep -v '^ *+' conftest.er1
>conftest.err
26927 cat conftest.err
>&5
26928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 (exit $ac_status); } &&
26930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26932 (eval $ac_try) 2>&5
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); }; } &&
26936 { ac_try
='test -s conftest.$ac_objext'
26937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26938 (eval $ac_try) 2>&5
26940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26941 (exit $ac_status); }; }; then
26942 ac_header_compiler
=yes
26944 echo "$as_me: failed program was:" >&5
26945 sed 's/^/| /' conftest.
$ac_ext >&5
26947 ac_header_compiler
=no
26949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26951 echo "${ECHO_T}$ac_header_compiler" >&6
26953 # Is the header present?
26954 echo "$as_me:$LINENO: checking sql.h presence" >&5
26955 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26956 cat >conftest.
$ac_ext <<_ACEOF
26959 cat confdefs.h
>>conftest.
$ac_ext
26960 cat >>conftest.
$ac_ext <<_ACEOF
26961 /* end confdefs.h. */
26964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26967 grep -v '^ *+' conftest.er1
>conftest.err
26969 cat conftest.err
>&5
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); } >/dev
/null
; then
26972 if test -s conftest.err
; then
26973 ac_cpp_err
=$ac_c_preproc_warn_flag
26974 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26981 if test -z "$ac_cpp_err"; then
26982 ac_header_preproc
=yes
26984 echo "$as_me: failed program was:" >&5
26985 sed 's/^/| /' conftest.
$ac_ext >&5
26987 ac_header_preproc
=no
26989 rm -f conftest.err conftest.
$ac_ext
26990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26991 echo "${ECHO_T}$ac_header_preproc" >&6
26993 # So? What about this header?
26994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26996 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26997 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26998 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26999 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27000 ac_header_preproc
=yes
27003 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27004 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27005 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27006 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27007 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27008 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27009 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27010 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27011 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27012 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27013 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27014 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27017 ## ----------------------------------------- ##
27018 ## Report this to wx-dev@lists.wxwidgets.org ##
27019 ## ----------------------------------------- ##
27022 sed "s/^/$as_me: WARNING: /" >&2
27025 echo "$as_me:$LINENO: checking for sql.h" >&5
27026 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27027 if test "${ac_cv_header_sql_h+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 ac_cv_header_sql_h
=$ac_header_preproc
27032 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27033 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27036 if test $ac_cv_header_sql_h = yes; then
27041 if test "x$found_sql_h" = "x1" ; then
27042 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27043 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27044 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27045 echo $ECHO_N "(cached) $ECHO_C" >&6
27047 ac_check_lib_save_LIBS
=$LIBS
27048 LIBS
="-liodbc $LIBS"
27049 cat >conftest.
$ac_ext <<_ACEOF
27052 cat confdefs.h
>>conftest.
$ac_ext
27053 cat >>conftest.
$ac_ext <<_ACEOF
27054 /* end confdefs.h. */
27056 /* Override any gcc2 internal prototype to avoid an error. */
27060 /* We use char because int might match the return type of a gcc2
27061 builtin and then its argument prototype would still apply. */
27062 char SQLAllocEnv ();
27071 rm -f conftest.
$ac_objext conftest
$ac_exeext
27072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27073 (eval $ac_link) 2>conftest.er1
27075 grep -v '^ *+' conftest.er1
>conftest.err
27077 cat conftest.err
>&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); } &&
27080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27082 (eval $ac_try) 2>&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); }; } &&
27086 { ac_try
='test -s conftest$ac_exeext'
27087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27088 (eval $ac_try) 2>&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; }; then
27092 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27094 echo "$as_me: failed program was:" >&5
27095 sed 's/^/| /' conftest.
$ac_ext >&5
27097 ac_cv_lib_iodbc_SQLAllocEnv
=no
27099 rm -f conftest.err conftest.
$ac_objext \
27100 conftest
$ac_exeext conftest.
$ac_ext
27101 LIBS
=$ac_check_lib_save_LIBS
27103 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27104 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27105 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27106 ODBC_LINK
=" -liodbc"
27109 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27110 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27111 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27114 ac_check_lib_save_LIBS
=$LIBS
27115 LIBS
="-lunixodbc $LIBS"
27116 cat >conftest.
$ac_ext <<_ACEOF
27119 cat confdefs.h
>>conftest.
$ac_ext
27120 cat >>conftest.
$ac_ext <<_ACEOF
27121 /* end confdefs.h. */
27123 /* Override any gcc2 internal prototype to avoid an error. */
27127 /* We use char because int might match the return type of a gcc2
27128 builtin and then its argument prototype would still apply. */
27129 char SQLAllocEnv ();
27138 rm -f conftest.
$ac_objext conftest
$ac_exeext
27139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27140 (eval $ac_link) 2>conftest.er1
27142 grep -v '^ *+' conftest.er1
>conftest.err
27144 cat conftest.err
>&5
27145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146 (exit $ac_status); } &&
27147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27149 (eval $ac_try) 2>&5
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); }; } &&
27153 { ac_try
='test -s conftest$ac_exeext'
27154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27155 (eval $ac_try) 2>&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); }; }; then
27159 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27161 echo "$as_me: failed program was:" >&5
27162 sed 's/^/| /' conftest.
$ac_ext >&5
27164 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27166 rm -f conftest.err conftest.
$ac_objext \
27167 conftest
$ac_exeext conftest.
$ac_ext
27168 LIBS
=$ac_check_lib_save_LIBS
27170 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27171 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27172 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27173 ODBC_LINK
=" -lunixodbc"
27176 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27177 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27178 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27179 echo $ECHO_N "(cached) $ECHO_C" >&6
27181 ac_check_lib_save_LIBS
=$LIBS
27182 LIBS
="-lodbc $LIBS"
27183 cat >conftest.
$ac_ext <<_ACEOF
27186 cat confdefs.h
>>conftest.
$ac_ext
27187 cat >>conftest.
$ac_ext <<_ACEOF
27188 /* end confdefs.h. */
27190 /* Override any gcc2 internal prototype to avoid an error. */
27194 /* We use char because int might match the return type of a gcc2
27195 builtin and then its argument prototype would still apply. */
27196 char SQLAllocEnv ();
27205 rm -f conftest.
$ac_objext conftest
$ac_exeext
27206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27207 (eval $ac_link) 2>conftest.er1
27209 grep -v '^ *+' conftest.er1
>conftest.err
27211 cat conftest.err
>&5
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); } &&
27214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27216 (eval $ac_try) 2>&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); }; } &&
27220 { ac_try
='test -s conftest$ac_exeext'
27221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27222 (eval $ac_try) 2>&5
27224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27225 (exit $ac_status); }; }; then
27226 ac_cv_lib_odbc_SQLAllocEnv
=yes
27228 echo "$as_me: failed program was:" >&5
27229 sed 's/^/| /' conftest.
$ac_ext >&5
27231 ac_cv_lib_odbc_SQLAllocEnv
=no
27233 rm -f conftest.err conftest.
$ac_objext \
27234 conftest
$ac_exeext conftest.
$ac_ext
27235 LIBS
=$ac_check_lib_save_LIBS
27237 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27238 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27239 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27240 ODBC_LINK
=" -lodbc"
27250 if test "x$ODBC_LINK" = "x" ; then
27251 if test "$wxUSE_ODBC" = "sys" ; then
27252 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27253 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27254 { (exit 1); exit 1; }; }
27256 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27257 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27264 if test "$wxUSE_ODBC" != "no" ; then
27265 cat >>confdefs.h
<<\_ACEOF
27266 #define wxUSE_ODBC 1
27269 if test "$wxUSE_ODBC" = "builtin" ; then
27270 cat >>confdefs.h
<<\_ACEOF
27271 #define wxUSE_BUILTIN_IODBC 1
27275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27277 WXODBCFLAG
="-D_IODBC_"
27283 if test "$wxUSE_DISPLAY" = "yes"; then
27284 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27285 echo "$as_me:$LINENO: checking for Xinerama" >&5
27286 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27289 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27291 for ac_extension
in a so sl dylib
; do
27292 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27293 ac_find_libraries
=$ac_dir
27299 if test "$ac_find_libraries" != "" ; then
27301 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27303 if test $result = 0; then
27306 ac_path_to_link
=" -L$ac_find_libraries"
27309 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27310 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27312 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27313 echo "$as_me:$LINENO: result: yes" >&5
27314 echo "${ECHO_T}yes" >&6
27316 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27317 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27320 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27322 for ac_extension
in a so sl dylib
; do
27323 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27324 ac_find_libraries
=$ac_dir
27330 if test "$ac_find_libraries" != "" ; then
27331 echo "$as_me:$LINENO: result: yes" >&5
27332 echo "${ECHO_T}yes" >&6
27334 for ac_header
in X
11/extensions
/xf86vmode.h
27336 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27337 echo "$as_me:$LINENO: checking for $ac_header" >&5
27338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 cat >conftest.
$ac_ext <<_ACEOF
27345 cat confdefs.h
>>conftest.
$ac_ext
27346 cat >>conftest.
$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27349 #if HAVE_X11_XLIB_H
27350 #include <X11/Xlib.h>
27354 #include <$ac_header>
27356 rm -f conftest.
$ac_objext
27357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27358 (eval $ac_compile) 2>conftest.er1
27360 grep -v '^ *+' conftest.er1
>conftest.err
27362 cat conftest.err
>&5
27363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27364 (exit $ac_status); } &&
27365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27367 (eval $ac_try) 2>&5
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); }; } &&
27371 { ac_try
='test -s conftest.$ac_objext'
27372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27373 (eval $ac_try) 2>&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); }; }; then
27377 eval "$as_ac_Header=yes"
27379 echo "$as_me: failed program was:" >&5
27380 sed 's/^/| /' conftest.
$ac_ext >&5
27382 eval "$as_ac_Header=no"
27384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27389 cat >>confdefs.h
<<_ACEOF
27390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27393 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27400 echo "$as_me:$LINENO: result: no" >&5
27401 echo "${ECHO_T}no" >&6
27405 echo "$as_me:$LINENO: result: no" >&5
27406 echo "${ECHO_T}no" >&6
27407 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27408 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27411 elif test "$wxUSE_MSW" = 1; then
27414 for ac_header
in multimon.h ddraw.h
27416 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27417 echo "$as_me:$LINENO: checking for $ac_header" >&5
27418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27420 echo $ECHO_N "(cached) $ECHO_C" >&6
27422 cat >conftest.
$ac_ext <<_ACEOF
27425 cat confdefs.h
>>conftest.
$ac_ext
27426 cat >>conftest.
$ac_ext <<_ACEOF
27427 /* end confdefs.h. */
27428 #include <windows.h>
27430 #include <$ac_header>
27432 rm -f conftest.
$ac_objext
27433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27434 (eval $ac_compile) 2>conftest.er1
27436 grep -v '^ *+' conftest.er1
>conftest.err
27438 cat conftest.err
>&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } &&
27441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27443 (eval $ac_try) 2>&5
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); }; } &&
27447 { ac_try
='test -s conftest.$ac_objext'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; }; then
27453 eval "$as_ac_Header=yes"
27455 echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.
$ac_ext >&5
27458 eval "$as_ac_Header=no"
27460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27465 cat >>confdefs.h
<<_ACEOF
27466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27472 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27473 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27483 if test "$wxUSE_MEDIACTRL" = "yes"; then
27484 if test "$wxUSE_MSW" = 1; then
27485 wxUSE_DIRECTSHOW
="yes"
27487 for ac_header
in dshow.h
27489 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27490 echo "$as_me:$LINENO: checking for $ac_header" >&5
27491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27493 echo $ECHO_N "(cached) $ECHO_C" >&6
27495 cat >conftest.
$ac_ext <<_ACEOF
27498 cat confdefs.h
>>conftest.
$ac_ext
27499 cat >>conftest.
$ac_ext <<_ACEOF
27500 /* end confdefs.h. */
27501 #include <windows.h>
27503 #include <$ac_header>
27505 rm -f conftest.
$ac_objext
27506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27507 (eval $ac_compile) 2>conftest.er1
27509 grep -v '^ *+' conftest.er1
>conftest.err
27511 cat conftest.err
>&5
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); } &&
27514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516 (eval $ac_try) 2>&5
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); }; } &&
27520 { ac_try
='test -s conftest.$ac_objext'
27521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27522 (eval $ac_try) 2>&5
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); }; }; then
27526 eval "$as_ac_Header=yes"
27528 echo "$as_me: failed program was:" >&5
27529 sed 's/^/| /' conftest.
$ac_ext >&5
27531 eval "$as_ac_Header=no"
27533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27538 cat >>confdefs.h
<<_ACEOF
27539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27544 wxUSE_DIRECTSHOW
="no"
27545 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27546 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27553 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27554 cat >>confdefs.h
<<\_ACEOF
27555 #define wxUSE_DIRECTSHOW 1
27558 LIBS
="$LIBS -lstrmiids"
27562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
27563 cat >>confdefs.h
<<\_ACEOF
27564 #define wxUSE_MEDIACTRL 1
27571 if test "$wxUSE_OPENGL" = "yes"; then
27572 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27573 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27574 elif test "$wxUSE_MSW" = 1; then
27575 OPENGL_LIBS
="-lopengl32 -lglu32"
27580 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27582 if test -f "$ac_dir/GL/gl.h"; then
27583 ac_find_includes
=$ac_dir
27588 if test "$ac_find_includes" != "" ; then
27589 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27590 echo "${ECHO_T}found in $ac_find_includes" >&6
27592 if test "x$ac_find_includes" = "x/usr/include"; then
27593 ac_path_to_include
=""
27595 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27597 if test $result = 0; then
27598 ac_path_to_include
=""
27600 ac_path_to_include
=" -I$ac_find_includes"
27604 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27607 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27608 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27609 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27610 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27611 echo $ECHO_N "(cached) $ECHO_C" >&6
27613 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27614 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27616 # Is the header compilable?
27617 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27618 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27619 cat >conftest.
$ac_ext <<_ACEOF
27622 cat confdefs.h
>>conftest.
$ac_ext
27623 cat >>conftest.
$ac_ext <<_ACEOF
27624 /* end confdefs.h. */
27625 $ac_includes_default
27628 rm -f conftest.
$ac_objext
27629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27630 (eval $ac_compile) 2>conftest.er1
27632 grep -v '^ *+' conftest.er1
>conftest.err
27634 cat conftest.err
>&5
27635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636 (exit $ac_status); } &&
27637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27639 (eval $ac_try) 2>&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); }; } &&
27643 { ac_try
='test -s conftest.$ac_objext'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; }; then
27649 ac_header_compiler
=yes
27651 echo "$as_me: failed program was:" >&5
27652 sed 's/^/| /' conftest.
$ac_ext >&5
27654 ac_header_compiler
=no
27656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27658 echo "${ECHO_T}$ac_header_compiler" >&6
27660 # Is the header present?
27661 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27662 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27663 cat >conftest.
$ac_ext <<_ACEOF
27666 cat confdefs.h
>>conftest.
$ac_ext
27667 cat >>conftest.
$ac_ext <<_ACEOF
27668 /* end confdefs.h. */
27671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27674 grep -v '^ *+' conftest.er1
>conftest.err
27676 cat conftest.err
>&5
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); } >/dev
/null
; then
27679 if test -s conftest.err
; then
27680 ac_cpp_err
=$ac_c_preproc_warn_flag
27681 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27688 if test -z "$ac_cpp_err"; then
27689 ac_header_preproc
=yes
27691 echo "$as_me: failed program was:" >&5
27692 sed 's/^/| /' conftest.
$ac_ext >&5
27694 ac_header_preproc
=no
27696 rm -f conftest.err conftest.
$ac_ext
27697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27698 echo "${ECHO_T}$ac_header_preproc" >&6
27700 # So? What about this header?
27701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27703 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27704 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27705 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27706 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27707 ac_header_preproc
=yes
27710 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27711 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27712 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27713 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27714 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27715 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27716 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27717 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27718 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27719 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27720 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27721 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27724 ## ----------------------------------------- ##
27725 ## Report this to wx-dev@lists.wxwidgets.org ##
27726 ## ----------------------------------------- ##
27729 sed "s/^/$as_me: WARNING: /" >&2
27732 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27733 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27734 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27735 echo $ECHO_N "(cached) $ECHO_C" >&6
27737 ac_cv_header_GL_gl_h
=$ac_header_preproc
27739 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27740 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27743 if test $ac_cv_header_GL_gl_h = yes; then
27747 echo "$as_me:$LINENO: checking for -lGL" >&5
27748 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27751 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27753 for ac_extension
in a so sl dylib
; do
27754 if test -f "$ac_dir/libGL.$ac_extension"; then
27755 ac_find_libraries
=$ac_dir
27761 if test "$ac_find_libraries" != "" ; then
27763 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27765 if test $result = 0; then
27768 ac_path_to_link
=" -L$ac_find_libraries"
27771 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27772 LDFLAGS_GL
="$ac_path_to_link"
27777 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27779 for ac_extension
in a so sl dylib
; do
27780 if test -f "$ac_dir/libGLU.$ac_extension"; then
27781 ac_find_libraries
=$ac_dir
27787 if test "$ac_find_libraries" != "" ; then
27789 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27791 if test $result = 0; then
27794 ac_path_to_link
=" -L$ac_find_libraries"
27797 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27798 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27799 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27803 OPENGL_LIBS
="-lGL -lGLU"
27804 echo "$as_me:$LINENO: result: yes" >&5
27805 echo "${ECHO_T}yes" >&6
27809 if test "$found_gl" != 1; then
27810 echo "$as_me:$LINENO: result: no" >&5
27811 echo "${ECHO_T}no" >&6
27812 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27813 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27816 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27818 for ac_extension
in a so sl dylib
; do
27819 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27820 ac_find_libraries
=$ac_dir
27826 if test "$ac_find_libraries" != "" ; then
27828 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27830 if test $result = 0; then
27833 ac_path_to_link
=" -L$ac_find_libraries"
27836 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27837 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27838 echo "$as_me:$LINENO: result: yes" >&5
27839 echo "${ECHO_T}yes" >&6
27841 echo "$as_me:$LINENO: result: no" >&5
27842 echo "${ECHO_T}no" >&6
27850 if test "x$OPENGL_LIBS" = "x"; then
27851 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27852 echo "$as_me: error: OpenGL libraries not available" >&2;}
27853 { (exit 1); exit 1; }; }
27857 if test "$wxUSE_OPENGL" = "yes"; then
27859 cat >>confdefs.h
<<\_ACEOF
27860 #define wxUSE_OPENGL 1
27863 cat >>confdefs.h
<<\_ACEOF
27864 #define wxUSE_GLCANVAS 1
27867 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27872 if test -n "$TOOLKIT" ; then
27873 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27878 if test "$wxUSE_SHARED" = "yes"; then
27882 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27883 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27888 if test "$wxUSE_SHARED" = "yes"; then
27891 found_versioning
=no
27894 if test $found_versioning = no
; then
27895 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27896 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27897 if test "${wx_cv_version_script+set}" = set; then
27898 echo $ECHO_N "(cached) $ECHO_C" >&6
27901 echo "VER_1 { *; };" >conftest.sym
27902 echo "int main() { return 0; }" >conftest.cpp
27905 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27906 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27908 (eval $ac_try) 2>&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); }; } ; then
27912 if test -s conftest.stderr
; then
27913 wx_cv_version_script
=no
27915 wx_cv_version_script
=yes
27918 wx_cv_version_script
=no
27920 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27923 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27924 echo "${ECHO_T}$wx_cv_version_script" >&6
27925 if test $wx_cv_version_script = yes ; then
27926 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27932 *-*-linux* | *-*-gnu* )
27933 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27934 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27938 if test "$GCC" = yes ; then
27939 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27941 saveLdflags
="$LDFLAGS"
27942 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27943 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27944 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27945 cat >conftest.
$ac_ext <<_ACEOF
27948 cat confdefs.h
>>conftest.
$ac_ext
27949 cat >>conftest.
$ac_ext <<_ACEOF
27950 /* end confdefs.h. */
27960 rm -f conftest.
$ac_objext conftest
$ac_exeext
27961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27962 (eval $ac_link) 2>conftest.er1
27964 grep -v '^ *+' conftest.er1
>conftest.err
27966 cat conftest.err
>&5
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); } &&
27969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27971 (eval $ac_try) 2>&5
27973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974 (exit $ac_status); }; } &&
27975 { ac_try
='test -s conftest$ac_exeext'
27976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27977 (eval $ac_try) 2>&5
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); }; }; then
27982 echo "$as_me:$LINENO: result: yes" >&5
27983 echo "${ECHO_T}yes" >&6
27984 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27985 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.
$ac_ext >&5
27992 echo "$as_me:$LINENO: result: no" >&5
27993 echo "${ECHO_T}no" >&6
27994 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27995 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27996 LDFLAGS
="$saveLdflags -Wl,-R,/"
27997 cat >conftest.
$ac_ext <<_ACEOF
28000 cat confdefs.h
>>conftest.
$ac_ext
28001 cat >>conftest.
$ac_ext <<_ACEOF
28002 /* end confdefs.h. */
28012 rm -f conftest.
$ac_objext conftest
$ac_exeext
28013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28014 (eval $ac_link) 2>conftest.er1
28016 grep -v '^ *+' conftest.er1
>conftest.err
28018 cat conftest.err
>&5
28019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28020 (exit $ac_status); } &&
28021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28023 (eval $ac_try) 2>&5
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); }; } &&
28027 { ac_try
='test -s conftest$ac_exeext'
28028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28029 (eval $ac_try) 2>&5
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); }; }; then
28034 echo "$as_me:$LINENO: result: yes" >&5
28035 echo "${ECHO_T}yes" >&6
28036 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28037 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
28040 echo "$as_me: failed program was:" >&5
28041 sed 's/^/| /' conftest.
$ac_ext >&5
28044 echo "$as_me:$LINENO: result: no" >&5
28045 echo "${ECHO_T}no" >&6
28048 rm -f conftest.err conftest.
$ac_objext \
28049 conftest
$ac_exeext conftest.
$ac_ext
28052 rm -f conftest.err conftest.
$ac_objext \
28053 conftest
$ac_exeext conftest.
$ac_ext
28054 LDFLAGS
="$saveLdflags"
28056 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28057 WXCONFIG_RPATH
="-R\$libdir"
28061 powerpc
-*-darwin* )
28062 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28063 cat <<EOF >change-install-names
28065 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28066 inst_cmd="install_name_tool "
28067 for i in \${libnames} ; do
28068 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28072 chmod +x change
-install-names
28075 *-*-cygwin* | *-*-mingw32* )
28076 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28081 if test $wxUSE_RPATH = "no"; then
28082 SAMPLES_RPATH_FLAG
=''
28083 SAMPLES_RPATH_POSTLINK
=''
28091 config_linkage_component
="-static"
28098 lib_unicode_suffix
=
28100 if test "$wxUSE_UNICODE" = "yes"; then
28101 lib_unicode_suffix
=u
28102 WX_CHARTYPE
="unicode"
28107 WX_DEBUGTYPE
="release"
28109 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28111 WX_DEBUGTYPE
="debug"
28115 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
28116 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
28119 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28123 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28125 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28127 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28129 if test "$cross_compiling" = "yes"; then
28130 HOST_SUFFIX
="-$host_alias"
28131 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
28132 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
28135 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28136 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28140 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28141 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28142 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28144 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28146 # Extract the first word of "Rez", so it can be a program name with args.
28147 set dummy Rez
; ac_word
=$2
28148 echo "$as_me:$LINENO: checking for $ac_word" >&5
28149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28150 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28151 echo $ECHO_N "(cached) $ECHO_C" >&6
28153 if test -n "$RESCOMP"; then
28154 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28157 for as_dir
in $PATH
28160 test -z "$as_dir" && as_dir
=.
28161 for ac_exec_ext
in '' $ac_executable_extensions; do
28162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28163 ac_cv_prog_RESCOMP
="Rez"
28164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28170 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28173 RESCOMP
=$ac_cv_prog_RESCOMP
28174 if test -n "$RESCOMP"; then
28175 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28176 echo "${ECHO_T}$RESCOMP" >&6
28178 echo "$as_me:$LINENO: result: no" >&5
28179 echo "${ECHO_T}no" >&6
28182 # Extract the first word of "DeRez", so it can be a program name with args.
28183 set dummy DeRez
; ac_word
=$2
28184 echo "$as_me:$LINENO: checking for $ac_word" >&5
28185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28186 if test "${ac_cv_prog_DEREZ+set}" = set; then
28187 echo $ECHO_N "(cached) $ECHO_C" >&6
28189 if test -n "$DEREZ"; then
28190 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28193 for as_dir
in $PATH
28196 test -z "$as_dir" && as_dir
=.
28197 for ac_exec_ext
in '' $ac_executable_extensions; do
28198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28199 ac_cv_prog_DEREZ
="DeRez"
28200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28206 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28209 DEREZ
=$ac_cv_prog_DEREZ
28210 if test -n "$DEREZ"; then
28211 echo "$as_me:$LINENO: result: $DEREZ" >&5
28212 echo "${ECHO_T}$DEREZ" >&6
28214 echo "$as_me:$LINENO: result: no" >&5
28215 echo "${ECHO_T}no" >&6
28218 # Extract the first word of "SetFile", so it can be a program name with args.
28219 set dummy SetFile
; ac_word
=$2
28220 echo "$as_me:$LINENO: checking for $ac_word" >&5
28221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28222 if test "${ac_cv_prog_SETFILE+set}" = set; then
28223 echo $ECHO_N "(cached) $ECHO_C" >&6
28225 if test -n "$SETFILE"; then
28226 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28229 for as_dir
in $PATH
28232 test -z "$as_dir" && as_dir
=.
28233 for ac_exec_ext
in '' $ac_executable_extensions; do
28234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28235 ac_cv_prog_SETFILE
="SetFile"
28236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28242 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28245 SETFILE
=$ac_cv_prog_SETFILE
28246 if test -n "$SETFILE"; then
28247 echo "$as_me:$LINENO: result: $SETFILE" >&5
28248 echo "${ECHO_T}$SETFILE" >&6
28250 echo "$as_me:$LINENO: result: no" >&5
28251 echo "${ECHO_T}no" >&6
28255 MACSETFILE
="\$(SETFILE)"
28257 if test "$wxUSE_MAC" = 1; then
28258 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28260 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28262 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28263 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28267 MACRESWXCONFIG
="@true"
28269 if test "$wxUSE_PM" = 1; then
28270 MACRESCOMP
="emxbind -ep"
28278 echo "$as_me:$LINENO: checking for mode_t" >&5
28279 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28280 if test "${ac_cv_type_mode_t+set}" = set; then
28281 echo $ECHO_N "(cached) $ECHO_C" >&6
28283 cat >conftest.
$ac_ext <<_ACEOF
28286 cat confdefs.h
>>conftest.
$ac_ext
28287 cat >>conftest.
$ac_ext <<_ACEOF
28288 /* end confdefs.h. */
28289 $ac_includes_default
28295 if (sizeof (mode_t))
28301 rm -f conftest.
$ac_objext
28302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28303 (eval $ac_compile) 2>conftest.er1
28305 grep -v '^ *+' conftest.er1
>conftest.err
28307 cat conftest.err
>&5
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); } &&
28310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312 (eval $ac_try) 2>&5
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); }; } &&
28316 { ac_try
='test -s conftest.$ac_objext'
28317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28318 (eval $ac_try) 2>&5
28320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321 (exit $ac_status); }; }; then
28322 ac_cv_type_mode_t
=yes
28324 echo "$as_me: failed program was:" >&5
28325 sed 's/^/| /' conftest.
$ac_ext >&5
28327 ac_cv_type_mode_t
=no
28329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28331 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28332 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28333 if test $ac_cv_type_mode_t = yes; then
28337 cat >>confdefs.h
<<_ACEOF
28343 echo "$as_me:$LINENO: checking for off_t" >&5
28344 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28345 if test "${ac_cv_type_off_t+set}" = set; then
28346 echo $ECHO_N "(cached) $ECHO_C" >&6
28348 cat >conftest.
$ac_ext <<_ACEOF
28351 cat confdefs.h
>>conftest.
$ac_ext
28352 cat >>conftest.
$ac_ext <<_ACEOF
28353 /* end confdefs.h. */
28354 $ac_includes_default
28360 if (sizeof (off_t))
28366 rm -f conftest.
$ac_objext
28367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28368 (eval $ac_compile) 2>conftest.er1
28370 grep -v '^ *+' conftest.er1
>conftest.err
28372 cat conftest.err
>&5
28373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374 (exit $ac_status); } &&
28375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28377 (eval $ac_try) 2>&5
28379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28380 (exit $ac_status); }; } &&
28381 { ac_try
='test -s conftest.$ac_objext'
28382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28383 (eval $ac_try) 2>&5
28385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28386 (exit $ac_status); }; }; then
28387 ac_cv_type_off_t
=yes
28389 echo "$as_me: failed program was:" >&5
28390 sed 's/^/| /' conftest.
$ac_ext >&5
28392 ac_cv_type_off_t
=no
28394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28396 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28397 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28398 if test $ac_cv_type_off_t = yes; then
28402 cat >>confdefs.h
<<_ACEOF
28408 echo "$as_me:$LINENO: checking for pid_t" >&5
28409 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28410 if test "${ac_cv_type_pid_t+set}" = set; then
28411 echo $ECHO_N "(cached) $ECHO_C" >&6
28413 cat >conftest.
$ac_ext <<_ACEOF
28416 cat confdefs.h
>>conftest.
$ac_ext
28417 cat >>conftest.
$ac_ext <<_ACEOF
28418 /* end confdefs.h. */
28419 $ac_includes_default
28425 if (sizeof (pid_t))
28431 rm -f conftest.
$ac_objext
28432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28433 (eval $ac_compile) 2>conftest.er1
28435 grep -v '^ *+' conftest.er1
>conftest.err
28437 cat conftest.err
>&5
28438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439 (exit $ac_status); } &&
28440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28442 (eval $ac_try) 2>&5
28444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28445 (exit $ac_status); }; } &&
28446 { ac_try
='test -s conftest.$ac_objext'
28447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28448 (eval $ac_try) 2>&5
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); }; }; then
28452 ac_cv_type_pid_t
=yes
28454 echo "$as_me: failed program was:" >&5
28455 sed 's/^/| /' conftest.
$ac_ext >&5
28457 ac_cv_type_pid_t
=no
28459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28461 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28462 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28463 if test $ac_cv_type_pid_t = yes; then
28467 cat >>confdefs.h
<<_ACEOF
28473 echo "$as_me:$LINENO: checking for size_t" >&5
28474 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28475 if test "${ac_cv_type_size_t+set}" = set; then
28476 echo $ECHO_N "(cached) $ECHO_C" >&6
28478 cat >conftest.
$ac_ext <<_ACEOF
28481 cat confdefs.h
>>conftest.
$ac_ext
28482 cat >>conftest.
$ac_ext <<_ACEOF
28483 /* end confdefs.h. */
28484 $ac_includes_default
28490 if (sizeof (size_t))
28496 rm -f conftest.
$ac_objext
28497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28498 (eval $ac_compile) 2>conftest.er1
28500 grep -v '^ *+' conftest.er1
>conftest.err
28502 cat conftest.err
>&5
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); } &&
28505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28507 (eval $ac_try) 2>&5
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); }; } &&
28511 { ac_try
='test -s conftest.$ac_objext'
28512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28513 (eval $ac_try) 2>&5
28515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28516 (exit $ac_status); }; }; then
28517 ac_cv_type_size_t
=yes
28519 echo "$as_me: failed program was:" >&5
28520 sed 's/^/| /' conftest.
$ac_ext >&5
28522 ac_cv_type_size_t
=no
28524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28526 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28527 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28528 if test $ac_cv_type_size_t = yes; then
28532 cat >>confdefs.h
<<_ACEOF
28533 #define size_t unsigned
28538 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28539 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28540 if test "${ac_cv_type_uid_t+set}" = set; then
28541 echo $ECHO_N "(cached) $ECHO_C" >&6
28543 cat >conftest.
$ac_ext <<_ACEOF
28546 cat confdefs.h
>>conftest.
$ac_ext
28547 cat >>conftest.
$ac_ext <<_ACEOF
28548 /* end confdefs.h. */
28549 #include <sys/types.h>
28552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28553 $EGREP "uid_t" >/dev
/null
2>&1; then
28554 ac_cv_type_uid_t
=yes
28556 ac_cv_type_uid_t
=no
28561 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28562 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28563 if test $ac_cv_type_uid_t = no
; then
28565 cat >>confdefs.h
<<\_ACEOF
28570 cat >>confdefs.h
<<\_ACEOF
28577 echo "$as_me:$LINENO: checking for ssize_t" >&5
28578 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28579 if test "${ac_cv_type_ssize_t+set}" = set; then
28580 echo $ECHO_N "(cached) $ECHO_C" >&6
28582 cat >conftest.
$ac_ext <<_ACEOF
28585 cat confdefs.h
>>conftest.
$ac_ext
28586 cat >>conftest.
$ac_ext <<_ACEOF
28587 /* end confdefs.h. */
28588 $ac_includes_default
28594 if (sizeof (ssize_t))
28600 rm -f conftest.
$ac_objext
28601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28602 (eval $ac_compile) 2>conftest.er1
28604 grep -v '^ *+' conftest.er1
>conftest.err
28606 cat conftest.err
>&5
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); } &&
28609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28611 (eval $ac_try) 2>&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; } &&
28615 { ac_try
='test -s conftest.$ac_objext'
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; }; then
28621 ac_cv_type_ssize_t
=yes
28623 echo "$as_me: failed program was:" >&5
28624 sed 's/^/| /' conftest.
$ac_ext >&5
28626 ac_cv_type_ssize_t
=no
28628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28630 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
28631 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
28632 if test $ac_cv_type_ssize_t = yes; then
28634 cat >>confdefs.h
<<_ACEOF
28635 #define HAVE_SSIZE_T 1
28645 ac_cpp
='$CXXCPP $CPPFLAGS'
28646 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28647 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28648 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28650 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28651 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28652 if test "${wx_cv_size_t_is_uint+set}" = set; then
28653 echo $ECHO_N "(cached) $ECHO_C" >&6
28656 cat >conftest.
$ac_ext <<_ACEOF
28659 cat confdefs.h
>>conftest.
$ac_ext
28660 cat >>conftest.
$ac_ext <<_ACEOF
28661 /* end confdefs.h. */
28662 #include <stddef.h>
28669 struct Foo { void foo(size_t); void foo(unsigned int); };
28677 rm -f conftest.
$ac_objext
28678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28679 (eval $ac_compile) 2>conftest.er1
28681 grep -v '^ *+' conftest.er1
>conftest.err
28683 cat conftest.err
>&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); } &&
28686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28688 (eval $ac_try) 2>&5
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); }; } &&
28692 { ac_try
='test -s conftest.$ac_objext'
28693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28694 (eval $ac_try) 2>&5
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); }; }; then
28698 wx_cv_size_t_is_uint
=no
28700 echo "$as_me: failed program was:" >&5
28701 sed 's/^/| /' conftest.
$ac_ext >&5
28703 wx_cv_size_t_is_uint
=yes
28706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28710 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28711 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28713 if test "$wx_cv_size_t_is_uint" = "yes"; then
28714 cat >>confdefs.h
<<\_ACEOF
28715 #define wxSIZE_T_IS_UINT 1
28719 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28720 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28721 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28722 echo $ECHO_N "(cached) $ECHO_C" >&6
28724 cat >conftest.
$ac_ext <<_ACEOF
28727 cat confdefs.h
>>conftest.
$ac_ext
28728 cat >>conftest.
$ac_ext <<_ACEOF
28729 /* end confdefs.h. */
28730 #include <stddef.h>
28737 struct Foo { void foo(size_t); void foo(unsigned long); };
28745 rm -f conftest.
$ac_objext
28746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28747 (eval $ac_compile) 2>conftest.er1
28749 grep -v '^ *+' conftest.er1
>conftest.err
28751 cat conftest.err
>&5
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); } &&
28754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28756 (eval $ac_try) 2>&5
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; } &&
28760 { ac_try
='test -s conftest.$ac_objext'
28761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28762 (eval $ac_try) 2>&5
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); }; }; then
28766 wx_cv_size_t_is_ulong
=no
28768 echo "$as_me: failed program was:" >&5
28769 sed 's/^/| /' conftest.
$ac_ext >&5
28771 wx_cv_size_t_is_ulong
=yes
28774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28777 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28778 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28780 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28781 cat >>confdefs.h
<<\_ACEOF
28782 #define wxSIZE_T_IS_ULONG 1
28789 ac_cpp
='$CPP $CPPFLAGS'
28790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28796 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28797 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28798 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28799 echo $ECHO_N "(cached) $ECHO_C" >&6
28802 cat >conftest.
$ac_ext <<_ACEOF
28805 cat confdefs.h
>>conftest.
$ac_ext
28806 cat >>conftest.
$ac_ext <<_ACEOF
28807 /* end confdefs.h. */
28821 rm -f conftest.
$ac_objext
28822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28823 (eval $ac_compile) 2>conftest.er1
28825 grep -v '^ *+' conftest.er1
>conftest.err
28827 cat conftest.err
>&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } &&
28830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28832 (eval $ac_try) 2>&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); }; } &&
28836 { ac_try
='test -s conftest.$ac_objext'
28837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28838 (eval $ac_try) 2>&5
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); }; }; then
28843 wx_cv_struct_pw_gecos
=yes
28846 echo "$as_me: failed program was:" >&5
28847 sed 's/^/| /' conftest.
$ac_ext >&5
28850 wx_cv_struct_pw_gecos
=no
28854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28858 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28859 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28861 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28862 cat >>confdefs.h
<<\_ACEOF
28863 #define HAVE_PW_GECOS 1
28869 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28870 cat >>confdefs.h
<<\_ACEOF
28871 #define wxUSE_WCHAR_T 1
28878 for ac_func
in wcslen
28880 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28881 echo "$as_me:$LINENO: checking for $ac_func" >&5
28882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28883 if eval "test \"\${$as_ac_var+set}\" = set"; then
28884 echo $ECHO_N "(cached) $ECHO_C" >&6
28886 cat >conftest.
$ac_ext <<_ACEOF
28889 cat confdefs.h
>>conftest.
$ac_ext
28890 cat >>conftest.
$ac_ext <<_ACEOF
28891 /* end confdefs.h. */
28892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28894 #define $ac_func innocuous_$ac_func
28896 /* System header to define __stub macros and hopefully few prototypes,
28897 which can conflict with char $ac_func (); below.
28898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28899 <limits.h> exists even on freestanding compilers. */
28902 # include <limits.h>
28904 # include <assert.h>
28909 /* Override any gcc2 internal prototype to avoid an error. */
28914 /* We use char because int might match the return type of a gcc2
28915 builtin and then its argument prototype would still apply. */
28917 /* The GNU C library defines this for functions which it implements
28918 to always fail with ENOSYS. Some functions are actually named
28919 something starting with __ and the normal name is an alias. */
28920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28923 char (*f) () = $ac_func;
28932 return f != $ac_func;
28937 rm -f conftest.
$ac_objext conftest
$ac_exeext
28938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28939 (eval $ac_link) 2>conftest.er1
28941 grep -v '^ *+' conftest.er1
>conftest.err
28943 cat conftest.err
>&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); } &&
28946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; } &&
28952 { ac_try
='test -s conftest$ac_exeext'
28953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28954 (eval $ac_try) 2>&5
28956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957 (exit $ac_status); }; }; then
28958 eval "$as_ac_var=yes"
28960 echo "$as_me: failed program was:" >&5
28961 sed 's/^/| /' conftest.
$ac_ext >&5
28963 eval "$as_ac_var=no"
28965 rm -f conftest.err conftest.
$ac_objext \
28966 conftest
$ac_exeext conftest.
$ac_ext
28968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28970 if test `eval echo '${'$as_ac_var'}'` = yes; then
28971 cat >>confdefs.h
<<_ACEOF
28972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28979 if test "$WCSLEN_FOUND" = 0; then
28980 if test "$TOOLKIT" = "MSW"; then
28981 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28982 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28983 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28984 echo $ECHO_N "(cached) $ECHO_C" >&6
28986 ac_check_lib_save_LIBS
=$LIBS
28987 LIBS
="-lmsvcrt $LIBS"
28988 cat >conftest.
$ac_ext <<_ACEOF
28991 cat confdefs.h
>>conftest.
$ac_ext
28992 cat >>conftest.
$ac_ext <<_ACEOF
28993 /* end confdefs.h. */
28995 /* Override any gcc2 internal prototype to avoid an error. */
28999 /* We use char because int might match the return type of a gcc2
29000 builtin and then its argument prototype would still apply. */
29010 rm -f conftest.
$ac_objext conftest
$ac_exeext
29011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29012 (eval $ac_link) 2>conftest.er1
29014 grep -v '^ *+' conftest.er1
>conftest.err
29016 cat conftest.err
>&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); } &&
29019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29021 (eval $ac_try) 2>&5
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); }; } &&
29025 { ac_try
='test -s conftest$ac_exeext'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; }; then
29031 ac_cv_lib_msvcrt_wcslen
=yes
29033 echo "$as_me: failed program was:" >&5
29034 sed 's/^/| /' conftest.
$ac_ext >&5
29036 ac_cv_lib_msvcrt_wcslen
=no
29038 rm -f conftest.err conftest.
$ac_objext \
29039 conftest
$ac_exeext conftest.
$ac_ext
29040 LIBS
=$ac_check_lib_save_LIBS
29042 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29043 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29044 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29049 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29050 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29051 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29052 echo $ECHO_N "(cached) $ECHO_C" >&6
29054 ac_check_lib_save_LIBS
=$LIBS
29056 cat >conftest.
$ac_ext <<_ACEOF
29059 cat confdefs.h
>>conftest.
$ac_ext
29060 cat >>conftest.
$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29063 /* Override any gcc2 internal prototype to avoid an error. */
29067 /* We use char because int might match the return type of a gcc2
29068 builtin and then its argument prototype would still apply. */
29078 rm -f conftest.
$ac_objext conftest
$ac_exeext
29079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29080 (eval $ac_link) 2>conftest.er1
29082 grep -v '^ *+' conftest.er1
>conftest.err
29084 cat conftest.err
>&5
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); } &&
29087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29089 (eval $ac_try) 2>&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); }; } &&
29093 { ac_try
='test -s conftest$ac_exeext'
29094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29095 (eval $ac_try) 2>&5
29097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29098 (exit $ac_status); }; }; then
29099 ac_cv_lib_w_wcslen
=yes
29101 echo "$as_me: failed program was:" >&5
29102 sed 's/^/| /' conftest.
$ac_ext >&5
29104 ac_cv_lib_w_wcslen
=no
29106 rm -f conftest.err conftest.
$ac_objext \
29107 conftest
$ac_exeext conftest.
$ac_ext
29108 LIBS
=$ac_check_lib_save_LIBS
29110 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29111 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29112 if test $ac_cv_lib_w_wcslen = yes; then
29122 if test "$WCSLEN_FOUND" = 1; then
29123 cat >>confdefs.h
<<\_ACEOF
29124 #define HAVE_WCSLEN 1
29129 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29130 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29134 for ac_func
in wcsrtombs
29136 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29137 echo "$as_me:$LINENO: checking for $ac_func" >&5
29138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29139 if eval "test \"\${$as_ac_var+set}\" = set"; then
29140 echo $ECHO_N "(cached) $ECHO_C" >&6
29142 cat >conftest.
$ac_ext <<_ACEOF
29145 cat confdefs.h
>>conftest.
$ac_ext
29146 cat >>conftest.
$ac_ext <<_ACEOF
29147 /* end confdefs.h. */
29148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29150 #define $ac_func innocuous_$ac_func
29152 /* System header to define __stub macros and hopefully few prototypes,
29153 which can conflict with char $ac_func (); below.
29154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29155 <limits.h> exists even on freestanding compilers. */
29158 # include <limits.h>
29160 # include <assert.h>
29165 /* Override any gcc2 internal prototype to avoid an error. */
29170 /* We use char because int might match the return type of a gcc2
29171 builtin and then its argument prototype would still apply. */
29173 /* The GNU C library defines this for functions which it implements
29174 to always fail with ENOSYS. Some functions are actually named
29175 something starting with __ and the normal name is an alias. */
29176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29179 char (*f) () = $ac_func;
29188 return f != $ac_func;
29193 rm -f conftest.
$ac_objext conftest
$ac_exeext
29194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29195 (eval $ac_link) 2>conftest.er1
29197 grep -v '^ *+' conftest.er1
>conftest.err
29199 cat conftest.err
>&5
29200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201 (exit $ac_status); } &&
29202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29204 (eval $ac_try) 2>&5
29206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29207 (exit $ac_status); }; } &&
29208 { ac_try
='test -s conftest$ac_exeext'
29209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29210 (eval $ac_try) 2>&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); }; }; then
29214 eval "$as_ac_var=yes"
29216 echo "$as_me: failed program was:" >&5
29217 sed 's/^/| /' conftest.
$ac_ext >&5
29219 eval "$as_ac_var=no"
29221 rm -f conftest.err conftest.
$ac_objext \
29222 conftest
$ac_exeext conftest.
$ac_ext
29224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29226 if test `eval echo '${'$as_ac_var'}'` = yes; then
29227 cat >>confdefs.h
<<_ACEOF
29228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29235 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29236 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29242 ac_cpp
='$CXXCPP $CPPFLAGS'
29243 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29244 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29245 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29249 for ac_func
in vsnprintf
29251 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29252 echo "$as_me:$LINENO: checking for $ac_func" >&5
29253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29254 if eval "test \"\${$as_ac_var+set}\" = set"; then
29255 echo $ECHO_N "(cached) $ECHO_C" >&6
29257 cat >conftest.
$ac_ext <<_ACEOF
29260 cat confdefs.h
>>conftest.
$ac_ext
29261 cat >>conftest.
$ac_ext <<_ACEOF
29262 /* end confdefs.h. */
29263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29265 #define $ac_func innocuous_$ac_func
29267 /* System header to define __stub macros and hopefully few prototypes,
29268 which can conflict with char $ac_func (); below.
29269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29270 <limits.h> exists even on freestanding compilers. */
29273 # include <limits.h>
29275 # include <assert.h>
29280 /* Override any gcc2 internal prototype to avoid an error. */
29285 /* We use char because int might match the return type of a gcc2
29286 builtin and then its argument prototype would still apply. */
29288 /* The GNU C library defines this for functions which it implements
29289 to always fail with ENOSYS. Some functions are actually named
29290 something starting with __ and the normal name is an alias. */
29291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29294 char (*f) () = $ac_func;
29303 return f != $ac_func;
29308 rm -f conftest.
$ac_objext conftest
$ac_exeext
29309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29310 (eval $ac_link) 2>conftest.er1
29312 grep -v '^ *+' conftest.er1
>conftest.err
29314 cat conftest.err
>&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); } &&
29317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29319 (eval $ac_try) 2>&5
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); }; } &&
29323 { ac_try
='test -s conftest$ac_exeext'
29324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29325 (eval $ac_try) 2>&5
29327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29328 (exit $ac_status); }; }; then
29329 eval "$as_ac_var=yes"
29331 echo "$as_me: failed program was:" >&5
29332 sed 's/^/| /' conftest.
$ac_ext >&5
29334 eval "$as_ac_var=no"
29336 rm -f conftest.err conftest.
$ac_objext \
29337 conftest
$ac_exeext conftest.
$ac_ext
29339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29341 if test `eval echo '${'$as_ac_var'}'` = yes; then
29342 cat >>confdefs.h
<<_ACEOF
29343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29350 if test "$ac_cv_func_vsnprintf" = "yes"; then
29351 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29352 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29353 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29354 echo $ECHO_N "(cached) $ECHO_C" >&6
29357 cat >conftest.
$ac_ext <<_ACEOF
29360 cat confdefs.h
>>conftest.
$ac_ext
29361 cat >>conftest.
$ac_ext <<_ACEOF
29362 /* end confdefs.h. */
29365 #include <stdarg.h>
29373 vsnprintf(buf, 10u, "%s", ap);
29379 rm -f conftest.
$ac_objext
29380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29381 (eval $ac_compile) 2>conftest.er1
29383 grep -v '^ *+' conftest.er1
>conftest.err
29385 cat conftest.err
>&5
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); } &&
29388 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29390 (eval $ac_try) 2>&5
29392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29393 (exit $ac_status); }; } &&
29394 { ac_try
='test -s conftest.$ac_objext'
29395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29396 (eval $ac_try) 2>&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); }; }; then
29400 wx_cv_func_vsnprintf_decl
=yes
29402 echo "$as_me: failed program was:" >&5
29403 sed 's/^/| /' conftest.
$ac_ext >&5
29405 wx_cv_func_vsnprintf_decl
=no
29408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29412 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29413 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29415 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29416 cat >>confdefs.h
<<\_ACEOF
29417 #define HAVE_VSNPRINTF_DECL 1
29423 if test "$wxUSE_UNICODE" = yes; then
29430 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29432 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29433 echo "$as_me:$LINENO: checking for $ac_func" >&5
29434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29435 if eval "test \"\${$as_ac_var+set}\" = set"; then
29436 echo $ECHO_N "(cached) $ECHO_C" >&6
29438 cat >conftest.
$ac_ext <<_ACEOF
29441 cat confdefs.h
>>conftest.
$ac_ext
29442 cat >>conftest.
$ac_ext <<_ACEOF
29443 /* end confdefs.h. */
29444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29446 #define $ac_func innocuous_$ac_func
29448 /* System header to define __stub macros and hopefully few prototypes,
29449 which can conflict with char $ac_func (); below.
29450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29451 <limits.h> exists even on freestanding compilers. */
29454 # include <limits.h>
29456 # include <assert.h>
29461 /* Override any gcc2 internal prototype to avoid an error. */
29466 /* We use char because int might match the return type of a gcc2
29467 builtin and then its argument prototype would still apply. */
29469 /* The GNU C library defines this for functions which it implements
29470 to always fail with ENOSYS. Some functions are actually named
29471 something starting with __ and the normal name is an alias. */
29472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29475 char (*f) () = $ac_func;
29484 return f != $ac_func;
29489 rm -f conftest.
$ac_objext conftest
$ac_exeext
29490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29491 (eval $ac_link) 2>conftest.er1
29493 grep -v '^ *+' conftest.er1
>conftest.err
29495 cat conftest.err
>&5
29496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29497 (exit $ac_status); } &&
29498 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29500 (eval $ac_try) 2>&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); }; } &&
29504 { ac_try
='test -s conftest$ac_exeext'
29505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29506 (eval $ac_try) 2>&5
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); }; }; then
29510 eval "$as_ac_var=yes"
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.
$ac_ext >&5
29515 eval "$as_ac_var=no"
29517 rm -f conftest.err conftest.
$ac_objext \
29518 conftest
$ac_exeext conftest.
$ac_ext
29520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29522 if test `eval echo '${'$as_ac_var'}'` = yes; then
29523 cat >>confdefs.h
<<_ACEOF
29524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29531 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29532 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29533 cat >conftest.
$ac_ext <<_ACEOF
29536 cat confdefs.h
>>conftest.
$ac_ext
29537 cat >>conftest.
$ac_ext <<_ACEOF
29538 /* end confdefs.h. */
29548 rm -f conftest.
$ac_objext
29549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29550 (eval $ac_compile) 2>conftest.er1
29552 grep -v '^ *+' conftest.er1
>conftest.err
29554 cat conftest.err
>&5
29555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29556 (exit $ac_status); } &&
29557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29559 (eval $ac_try) 2>&5
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); }; } &&
29563 { ac_try
='test -s conftest.$ac_objext'
29564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29565 (eval $ac_try) 2>&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; }; then
29569 echo "$as_me:$LINENO: result: yes" >&5
29570 echo "${ECHO_T}yes" >&6
29571 cat >>confdefs.h
<<\_ACEOF
29572 #define HAVE__VSNWPRINTF 1
29576 echo "$as_me: failed program was:" >&5
29577 sed 's/^/| /' conftest.
$ac_ext >&5
29579 echo "$as_me:$LINENO: result: no" >&5
29580 echo "${ECHO_T}no" >&6
29582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29586 ac_cpp
='$CPP $CPPFLAGS'
29587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29594 if test "$TOOLKIT" != "MSW"; then
29600 ac_cpp
='$CXXCPP $CPPFLAGS'
29601 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29602 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29603 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29608 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29609 if test "${with_libiconv_prefix+set}" = set; then
29610 withval
="$with_libiconv_prefix"
29612 for dir
in `echo "$withval" | tr : ' '`; do
29613 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29614 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29619 echo "$as_me:$LINENO: checking for iconv" >&5
29620 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29621 if test "${am_cv_func_iconv+set}" = set; then
29622 echo $ECHO_N "(cached) $ECHO_C" >&6
29625 am_cv_func_iconv
="no, consider installing GNU libiconv"
29627 cat >conftest.
$ac_ext <<_ACEOF
29630 cat confdefs.h
>>conftest.
$ac_ext
29631 cat >>conftest.
$ac_ext <<_ACEOF
29632 /* end confdefs.h. */
29633 #include <stdlib.h>
29638 iconv_t cd = iconv_open("","");
29639 iconv(cd,NULL,NULL,NULL,NULL);
29645 rm -f conftest.
$ac_objext conftest
$ac_exeext
29646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29647 (eval $ac_link) 2>conftest.er1
29649 grep -v '^ *+' conftest.er1
>conftest.err
29651 cat conftest.err
>&5
29652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653 (exit $ac_status); } &&
29654 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29656 (eval $ac_try) 2>&5
29658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29659 (exit $ac_status); }; } &&
29660 { ac_try
='test -s conftest$ac_exeext'
29661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29662 (eval $ac_try) 2>&5
29664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29665 (exit $ac_status); }; }; then
29666 am_cv_func_iconv
=yes
29668 echo "$as_me: failed program was:" >&5
29669 sed 's/^/| /' conftest.
$ac_ext >&5
29672 rm -f conftest.err conftest.
$ac_objext \
29673 conftest
$ac_exeext conftest.
$ac_ext
29674 if test "$am_cv_func_iconv" != yes; then
29675 am_save_LIBS
="$LIBS"
29676 LIBS
="$LIBS -liconv"
29677 cat >conftest.
$ac_ext <<_ACEOF
29680 cat confdefs.h
>>conftest.
$ac_ext
29681 cat >>conftest.
$ac_ext <<_ACEOF
29682 /* end confdefs.h. */
29683 #include <stdlib.h>
29688 iconv_t cd = iconv_open("","");
29689 iconv(cd,NULL,NULL,NULL,NULL);
29695 rm -f conftest.
$ac_objext conftest
$ac_exeext
29696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29697 (eval $ac_link) 2>conftest.er1
29699 grep -v '^ *+' conftest.er1
>conftest.err
29701 cat conftest.err
>&5
29702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29703 (exit $ac_status); } &&
29704 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29706 (eval $ac_try) 2>&5
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; } &&
29710 { ac_try
='test -s conftest$ac_exeext'
29711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29712 (eval $ac_try) 2>&5
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); }; }; then
29716 am_cv_lib_iconv
=yes
29717 am_cv_func_iconv
=yes
29719 echo "$as_me: failed program was:" >&5
29720 sed 's/^/| /' conftest.
$ac_ext >&5
29723 rm -f conftest.err conftest.
$ac_objext \
29724 conftest
$ac_exeext conftest.
$ac_ext
29725 LIBS
="$am_save_LIBS"
29729 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29730 echo "${ECHO_T}$am_cv_func_iconv" >&6
29731 if test "$am_cv_func_iconv" = yes; then
29733 cat >>confdefs.h
<<\_ACEOF
29734 #define HAVE_ICONV 1
29737 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29738 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29739 if test "${wx_cv_func_iconv_const+set}" = set; then
29740 echo $ECHO_N "(cached) $ECHO_C" >&6
29742 cat >conftest.
$ac_ext <<_ACEOF
29745 cat confdefs.h
>>conftest.
$ac_ext
29746 cat >>conftest.
$ac_ext <<_ACEOF
29747 /* end confdefs.h. */
29749 #include <stdlib.h>
29755 #if defined(__STDC__) || defined(__cplusplus)
29756 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29769 rm -f conftest.
$ac_objext
29770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29771 (eval $ac_compile) 2>conftest.er1
29773 grep -v '^ *+' conftest.er1
>conftest.err
29775 cat conftest.err
>&5
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); } &&
29778 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780 (eval $ac_try) 2>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; } &&
29784 { ac_try
='test -s conftest.$ac_objext'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; }; then
29790 wx_cv_func_iconv_const
="no"
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.
$ac_ext >&5
29795 wx_cv_func_iconv_const
="yes"
29798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29801 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29802 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29805 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29806 iconv_const
="const"
29810 cat >>confdefs.h
<<_ACEOF
29811 #define ICONV_CONST $iconv_const
29816 if test "$am_cv_lib_iconv" = yes; then
29821 LIBS
="$LIBICONV $LIBS"
29823 ac_cpp
='$CPP $CPPFLAGS'
29824 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29825 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29826 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29829 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29831 for ac_func
in sigaction
29833 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29834 echo "$as_me:$LINENO: checking for $ac_func" >&5
29835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29836 if eval "test \"\${$as_ac_var+set}\" = set"; then
29837 echo $ECHO_N "(cached) $ECHO_C" >&6
29839 cat >conftest.
$ac_ext <<_ACEOF
29842 cat confdefs.h
>>conftest.
$ac_ext
29843 cat >>conftest.
$ac_ext <<_ACEOF
29844 /* end confdefs.h. */
29845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29847 #define $ac_func innocuous_$ac_func
29849 /* System header to define __stub macros and hopefully few prototypes,
29850 which can conflict with char $ac_func (); below.
29851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29852 <limits.h> exists even on freestanding compilers. */
29855 # include <limits.h>
29857 # include <assert.h>
29862 /* Override any gcc2 internal prototype to avoid an error. */
29867 /* We use char because int might match the return type of a gcc2
29868 builtin and then its argument prototype would still apply. */
29870 /* The GNU C library defines this for functions which it implements
29871 to always fail with ENOSYS. Some functions are actually named
29872 something starting with __ and the normal name is an alias. */
29873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29876 char (*f) () = $ac_func;
29885 return f != $ac_func;
29890 rm -f conftest.
$ac_objext conftest
$ac_exeext
29891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29892 (eval $ac_link) 2>conftest.er1
29894 grep -v '^ *+' conftest.er1
>conftest.err
29896 cat conftest.err
>&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); } &&
29899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901 (eval $ac_try) 2>&5
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); }; } &&
29905 { ac_try
='test -s conftest$ac_exeext'
29906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29907 (eval $ac_try) 2>&5
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); }; }; then
29911 eval "$as_ac_var=yes"
29913 echo "$as_me: failed program was:" >&5
29914 sed 's/^/| /' conftest.
$ac_ext >&5
29916 eval "$as_ac_var=no"
29918 rm -f conftest.err conftest.
$ac_objext \
29919 conftest
$ac_exeext conftest.
$ac_ext
29921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29923 if test `eval echo '${'$as_ac_var'}'` = yes; then
29924 cat >>confdefs.h
<<_ACEOF
29925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29932 if test "$ac_cv_func_sigaction" = "no"; then
29933 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29934 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29935 wxUSE_ON_FATAL_EXCEPTION
=no
29938 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29942 ac_cpp
='$CXXCPP $CPPFLAGS'
29943 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29944 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29945 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29948 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29949 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29950 if test "${wx_cv_type_sa_handler+set}" = set; then
29951 echo $ECHO_N "(cached) $ECHO_C" >&6
29954 cat >conftest.
$ac_ext <<_ACEOF
29957 cat confdefs.h
>>conftest.
$ac_ext
29958 cat >>conftest.
$ac_ext <<_ACEOF
29959 /* end confdefs.h. */
29960 #include <signal.h>
29965 extern void testSigHandler(int);
29967 struct sigaction sa;
29968 sa.sa_handler = testSigHandler;
29974 rm -f conftest.
$ac_objext
29975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29976 (eval $ac_compile) 2>conftest.er1
29978 grep -v '^ *+' conftest.er1
>conftest.err
29980 cat conftest.err
>&5
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); } &&
29983 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29985 (eval $ac_try) 2>&5
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); }; } &&
29989 { ac_try
='test -s conftest.$ac_objext'
29990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29991 (eval $ac_try) 2>&5
29993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29994 (exit $ac_status); }; }; then
29996 wx_cv_type_sa_handler
=int
29999 echo "$as_me: failed program was:" >&5
30000 sed 's/^/| /' conftest.
$ac_ext >&5
30003 wx_cv_type_sa_handler
=void
30006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30009 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30010 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30013 ac_cpp
='$CPP $CPPFLAGS'
30014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30019 cat >>confdefs.h
<<_ACEOF
30020 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30028 for ac_func
in mkstemp mktemp
30030 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30031 echo "$as_me:$LINENO: checking for $ac_func" >&5
30032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30033 if eval "test \"\${$as_ac_var+set}\" = set"; then
30034 echo $ECHO_N "(cached) $ECHO_C" >&6
30036 cat >conftest.
$ac_ext <<_ACEOF
30039 cat confdefs.h
>>conftest.
$ac_ext
30040 cat >>conftest.
$ac_ext <<_ACEOF
30041 /* end confdefs.h. */
30042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30044 #define $ac_func innocuous_$ac_func
30046 /* System header to define __stub macros and hopefully few prototypes,
30047 which can conflict with char $ac_func (); below.
30048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30049 <limits.h> exists even on freestanding compilers. */
30052 # include <limits.h>
30054 # include <assert.h>
30059 /* Override any gcc2 internal prototype to avoid an error. */
30064 /* We use char because int might match the return type of a gcc2
30065 builtin and then its argument prototype would still apply. */
30067 /* The GNU C library defines this for functions which it implements
30068 to always fail with ENOSYS. Some functions are actually named
30069 something starting with __ and the normal name is an alias. */
30070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30073 char (*f) () = $ac_func;
30082 return f != $ac_func;
30087 rm -f conftest.
$ac_objext conftest
$ac_exeext
30088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30089 (eval $ac_link) 2>conftest.er1
30091 grep -v '^ *+' conftest.er1
>conftest.err
30093 cat conftest.err
>&5
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); } &&
30096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30098 (eval $ac_try) 2>&5
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); }; } &&
30102 { ac_try
='test -s conftest$ac_exeext'
30103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30104 (eval $ac_try) 2>&5
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); }; }; then
30108 eval "$as_ac_var=yes"
30110 echo "$as_me: failed program was:" >&5
30111 sed 's/^/| /' conftest.
$ac_ext >&5
30113 eval "$as_ac_var=no"
30115 rm -f conftest.err conftest.
$ac_objext \
30116 conftest
$ac_exeext conftest.
$ac_ext
30118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30120 if test `eval echo '${'$as_ac_var'}'` = yes; then
30121 cat >>confdefs.h
<<_ACEOF
30122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30129 echo "$as_me:$LINENO: checking for statfs" >&5
30130 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30131 if test "${wx_cv_func_statfs+set}" = set; then
30132 echo $ECHO_N "(cached) $ECHO_C" >&6
30134 cat >conftest.
$ac_ext <<_ACEOF
30137 cat confdefs.h
>>conftest.
$ac_ext
30138 cat >>conftest.
$ac_ext <<_ACEOF
30139 /* end confdefs.h. */
30141 #if defined(__BSD__)
30142 #include <sys/param.h>
30143 #include <sys/mount.h>
30145 #include <sys/vfs.h>
30163 rm -f conftest.
$ac_objext
30164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30165 (eval $ac_compile) 2>conftest.er1
30167 grep -v '^ *+' conftest.er1
>conftest.err
30169 cat conftest.err
>&5
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); } &&
30172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30174 (eval $ac_try) 2>&5
30176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177 (exit $ac_status); }; } &&
30178 { ac_try
='test -s conftest.$ac_objext'
30179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30180 (eval $ac_try) 2>&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); }; }; then
30185 wx_cv_func_statfs
=yes
30188 echo "$as_me: failed program was:" >&5
30189 sed 's/^/| /' conftest.
$ac_ext >&5
30192 wx_cv_func_statfs
=no
30196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30199 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30200 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30202 if test "$wx_cv_func_statfs" = "yes"; then
30203 wx_cv_type_statvfs_t
="struct statfs"
30204 cat >>confdefs.h
<<\_ACEOF
30205 #define HAVE_STATFS 1
30209 echo "$as_me:$LINENO: checking for statvfs" >&5
30210 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30211 if test "${wx_cv_func_statvfs+set}" = set; then
30212 echo $ECHO_N "(cached) $ECHO_C" >&6
30214 cat >conftest.
$ac_ext <<_ACEOF
30217 cat confdefs.h
>>conftest.
$ac_ext
30218 cat >>conftest.
$ac_ext <<_ACEOF
30219 /* end confdefs.h. */
30221 #include <stddef.h>
30222 #include <sys/statvfs.h>
30228 statvfs("/", NULL);
30234 rm -f conftest.
$ac_objext
30235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30236 (eval $ac_compile) 2>conftest.er1
30238 grep -v '^ *+' conftest.er1
>conftest.err
30240 cat conftest.err
>&5
30241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30242 (exit $ac_status); } &&
30243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30245 (eval $ac_try) 2>&5
30247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30248 (exit $ac_status); }; } &&
30249 { ac_try
='test -s conftest.$ac_objext'
30250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30251 (eval $ac_try) 2>&5
30253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254 (exit $ac_status); }; }; then
30255 wx_cv_func_statvfs
=yes
30257 echo "$as_me: failed program was:" >&5
30258 sed 's/^/| /' conftest.
$ac_ext >&5
30260 wx_cv_func_statvfs
=no
30263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30266 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30267 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30269 if test "$wx_cv_func_statvfs" = "yes"; then
30273 ac_cpp
='$CXXCPP $CPPFLAGS'
30274 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30275 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30276 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30279 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30280 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30281 if test "${wx_cv_type_statvfs_t+set}" = set; then
30282 echo $ECHO_N "(cached) $ECHO_C" >&6
30284 cat >conftest.
$ac_ext <<_ACEOF
30287 cat confdefs.h
>>conftest.
$ac_ext
30288 cat >>conftest.
$ac_ext <<_ACEOF
30289 /* end confdefs.h. */
30291 #include <sys/statvfs.h>
30308 rm -f conftest.
$ac_objext
30309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30310 (eval $ac_compile) 2>conftest.er1
30312 grep -v '^ *+' conftest.er1
>conftest.err
30314 cat conftest.err
>&5
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); } &&
30317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30319 (eval $ac_try) 2>&5
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); }; } &&
30323 { ac_try
='test -s conftest.$ac_objext'
30324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30325 (eval $ac_try) 2>&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); }; }; then
30329 wx_cv_type_statvfs_t
=statvfs_t
30331 echo "$as_me: failed program was:" >&5
30332 sed 's/^/| /' conftest.
$ac_ext >&5
30335 cat >conftest.
$ac_ext <<_ACEOF
30338 cat confdefs.h
>>conftest.
$ac_ext
30339 cat >>conftest.
$ac_ext <<_ACEOF
30340 /* end confdefs.h. */
30342 #include <sys/statvfs.h>
30359 rm -f conftest.
$ac_objext
30360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30361 (eval $ac_compile) 2>conftest.er1
30363 grep -v '^ *+' conftest.er1
>conftest.err
30365 cat conftest.err
>&5
30366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30367 (exit $ac_status); } &&
30368 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30370 (eval $ac_try) 2>&5
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); }; } &&
30374 { ac_try
='test -s conftest.$ac_objext'
30375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30376 (eval $ac_try) 2>&5
30378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379 (exit $ac_status); }; }; then
30380 wx_cv_type_statvfs_t
="struct statvfs"
30382 echo "$as_me: failed program was:" >&5
30383 sed 's/^/| /' conftest.
$ac_ext >&5
30385 wx_cv_type_statvfs_t
="unknown"
30388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30395 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30396 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30399 ac_cpp
='$CPP $CPPFLAGS'
30400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30405 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30406 cat >>confdefs.h
<<\_ACEOF
30407 #define HAVE_STATVFS 1
30412 wx_cv_type_statvfs_t
="unknown"
30416 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30417 cat >>confdefs.h
<<_ACEOF
30418 #define WX_STATFS_T $wx_cv_type_statvfs_t
30422 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30423 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30426 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30429 for ac_func
in fcntl flock
30431 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30432 echo "$as_me:$LINENO: checking for $ac_func" >&5
30433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30434 if eval "test \"\${$as_ac_var+set}\" = set"; then
30435 echo $ECHO_N "(cached) $ECHO_C" >&6
30437 cat >conftest.
$ac_ext <<_ACEOF
30440 cat confdefs.h
>>conftest.
$ac_ext
30441 cat >>conftest.
$ac_ext <<_ACEOF
30442 /* end confdefs.h. */
30443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30445 #define $ac_func innocuous_$ac_func
30447 /* System header to define __stub macros and hopefully few prototypes,
30448 which can conflict with char $ac_func (); below.
30449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30450 <limits.h> exists even on freestanding compilers. */
30453 # include <limits.h>
30455 # include <assert.h>
30460 /* Override any gcc2 internal prototype to avoid an error. */
30465 /* We use char because int might match the return type of a gcc2
30466 builtin and then its argument prototype would still apply. */
30468 /* The GNU C library defines this for functions which it implements
30469 to always fail with ENOSYS. Some functions are actually named
30470 something starting with __ and the normal name is an alias. */
30471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30474 char (*f) () = $ac_func;
30483 return f != $ac_func;
30488 rm -f conftest.
$ac_objext conftest
$ac_exeext
30489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30490 (eval $ac_link) 2>conftest.er1
30492 grep -v '^ *+' conftest.er1
>conftest.err
30494 cat conftest.err
>&5
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); } &&
30497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30499 (eval $ac_try) 2>&5
30501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30502 (exit $ac_status); }; } &&
30503 { ac_try
='test -s conftest$ac_exeext'
30504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30505 (eval $ac_try) 2>&5
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); }; }; then
30509 eval "$as_ac_var=yes"
30511 echo "$as_me: failed program was:" >&5
30512 sed 's/^/| /' conftest.
$ac_ext >&5
30514 eval "$as_ac_var=no"
30516 rm -f conftest.err conftest.
$ac_objext \
30517 conftest
$ac_exeext conftest.
$ac_ext
30519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30521 if test `eval echo '${'$as_ac_var'}'` = yes; then
30522 cat >>confdefs.h
<<_ACEOF
30523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30530 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30531 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30532 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30533 wxUSE_SNGLINST_CHECKER
=no
30538 for ac_func
in timegm
30540 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30541 echo "$as_me:$LINENO: checking for $ac_func" >&5
30542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30543 if eval "test \"\${$as_ac_var+set}\" = set"; then
30544 echo $ECHO_N "(cached) $ECHO_C" >&6
30546 cat >conftest.
$ac_ext <<_ACEOF
30549 cat confdefs.h
>>conftest.
$ac_ext
30550 cat >>conftest.
$ac_ext <<_ACEOF
30551 /* end confdefs.h. */
30552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30554 #define $ac_func innocuous_$ac_func
30556 /* System header to define __stub macros and hopefully few prototypes,
30557 which can conflict with char $ac_func (); below.
30558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30559 <limits.h> exists even on freestanding compilers. */
30562 # include <limits.h>
30564 # include <assert.h>
30569 /* Override any gcc2 internal prototype to avoid an error. */
30574 /* We use char because int might match the return type of a gcc2
30575 builtin and then its argument prototype would still apply. */
30577 /* The GNU C library defines this for functions which it implements
30578 to always fail with ENOSYS. Some functions are actually named
30579 something starting with __ and the normal name is an alias. */
30580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30583 char (*f) () = $ac_func;
30592 return f != $ac_func;
30597 rm -f conftest.
$ac_objext conftest
$ac_exeext
30598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30599 (eval $ac_link) 2>conftest.er1
30601 grep -v '^ *+' conftest.er1
>conftest.err
30603 cat conftest.err
>&5
30604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30605 (exit $ac_status); } &&
30606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30608 (eval $ac_try) 2>&5
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); }; } &&
30612 { ac_try
='test -s conftest$ac_exeext'
30613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30614 (eval $ac_try) 2>&5
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); }; }; then
30618 eval "$as_ac_var=yes"
30620 echo "$as_me: failed program was:" >&5
30621 sed 's/^/| /' conftest.
$ac_ext >&5
30623 eval "$as_ac_var=no"
30625 rm -f conftest.err conftest.
$ac_objext \
30626 conftest
$ac_exeext conftest.
$ac_ext
30628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30630 if test `eval echo '${'$as_ac_var'}'` = yes; then
30631 cat >>confdefs.h
<<_ACEOF
30632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30641 for ac_func
in putenv setenv
30643 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30644 echo "$as_me:$LINENO: checking for $ac_func" >&5
30645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30646 if eval "test \"\${$as_ac_var+set}\" = set"; then
30647 echo $ECHO_N "(cached) $ECHO_C" >&6
30649 cat >conftest.
$ac_ext <<_ACEOF
30652 cat confdefs.h
>>conftest.
$ac_ext
30653 cat >>conftest.
$ac_ext <<_ACEOF
30654 /* end confdefs.h. */
30655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30657 #define $ac_func innocuous_$ac_func
30659 /* System header to define __stub macros and hopefully few prototypes,
30660 which can conflict with char $ac_func (); below.
30661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30662 <limits.h> exists even on freestanding compilers. */
30665 # include <limits.h>
30667 # include <assert.h>
30672 /* Override any gcc2 internal prototype to avoid an error. */
30677 /* We use char because int might match the return type of a gcc2
30678 builtin and then its argument prototype would still apply. */
30680 /* The GNU C library defines this for functions which it implements
30681 to always fail with ENOSYS. Some functions are actually named
30682 something starting with __ and the normal name is an alias. */
30683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30686 char (*f) () = $ac_func;
30695 return f != $ac_func;
30700 rm -f conftest.
$ac_objext conftest
$ac_exeext
30701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30702 (eval $ac_link) 2>conftest.er1
30704 grep -v '^ *+' conftest.er1
>conftest.err
30706 cat conftest.err
>&5
30707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30708 (exit $ac_status); } &&
30709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30711 (eval $ac_try) 2>&5
30713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714 (exit $ac_status); }; } &&
30715 { ac_try
='test -s conftest$ac_exeext'
30716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30717 (eval $ac_try) 2>&5
30719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720 (exit $ac_status); }; }; then
30721 eval "$as_ac_var=yes"
30723 echo "$as_me: failed program was:" >&5
30724 sed 's/^/| /' conftest.
$ac_ext >&5
30726 eval "$as_ac_var=no"
30728 rm -f conftest.err conftest.
$ac_objext \
30729 conftest
$ac_exeext conftest.
$ac_ext
30731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30733 if test `eval echo '${'$as_ac_var'}'` = yes; then
30734 cat >>confdefs.h
<<_ACEOF
30735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30742 HAVE_SOME_SLEEP_FUNC
=0
30743 if test "$USE_BEOS" = 1; then
30744 cat >>confdefs.h
<<\_ACEOF
30745 #define HAVE_SLEEP 1
30748 HAVE_SOME_SLEEP_FUNC
=1
30751 if test "$USE_DARWIN" = 1; then
30752 cat >>confdefs.h
<<\_ACEOF
30753 #define HAVE_USLEEP 1
30756 HAVE_SOME_SLEEP_FUNC
=1
30759 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30762 for ac_func
in nanosleep
30764 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30765 echo "$as_me:$LINENO: checking for $ac_func" >&5
30766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30767 if eval "test \"\${$as_ac_var+set}\" = set"; then
30768 echo $ECHO_N "(cached) $ECHO_C" >&6
30770 cat >conftest.
$ac_ext <<_ACEOF
30773 cat confdefs.h
>>conftest.
$ac_ext
30774 cat >>conftest.
$ac_ext <<_ACEOF
30775 /* end confdefs.h. */
30776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30778 #define $ac_func innocuous_$ac_func
30780 /* System header to define __stub macros and hopefully few prototypes,
30781 which can conflict with char $ac_func (); below.
30782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30783 <limits.h> exists even on freestanding compilers. */
30786 # include <limits.h>
30788 # include <assert.h>
30793 /* Override any gcc2 internal prototype to avoid an error. */
30798 /* We use char because int might match the return type of a gcc2
30799 builtin and then its argument prototype would still apply. */
30801 /* The GNU C library defines this for functions which it implements
30802 to always fail with ENOSYS. Some functions are actually named
30803 something starting with __ and the normal name is an alias. */
30804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30807 char (*f) () = $ac_func;
30816 return f != $ac_func;
30821 rm -f conftest.
$ac_objext conftest
$ac_exeext
30822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30823 (eval $ac_link) 2>conftest.er1
30825 grep -v '^ *+' conftest.er1
>conftest.err
30827 cat conftest.err
>&5
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); } &&
30830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30832 (eval $ac_try) 2>&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); }; } &&
30836 { ac_try
='test -s conftest$ac_exeext'
30837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30838 (eval $ac_try) 2>&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; }; then
30842 eval "$as_ac_var=yes"
30844 echo "$as_me: failed program was:" >&5
30845 sed 's/^/| /' conftest.
$ac_ext >&5
30847 eval "$as_ac_var=no"
30849 rm -f conftest.err conftest.
$ac_objext \
30850 conftest
$ac_exeext conftest.
$ac_ext
30852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30854 if test `eval echo '${'$as_ac_var'}'` = yes; then
30855 cat >>confdefs.h
<<_ACEOF
30856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30858 cat >>confdefs.h
<<\_ACEOF
30859 #define HAVE_NANOSLEEP 1
30864 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30865 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30866 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30867 echo $ECHO_N "(cached) $ECHO_C" >&6
30869 ac_check_lib_save_LIBS
=$LIBS
30870 LIBS
="-lposix4 $LIBS"
30871 cat >conftest.
$ac_ext <<_ACEOF
30874 cat confdefs.h
>>conftest.
$ac_ext
30875 cat >>conftest.
$ac_ext <<_ACEOF
30876 /* end confdefs.h. */
30878 /* Override any gcc2 internal prototype to avoid an error. */
30882 /* We use char because int might match the return type of a gcc2
30883 builtin and then its argument prototype would still apply. */
30893 rm -f conftest.
$ac_objext conftest
$ac_exeext
30894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30895 (eval $ac_link) 2>conftest.er1
30897 grep -v '^ *+' conftest.er1
>conftest.err
30899 cat conftest.err
>&5
30900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30901 (exit $ac_status); } &&
30902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30904 (eval $ac_try) 2>&5
30906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30907 (exit $ac_status); }; } &&
30908 { ac_try
='test -s conftest$ac_exeext'
30909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30910 (eval $ac_try) 2>&5
30912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30913 (exit $ac_status); }; }; then
30914 ac_cv_lib_posix4_nanosleep
=yes
30916 echo "$as_me: failed program was:" >&5
30917 sed 's/^/| /' conftest.
$ac_ext >&5
30919 ac_cv_lib_posix4_nanosleep
=no
30921 rm -f conftest.err conftest.
$ac_objext \
30922 conftest
$ac_exeext conftest.
$ac_ext
30923 LIBS
=$ac_check_lib_save_LIBS
30925 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30926 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30927 if test $ac_cv_lib_posix4_nanosleep = yes; then
30929 cat >>confdefs.h
<<\_ACEOF
30930 #define HAVE_NANOSLEEP 1
30933 POSIX4_LINK
=" -lposix4"
30938 for ac_func
in usleep
30940 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30941 echo "$as_me:$LINENO: checking for $ac_func" >&5
30942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30943 if eval "test \"\${$as_ac_var+set}\" = set"; then
30944 echo $ECHO_N "(cached) $ECHO_C" >&6
30946 cat >conftest.
$ac_ext <<_ACEOF
30949 cat confdefs.h
>>conftest.
$ac_ext
30950 cat >>conftest.
$ac_ext <<_ACEOF
30951 /* end confdefs.h. */
30952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30954 #define $ac_func innocuous_$ac_func
30956 /* System header to define __stub macros and hopefully few prototypes,
30957 which can conflict with char $ac_func (); below.
30958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30959 <limits.h> exists even on freestanding compilers. */
30962 # include <limits.h>
30964 # include <assert.h>
30969 /* Override any gcc2 internal prototype to avoid an error. */
30974 /* We use char because int might match the return type of a gcc2
30975 builtin and then its argument prototype would still apply. */
30977 /* The GNU C library defines this for functions which it implements
30978 to always fail with ENOSYS. Some functions are actually named
30979 something starting with __ and the normal name is an alias. */
30980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30983 char (*f) () = $ac_func;
30992 return f != $ac_func;
30997 rm -f conftest.
$ac_objext conftest
$ac_exeext
30998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30999 (eval $ac_link) 2>conftest.er1
31001 grep -v '^ *+' conftest.er1
>conftest.err
31003 cat conftest.err
>&5
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); } &&
31006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31008 (eval $ac_try) 2>&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); }; } &&
31012 { ac_try
='test -s conftest$ac_exeext'
31013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31014 (eval $ac_try) 2>&5
31016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017 (exit $ac_status); }; }; then
31018 eval "$as_ac_var=yes"
31020 echo "$as_me: failed program was:" >&5
31021 sed 's/^/| /' conftest.
$ac_ext >&5
31023 eval "$as_ac_var=no"
31025 rm -f conftest.err conftest.
$ac_objext \
31026 conftest
$ac_exeext conftest.
$ac_ext
31028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31030 if test `eval echo '${'$as_ac_var'}'` = yes; then
31031 cat >>confdefs.h
<<_ACEOF
31032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31034 cat >>confdefs.h
<<\_ACEOF
31035 #define HAVE_USLEEP 1
31039 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31040 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31058 for ac_func
in uname gethostname
31060 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31061 echo "$as_me:$LINENO: checking for $ac_func" >&5
31062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31063 if eval "test \"\${$as_ac_var+set}\" = set"; then
31064 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 cat >conftest.
$ac_ext <<_ACEOF
31069 cat confdefs.h
>>conftest.
$ac_ext
31070 cat >>conftest.
$ac_ext <<_ACEOF
31071 /* end confdefs.h. */
31072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31074 #define $ac_func innocuous_$ac_func
31076 /* System header to define __stub macros and hopefully few prototypes,
31077 which can conflict with char $ac_func (); below.
31078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31079 <limits.h> exists even on freestanding compilers. */
31082 # include <limits.h>
31084 # include <assert.h>
31089 /* Override any gcc2 internal prototype to avoid an error. */
31094 /* We use char because int might match the return type of a gcc2
31095 builtin and then its argument prototype would still apply. */
31097 /* The GNU C library defines this for functions which it implements
31098 to always fail with ENOSYS. Some functions are actually named
31099 something starting with __ and the normal name is an alias. */
31100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31103 char (*f) () = $ac_func;
31112 return f != $ac_func;
31117 rm -f conftest.
$ac_objext conftest
$ac_exeext
31118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31119 (eval $ac_link) 2>conftest.er1
31121 grep -v '^ *+' conftest.er1
>conftest.err
31123 cat conftest.err
>&5
31124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31125 (exit $ac_status); } &&
31126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31128 (eval $ac_try) 2>&5
31130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31131 (exit $ac_status); }; } &&
31132 { ac_try
='test -s conftest$ac_exeext'
31133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31134 (eval $ac_try) 2>&5
31136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31137 (exit $ac_status); }; }; then
31138 eval "$as_ac_var=yes"
31140 echo "$as_me: failed program was:" >&5
31141 sed 's/^/| /' conftest.
$ac_ext >&5
31143 eval "$as_ac_var=no"
31145 rm -f conftest.err conftest.
$ac_objext \
31146 conftest
$ac_exeext conftest.
$ac_ext
31148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31150 if test `eval echo '${'$as_ac_var'}'` = yes; then
31151 cat >>confdefs.h
<<_ACEOF
31152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31162 ac_cpp
='$CXXCPP $CPPFLAGS'
31163 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31164 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31165 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31169 for ac_func
in strtok_r
31171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31172 echo "$as_me:$LINENO: checking for $ac_func" >&5
31173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31174 if eval "test \"\${$as_ac_var+set}\" = set"; then
31175 echo $ECHO_N "(cached) $ECHO_C" >&6
31177 cat >conftest.
$ac_ext <<_ACEOF
31180 cat confdefs.h
>>conftest.
$ac_ext
31181 cat >>conftest.
$ac_ext <<_ACEOF
31182 /* end confdefs.h. */
31183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31185 #define $ac_func innocuous_$ac_func
31187 /* System header to define __stub macros and hopefully few prototypes,
31188 which can conflict with char $ac_func (); below.
31189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31190 <limits.h> exists even on freestanding compilers. */
31193 # include <limits.h>
31195 # include <assert.h>
31200 /* Override any gcc2 internal prototype to avoid an error. */
31205 /* We use char because int might match the return type of a gcc2
31206 builtin and then its argument prototype would still apply. */
31208 /* The GNU C library defines this for functions which it implements
31209 to always fail with ENOSYS. Some functions are actually named
31210 something starting with __ and the normal name is an alias. */
31211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31214 char (*f) () = $ac_func;
31223 return f != $ac_func;
31228 rm -f conftest.
$ac_objext conftest
$ac_exeext
31229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31230 (eval $ac_link) 2>conftest.er1
31232 grep -v '^ *+' conftest.er1
>conftest.err
31234 cat conftest.err
>&5
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); } &&
31237 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31239 (eval $ac_try) 2>&5
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); }; } &&
31243 { ac_try
='test -s conftest$ac_exeext'
31244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31245 (eval $ac_try) 2>&5
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); }; }; then
31249 eval "$as_ac_var=yes"
31251 echo "$as_me: failed program was:" >&5
31252 sed 's/^/| /' conftest.
$ac_ext >&5
31254 eval "$as_ac_var=no"
31256 rm -f conftest.err conftest.
$ac_objext \
31257 conftest
$ac_exeext conftest.
$ac_ext
31259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31261 if test `eval echo '${'$as_ac_var'}'` = yes; then
31262 cat >>confdefs.h
<<_ACEOF
31263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31271 ac_cpp
='$CPP $CPPFLAGS'
31272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31279 for ac_func
in inet_addr
31281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31282 echo "$as_me:$LINENO: checking for $ac_func" >&5
31283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31284 if eval "test \"\${$as_ac_var+set}\" = set"; then
31285 echo $ECHO_N "(cached) $ECHO_C" >&6
31287 cat >conftest.
$ac_ext <<_ACEOF
31290 cat confdefs.h
>>conftest.
$ac_ext
31291 cat >>conftest.
$ac_ext <<_ACEOF
31292 /* end confdefs.h. */
31293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31295 #define $ac_func innocuous_$ac_func
31297 /* System header to define __stub macros and hopefully few prototypes,
31298 which can conflict with char $ac_func (); below.
31299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31300 <limits.h> exists even on freestanding compilers. */
31303 # include <limits.h>
31305 # include <assert.h>
31310 /* Override any gcc2 internal prototype to avoid an error. */
31315 /* We use char because int might match the return type of a gcc2
31316 builtin and then its argument prototype would still apply. */
31318 /* The GNU C library defines this for functions which it implements
31319 to always fail with ENOSYS. Some functions are actually named
31320 something starting with __ and the normal name is an alias. */
31321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31324 char (*f) () = $ac_func;
31333 return f != $ac_func;
31338 rm -f conftest.
$ac_objext conftest
$ac_exeext
31339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31340 (eval $ac_link) 2>conftest.er1
31342 grep -v '^ *+' conftest.er1
>conftest.err
31344 cat conftest.err
>&5
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); } &&
31347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31349 (eval $ac_try) 2>&5
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); }; } &&
31353 { ac_try
='test -s conftest$ac_exeext'
31354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31355 (eval $ac_try) 2>&5
31357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31358 (exit $ac_status); }; }; then
31359 eval "$as_ac_var=yes"
31361 echo "$as_me: failed program was:" >&5
31362 sed 's/^/| /' conftest.
$ac_ext >&5
31364 eval "$as_ac_var=no"
31366 rm -f conftest.err conftest.
$ac_objext \
31367 conftest
$ac_exeext conftest.
$ac_ext
31369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31371 if test `eval echo '${'$as_ac_var'}'` = yes; then
31372 cat >>confdefs.h
<<_ACEOF
31373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31375 cat >>confdefs.h
<<\_ACEOF
31376 #define HAVE_INET_ADDR 1
31381 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31382 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31383 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31384 echo $ECHO_N "(cached) $ECHO_C" >&6
31386 ac_check_lib_save_LIBS
=$LIBS
31388 cat >conftest.
$ac_ext <<_ACEOF
31391 cat confdefs.h
>>conftest.
$ac_ext
31392 cat >>conftest.
$ac_ext <<_ACEOF
31393 /* end confdefs.h. */
31395 /* Override any gcc2 internal prototype to avoid an error. */
31399 /* We use char because int might match the return type of a gcc2
31400 builtin and then its argument prototype would still apply. */
31410 rm -f conftest.
$ac_objext conftest
$ac_exeext
31411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31412 (eval $ac_link) 2>conftest.er1
31414 grep -v '^ *+' conftest.er1
>conftest.err
31416 cat conftest.err
>&5
31417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418 (exit $ac_status); } &&
31419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31421 (eval $ac_try) 2>&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); }; } &&
31425 { ac_try
='test -s conftest$ac_exeext'
31426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31427 (eval $ac_try) 2>&5
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); }; }; then
31431 ac_cv_lib_nsl_inet_addr
=yes
31433 echo "$as_me: failed program was:" >&5
31434 sed 's/^/| /' conftest.
$ac_ext >&5
31436 ac_cv_lib_nsl_inet_addr
=no
31438 rm -f conftest.err conftest.
$ac_objext \
31439 conftest
$ac_exeext conftest.
$ac_ext
31440 LIBS
=$ac_check_lib_save_LIBS
31442 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31443 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31444 if test $ac_cv_lib_nsl_inet_addr = yes; then
31448 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31449 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31450 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31451 echo $ECHO_N "(cached) $ECHO_C" >&6
31453 ac_check_lib_save_LIBS
=$LIBS
31454 LIBS
="-lresolv $LIBS"
31455 cat >conftest.
$ac_ext <<_ACEOF
31458 cat confdefs.h
>>conftest.
$ac_ext
31459 cat >>conftest.
$ac_ext <<_ACEOF
31460 /* end confdefs.h. */
31462 /* Override any gcc2 internal prototype to avoid an error. */
31466 /* We use char because int might match the return type of a gcc2
31467 builtin and then its argument prototype would still apply. */
31477 rm -f conftest.
$ac_objext conftest
$ac_exeext
31478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31479 (eval $ac_link) 2>conftest.er1
31481 grep -v '^ *+' conftest.er1
>conftest.err
31483 cat conftest.err
>&5
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); } &&
31486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31488 (eval $ac_try) 2>&5
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); }; } &&
31492 { ac_try
='test -s conftest$ac_exeext'
31493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31494 (eval $ac_try) 2>&5
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); }; }; then
31498 ac_cv_lib_resolv_inet_addr
=yes
31500 echo "$as_me: failed program was:" >&5
31501 sed 's/^/| /' conftest.
$ac_ext >&5
31503 ac_cv_lib_resolv_inet_addr
=no
31505 rm -f conftest.err conftest.
$ac_objext \
31506 conftest
$ac_exeext conftest.
$ac_ext
31507 LIBS
=$ac_check_lib_save_LIBS
31509 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31510 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31511 if test $ac_cv_lib_resolv_inet_addr = yes; then
31515 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31516 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31517 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31518 echo $ECHO_N "(cached) $ECHO_C" >&6
31520 ac_check_lib_save_LIBS
=$LIBS
31521 LIBS
="-lsocket $LIBS"
31522 cat >conftest.
$ac_ext <<_ACEOF
31525 cat confdefs.h
>>conftest.
$ac_ext
31526 cat >>conftest.
$ac_ext <<_ACEOF
31527 /* end confdefs.h. */
31529 /* Override any gcc2 internal prototype to avoid an error. */
31533 /* We use char because int might match the return type of a gcc2
31534 builtin and then its argument prototype would still apply. */
31544 rm -f conftest.
$ac_objext conftest
$ac_exeext
31545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31546 (eval $ac_link) 2>conftest.er1
31548 grep -v '^ *+' conftest.er1
>conftest.err
31550 cat conftest.err
>&5
31551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31552 (exit $ac_status); } &&
31553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31555 (eval $ac_try) 2>&5
31557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31558 (exit $ac_status); }; } &&
31559 { ac_try
='test -s conftest$ac_exeext'
31560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31561 (eval $ac_try) 2>&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); }; }; then
31565 ac_cv_lib_socket_inet_addr
=yes
31567 echo "$as_me: failed program was:" >&5
31568 sed 's/^/| /' conftest.
$ac_ext >&5
31570 ac_cv_lib_socket_inet_addr
=no
31572 rm -f conftest.err conftest.
$ac_objext \
31573 conftest
$ac_exeext conftest.
$ac_ext
31574 LIBS
=$ac_check_lib_save_LIBS
31576 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31577 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31578 if test $ac_cv_lib_socket_inet_addr = yes; then
31598 for ac_func
in inet_aton
31600 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31601 echo "$as_me:$LINENO: checking for $ac_func" >&5
31602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31603 if eval "test \"\${$as_ac_var+set}\" = set"; then
31604 echo $ECHO_N "(cached) $ECHO_C" >&6
31606 cat >conftest.
$ac_ext <<_ACEOF
31609 cat confdefs.h
>>conftest.
$ac_ext
31610 cat >>conftest.
$ac_ext <<_ACEOF
31611 /* end confdefs.h. */
31612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31614 #define $ac_func innocuous_$ac_func
31616 /* System header to define __stub macros and hopefully few prototypes,
31617 which can conflict with char $ac_func (); below.
31618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31619 <limits.h> exists even on freestanding compilers. */
31622 # include <limits.h>
31624 # include <assert.h>
31629 /* Override any gcc2 internal prototype to avoid an error. */
31634 /* We use char because int might match the return type of a gcc2
31635 builtin and then its argument prototype would still apply. */
31637 /* The GNU C library defines this for functions which it implements
31638 to always fail with ENOSYS. Some functions are actually named
31639 something starting with __ and the normal name is an alias. */
31640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31643 char (*f) () = $ac_func;
31652 return f != $ac_func;
31657 rm -f conftest.
$ac_objext conftest
$ac_exeext
31658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31659 (eval $ac_link) 2>conftest.er1
31661 grep -v '^ *+' conftest.er1
>conftest.err
31663 cat conftest.err
>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); } &&
31666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31668 (eval $ac_try) 2>&5
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); }; } &&
31672 { ac_try
='test -s conftest$ac_exeext'
31673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31674 (eval $ac_try) 2>&5
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); }; }; then
31678 eval "$as_ac_var=yes"
31680 echo "$as_me: failed program was:" >&5
31681 sed 's/^/| /' conftest.
$ac_ext >&5
31683 eval "$as_ac_var=no"
31685 rm -f conftest.err conftest.
$ac_objext \
31686 conftest
$ac_exeext conftest.
$ac_ext
31688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31690 if test `eval echo '${'$as_ac_var'}'` = yes; then
31691 cat >>confdefs.h
<<_ACEOF
31692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31694 cat >>confdefs.h
<<\_ACEOF
31695 #define HAVE_INET_ATON 1
31700 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31701 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31702 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31703 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31704 echo $ECHO_N "(cached) $ECHO_C" >&6
31706 ac_check_lib_save_LIBS
=$LIBS
31707 LIBS
="-l$INET_LINK $LIBS"
31708 cat >conftest.
$ac_ext <<_ACEOF
31711 cat confdefs.h
>>conftest.
$ac_ext
31712 cat >>conftest.
$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31715 /* Override any gcc2 internal prototype to avoid an error. */
31719 /* We use char because int might match the return type of a gcc2
31720 builtin and then its argument prototype would still apply. */
31730 rm -f conftest.
$ac_objext conftest
$ac_exeext
31731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31732 (eval $ac_link) 2>conftest.er1
31734 grep -v '^ *+' conftest.er1
>conftest.err
31736 cat conftest.err
>&5
31737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31738 (exit $ac_status); } &&
31739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31741 (eval $ac_try) 2>&5
31743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744 (exit $ac_status); }; } &&
31745 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
31751 eval "$as_ac_Lib=yes"
31753 echo "$as_me: failed program was:" >&5
31754 sed 's/^/| /' conftest.
$ac_ext >&5
31756 eval "$as_ac_Lib=no"
31758 rm -f conftest.err conftest.
$ac_objext \
31759 conftest
$ac_exeext conftest.
$ac_ext
31760 LIBS
=$ac_check_lib_save_LIBS
31762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31763 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31764 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31765 cat >>confdefs.h
<<\_ACEOF
31766 #define HAVE_INET_ATON 1
31776 if test "x$INET_LINK" != "x"; then
31777 cat >>confdefs.h
<<\_ACEOF
31778 #define HAVE_INET_ADDR 1
31781 INET_LINK
=" -l$INET_LINK"
31789 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31790 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31791 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31792 echo $ECHO_N "(cached) $ECHO_C" >&6
31794 ac_check_lib_save_LIBS
=$LIBS
31796 cat >conftest.
$ac_ext <<_ACEOF
31799 cat confdefs.h
>>conftest.
$ac_ext
31800 cat >>conftest.
$ac_ext <<_ACEOF
31801 /* end confdefs.h. */
31803 /* Override any gcc2 internal prototype to avoid an error. */
31807 /* We use char because int might match the return type of a gcc2
31808 builtin and then its argument prototype would still apply. */
31818 rm -f conftest.
$ac_objext conftest
$ac_exeext
31819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31820 (eval $ac_link) 2>conftest.er1
31822 grep -v '^ *+' conftest.er1
>conftest.err
31824 cat conftest.err
>&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } &&
31827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31829 (eval $ac_try) 2>&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); }; } &&
31833 { ac_try
='test -s conftest$ac_exeext'
31834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31835 (eval $ac_try) 2>&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; }; then
31839 ac_cv_lib_esd_esd_close
=yes
31841 echo "$as_me: failed program was:" >&5
31842 sed 's/^/| /' conftest.
$ac_ext >&5
31844 ac_cv_lib_esd_esd_close
=no
31846 rm -f conftest.err conftest.
$ac_objext \
31847 conftest
$ac_exeext conftest.
$ac_ext
31848 LIBS
=$ac_check_lib_save_LIBS
31850 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31851 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31852 if test $ac_cv_lib_esd_esd_close = yes; then
31855 for ac_header
in esd.h
31857 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31859 echo "$as_me:$LINENO: checking for $ac_header" >&5
31860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31862 echo $ECHO_N "(cached) $ECHO_C" >&6
31864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31867 # Is the header compilable?
31868 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31870 cat >conftest.
$ac_ext <<_ACEOF
31873 cat confdefs.h
>>conftest.
$ac_ext
31874 cat >>conftest.
$ac_ext <<_ACEOF
31875 /* end confdefs.h. */
31876 $ac_includes_default
31877 #include <$ac_header>
31879 rm -f conftest.
$ac_objext
31880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31881 (eval $ac_compile) 2>conftest.er1
31883 grep -v '^ *+' conftest.er1
>conftest.err
31885 cat conftest.err
>&5
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); } &&
31888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31890 (eval $ac_try) 2>&5
31892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31893 (exit $ac_status); }; } &&
31894 { ac_try
='test -s conftest.$ac_objext'
31895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31896 (eval $ac_try) 2>&5
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); }; }; then
31900 ac_header_compiler
=yes
31902 echo "$as_me: failed program was:" >&5
31903 sed 's/^/| /' conftest.
$ac_ext >&5
31905 ac_header_compiler
=no
31907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31909 echo "${ECHO_T}$ac_header_compiler" >&6
31911 # Is the header present?
31912 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31914 cat >conftest.
$ac_ext <<_ACEOF
31917 cat confdefs.h
>>conftest.
$ac_ext
31918 cat >>conftest.
$ac_ext <<_ACEOF
31919 /* end confdefs.h. */
31920 #include <$ac_header>
31922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31923 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31925 grep -v '^ *+' conftest.er1
>conftest.err
31927 cat conftest.err
>&5
31928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31929 (exit $ac_status); } >/dev
/null
; then
31930 if test -s conftest.err
; then
31931 ac_cpp_err
=$ac_c_preproc_warn_flag
31932 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31939 if test -z "$ac_cpp_err"; then
31940 ac_header_preproc
=yes
31942 echo "$as_me: failed program was:" >&5
31943 sed 's/^/| /' conftest.
$ac_ext >&5
31945 ac_header_preproc
=no
31947 rm -f conftest.err conftest.
$ac_ext
31948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31949 echo "${ECHO_T}$ac_header_preproc" >&6
31951 # So? What about this header?
31952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31955 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31957 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31958 ac_header_preproc
=yes
31961 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31962 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31963 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31964 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31965 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31966 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31967 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31968 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31971 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31972 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31975 ## ----------------------------------------- ##
31976 ## Report this to wx-dev@lists.wxwidgets.org ##
31977 ## ----------------------------------------- ##
31980 sed "s/^/$as_me: WARNING: /" >&2
31983 echo "$as_me:$LINENO: checking for $ac_header" >&5
31984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31986 echo $ECHO_N "(cached) $ECHO_C" >&6
31988 eval "$as_ac_Header=\$ac_header_preproc"
31990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31995 cat >>confdefs.h
<<_ACEOF
31996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31999 EXTRALIBS_ESD
="-lesd"
32010 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32011 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32012 cat >conftest.
$ac_ext <<_ACEOF
32015 cat confdefs.h
>>conftest.
$ac_ext
32016 cat >>conftest.
$ac_ext <<_ACEOF
32017 /* end confdefs.h. */
32019 #include <linux/cdrom.h>
32022 #include <sys/cdio.h>
32028 struct cdrom_tocentry entry, old_entry;
32033 rm -f conftest.
$ac_objext
32034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32035 (eval $ac_compile) 2>conftest.er1
32037 grep -v '^ *+' conftest.er1
>conftest.err
32039 cat conftest.err
>&5
32040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041 (exit $ac_status); } &&
32042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32044 (eval $ac_try) 2>&5
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); }; } &&
32048 { ac_try
='test -s conftest.$ac_objext'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; }; then
32054 echo "$as_me:$LINENO: result: yes" >&5
32055 echo "${ECHO_T}yes" >&6
32056 cat >>confdefs.h
<<\_ACEOF
32057 #define HAVE_KNOWN_CDROM_INTERFACE 1
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.
$ac_ext >&5
32064 echo "$as_me:$LINENO: result: no" >&5
32065 echo "${ECHO_T}no" >&6
32067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32070 cat >confcache
<<\_ACEOF
32071 # This file is a shell script that caches the results of configure
32072 # tests run on this system so they can be shared between configure
32073 # scripts and configure runs, see configure's option --config-cache.
32074 # It is not useful on other systems. If it contains results you don't
32075 # want to keep, you may remove or edit it.
32077 # config.status only pays attention to the cache file if you give it
32078 # the --recheck option to rerun configure.
32080 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32081 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32082 # following values.
32086 # The following way of writing the cache mishandles newlines in values,
32087 # but we know of no workaround that is simple, portable, and efficient.
32088 # So, don't put newlines in cache variables' values.
32089 # Ultrix sh set writes to stderr and can't be redirected directly,
32090 # and sets the high bit in the cache file unless we assign to the vars.
32093 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32095 # `set' does not quote correctly, so add quotes (double-quote
32096 # substitution turns \\\\ into \\, and sed turns \\ into \).
32099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32102 # `set' quotes correctly as required by POSIX, so do not add quotes.
32104 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32111 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32113 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32115 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32116 if test -w $cache_file; then
32117 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32118 cat confcache
>$cache_file
32120 echo "not updating unwritable cache $cache_file"
32127 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32133 if test "$wxUSE_THREADS" = "yes" ; then
32134 if test "$USE_BEOS" = 1; then
32135 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32136 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32141 if test "$wxUSE_THREADS" = "yes" ; then
32144 THREAD_OPTS
="-pthread"
32146 *-*-solaris2* | *-*-sunos4* )
32147 if test "x$GCC" = "xyes"; then
32148 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32150 THREAD_OPTS
="-mt $THREAD_OPTS"
32154 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32156 *-*-darwin* | *-*-cygwin* )
32160 THREAD_OPTS
="pthreads"
32163 if test "x$GCC" != "xyes"; then
32169 if test "x$GCC" = "xyes"; then
32175 if test "x$GCC" != "xyes"; then
32176 THREAD_OPTS
="-Ethread"
32181 THREAD_OPTS
="$THREAD_OPTS pthread none"
32184 for flag
in $THREAD_OPTS; do
32187 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32188 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32192 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32193 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32194 THREADS_CFLAGS
="$flag"
32198 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32199 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32200 THREADS_LINK
="-l$flag"
32205 save_CFLAGS
="$CFLAGS"
32206 LIBS
="$THREADS_LINK $LIBS"
32207 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32209 cat >conftest.
$ac_ext <<_ACEOF
32212 cat confdefs.h
>>conftest.
$ac_ext
32213 cat >>conftest.
$ac_ext <<_ACEOF
32214 /* end confdefs.h. */
32215 #include <pthread.h>
32219 pthread_create(0,0,0,0);
32224 rm -f conftest.
$ac_objext conftest
$ac_exeext
32225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32226 (eval $ac_link) 2>conftest.er1
32228 grep -v '^ *+' conftest.er1
>conftest.err
32230 cat conftest.err
>&5
32231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32232 (exit $ac_status); } &&
32233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32235 (eval $ac_try) 2>&5
32237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32238 (exit $ac_status); }; } &&
32239 { ac_try
='test -s conftest$ac_exeext'
32240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32241 (eval $ac_try) 2>&5
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); }; }; then
32247 echo "$as_me: failed program was:" >&5
32248 sed 's/^/| /' conftest.
$ac_ext >&5
32251 rm -f conftest.err conftest.
$ac_objext \
32252 conftest
$ac_exeext conftest.
$ac_ext
32255 CFLAGS
="$save_CFLAGS"
32257 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32258 echo "${ECHO_T}$THREADS_OK" >&6
32259 if test "x$THREADS_OK" = "xyes"; then
32267 if test "x$THREADS_OK" != "xyes"; then
32269 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32270 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32272 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32273 LIBS
="$THREADS_LINK $LIBS"
32275 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32276 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32280 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32281 flag
="-D_THREAD_SAFE"
32284 flag
="-D_THREAD_SAFE"
32287 flag
="-D_REENTRANT"
32288 if test "x$GCC" != "xyes"; then
32289 flag
="$flag -D_RWSTD_MULTI_THREAD"
32292 *solaris
* | alpha
*-osf*)
32293 flag
="-D_REENTRANT"
32296 echo "$as_me:$LINENO: result: ${flag}" >&5
32297 echo "${ECHO_T}${flag}" >&6
32298 if test "x$flag" != xno
; then
32299 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32302 if test "x$THREADS_CFLAGS" != "x"; then
32303 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32304 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32309 if test "$wxUSE_THREADS" = "yes" ; then
32311 for ac_func
in thr_setconcurrency
32313 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32314 echo "$as_me:$LINENO: checking for $ac_func" >&5
32315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32316 if eval "test \"\${$as_ac_var+set}\" = set"; then
32317 echo $ECHO_N "(cached) $ECHO_C" >&6
32319 cat >conftest.
$ac_ext <<_ACEOF
32322 cat confdefs.h
>>conftest.
$ac_ext
32323 cat >>conftest.
$ac_ext <<_ACEOF
32324 /* end confdefs.h. */
32325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32327 #define $ac_func innocuous_$ac_func
32329 /* System header to define __stub macros and hopefully few prototypes,
32330 which can conflict with char $ac_func (); below.
32331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32332 <limits.h> exists even on freestanding compilers. */
32335 # include <limits.h>
32337 # include <assert.h>
32342 /* Override any gcc2 internal prototype to avoid an error. */
32347 /* We use char because int might match the return type of a gcc2
32348 builtin and then its argument prototype would still apply. */
32350 /* The GNU C library defines this for functions which it implements
32351 to always fail with ENOSYS. Some functions are actually named
32352 something starting with __ and the normal name is an alias. */
32353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32356 char (*f) () = $ac_func;
32365 return f != $ac_func;
32370 rm -f conftest.
$ac_objext conftest
$ac_exeext
32371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32372 (eval $ac_link) 2>conftest.er1
32374 grep -v '^ *+' conftest.er1
>conftest.err
32376 cat conftest.err
>&5
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); } &&
32379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32381 (eval $ac_try) 2>&5
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); }; } &&
32385 { ac_try
='test -s conftest$ac_exeext'
32386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32387 (eval $ac_try) 2>&5
32389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32390 (exit $ac_status); }; }; then
32391 eval "$as_ac_var=yes"
32393 echo "$as_me: failed program was:" >&5
32394 sed 's/^/| /' conftest.
$ac_ext >&5
32396 eval "$as_ac_var=no"
32398 rm -f conftest.err conftest.
$ac_objext \
32399 conftest
$ac_exeext conftest.
$ac_ext
32401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32403 if test `eval echo '${'$as_ac_var'}'` = yes; then
32404 cat >>confdefs.h
<<_ACEOF
32405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32413 for ac_header
in sched.h
32415 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32417 echo "$as_me:$LINENO: checking for $ac_header" >&5
32418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32420 echo $ECHO_N "(cached) $ECHO_C" >&6
32422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32425 # Is the header compilable?
32426 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32427 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32428 cat >conftest.
$ac_ext <<_ACEOF
32431 cat confdefs.h
>>conftest.
$ac_ext
32432 cat >>conftest.
$ac_ext <<_ACEOF
32433 /* end confdefs.h. */
32434 $ac_includes_default
32435 #include <$ac_header>
32437 rm -f conftest.
$ac_objext
32438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32439 (eval $ac_compile) 2>conftest.er1
32441 grep -v '^ *+' conftest.er1
>conftest.err
32443 cat conftest.err
>&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); } &&
32446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32448 (eval $ac_try) 2>&5
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); }; } &&
32452 { ac_try
='test -s conftest.$ac_objext'
32453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32454 (eval $ac_try) 2>&5
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); }; }; then
32458 ac_header_compiler
=yes
32460 echo "$as_me: failed program was:" >&5
32461 sed 's/^/| /' conftest.
$ac_ext >&5
32463 ac_header_compiler
=no
32465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32467 echo "${ECHO_T}$ac_header_compiler" >&6
32469 # Is the header present?
32470 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32472 cat >conftest.
$ac_ext <<_ACEOF
32475 cat confdefs.h
>>conftest.
$ac_ext
32476 cat >>conftest.
$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32478 #include <$ac_header>
32480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32483 grep -v '^ *+' conftest.er1
>conftest.err
32485 cat conftest.err
>&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); } >/dev
/null
; then
32488 if test -s conftest.err
; then
32489 ac_cpp_err
=$ac_c_preproc_warn_flag
32490 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32497 if test -z "$ac_cpp_err"; then
32498 ac_header_preproc
=yes
32500 echo "$as_me: failed program was:" >&5
32501 sed 's/^/| /' conftest.
$ac_ext >&5
32503 ac_header_preproc
=no
32505 rm -f conftest.err conftest.
$ac_ext
32506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32507 echo "${ECHO_T}$ac_header_preproc" >&6
32509 # So? What about this header?
32510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32516 ac_header_preproc
=yes
32519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32533 ## ----------------------------------------- ##
32534 ## Report this to wx-dev@lists.wxwidgets.org ##
32535 ## ----------------------------------------- ##
32538 sed "s/^/$as_me: WARNING: /" >&2
32541 echo "$as_me:$LINENO: checking for $ac_header" >&5
32542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32544 echo $ECHO_N "(cached) $ECHO_C" >&6
32546 eval "$as_ac_Header=\$ac_header_preproc"
32548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32553 cat >>confdefs.h
<<_ACEOF
32554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32561 if test "$ac_cv_header_sched_h" = "yes"; then
32562 echo "$as_me:$LINENO: checking for sched_yield" >&5
32563 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32564 if test "${ac_cv_func_sched_yield+set}" = set; then
32565 echo $ECHO_N "(cached) $ECHO_C" >&6
32567 cat >conftest.
$ac_ext <<_ACEOF
32570 cat confdefs.h
>>conftest.
$ac_ext
32571 cat >>conftest.
$ac_ext <<_ACEOF
32572 /* end confdefs.h. */
32573 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32575 #define sched_yield innocuous_sched_yield
32577 /* System header to define __stub macros and hopefully few prototypes,
32578 which can conflict with char sched_yield (); below.
32579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32580 <limits.h> exists even on freestanding compilers. */
32583 # include <limits.h>
32585 # include <assert.h>
32590 /* Override any gcc2 internal prototype to avoid an error. */
32595 /* We use char because int might match the return type of a gcc2
32596 builtin and then its argument prototype would still apply. */
32597 char sched_yield ();
32598 /* The GNU C library defines this for functions which it implements
32599 to always fail with ENOSYS. Some functions are actually named
32600 something starting with __ and the normal name is an alias. */
32601 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32604 char (*f) () = sched_yield;
32613 return f != sched_yield;
32618 rm -f conftest.
$ac_objext conftest
$ac_exeext
32619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32620 (eval $ac_link) 2>conftest.er1
32622 grep -v '^ *+' conftest.er1
>conftest.err
32624 cat conftest.err
>&5
32625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32626 (exit $ac_status); } &&
32627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32629 (eval $ac_try) 2>&5
32631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632 (exit $ac_status); }; } &&
32633 { ac_try
='test -s conftest$ac_exeext'
32634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32635 (eval $ac_try) 2>&5
32637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32638 (exit $ac_status); }; }; then
32639 ac_cv_func_sched_yield
=yes
32641 echo "$as_me: failed program was:" >&5
32642 sed 's/^/| /' conftest.
$ac_ext >&5
32644 ac_cv_func_sched_yield
=no
32646 rm -f conftest.err conftest.
$ac_objext \
32647 conftest
$ac_exeext conftest.
$ac_ext
32649 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32650 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32651 if test $ac_cv_func_sched_yield = yes; then
32652 cat >>confdefs.h
<<\_ACEOF
32653 #define HAVE_SCHED_YIELD 1
32658 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32659 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32660 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32661 echo $ECHO_N "(cached) $ECHO_C" >&6
32663 ac_check_lib_save_LIBS
=$LIBS
32664 LIBS
="-lposix4 $LIBS"
32665 cat >conftest.
$ac_ext <<_ACEOF
32668 cat confdefs.h
>>conftest.
$ac_ext
32669 cat >>conftest.
$ac_ext <<_ACEOF
32670 /* end confdefs.h. */
32672 /* Override any gcc2 internal prototype to avoid an error. */
32676 /* We use char because int might match the return type of a gcc2
32677 builtin and then its argument prototype would still apply. */
32678 char sched_yield ();
32687 rm -f conftest.
$ac_objext conftest
$ac_exeext
32688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32689 (eval $ac_link) 2>conftest.er1
32691 grep -v '^ *+' conftest.er1
>conftest.err
32693 cat conftest.err
>&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); } &&
32696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32698 (eval $ac_try) 2>&5
32700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701 (exit $ac_status); }; } &&
32702 { ac_try
='test -s conftest$ac_exeext'
32703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32704 (eval $ac_try) 2>&5
32706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707 (exit $ac_status); }; }; then
32708 ac_cv_lib_posix4_sched_yield
=yes
32710 echo "$as_me: failed program was:" >&5
32711 sed 's/^/| /' conftest.
$ac_ext >&5
32713 ac_cv_lib_posix4_sched_yield
=no
32715 rm -f conftest.err conftest.
$ac_objext \
32716 conftest
$ac_exeext conftest.
$ac_ext
32717 LIBS
=$ac_check_lib_save_LIBS
32719 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32720 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32721 if test $ac_cv_lib_posix4_sched_yield = yes; then
32722 cat >>confdefs.h
<<\_ACEOF
32723 #define HAVE_SCHED_YIELD 1
32725 POSIX4_LINK
=" -lposix4"
32727 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32728 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32739 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32740 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32741 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32742 echo $ECHO_N "(cached) $ECHO_C" >&6
32744 cat >conftest.
$ac_ext <<_ACEOF
32747 cat confdefs.h
>>conftest.
$ac_ext
32748 cat >>conftest.
$ac_ext <<_ACEOF
32749 /* end confdefs.h. */
32750 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32752 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32754 /* System header to define __stub macros and hopefully few prototypes,
32755 which can conflict with char pthread_attr_getschedpolicy (); below.
32756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32757 <limits.h> exists even on freestanding compilers. */
32760 # include <limits.h>
32762 # include <assert.h>
32765 #undef pthread_attr_getschedpolicy
32767 /* Override any gcc2 internal prototype to avoid an error. */
32772 /* We use char because int might match the return type of a gcc2
32773 builtin and then its argument prototype would still apply. */
32774 char pthread_attr_getschedpolicy ();
32775 /* The GNU C library defines this for functions which it implements
32776 to always fail with ENOSYS. Some functions are actually named
32777 something starting with __ and the normal name is an alias. */
32778 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32781 char (*f) () = pthread_attr_getschedpolicy;
32790 return f != pthread_attr_getschedpolicy;
32795 rm -f conftest.
$ac_objext conftest
$ac_exeext
32796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32797 (eval $ac_link) 2>conftest.er1
32799 grep -v '^ *+' conftest.er1
>conftest.err
32801 cat conftest.err
>&5
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); } &&
32804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32806 (eval $ac_try) 2>&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); }; } &&
32810 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
32816 ac_cv_func_pthread_attr_getschedpolicy
=yes
32818 echo "$as_me: failed program was:" >&5
32819 sed 's/^/| /' conftest.
$ac_ext >&5
32821 ac_cv_func_pthread_attr_getschedpolicy
=no
32823 rm -f conftest.err conftest.
$ac_objext \
32824 conftest
$ac_exeext conftest.
$ac_ext
32826 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32827 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32828 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32829 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32830 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32831 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32832 echo $ECHO_N "(cached) $ECHO_C" >&6
32834 cat >conftest.
$ac_ext <<_ACEOF
32837 cat confdefs.h
>>conftest.
$ac_ext
32838 cat >>conftest.
$ac_ext <<_ACEOF
32839 /* end confdefs.h. */
32840 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32842 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32844 /* System header to define __stub macros and hopefully few prototypes,
32845 which can conflict with char pthread_attr_setschedparam (); below.
32846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32847 <limits.h> exists even on freestanding compilers. */
32850 # include <limits.h>
32852 # include <assert.h>
32855 #undef pthread_attr_setschedparam
32857 /* Override any gcc2 internal prototype to avoid an error. */
32862 /* We use char because int might match the return type of a gcc2
32863 builtin and then its argument prototype would still apply. */
32864 char pthread_attr_setschedparam ();
32865 /* The GNU C library defines this for functions which it implements
32866 to always fail with ENOSYS. Some functions are actually named
32867 something starting with __ and the normal name is an alias. */
32868 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32871 char (*f) () = pthread_attr_setschedparam;
32880 return f != pthread_attr_setschedparam;
32885 rm -f conftest.
$ac_objext conftest
$ac_exeext
32886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32887 (eval $ac_link) 2>conftest.er1
32889 grep -v '^ *+' conftest.er1
>conftest.err
32891 cat conftest.err
>&5
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); } &&
32894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32896 (eval $ac_try) 2>&5
32898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32899 (exit $ac_status); }; } &&
32900 { ac_try
='test -s conftest$ac_exeext'
32901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32902 (eval $ac_try) 2>&5
32904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32905 (exit $ac_status); }; }; then
32906 ac_cv_func_pthread_attr_setschedparam
=yes
32908 echo "$as_me: failed program was:" >&5
32909 sed 's/^/| /' conftest.
$ac_ext >&5
32911 ac_cv_func_pthread_attr_setschedparam
=no
32913 rm -f conftest.err conftest.
$ac_objext \
32914 conftest
$ac_exeext conftest.
$ac_ext
32916 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32917 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32918 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32919 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32920 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32921 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32922 echo $ECHO_N "(cached) $ECHO_C" >&6
32924 cat >conftest.
$ac_ext <<_ACEOF
32927 cat confdefs.h
>>conftest.
$ac_ext
32928 cat >>conftest.
$ac_ext <<_ACEOF
32929 /* end confdefs.h. */
32930 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32932 #define sched_get_priority_max innocuous_sched_get_priority_max
32934 /* System header to define __stub macros and hopefully few prototypes,
32935 which can conflict with char sched_get_priority_max (); below.
32936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32937 <limits.h> exists even on freestanding compilers. */
32940 # include <limits.h>
32942 # include <assert.h>
32945 #undef sched_get_priority_max
32947 /* Override any gcc2 internal prototype to avoid an error. */
32952 /* We use char because int might match the return type of a gcc2
32953 builtin and then its argument prototype would still apply. */
32954 char sched_get_priority_max ();
32955 /* The GNU C library defines this for functions which it implements
32956 to always fail with ENOSYS. Some functions are actually named
32957 something starting with __ and the normal name is an alias. */
32958 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32961 char (*f) () = sched_get_priority_max;
32970 return f != sched_get_priority_max;
32975 rm -f conftest.
$ac_objext conftest
$ac_exeext
32976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32977 (eval $ac_link) 2>conftest.er1
32979 grep -v '^ *+' conftest.er1
>conftest.err
32981 cat conftest.err
>&5
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); } &&
32984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32986 (eval $ac_try) 2>&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); }; } &&
32990 { ac_try
='test -s conftest$ac_exeext'
32991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32992 (eval $ac_try) 2>&5
32994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32995 (exit $ac_status); }; }; then
32996 ac_cv_func_sched_get_priority_max
=yes
32998 echo "$as_me: failed program was:" >&5
32999 sed 's/^/| /' conftest.
$ac_ext >&5
33001 ac_cv_func_sched_get_priority_max
=no
33003 rm -f conftest.err conftest.
$ac_objext \
33004 conftest
$ac_exeext conftest.
$ac_ext
33006 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33007 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33008 if test $ac_cv_func_sched_get_priority_max = yes; then
33011 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33012 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33013 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33014 echo $ECHO_N "(cached) $ECHO_C" >&6
33016 ac_check_lib_save_LIBS
=$LIBS
33017 LIBS
="-lposix4 $LIBS"
33018 cat >conftest.
$ac_ext <<_ACEOF
33021 cat confdefs.h
>>conftest.
$ac_ext
33022 cat >>conftest.
$ac_ext <<_ACEOF
33023 /* end confdefs.h. */
33025 /* Override any gcc2 internal prototype to avoid an error. */
33029 /* We use char because int might match the return type of a gcc2
33030 builtin and then its argument prototype would still apply. */
33031 char sched_get_priority_max ();
33035 sched_get_priority_max ();
33040 rm -f conftest.
$ac_objext conftest
$ac_exeext
33041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33042 (eval $ac_link) 2>conftest.er1
33044 grep -v '^ *+' conftest.er1
>conftest.err
33046 cat conftest.err
>&5
33047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33048 (exit $ac_status); } &&
33049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33051 (eval $ac_try) 2>&5
33053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33054 (exit $ac_status); }; } &&
33055 { ac_try
='test -s conftest$ac_exeext'
33056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33057 (eval $ac_try) 2>&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); }; }; then
33061 ac_cv_lib_posix4_sched_get_priority_max
=yes
33063 echo "$as_me: failed program was:" >&5
33064 sed 's/^/| /' conftest.
$ac_ext >&5
33066 ac_cv_lib_posix4_sched_get_priority_max
=no
33068 rm -f conftest.err conftest.
$ac_objext \
33069 conftest
$ac_exeext conftest.
$ac_ext
33070 LIBS
=$ac_check_lib_save_LIBS
33072 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33073 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33074 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33077 POSIX4_LINK
=" -lposix4"
33091 if test "$HAVE_PRIOR_FUNCS" = 1; then
33092 cat >>confdefs.h
<<\_ACEOF
33093 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33097 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33098 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33101 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33102 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33103 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33106 cat >conftest.
$ac_ext <<_ACEOF
33109 cat confdefs.h
>>conftest.
$ac_ext
33110 cat >>conftest.
$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33114 #define pthread_cancel innocuous_pthread_cancel
33116 /* System header to define __stub macros and hopefully few prototypes,
33117 which can conflict with char pthread_cancel (); below.
33118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33119 <limits.h> exists even on freestanding compilers. */
33122 # include <limits.h>
33124 # include <assert.h>
33127 #undef pthread_cancel
33129 /* Override any gcc2 internal prototype to avoid an error. */
33134 /* We use char because int might match the return type of a gcc2
33135 builtin and then its argument prototype would still apply. */
33136 char pthread_cancel ();
33137 /* The GNU C library defines this for functions which it implements
33138 to always fail with ENOSYS. Some functions are actually named
33139 something starting with __ and the normal name is an alias. */
33140 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33143 char (*f) () = pthread_cancel;
33152 return f != pthread_cancel;
33157 rm -f conftest.
$ac_objext conftest
$ac_exeext
33158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33159 (eval $ac_link) 2>conftest.er1
33161 grep -v '^ *+' conftest.er1
>conftest.err
33163 cat conftest.err
>&5
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); } &&
33166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; } &&
33172 { ac_try
='test -s conftest$ac_exeext'
33173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33174 (eval $ac_try) 2>&5
33176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177 (exit $ac_status); }; }; then
33178 ac_cv_func_pthread_cancel
=yes
33180 echo "$as_me: failed program was:" >&5
33181 sed 's/^/| /' conftest.
$ac_ext >&5
33183 ac_cv_func_pthread_cancel
=no
33185 rm -f conftest.err conftest.
$ac_objext \
33186 conftest
$ac_exeext conftest.
$ac_ext
33188 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33189 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33190 if test $ac_cv_func_pthread_cancel = yes; then
33191 cat >>confdefs.h
<<\_ACEOF
33192 #define HAVE_PTHREAD_CANCEL 1
33196 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33197 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33203 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33204 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33205 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33206 echo $ECHO_N "(cached) $ECHO_C" >&6
33209 cat >conftest.
$ac_ext <<_ACEOF
33212 cat confdefs.h
>>conftest.
$ac_ext
33213 cat >>conftest.
$ac_ext <<_ACEOF
33214 /* end confdefs.h. */
33215 #include <pthread.h>
33220 pthread_mutexattr_t attr;
33221 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33227 rm -f conftest.
$ac_objext
33228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33229 (eval $ac_compile) 2>conftest.er1
33231 grep -v '^ *+' conftest.er1
>conftest.err
33233 cat conftest.err
>&5
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); } &&
33236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33238 (eval $ac_try) 2>&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); }; } &&
33242 { ac_try
='test -s conftest.$ac_objext'
33243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33244 (eval $ac_try) 2>&5
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); }; }; then
33249 wx_cv_type_pthread_mutexattr_t
=yes
33252 echo "$as_me: failed program was:" >&5
33253 sed 's/^/| /' conftest.
$ac_ext >&5
33256 wx_cv_type_pthread_mutexattr_t
=no
33260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33263 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33264 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33266 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33267 cat >>confdefs.h
<<\_ACEOF
33268 #define HAVE_PTHREAD_MUTEXATTR_T 1
33272 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33273 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33274 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33275 echo $ECHO_N "(cached) $ECHO_C" >&6
33278 cat >conftest.
$ac_ext <<_ACEOF
33281 cat confdefs.h
>>conftest.
$ac_ext
33282 cat >>conftest.
$ac_ext <<_ACEOF
33283 /* end confdefs.h. */
33284 #include <pthread.h>
33289 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33295 rm -f conftest.
$ac_objext
33296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33297 (eval $ac_compile) 2>conftest.er1
33299 grep -v '^ *+' conftest.er1
>conftest.err
33301 cat conftest.err
>&5
33302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 (exit $ac_status); } &&
33304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33306 (eval $ac_try) 2>&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); }; } &&
33310 { ac_try
='test -s conftest.$ac_objext'
33311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33312 (eval $ac_try) 2>&5
33314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33315 (exit $ac_status); }; }; then
33317 wx_cv_type_pthread_rec_mutex_init
=yes
33320 echo "$as_me: failed program was:" >&5
33321 sed 's/^/| /' conftest.
$ac_ext >&5
33324 wx_cv_type_pthread_rec_mutex_init
=no
33328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33331 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33332 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33333 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33334 cat >>confdefs.h
<<\_ACEOF
33335 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33339 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33340 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33346 if test "$wxUSE_THREADS" = "yes" ; then
33349 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33350 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33351 if test "${wx_cv_cflags_mthread+set}" = set; then
33352 echo $ECHO_N "(cached) $ECHO_C" >&6
33355 CFLAGS_OLD
="$CFLAGS"
33356 CFLAGS
="$CFLAGS -mthreads"
33357 cat >conftest.
$ac_ext <<_ACEOF
33360 cat confdefs.h
>>conftest.
$ac_ext
33361 cat >>conftest.
$ac_ext <<_ACEOF
33362 /* end confdefs.h. */
33372 rm -f conftest.
$ac_objext
33373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33374 (eval $ac_compile) 2>conftest.er1
33376 grep -v '^ *+' conftest.er1
>conftest.err
33378 cat conftest.err
>&5
33379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33380 (exit $ac_status); } &&
33381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33383 (eval $ac_try) 2>&5
33385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33386 (exit $ac_status); }; } &&
33387 { ac_try
='test -s conftest.$ac_objext'
33388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33389 (eval $ac_try) 2>&5
33391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392 (exit $ac_status); }; }; then
33393 wx_cv_cflags_mthread
=yes
33395 echo "$as_me: failed program was:" >&5
33396 sed 's/^/| /' conftest.
$ac_ext >&5
33398 wx_cv_cflags_mthread
=no
33401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33405 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33406 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33408 if test "$wx_cv_cflags_mthread" = "yes"; then
33409 CXXFLAGS
="$CXXFLAGS -mthreads"
33410 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33411 LDFLAGS
="$LDFLAGS -mthreads"
33413 CFLAGS
="$CFLAGS_OLD"
33417 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33418 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33419 LDFLAGS
="$LDFLAGS -Zmt"
33425 if test "$wxUSE_THREADS" = "yes"; then
33426 cat >>confdefs.h
<<\_ACEOF
33427 #define wxUSE_THREADS 1
33431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33433 if test "$ac_cv_func_strtok_r" = "yes"; then
33434 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33435 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33436 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33437 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33438 echo "$as_me:$LINENO: result: yes" >&5
33439 echo "${ECHO_T}yes" >&6
33441 echo "$as_me:$LINENO: result: no" >&5
33442 echo "${ECHO_T}no" >&6
33447 if test "$WXGTK20" = 1 ; then
33448 cat >>confdefs.h
<<_ACEOF
33449 #define __WXGTK20__ $WXGTK20
33455 if test "$WXGTK12" = 1 ; then
33456 cat >>confdefs.h
<<_ACEOF
33457 #define __WXGTK12__ $WXGTK12
33462 if test "$WXGTK127" = 1 ; then
33463 cat >>confdefs.h
<<_ACEOF
33464 #define __WXGTK127__ $WXGTK127
33469 if test "$WXGPE" = 1 ; then
33470 cat >>confdefs.h
<<_ACEOF
33471 #define __WXGPE__ $WXGPE
33478 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33483 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33484 wxUSE_DEBUG_INFO
=yes
33488 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33489 cat >>confdefs.h
<<\_ACEOF
33493 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33495 if test "$wxUSE_GTK" = 1 ; then
33496 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33500 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33501 cat >>confdefs.h
<<\_ACEOF
33502 #define wxUSE_MEMORY_TRACING 1
33505 cat >>confdefs.h
<<\_ACEOF
33506 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33509 cat >>confdefs.h
<<\_ACEOF
33510 #define wxUSE_DEBUG_NEW_ALWAYS 1
33513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33516 if test "$wxUSE_DMALLOC" = "yes" ; then
33517 DMALLOC_LIBS
="-ldmalloc"
33521 if test "$wxUSE_PROFILE" = "yes" ; then
33526 CODE_GEN_FLAGS_CXX
=
33527 if test "$GCC" = "yes" ; then
33528 if test "$wxUSE_NO_RTTI" = "yes" ; then
33529 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33531 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33532 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33534 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33535 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33540 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33543 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33549 if test "$wxUSE_OPTIMISE" = "no" ; then
33550 if test "$GCC" = yes ; then
33554 if test "$GCC" = yes ; then
33558 i586
-*-*|i686
-*-* )
33559 OPTIMISE
="${OPTIMISE} "
33568 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33569 cat >>confdefs.h
<<\_ACEOF
33570 #define WXWIN_COMPATIBILITY_2_2 1
33574 WXWIN_COMPATIBILITY_2_4
="yes"
33577 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33578 cat >>confdefs.h
<<\_ACEOF
33579 #define WXWIN_COMPATIBILITY_2_4 1
33585 if test "$wxUSE_GUI" = "yes"; then
33586 cat >>confdefs.h
<<\_ACEOF
33587 #define wxUSE_GUI 1
33592 cat >>confdefs.h
<<\_ACEOF
33593 #define wxUSE_GUI 0
33599 if test "$wxUSE_UNIX" = "yes"; then
33600 cat >>confdefs.h
<<\_ACEOF
33601 #define wxUSE_UNIX 1
33607 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33611 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33612 if test "$USE_DARWIN" = 1; then
33616 for ac_func
in dlopen
33618 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33619 echo "$as_me:$LINENO: checking for $ac_func" >&5
33620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33621 if eval "test \"\${$as_ac_var+set}\" = set"; then
33622 echo $ECHO_N "(cached) $ECHO_C" >&6
33624 cat >conftest.
$ac_ext <<_ACEOF
33627 cat confdefs.h
>>conftest.
$ac_ext
33628 cat >>conftest.
$ac_ext <<_ACEOF
33629 /* end confdefs.h. */
33630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33632 #define $ac_func innocuous_$ac_func
33634 /* System header to define __stub macros and hopefully few prototypes,
33635 which can conflict with char $ac_func (); below.
33636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33637 <limits.h> exists even on freestanding compilers. */
33640 # include <limits.h>
33642 # include <assert.h>
33647 /* Override any gcc2 internal prototype to avoid an error. */
33652 /* We use char because int might match the return type of a gcc2
33653 builtin and then its argument prototype would still apply. */
33655 /* The GNU C library defines this for functions which it implements
33656 to always fail with ENOSYS. Some functions are actually named
33657 something starting with __ and the normal name is an alias. */
33658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33661 char (*f) () = $ac_func;
33670 return f != $ac_func;
33675 rm -f conftest.
$ac_objext conftest
$ac_exeext
33676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33677 (eval $ac_link) 2>conftest.er1
33679 grep -v '^ *+' conftest.er1
>conftest.err
33681 cat conftest.err
>&5
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); } &&
33684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33686 (eval $ac_try) 2>&5
33688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33689 (exit $ac_status); }; } &&
33690 { ac_try
='test -s conftest$ac_exeext'
33691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33692 (eval $ac_try) 2>&5
33694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695 (exit $ac_status); }; }; then
33696 eval "$as_ac_var=yes"
33698 echo "$as_me: failed program was:" >&5
33699 sed 's/^/| /' conftest.
$ac_ext >&5
33701 eval "$as_ac_var=no"
33703 rm -f conftest.err conftest.
$ac_objext \
33704 conftest
$ac_exeext conftest.
$ac_ext
33706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33708 if test `eval echo '${'$as_ac_var'}'` = yes; then
33709 cat >>confdefs.h
<<_ACEOF
33710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33713 cat >>confdefs.h
<<\_ACEOF
33714 #define HAVE_DLOPEN 1
33721 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33722 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33723 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33724 echo $ECHO_N "(cached) $ECHO_C" >&6
33726 ac_check_lib_save_LIBS
=$LIBS
33728 cat >conftest.
$ac_ext <<_ACEOF
33731 cat confdefs.h
>>conftest.
$ac_ext
33732 cat >>conftest.
$ac_ext <<_ACEOF
33733 /* end confdefs.h. */
33735 /* Override any gcc2 internal prototype to avoid an error. */
33739 /* We use char because int might match the return type of a gcc2
33740 builtin and then its argument prototype would still apply. */
33750 rm -f conftest.
$ac_objext conftest
$ac_exeext
33751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33752 (eval $ac_link) 2>conftest.er1
33754 grep -v '^ *+' conftest.er1
>conftest.err
33756 cat conftest.err
>&5
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); } &&
33759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33761 (eval $ac_try) 2>&5
33763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33764 (exit $ac_status); }; } &&
33765 { ac_try
='test -s conftest$ac_exeext'
33766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33767 (eval $ac_try) 2>&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); }; }; then
33771 ac_cv_lib_dl_dlopen
=yes
33773 echo "$as_me: failed program was:" >&5
33774 sed 's/^/| /' conftest.
$ac_ext >&5
33776 ac_cv_lib_dl_dlopen
=no
33778 rm -f conftest.err conftest.
$ac_objext \
33779 conftest
$ac_exeext conftest.
$ac_ext
33780 LIBS
=$ac_check_lib_save_LIBS
33782 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33783 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33784 if test $ac_cv_lib_dl_dlopen = yes; then
33786 cat >>confdefs.h
<<\_ACEOF
33787 #define HAVE_DLOPEN 1
33791 DL_LINK
=" -ldl$DL_LINK"
33796 for ac_func
in shl_load
33798 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33799 echo "$as_me:$LINENO: checking for $ac_func" >&5
33800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33801 if eval "test \"\${$as_ac_var+set}\" = set"; then
33802 echo $ECHO_N "(cached) $ECHO_C" >&6
33804 cat >conftest.
$ac_ext <<_ACEOF
33807 cat confdefs.h
>>conftest.
$ac_ext
33808 cat >>conftest.
$ac_ext <<_ACEOF
33809 /* end confdefs.h. */
33810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33812 #define $ac_func innocuous_$ac_func
33814 /* System header to define __stub macros and hopefully few prototypes,
33815 which can conflict with char $ac_func (); below.
33816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33817 <limits.h> exists even on freestanding compilers. */
33820 # include <limits.h>
33822 # include <assert.h>
33827 /* Override any gcc2 internal prototype to avoid an error. */
33832 /* We use char because int might match the return type of a gcc2
33833 builtin and then its argument prototype would still apply. */
33835 /* The GNU C library defines this for functions which it implements
33836 to always fail with ENOSYS. Some functions are actually named
33837 something starting with __ and the normal name is an alias. */
33838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33841 char (*f) () = $ac_func;
33850 return f != $ac_func;
33855 rm -f conftest.
$ac_objext conftest
$ac_exeext
33856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33857 (eval $ac_link) 2>conftest.er1
33859 grep -v '^ *+' conftest.er1
>conftest.err
33861 cat conftest.err
>&5
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); } &&
33864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866 (eval $ac_try) 2>&5
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); }; } &&
33870 { ac_try
='test -s conftest$ac_exeext'
33871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33872 (eval $ac_try) 2>&5
33874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33875 (exit $ac_status); }; }; then
33876 eval "$as_ac_var=yes"
33878 echo "$as_me: failed program was:" >&5
33879 sed 's/^/| /' conftest.
$ac_ext >&5
33881 eval "$as_ac_var=no"
33883 rm -f conftest.err conftest.
$ac_objext \
33884 conftest
$ac_exeext conftest.
$ac_ext
33886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33888 if test `eval echo '${'$as_ac_var'}'` = yes; then
33889 cat >>confdefs.h
<<_ACEOF
33890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33893 cat >>confdefs.h
<<\_ACEOF
33894 #define HAVE_SHL_LOAD 1
33901 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33902 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33903 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33904 echo $ECHO_N "(cached) $ECHO_C" >&6
33906 ac_check_lib_save_LIBS
=$LIBS
33907 LIBS
="-lshl_load $LIBS"
33908 cat >conftest.
$ac_ext <<_ACEOF
33911 cat confdefs.h
>>conftest.
$ac_ext
33912 cat >>conftest.
$ac_ext <<_ACEOF
33913 /* end confdefs.h. */
33915 /* Override any gcc2 internal prototype to avoid an error. */
33919 /* We use char because int might match the return type of a gcc2
33920 builtin and then its argument prototype would still apply. */
33930 rm -f conftest.
$ac_objext conftest
$ac_exeext
33931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33932 (eval $ac_link) 2>conftest.er1
33934 grep -v '^ *+' conftest.er1
>conftest.err
33936 cat conftest.err
>&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } &&
33939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33941 (eval $ac_try) 2>&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); }; } &&
33945 { ac_try
='test -s conftest$ac_exeext'
33946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33947 (eval $ac_try) 2>&5
33949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950 (exit $ac_status); }; }; then
33951 ac_cv_lib_shl_load_dld
=yes
33953 echo "$as_me: failed program was:" >&5
33954 sed 's/^/| /' conftest.
$ac_ext >&5
33956 ac_cv_lib_shl_load_dld
=no
33958 rm -f conftest.err conftest.
$ac_objext \
33959 conftest
$ac_exeext conftest.
$ac_ext
33960 LIBS
=$ac_check_lib_save_LIBS
33962 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33963 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33964 if test $ac_cv_lib_shl_load_dld = yes; then
33967 DL_LINK
=" -ldld$DL_LINK"
33983 if test "$HAVE_DL_FUNCS" = 1; then
33985 for ac_func
in dlerror
33987 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33988 echo "$as_me:$LINENO: checking for $ac_func" >&5
33989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33990 if eval "test \"\${$as_ac_var+set}\" = set"; then
33991 echo $ECHO_N "(cached) $ECHO_C" >&6
33993 cat >conftest.
$ac_ext <<_ACEOF
33996 cat confdefs.h
>>conftest.
$ac_ext
33997 cat >>conftest.
$ac_ext <<_ACEOF
33998 /* end confdefs.h. */
33999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34001 #define $ac_func innocuous_$ac_func
34003 /* System header to define __stub macros and hopefully few prototypes,
34004 which can conflict with char $ac_func (); below.
34005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34006 <limits.h> exists even on freestanding compilers. */
34009 # include <limits.h>
34011 # include <assert.h>
34016 /* Override any gcc2 internal prototype to avoid an error. */
34021 /* We use char because int might match the return type of a gcc2
34022 builtin and then its argument prototype would still apply. */
34024 /* The GNU C library defines this for functions which it implements
34025 to always fail with ENOSYS. Some functions are actually named
34026 something starting with __ and the normal name is an alias. */
34027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34030 char (*f) () = $ac_func;
34039 return f != $ac_func;
34044 rm -f conftest.
$ac_objext conftest
$ac_exeext
34045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34046 (eval $ac_link) 2>conftest.er1
34048 grep -v '^ *+' conftest.er1
>conftest.err
34050 cat conftest.err
>&5
34051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34052 (exit $ac_status); } &&
34053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34055 (eval $ac_try) 2>&5
34057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34058 (exit $ac_status); }; } &&
34059 { ac_try
='test -s conftest$ac_exeext'
34060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34061 (eval $ac_try) 2>&5
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); }; }; then
34065 eval "$as_ac_var=yes"
34067 echo "$as_me: failed program was:" >&5
34068 sed 's/^/| /' conftest.
$ac_ext >&5
34070 eval "$as_ac_var=no"
34072 rm -f conftest.err conftest.
$ac_objext \
34073 conftest
$ac_exeext conftest.
$ac_ext
34075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34077 if test `eval echo '${'$as_ac_var'}'` = yes; then
34078 cat >>confdefs.h
<<_ACEOF
34079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34081 cat >>confdefs.h
<<\_ACEOF
34082 #define HAVE_DLERROR 1
34087 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34088 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34089 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34090 echo $ECHO_N "(cached) $ECHO_C" >&6
34092 ac_check_lib_save_LIBS
=$LIBS
34094 cat >conftest.
$ac_ext <<_ACEOF
34097 cat confdefs.h
>>conftest.
$ac_ext
34098 cat >>conftest.
$ac_ext <<_ACEOF
34099 /* end confdefs.h. */
34101 /* Override any gcc2 internal prototype to avoid an error. */
34105 /* We use char because int might match the return type of a gcc2
34106 builtin and then its argument prototype would still apply. */
34116 rm -f conftest.
$ac_objext conftest
$ac_exeext
34117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34118 (eval $ac_link) 2>conftest.er1
34120 grep -v '^ *+' conftest.er1
>conftest.err
34122 cat conftest.err
>&5
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); } &&
34125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34127 (eval $ac_try) 2>&5
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); }; } &&
34131 { ac_try
='test -s conftest$ac_exeext'
34132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133 (eval $ac_try) 2>&5
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); }; }; then
34137 ac_cv_lib_dl_dlerror
=yes
34139 echo "$as_me: failed program was:" >&5
34140 sed 's/^/| /' conftest.
$ac_ext >&5
34142 ac_cv_lib_dl_dlerror
=no
34144 rm -f conftest.err conftest.
$ac_objext \
34145 conftest
$ac_exeext conftest.
$ac_ext
34146 LIBS
=$ac_check_lib_save_LIBS
34148 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34149 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34150 if test $ac_cv_lib_dl_dlerror = yes; then
34151 cat >>confdefs.h
<<\_ACEOF
34152 #define HAVE_DLERROR 1
34165 if test "$HAVE_DL_FUNCS" = 0; then
34166 if test "$HAVE_SHL_FUNCS" = 0; then
34167 if test "$USE_UNIX" = 1; then
34168 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34169 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34170 wxUSE_DYNAMIC_LOADER
=no
34171 wxUSE_DYNLIB_CLASS
=no
34173 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34174 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34181 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34182 cat >>confdefs.h
<<\_ACEOF
34183 #define wxUSE_DYNAMIC_LOADER 1
34187 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34188 cat >>confdefs.h
<<\_ACEOF
34189 #define wxUSE_DYNLIB_CLASS 1
34196 if test "$wxUSE_PLUGINS" = "yes" ; then
34197 if test "$wxUSE_SHARED" = "no" ; then
34198 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34199 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34202 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34203 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34204 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34207 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34208 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34209 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34212 if test "$wxUSE_PLUGINS" = "yes" ; then
34213 cat >>confdefs.h
<<\_ACEOF
34214 #define wxUSE_PLUGINS 1
34221 if test "$wxUSE_STL" = "yes"; then
34222 cat >>confdefs.h
<<\_ACEOF
34223 #define wxUSE_STL 1
34228 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34229 cat >>confdefs.h
<<\_ACEOF
34230 #define wxUSE_APPLE_IEEE 1
34235 if test "$wxUSE_TIMER" = "yes"; then
34236 cat >>confdefs.h
<<\_ACEOF
34237 #define wxUSE_TIMER 1
34243 if test "$wxUSE_SOUND" = "yes"; then
34244 if test "$USE_UNIX" = "1" ; then
34246 for ac_header
in sys
/soundcard.h
34248 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34250 echo "$as_me:$LINENO: checking for $ac_header" >&5
34251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34253 echo $ECHO_N "(cached) $ECHO_C" >&6
34255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34258 # Is the header compilable?
34259 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34261 cat >conftest.
$ac_ext <<_ACEOF
34264 cat confdefs.h
>>conftest.
$ac_ext
34265 cat >>conftest.
$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34267 $ac_includes_default
34268 #include <$ac_header>
34270 rm -f conftest.
$ac_objext
34271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34272 (eval $ac_compile) 2>conftest.er1
34274 grep -v '^ *+' conftest.er1
>conftest.err
34276 cat conftest.err
>&5
34277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278 (exit $ac_status); } &&
34279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34281 (eval $ac_try) 2>&5
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); }; } &&
34285 { ac_try
='test -s conftest.$ac_objext'
34286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34287 (eval $ac_try) 2>&5
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); }; }; then
34291 ac_header_compiler
=yes
34293 echo "$as_me: failed program was:" >&5
34294 sed 's/^/| /' conftest.
$ac_ext >&5
34296 ac_header_compiler
=no
34298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34300 echo "${ECHO_T}$ac_header_compiler" >&6
34302 # Is the header present?
34303 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34305 cat >conftest.
$ac_ext <<_ACEOF
34308 cat confdefs.h
>>conftest.
$ac_ext
34309 cat >>conftest.
$ac_ext <<_ACEOF
34310 /* end confdefs.h. */
34311 #include <$ac_header>
34313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34314 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34316 grep -v '^ *+' conftest.er1
>conftest.err
34318 cat conftest.err
>&5
34319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320 (exit $ac_status); } >/dev
/null
; then
34321 if test -s conftest.err
; then
34322 ac_cpp_err
=$ac_c_preproc_warn_flag
34323 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34330 if test -z "$ac_cpp_err"; then
34331 ac_header_preproc
=yes
34333 echo "$as_me: failed program was:" >&5
34334 sed 's/^/| /' conftest.
$ac_ext >&5
34336 ac_header_preproc
=no
34338 rm -f conftest.err conftest.
$ac_ext
34339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34340 echo "${ECHO_T}$ac_header_preproc" >&6
34342 # So? What about this header?
34343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34345 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34348 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34349 ac_header_preproc
=yes
34352 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34353 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34354 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34355 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34356 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34357 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34358 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34359 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34362 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34363 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34366 ## ----------------------------------------- ##
34367 ## Report this to wx-dev@lists.wxwidgets.org ##
34368 ## ----------------------------------------- ##
34371 sed "s/^/$as_me: WARNING: /" >&2
34374 echo "$as_me:$LINENO: checking for $ac_header" >&5
34375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34377 echo $ECHO_N "(cached) $ECHO_C" >&6
34379 eval "$as_ac_Header=\$ac_header_preproc"
34381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34386 cat >>confdefs.h
<<_ACEOF
34387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34395 if test "$wxUSE_LIBSDL" != "no"; then
34397 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34398 if test "${with_sdl_prefix+set}" = set; then
34399 withval
="$with_sdl_prefix"
34400 sdl_prefix
="$withval"
34405 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34406 if test "${with_sdl_exec_prefix+set}" = set; then
34407 withval
="$with_sdl_exec_prefix"
34408 sdl_exec_prefix
="$withval"
34412 # Check whether --enable-sdltest or --disable-sdltest was given.
34413 if test "${enable_sdltest+set}" = set; then
34414 enableval
="$enable_sdltest"
34420 if test x
$sdl_exec_prefix != x
; then
34421 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34422 if test x
${SDL_CONFIG+set} != xset
; then
34423 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34426 if test x
$sdl_prefix != x
; then
34427 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34428 if test x
${SDL_CONFIG+set} != xset
; then
34429 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34434 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34435 # Extract the first word of "sdl-config", so it can be a program name with args.
34436 set dummy sdl
-config; ac_word
=$2
34437 echo "$as_me:$LINENO: checking for $ac_word" >&5
34438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34439 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34440 echo $ECHO_N "(cached) $ECHO_C" >&6
34442 case $SDL_CONFIG in
34444 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34448 for as_dir
in $PATH
34451 test -z "$as_dir" && as_dir
=.
34452 for ac_exec_ext
in '' $ac_executable_extensions; do
34453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34454 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34461 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34465 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34467 if test -n "$SDL_CONFIG"; then
34468 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34469 echo "${ECHO_T}$SDL_CONFIG" >&6
34471 echo "$as_me:$LINENO: result: no" >&5
34472 echo "${ECHO_T}no" >&6
34475 min_sdl_version
=1.2.0
34476 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34477 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34479 if test "$SDL_CONFIG" = "no" ; then
34482 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34483 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34485 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34486 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34487 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34488 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34489 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34490 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34491 if test "x$enable_sdltest" = "xyes" ; then
34492 ac_save_CFLAGS
="$CFLAGS"
34493 ac_save_CXXFLAGS
="$CXXFLAGS"
34494 ac_save_LIBS
="$LIBS"
34495 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34496 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34497 LIBS
="$LIBS $SDL_LIBS"
34499 if test "$cross_compiling" = yes; then
34500 echo $ac_n "cross compiling; assumed OK... $ac_c"
34502 cat >conftest.
$ac_ext <<_ACEOF
34505 cat confdefs.h
>>conftest.
$ac_ext
34506 cat >>conftest.
$ac_ext <<_ACEOF
34507 /* end confdefs.h. */
34510 #include <stdlib.h>
34511 #include <string.h>
34515 my_strdup (char *str)
34521 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34522 strcpy (new_str, str);
34530 int main (int argc, char *argv[])
34532 int major, minor, micro;
34535 /* This hangs on some systems (?)
34536 system ("touch conf.sdltest");
34538 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34540 /* HP/UX 9 (%@#!) writes to sscanf strings */
34541 tmp_version = my_strdup("$min_sdl_version");
34542 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34543 printf("%s, bad version string\n", "$min_sdl_version");
34547 if (($sdl_major_version > major) ||
34548 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34549 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34555 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34556 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34557 printf("*** best to upgrade to the required version.\n");
34558 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34559 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34560 printf("*** config.cache before re-running configure\n");
34567 rm -f conftest
$ac_exeext
34568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34569 (eval $ac_link) 2>&5
34571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34572 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34574 (eval $ac_try) 2>&5
34576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34577 (exit $ac_status); }; }; then
34580 echo "$as_me: program exited with status $ac_status" >&5
34581 echo "$as_me: failed program was:" >&5
34582 sed 's/^/| /' conftest.
$ac_ext >&5
34584 ( exit $ac_status )
34587 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34589 CFLAGS
="$ac_save_CFLAGS"
34590 CXXFLAGS
="$ac_save_CXXFLAGS"
34591 LIBS
="$ac_save_LIBS"
34594 if test "x$no_sdl" = x
; then
34595 echo "$as_me:$LINENO: result: yes" >&5
34596 echo "${ECHO_T}yes" >&6
34598 EXTRALIBS_SDL
="$SDL_LIBS"
34599 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34600 cat >>confdefs.h
<<\_ACEOF
34601 #define wxUSE_LIBSDL 1
34606 echo "$as_me:$LINENO: result: no" >&5
34607 echo "${ECHO_T}no" >&6
34608 if test "$SDL_CONFIG" = "no" ; then
34609 echo "*** The sdl-config script installed by SDL could not be found"
34610 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34611 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34612 echo "*** full path to sdl-config."
34614 if test -f conf.sdltest
; then
34617 echo "*** Could not run SDL test program, checking why..."
34618 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34619 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34620 LIBS
="$LIBS $SDL_LIBS"
34621 cat >conftest.
$ac_ext <<_ACEOF
34624 cat confdefs.h
>>conftest.
$ac_ext
34625 cat >>conftest.
$ac_ext <<_ACEOF
34626 /* end confdefs.h. */
34631 int main(int argc, char *argv[])
34634 #define main K_and_R_C_main
34644 rm -f conftest.
$ac_objext conftest
$ac_exeext
34645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34646 (eval $ac_link) 2>conftest.er1
34648 grep -v '^ *+' conftest.er1
>conftest.err
34650 cat conftest.err
>&5
34651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34652 (exit $ac_status); } &&
34653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34655 (eval $ac_try) 2>&5
34657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34658 (exit $ac_status); }; } &&
34659 { ac_try
='test -s conftest$ac_exeext'
34660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34661 (eval $ac_try) 2>&5
34663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34664 (exit $ac_status); }; }; then
34665 echo "*** The test program compiled, but did not run. This usually means"
34666 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34667 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34668 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34669 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34670 echo "*** is required on your system"
34672 echo "*** If you have an old version installed, it is best to remove it, although"
34673 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34675 echo "$as_me: failed program was:" >&5
34676 sed 's/^/| /' conftest.
$ac_ext >&5
34678 echo "*** The test program failed to compile or link. See the file config.log for the"
34679 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34680 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34681 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34683 rm -f conftest.err conftest.
$ac_objext \
34684 conftest
$ac_exeext conftest.
$ac_ext
34685 CFLAGS
="$ac_save_CFLAGS"
34686 CXXFLAGS
="$ac_save_CXXFLAGS"
34687 LIBS
="$ac_save_LIBS"
34698 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34704 cat >>confdefs.h
<<\_ACEOF
34705 #define wxUSE_SOUND 1
34708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34711 if test "$WXGTK20" = 1; then
34712 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34713 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34718 if test -z "$PKG_CONFIG"; then
34719 # Extract the first word of "pkg-config", so it can be a program name with args.
34720 set dummy pkg
-config; ac_word
=$2
34721 echo "$as_me:$LINENO: checking for $ac_word" >&5
34722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34723 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34724 echo $ECHO_N "(cached) $ECHO_C" >&6
34726 case $PKG_CONFIG in
34728 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34732 for as_dir
in $PATH
34735 test -z "$as_dir" && as_dir
=.
34736 for ac_exec_ext
in '' $ac_executable_extensions; do
34737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34738 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34745 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
34749 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34751 if test -n "$PKG_CONFIG"; then
34752 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34753 echo "${ECHO_T}$PKG_CONFIG" >&6
34755 echo "$as_me:$LINENO: result: no" >&5
34756 echo "${ECHO_T}no" >&6
34761 if test "$PKG_CONFIG" = "no" ; then
34762 echo "*** The pkg-config script could not be found. Make sure it is"
34763 echo "*** in your path, or set the PKG_CONFIG environment variable"
34764 echo "*** to the full path to pkg-config."
34765 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
34767 PKG_CONFIG_MIN_VERSION
=0.9.0
34768 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
34769 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
34770 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
34772 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
34773 echo "$as_me:$LINENO: result: yes" >&5
34774 echo "${ECHO_T}yes" >&6
34777 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
34778 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
34779 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
34780 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
34781 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
34783 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
34784 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
34785 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
34786 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
34787 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
34789 LIBGNOMEPRINTUI_CFLAGS
=""
34790 LIBGNOMEPRINTUI_LIBS
=""
34791 ## If we have a custom action on failure, don't print errors, but
34792 ## do set a variable so people can do so.
34793 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34800 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
34801 echo "*** See http://www.freedesktop.org/software/pkgconfig"
34805 if test $succeeded = yes; then
34807 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
34808 cat >>confdefs.h
<<\_ACEOF
34809 #define wxUSE_LIBGNOMEPRINT 1
34815 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34816 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34817 wxUSE_LIBGNOMEPRINT
="no"
34827 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34828 cat >>confdefs.h
<<\_ACEOF
34829 #define wxUSE_CMDLINE_PARSER 1
34834 if test "$wxUSE_STOPWATCH" = "yes"; then
34835 cat >>confdefs.h
<<\_ACEOF
34836 #define wxUSE_STOPWATCH 1
34841 if test "$wxUSE_DATETIME" = "yes"; then
34842 cat >>confdefs.h
<<\_ACEOF
34843 #define wxUSE_DATETIME 1
34848 if test "$wxUSE_FILE" = "yes"; then
34849 cat >>confdefs.h
<<\_ACEOF
34850 #define wxUSE_FILE 1
34855 if test "$wxUSE_FFILE" = "yes"; then
34856 cat >>confdefs.h
<<\_ACEOF
34857 #define wxUSE_FFILE 1
34862 if test "$wxUSE_FILESYSTEM" = "yes"; then
34863 cat >>confdefs.h
<<\_ACEOF
34864 #define wxUSE_FILESYSTEM 1
34869 if test "$wxUSE_FS_ZIP" = "yes"; then
34870 cat >>confdefs.h
<<\_ACEOF
34871 #define wxUSE_FS_ZIP 1
34876 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34877 cat >>confdefs.h
<<\_ACEOF
34878 #define wxUSE_ZIPSTREAM 1
34883 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34884 cat >>confdefs.h
<<\_ACEOF
34885 #define wxUSE_ON_FATAL_EXCEPTION 1
34890 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34891 cat >>confdefs.h
<<\_ACEOF
34892 #define wxUSE_SNGLINST_CHECKER 1
34897 if test "$wxUSE_BUSYINFO" = "yes"; then
34898 cat >>confdefs.h
<<\_ACEOF
34899 #define wxUSE_BUSYINFO 1
34904 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34905 cat >>confdefs.h
<<\_ACEOF
34906 #define wxUSE_STD_IOSTREAM 1
34911 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34912 cat >>confdefs.h
<<\_ACEOF
34913 #define wxUSE_TEXTBUFFER 1
34918 if test "$wxUSE_TEXTFILE" = "yes"; then
34919 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34920 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34921 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34923 cat >>confdefs.h
<<\_ACEOF
34924 #define wxUSE_TEXTFILE 1
34930 if test "$wxUSE_CONFIG" = "yes" ; then
34931 if test "$wxUSE_TEXTFILE" != "yes"; then
34932 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34933 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34935 cat >>confdefs.h
<<\_ACEOF
34936 #define wxUSE_CONFIG 1
34939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34943 if test "$wxUSE_INTL" = "yes" ; then
34944 if test "$wxUSE_FILE" != "yes"; then
34945 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34946 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34948 cat >>confdefs.h
<<\_ACEOF
34949 #define wxUSE_INTL 1
34952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34953 GUIDIST
="$GUIDIST INTL_DIST"
34957 if test "$wxUSE_LOG" = "yes"; then
34958 cat >>confdefs.h
<<\_ACEOF
34959 #define wxUSE_LOG 1
34963 if test "$wxUSE_LOGGUI" = "yes"; then
34964 cat >>confdefs.h
<<\_ACEOF
34965 #define wxUSE_LOGGUI 1
34970 if test "$wxUSE_LOGWINDOW" = "yes"; then
34971 cat >>confdefs.h
<<\_ACEOF
34972 #define wxUSE_LOGWINDOW 1
34977 if test "$wxUSE_LOGDIALOG" = "yes"; then
34978 cat >>confdefs.h
<<\_ACEOF
34979 #define wxUSE_LOG_DIALOG 1
34985 if test "$wxUSE_LONGLONG" = "yes"; then
34986 cat >>confdefs.h
<<\_ACEOF
34987 #define wxUSE_LONGLONG 1
34992 if test "$wxUSE_GEOMETRY" = "yes"; then
34993 cat >>confdefs.h
<<\_ACEOF
34994 #define wxUSE_GEOMETRY 1
34999 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35000 cat >>confdefs.h
<<\_ACEOF
35001 #define wxUSE_DIALUP_MANAGER 1
35004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35007 if test "$wxUSE_STREAMS" = "yes" ; then
35008 cat >>confdefs.h
<<\_ACEOF
35009 #define wxUSE_STREAMS 1
35015 if test "$wxUSE_DATETIME" = "yes"; then
35017 for ac_func
in strptime
35019 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35020 echo "$as_me:$LINENO: checking for $ac_func" >&5
35021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35022 if eval "test \"\${$as_ac_var+set}\" = set"; then
35023 echo $ECHO_N "(cached) $ECHO_C" >&6
35025 cat >conftest.
$ac_ext <<_ACEOF
35028 cat confdefs.h
>>conftest.
$ac_ext
35029 cat >>conftest.
$ac_ext <<_ACEOF
35030 /* end confdefs.h. */
35031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35033 #define $ac_func innocuous_$ac_func
35035 /* System header to define __stub macros and hopefully few prototypes,
35036 which can conflict with char $ac_func (); below.
35037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35038 <limits.h> exists even on freestanding compilers. */
35041 # include <limits.h>
35043 # include <assert.h>
35048 /* Override any gcc2 internal prototype to avoid an error. */
35053 /* We use char because int might match the return type of a gcc2
35054 builtin and then its argument prototype would still apply. */
35056 /* The GNU C library defines this for functions which it implements
35057 to always fail with ENOSYS. Some functions are actually named
35058 something starting with __ and the normal name is an alias. */
35059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35062 char (*f) () = $ac_func;
35071 return f != $ac_func;
35076 rm -f conftest.
$ac_objext conftest
$ac_exeext
35077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35078 (eval $ac_link) 2>conftest.er1
35080 grep -v '^ *+' conftest.er1
>conftest.err
35082 cat conftest.err
>&5
35083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35084 (exit $ac_status); } &&
35085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35087 (eval $ac_try) 2>&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); }; } &&
35091 { ac_try
='test -s conftest$ac_exeext'
35092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35093 (eval $ac_try) 2>&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); }; }; then
35097 eval "$as_ac_var=yes"
35099 echo "$as_me: failed program was:" >&5
35100 sed 's/^/| /' conftest.
$ac_ext >&5
35102 eval "$as_ac_var=no"
35104 rm -f conftest.err conftest.
$ac_objext \
35105 conftest
$ac_exeext conftest.
$ac_ext
35107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35109 if test `eval echo '${'$as_ac_var'}'` = yes; then
35110 cat >>confdefs.h
<<_ACEOF
35111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35118 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35119 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35120 if test "${wx_cv_var_timezone+set}" = set; then
35121 echo $ECHO_N "(cached) $ECHO_C" >&6
35124 cat >conftest.
$ac_ext <<_ACEOF
35127 cat confdefs.h
>>conftest.
$ac_ext
35128 cat >>conftest.
$ac_ext <<_ACEOF
35129 /* end confdefs.h. */
35144 rm -f conftest.
$ac_objext
35145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35146 (eval $ac_compile) 2>conftest.er1
35148 grep -v '^ *+' conftest.er1
>conftest.err
35150 cat conftest.err
>&5
35151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152 (exit $ac_status); } &&
35153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35155 (eval $ac_try) 2>&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); }; } &&
35159 { ac_try
='test -s conftest.$ac_objext'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; }; then
35166 wx_cv_var_timezone
=timezone
35169 echo "$as_me: failed program was:" >&5
35170 sed 's/^/| /' conftest.
$ac_ext >&5
35173 cat >conftest.
$ac_ext <<_ACEOF
35176 cat confdefs.h
>>conftest.
$ac_ext
35177 cat >>conftest.
$ac_ext <<_ACEOF
35178 /* end confdefs.h. */
35193 rm -f conftest.
$ac_objext
35194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35195 (eval $ac_compile) 2>conftest.er1
35197 grep -v '^ *+' conftest.er1
>conftest.err
35199 cat conftest.err
>&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); } &&
35202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35204 (eval $ac_try) 2>&5
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; } &&
35208 { ac_try
='test -s conftest.$ac_objext'
35209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35210 (eval $ac_try) 2>&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); }; }; then
35215 wx_cv_var_timezone
=_timezone
35218 echo "$as_me: failed program was:" >&5
35219 sed 's/^/| /' conftest.
$ac_ext >&5
35222 cat >conftest.
$ac_ext <<_ACEOF
35225 cat confdefs.h
>>conftest.
$ac_ext
35226 cat >>conftest.
$ac_ext <<_ACEOF
35227 /* end confdefs.h. */
35242 rm -f conftest.
$ac_objext
35243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35244 (eval $ac_compile) 2>conftest.er1
35246 grep -v '^ *+' conftest.er1
>conftest.err
35248 cat conftest.err
>&5
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); } &&
35251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35253 (eval $ac_try) 2>&5
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); }; } &&
35257 { ac_try
='test -s conftest.$ac_objext'
35258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35259 (eval $ac_try) 2>&5
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); }; }; then
35264 wx_cv_var_timezone
=__timezone
35267 echo "$as_me: failed program was:" >&5
35268 sed 's/^/| /' conftest.
$ac_ext >&5
35271 if test "$USE_DOS" = 0 ; then
35272 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35273 echo "$as_me: WARNING: no timezone variable" >&2;}
35278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35290 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35291 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35293 if test "x$wx_cv_var_timezone" != x
; then
35294 cat >>confdefs.h
<<_ACEOF
35295 #define WX_TIMEZONE $wx_cv_var_timezone
35301 for ac_func
in localtime
35303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35304 echo "$as_me:$LINENO: checking for $ac_func" >&5
35305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35306 if eval "test \"\${$as_ac_var+set}\" = set"; then
35307 echo $ECHO_N "(cached) $ECHO_C" >&6
35309 cat >conftest.
$ac_ext <<_ACEOF
35312 cat confdefs.h
>>conftest.
$ac_ext
35313 cat >>conftest.
$ac_ext <<_ACEOF
35314 /* end confdefs.h. */
35315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35317 #define $ac_func innocuous_$ac_func
35319 /* System header to define __stub macros and hopefully few prototypes,
35320 which can conflict with char $ac_func (); below.
35321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35322 <limits.h> exists even on freestanding compilers. */
35325 # include <limits.h>
35327 # include <assert.h>
35332 /* Override any gcc2 internal prototype to avoid an error. */
35337 /* We use char because int might match the return type of a gcc2
35338 builtin and then its argument prototype would still apply. */
35340 /* The GNU C library defines this for functions which it implements
35341 to always fail with ENOSYS. Some functions are actually named
35342 something starting with __ and the normal name is an alias. */
35343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35346 char (*f) () = $ac_func;
35355 return f != $ac_func;
35360 rm -f conftest.
$ac_objext conftest
$ac_exeext
35361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35362 (eval $ac_link) 2>conftest.er1
35364 grep -v '^ *+' conftest.er1
>conftest.err
35366 cat conftest.err
>&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); } &&
35369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35371 (eval $ac_try) 2>&5
35373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374 (exit $ac_status); }; } &&
35375 { ac_try
='test -s conftest$ac_exeext'
35376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35377 (eval $ac_try) 2>&5
35379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380 (exit $ac_status); }; }; then
35381 eval "$as_ac_var=yes"
35383 echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.
$ac_ext >&5
35386 eval "$as_ac_var=no"
35388 rm -f conftest.err conftest.
$ac_objext \
35389 conftest
$ac_exeext conftest.
$ac_ext
35391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35393 if test `eval echo '${'$as_ac_var'}'` = yes; then
35394 cat >>confdefs.h
<<_ACEOF
35395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35402 if test "$ac_cv_func_localtime" = "yes"; then
35403 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35404 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35405 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35406 echo $ECHO_N "(cached) $ECHO_C" >&6
35409 cat >conftest.
$ac_ext <<_ACEOF
35412 cat confdefs.h
>>conftest.
$ac_ext
35413 cat >>conftest.
$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35429 rm -f conftest.
$ac_objext
35430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35431 (eval $ac_compile) 2>conftest.er1
35433 grep -v '^ *+' conftest.er1
>conftest.err
35435 cat conftest.err
>&5
35436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 (exit $ac_status); } &&
35438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
35444 { ac_try
='test -s conftest.$ac_objext'
35445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35446 (eval $ac_try) 2>&5
35448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 (exit $ac_status); }; }; then
35451 wx_cv_struct_tm_has_gmtoff
=yes
35454 echo "$as_me: failed program was:" >&5
35455 sed 's/^/| /' conftest.
$ac_ext >&5
35457 wx_cv_struct_tm_has_gmtoff
=no
35460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35463 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35464 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35467 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35468 cat >>confdefs.h
<<\_ACEOF
35469 #define WX_GMTOFF_IN_TM 1
35476 for ac_func
in gettimeofday ftime
35478 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35479 echo "$as_me:$LINENO: checking for $ac_func" >&5
35480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35481 if eval "test \"\${$as_ac_var+set}\" = set"; then
35482 echo $ECHO_N "(cached) $ECHO_C" >&6
35484 cat >conftest.
$ac_ext <<_ACEOF
35487 cat confdefs.h
>>conftest.
$ac_ext
35488 cat >>conftest.
$ac_ext <<_ACEOF
35489 /* end confdefs.h. */
35490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35492 #define $ac_func innocuous_$ac_func
35494 /* System header to define __stub macros and hopefully few prototypes,
35495 which can conflict with char $ac_func (); below.
35496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35497 <limits.h> exists even on freestanding compilers. */
35500 # include <limits.h>
35502 # include <assert.h>
35507 /* Override any gcc2 internal prototype to avoid an error. */
35512 /* We use char because int might match the return type of a gcc2
35513 builtin and then its argument prototype would still apply. */
35515 /* The GNU C library defines this for functions which it implements
35516 to always fail with ENOSYS. Some functions are actually named
35517 something starting with __ and the normal name is an alias. */
35518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35521 char (*f) () = $ac_func;
35530 return f != $ac_func;
35535 rm -f conftest.
$ac_objext conftest
$ac_exeext
35536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35537 (eval $ac_link) 2>conftest.er1
35539 grep -v '^ *+' conftest.er1
>conftest.err
35541 cat conftest.err
>&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } &&
35544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35546 (eval $ac_try) 2>&5
35548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35549 (exit $ac_status); }; } &&
35550 { ac_try
='test -s conftest$ac_exeext'
35551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35552 (eval $ac_try) 2>&5
35554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35555 (exit $ac_status); }; }; then
35556 eval "$as_ac_var=yes"
35558 echo "$as_me: failed program was:" >&5
35559 sed 's/^/| /' conftest.
$ac_ext >&5
35561 eval "$as_ac_var=no"
35563 rm -f conftest.err conftest.
$ac_objext \
35564 conftest
$ac_exeext conftest.
$ac_ext
35566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35568 if test `eval echo '${'$as_ac_var'}'` = yes; then
35569 cat >>confdefs.h
<<_ACEOF
35570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35577 if test "$ac_cv_func_gettimeofday" = "yes"; then
35578 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35579 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35580 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35581 echo $ECHO_N "(cached) $ECHO_C" >&6
35587 ac_cpp
='$CXXCPP $CPPFLAGS'
35588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35593 cat >conftest.
$ac_ext <<_ACEOF
35596 cat confdefs.h
>>conftest.
$ac_ext
35597 cat >>conftest.
$ac_ext <<_ACEOF
35598 /* end confdefs.h. */
35600 #include <sys/time.h>
35601 #include <unistd.h>
35608 gettimeofday(&tv, NULL);
35614 rm -f conftest.
$ac_objext
35615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35616 (eval $ac_compile) 2>conftest.er1
35618 grep -v '^ *+' conftest.er1
>conftest.err
35620 cat conftest.err
>&5
35621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35622 (exit $ac_status); } &&
35623 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35625 (eval $ac_try) 2>&5
35627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35628 (exit $ac_status); }; } &&
35629 { ac_try
='test -s conftest.$ac_objext'
35630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35631 (eval $ac_try) 2>&5
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); }; }; then
35635 wx_cv_func_gettimeofday_has_2_args
=yes
35637 echo "$as_me: failed program was:" >&5
35638 sed 's/^/| /' conftest.
$ac_ext >&5
35640 cat >conftest.
$ac_ext <<_ACEOF
35643 cat confdefs.h
>>conftest.
$ac_ext
35644 cat >>conftest.
$ac_ext <<_ACEOF
35645 /* end confdefs.h. */
35647 #include <sys/time.h>
35648 #include <unistd.h>
35661 rm -f conftest.
$ac_objext
35662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35663 (eval $ac_compile) 2>conftest.er1
35665 grep -v '^ *+' conftest.er1
>conftest.err
35667 cat conftest.err
>&5
35668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35669 (exit $ac_status); } &&
35670 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35672 (eval $ac_try) 2>&5
35674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35675 (exit $ac_status); }; } &&
35676 { ac_try
='test -s conftest.$ac_objext'
35677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35678 (eval $ac_try) 2>&5
35680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35681 (exit $ac_status); }; }; then
35682 wx_cv_func_gettimeofday_has_2_args
=no
35684 echo "$as_me: failed program was:" >&5
35685 sed 's/^/| /' conftest.
$ac_ext >&5
35688 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35689 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35690 wx_cv_func_gettimeofday_has_2_args
=unknown
35694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35699 ac_cpp
='$CPP $CPPFLAGS'
35700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35706 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35707 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35709 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35710 cat >>confdefs.h
<<\_ACEOF
35711 #define WX_GETTIMEOFDAY_NO_TZ 1
35717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35721 if test "$wxUSE_SOCKETS" = "yes"; then
35722 if test "$wxUSE_MGL" = "1"; then
35723 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35724 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35729 if test "$wxUSE_SOCKETS" = "yes"; then
35730 if test "$TOOLKIT" != "MSW"; then
35731 echo "$as_me:$LINENO: checking for socket" >&5
35732 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35733 if test "${ac_cv_func_socket+set}" = set; then
35734 echo $ECHO_N "(cached) $ECHO_C" >&6
35736 cat >conftest.
$ac_ext <<_ACEOF
35739 cat confdefs.h
>>conftest.
$ac_ext
35740 cat >>conftest.
$ac_ext <<_ACEOF
35741 /* end confdefs.h. */
35742 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35744 #define socket innocuous_socket
35746 /* System header to define __stub macros and hopefully few prototypes,
35747 which can conflict with char socket (); below.
35748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35749 <limits.h> exists even on freestanding compilers. */
35752 # include <limits.h>
35754 # include <assert.h>
35759 /* Override any gcc2 internal prototype to avoid an error. */
35764 /* We use char because int might match the return type of a gcc2
35765 builtin and then its argument prototype would still apply. */
35767 /* The GNU C library defines this for functions which it implements
35768 to always fail with ENOSYS. Some functions are actually named
35769 something starting with __ and the normal name is an alias. */
35770 #if defined (__stub_socket) || defined (__stub___socket)
35773 char (*f) () = socket;
35782 return f != socket;
35787 rm -f conftest.
$ac_objext conftest
$ac_exeext
35788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35789 (eval $ac_link) 2>conftest.er1
35791 grep -v '^ *+' conftest.er1
>conftest.err
35793 cat conftest.err
>&5
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); } &&
35796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798 (eval $ac_try) 2>&5
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); }; } &&
35802 { ac_try
='test -s conftest$ac_exeext'
35803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35804 (eval $ac_try) 2>&5
35806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35807 (exit $ac_status); }; }; then
35808 ac_cv_func_socket
=yes
35810 echo "$as_me: failed program was:" >&5
35811 sed 's/^/| /' conftest.
$ac_ext >&5
35813 ac_cv_func_socket
=no
35815 rm -f conftest.err conftest.
$ac_objext \
35816 conftest
$ac_exeext conftest.
$ac_ext
35818 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35819 echo "${ECHO_T}$ac_cv_func_socket" >&6
35820 if test $ac_cv_func_socket = yes; then
35824 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35825 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35826 if test "${ac_cv_lib_socket_socket+set}" = set; then
35827 echo $ECHO_N "(cached) $ECHO_C" >&6
35829 ac_check_lib_save_LIBS
=$LIBS
35830 LIBS
="-lsocket $LIBS"
35831 cat >conftest.
$ac_ext <<_ACEOF
35834 cat confdefs.h
>>conftest.
$ac_ext
35835 cat >>conftest.
$ac_ext <<_ACEOF
35836 /* end confdefs.h. */
35838 /* Override any gcc2 internal prototype to avoid an error. */
35842 /* We use char because int might match the return type of a gcc2
35843 builtin and then its argument prototype would still apply. */
35853 rm -f conftest.
$ac_objext conftest
$ac_exeext
35854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35855 (eval $ac_link) 2>conftest.er1
35857 grep -v '^ *+' conftest.er1
>conftest.err
35859 cat conftest.err
>&5
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); } &&
35862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35864 (eval $ac_try) 2>&5
35866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35867 (exit $ac_status); }; } &&
35868 { ac_try
='test -s conftest$ac_exeext'
35869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35870 (eval $ac_try) 2>&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); }; }; then
35874 ac_cv_lib_socket_socket
=yes
35876 echo "$as_me: failed program was:" >&5
35877 sed 's/^/| /' conftest.
$ac_ext >&5
35879 ac_cv_lib_socket_socket
=no
35881 rm -f conftest.err conftest.
$ac_objext \
35882 conftest
$ac_exeext conftest.
$ac_ext
35883 LIBS
=$ac_check_lib_save_LIBS
35885 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35886 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35887 if test $ac_cv_lib_socket_socket = yes; then
35888 if test "$INET_LINK" != " -lsocket"; then
35889 INET_LINK
="$INET_LINK -lsocket"
35893 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35894 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35907 if test "$wxUSE_SOCKETS" = "yes" ; then
35908 if test "$TOOLKIT" != "MSW"; then
35910 ac_cpp
='$CXXCPP $CPPFLAGS'
35911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35915 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35916 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35917 if test "${wx_cv_type_getsockname3+set}" = set; then
35918 echo $ECHO_N "(cached) $ECHO_C" >&6
35921 cat >conftest.
$ac_ext <<_ACEOF
35924 cat confdefs.h
>>conftest.
$ac_ext
35925 cat >>conftest.
$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35928 #include <sys/types.h>
35929 #include <sys/socket.h>
35936 getsockname(0, 0, &len);
35942 rm -f conftest.
$ac_objext
35943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35944 (eval $ac_compile) 2>conftest.er1
35946 grep -v '^ *+' conftest.er1
>conftest.err
35948 cat conftest.err
>&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); } &&
35951 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35953 (eval $ac_try) 2>&5
35955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956 (exit $ac_status); }; } &&
35957 { ac_try
='test -s conftest.$ac_objext'
35958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35959 (eval $ac_try) 2>&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); }; }; then
35963 wx_cv_type_getsockname3
=socklen_t
35965 echo "$as_me: failed program was:" >&5
35966 sed 's/^/| /' conftest.
$ac_ext >&5
35969 CFLAGS_OLD
="$CFLAGS"
35970 if test "$GCC" = yes ; then
35971 CFLAGS
="$CFLAGS -Werror"
35974 cat >conftest.
$ac_ext <<_ACEOF
35977 cat confdefs.h
>>conftest.
$ac_ext
35978 cat >>conftest.
$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35981 #include <sys/types.h>
35982 #include <sys/socket.h>
35989 getsockname(0, 0, &len);
35995 rm -f conftest.
$ac_objext
35996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35997 (eval $ac_compile) 2>conftest.er1
35999 grep -v '^ *+' conftest.er1
>conftest.err
36001 cat conftest.err
>&5
36002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36003 (exit $ac_status); } &&
36004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36006 (eval $ac_try) 2>&5
36008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009 (exit $ac_status); }; } &&
36010 { ac_try
='test -s conftest.$ac_objext'
36011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36012 (eval $ac_try) 2>&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); }; }; then
36016 wx_cv_type_getsockname3
=size_t
36018 echo "$as_me: failed program was:" >&5
36019 sed 's/^/| /' conftest.
$ac_ext >&5
36021 cat >conftest.
$ac_ext <<_ACEOF
36024 cat confdefs.h
>>conftest.
$ac_ext
36025 cat >>conftest.
$ac_ext <<_ACEOF
36026 /* end confdefs.h. */
36028 #include <sys/types.h>
36029 #include <sys/socket.h>
36036 getsockname(0, 0, &len);
36042 rm -f conftest.
$ac_objext
36043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36044 (eval $ac_compile) 2>conftest.er1
36046 grep -v '^ *+' conftest.er1
>conftest.err
36048 cat conftest.err
>&5
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); } &&
36051 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36053 (eval $ac_try) 2>&5
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); }; } &&
36057 { ac_try
='test -s conftest.$ac_objext'
36058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36059 (eval $ac_try) 2>&5
36061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36062 (exit $ac_status); }; }; then
36063 wx_cv_type_getsockname3
=int
36065 echo "$as_me: failed program was:" >&5
36066 sed 's/^/| /' conftest.
$ac_ext >&5
36068 wx_cv_type_getsockname3
=unknown
36071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36076 CFLAGS
="$CFLAGS_OLD"
36080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36083 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36084 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36086 if test "$wx_cv_type_getsockname3" = "unknown"; then
36088 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36089 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36091 cat >>confdefs.h
<<_ACEOF
36092 #define SOCKLEN_T $wx_cv_type_getsockname3
36096 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36097 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36098 if test "${wx_cv_type_getsockopt5+set}" = set; then
36099 echo $ECHO_N "(cached) $ECHO_C" >&6
36102 cat >conftest.
$ac_ext <<_ACEOF
36105 cat confdefs.h
>>conftest.
$ac_ext
36106 cat >>conftest.
$ac_ext <<_ACEOF
36107 /* end confdefs.h. */
36109 #include <sys/types.h>
36110 #include <sys/socket.h>
36117 getsockopt(0, 0, 0, 0, &len);
36123 rm -f conftest.
$ac_objext
36124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36125 (eval $ac_compile) 2>conftest.er1
36127 grep -v '^ *+' conftest.er1
>conftest.err
36129 cat conftest.err
>&5
36130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36131 (exit $ac_status); } &&
36132 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36134 (eval $ac_try) 2>&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); }; } &&
36138 { ac_try
='test -s conftest.$ac_objext'
36139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36140 (eval $ac_try) 2>&5
36142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143 (exit $ac_status); }; }; then
36144 wx_cv_type_getsockopt5
=socklen_t
36146 echo "$as_me: failed program was:" >&5
36147 sed 's/^/| /' conftest.
$ac_ext >&5
36150 CFLAGS_OLD
="$CFLAGS"
36151 if test "$GCC" = yes ; then
36152 CFLAGS
="$CFLAGS -Werror"
36155 cat >conftest.
$ac_ext <<_ACEOF
36158 cat confdefs.h
>>conftest.
$ac_ext
36159 cat >>conftest.
$ac_ext <<_ACEOF
36160 /* end confdefs.h. */
36162 #include <sys/types.h>
36163 #include <sys/socket.h>
36170 getsockopt(0, 0, 0, 0, &len);
36176 rm -f conftest.
$ac_objext
36177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36178 (eval $ac_compile) 2>conftest.er1
36180 grep -v '^ *+' conftest.er1
>conftest.err
36182 cat conftest.err
>&5
36183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36184 (exit $ac_status); } &&
36185 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36187 (eval $ac_try) 2>&5
36189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36190 (exit $ac_status); }; } &&
36191 { ac_try
='test -s conftest.$ac_objext'
36192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36193 (eval $ac_try) 2>&5
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); }; }; then
36197 wx_cv_type_getsockopt5
=size_t
36199 echo "$as_me: failed program was:" >&5
36200 sed 's/^/| /' conftest.
$ac_ext >&5
36202 cat >conftest.
$ac_ext <<_ACEOF
36205 cat confdefs.h
>>conftest.
$ac_ext
36206 cat >>conftest.
$ac_ext <<_ACEOF
36207 /* end confdefs.h. */
36209 #include <sys/types.h>
36210 #include <sys/socket.h>
36217 getsockopt(0, 0, 0, 0, &len);
36223 rm -f conftest.
$ac_objext
36224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36225 (eval $ac_compile) 2>conftest.er1
36227 grep -v '^ *+' conftest.er1
>conftest.err
36229 cat conftest.err
>&5
36230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36231 (exit $ac_status); } &&
36232 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36234 (eval $ac_try) 2>&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); }; } &&
36238 { ac_try
='test -s conftest.$ac_objext'
36239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36240 (eval $ac_try) 2>&5
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); }; }; then
36244 wx_cv_type_getsockopt5
=int
36246 echo "$as_me: failed program was:" >&5
36247 sed 's/^/| /' conftest.
$ac_ext >&5
36249 wx_cv_type_getsockopt5
=unknown
36252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36257 CFLAGS
="$CFLAGS_OLD"
36261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36264 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
36265 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
36267 if test "$wx_cv_type_getsockopt5" = "unknown"; then
36269 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36270 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36272 cat >>confdefs.h
<<_ACEOF
36273 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
36278 ac_cpp
='$CPP $CPPFLAGS'
36279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36286 if test "$wxUSE_SOCKETS" = "yes" ; then
36287 cat >>confdefs.h
<<\_ACEOF
36288 #define wxUSE_SOCKETS 1
36291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36294 if test "$wxUSE_PROTOCOL" = "yes"; then
36295 if test "$wxUSE_SOCKETS" != "yes"; then
36296 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36297 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36302 if test "$wxUSE_PROTOCOL" = "yes"; then
36303 cat >>confdefs.h
<<\_ACEOF
36304 #define wxUSE_PROTOCOL 1
36308 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36309 cat >>confdefs.h
<<\_ACEOF
36310 #define wxUSE_PROTOCOL_HTTP 1
36314 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36315 cat >>confdefs.h
<<\_ACEOF
36316 #define wxUSE_PROTOCOL_FTP 1
36320 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36321 cat >>confdefs.h
<<\_ACEOF
36322 #define wxUSE_PROTOCOL_FILE 1
36327 if test "$wxUSE_FS_INET" = "yes"; then
36328 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36329 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36334 if test "$wxUSE_URL" = "yes"; then
36335 if test "$wxUSE_PROTOCOL" != "yes"; then
36336 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36337 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36340 if test "$wxUSE_URL" = "yes"; then
36341 cat >>confdefs.h
<<\_ACEOF
36342 #define wxUSE_URL 1
36348 if test "$wxUSE_FS_INET" = "yes"; then
36349 cat >>confdefs.h
<<\_ACEOF
36350 #define wxUSE_FS_INET 1
36356 if test "$wxUSE_GUI" = "yes"; then
36358 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36359 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36360 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36364 if test "$TOOLKIT" != "MSW"; then
36365 if test "$wxUSE_JOYSTICK" = "yes"; then
36367 for ac_header
in linux
/joystick.h
36369 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36371 echo "$as_me:$LINENO: checking for $ac_header" >&5
36372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36374 echo $ECHO_N "(cached) $ECHO_C" >&6
36376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36379 # Is the header compilable?
36380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36382 cat >conftest.
$ac_ext <<_ACEOF
36385 cat confdefs.h
>>conftest.
$ac_ext
36386 cat >>conftest.
$ac_ext <<_ACEOF
36387 /* end confdefs.h. */
36388 $ac_includes_default
36389 #include <$ac_header>
36391 rm -f conftest.
$ac_objext
36392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36393 (eval $ac_compile) 2>conftest.er1
36395 grep -v '^ *+' conftest.er1
>conftest.err
36397 cat conftest.err
>&5
36398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36399 (exit $ac_status); } &&
36400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36402 (eval $ac_try) 2>&5
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); }; } &&
36406 { ac_try
='test -s conftest.$ac_objext'
36407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36408 (eval $ac_try) 2>&5
36410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36411 (exit $ac_status); }; }; then
36412 ac_header_compiler
=yes
36414 echo "$as_me: failed program was:" >&5
36415 sed 's/^/| /' conftest.
$ac_ext >&5
36417 ac_header_compiler
=no
36419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36421 echo "${ECHO_T}$ac_header_compiler" >&6
36423 # Is the header present?
36424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36426 cat >conftest.
$ac_ext <<_ACEOF
36429 cat confdefs.h
>>conftest.
$ac_ext
36430 cat >>conftest.
$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36432 #include <$ac_header>
36434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36435 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36437 grep -v '^ *+' conftest.er1
>conftest.err
36439 cat conftest.err
>&5
36440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36441 (exit $ac_status); } >/dev
/null
; then
36442 if test -s conftest.err
; then
36443 ac_cpp_err
=$ac_c_preproc_warn_flag
36444 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36451 if test -z "$ac_cpp_err"; then
36452 ac_header_preproc
=yes
36454 echo "$as_me: failed program was:" >&5
36455 sed 's/^/| /' conftest.
$ac_ext >&5
36457 ac_header_preproc
=no
36459 rm -f conftest.err conftest.
$ac_ext
36460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36461 echo "${ECHO_T}$ac_header_preproc" >&6
36463 # So? What about this header?
36464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36470 ac_header_preproc
=yes
36473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36487 ## ----------------------------------------- ##
36488 ## Report this to wx-dev@lists.wxwidgets.org ##
36489 ## ----------------------------------------- ##
36492 sed "s/^/$as_me: WARNING: /" >&2
36495 echo "$as_me:$LINENO: checking for $ac_header" >&5
36496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36498 echo $ECHO_N "(cached) $ECHO_C" >&6
36500 eval "$as_ac_Header=\$ac_header_preproc"
36502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36507 cat >>confdefs.h
<<_ACEOF
36508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36515 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36517 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36518 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36523 if test "$wxUSE_JOYSTICK" = "yes"; then
36524 cat >>confdefs.h
<<\_ACEOF
36525 #define wxUSE_JOYSTICK 1
36528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36534 if test "$wxUSE_FONTMAP" = "yes" ; then
36535 cat >>confdefs.h
<<\_ACEOF
36536 #define wxUSE_FONTMAP 1
36541 if test "$wxUSE_UNICODE" = "yes" ; then
36542 cat >>confdefs.h
<<\_ACEOF
36543 #define wxUSE_UNICODE 1
36547 if test "$USE_WIN32" != 1; then
36548 wxUSE_UNICODE_MSLU
=no
36551 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36552 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36553 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36554 if test "${ac_cv_lib_unicows_main+set}" = set; then
36555 echo $ECHO_N "(cached) $ECHO_C" >&6
36557 ac_check_lib_save_LIBS
=$LIBS
36558 LIBS
="-lunicows $LIBS"
36559 cat >conftest.
$ac_ext <<_ACEOF
36562 cat confdefs.h
>>conftest.
$ac_ext
36563 cat >>conftest.
$ac_ext <<_ACEOF
36564 /* end confdefs.h. */
36575 rm -f conftest.
$ac_objext conftest
$ac_exeext
36576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36577 (eval $ac_link) 2>conftest.er1
36579 grep -v '^ *+' conftest.er1
>conftest.err
36581 cat conftest.err
>&5
36582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583 (exit $ac_status); } &&
36584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36586 (eval $ac_try) 2>&5
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); }; } &&
36590 { ac_try
='test -s conftest$ac_exeext'
36591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36592 (eval $ac_try) 2>&5
36594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36595 (exit $ac_status); }; }; then
36596 ac_cv_lib_unicows_main
=yes
36598 echo "$as_me: failed program was:" >&5
36599 sed 's/^/| /' conftest.
$ac_ext >&5
36601 ac_cv_lib_unicows_main
=no
36603 rm -f conftest.err conftest.
$ac_objext \
36604 conftest
$ac_exeext conftest.
$ac_ext
36605 LIBS
=$ac_check_lib_save_LIBS
36607 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36608 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36609 if test $ac_cv_lib_unicows_main = yes; then
36611 cat >>confdefs.h
<<\_ACEOF
36612 #define wxUSE_UNICODE_MSLU 1
36618 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36619 Applications will only run on Windows NT/2000/XP!" >&5
36620 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36621 Applications will only run on Windows NT/2000/XP!" >&2;}
36622 wxUSE_UNICODE_MSLU
=no
36629 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36630 cat >>confdefs.h
<<\_ACEOF
36631 #define wxUSE_EXPERIMENTAL_PRINTF 1
36637 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36638 cat >>confdefs.h
<<\_ACEOF
36639 #define wxUSE_POSTSCRIPT 1
36644 cat >>confdefs.h
<<\_ACEOF
36645 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36649 cat >>confdefs.h
<<\_ACEOF
36650 #define wxUSE_NORMALIZED_PS_FONTS 1
36655 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36656 cat >>confdefs.h
<<\_ACEOF
36657 #define wxUSE_CONSTRAINTS 1
36660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36663 if test "$wxUSE_MDI" = "yes"; then
36664 cat >>confdefs.h
<<\_ACEOF
36665 #define wxUSE_MDI 1
36669 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36670 cat >>confdefs.h
<<\_ACEOF
36671 #define wxUSE_MDI_ARCHITECTURE 1
36674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36678 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36679 cat >>confdefs.h
<<\_ACEOF
36680 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36684 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36685 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36689 if test "$wxUSE_HELP" = "yes"; then
36690 cat >>confdefs.h
<<\_ACEOF
36691 #define wxUSE_HELP 1
36694 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36696 if test "$wxUSE_MSW" = 1; then
36697 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36698 cat >>confdefs.h
<<\_ACEOF
36699 #define wxUSE_MS_HTML_HELP 1
36705 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36706 if test "$wxUSE_HTML" = "yes"; then
36707 cat >>confdefs.h
<<\_ACEOF
36708 #define wxUSE_WXHTML_HELP 1
36712 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36713 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36714 wxUSE_WXHTML_HELP
=no
36719 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36720 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36721 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36722 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36724 cat >>confdefs.h
<<\_ACEOF
36725 #define wxUSE_PRINTING_ARCHITECTURE 1
36729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36732 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36733 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36734 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36735 { (exit 1); exit 1; }; }
36739 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36740 -o "$wxUSE_CLIPBOARD" = "yes" \
36741 -o "$wxUSE_OLE" = "yes" \
36742 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36744 for ac_header
in ole2.h
36746 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36748 echo "$as_me:$LINENO: checking for $ac_header" >&5
36749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36751 echo $ECHO_N "(cached) $ECHO_C" >&6
36753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36756 # Is the header compilable?
36757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36759 cat >conftest.
$ac_ext <<_ACEOF
36762 cat confdefs.h
>>conftest.
$ac_ext
36763 cat >>conftest.
$ac_ext <<_ACEOF
36764 /* end confdefs.h. */
36765 $ac_includes_default
36766 #include <$ac_header>
36768 rm -f conftest.
$ac_objext
36769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36770 (eval $ac_compile) 2>conftest.er1
36772 grep -v '^ *+' conftest.er1
>conftest.err
36774 cat conftest.err
>&5
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); } &&
36777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36779 (eval $ac_try) 2>&5
36781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36782 (exit $ac_status); }; } &&
36783 { ac_try
='test -s conftest.$ac_objext'
36784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36785 (eval $ac_try) 2>&5
36787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36788 (exit $ac_status); }; }; then
36789 ac_header_compiler
=yes
36791 echo "$as_me: failed program was:" >&5
36792 sed 's/^/| /' conftest.
$ac_ext >&5
36794 ac_header_compiler
=no
36796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36798 echo "${ECHO_T}$ac_header_compiler" >&6
36800 # Is the header present?
36801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36803 cat >conftest.
$ac_ext <<_ACEOF
36806 cat confdefs.h
>>conftest.
$ac_ext
36807 cat >>conftest.
$ac_ext <<_ACEOF
36808 /* end confdefs.h. */
36809 #include <$ac_header>
36811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36812 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36814 grep -v '^ *+' conftest.er1
>conftest.err
36816 cat conftest.err
>&5
36817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36818 (exit $ac_status); } >/dev
/null
; then
36819 if test -s conftest.err
; then
36820 ac_cpp_err
=$ac_c_preproc_warn_flag
36821 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36828 if test -z "$ac_cpp_err"; then
36829 ac_header_preproc
=yes
36831 echo "$as_me: failed program was:" >&5
36832 sed 's/^/| /' conftest.
$ac_ext >&5
36834 ac_header_preproc
=no
36836 rm -f conftest.err conftest.
$ac_ext
36837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36838 echo "${ECHO_T}$ac_header_preproc" >&6
36840 # So? What about this header?
36841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36843 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36844 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36846 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36847 ac_header_preproc
=yes
36850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36854 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36855 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36856 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36857 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36860 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36861 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36864 ## ----------------------------------------- ##
36865 ## Report this to wx-dev@lists.wxwidgets.org ##
36866 ## ----------------------------------------- ##
36869 sed "s/^/$as_me: WARNING: /" >&2
36872 echo "$as_me:$LINENO: checking for $ac_header" >&5
36873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36875 echo $ECHO_N "(cached) $ECHO_C" >&6
36877 eval "$as_ac_Header=\$ac_header_preproc"
36879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36884 cat >>confdefs.h
<<_ACEOF
36885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36893 if test "$ac_cv_header_ole2_h" = "yes" ; then
36894 if test "$GCC" = yes ; then
36898 ac_cpp
='$CXXCPP $CPPFLAGS'
36899 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36900 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36901 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36904 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36905 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36906 cat >conftest.
$ac_ext <<_ACEOF
36909 cat confdefs.h
>>conftest.
$ac_ext
36910 cat >>conftest.
$ac_ext <<_ACEOF
36911 /* end confdefs.h. */
36912 #include <windows.h>
36922 rm -f conftest.
$ac_objext
36923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36924 (eval $ac_compile) 2>conftest.er1
36926 grep -v '^ *+' conftest.er1
>conftest.err
36928 cat conftest.err
>&5
36929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36930 (exit $ac_status); } &&
36931 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36933 (eval $ac_try) 2>&5
36935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36936 (exit $ac_status); }; } &&
36937 { ac_try
='test -s conftest.$ac_objext'
36938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36939 (eval $ac_try) 2>&5
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); }; }; then
36943 echo "$as_me:$LINENO: result: no" >&5
36944 echo "${ECHO_T}no" >&6
36946 echo "$as_me: failed program was:" >&5
36947 sed 's/^/| /' conftest.
$ac_ext >&5
36949 echo "$as_me:$LINENO: result: yes" >&5
36950 echo "${ECHO_T}yes" >&6
36951 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36955 ac_cpp
='$CPP $CPPFLAGS'
36956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36960 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36961 if test "$wxUSE_OLE" = "yes" ; then
36962 cat >>confdefs.h
<<\_ACEOF
36963 #define wxUSE_OLE 1
36969 if test "$wxUSE_DATAOBJ" = "yes" ; then
36970 cat >>confdefs.h
<<\_ACEOF
36971 #define wxUSE_DATAOBJ 1
36976 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36977 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36980 wxUSE_DRAG_AND_DROP
=no
36985 if test "$wxUSE_METAFILE" = "yes"; then
36986 cat >>confdefs.h
<<\_ACEOF
36987 #define wxUSE_METAFILE 1
36991 cat >>confdefs.h
<<\_ACEOF
36992 #define wxUSE_ENH_METAFILE 1
36998 if test "$wxUSE_IPC" = "yes"; then
36999 if test "$wxUSE_SOCKETS" != "yes"; then
37000 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37001 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37004 cat >>confdefs.h
<<\_ACEOF
37005 #define wxUSE_IPC 1
37010 if test "$wxUSE_CLIPBOARD" = "yes"; then
37011 if test "$wxUSE_MGL" = 1; then
37012 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37013 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37017 if test "$wxUSE_CLIPBOARD" = "yes"; then
37018 cat >>confdefs.h
<<\_ACEOF
37019 #define wxUSE_CLIPBOARD 1
37023 cat >>confdefs.h
<<\_ACEOF
37024 #define wxUSE_DATAOBJ 1
37030 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37031 if test "$wxUSE_GTK" = 1; then
37032 if test "$WXGTK12" != 1; then
37033 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37034 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37035 wxUSE_DRAG_AND_DROP
=no
37039 if test "$wxUSE_MOTIF" = 1; then
37040 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37041 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37042 wxUSE_DRAG_AND_DROP
=no
37045 if test "$wxUSE_X11" = 1; then
37046 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37047 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37048 wxUSE_DRAG_AND_DROP
=no
37051 if test "$wxUSE_MGL" = 1; then
37052 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37053 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37054 wxUSE_DRAG_AND_DROP
=no
37057 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37058 cat >>confdefs.h
<<\_ACEOF
37059 #define wxUSE_DRAG_AND_DROP 1
37066 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37070 if test "$wxUSE_SPLINES" = "yes" ; then
37071 cat >>confdefs.h
<<\_ACEOF
37072 #define wxUSE_SPLINES 1
37079 if test "$wxUSE_CONTROLS" = "yes"; then
37083 if test "$wxUSE_ACCEL" = "yes"; then
37084 cat >>confdefs.h
<<\_ACEOF
37085 #define wxUSE_ACCEL 1
37091 if test "$wxUSE_BUTTON" = "yes"; then
37092 cat >>confdefs.h
<<\_ACEOF
37093 #define wxUSE_BUTTON 1
37099 if test "$wxUSE_BMPBUTTON" = "yes"; then
37100 cat >>confdefs.h
<<\_ACEOF
37101 #define wxUSE_BMPBUTTON 1
37107 if test "$wxUSE_CALCTRL" = "yes"; then
37108 cat >>confdefs.h
<<\_ACEOF
37109 #define wxUSE_CALENDARCTRL 1
37113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37116 if test "$wxUSE_CARET" = "yes"; then
37117 cat >>confdefs.h
<<\_ACEOF
37118 #define wxUSE_CARET 1
37122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37125 if test "$wxUSE_COMBOBOX" = "yes"; then
37126 cat >>confdefs.h
<<\_ACEOF
37127 #define wxUSE_COMBOBOX 1
37133 if test "$wxUSE_CHOICE" = "yes"; then
37134 cat >>confdefs.h
<<\_ACEOF
37135 #define wxUSE_CHOICE 1
37141 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37142 cat >>confdefs.h
<<\_ACEOF
37143 #define wxUSE_CHOICEBOOK 1
37149 if test "$wxUSE_CHECKBOX" = "yes"; then
37150 cat >>confdefs.h
<<\_ACEOF
37151 #define wxUSE_CHECKBOX 1
37157 if test "$wxUSE_CHECKLST" = "yes"; then
37158 cat >>confdefs.h
<<\_ACEOF
37159 #define wxUSE_CHECKLISTBOX 1
37163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37166 if test "$wxUSE_DISPLAY" = "yes"; then
37167 cat >>confdefs.h
<<\_ACEOF
37168 #define wxUSE_DISPLAY 1
37171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37174 if test "$wxUSE_GAUGE" = "yes"; then
37175 cat >>confdefs.h
<<\_ACEOF
37176 #define wxUSE_GAUGE 1
37182 if test "$wxUSE_GRID" = "yes"; then
37183 cat >>confdefs.h
<<\_ACEOF
37184 #define wxUSE_GRID 1
37188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37191 if test "$wxUSE_IMAGLIST" = "yes"; then
37192 cat >>confdefs.h
<<\_ACEOF
37193 #define wxUSE_IMAGLIST 1
37198 if test "$wxUSE_LISTBOOK" = "yes"; then
37199 cat >>confdefs.h
<<\_ACEOF
37200 #define wxUSE_LISTBOOK 1
37206 if test "$wxUSE_LISTBOX" = "yes"; then
37207 cat >>confdefs.h
<<\_ACEOF
37208 #define wxUSE_LISTBOX 1
37214 if test "$wxUSE_LISTCTRL" = "yes"; then
37215 if test "$wxUSE_IMAGLIST" = "yes"; then
37216 cat >>confdefs.h
<<\_ACEOF
37217 #define wxUSE_LISTCTRL 1
37221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37223 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37224 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37228 if test "$wxUSE_NOTEBOOK" = "yes"; then
37229 cat >>confdefs.h
<<\_ACEOF
37230 #define wxUSE_NOTEBOOK 1
37234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37238 if test "$wxUSE_RADIOBOX" = "yes"; then
37239 cat >>confdefs.h
<<\_ACEOF
37240 #define wxUSE_RADIOBOX 1
37246 if test "$wxUSE_RADIOBTN" = "yes"; then
37247 cat >>confdefs.h
<<\_ACEOF
37248 #define wxUSE_RADIOBTN 1
37254 if test "$wxUSE_SASH" = "yes"; then
37255 cat >>confdefs.h
<<\_ACEOF
37256 #define wxUSE_SASH 1
37259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37262 if test "$wxUSE_SCROLLBAR" = "yes"; then
37263 cat >>confdefs.h
<<\_ACEOF
37264 #define wxUSE_SCROLLBAR 1
37268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37271 if test "$wxUSE_SLIDER" = "yes"; then
37272 cat >>confdefs.h
<<\_ACEOF
37273 #define wxUSE_SLIDER 1
37279 if test "$wxUSE_SPINBTN" = "yes"; then
37280 cat >>confdefs.h
<<\_ACEOF
37281 #define wxUSE_SPINBTN 1
37287 if test "$wxUSE_SPINCTRL" = "yes"; then
37288 cat >>confdefs.h
<<\_ACEOF
37289 #define wxUSE_SPINCTRL 1
37295 if test "$wxUSE_SPLITTER" = "yes"; then
37296 cat >>confdefs.h
<<\_ACEOF
37297 #define wxUSE_SPLITTER 1
37300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37303 if test "$wxUSE_STATBMP" = "yes"; then
37304 cat >>confdefs.h
<<\_ACEOF
37305 #define wxUSE_STATBMP 1
37311 if test "$wxUSE_STATBOX" = "yes"; then
37312 cat >>confdefs.h
<<\_ACEOF
37313 #define wxUSE_STATBOX 1
37319 if test "$wxUSE_STATTEXT" = "yes"; then
37320 cat >>confdefs.h
<<\_ACEOF
37321 #define wxUSE_STATTEXT 1
37327 if test "$wxUSE_STATLINE" = "yes"; then
37328 cat >>confdefs.h
<<\_ACEOF
37329 #define wxUSE_STATLINE 1
37335 if test "$wxUSE_STATUSBAR" = "yes"; then
37336 cat >>confdefs.h
<<\_ACEOF
37337 #define wxUSE_STATUSBAR 1
37342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37345 if test "$wxUSE_TABDIALOG" = "yes"; then
37346 cat >>confdefs.h
<<\_ACEOF
37347 #define wxUSE_TAB_DIALOG 1
37350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37353 if test "$wxUSE_TEXTCTRL" = "yes"; then
37354 cat >>confdefs.h
<<\_ACEOF
37355 #define wxUSE_TEXTCTRL 1
37359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37362 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37363 if test "$wxUSE_COCOA" = 1 ; then
37364 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37365 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37368 if test "$wxUSE_PM" = 1; then
37369 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37370 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37374 if test "$wxUSE_UNIVERSAL" = "yes"; then
37375 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37376 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37380 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37381 cat >>confdefs.h
<<\_ACEOF
37382 #define wxUSE_TOGGLEBTN 1
37389 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37390 cat >>confdefs.h
<<\_ACEOF
37391 #define wxUSE_TOOLBAR_SIMPLE 1
37394 wxUSE_TOOLBAR
="yes"
37398 if test "$wxUSE_TOOLBAR" = "yes"; then
37399 cat >>confdefs.h
<<\_ACEOF
37400 #define wxUSE_TOOLBAR 1
37405 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37406 wxUSE_TOOLBAR_NATIVE
="yes"
37409 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37410 cat >>confdefs.h
<<\_ACEOF
37411 #define wxUSE_TOOLBAR_NATIVE 1
37417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37420 if test "$wxUSE_TOOLTIPS" = "yes"; then
37421 if test "$wxUSE_MOTIF" = 1; then
37422 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37423 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37425 if test "$wxUSE_UNIVERSAL" = "yes"; then
37426 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37427 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37429 cat >>confdefs.h
<<\_ACEOF
37430 #define wxUSE_TOOLTIPS 1
37437 if test "$wxUSE_TREECTRL" = "yes"; then
37438 if test "$wxUSE_IMAGLIST" = "yes"; then
37439 cat >>confdefs.h
<<\_ACEOF
37440 #define wxUSE_TREECTRL 1
37444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37446 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37447 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37451 if test "$wxUSE_POPUPWIN" = "yes"; then
37452 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37453 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37454 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37456 if test "$wxUSE_PM" = 1; then
37457 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37458 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37460 cat >>confdefs.h
<<\_ACEOF
37461 #define wxUSE_POPUPWIN 1
37470 if test "$wxUSE_TIPWINDOW" = "yes"; then
37471 if test "$wxUSE_PM" = 1; then
37472 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37473 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37475 cat >>confdefs.h
<<\_ACEOF
37476 #define wxUSE_TIPWINDOW 1
37482 if test "$USES_CONTROLS" = 1; then
37483 cat >>confdefs.h
<<\_ACEOF
37484 #define wxUSE_CONTROLS 1
37490 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37491 cat >>confdefs.h
<<\_ACEOF
37492 #define wxUSE_ACCESSIBILITY 1
37495 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37498 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37499 cat >>confdefs.h
<<\_ACEOF
37500 #define wxUSE_DRAGIMAGE 1
37503 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37506 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37507 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37508 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37509 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37511 cat >>confdefs.h
<<\_ACEOF
37512 #define wxUSE_EXCEPTIONS 1
37515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
37520 if test "$wxUSE_HTML" = "yes"; then
37521 cat >>confdefs.h
<<\_ACEOF
37522 #define wxUSE_HTML 1
37526 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37527 if test "$wxUSE_MAC" = 1; then
37528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
37531 if test "$wxUSE_WEBKIT" = "yes"; then
37532 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
37533 old_CPPFLAGS
="$CPPFLAGS"
37534 CPPFLAGS
="$CPPFLAGS -x objective-c++"
37535 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37536 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37537 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37538 echo $ECHO_N "(cached) $ECHO_C" >&6
37540 cat >conftest.
$ac_ext <<_ACEOF
37543 cat confdefs.h
>>conftest.
$ac_ext
37544 cat >>conftest.
$ac_ext <<_ACEOF
37545 /* end confdefs.h. */
37546 #include <Carbon/Carbon.h>
37548 #include <WebKit/HIWebView.h>
37550 rm -f conftest.
$ac_objext
37551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37552 (eval $ac_compile) 2>conftest.er1
37554 grep -v '^ *+' conftest.er1
>conftest.err
37556 cat conftest.err
>&5
37557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558 (exit $ac_status); } &&
37559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37561 (eval $ac_try) 2>&5
37563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37564 (exit $ac_status); }; } &&
37565 { ac_try
='test -s conftest.$ac_objext'
37566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37567 (eval $ac_try) 2>&5
37569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37570 (exit $ac_status); }; }; then
37571 ac_cv_header_WebKit_HIWebView_h
=yes
37573 echo "$as_me: failed program was:" >&5
37574 sed 's/^/| /' conftest.
$ac_ext >&5
37576 ac_cv_header_WebKit_HIWebView_h
=no
37578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37580 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37581 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37582 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37584 cat >>confdefs.h
<<\_ACEOF
37585 #define wxUSE_WEBKIT 1
37588 WEBKIT_LINK
="-framework WebKit"
37592 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37593 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37599 CPPFLAGS
="$old_CPPFLAGS"
37600 elif test "$wxUSE_COCOA" = 1; then
37601 cat >>confdefs.h
<<\_ACEOF
37602 #define wxUSE_WEBKIT 1
37611 if test "$wxUSE_XRC" = "yes"; then
37612 if test "$wxUSE_XML" != "yes"; then
37613 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37614 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37617 cat >>confdefs.h
<<\_ACEOF
37618 #define wxUSE_XRC 1
37622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
37626 if test "$wxUSE_MENUS" = "yes"; then
37627 cat >>confdefs.h
<<\_ACEOF
37628 #define wxUSE_MENUS 1
37631 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37634 if test "$wxUSE_METAFILE" = "yes"; then
37635 cat >>confdefs.h
<<\_ACEOF
37636 #define wxUSE_METAFILE 1
37641 if test "$wxUSE_MIMETYPE" = "yes"; then
37642 cat >>confdefs.h
<<\_ACEOF
37643 #define wxUSE_MIMETYPE 1
37648 if test "$wxUSE_MINIFRAME" = "yes"; then
37649 cat >>confdefs.h
<<\_ACEOF
37650 #define wxUSE_MINIFRAME 1
37653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37656 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37657 cat >>confdefs.h
<<\_ACEOF
37658 #define wxUSE_SYSTEM_OPTIONS 1
37661 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37662 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37668 if test "$wxUSE_VALIDATORS" = "yes"; then
37669 cat >>confdefs.h
<<\_ACEOF
37670 #define wxUSE_VALIDATORS 1
37673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37676 if test "$wxUSE_PALETTE" = "yes" ; then
37677 cat >>confdefs.h
<<\_ACEOF
37678 #define wxUSE_PALETTE 1
37683 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37684 LIBS
=" -lunicows $LIBS"
37688 if test "$wxUSE_IMAGE" = "yes" ; then
37689 cat >>confdefs.h
<<\_ACEOF
37690 #define wxUSE_IMAGE 1
37694 if test "$wxUSE_GIF" = "yes" ; then
37695 cat >>confdefs.h
<<\_ACEOF
37696 #define wxUSE_GIF 1
37701 if test "$wxUSE_PCX" = "yes" ; then
37702 cat >>confdefs.h
<<\_ACEOF
37703 #define wxUSE_PCX 1
37708 if test "$wxUSE_IFF" = "yes" ; then
37709 cat >>confdefs.h
<<\_ACEOF
37710 #define wxUSE_IFF 1
37715 if test "$wxUSE_PNM" = "yes" ; then
37716 cat >>confdefs.h
<<\_ACEOF
37717 #define wxUSE_PNM 1
37722 if test "$wxUSE_XPM" = "yes" ; then
37723 cat >>confdefs.h
<<\_ACEOF
37724 #define wxUSE_XPM 1
37729 if test "$wxUSE_ICO_CUR" = "yes" ; then
37730 cat >>confdefs.h
<<\_ACEOF
37731 #define wxUSE_ICO_CUR 1
37738 if test "$wxUSE_CHOICEDLG" = "yes"; then
37739 cat >>confdefs.h
<<\_ACEOF
37740 #define wxUSE_CHOICEDLG 1
37745 if test "$wxUSE_COLOURDLG" = "yes"; then
37746 cat >>confdefs.h
<<\_ACEOF
37747 #define wxUSE_COLOURDLG 1
37752 if test "$wxUSE_FILEDLG" = "yes"; then
37753 cat >>confdefs.h
<<\_ACEOF
37754 #define wxUSE_FILEDLG 1
37759 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37760 cat >>confdefs.h
<<\_ACEOF
37761 #define wxUSE_FINDREPLDLG 1
37766 if test "$wxUSE_FONTDLG" = "yes"; then
37767 cat >>confdefs.h
<<\_ACEOF
37768 #define wxUSE_FONTDLG 1
37773 if test "$wxUSE_DIRDLG" = "yes"; then
37774 if test "$wxUSE_TREECTRL" != "yes"; then
37775 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37776 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37778 cat >>confdefs.h
<<\_ACEOF
37779 #define wxUSE_DIRDLG 1
37785 if test "$wxUSE_MSGDLG" = "yes"; then
37786 cat >>confdefs.h
<<\_ACEOF
37787 #define wxUSE_MSGDLG 1
37792 if test "$wxUSE_NUMBERDLG" = "yes"; then
37793 cat >>confdefs.h
<<\_ACEOF
37794 #define wxUSE_NUMBERDLG 1
37799 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37800 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37801 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37802 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37804 cat >>confdefs.h
<<\_ACEOF
37805 #define wxUSE_PROGRESSDLG 1
37811 if test "$wxUSE_SPLASH" = "yes"; then
37812 cat >>confdefs.h
<<\_ACEOF
37813 #define wxUSE_SPLASH 1
37816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37819 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37820 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37821 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37822 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37824 cat >>confdefs.h
<<\_ACEOF
37825 #define wxUSE_STARTUP_TIPS 1
37831 if test "$wxUSE_TEXTDLG" = "yes"; then
37832 cat >>confdefs.h
<<\_ACEOF
37833 #define wxUSE_TEXTDLG 1
37838 if test "$wxUSE_WIZARDDLG" = "yes"; then
37839 cat >>confdefs.h
<<\_ACEOF
37840 #define wxUSE_WIZARDDLG 1
37843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37847 if test "$cross_compiling" = "yes"; then
37850 OSINFO
=`uname -s -r -m`
37851 OSINFO
="\"$OSINFO\""
37854 cat >>confdefs.h
<<_ACEOF
37855 #define WXWIN_OS_DESCRIPTION $OSINFO
37860 if test "x$prefix" != "xNONE"; then
37863 wxPREFIX
=$ac_default_prefix
37866 cat >>confdefs.h
<<_ACEOF
37867 #define wxINSTALL_PREFIX "$wxPREFIX"
37873 CORE_BASE_LIBS
="net base"
37874 CORE_GUI_LIBS
="adv core"
37876 if test "$wxUSE_XML" = "yes" ; then
37877 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37879 if test "$wxUSE_ODBC" != "no" ; then
37880 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37881 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37883 if test "$wxUSE_HTML" = "yes" ; then
37884 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37886 if test "$wxUSE_XRC" = "yes" ; then
37887 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
37890 if test "$wxUSE_GUI" != "yes"; then
37901 if test "$wxUSE_MAC" = 1 ; then
37902 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
37903 if test "$USE_DARWIN" = 1; then
37904 LDFLAGS
="$LDFLAGS -framework QuickTime"
37906 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
37909 if test "$USE_DARWIN" = 1; then
37910 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
37912 LDFLAGS
="$LDFLAGS -lCarbonLib"
37915 if test "$wxUSE_COCOA" = 1 ; then
37916 LDFLAGS
="$LDFLAGS -framework Cocoa"
37920 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37927 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37928 echo "$as_me:$LINENO: checking for $ac_func" >&5
37929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37930 if eval "test \"\${$as_ac_var+set}\" = set"; then
37931 echo $ECHO_N "(cached) $ECHO_C" >&6
37933 cat >conftest.
$ac_ext <<_ACEOF
37936 cat confdefs.h
>>conftest.
$ac_ext
37937 cat >>conftest.
$ac_ext <<_ACEOF
37938 /* end confdefs.h. */
37939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37941 #define $ac_func innocuous_$ac_func
37943 /* System header to define __stub macros and hopefully few prototypes,
37944 which can conflict with char $ac_func (); below.
37945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37946 <limits.h> exists even on freestanding compilers. */
37949 # include <limits.h>
37951 # include <assert.h>
37956 /* Override any gcc2 internal prototype to avoid an error. */
37961 /* We use char because int might match the return type of a gcc2
37962 builtin and then its argument prototype would still apply. */
37964 /* The GNU C library defines this for functions which it implements
37965 to always fail with ENOSYS. Some functions are actually named
37966 something starting with __ and the normal name is an alias. */
37967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37970 char (*f) () = $ac_func;
37979 return f != $ac_func;
37984 rm -f conftest.
$ac_objext conftest
$ac_exeext
37985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37986 (eval $ac_link) 2>conftest.er1
37988 grep -v '^ *+' conftest.er1
>conftest.err
37990 cat conftest.err
>&5
37991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37992 (exit $ac_status); } &&
37993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37995 (eval $ac_try) 2>&5
37997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37998 (exit $ac_status); }; } &&
37999 { ac_try
='test -s conftest$ac_exeext'
38000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38001 (eval $ac_try) 2>&5
38003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38004 (exit $ac_status); }; }; then
38005 eval "$as_ac_var=yes"
38007 echo "$as_me: failed program was:" >&5
38008 sed 's/^/| /' conftest.
$ac_ext >&5
38010 eval "$as_ac_var=no"
38012 rm -f conftest.err conftest.
$ac_objext \
38013 conftest
$ac_exeext conftest.
$ac_ext
38015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38017 if test `eval echo '${'$as_ac_var'}'` = yes; then
38018 cat >>confdefs.h
<<_ACEOF
38019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38026 for ac_func
in floor
38028 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38029 echo "$as_me:$LINENO: checking for $ac_func" >&5
38030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38031 if eval "test \"\${$as_ac_var+set}\" = set"; then
38032 echo $ECHO_N "(cached) $ECHO_C" >&6
38034 cat >conftest.
$ac_ext <<_ACEOF
38037 cat confdefs.h
>>conftest.
$ac_ext
38038 cat >>conftest.
$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38042 #define $ac_func innocuous_$ac_func
38044 /* System header to define __stub macros and hopefully few prototypes,
38045 which can conflict with char $ac_func (); below.
38046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38047 <limits.h> exists even on freestanding compilers. */
38050 # include <limits.h>
38052 # include <assert.h>
38057 /* Override any gcc2 internal prototype to avoid an error. */
38062 /* We use char because int might match the return type of a gcc2
38063 builtin and then its argument prototype would still apply. */
38065 /* The GNU C library defines this for functions which it implements
38066 to always fail with ENOSYS. Some functions are actually named
38067 something starting with __ and the normal name is an alias. */
38068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38071 char (*f) () = $ac_func;
38080 return f != $ac_func;
38085 rm -f conftest.
$ac_objext conftest
$ac_exeext
38086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38087 (eval $ac_link) 2>conftest.er1
38089 grep -v '^ *+' conftest.er1
>conftest.err
38091 cat conftest.err
>&5
38092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38093 (exit $ac_status); } &&
38094 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38096 (eval $ac_try) 2>&5
38098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38099 (exit $ac_status); }; } &&
38100 { ac_try
='test -s conftest$ac_exeext'
38101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38102 (eval $ac_try) 2>&5
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); }; }; then
38106 eval "$as_ac_var=yes"
38108 echo "$as_me: failed program was:" >&5
38109 sed 's/^/| /' conftest.
$ac_ext >&5
38111 eval "$as_ac_var=no"
38113 rm -f conftest.err conftest.
$ac_objext \
38114 conftest
$ac_exeext conftest.
$ac_ext
38116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38118 if test `eval echo '${'$as_ac_var'}'` = yes; then
38119 cat >>confdefs.h
<<_ACEOF
38120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38126 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38127 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38128 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38129 echo "$as_me:$LINENO: result: yes" >&5
38130 echo "${ECHO_T}yes" >&6
38132 echo "$as_me:$LINENO: result: no" >&5
38133 echo "${ECHO_T}no" >&6
38135 # use different functions to avoid configure caching
38141 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38142 echo "$as_me:$LINENO: checking for $ac_func" >&5
38143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38144 if eval "test \"\${$as_ac_var+set}\" = set"; then
38145 echo $ECHO_N "(cached) $ECHO_C" >&6
38147 cat >conftest.
$ac_ext <<_ACEOF
38150 cat confdefs.h
>>conftest.
$ac_ext
38151 cat >>conftest.
$ac_ext <<_ACEOF
38152 /* end confdefs.h. */
38153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38155 #define $ac_func innocuous_$ac_func
38157 /* System header to define __stub macros and hopefully few prototypes,
38158 which can conflict with char $ac_func (); below.
38159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38160 <limits.h> exists even on freestanding compilers. */
38163 # include <limits.h>
38165 # include <assert.h>
38170 /* Override any gcc2 internal prototype to avoid an error. */
38175 /* We use char because int might match the return type of a gcc2
38176 builtin and then its argument prototype would still apply. */
38178 /* The GNU C library defines this for functions which it implements
38179 to always fail with ENOSYS. Some functions are actually named
38180 something starting with __ and the normal name is an alias. */
38181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38184 char (*f) () = $ac_func;
38193 return f != $ac_func;
38198 rm -f conftest.
$ac_objext conftest
$ac_exeext
38199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38200 (eval $ac_link) 2>conftest.er1
38202 grep -v '^ *+' conftest.er1
>conftest.err
38204 cat conftest.err
>&5
38205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38206 (exit $ac_status); } &&
38207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38209 (eval $ac_try) 2>&5
38211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38212 (exit $ac_status); }; } &&
38213 { ac_try
='test -s conftest$ac_exeext'
38214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38215 (eval $ac_try) 2>&5
38217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218 (exit $ac_status); }; }; then
38219 eval "$as_ac_var=yes"
38221 echo "$as_me: failed program was:" >&5
38222 sed 's/^/| /' conftest.
$ac_ext >&5
38224 eval "$as_ac_var=no"
38226 rm -f conftest.err conftest.
$ac_objext \
38227 conftest
$ac_exeext conftest.
$ac_ext
38229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38231 if test `eval echo '${'$as_ac_var'}'` = yes; then
38232 cat >>confdefs.h
<<_ACEOF
38233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38240 for ac_func
in ceil
38242 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38243 echo "$as_me:$LINENO: checking for $ac_func" >&5
38244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38245 if eval "test \"\${$as_ac_var+set}\" = set"; then
38246 echo $ECHO_N "(cached) $ECHO_C" >&6
38248 cat >conftest.
$ac_ext <<_ACEOF
38251 cat confdefs.h
>>conftest.
$ac_ext
38252 cat >>conftest.
$ac_ext <<_ACEOF
38253 /* end confdefs.h. */
38254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38256 #define $ac_func innocuous_$ac_func
38258 /* System header to define __stub macros and hopefully few prototypes,
38259 which can conflict with char $ac_func (); below.
38260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38261 <limits.h> exists even on freestanding compilers. */
38264 # include <limits.h>
38266 # include <assert.h>
38271 /* Override any gcc2 internal prototype to avoid an error. */
38276 /* We use char because int might match the return type of a gcc2
38277 builtin and then its argument prototype would still apply. */
38279 /* The GNU C library defines this for functions which it implements
38280 to always fail with ENOSYS. Some functions are actually named
38281 something starting with __ and the normal name is an alias. */
38282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38285 char (*f) () = $ac_func;
38294 return f != $ac_func;
38299 rm -f conftest.
$ac_objext conftest
$ac_exeext
38300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38301 (eval $ac_link) 2>conftest.er1
38303 grep -v '^ *+' conftest.er1
>conftest.err
38305 cat conftest.err
>&5
38306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38307 (exit $ac_status); } &&
38308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38310 (eval $ac_try) 2>&5
38312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38313 (exit $ac_status); }; } &&
38314 { ac_try
='test -s conftest$ac_exeext'
38315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38316 (eval $ac_try) 2>&5
38318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38319 (exit $ac_status); }; }; then
38320 eval "$as_ac_var=yes"
38322 echo "$as_me: failed program was:" >&5
38323 sed 's/^/| /' conftest.
$ac_ext >&5
38325 eval "$as_ac_var=no"
38327 rm -f conftest.err conftest.
$ac_objext \
38328 conftest
$ac_exeext conftest.
$ac_ext
38330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38332 if test `eval echo '${'$as_ac_var'}'` = yes; then
38333 cat >>confdefs.h
<<_ACEOF
38334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38340 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38341 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38342 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38343 echo "$as_me:$LINENO: result: yes" >&5
38344 echo "${ECHO_T}yes" >&6
38346 echo "$as_me:$LINENO: result: no" >&5
38347 echo "${ECHO_T}no" >&6
38348 # not sure we should warn the user, crash, etc.
38352 if test "$wxUSE_GUI" = "yes"; then
38355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
38356 drawing dynamic erase event exec font image \
38357 minimal propsize rotate shaped widgets render"
38359 if test "$wxUSE_MONOLITHIC" != "yes"; then
38360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
38363 SAMPLES_SUBDIRS
="console"
38367 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
38368 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38370 if test "$GXX" = yes ; then
38372 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
38375 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38377 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
38378 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
38379 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
38383 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38384 EXTRALIBS_XML
="$EXPAT_LINK"
38385 EXTRALIBS_HTML
="$MSPACK_LINK"
38386 EXTRALIBS_ODBC
="$ODBC_LINK"
38387 if test "$wxUSE_GUI" = "yes"; then
38388 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38390 if test "$wxUSE_OPENGL" = "yes"; then
38391 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38394 LDFLAGS
="$LDFLAGS $PROFILE"
38396 if test "$wxUSE_GTK" = 1; then
38399 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38402 WXCONFIG_EXTRALIBS
="$LIBS"
38404 if test "$wxUSE_REGEX" = "builtin" ; then
38405 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38407 if test "$wxUSE_EXPAT" = "builtin" ; then
38408 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38410 if test "$wxUSE_ODBC" = "builtin" ; then
38411 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38413 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38414 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38416 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38417 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38419 if test "$wxUSE_LIBPNG" = "builtin" ; then
38420 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38422 if test "$wxUSE_ZLIB" = "builtin" ; then
38423 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38425 if test "$wxUSE_ODBC" = "builtin" ; then
38426 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38429 for i
in $wxconfig_3rdparty ; do
38430 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38434 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38448 if test $wxUSE_MONOLITHIC = "yes" ; then
38454 if test $wxUSE_PLUGINS = "yes" ; then
38460 if test $wxUSE_ODBC != "no" ; then
38466 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38494 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38505 TOOLKIT_USER
="GTK+"
38506 if test "$WXGTK20" = 1; then
38507 TOOLKIT_USER
="$TOOLKIT_USER 2"
38512 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
38519 if test "x$BAKEFILE_HOST" = "x"; then
38520 BAKEFILE_HOST
="${host}"
38523 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38525 if test -n "$ac_tool_prefix"; then
38526 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38527 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38528 echo "$as_me:$LINENO: checking for $ac_word" >&5
38529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38530 if test "${ac_cv_prog_RANLIB+set}" = set; then
38531 echo $ECHO_N "(cached) $ECHO_C" >&6
38533 if test -n "$RANLIB"; then
38534 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38537 for as_dir
in $PATH
38540 test -z "$as_dir" && as_dir
=.
38541 for ac_exec_ext
in '' $ac_executable_extensions; do
38542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38543 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38552 RANLIB
=$ac_cv_prog_RANLIB
38553 if test -n "$RANLIB"; then
38554 echo "$as_me:$LINENO: result: $RANLIB" >&5
38555 echo "${ECHO_T}$RANLIB" >&6
38557 echo "$as_me:$LINENO: result: no" >&5
38558 echo "${ECHO_T}no" >&6
38562 if test -z "$ac_cv_prog_RANLIB"; then
38563 ac_ct_RANLIB
=$RANLIB
38564 # Extract the first word of "ranlib", so it can be a program name with args.
38565 set dummy ranlib
; ac_word
=$2
38566 echo "$as_me:$LINENO: checking for $ac_word" >&5
38567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38568 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38569 echo $ECHO_N "(cached) $ECHO_C" >&6
38571 if test -n "$ac_ct_RANLIB"; then
38572 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38575 for as_dir
in $PATH
38578 test -z "$as_dir" && as_dir
=.
38579 for ac_exec_ext
in '' $ac_executable_extensions; do
38580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38581 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38588 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38591 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38592 if test -n "$ac_ct_RANLIB"; then
38593 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38594 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38596 echo "$as_me:$LINENO: result: no" >&5
38597 echo "${ECHO_T}no" >&6
38600 RANLIB
=$ac_ct_RANLIB
38602 RANLIB
="$ac_cv_prog_RANLIB"
38605 # Find a good install program. We prefer a C program (faster),
38606 # so one script is as good as another. But avoid the broken or
38607 # incompatible versions:
38608 # SysV /etc/install, /usr/sbin/install
38609 # SunOS /usr/etc/install
38610 # IRIX /sbin/install
38612 # AmigaOS /C/install, which installs bootblocks on floppy discs
38613 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38614 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38615 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38616 # OS/2's system install, which has a completely different semantic
38617 # ./install, which can be erroneously created by make from ./install.sh.
38618 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38619 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38620 if test -z "$INSTALL"; then
38621 if test "${ac_cv_path_install+set}" = set; then
38622 echo $ECHO_N "(cached) $ECHO_C" >&6
38624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38625 for as_dir
in $PATH
38628 test -z "$as_dir" && as_dir
=.
38629 # Account for people who put trailing slashes in PATH elements.
38631 .
/ | .
// | /cC
/* | \
38632 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38633 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38636 # OSF1 and SCO ODT 3.0 have their own names for install.
38637 # Don't use installbsd from OSF since it installs stuff as root
38639 for ac_prog
in ginstall scoinst
install; do
38640 for ac_exec_ext
in '' $ac_executable_extensions; do
38641 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38642 if test $ac_prog = install &&
38643 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38644 # AIX install. It has an incompatible calling convention.
38646 elif test $ac_prog = install &&
38647 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38648 # program-specific install script used by HP pwplus--don't use.
38651 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38663 if test "${ac_cv_path_install+set}" = set; then
38664 INSTALL
=$ac_cv_path_install
38666 # As a last resort, use the slow shell script. We don't cache a
38667 # path for INSTALL within a source directory, because that will
38668 # break other packages using the cache if that directory is
38669 # removed, or if the path is relative.
38670 INSTALL
=$ac_install_sh
38673 echo "$as_me:$LINENO: result: $INSTALL" >&5
38674 echo "${ECHO_T}$INSTALL" >&6
38676 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38677 # It thinks the first close brace ends the variable substitution.
38678 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38680 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38682 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38684 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38685 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38687 if test "$LN_S" = "ln -s"; then
38688 echo "$as_me:$LINENO: result: yes" >&5
38689 echo "${ECHO_T}yes" >&6
38691 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38692 echo "${ECHO_T}no, using $LN_S" >&6
38696 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38697 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38698 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38699 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38700 echo $ECHO_N "(cached) $ECHO_C" >&6
38702 cat >conftest.
make <<\_ACEOF
38704 @
echo 'ac_maketemp="$(MAKE)"'
38706 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38707 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38708 if test -n "$ac_maketemp"; then
38709 eval ac_cv_prog_make_
${ac_make}_set
=yes
38711 eval ac_cv_prog_make_
${ac_make}_set
=no
38713 rm -f conftest.
make
38715 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38716 echo "$as_me:$LINENO: result: yes" >&5
38717 echo "${ECHO_T}yes" >&6
38720 echo "$as_me:$LINENO: result: no" >&5
38721 echo "${ECHO_T}no" >&6
38722 SET_MAKE
="MAKE=${MAKE-make}"
38727 if test -n "$ac_tool_prefix"; then
38728 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38729 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38730 echo "$as_me:$LINENO: checking for $ac_word" >&5
38731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38732 if test "${ac_cv_prog_AR+set}" = set; then
38733 echo $ECHO_N "(cached) $ECHO_C" >&6
38735 if test -n "$AR"; then
38736 ac_cv_prog_AR
="$AR" # Let the user override the test.
38738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38739 for as_dir
in $PATH
38742 test -z "$as_dir" && as_dir
=.
38743 for ac_exec_ext
in '' $ac_executable_extensions; do
38744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38745 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38755 if test -n "$AR"; then
38756 echo "$as_me:$LINENO: result: $AR" >&5
38757 echo "${ECHO_T}$AR" >&6
38759 echo "$as_me:$LINENO: result: no" >&5
38760 echo "${ECHO_T}no" >&6
38764 if test -z "$ac_cv_prog_AR"; then
38766 # Extract the first word of "ar", so it can be a program name with args.
38767 set dummy
ar; ac_word
=$2
38768 echo "$as_me:$LINENO: checking for $ac_word" >&5
38769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38770 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38771 echo $ECHO_N "(cached) $ECHO_C" >&6
38773 if test -n "$ac_ct_AR"; then
38774 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38777 for as_dir
in $PATH
38780 test -z "$as_dir" && as_dir
=.
38781 for ac_exec_ext
in '' $ac_executable_extensions; do
38782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38783 ac_cv_prog_ac_ct_AR
="ar"
38784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38790 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38793 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38794 if test -n "$ac_ct_AR"; then
38795 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38796 echo "${ECHO_T}$ac_ct_AR" >&6
38798 echo "$as_me:$LINENO: result: no" >&5
38799 echo "${ECHO_T}no" >&6
38804 AR
="$ac_cv_prog_AR"
38807 if test -n "$ac_tool_prefix"; then
38808 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38809 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38810 echo "$as_me:$LINENO: checking for $ac_word" >&5
38811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38812 if test "${ac_cv_prog_STRIP+set}" = set; then
38813 echo $ECHO_N "(cached) $ECHO_C" >&6
38815 if test -n "$STRIP"; then
38816 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38819 for as_dir
in $PATH
38822 test -z "$as_dir" && as_dir
=.
38823 for ac_exec_ext
in '' $ac_executable_extensions; do
38824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38825 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38834 STRIP
=$ac_cv_prog_STRIP
38835 if test -n "$STRIP"; then
38836 echo "$as_me:$LINENO: result: $STRIP" >&5
38837 echo "${ECHO_T}$STRIP" >&6
38839 echo "$as_me:$LINENO: result: no" >&5
38840 echo "${ECHO_T}no" >&6
38844 if test -z "$ac_cv_prog_STRIP"; then
38846 # Extract the first word of "strip", so it can be a program name with args.
38847 set dummy strip
; ac_word
=$2
38848 echo "$as_me:$LINENO: checking for $ac_word" >&5
38849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38850 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38851 echo $ECHO_N "(cached) $ECHO_C" >&6
38853 if test -n "$ac_ct_STRIP"; then
38854 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38857 for as_dir
in $PATH
38860 test -z "$as_dir" && as_dir
=.
38861 for ac_exec_ext
in '' $ac_executable_extensions; do
38862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38863 ac_cv_prog_ac_ct_STRIP
="strip"
38864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38870 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38873 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38874 if test -n "$ac_ct_STRIP"; then
38875 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38876 echo "${ECHO_T}$ac_ct_STRIP" >&6
38878 echo "$as_me:$LINENO: result: no" >&5
38879 echo "${ECHO_T}no" >&6
38884 STRIP
="$ac_cv_prog_STRIP"
38887 if test -n "$ac_tool_prefix"; then
38888 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38889 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38890 echo "$as_me:$LINENO: checking for $ac_word" >&5
38891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38892 if test "${ac_cv_prog_NM+set}" = set; then
38893 echo $ECHO_N "(cached) $ECHO_C" >&6
38895 if test -n "$NM"; then
38896 ac_cv_prog_NM
="$NM" # Let the user override the test.
38898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38899 for as_dir
in $PATH
38902 test -z "$as_dir" && as_dir
=.
38903 for ac_exec_ext
in '' $ac_executable_extensions; do
38904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38905 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38915 if test -n "$NM"; then
38916 echo "$as_me:$LINENO: result: $NM" >&5
38917 echo "${ECHO_T}$NM" >&6
38919 echo "$as_me:$LINENO: result: no" >&5
38920 echo "${ECHO_T}no" >&6
38924 if test -z "$ac_cv_prog_NM"; then
38926 # Extract the first word of "nm", so it can be a program name with args.
38927 set dummy nm
; ac_word
=$2
38928 echo "$as_me:$LINENO: checking for $ac_word" >&5
38929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38930 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38931 echo $ECHO_N "(cached) $ECHO_C" >&6
38933 if test -n "$ac_ct_NM"; then
38934 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38937 for as_dir
in $PATH
38940 test -z "$as_dir" && as_dir
=.
38941 for ac_exec_ext
in '' $ac_executable_extensions; do
38942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38943 ac_cv_prog_ac_ct_NM
="nm"
38944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38950 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38953 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38954 if test -n "$ac_ct_NM"; then
38955 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38956 echo "${ECHO_T}$ac_ct_NM" >&6
38958 echo "$as_me:$LINENO: result: no" >&5
38959 echo "${ECHO_T}no" >&6
38964 NM
="$ac_cv_prog_NM"
38968 case ${BAKEFILE_HOST} in
38970 INSTALL_DIR
="mkdir -p"
38972 *) INSTALL_DIR
="$INSTALL -d"
38978 case ${BAKEFILE_HOST} in
38979 *-*-cygwin* | *-*-mingw32* )
38980 LDFLAGS_GUI
="-mwindows"
38986 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38987 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38988 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38989 echo $ECHO_N "(cached) $ECHO_C" >&6
38992 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38993 egrep -s GNU
> /dev
/null
); then
38994 bakefile_cv_prog_makeisgnu
="yes"
38996 bakefile_cv_prog_makeisgnu
="no"
39000 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39001 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39003 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39020 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39021 case "${BAKEFILE_HOST}" in
39022 *-*-cygwin* | *-*-mingw32* )
39028 *-pc-os2_emx | *-pc-os2-emx )
39031 powerpc
-*-darwin* )
39038 powerpc
-apple-macos* )
39047 case "$BAKEFILE_FORCE_PLATFORM" in
39068 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39069 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39070 { (exit 1); exit 1; }; }
39085 # Check whether --enable-omf or --disable-omf was given.
39086 if test "${enable_omf+set}" = set; then
39087 enableval
="$enable_omf"
39088 bk_os2_use_omf
="$enableval"
39091 case "${BAKEFILE_HOST}" in
39093 CFLAGS
="$CFLAGS -fno-common"
39094 CXXFLAGS
="$CXXFLAGS -fno-common"
39097 *-pc-os2_emx | *-pc-os2-emx )
39098 if test "x$bk_os2_use_omf" = "xyes" ; then
39101 LDFLAGS
="-Zomf $LDFLAGS"
39102 CFLAGS
="-Zomf $CFLAGS"
39103 CXXFLAGS
="-Zomf $CXXFLAGS"
39111 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
39117 SO_SUFFIX_MODULE
="so"
39122 DLLPREFIX_MODULE
=""
39125 case "${BAKEFILE_HOST}" in
39128 SO_SUFFIX_MODULE
="sl"
39132 SO_SUFFIX_MODULE
="a"
39134 *-*-cygwin* | *-*-mingw32* )
39136 SO_SUFFIX_MODULE
="dll"
39137 DLLIMP_SUFFIX
="dll.a"
39145 *-pc-os2_emx | *-pc-os2-emx )
39147 SO_SUFFIX_MODULE
="dll"
39148 DLLIMP_SUFFIX
=$OS2_LIBEXT
39152 LIBEXT
=".$OS2_LIBEXT"
39154 powerpc
-*-darwin* )
39156 SO_SUFFIX_MODULE
="bundle"
39160 if test "x$DLLIMP_SUFFIX" = "x" ; then
39161 DLLIMP_SUFFIX
="$SO_SUFFIX"
39175 if test "x$GCC" = "xyes"; then
39179 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
39180 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
39182 case "${BAKEFILE_HOST}" in
39184 if test "x$GCC" != "xyes"; then
39185 LDFLAGS
="$LDFLAGS -L/usr/lib"
39187 SHARED_LD_CC
="${CC} -b -o"
39188 SHARED_LD_CXX
="${CXX} -b -o"
39194 if test "x$GCC" != "xyes"; then
39195 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39196 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39197 if test "${bakefile_cv_prog_icc+set}" = set; then
39198 echo $ECHO_N "(cached) $ECHO_C" >&6
39201 cat >conftest.
$ac_ext <<_ACEOF
39204 cat confdefs.h
>>conftest.
$ac_ext
39205 cat >>conftest.
$ac_ext <<_ACEOF
39206 /* end confdefs.h. */
39212 #ifndef __INTEL_COMPILER
39220 rm -f conftest.
$ac_objext
39221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39222 (eval $ac_compile) 2>conftest.er1
39224 grep -v '^ *+' conftest.er1
>conftest.err
39226 cat conftest.err
>&5
39227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39228 (exit $ac_status); } &&
39229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39231 (eval $ac_try) 2>&5
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); }; } &&
39235 { ac_try
='test -s conftest.$ac_objext'
39236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39237 (eval $ac_try) 2>&5
39239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39240 (exit $ac_status); }; }; then
39241 bakefile_cv_prog_icc
=yes
39243 echo "$as_me: failed program was:" >&5
39244 sed 's/^/| /' conftest.
$ac_ext >&5
39246 bakefile_cv_prog_icc
=no
39249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39252 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39253 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39254 if test "$bakefile_cv_prog_icc" = "yes"; then
39261 if test "x$GCC" != xyes
; then
39262 SHARED_LD_CC
="${CC} -G -o"
39263 SHARED_LD_CXX
="${CXX} -G -o"
39270 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39271 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39272 if test "${wx_cv_gcc31+set}" = set; then
39273 echo $ECHO_N "(cached) $ECHO_C" >&6
39276 cat >conftest.
$ac_ext <<_ACEOF
39279 cat confdefs.h
>>conftest.
$ac_ext
39280 cat >>conftest.
$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39287 #if (__GNUC__ < 3) || \
39288 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39296 rm -f conftest.
$ac_objext
39297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39298 (eval $ac_compile) 2>conftest.er1
39300 grep -v '^ *+' conftest.er1
>conftest.err
39302 cat conftest.err
>&5
39303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39304 (exit $ac_status); } &&
39305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39307 (eval $ac_try) 2>&5
39309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39310 (exit $ac_status); }; } &&
39311 { ac_try
='test -s conftest.$ac_objext'
39312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39313 (eval $ac_try) 2>&5
39315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39316 (exit $ac_status); }; }; then
39321 echo "$as_me: failed program was:" >&5
39322 sed 's/^/| /' conftest.
$ac_ext >&5
39329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39332 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39333 echo "${ECHO_T}$wx_cv_gcc31" >&6
39334 if test "$wx_cv_gcc31" = "no"; then
39337 cat <<EOF >shared-ld-sh
39339 #-----------------------------------------------------------------------------
39340 #-- Name: distrib/mac/shared-ld-sh
39341 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39342 #-- Author: Gilles Depeyrot
39343 #-- Copyright: (c) 2002 Gilles Depeyrot
39344 #-- Licence: any use permitted
39345 #-----------------------------------------------------------------------------
39350 linking_flag="-dynamiclib"
39352 while test ${D}# -gt 0; do
39359 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39360 # collect these options and values
39361 args="${D}{args} ${D}1 ${D}2"
39365 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39366 # collect these options
39367 args="${D}{args} ${D}1"
39370 -dynamiclib|-bundle)
39371 linking_flag="${D}1"
39375 echo "shared-ld: unhandled option '${D}1'"
39379 *.o | *.a | *.dylib)
39380 # collect object files
39381 objects="${D}{objects} ${D}1"
39385 echo "shared-ld: unhandled argument '${D}1'"
39394 # Link one module containing all the others
39396 if test ${D}{verbose} = 1; then
39397 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39399 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39401 if test ${D}{status} != 0; then
39406 # Link the shared library from the single module created
39408 if test ${D}{verbose} = 1; then
39409 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39411 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39413 if test ${D}{status} != 0; then
39418 # Remove intermediate module
39420 rm -f master.${D}${D}.o
39425 chmod +x shared
-ld-sh
39427 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39428 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39429 SHARED_LD_CXX
="$SHARED_LD_CC"
39430 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39432 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39433 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39434 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39435 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39438 PIC_FLAG
="-dynamic -fPIC"
39442 if test "x$GCC" != "xyes"; then
39443 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39444 set dummy makeC
++SharedLib
; ac_word
=$2
39445 echo "$as_me:$LINENO: checking for $ac_word" >&5
39446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39447 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39448 echo $ECHO_N "(cached) $ECHO_C" >&6
39450 if test -n "$AIX_CXX_LD"; then
39451 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39454 for as_dir
in $PATH
39457 test -z "$as_dir" && as_dir
=.
39458 for ac_exec_ext
in '' $ac_executable_extensions; do
39459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39460 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39467 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39470 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39471 if test -n "$AIX_CXX_LD"; then
39472 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39473 echo "${ECHO_T}$AIX_CXX_LD" >&6
39475 echo "$as_me:$LINENO: result: no" >&5
39476 echo "${ECHO_T}no" >&6
39479 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39480 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39485 SHARED_LD_CC
="${LD} -nostart -o"
39486 SHARED_LD_CXX
="${LD} -nostart -o"
39490 if test "x$GCC" != "xyes"; then
39495 *-*-cygwin* | *-*-mingw32* )
39497 SHARED_LD_CC
="\$(CC) -shared -o"
39498 SHARED_LD_CXX
="\$(CXX) -shared -o"
39501 *-pc-os2_emx | *-pc-os2-emx )
39502 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39503 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39507 cat <<EOF >dllar.sh
39510 # dllar - a tool to build both a .dll and an .a file
39511 # from a set of object (.o) files for EMX/OS2.
39513 # Written by Andrew Zabolotny, bit@freya.etu.ru
39514 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39516 # This script will accept a set of files on the command line.
39517 # All the public symbols from the .o files will be exported into
39518 # a .DEF file, then linker will be run (through gcc) against them to
39519 # build a shared library consisting of all given .o files. All libraries
39520 # (.a) will be first decompressed into component .o files then act as
39521 # described above. You can optionally give a description (-d "description")
39522 # which will be put into .DLL. To see the list of accepted options (as well
39523 # as command-line format) simply run this program without options. The .DLL
39524 # is built to be imported by name (there is no guarantee that new versions
39525 # of the library you build will have same ordinals for same symbols).
39527 # dllar is free software; you can redistribute it and/or modify
39528 # it under the terms of the GNU General Public License as published by
39529 # the Free Software Foundation; either version 2, or (at your option)
39530 # any later version.
39532 # dllar is distributed in the hope that it will be useful,
39533 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39534 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39535 # GNU General Public License for more details.
39537 # You should have received a copy of the GNU General Public License
39538 # along with dllar; see the file COPYING. If not, write to the Free
39539 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39542 # To successfuly run this program you will need:
39543 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39544 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39546 # (used to build the .dll)
39548 # (used to create .def file from .o files)
39550 # (used to create .a file from .def file)
39551 # - GNU text utilites (cat, sort, uniq)
39552 # used to process emxexp output
39553 # - GNU file utilities (mv, rm)
39555 # - lxlite (optional, see flag below)
39556 # (used for general .dll cleanup)
39563 # basnam, variant of basename, which does _not_ remove the path, _iff_
39564 # second argument (suffix to remove) is given
39568 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39571 echo ${D}1 | sed 's/'${D}2'${D}//'
39574 echo "error in basnam ${D}*"
39580 # Cleanup temporary files and output
39583 for i in ${D}inputFiles ; do
39586 rm -rf \`basnam ${D}i !\`
39593 # Kill result in case of failure as there is just to many stupid make/nmake
39594 # things out there which doesn't do this.
39595 if [ ${D}# -eq 0 ]; then
39596 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39600 # Print usage and exit script with rc=1.
39602 echo 'Usage: dllar [-o@<:${utput}:>@ output_file] [-i@<:${mport}:>@ importlib_name]'
39603 echo ' [-d@<:${escription}:>@ "dll descrption"] [-cc "CC"] [-f@<:${lags}:>@ "CFLAGS"]'
39604 echo ' [-ord@<:${inals}:>@] -ex@<:${clude}:>@ "symbol(s)"'
39605 echo ' [-libf@<:${lags}:>@ "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt@<:${dll}:>@] [-nolxl@<:${ite}:>@]'
39606 echo ' [*.o] [*.a]'
39607 echo '*> "output_file" should have no extension.'
39608 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39609 echo ' The import library name is derived from this and is set to "name".a,'
39610 echo ' unless overridden by -import'
39611 echo '*> "importlib_name" should have no extension.'
39612 echo ' If it has the .o, or .a extension, it is automatically removed.'
39613 echo ' This name is used as the import library name and may be longer and'
39614 echo ' more descriptive than the DLL name which has to follow the old '
39615 echo ' 8.3 convention of FAT.'
39616 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39617 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39618 echo ' These flags will be put at the start of GCC command line.'
39619 echo '*> -ord@<:${inals}:>@ tells dllar to export entries by ordinals. Be careful.'
39620 echo '*> -ex@<:${clude}:>@ defines symbols which will not be exported. You can define'
39621 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39622 echo ' If the last character of a symbol is "*", all symbols beginning'
39623 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39624 echo '*> -libf@<:${lags}:>@ can be used to add INITGLOBAL/INITINSTANCE and/or'
39625 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39626 echo '*> -nocrt@<:${dll}:>@ switch will disable linking the library against emx''s'
39627 echo ' C runtime DLLs.'
39628 echo '*> -nolxl@<:${ite}:>@ switch will disable running lxlite on the resulting DLL.'
39629 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39630 echo ' unchanged to GCC at the end of command line.'
39631 echo '*> If you create a DLL from a library and you do not specify -o,'
39632 echo ' the basename for DLL and import library will be set to library name,'
39633 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39634 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39635 echo ' library will be renamed into gcc_s.a.'
39638 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39639 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39644 # Execute a command.
39645 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39646 # @Uses Whatever CleanUp() uses.
39652 if [ ${D}rcCmd -ne 0 ]; then
39653 echo "command failed, exit code="${D}rcCmd
39667 CFLAGS="-s -Zcrtdll"
39669 EXPORT_BY_ORDINALS=0
39674 case ${D}curDirS in
39678 curDirS=${D}{curDirS}"/"
39681 # Parse commandline
39683 while [ ${D}1 ]; do
39686 EXPORT_BY_ORDINALS=1;
39713 exclude_symbols=${D}{exclude_symbols}${D}1" "
39717 library_flags=${D}{library_flags}${D}1" "
39733 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39737 if [ ${D}libsToLink -ne 0 ]; then
39738 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39740 for file in ${D}1 ; do
39741 if [ -f ${D}file ]; then
39742 inputFiles="${D}{inputFiles} ${D}file"
39746 if [ ${D}found -eq 0 ]; then
39747 echo "ERROR: No file(s) found: "${D}1
39754 done # iterate cmdline words
39757 if [ -z "${D}inputFiles" ]; then
39758 echo "dllar: no input files"
39762 # Now extract all .o files from .a files
39764 for file in ${D}inputFiles ; do
39775 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39780 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39782 if [ ${D}? -ne 0 ]; then
39783 echo "Failed to create subdirectory ./${D}dirname"
39787 # Append '!' to indicate archive
39788 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39789 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39792 for subfile in ${D}dirname/*.o* ; do
39793 if [ -f ${D}subfile ]; then
39795 if [ -s ${D}subfile ]; then
39796 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39797 newInputFiles="${D}newInputFiles ${D}subfile"
39801 if [ ${D}found -eq 0 ]; then
39802 echo "WARNING: there are no files in archive \\'${D}file\\'"
39806 newInputFiles="${D}{newInputFiles} ${D}file"
39810 inputFiles="${D}newInputFiles"
39812 # Output filename(s).
39814 if [ -z ${D}outFile ]; then
39816 set outFile ${D}inputFiles; outFile=${D}2
39819 # If it is an archive, remove the '!' and the '_%' suffixes
39820 case ${D}outFile in
39822 outFile=\`basnam ${D}outFile _%!\`
39827 case ${D}outFile in
39829 outFile=\`basnam ${D}outFile .dll\`
39832 outFile=\`basnam ${D}outFile .DLL\`
39835 outFile=\`basnam ${D}outFile .o\`
39838 outFile=\`basnam ${D}outFile .obj\`
39841 outFile=\`basnam ${D}outFile .a\`
39844 outFile=\`basnam ${D}outFile .lib\`
39849 case ${D}outimpFile in
39851 outimpFile=\`basnam ${D}outimpFile .a\`
39854 outimpFile=\`basnam ${D}outimpFile .lib\`
39859 if [ -z ${D}outimpFile ]; then
39860 outimpFile=${D}outFile
39862 defFile="${D}{outFile}.def"
39863 arcFile="${D}{outimpFile}.a"
39864 arcFile2="${D}{outimpFile}.lib"
39865 dllFile="${D}outFile"
39866 # Add suffix to dllFile later, first we need a version to use as
39867 # name in .def file.
39869 if [ ${D}do_backup -ne 0 ] ; then
39870 if [ -f ${D}arcFile ] ; then
39871 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39873 if [ -f ${D}arcFile2 ] ; then
39874 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39878 # Extract public symbols from all the object files.
39879 tmpdefFile=${D}{defFile}_%
39880 rm -f ${D}tmpdefFile
39881 for file in ${D}inputFiles ; do
39886 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39891 # Create the def file.
39893 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39894 dllFile="${D}dllFile.dll"
39895 if [ -n ${D}description ]; then
39896 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39898 echo "EXPORTS" >> ${D}defFile
39900 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39901 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39903 # Checks if the export is ok or not.
39904 for word in ${D}exclude_symbols; do
39905 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39906 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39910 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39911 sed "=" < ${D}tmpdefFile | \\
39915 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39917 ' > ${D}{tmpdefFile}%
39918 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39920 rm -f ${D}{tmpdefFile}%
39922 cat ${D}tmpdefFile >> ${D}defFile
39923 rm -f ${D}tmpdefFile
39925 # Do linking, create implib, and apply lxlite.
39927 for file in ${D}inputFiles ; do
39932 gccCmdl="${D}gccCmdl ${D}file"
39936 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39937 touch "${D}{outFile}.dll"
39939 doCommand "emximp -o ${D}arcFile ${D}defFile"
39940 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39942 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39945 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39947 doCommand "emxomf -s -l ${D}arcFile"
39957 powerpc
-apple-macos* | \
39958 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39966 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39967 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39968 { (exit 1); exit 1; }; }
39971 if test "x$PIC_FLAG" != "x" ; then
39972 PIC_FLAG
="$PIC_FLAG -DPIC"
39975 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39976 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39978 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39979 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39996 case "${BAKEFILE_HOST}" in
39998 SONAME_FLAG
="-Wl,-soname,"
40005 SONAME_FLAG
="-Wl,-soname,"
40033 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40034 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40037 if test "x$GCC" = "xyes"; then
40040 case "${BAKEFILE_HOST}" in
40041 powerpc
-*-darwin* )
40042 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
40045 DEPSFLAG_GCC
="-MMD"
40048 echo "$as_me:$LINENO: result: gcc" >&5
40049 echo "${ECHO_T}gcc" >&6
40051 echo "$as_me:$LINENO: result: none" >&5
40052 echo "${ECHO_T}none" >&6
40055 if test $DEPS_TRACKING = 1 ; then
40061 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40062 # script. It is used to track C/C++ files dependencies in portable way.
40064 # Permission is given to use this file in any way.
40066 DEPSMODE=${DEPSMODE}
40068 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40070 mkdir -p ${D}DEPSDIR
40072 if test ${D}DEPSMODE = gcc ; then
40073 ${D}* ${D}{DEPSFLAG_GCC}
40075 if test ${D}{status} != 0 ; then
40078 # move created file to the location we want it in:
40079 while test ${D}# -gt 0; do
40093 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
40094 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
40095 if test -f ${D}depfile ; then
40096 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40099 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
40100 if test -f ${D}depfile ; then
40101 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40121 case ${BAKEFILE_HOST} in
40122 *-*-cygwin* | *-*-mingw32* )
40123 if test "$build" != "$host" ; then
40124 RESCOMP
=$host_alias-windres
40126 # Extract the first word of "windres", so it can be a program name with args.
40127 set dummy windres
; ac_word
=$2
40128 echo "$as_me:$LINENO: checking for $ac_word" >&5
40129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40130 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40131 echo $ECHO_N "(cached) $ECHO_C" >&6
40133 if test -n "$RESCOMP"; then
40134 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40137 for as_dir
in $PATH
40140 test -z "$as_dir" && as_dir
=.
40141 for ac_exec_ext
in '' $ac_executable_extensions; do
40142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40143 ac_cv_prog_RESCOMP
="windres"
40144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40150 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40153 RESCOMP
=$ac_cv_prog_RESCOMP
40154 if test -n "$RESCOMP"; then
40155 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40156 echo "${ECHO_T}$RESCOMP" >&6
40158 echo "$as_me:$LINENO: result: no" >&5
40159 echo "${ECHO_T}no" >&6
40165 *-*-darwin* | powerpc
-apple-macos* )
40166 # Extract the first word of "Rez", so it can be a program name with args.
40167 set dummy Rez
; ac_word
=$2
40168 echo "$as_me:$LINENO: checking for $ac_word" >&5
40169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40170 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40171 echo $ECHO_N "(cached) $ECHO_C" >&6
40173 if test -n "$RESCOMP"; then
40174 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40177 for as_dir
in $PATH
40180 test -z "$as_dir" && as_dir
=.
40181 for ac_exec_ext
in '' $ac_executable_extensions; do
40182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40183 ac_cv_prog_RESCOMP
="Rez"
40184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40190 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
40193 RESCOMP
=$ac_cv_prog_RESCOMP
40194 if test -n "$RESCOMP"; then
40195 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40196 echo "${ECHO_T}$RESCOMP" >&6
40198 echo "$as_me:$LINENO: result: no" >&5
40199 echo "${ECHO_T}no" >&6
40202 # Extract the first word of "SetFile", so it can be a program name with args.
40203 set dummy SetFile
; ac_word
=$2
40204 echo "$as_me:$LINENO: checking for $ac_word" >&5
40205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40206 if test "${ac_cv_prog_SETFILE+set}" = set; then
40207 echo $ECHO_N "(cached) $ECHO_C" >&6
40209 if test -n "$SETFILE"; then
40210 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40213 for as_dir
in $PATH
40216 test -z "$as_dir" && as_dir
=.
40217 for ac_exec_ext
in '' $ac_executable_extensions; do
40218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40219 ac_cv_prog_SETFILE
="SetFile"
40220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40226 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40229 SETFILE
=$ac_cv_prog_SETFILE
40230 if test -n "$SETFILE"; then
40231 echo "$as_me:$LINENO: result: $SETFILE" >&5
40232 echo "${ECHO_T}$SETFILE" >&6
40234 echo "$as_me:$LINENO: result: no" >&5
40235 echo "${ECHO_T}no" >&6
40245 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
40248 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
40252 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40253 if test "${enable_precomp_headers+set}" = set; then
40254 enableval
="$enable_precomp_headers"
40255 bk_use_pch
="$enableval"
40260 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40261 if test "x$GCC" = "xyes"; then
40262 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40263 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40264 cat >conftest.
$ac_ext <<_ACEOF
40267 cat confdefs.h
>>conftest.
$ac_ext
40268 cat >>conftest.
$ac_ext <<_ACEOF
40269 /* end confdefs.h. */
40275 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40276 #error "no pch support"
40279 #error "no pch support"
40281 #if (__GNUC__ == 3) && \
40282 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40283 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40284 #error "no pch support"
40291 rm -f conftest.
$ac_objext
40292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40293 (eval $ac_compile) 2>conftest.er1
40295 grep -v '^ *+' conftest.er1
>conftest.err
40297 cat conftest.err
>&5
40298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40299 (exit $ac_status); } &&
40300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40302 (eval $ac_try) 2>&5
40304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40305 (exit $ac_status); }; } &&
40306 { ac_try
='test -s conftest.$ac_objext'
40307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40308 (eval $ac_try) 2>&5
40310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40311 (exit $ac_status); }; }; then
40313 echo "$as_me:$LINENO: result: yes" >&5
40314 echo "${ECHO_T}yes" >&6
40318 echo "$as_me: failed program was:" >&5
40319 sed 's/^/| /' conftest.
$ac_ext >&5
40322 echo "$as_me:$LINENO: result: no" >&5
40323 echo "${ECHO_T}no" >&6
40326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40327 if test $GCC_PCH = 1 ; then
40330 cat <<EOF >bk-make-pch
40333 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40334 # script. It is used to generated precompiled headers.
40336 # Permission is given to use this file in any way.
40345 while test ${D}{#} -gt 0; do
40348 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40349 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40350 headerfile="${D}{incdir}/${D}{header}"
40354 compiler="${D}{compiler} ${D}{1}"
40358 if test "x${D}{headerfile}" = "x" ; then
40359 echo "error: can't find header ${D}{header} in include paths" >2
40361 if test -f ${D}{outfile} ; then
40362 rm -f ${D}{outfile}
40364 mkdir -p \`dirname ${D}{outfile}\`
40366 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40368 # can do this because gcc is >= 3.4:
40369 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40374 chmod +x bk
-make-pch
40383 COND_BUILD_DEBUG
="#"
40384 if test "x$BUILD" = "xdebug" ; then
40385 COND_BUILD_DEBUG
=""
40388 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40389 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40390 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40393 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40394 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40395 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40398 COND_BUILD_DEBUG_UNICODE_0
="#"
40399 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40400 COND_BUILD_DEBUG_UNICODE_0
=""
40403 COND_BUILD_DEBUG_UNICODE_1
="#"
40404 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40405 COND_BUILD_DEBUG_UNICODE_1
=""
40408 COND_BUILD_RELEASE
="#"
40409 if test "x$BUILD" = "xrelease" ; then
40410 COND_BUILD_RELEASE
=""
40413 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40414 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40415 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40418 COND_BUILD_RELEASE_UNICODE_0
="#"
40419 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40420 COND_BUILD_RELEASE_UNICODE_0
=""
40423 COND_BUILD_RELEASE_UNICODE_1
="#"
40424 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40425 COND_BUILD_RELEASE_UNICODE_1
=""
40428 COND_DEBUG_FLAG_1
="#"
40429 if test "x$DEBUG_FLAG" = "x1" ; then
40430 COND_DEBUG_FLAG_1
=""
40433 COND_DEBUG_INFO_0
="#"
40434 if test "x$DEBUG_INFO" = "x0" ; then
40435 COND_DEBUG_INFO_0
=""
40438 COND_DEBUG_INFO_1
="#"
40439 if test "x$DEBUG_INFO" = "x1" ; then
40440 COND_DEBUG_INFO_1
=""
40443 COND_DEPS_TRACKING_0
="#"
40444 if test "x$DEPS_TRACKING" = "x0" ; then
40445 COND_DEPS_TRACKING_0
=""
40448 COND_DEPS_TRACKING_1
="#"
40449 if test "x$DEPS_TRACKING" = "x1" ; then
40450 COND_DEPS_TRACKING_1
=""
40454 if test "x$GCC_PCH" = "x1" ; then
40458 COND_MONOLITHIC_0
="#"
40459 if test "x$MONOLITHIC" = "x0" ; then
40460 COND_MONOLITHIC_0
=""
40463 COND_MONOLITHIC_0_SHARED_0
="#"
40464 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40465 COND_MONOLITHIC_0_SHARED_0
=""
40468 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40469 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40470 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40473 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40475 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40478 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40483 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40485 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40488 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40490 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40493 COND_MONOLITHIC_0_SHARED_1
="#"
40494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40495 COND_MONOLITHIC_0_SHARED_1
=""
40498 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40500 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40503 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40508 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40513 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40515 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40518 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40520 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40523 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40524 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40525 COND_MONOLITHIC_0_USE_ODBC_1
=""
40528 COND_MONOLITHIC_1
="#"
40529 if test "x$MONOLITHIC" = "x1" ; then
40530 COND_MONOLITHIC_1
=""
40533 COND_MONOLITHIC_1_SHARED_0
="#"
40534 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40535 COND_MONOLITHIC_1_SHARED_0
=""
40538 COND_MONOLITHIC_1_SHARED_1
="#"
40539 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40540 COND_MONOLITHIC_1_SHARED_1
=""
40543 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40544 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40545 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40548 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40549 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40550 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40553 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40554 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40555 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40558 COND_PLATFORM_MACOSX_1
="#"
40559 if test "x$PLATFORM_MACOSX" = "x1" ; then
40560 COND_PLATFORM_MACOSX_1
=""
40563 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
40564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40565 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
40568 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40570 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40573 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40574 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40575 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40578 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40579 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40580 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40583 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
40584 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40585 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
40588 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40589 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40590 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40593 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40594 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40595 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40598 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40599 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40600 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40603 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40604 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40605 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40608 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40609 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40610 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40613 COND_PLATFORM_MACOS_1
="#"
40614 if test "x$PLATFORM_MACOS" = "x1" ; then
40615 COND_PLATFORM_MACOS_1
=""
40618 COND_PLATFORM_MAC_1
="#"
40619 if test "x$PLATFORM_MAC" = "x1" ; then
40620 COND_PLATFORM_MAC_1
=""
40623 COND_PLATFORM_OS2_1
="#"
40624 if test "x$PLATFORM_OS2" = "x1" ; then
40625 COND_PLATFORM_OS2_1
=""
40628 COND_PLATFORM_UNIX_0
="#"
40629 if test "x$PLATFORM_UNIX" = "x0" ; then
40630 COND_PLATFORM_UNIX_0
=""
40633 COND_PLATFORM_UNIX_1
="#"
40634 if test "x$PLATFORM_UNIX" = "x1" ; then
40635 COND_PLATFORM_UNIX_1
=""
40638 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40639 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40640 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40643 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40644 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40645 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40648 COND_PLATFORM_WIN32_0
="#"
40649 if test "x$PLATFORM_WIN32" = "x0" ; then
40650 COND_PLATFORM_WIN32_0
=""
40653 COND_PLATFORM_WIN32_1
="#"
40654 if test "x$PLATFORM_WIN32" = "x1" ; then
40655 COND_PLATFORM_WIN32_1
=""
40659 if test "x$SHARED" = "x0" ; then
40663 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40664 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40665 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40668 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40669 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40670 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40673 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40674 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40675 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40678 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40679 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40680 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40683 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40684 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40685 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40688 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40689 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40690 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40693 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40694 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40695 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40698 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40699 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40700 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40703 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40704 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40705 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40708 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40709 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40710 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40713 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40714 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40715 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40719 if test "x$SHARED" = "x1" ; then
40723 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40724 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40725 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40729 if test "x$TOOLKIT" = "x" ; then
40733 COND_TOOLKIT_COCOA
="#"
40734 if test "x$TOOLKIT" = "xCOCOA" ; then
40735 COND_TOOLKIT_COCOA
=""
40738 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40739 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40740 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40743 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40744 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40745 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40748 COND_TOOLKIT_GTK
="#"
40749 if test "x$TOOLKIT" = "xGTK" ; then
40750 COND_TOOLKIT_GTK
=""
40753 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40754 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40755 COND_TOOLKIT_GTK_USE_GUI_1
=""
40758 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40759 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40760 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40763 COND_TOOLKIT_MAC
="#"
40764 if test "x$TOOLKIT" = "xMAC" ; then
40765 COND_TOOLKIT_MAC
=""
40768 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40769 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40770 COND_TOOLKIT_MAC_USE_GUI_1
=""
40773 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40774 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40775 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40778 COND_TOOLKIT_MGL
="#"
40779 if test "x$TOOLKIT" = "xMGL" ; then
40780 COND_TOOLKIT_MGL
=""
40783 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40784 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40785 COND_TOOLKIT_MGL_USE_GUI_1
=""
40788 COND_TOOLKIT_MOTIF
="#"
40789 if test "x$TOOLKIT" = "xMOTIF" ; then
40790 COND_TOOLKIT_MOTIF
=""
40793 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40794 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40795 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40798 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40799 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40800 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40803 COND_TOOLKIT_MSW
="#"
40804 if test "x$TOOLKIT" = "xMSW" ; then
40805 COND_TOOLKIT_MSW
=""
40808 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40809 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40810 COND_TOOLKIT_MSW_USE_GUI_1
=""
40813 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40814 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40815 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40818 COND_TOOLKIT_PM
="#"
40819 if test "x$TOOLKIT" = "xPM" ; then
40823 COND_TOOLKIT_PM_USE_GUI_1
="#"
40824 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40825 COND_TOOLKIT_PM_USE_GUI_1
=""
40828 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40829 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40830 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40833 COND_TOOLKIT_WINCE
="#"
40834 if test "x$TOOLKIT" = "xWINCE" ; then
40835 COND_TOOLKIT_WINCE
=""
40838 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40839 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40840 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40843 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40844 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40845 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40848 COND_TOOLKIT_X11
="#"
40849 if test "x$TOOLKIT" = "xX11" ; then
40850 COND_TOOLKIT_X11
=""
40853 COND_TOOLKIT_X11_USE_GUI_1
="#"
40854 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40855 COND_TOOLKIT_X11_USE_GUI_1
=""
40859 if test "x$UNICODE" = "x1" ; then
40863 COND_USE_EXCEPTIONS_0
="#"
40864 if test "x$USE_EXCEPTIONS" = "x0" ; then
40865 COND_USE_EXCEPTIONS_0
=""
40868 COND_USE_EXCEPTIONS_1
="#"
40869 if test "x$USE_EXCEPTIONS" = "x1" ; then
40870 COND_USE_EXCEPTIONS_1
=""
40874 if test "x$USE_GUI" = "x0" ; then
40879 if test "x$USE_GUI" = "x1" ; then
40883 COND_USE_GUI_1_WXUNIV_0
="#"
40884 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40885 COND_USE_GUI_1_WXUNIV_0
=""
40888 COND_USE_GUI_1_WXUNIV_1
="#"
40889 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40890 COND_USE_GUI_1_WXUNIV_1
=""
40893 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40894 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40895 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40898 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40899 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40900 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40903 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40904 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40905 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40908 COND_USE_ODBC_1
="#"
40909 if test "x$USE_ODBC" = "x1" ; then
40913 COND_USE_OPENGL_1
="#"
40914 if test "x$USE_OPENGL" = "x1" ; then
40915 COND_USE_OPENGL_1
=""
40918 COND_USE_PLUGINS_0
="#"
40919 if test "x$USE_PLUGINS" = "x0" ; then
40920 COND_USE_PLUGINS_0
=""
40923 COND_USE_SOSYMLINKS_1
="#"
40924 if test "x$USE_SOSYMLINKS" = "x1" ; then
40925 COND_USE_SOSYMLINKS_1
=""
40928 COND_USE_SOVERLINUX_1
="#"
40929 if test "x$USE_SOVERLINUX" = "x1" ; then
40930 COND_USE_SOVERLINUX_1
=""
40933 COND_USE_SOVERSION_0
="#"
40934 if test "x$USE_SOVERSION" = "x0" ; then
40935 COND_USE_SOVERSION_0
=""
40938 COND_USE_SOVERSOLARIS_1
="#"
40939 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40940 COND_USE_SOVERSOLARIS_1
=""
40944 if test "x$USE_XRC" = "x1" ; then
40948 COND_WITH_PLUGIN_SDL_1
="#"
40949 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40950 COND_WITH_PLUGIN_SDL_1
=""
40954 if test "x$WXUNIV" = "x1" ; then
40958 COND_WXUSE_EXPAT_BUILTIN
="#"
40959 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40960 COND_WXUSE_EXPAT_BUILTIN
=""
40963 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40964 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40965 COND_WXUSE_LIBJPEG_BUILTIN
=""
40968 COND_WXUSE_LIBPNG_BUILTIN
="#"
40969 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40970 COND_WXUSE_LIBPNG_BUILTIN
=""
40973 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40974 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40975 COND_WXUSE_LIBTIFF_BUILTIN
=""
40978 COND_WXUSE_ODBC_BUILTIN
="#"
40979 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40980 COND_WXUSE_ODBC_BUILTIN
=""
40983 COND_WXUSE_REGEX_BUILTIN
="#"
40984 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40985 COND_WXUSE_REGEX_BUILTIN
=""
40988 COND_WXUSE_ZLIB_BUILTIN
="#"
40989 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40990 COND_WXUSE_ZLIB_BUILTIN
=""
40995 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40996 { { 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
40997 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;}
40998 { (exit 1); exit 1; }; }
41002 if test "$wxUSE_SHARED" = "yes"; then
41004 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41005 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41008 *-pc-os2_emx | *-pc-os2-emx )
41009 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41010 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41011 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41012 cp -p ${srcdir}/src
/os
2/dllar.sh .
41017 EXE_LINKER
="$CXX -o"
41021 GCC_PRAGMA_FLAGS
=""
41022 if test $GCC_PCH = 1 ; then
41023 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41026 powerpc
-*-darwin* )
41027 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41030 if test "$wxUSE_STL" = "yes" -o \
41031 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41032 "$wxUSE_NO_RTTI" != "yes"; then
41033 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41034 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41035 cat >conftest.
$ac_ext <<_ACEOF
41038 cat confdefs.h
>>conftest.
$ac_ext
41039 cat >>conftest.
$ac_ext <<_ACEOF
41040 /* end confdefs.h. */
41045 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41046 #error "Not GCC 3.2 or greater"
41053 rm -f conftest.
$ac_objext
41054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41055 (eval $ac_compile) 2>conftest.er1
41057 grep -v '^ *+' conftest.er1
>conftest.err
41059 cat conftest.err
>&5
41060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41061 (exit $ac_status); } &&
41062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41064 (eval $ac_try) 2>&5
41066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41067 (exit $ac_status); }; } &&
41068 { ac_try
='test -s conftest.$ac_objext'
41069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41070 (eval $ac_try) 2>&5
41072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41073 (exit $ac_status); }; }; then
41074 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41075 echo "$as_me:$LINENO: result: yes" >&5
41076 echo "${ECHO_T}yes" >&6
41078 echo "$as_me: failed program was:" >&5
41079 sed 's/^/| /' conftest.
$ac_ext >&5
41081 echo "$as_me:$LINENO: result: no" >&5
41082 echo "${ECHO_T}no" >&6
41084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41087 *-pc-os2_emx | *-pc-os2-emx )
41088 if test "$wxUSE_STL" = "yes"; then
41089 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
41090 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41091 cat >conftest.
$ac_ext <<_ACEOF
41094 cat confdefs.h
>>conftest.
$ac_ext
41095 cat >>conftest.
$ac_ext <<_ACEOF
41096 /* end confdefs.h. */
41101 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41102 #error "Not GCC 3.2 or greater"
41109 rm -f conftest.
$ac_objext
41110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41111 (eval $ac_compile) 2>conftest.er1
41113 grep -v '^ *+' conftest.er1
>conftest.err
41115 cat conftest.err
>&5
41116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41117 (exit $ac_status); } &&
41118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41120 (eval $ac_try) 2>&5
41122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41123 (exit $ac_status); }; } &&
41124 { ac_try
='test -s conftest.$ac_objext'
41125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41126 (eval $ac_try) 2>&5
41128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41129 (exit $ac_status); }; }; then
41130 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41131 echo "$as_me:$LINENO: result: yes" >&5
41132 echo "${ECHO_T}yes" >&6
41134 echo "$as_me: failed program was:" >&5
41135 sed 's/^/| /' conftest.
$ac_ext >&5
41137 echo "$as_me:$LINENO: result: no" >&5
41138 echo "${ECHO_T}no" >&6
41140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41145 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41148 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41212 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41213 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41214 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41215 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41216 echo $ECHO_N "(cached) $ECHO_C" >&6
41218 cat >conftest.
make <<\_ACEOF
41220 @
echo 'ac_maketemp="$(MAKE)"'
41222 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41223 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41224 if test -n "$ac_maketemp"; then
41225 eval ac_cv_prog_make_
${ac_make}_set
=yes
41227 eval ac_cv_prog_make_
${ac_make}_set
=no
41229 rm -f conftest.
make
41231 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41232 echo "$as_me:$LINENO: result: yes" >&5
41233 echo "${ECHO_T}yes" >&6
41236 echo "$as_me:$LINENO: result: no" >&5
41237 echo "${ECHO_T}no" >&6
41238 SET_MAKE
="MAKE=${MAKE-make}"
41243 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41246 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41249 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41252 ac_config_files
="$ac_config_files version-script Makefile"
41255 ac_config_commands
="$ac_config_commands wx-config
41261 if test "$wxUSE_GUI" = "yes"; then
41262 SUBDIRS
="samples demos utils contrib"
41263 else SUBDIRS
="samples utils"
41268 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41269 if test "${with_cppunit_prefix+set}" = set; then
41270 withval
="$with_cppunit_prefix"
41271 cppunit_config_prefix
="$withval"
41273 cppunit_config_prefix
=""
41276 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41277 if test "${with_cppunit_exec_prefix+set}" = set; then
41278 withval
="$with_cppunit_exec_prefix"
41279 cppunit_config_exec_prefix
="$withval"
41281 cppunit_config_exec_prefix
=""
41284 if test x
$cppunit_config_exec_prefix != x
; then
41285 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41286 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41287 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41290 if test x
$cppunit_config_prefix != x
; then
41291 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41292 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41293 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41297 # Extract the first word of "cppunit-config", so it can be a program name with args.
41298 set dummy cppunit
-config; ac_word
=$2
41299 echo "$as_me:$LINENO: checking for $ac_word" >&5
41300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41301 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41302 echo $ECHO_N "(cached) $ECHO_C" >&6
41304 case $CPPUNIT_CONFIG in
41306 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41310 for as_dir
in $PATH
41313 test -z "$as_dir" && as_dir
=.
41314 for ac_exec_ext
in '' $ac_executable_extensions; do
41315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41316 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41323 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41327 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41329 if test -n "$CPPUNIT_CONFIG"; then
41330 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41331 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41333 echo "$as_me:$LINENO: result: no" >&5
41334 echo "${ECHO_T}no" >&6
41337 cppunit_version_min
=1.8.0
41339 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41340 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41342 if test "$CPPUNIT_CONFIG" = "no" ; then
41345 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41346 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41347 cppunit_version
=`$CPPUNIT_CONFIG --version`
41349 cppunit_major_version
=`echo $cppunit_version | \
41350 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41351 cppunit_minor_version
=`echo $cppunit_version | \
41352 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41353 cppunit_micro_version
=`echo $cppunit_version | \
41354 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41356 cppunit_major_min
=`echo $cppunit_version_min | \
41357 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41358 cppunit_minor_min
=`echo $cppunit_version_min | \
41359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41360 cppunit_micro_min
=`echo $cppunit_version_min | \
41361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41363 cppunit_version_proper
=`expr \
41364 $cppunit_major_version \> $cppunit_major_min \| \
41365 $cppunit_major_version \= $cppunit_major_min \& \
41366 $cppunit_minor_version \> $cppunit_minor_min \| \
41367 $cppunit_major_version \= $cppunit_major_min \& \
41368 $cppunit_minor_version \= $cppunit_minor_min \& \
41369 $cppunit_micro_version \>= $cppunit_micro_min `
41371 if test "$cppunit_version_proper" = "1" ; then
41372 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41373 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41375 echo "$as_me:$LINENO: result: no" >&5
41376 echo "${ECHO_T}no" >&6
41381 if test "x$no_cppunit" = x
; then
41382 SUBDIRS
="$SUBDIRS tests"
41393 for subdir
in `echo $SUBDIRS`; do
41394 if test -d ${srcdir}/${subdir} ; then
41395 if test "$wxUSE_GUI" = "yes"; then
41396 if test ${subdir} = "samples"; then
41397 makefiles
="samples/Makefile.in $makefiles"
41398 for sample
in `echo $SAMPLES_SUBDIRS`; do
41399 if test -d $srcdir/samples
/$sample; then
41400 makefiles
="samples/$sample/Makefile.in $makefiles"
41403 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41405 else if test ${subdir} = "samples"; then
41406 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41407 elif test ${subdir} = "utils"; then
41409 for util
in HelpGen tex2rtf
; do
41410 if test -d $srcdir/utils
/$util ; then
41411 makefiles
="utils/$util/Makefile.in \
41412 utils/$util/src/Makefile.in \
41416 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41420 for mkin
in $makefiles ; do
41421 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41422 ac_config_files
="$ac_config_files $mk"
41429 cat >confcache
<<\_ACEOF
41430 # This file is a shell script that caches the results of configure
41431 # tests run on this system so they can be shared between configure
41432 # scripts and configure runs, see configure's option --config-cache.
41433 # It is not useful on other systems. If it contains results you don't
41434 # want to keep, you may remove or edit it.
41436 # config.status only pays attention to the cache file if you give it
41437 # the --recheck option to rerun configure.
41439 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41440 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41441 # following values.
41445 # The following way of writing the cache mishandles newlines in values,
41446 # but we know of no workaround that is simple, portable, and efficient.
41447 # So, don't put newlines in cache variables' values.
41448 # Ultrix sh set writes to stderr and can't be redirected directly,
41449 # and sets the high bit in the cache file unless we assign to the vars.
41452 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41454 # `set' does not quote correctly, so add quotes (double-quote
41455 # substitution turns \\\\ into \\, and sed turns \\ into \).
41458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41461 # `set' quotes correctly as required by POSIX, so do not add quotes.
41463 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41470 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41472 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41474 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41475 if test -w $cache_file; then
41476 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41477 cat confcache
>$cache_file
41479 echo "not updating unwritable cache $cache_file"
41484 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41485 # Let make expand exec_prefix.
41486 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41488 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41489 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41490 # trailing colons and then remove the whole line if VPATH becomes empty
41491 # (actually we leave an empty line to preserve line numbers).
41492 if test "x$srcdir" = x.
; then
41493 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41494 s/:*\$(srcdir):*/:/;
41495 s/:*\${srcdir}:*/:/;
41497 s/^\([^=]*=[ ]*\):*/\1/;
41503 DEFS
=-DHAVE_CONFIG_H
41507 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41508 # 1. Remove the extension, and $U if already installed.
41509 ac_i
=`echo "$ac_i" |
41510 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41512 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41513 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41515 LIBOBJS
=$ac_libobjs
41517 LTLIBOBJS
=$ac_ltlibobjs
41521 : ${CONFIG_STATUS=./config.status}
41522 ac_clean_files_save
=$ac_clean_files
41523 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41524 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41525 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41526 cat >$CONFIG_STATUS <<_ACEOF
41528 # Generated by $as_me.
41529 # Run this file to recreate the current configuration.
41530 # Compiler output produced by configure, useful for debugging
41531 # configure, is in config.log if it exists.
41534 ac_cs_recheck=false
41536 SHELL=\${CONFIG_SHELL-$SHELL}
41539 cat >>$CONFIG_STATUS <<\_ACEOF
41540 ## --------------------- ##
41541 ## M4sh Initialization. ##
41542 ## --------------------- ##
41544 # Be Bourne compatible
41545 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41548 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41549 # is contrary to our usage. Disable this feature.
41550 alias -g '${1+"$@"}'='"$@"'
41551 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41554 DUALCASE
=1; export DUALCASE
# for MKS sh
41556 # Support unset when possible.
41557 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41564 # Work around bugs in pre-3.0 UWIN ksh.
41565 $as_unset ENV MAIL MAILPATH
41572 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41573 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41574 LC_TELEPHONE LC_TIME
41576 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41577 eval $as_var=C
; export $as_var
41583 # Required to use basename.
41584 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41590 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41591 as_basename
=basename
41597 # Name of the executable.
41598 as_me
=`$as_basename "$0" ||
41599 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41600 X"$0" : 'X\(//\)$' \| \
41601 X"$0" : 'X\(/\)$' \| \
41602 . : '\(.\)' 2>/dev/null ||
41604 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41605 /^X\/\(\/\/\)$/{ s//\1/; q; }
41606 /^X\/\(\/\).*/{ s//\1/; q; }
41610 # PATH needs CR, and LINENO needs CR and PATH.
41611 # Avoid depending upon Character Ranges.
41612 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41613 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41614 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41615 as_cr_digits
='0123456789'
41616 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41618 # The user is always right.
41619 if test "${PATH_SEPARATOR+set}" != set; then
41620 echo "#! /bin/sh" >conf$$.sh
41621 echo "exit 0" >>conf$$.sh
41623 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41632 as_lineno_1
=$LINENO
41633 as_lineno_2
=$LINENO
41634 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41635 test "x$as_lineno_1" != "x$as_lineno_2" &&
41636 test "x$as_lineno_3" = "x$as_lineno_2" || {
41637 # Find who we are. Look in the path if we contain no path at all
41640 *[\\/]* ) as_myself
=$0 ;;
41641 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41642 for as_dir
in $PATH
41645 test -z "$as_dir" && as_dir
=.
41646 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41651 # We did not find ourselves, most probably we were run as `sh COMMAND'
41652 # in which case we are not to be found in the path.
41653 if test "x$as_myself" = x
; then
41656 if test ! -f "$as_myself"; then
41657 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41658 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41659 { (exit 1); exit 1; }; }
41661 case $CONFIG_SHELL in
41663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41664 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41667 test -z "$as_dir" && as_dir
=.
41668 for as_base
in sh bash ksh sh5
; do
41671 if ("$as_dir/$as_base" -c '
41672 as_lineno_1=$LINENO
41673 as_lineno_2=$LINENO
41674 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41675 test "x$as_lineno_1" != "x$as_lineno_2" &&
41676 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41677 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41678 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41679 CONFIG_SHELL
=$as_dir/$as_base
41680 export CONFIG_SHELL
41681 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41689 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41690 # uniformly replaced by the line number. The first 'sed' inserts a
41691 # line-number line before each line; the second 'sed' does the real
41692 # work. The second script uses 'N' to pair each line-number line
41693 # with the numbered line, and appends trailing '-' during
41694 # substitution so that $LINENO is not a special case at line end.
41695 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41696 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41697 sed '=' <$as_myself |
41702 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41705 s,^['$as_cr_digits']*\n,,
41706 ' >$as_me.lineno
&&
41707 chmod +x
$as_me.lineno
||
41708 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41709 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41710 { (exit 1); exit 1; }; }
41712 # Don't try to exec as it changes $[0], causing all sort of problems
41713 # (the dirname of $[0] is not the place where we might find the
41714 # original and so on. Autoconf is especially sensible to this).
41716 # Exit status is that of the last command.
41721 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41722 *c
*,-n*) ECHO_N
= ECHO_C
='
41724 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41725 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41728 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41734 rm -f conf$$ conf$$.exe conf$$.
file
41736 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41737 # We could just check for DJGPP; but this test a) works b) is more generic
41738 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41739 if test -f conf$$.exe
; then
41740 # Don't use ln at all; we don't have any links
41745 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41750 rm -f conf$$ conf$$.exe conf$$.
file
41752 if mkdir -p .
2>/dev
/null
; then
41755 test -d .
/-p && rmdir .
/-p
41759 as_executable_p
="test -f"
41761 # Sed expression to map a string onto a valid CPP name.
41762 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41764 # Sed expression to map a string onto a valid variable name.
41765 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41769 # We need space, tab and new line, in precisely that order.
41779 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41780 # report actual input values of CONFIG_FILES etc. instead of their
41781 # values after options handling. Logging --version etc. is OK.
41785 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41786 ## Running $as_me. ##
41791 This file was extended by wxWidgets $as_me 2.5.3, which was
41792 generated by GNU Autoconf 2.59. Invocation command line was
41794 CONFIG_FILES = $CONFIG_FILES
41795 CONFIG_HEADERS = $CONFIG_HEADERS
41796 CONFIG_LINKS = $CONFIG_LINKS
41797 CONFIG_COMMANDS = $CONFIG_COMMANDS
41801 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41805 # Files that config.status was made for.
41806 if test -n "$ac_config_files"; then
41807 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41810 if test -n "$ac_config_headers"; then
41811 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41814 if test -n "$ac_config_links"; then
41815 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41818 if test -n "$ac_config_commands"; then
41819 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41822 cat >>$CONFIG_STATUS <<\_ACEOF
41825 \`$as_me' instantiates files from templates according to the
41826 current configuration.
41828 Usage: $0 [OPTIONS] [FILE]...
41830 -h, --help print this help, then exit
41831 -V, --version print version number, then exit
41832 -q, --quiet do not print progress messages
41833 -d, --debug don't remove temporary files
41834 --recheck update $as_me by reconfiguring in the same conditions
41835 --file=FILE[:TEMPLATE]
41836 instantiate the configuration file FILE
41837 --header=FILE[:TEMPLATE]
41838 instantiate the configuration header FILE
41840 Configuration files:
41843 Configuration headers:
41846 Configuration commands:
41849 Report bugs to <bug-autoconf@gnu.org>."
41852 cat >>$CONFIG_STATUS <<_ACEOF
41854 wxWidgets config.status 2.5.3
41855 configured by $0, generated by GNU Autoconf 2.59,
41856 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41858 Copyright (C) 2003 Free Software Foundation, Inc.
41859 This config.status script is free software; the Free Software Foundation
41860 gives unlimited permission to copy, distribute and modify it."
41865 cat >>$CONFIG_STATUS <<\_ACEOF
41866 # If no file are specified by the user, then we need to provide default
41867 # value. By we need to know if files were specified by the user.
41873 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41874 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
41882 *) # This is not an option, so the user has probably given explicit
41885 ac_need_defaults
=false
;;
41889 # Handling of the options.
41891 cat >>$CONFIG_STATUS <<\_ACEOF
41892 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41894 --version | --vers* | -V )
41895 echo "$ac_cs_version"; exit 0 ;;
41897 # Conflict between --help and --header
41898 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41899 Try \`$0 --help' for more information." >&5
41900 echo "$as_me: error: ambiguous option: $1
41901 Try \`$0 --help' for more information." >&2;}
41902 { (exit 1); exit 1; }; };;
41903 --help | --hel | -h )
41904 echo "$ac_cs_usage"; exit 0 ;;
41905 --debug | --d* | -d )
41907 --file | --fil | --fi | --f )
41909 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
41910 ac_need_defaults
=false
;;
41911 --header | --heade | --head | --hea )
41913 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
41914 ac_need_defaults
=false
;;
41915 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41916 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41919 # This is an error.
41920 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41921 Try \`$0 --help' for more information." >&5
41922 echo "$as_me: error: unrecognized option: $1
41923 Try \`$0 --help' for more information." >&2;}
41924 { (exit 1); exit 1; }; } ;;
41926 *) ac_config_targets
="$ac_config_targets $1" ;;
41932 ac_configure_extra_args
=
41934 if $ac_cs_silent; then
41936 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41940 cat >>$CONFIG_STATUS <<_ACEOF
41941 if \$ac_cs_recheck; then
41942 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41943 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41948 cat >>$CONFIG_STATUS <<_ACEOF
41950 # INIT-COMMANDS section.
41953 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41954 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41955 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41963 cat >>$CONFIG_STATUS <<\_ACEOF
41964 for ac_config_target
in $ac_config_targets
41966 case "$ac_config_target" in
41967 # Handling of arguments.
41968 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41969 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41970 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41971 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41972 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41973 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
41974 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41975 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41976 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41977 { (exit 1); exit 1; }; };;
41981 # If the user did not use the arguments to specify the items to instantiate,
41982 # then the envvar interface is used. Set only those that are not.
41983 # We use the long form for the default assignment because of an extremely
41984 # bizarre bug on SunOS 4.1.3.
41985 if $ac_need_defaults; then
41986 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41987 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41988 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41991 # Have a temporary directory for convenience. Make it in the build tree
41992 # simply because there is no reason to put it here, and in addition,
41993 # creating and moving files from /tmp can sometimes cause problems.
41994 # Create a temporary directory, and hook for its removal unless debugging.
41997 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41998 trap '{ (exit 1); exit 1; }' 1 2 13 15
42001 # Create a (secure) tmp directory for tmp files.
42004 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42005 test -n "$tmp" && test -d "$tmp"
42008 tmp
=.
/confstat$$
-$RANDOM
42009 (umask 077 && mkdir $tmp)
42012 echo "$me: cannot create a temporary directory in ." >&2
42013 { (exit 1); exit 1; }
42018 cat >>$CONFIG_STATUS <<_ACEOF
42021 # CONFIG_FILES section.
42024 # No need to generate the scripts if there are no CONFIG_FILES.
42025 # This happens for instance when ./config.status config.h
42026 if test -n "\$CONFIG_FILES"; then
42027 # Protect against being on the right side of a sed subst in config.status.
42028 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42029 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42030 s,@SHELL@,$SHELL,;t t
42031 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42032 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42033 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42034 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42035 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42036 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42037 s,@exec_prefix@,$exec_prefix,;t t
42038 s,@prefix@,$prefix,;t t
42039 s,@program_transform_name@,$program_transform_name,;t t
42040 s,@bindir@,$bindir,;t t
42041 s,@sbindir@,$sbindir,;t t
42042 s,@libexecdir@,$libexecdir,;t t
42043 s,@datadir@,$datadir,;t t
42044 s,@sysconfdir@,$sysconfdir,;t t
42045 s,@sharedstatedir@,$sharedstatedir,;t t
42046 s,@localstatedir@,$localstatedir,;t t
42047 s,@libdir@,$libdir,;t t
42048 s,@includedir@,$includedir,;t t
42049 s,@oldincludedir@,$oldincludedir,;t t
42050 s,@infodir@,$infodir,;t t
42051 s,@mandir@,$mandir,;t t
42052 s,@build_alias@,$build_alias,;t t
42053 s,@host_alias@,$host_alias,;t t
42054 s,@target_alias@,$target_alias,;t t
42055 s,@DEFS@,$DEFS,;t t
42056 s,@ECHO_C@,$ECHO_C,;t t
42057 s,@ECHO_N@,$ECHO_N,;t t
42058 s,@ECHO_T@,$ECHO_T,;t t
42059 s,@LIBS@,$LIBS,;t t
42060 s,@build@,$build,;t t
42061 s,@build_cpu@,$build_cpu,;t t
42062 s,@build_vendor@,$build_vendor,;t t
42063 s,@build_os@,$build_os,;t t
42064 s,@host@,$host,;t t
42065 s,@host_cpu@,$host_cpu,;t t
42066 s,@host_vendor@,$host_vendor,;t t
42067 s,@host_os@,$host_os,;t t
42068 s,@target@,$target,;t t
42069 s,@target_cpu@,$target_cpu,;t t
42070 s,@target_vendor@,$target_vendor,;t t
42071 s,@target_os@,$target_os,;t t
42073 s,@CFLAGS@,$CFLAGS,;t t
42074 s,@LDFLAGS@,$LDFLAGS,;t t
42075 s,@CPPFLAGS@,$CPPFLAGS,;t t
42076 s,@ac_ct_CC@,$ac_ct_CC,;t t
42077 s,@EXEEXT@,$EXEEXT,;t t
42078 s,@OBJEXT@,$OBJEXT,;t t
42080 s,@EGREP@,$EGREP,;t t
42082 s,@CXXFLAGS@,$CXXFLAGS,;t t
42083 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42084 s,@RANLIB@,$RANLIB,;t t
42085 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42087 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42088 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42089 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42090 s,@STRIP@,$STRIP,;t t
42091 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42092 s,@LN_S@,$LN_S,;t t
42093 s,@CXXCPP@,$CXXCPP,;t t
42094 s,@subdirs@,$subdirs,;t t
42095 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42096 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42097 s,@GTK_LIBS@,$GTK_LIBS,;t t
42098 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42099 s,@X_CFLAGS@,$X_CFLAGS,;t t
42100 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42101 s,@X_LIBS@,$X_LIBS,;t t
42102 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42103 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42104 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42105 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42106 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42107 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42108 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42109 s,@RESCOMP@,$RESCOMP,;t t
42110 s,@DEREZ@,$DEREZ,;t t
42111 s,@SETFILE@,$SETFILE,;t t
42112 s,@LIBICONV@,$LIBICONV,;t t
42113 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42114 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42115 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42116 s,@SDL_LIBS@,$SDL_LIBS,;t t
42117 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42118 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42119 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42120 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42121 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42122 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42123 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42124 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42125 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42126 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42127 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42128 s,@VENDOR@,$VENDOR,;t t
42129 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42130 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42131 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42132 s,@WXUNIV@,$WXUNIV,;t t
42133 s,@MONOLITHIC@,$MONOLITHIC,;t t
42134 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42135 s,@EXTRALIBS@,$EXTRALIBS,;t t
42136 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42137 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42138 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42139 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42140 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42141 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42142 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42143 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42144 s,@UNICODE@,$UNICODE,;t t
42145 s,@BUILD@,$BUILD,;t t
42146 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42147 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42148 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42149 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42150 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42151 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42152 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42153 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42154 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42155 s,@SET_MAKE@,$SET_MAKE,;t t
42156 s,@MAKE_SET@,$MAKE_SET,;t t
42157 s,@ac_ct_AR@,$ac_ct_AR,;t t
42158 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42160 s,@ac_ct_NM@,$ac_ct_NM,;t t
42161 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42162 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42163 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42164 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42165 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42166 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42167 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
42168 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42169 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42170 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
42171 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42172 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42173 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42174 s,@LIBPREFIX@,$LIBPREFIX,;t t
42175 s,@LIBEXT@,$LIBEXT,;t t
42176 s,@DLLPREFIX@,$DLLPREFIX,;t t
42177 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42178 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42179 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42180 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42181 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42182 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42183 s,@PIC_FLAG@,$PIC_FLAG,;t t
42184 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42185 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42186 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42187 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42188 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42189 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42190 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42191 s,@GCC_PCH@,$GCC_PCH,;t t
42192 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42193 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42194 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42195 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42196 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42197 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42198 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42199 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42200 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42201 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42202 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42203 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42204 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42205 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42206 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42207 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42208 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42209 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42210 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
42211 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
42212 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42213 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42214 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42215 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42216 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
42217 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
42218 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42219 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42220 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42221 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42222 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42223 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42224 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42225 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42226 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42227 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42228 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42229 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42230 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42231 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42232 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
42233 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
42234 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42235 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42236 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42237 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42238 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42239 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42240 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42241 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42242 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42243 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42244 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42245 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42246 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42247 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42248 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42249 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42250 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42251 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42252 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42253 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42254 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42255 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42256 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42257 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42258 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42259 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42260 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42261 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42262 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42263 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42264 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42265 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42266 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42267 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42268 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42269 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42270 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42271 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42272 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42273 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42274 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42275 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42276 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42277 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42278 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42279 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42280 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42281 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42282 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42283 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42284 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42285 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42286 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42287 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42288 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42289 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42290 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42291 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42292 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42293 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42294 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42295 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42296 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42297 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42298 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42299 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42300 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42301 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42302 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42303 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42304 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42305 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42306 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42307 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42308 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42309 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42310 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42311 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42312 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42313 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42314 s,@SHARED@,$SHARED,;t t
42315 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42316 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42317 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42318 s,@USE_GUI@,$USE_GUI,;t t
42319 s,@AFMINSTALL@,$AFMINSTALL,;t t
42320 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42321 s,@TOOLKIT@,$TOOLKIT,;t t
42322 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42323 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42324 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42325 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42326 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42327 s,@cross_compiling@,$cross_compiling,;t t
42328 s,@WIDGET_SET@,$WIDGET_SET,;t t
42329 s,@WX_RELEASE@,$WX_RELEASE,;t t
42330 s,@WX_VERSION@,$WX_VERSION,;t t
42331 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42332 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42333 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42334 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42335 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42336 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42337 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42338 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42339 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42340 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42341 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42342 s,@EXE_LINKER@,$EXE_LINKER,;t t
42343 s,@GUIDIST@,$GUIDIST,;t t
42344 s,@DISTDIR@,$DISTDIR,;t t
42345 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42346 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42347 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42348 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42349 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42350 s,@RESFLAGS@,$RESFLAGS,;t t
42351 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42352 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42353 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42354 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42355 s,@MACRESCOMP@,$MACRESCOMP,;t t
42356 s,@MACSETFILE@,$MACSETFILE,;t t
42357 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42359 s,@DLLTOOL@,$DLLTOOL,;t t
42360 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42361 s,@LIBOBJS@,$LIBOBJS,;t t
42362 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42367 cat >>$CONFIG_STATUS <<\_ACEOF
42368 # Split the substitutions into bite-sized pieces for seds with
42369 # small command number limits, like on Digital OSF/1 and HP-UX.
42370 ac_max_sed_lines
=48
42371 ac_sed_frag
=1 # Number of current file.
42372 ac_beg
=1 # First line for current file.
42373 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42376 while $ac_more_lines; do
42377 if test $ac_beg -gt 1; then
42378 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42380 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42382 if test ! -s $tmp/subs.frag
; then
42383 ac_more_lines
=false
42385 # The purpose of the label and of the branching condition is to
42386 # speed up the sed processing (if there are no `@' at all, there
42387 # is no need to browse any of the substitutions).
42388 # These are the two extra sed commands mentioned above.
42390 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42391 if test -z "$ac_sed_cmds"; then
42392 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42394 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42396 ac_sed_frag
=`expr $ac_sed_frag + 1`
42398 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42401 if test -z "$ac_sed_cmds"; then
42404 fi # test -n "$CONFIG_FILES"
42407 cat >>$CONFIG_STATUS <<\_ACEOF
42408 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42409 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42411 - | *:- | *:-:* ) # input from stdin
42413 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42414 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42415 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42416 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42417 * ) ac_file_in
=$ac_file.
in ;;
42420 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42421 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42422 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42423 X"$ac_file" : 'X\(//\)[^/]' \| \
42424 X"$ac_file" : 'X\(//\)$' \| \
42425 X"$ac_file" : 'X\(/\)' \| \
42426 . : '\(.\)' 2>/dev/null ||
42428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42429 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42430 /^X\(\/\/\)$/{ s//\1/; q; }
42431 /^X\(\/\).*/{ s//\1/; q; }
42433 { if $as_mkdir_p; then
42438 while test ! -d "$as_dir"; do
42439 as_dirs
="$as_dir $as_dirs"
42440 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42441 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42442 X"$as_dir" : 'X\(//\)[^/]' \| \
42443 X"$as_dir" : 'X\(//\)$' \| \
42444 X"$as_dir" : 'X\(/\)' \| \
42445 . : '\(.\)' 2>/dev/null ||
42447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42448 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42449 /^X\(\/\/\)$/{ s//\1/; q; }
42450 /^X\(\/\).*/{ s//\1/; q; }
42453 test ! -n "$as_dirs" || mkdir $as_dirs
42454 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42455 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42456 { (exit 1); exit 1; }; }; }
42460 if test "$ac_dir" != .
; then
42461 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42462 # A "../" for each directory in $ac_dir_suffix.
42463 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42465 ac_dir_suffix
= ac_top_builddir
=
42469 .
) # No --srcdir option. We are building in place.
42471 if test -z "$ac_top_builddir"; then
42474 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42476 [\\/]* | ?
:[\\/]* ) # Absolute path.
42477 ac_srcdir
=$srcdir$ac_dir_suffix;
42478 ac_top_srcdir
=$srcdir ;;
42479 *) # Relative path.
42480 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42481 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42484 # Do not use `cd foo && pwd` to compute absolute paths, because
42485 # the directories may not exist.
42487 .
) ac_abs_builddir
="$ac_dir";;
42490 .
) ac_abs_builddir
=`pwd`;;
42491 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42492 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42495 case $ac_abs_builddir in
42496 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42498 case ${ac_top_builddir}.
in
42499 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42500 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42501 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42504 case $ac_abs_builddir in
42505 .
) ac_abs_srcdir
=$ac_srcdir;;
42508 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42509 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42510 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42513 case $ac_abs_builddir in
42514 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42516 case $ac_top_srcdir in
42517 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42518 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42519 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42525 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42526 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42529 # Let's still pretend it is `configure' which instantiates (i.e., don't
42530 # use $as_me), people would be surprised to read:
42531 # /* config.h. Generated by config.status. */
42532 if test x
"$ac_file" = x
-; then
42535 configure_input
="$ac_file. "
42537 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42538 sed 's,.*/,,'` by configure."
42540 # First look for the input files in the build tree, otherwise in the
42542 ac_file_inputs
=`IFS=:
42543 for f in $ac_file_in; do
42545 -) echo $tmp/stdin ;;
42547 # Absolute (can't be DOS-style, as IFS=:)
42548 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42549 echo "$as_me: error: cannot find input file: $f" >&2;}
42550 { (exit 1); exit 1; }; }
42553 if test -f "$f"; then
42556 elif test -f "$srcdir/$f"; then
42561 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42562 echo "$as_me: error: cannot find input file: $f" >&2;}
42563 { (exit 1); exit 1; }; }
42566 done` || { (exit 1); exit 1; }
42568 if test x
"$ac_file" != x
-; then
42569 { echo "$as_me:$LINENO: creating $ac_file" >&5
42570 echo "$as_me: creating $ac_file" >&6;}
42574 cat >>$CONFIG_STATUS <<_ACEOF
42578 cat >>$CONFIG_STATUS <<\_ACEOF
42580 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42581 s
,@configure_input@
,$configure_input,;t t
42582 s
,@srcdir@
,$ac_srcdir,;t t
42583 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42584 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42585 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42586 s
,@builddir@
,$ac_builddir,;t t
42587 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42588 s
,@top_builddir@
,$ac_top_builddir,;t t
42589 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42590 s
,@INSTALL@
,$ac_INSTALL,;t t
42591 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42593 if test x"$ac_file" != x-; then
42594 mv $tmp/out $ac_file
42600 # Run the commands associated with the file.
42602 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42603 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42607 cat >>$CONFIG_STATUS <<\_ACEOF
42610 # CONFIG_HEADER section.
42613 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42614 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42616 # ac_d sets the value in "#define NAME VALUE" lines.
42617 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42618 ac_dB
='[ ].*$,\1#\2'
42621 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42622 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42623 ac_uB
='$,\1#\2define\3'
42627 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42628 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42630 - | *:- | *:-:* ) # input from stdin
42632 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42633 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42634 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42635 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42636 * ) ac_file_in
=$ac_file.
in ;;
42639 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42640 echo "$as_me: creating $ac_file" >&6;}
42642 # First look for the input files in the build tree, otherwise in the
42644 ac_file_inputs
=`IFS=:
42645 for f in $ac_file_in; do
42647 -) echo $tmp/stdin ;;
42649 # Absolute (can't be DOS-style, as IFS=:)
42650 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42651 echo "$as_me: error: cannot find input file: $f" >&2;}
42652 { (exit 1); exit 1; }; }
42653 # Do quote $f, to prevent DOS paths from being IFS'd.
42656 if test -f "$f"; then
42659 elif test -f "$srcdir/$f"; then
42664 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42665 echo "$as_me: error: cannot find input file: $f" >&2;}
42666 { (exit 1); exit 1; }; }
42669 done` || { (exit 1); exit 1; }
42670 # Remove the trailing spaces.
42671 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42675 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42676 # `conftest.undefs', that substitutes the proper values into
42677 # config.h.in to produce config.h. The first handles `#define'
42678 # templates, and the second `#undef' templates.
42679 # And first: Protect against being on the right side of a sed subst in
42680 # config.status. Protect against being in an unquoted here document
42681 # in config.status.
42682 rm -f conftest.defines conftest.undefs
42683 # Using a here document instead of a string reduces the quoting nightmare.
42684 # Putting comments in sed scripts is not portable.
42686 # `end' is used to avoid that the second main sed command (meant for
42687 # 0-ary CPP macros) applies to n-ary macro definitions.
42688 # See the Autoconf documentation for `clear'.
42689 cat >confdef2sed.
sed <<\_ACEOF
42694 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42696 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42699 # If some macros were called several times there might be several times
42700 # the same #defines, which is useless. Nevertheless, we may not want to
42701 # sort them, since we want the *last* AC-DEFINE to be honored.
42702 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42703 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42704 rm -f confdef2sed.sed
42706 # This sed command replaces #undef with comments. This is necessary, for
42707 # example, in the case of _POSIX_SOURCE, which is predefined and required
42708 # on some systems where configure will not decide to define it.
42709 cat >>conftest.undefs <<\_ACEOF
42710 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42713 # Break up conftest.defines because some shells have a limit on the size
42714 # of here documents, and old seds have small limits too (100 cmds).
42715 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42716 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42717 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42718 echo ' :' >>$CONFIG_STATUS
42719 rm -f conftest.tail
42720 while grep . conftest.defines >/dev/null
42722 # Write a limited-size here document to $tmp/defines.sed.
42723 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42724 # Speed up: don't consider the non `#define' lines.
42725 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42726 # Work around the forget-to-reset-the-flag bug.
42727 echo 't clr' >>$CONFIG_STATUS
42728 echo ': clr' >>$CONFIG_STATUS
42729 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42731 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42733 mv $tmp/out $tmp/in
42735 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42736 rm -f conftest.defines
42737 mv conftest.
tail conftest.defines
42739 rm -f conftest.defines
42740 echo ' fi # grep' >>$CONFIG_STATUS
42741 echo >>$CONFIG_STATUS
42743 # Break up conftest.undefs because some shells have a limit on the size
42744 # of here documents, and old seds have small limits too (100 cmds).
42745 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42746 rm -f conftest.
tail
42747 while grep . conftest.undefs
>/dev
/null
42749 # Write a limited-size here document to $tmp/undefs.sed.
42750 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42751 # Speed up: don't consider the non
`#undef'
42752 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42753 # Work around the forget-to-reset-the-flag bug.
42754 echo 't clr' >>$CONFIG_STATUS
42755 echo ': clr' >>$CONFIG_STATUS
42756 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42758 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42760 mv $tmp/out $tmp/in
42762 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42763 rm -f conftest.undefs
42764 mv conftest.tail conftest.undefs
42766 rm -f conftest.undefs
42768 cat >>$CONFIG_STATUS <<\_ACEOF
42769 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42770 # use $as_me), people would be surprised to read:
42771 # /* config.h. Generated by config.status. */
42772 if test x
"$ac_file" = x
-; then
42773 echo "/* Generated by configure. */" >$tmp/config.h
42775 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42777 cat $tmp/in >>$tmp/config.h
42779 if test x
"$ac_file" != x
-; then
42780 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42781 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42782 echo "$as_me: $ac_file is unchanged" >&6;}
42784 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42785 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42786 X"$ac_file" : 'X\(//\)[^/]' \| \
42787 X"$ac_file" : 'X\(//\)$' \| \
42788 X"$ac_file" : 'X\(/\)' \| \
42789 . : '\(.\)' 2>/dev/null ||
42791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42792 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42793 /^X\(\/\/\)$/{ s//\1/; q; }
42794 /^X\(\/\).*/{ s//\1/; q; }
42796 { if $as_mkdir_p; then
42801 while test ! -d "$as_dir"; do
42802 as_dirs
="$as_dir $as_dirs"
42803 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42805 X"$as_dir" : 'X\(//\)[^/]' \| \
42806 X"$as_dir" : 'X\(//\)$' \| \
42807 X"$as_dir" : 'X\(/\)' \| \
42808 . : '\(.\)' 2>/dev/null ||
42810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42811 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42812 /^X\(\/\/\)$/{ s//\1/; q; }
42813 /^X\(\/\).*/{ s//\1/; q; }
42816 test ! -n "$as_dirs" || mkdir $as_dirs
42817 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42818 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42819 { (exit 1); exit 1; }; }; }
42822 mv $tmp/config.h
$ac_file
42826 rm -f $tmp/config.h
42830 cat >>$CONFIG_STATUS <<\_ACEOF
42833 # CONFIG_COMMANDS section.
42835 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42836 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42837 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42838 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42839 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42840 X"$ac_dest" : 'X\(//\)[^/]' \| \
42841 X"$ac_dest" : 'X\(//\)$' \| \
42842 X"$ac_dest" : 'X\(/\)' \| \
42843 . : '\(.\)' 2>/dev/null ||
42845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42846 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42847 /^X\(\/\/\)$/{ s//\1/; q; }
42848 /^X\(\/\).*/{ s//\1/; q; }
42850 { if $as_mkdir_p; then
42855 while test ! -d "$as_dir"; do
42856 as_dirs
="$as_dir $as_dirs"
42857 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42859 X"$as_dir" : 'X\(//\)[^/]' \| \
42860 X"$as_dir" : 'X\(//\)$' \| \
42861 X"$as_dir" : 'X\(/\)' \| \
42862 . : '\(.\)' 2>/dev/null ||
42864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42866 /^X\(\/\/\)$/{ s//\1/; q; }
42867 /^X\(\/\).*/{ s//\1/; q; }
42870 test ! -n "$as_dirs" || mkdir $as_dirs
42871 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42872 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42873 { (exit 1); exit 1; }; }; }
42877 if test "$ac_dir" != .
; then
42878 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42879 # A "../" for each directory in $ac_dir_suffix.
42880 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42882 ac_dir_suffix
= ac_top_builddir
=
42886 .
) # No --srcdir option. We are building in place.
42888 if test -z "$ac_top_builddir"; then
42891 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42893 [\\/]* | ?
:[\\/]* ) # Absolute path.
42894 ac_srcdir
=$srcdir$ac_dir_suffix;
42895 ac_top_srcdir
=$srcdir ;;
42896 *) # Relative path.
42897 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42898 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42901 # Do not use `cd foo && pwd` to compute absolute paths, because
42902 # the directories may not exist.
42904 .
) ac_abs_builddir
="$ac_dir";;
42907 .
) ac_abs_builddir
=`pwd`;;
42908 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42909 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42912 case $ac_abs_builddir in
42913 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42915 case ${ac_top_builddir}.
in
42916 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42917 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42918 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42921 case $ac_abs_builddir in
42922 .
) ac_abs_srcdir
=$ac_srcdir;;
42925 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42926 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42927 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42930 case $ac_abs_builddir in
42931 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42933 case $ac_top_srcdir in
42934 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42935 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42936 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42941 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42942 echo "$as_me: executing $ac_dest commands" >&6;}
42944 wx
-config ) rm -f wx
-config
42945 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42951 cat >>$CONFIG_STATUS <<\_ACEOF
42953 { (exit 0); exit 0; }
42955 chmod +x
$CONFIG_STATUS
42956 ac_clean_files
=$ac_clean_files_save
42959 # configure is writing to config.log, and then calls config.status.
42960 # config.status does its own redirection, appending to config.log.
42961 # Unfortunately, on DOS this fails, as config.log is still kept open
42962 # by configure, so config.status won't be able to write to it; its
42963 # output is simply discarded. So we exec the FD to /dev/null,
42964 # effectively closing config.log, so it can be properly (re)opened and
42965 # appended to by config.status. When coming back to configure, we
42966 # need to make the FD available again.
42967 if test "$no_create" != yes; then
42969 ac_config_status_args
=
42970 test "$silent" = yes &&
42971 ac_config_status_args
="$ac_config_status_args --quiet"
42973 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42975 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42976 # would make configure fail if this is the last instruction.
42977 $ac_cs_success || { (exit 1); exit 1; }
42981 # CONFIG_SUBDIRS section.
42983 if test "$no_recursion" != yes; then
42985 # Remove --cache-file and --srcdir arguments so they do not pile up.
42986 ac_sub_configure_args
=
42988 for ac_arg
in $ac_configure_args; do
42989 if test -n "$ac_prev"; then
42994 -cache-file | --cache-file | --cache-fil | --cache-fi \
42995 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42996 ac_prev
=cache_file
;;
42997 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42998 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43001 --config-cache | -C)
43003 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43005 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43007 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43009 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43011 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43015 # Always prepend --prefix to ensure using the same prefix
43016 # in subdir configurations.
43017 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43020 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43022 # Do not complain, so a configure script can configure whichever
43023 # parts of a large source tree are present.
43024 test -d $srcdir/$ac_dir || continue
43026 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43027 echo "$as_me: configuring in $ac_dir" >&6;}
43028 { if $as_mkdir_p; then
43033 while test ! -d "$as_dir"; do
43034 as_dirs
="$as_dir $as_dirs"
43035 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43036 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43037 X"$as_dir" : 'X\(//\)[^/]' \| \
43038 X"$as_dir" : 'X\(//\)$' \| \
43039 X"$as_dir" : 'X\(/\)' \| \
43040 . : '\(.\)' 2>/dev/null ||
43042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43043 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43044 /^X\(\/\/\)$/{ s//\1/; q; }
43045 /^X\(\/\).*/{ s//\1/; q; }
43048 test ! -n "$as_dirs" || mkdir $as_dirs
43049 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43050 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43051 { (exit 1); exit 1; }; }; }
43055 if test "$ac_dir" != .
; then
43056 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43057 # A "../" for each directory in $ac_dir_suffix.
43058 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43060 ac_dir_suffix
= ac_top_builddir
=
43064 .
) # No --srcdir option. We are building in place.
43066 if test -z "$ac_top_builddir"; then
43069 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43071 [\\/]* | ?
:[\\/]* ) # Absolute path.
43072 ac_srcdir
=$srcdir$ac_dir_suffix;
43073 ac_top_srcdir
=$srcdir ;;
43074 *) # Relative path.
43075 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43076 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43079 # Do not use `cd foo && pwd` to compute absolute paths, because
43080 # the directories may not exist.
43082 .
) ac_abs_builddir
="$ac_dir";;
43085 .
) ac_abs_builddir
=`pwd`;;
43086 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43087 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43090 case $ac_abs_builddir in
43091 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43093 case ${ac_top_builddir}.
in
43094 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43095 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43096 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43099 case $ac_abs_builddir in
43100 .
) ac_abs_srcdir
=$ac_srcdir;;
43103 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43104 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43105 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43108 case $ac_abs_builddir in
43109 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43111 case $ac_top_srcdir in
43112 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43113 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43114 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43121 # Check for guested configure; otherwise get Cygnus style configure.
43122 if test -f $ac_srcdir/configure.gnu
; then
43123 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43124 elif test -f $ac_srcdir/configure
; then
43125 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43126 elif test -f $ac_srcdir/configure.
in; then
43127 ac_sub_configure
=$ac_configure
43129 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43134 # The recursion is here.
43135 if test -n "$ac_sub_configure"; then
43136 # Make the cache file name correct relative to the subdirectory.
43137 case $cache_file in
43138 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43139 *) # Relative path.
43140 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43143 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43144 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43145 # The eval makes quoting arguments work.
43146 eval $ac_sub_configure $ac_sub_configure_args \
43147 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43148 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43149 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43150 { (exit 1); exit 1; }; }
43159 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43161 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43162 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43164 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43165 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43166 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43168 echo " What level of wxWidgets compatibility should be enabled?"
43169 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43170 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43172 echo " Which libraries should wxWidgets use?"
43173 echo " jpeg ${wxUSE_LIBJPEG-none}"
43174 echo " png ${wxUSE_LIBPNG-none}"
43175 echo " regex ${wxUSE_REGEX}"
43176 echo " tiff ${wxUSE_LIBTIFF-none}"
43177 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43178 echo " xpm ${wxUSE_LIBXPM-none}"
43180 echo " zlib ${wxUSE_ZLIB}"
43181 echo " odbc ${wxUSE_ODBC}"
43182 echo " expat ${wxUSE_EXPAT}"
43183 echo " libmspack ${wxUSE_LIBMSPACK}"
43184 echo " sdl ${wxUSE_LIBSDL}"
43185 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"