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_MACOSX PLATFORM_OS2 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_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_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_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_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_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 COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 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-wxprintfv use wxWidgets implementation of vprintf
()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support
in wxProtocol
939 --enable-protocol-ftp FTP support
in wxProtocol
940 --enable-protocol-file FILE support
in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use
help subsystem
944 --enable-mshtmlhelp use MS HTML Help
(win32
)
945 --enable-html use wxHTML sub
-library
946 --enable-htmlhelp use wxHTML
-based help
947 --enable-xrc use XRC resources sub
-library
948 --enable-constraints use layout
-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-mdidoc use docview architecture with MDI
952 --enable-loggui use standard GUI logger
953 --enable-logwin use wxLogWindow
954 --enable-logdialog use wxLogDialog
955 --enable-webkit use wxWebKitCtrl
(Mac
)
956 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
957 --enable-prologio not available
; see contrib
958 --enable-resources not available
; see contrib
959 --enable-clipboard use wxClipboard class
960 --enable-dnd use Drag
'n'Drop classes
961 --enable-metafile use win32 metafiles
962 --enable-controls use all usual controls
963 --enable-accel use accelerators
964 --enable-button use wxButton class
965 --enable-bmpbutton use wxBitmapButton class
966 --enable-calendar use wxCalendarCtrl class
967 --enable-caret use wxCaret class
968 --enable-checkbox use wxCheckBox class
969 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
970 --enable-choice use wxChoice class
971 --enable-choicebook use wxChoicebook class
972 --enable-combobox use wxComboBox class
973 --enable-display use wxDisplay class
974 --enable-gauge use wxGauge class
975 --enable-grid use wxGrid class
976 --enable-imaglist use wxImageList class
977 --enable-listbook use wxListbook class
978 --enable-listbox use wxListBox class
979 --enable-listctrl use wxListCtrl class
980 --enable-notebook use wxNotebook class
981 --enable-radiobox use wxRadioBox class
982 --enable-radiobtn use wxRadioButton class
983 --enable-sash use wxSashWindow class
984 --enable-scrollbar use wxScrollBar class and scrollable windows
985 --enable-slider use wxSlider class
986 --enable-spinbtn use wxSpinButton class
987 --enable-spinctrl use wxSpinCtrl class
988 --enable-splitter use wxSplitterWindow class
989 --enable-statbmp use wxStaticBitmap class
990 --enable-statbox use wxStaticBox class
991 --enable-statline use wxStaticLine class
992 --enable-stattext use wxStaticText class
993 --enable-statusbar use wxStatusBar class
994 --enable-tabdialog use wxTabControl class
995 --enable-textctrl use wxTextCtrl class
996 --enable-togglebtn use wxToggleButton class
997 --enable-toolbar use wxToolBar class
998 --enable-tbarnative use native wxToolBar class
999 --enable-tbarsmpl use wxToolBarSimple class
1000 --enable-treectrl use wxTreeCtrl class
1001 --enable-tipwindow use wxTipWindow class
1002 --enable-popupwin use wxPopUpWindow class
1003 --enable-commondlg use all common dialogs
1004 --enable-choicedlg use wxChoiceDialog
1005 --enable-coldlg use wxColourDialog
1006 --enable-filedlg use wxFileDialog
1007 --enable-finddlg use wxFindReplaceDialog
1008 --enable-fontdlg use wxFontDialog
1009 --enable-dirdlg use wxDirDialog
1010 --enable-msgdlg use wxMessageDialog
1011 --enable-numberdlg use wxNumberEntryDialog
1012 --enable-splash use wxSplashScreen
1013 --enable-textdlg use wxTextDialog
1014 --enable-tipdlg use startup tips
1015 --enable-progressdlg use wxProgressDialog
1016 --enable-wizarddlg use wxWizard
1017 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1018 --enable-miniframe use wxMiniFrame class
1019 --enable-tooltips use wxToolTip class
1020 --enable-splines use spline drawing code
1021 --enable-validators use wxValidator and derived classes
1022 --enable-busyinfo use wxBusyInfo
1023 --enable-joystick use wxJoystick
(Linux only
)
1024 --enable-metafiles use wxMetaFile
(Windows only
)
1025 --enable-dragimage use wxDragImage
1026 --enable-accessibility enable accessibility support
1027 --enable-palette use wxPalette class
1028 --enable-image use wxImage class
1029 --enable-gif use gif images
(GIF
file format
)
1030 --enable-pcx use pcx images
(PCX
file format
)
1031 --enable-iff use iff images
(IFF
file format
)
1032 --enable-pnm use pnm images
(PNM
file format
)
1033 --enable-xpm use xpm images
(XPM
file format
)
1034 --enable-icocur use Windows ICO and CUR formats
1035 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1036 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1037 --disable-largefile omit support
for large files
1038 --disable-gtktest do not try to compile and run a
test GTK
+ program
1039 --disable-gtktest Do not try to compile and run a
test GTK program
1040 --disable-sdltest Do not try to compile and run a
test SDL program
1041 --enable-omf use OMF object format
(OS
/2)
1042 --disable-precomp-headers
1043 don
't use precompiled headers even if compiler can
1046 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1047 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1049 --with-motif use Motif/Lesstif
1050 --with-mac use Mac OS X
1051 --with-cocoa use Cocoa
1052 --with-wine use Wine
1053 --with-msw use MS-Windows
1054 --with-pm use OS/2 Presentation Manager
1055 --with-mgl use SciTech MGL
1056 --with-microwin use MicroWindows
1058 --with-libpng use libpng (PNG image format)
1059 --with-libjpeg use libjpeg (JPEG file format)
1060 --with-libtiff use libtiff (TIFF file format)
1061 --with-libxpm use libxpm (XPM file format)
1062 --with-libmspack use libmspack (CHM help files loading)
1063 --with-sdl use SDL for audio on Unix
1064 --with-gnomeprint use GNOME print for audio printing under Unix
1065 --with-opengl use OpenGL (or Mesa)
1066 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1067 --with-regex enable support for wxRegEx class
1068 --with-zlib use zlib for LZW compression
1069 --with-odbc use the IODBC and wxODBC classes
1070 --with-expat enable XML support using expat parser
1071 --with-flavour=NAME specify a name to identify this build
1072 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1073 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1074 --with-x use the X Window System
1075 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1076 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1077 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1078 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1079 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1081 Some influential environment variables:
1082 CC C compiler command
1083 CFLAGS C compiler flags
1084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1085 nonstandard directory <lib dir>
1086 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1087 headers in a nonstandard directory <include dir>
1089 CXX C++ compiler command
1090 CXXFLAGS C++ compiler flags
1091 CXXCPP C++ preprocessor
1093 Use these variables to override the choices made by `configure' or to
help
1094 it to
find libraries and programs with nonstandard names
/locations.
1096 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1100 if test "$ac_init_help" = "recursive"; then
1101 # If there are subdirs, report their specific --help.
1103 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1104 test -d $ac_dir || continue
1107 if test "$ac_dir" != .
; then
1108 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1109 # A "../" for each directory in $ac_dir_suffix.
1110 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1112 ac_dir_suffix
= ac_top_builddir
=
1116 .
) # No --srcdir option. We are building in place.
1118 if test -z "$ac_top_builddir"; then
1121 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1123 [\\/]* | ?
:[\\/]* ) # Absolute path.
1124 ac_srcdir
=$srcdir$ac_dir_suffix;
1125 ac_top_srcdir
=$srcdir ;;
1127 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1128 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1131 # Do not use `cd foo && pwd` to compute absolute paths, because
1132 # the directories may not exist.
1134 .
) ac_abs_builddir
="$ac_dir";;
1137 .
) ac_abs_builddir
=`pwd`;;
1138 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1139 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1142 case $ac_abs_builddir in
1143 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1145 case ${ac_top_builddir}.
in
1146 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1147 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1148 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1151 case $ac_abs_builddir in
1152 .
) ac_abs_srcdir
=$ac_srcdir;;
1155 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1156 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1157 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1160 case $ac_abs_builddir in
1161 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1163 case $ac_top_srcdir in
1164 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1165 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1166 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1171 # Check for guested configure; otherwise get Cygnus style configure.
1172 if test -f $ac_srcdir/configure.gnu
; then
1174 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1175 elif test -f $ac_srcdir/configure
; then
1177 $SHELL $ac_srcdir/configure
--help=recursive
1178 elif test -f $ac_srcdir/configure.ac
||
1179 test -f $ac_srcdir/configure.
in; then
1181 $ac_configure --help
1183 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1189 test -n "$ac_init_help" && exit 0
1190 if $ac_init_version; then
1192 wxWidgets configure
2.5.3
1193 generated by GNU Autoconf
2.59
1195 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1196 This configure
script is free software
; the Free Software Foundation
1197 gives unlimited permission to copy
, distribute and modify it.
1203 This file contains any messages produced by compilers while
1204 running configure, to aid debugging if configure makes a mistake.
1206 It was created by wxWidgets $as_me 2.5.3, which was
1207 generated by GNU Autoconf 2.59. Invocation command line was
1218 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1219 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1220 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1221 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1222 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1224 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1225 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1227 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1228 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1229 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1230 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1231 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1232 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1233 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1241 test -z "$as_dir" && as_dir
=.
1242 echo "PATH: $as_dir"
1257 # Keep a trace of the command line.
1258 # Strip out --no-create and --no-recursion so they do not pile up.
1259 # Strip out --silent because we don't want to record it for future runs.
1260 # Also quote any args containing shell meta-characters.
1261 # Make two passes to allow for proper duplicate-argument suppression.
1266 ac_must_keep_next
=false
1272 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274 | -silent | --silent | --silen | --sile | --sil)
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1280 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1282 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1283 if test $ac_must_keep_next = true
; then
1284 ac_must_keep_next
=false
# Got value, back to normal.
1287 *=* | --config-cache | -C | -disable-* | --disable-* \
1288 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1289 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1290 | -with-* | --with-* | -without-* | --without-* | --x)
1291 case "$ac_configure_args0 " in
1292 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1295 -* ) ac_must_keep_next
=true
;;
1298 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1299 # Get rid of the leading space.
1305 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1306 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1308 # When interrupted or exit'd, cleanup temporary files, and complete
1309 # config.log. We remove comments because anyway the quotes in there
1310 # would cause problems or look ugly.
1311 # WARNING: Be sure not to use single quotes in there, as some shells,
1312 # such as our DU 5.0 friend, will then `close' the trap.
1313 trap 'exit_status=$?
1314 # Save into config.log some information that might help in debugging.
1319 ## ---------------- ##
1320 ## Cache variables. ##
1321 ## ---------------- ##
1324 # The following way of writing the cache mishandles newlines in values,
1327 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1330 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1335 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1342 ## ----------------- ##
1343 ## Output variables. ##
1344 ## ----------------- ##
1347 for ac_var in $ac_subst_vars
1349 eval ac_val=$`echo $ac_var`
1350 echo "$ac_var='"'"'$ac_val'"'"'"
1354 if test -n "$ac_subst_files"; then
1361 for ac_var in $ac_subst_files
1363 eval ac_val=$`echo $ac_var`
1364 echo "$ac_var='"'"'$ac_val'"'"'"
1369 if test -s confdefs.h; then
1376 sed "/^$/d" confdefs.h | sort
1379 test "$ac_signal" != 0 &&
1380 echo "$as_me: caught signal $ac_signal"
1381 echo "$as_me: exit $exit_status"
1383 rm -f core *.core &&
1384 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1387 for ac_signal
in 1 2 13 15; do
1388 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1392 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1393 rm -rf conftest
* confdefs.h
1394 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1397 # Predefined preprocessor variables.
1399 cat >>confdefs.h
<<_ACEOF
1400 #define PACKAGE_NAME "$PACKAGE_NAME"
1404 cat >>confdefs.h
<<_ACEOF
1405 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1409 cat >>confdefs.h
<<_ACEOF
1410 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1414 cat >>confdefs.h
<<_ACEOF
1415 #define PACKAGE_STRING "$PACKAGE_STRING"
1419 cat >>confdefs.h
<<_ACEOF
1420 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1424 # Let the site file select an alternate cache file if it wants to.
1425 # Prefer explicitly selected file to automatically selected ones.
1426 if test -z "$CONFIG_SITE"; then
1427 if test "x$prefix" != xNONE
; then
1428 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1430 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1433 for ac_site_file
in $CONFIG_SITE; do
1434 if test -r "$ac_site_file"; then
1435 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1436 echo "$as_me: loading site script $ac_site_file" >&6;}
1437 sed 's/^/| /' "$ac_site_file" >&5
1442 if test -r "$cache_file"; then
1443 # Some versions of bash will fail to source /dev/null (special
1444 # files actually), so we avoid doing that.
1445 if test -f "$cache_file"; then
1446 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1447 echo "$as_me: loading cache $cache_file" >&6;}
1449 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1450 *) . .
/$cache_file;;
1454 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1455 echo "$as_me: creating cache $cache_file" >&6;}
1459 # Check that the precious variables saved in the cache have kept the same
1461 ac_cache_corrupted
=false
1462 for ac_var
in `(set) 2>&1 |
1463 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1464 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1465 eval ac_new_set
=\
$ac_env_${ac_var}_set
1466 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1467 eval ac_new_val
="\$ac_env_${ac_var}_value"
1468 case $ac_old_set,$ac_new_set in
1470 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1471 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1472 ac_cache_corrupted
=: ;;
1474 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1475 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1476 ac_cache_corrupted
=: ;;
1479 if test "x$ac_old_val" != "x$ac_new_val"; then
1480 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1481 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1482 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1483 echo "$as_me: former value: $ac_old_val" >&2;}
1484 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1485 echo "$as_me: current value: $ac_new_val" >&2;}
1486 ac_cache_corrupted
=:
1489 # Pass precious variables to config.status.
1490 if test "$ac_new_set" = set; then
1492 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1493 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1494 *) ac_arg
=$ac_var=$ac_new_val ;;
1496 case " $ac_configure_args " in
1497 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1498 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1502 if $ac_cache_corrupted; then
1503 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1504 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1505 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1506 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1507 { (exit 1); exit 1; }; }
1511 ac_cpp
='$CPP $CPPFLAGS'
1512 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1513 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1514 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1546 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1547 if test -f $ac_dir/install-sh; then
1549 ac_install_sh
="$ac_aux_dir/install-sh -c"
1551 elif test -f $ac_dir/install.sh
; then
1553 ac_install_sh
="$ac_aux_dir/install.sh -c"
1555 elif test -f $ac_dir/shtool
; then
1557 ac_install_sh
="$ac_aux_dir/shtool install -c"
1561 if test -z "$ac_aux_dir"; then
1562 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1563 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1564 { (exit 1); exit 1; }; }
1566 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1567 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1568 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1570 # Make sure we can run config.sub.
1571 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1572 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1573 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1574 { (exit 1); exit 1; }; }
1576 echo "$as_me:$LINENO: checking build system type" >&5
1577 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1578 if test "${ac_cv_build+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1581 ac_cv_build_alias
=$build_alias
1582 test -z "$ac_cv_build_alias" &&
1583 ac_cv_build_alias
=`$ac_config_guess`
1584 test -z "$ac_cv_build_alias" &&
1585 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1586 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1587 { (exit 1); exit 1; }; }
1588 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1590 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1594 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1595 echo "${ECHO_T}$ac_cv_build" >&6
1597 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1602 echo "$as_me:$LINENO: checking host system type" >&5
1603 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1604 if test "${ac_cv_host+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 ac_cv_host_alias
=$host_alias
1608 test -z "$ac_cv_host_alias" &&
1609 ac_cv_host_alias
=$ac_cv_build_alias
1610 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1611 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1612 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1613 { (exit 1); exit 1; }; }
1616 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1617 echo "${ECHO_T}$ac_cv_host" >&6
1619 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1620 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1621 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1624 echo "$as_me:$LINENO: checking target system type" >&5
1625 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1626 if test "${ac_cv_target+set}" = set; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 ac_cv_target_alias
=$target_alias
1630 test "x$ac_cv_target_alias" = "x" &&
1631 ac_cv_target_alias
=$ac_cv_host_alias
1632 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1633 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1634 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1635 { (exit 1); exit 1; }; }
1638 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1639 echo "${ECHO_T}$ac_cv_target" >&6
1640 target
=$ac_cv_target
1641 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1642 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1643 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1646 # The aliases save the names the user supplied, while $host etc.
1647 # will get canonicalized.
1648 test -n "$target_alias" &&
1649 test "$program_prefix$program_suffix$program_transform_name" = \
1651 program_prefix
=${target_alias}-
1655 wx_major_version_number
=2
1656 wx_minor_version_number
=5
1658 wx_subrelease_number
=2
1660 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1661 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1662 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1664 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1680 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1686 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1692 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1694 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1696 DEFAULT_wxUSE_COCOA
=0
1700 DEFAULT_wxUSE_MICROWIN
=0
1701 DEFAULT_wxUSE_MOTIF
=0
1706 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1707 DEFAULT_DEFAULT_wxUSE_GTK
=0
1708 DEFAULT_DEFAULT_wxUSE_MAC
=0
1709 DEFAULT_DEFAULT_wxUSE_MGL
=0
1710 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1711 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1712 DEFAULT_DEFAULT_wxUSE_MSW
=0
1713 DEFAULT_DEFAULT_wxUSE_PM
=0
1714 DEFAULT_DEFAULT_wxUSE_X11
=0
1719 SAMPLES_RPATH_POSTLINK
=
1724 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1725 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1727 cat >>confdefs.h
<<\_ACEOF
1734 cat >>confdefs.h
<<\_ACEOF
1739 if test "x$TMP" = "xalpha"; then
1741 cat >>confdefs.h
<<\_ACEOF
1746 DEFAULT_DEFAULT_wxUSE_GTK
=1
1748 *-*-gnu* | *-*-k*bsd
*-gnu )
1751 if test "x$TMP" = "xalpha"; then
1753 cat >>confdefs.h
<<\_ACEOF
1758 DEFAULT_DEFAULT_wxUSE_GTK
=1
1760 *-*-irix5* | *-*-irix6* )
1763 cat >>confdefs.h
<<\_ACEOF
1767 cat >>confdefs.h
<<\_ACEOF
1771 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1777 cat >>confdefs.h
<<\_ACEOF
1781 cat >>confdefs.h
<<\_ACEOF
1782 #define __SOLARIS__ 1
1785 cat >>confdefs.h
<<\_ACEOF
1789 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1790 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1796 cat >>confdefs.h
<<\_ACEOF
1800 cat >>confdefs.h
<<\_ACEOF
1804 cat >>confdefs.h
<<\_ACEOF
1808 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1813 cat >>confdefs.h
<<\_ACEOF
1814 #define __FREEBSD__ 1
1817 cat >>confdefs.h
<<\_ACEOF
1821 DEFAULT_DEFAULT_wxUSE_GTK
=1
1826 cat >>confdefs.h
<<\_ACEOF
1827 #define __OPENBSD__ 1
1830 cat >>confdefs.h
<<\_ACEOF
1834 DEFAULT_DEFAULT_wxUSE_GTK
=1
1839 cat >>confdefs.h
<<\_ACEOF
1840 #define __NETBSD__ 1
1843 cat >>confdefs.h
<<\_ACEOF
1847 DEFAULT_DEFAULT_wxUSE_GTK
=1
1852 cat >>confdefs.h
<<\_ACEOF
1856 cat >>confdefs.h
<<\_ACEOF
1860 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1861 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1866 cat >>confdefs.h
<<\_ACEOF
1870 cat >>confdefs.h
<<\_ACEOF
1874 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1879 cat >>confdefs.h
<<\_ACEOF
1883 cat >>confdefs.h
<<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1894 cat >>confdefs.h
<<\_ACEOF
1898 cat >>confdefs.h
<<\_ACEOF
1902 cat >>confdefs.h
<<\_ACEOF
1906 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1913 cat >>confdefs.h
<<\_ACEOF
1914 #define __UNIXWARE__ 1
1919 *-*-cygwin* | *-*-mingw32* )
1923 DEFAULT_DEFAULT_wxUSE_MSW
=1
1929 cat >>confdefs.h
<<\_ACEOF
1934 DEFAULT_DEFAULT_wxUSE_MGL
=1
1935 LIBS
="$LIBS -lstdc++"
1938 *-pc-os2_emx | *-pc-os2-emx )
1939 cat >>confdefs.h
<<\_ACEOF
1944 cat >>confdefs.h
<<\_ACEOF
1949 DEFAULT_DEFAULT_wxUSE_PM
=1
1951 LDFLAGS
="$LDFLAGS -Zcrtdll"
1952 ac_executable_extensions
=".exe"
1953 export ac_executable_extensions
1957 for ac_dir
in $PATH; do
1959 if test -z "$ac_TEMP_PATH"; then
1960 ac_TEMP_PATH
="$ac_dir"
1962 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1965 export PATH
="$ac_TEMP_PATH"
1973 cat >>confdefs.h
<<\_ACEOF
1977 cat >>confdefs.h
<<\_ACEOF
1978 #define __DARWIN__ 1
1981 cat >>confdefs.h
<<\_ACEOF
1982 #define __POWERPC__ 1
1985 cat >>confdefs.h
<<\_ACEOF
1986 #define TARGET_CARBON 1
1989 DEFAULT_DEFAULT_wxUSE_MAC
=1
1994 cat >>confdefs.h
<<\_ACEOF
2001 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2002 echo "$as_me: error: unknown system type ${host}." >&2;}
2003 { (exit 1); exit 1; }; }
2009 wx_arg_cache_file
="configarg.cache"
2010 echo "loading argument cache $wx_arg_cache_file"
2011 rm -f ${wx_arg_cache_file}.tmp
2012 touch ${wx_arg_cache_file}.tmp
2013 touch ${wx_arg_cache_file}
2017 if test $DEBUG_CONFIGURE = 1; then
2018 DEFAULT_wxUSE_UNIVERSAL
=no
2019 DEFAULT_wxUSE_STL
=no
2021 DEFAULT_wxUSE_NANOX
=no
2023 DEFAULT_wxUSE_THREADS
=yes
2025 DEFAULT_wxUSE_SHARED
=yes
2026 DEFAULT_wxUSE_OPTIMISE
=no
2027 DEFAULT_wxUSE_PROFILE
=no
2028 DEFAULT_wxUSE_NO_DEPS
=no
2029 DEFAULT_wxUSE_NO_RTTI
=no
2030 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2031 DEFAULT_wxUSE_RPATH
=yes
2032 DEFAULT_wxUSE_PERMISSIVE
=no
2033 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2034 DEFAULT_wxUSE_DEBUG_INFO
=yes
2035 DEFAULT_wxUSE_DEBUG_GDB
=yes
2036 DEFAULT_wxUSE_MEM_TRACING
=no
2037 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2038 DEFAULT_wxUSE_DMALLOC
=no
2039 DEFAULT_wxUSE_APPLE_IEEE
=no
2041 DEFAULT_wxUSE_EXCEPTIONS
=no
2042 DEFAULT_wxUSE_LOG
=yes
2043 DEFAULT_wxUSE_LOGWINDOW
=no
2044 DEFAULT_wxUSE_LOGGUI
=no
2045 DEFAULT_wxUSE_LOGDIALOG
=no
2047 DEFAULT_wxUSE_GUI
=yes
2048 DEFAULT_wxUSE_CONTROLS
=no
2050 DEFAULT_wxUSE_REGEX
=no
2051 DEFAULT_wxUSE_XML
=no
2052 DEFAULT_wxUSE_EXPAT
=no
2053 DEFAULT_wxUSE_ZLIB
=no
2054 DEFAULT_wxUSE_LIBPNG
=no
2055 DEFAULT_wxUSE_LIBJPEG
=no
2056 DEFAULT_wxUSE_LIBTIFF
=no
2057 DEFAULT_wxUSE_LIBXPM
=no
2058 DEFAULT_wxUSE_LIBMSPACK
=no
2059 DEFAULT_wxUSE_LIBSDL
=no
2060 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2061 DEFAULT_wxUSE_ODBC
=no
2062 DEFAULT_wxUSE_OPENGL
=no
2064 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2065 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2066 DEFAULT_wxUSE_STD_IOSTREAM
=no
2067 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2068 DEFAULT_wxUSE_DATETIME
=no
2069 DEFAULT_wxUSE_TIMER
=no
2070 DEFAULT_wxUSE_STOPWATCH
=no
2071 DEFAULT_wxUSE_FILE
=no
2072 DEFAULT_wxUSE_FFILE
=no
2073 DEFAULT_wxUSE_TEXTBUFFER
=no
2074 DEFAULT_wxUSE_TEXTFILE
=no
2075 DEFAULT_wxUSE_SOUND
=no
2076 DEFAULT_wxUSE_INTL
=no
2077 DEFAULT_wxUSE_CONFIG
=no
2078 DEFAULT_wxUSE_FONTMAP
=no
2079 DEFAULT_wxUSE_STREAMS
=no
2080 DEFAULT_wxUSE_SOCKETS
=no
2081 DEFAULT_wxUSE_OLE
=no
2082 DEFAULT_wxUSE_DATAOBJ
=no
2083 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2084 DEFAULT_wxUSE_JOYSTICK
=no
2085 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2086 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2087 DEFAULT_wxUSE_LONGLONG
=no
2088 DEFAULT_wxUSE_GEOMETRY
=no
2090 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2091 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2092 DEFAULT_wxUSE_POSTSCRIPT
=no
2094 DEFAULT_wxUSE_CLIPBOARD
=no
2095 DEFAULT_wxUSE_TOOLTIPS
=no
2096 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2097 DEFAULT_wxUSE_DRAGIMAGE
=no
2098 DEFAULT_wxUSE_SPLINES
=no
2100 DEFAULT_wxUSE_MDI
=no
2101 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2102 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2103 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2105 DEFAULT_wxUSE_RESOURCES
=no
2106 DEFAULT_wxUSE_CONSTRAINTS
=no
2107 DEFAULT_wxUSE_IPC
=no
2108 DEFAULT_wxUSE_HELP
=no
2109 DEFAULT_wxUSE_MS_HTML_HELP
=no
2110 DEFAULT_wxUSE_WXHTML_HELP
=no
2111 DEFAULT_wxUSE_TREELAYOUT
=no
2112 DEFAULT_wxUSE_METAFILE
=no
2113 DEFAULT_wxUSE_MIMETYPE
=no
2114 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2115 DEFAULT_wxUSE_PROTOCOL
=no
2116 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2117 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2118 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2119 DEFAULT_wxUSE_URL
=no
2121 DEFAULT_wxUSE_COMMONDLGS
=no
2122 DEFAULT_wxUSE_CHOICEDLG
=no
2123 DEFAULT_wxUSE_COLOURDLG
=no
2124 DEFAULT_wxUSE_DIRDLG
=no
2125 DEFAULT_wxUSE_FILEDLG
=no
2126 DEFAULT_wxUSE_FINDREPLDLG
=no
2127 DEFAULT_wxUSE_FONTDLG
=no
2128 DEFAULT_wxUSE_MSGDLG
=no
2129 DEFAULT_wxUSE_NUMBERDLG
=no
2130 DEFAULT_wxUSE_TEXTDLG
=no
2131 DEFAULT_wxUSE_SPLASH
=no
2132 DEFAULT_wxUSE_STARTUP_TIPS
=no
2133 DEFAULT_wxUSE_PROGRESSDLG
=no
2134 DEFAULT_wxUSE_WIZARDDLG
=no
2136 DEFAULT_wxUSE_MENUS
=no
2137 DEFAULT_wxUSE_MINIFRAME
=no
2138 DEFAULT_wxUSE_HTML
=no
2139 DEFAULT_wxUSE_XRC
=no
2140 DEFAULT_wxUSE_WEBKIT
=no
2141 DEFAULT_wxUSE_FILESYSTEM
=no
2142 DEFAULT_wxUSE_FS_INET
=no
2143 DEFAULT_wxUSE_FS_ZIP
=no
2144 DEFAULT_wxUSE_BUSYINFO
=no
2145 DEFAULT_wxUSE_ZIPSTREAM
=no
2146 DEFAULT_wxUSE_VALIDATORS
=no
2148 DEFAULT_wxUSE_ACCEL
=no
2149 DEFAULT_wxUSE_BUTTON
=no
2150 DEFAULT_wxUSE_BMPBUTTON
=no
2151 DEFAULT_wxUSE_CALCTRL
=no
2152 DEFAULT_wxUSE_CARET
=no
2153 DEFAULT_wxUSE_CHECKBOX
=no
2154 DEFAULT_wxUSE_CHECKLST
=no
2155 DEFAULT_wxUSE_CHOICE
=no
2156 DEFAULT_wxUSE_CHOICEBOOK
=no
2157 DEFAULT_wxUSE_COMBOBOX
=no
2158 DEFAULT_wxUSE_DISPLAY
=no
2159 DEFAULT_wxUSE_GAUGE
=no
2160 DEFAULT_wxUSE_GRID
=no
2161 DEFAULT_wxUSE_IMAGLIST
=no
2162 DEFAULT_wxUSE_LISTBOOK
=no
2163 DEFAULT_wxUSE_LISTBOX
=no
2164 DEFAULT_wxUSE_LISTCTRL
=no
2165 DEFAULT_wxUSE_NOTEBOOK
=no
2166 DEFAULT_wxUSE_RADIOBOX
=no
2167 DEFAULT_wxUSE_RADIOBTN
=no
2168 DEFAULT_wxUSE_SASH
=no
2169 DEFAULT_wxUSE_SCROLLBAR
=no
2170 DEFAULT_wxUSE_SLIDER
=no
2171 DEFAULT_wxUSE_SPINBTN
=no
2172 DEFAULT_wxUSE_SPINCTRL
=no
2173 DEFAULT_wxUSE_SPLITTER
=no
2174 DEFAULT_wxUSE_STATBMP
=no
2175 DEFAULT_wxUSE_STATBOX
=no
2176 DEFAULT_wxUSE_STATLINE
=no
2177 DEFAULT_wxUSE_STATTEXT
=no
2178 DEFAULT_wxUSE_STATUSBAR
=yes
2179 DEFAULT_wxUSE_TABDIALOG
=no
2180 DEFAULT_wxUSE_TEXTCTRL
=no
2181 DEFAULT_wxUSE_TOGGLEBTN
=no
2182 DEFAULT_wxUSE_TOOLBAR
=no
2183 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2184 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2185 DEFAULT_wxUSE_TREECTRL
=no
2186 DEFAULT_wxUSE_POPUPWIN
=no
2187 DEFAULT_wxUSE_TIPWINDOW
=no
2189 DEFAULT_wxUSE_UNICODE
=no
2190 DEFAULT_wxUSE_UNICODE_MSLU
=no
2191 DEFAULT_wxUSE_WCSRTOMBS
=no
2193 DEFAULT_wxUSE_PALETTE
=no
2194 DEFAULT_wxUSE_IMAGE
=no
2195 DEFAULT_wxUSE_GIF
=no
2196 DEFAULT_wxUSE_PCX
=no
2197 DEFAULT_wxUSE_PNM
=no
2198 DEFAULT_wxUSE_IFF
=no
2199 DEFAULT_wxUSE_XPM
=no
2200 DEFAULT_wxUSE_ICO_CUR
=no
2201 DEFAULT_wxUSE_ACCESSIBILITY
=no
2203 DEFAULT_wxUSE_MONOLITHIC
=no
2204 DEFAULT_wxUSE_PLUGINS
=no
2205 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2207 DEFAULT_wxUSE_UNIVERSAL
=no
2208 DEFAULT_wxUSE_STL
=no
2210 DEFAULT_wxUSE_NANOX
=no
2212 DEFAULT_wxUSE_THREADS
=yes
2214 DEFAULT_wxUSE_SHARED
=yes
2215 DEFAULT_wxUSE_OPTIMISE
=yes
2216 DEFAULT_wxUSE_PROFILE
=no
2217 DEFAULT_wxUSE_NO_DEPS
=no
2218 DEFAULT_wxUSE_NO_RTTI
=no
2219 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2220 DEFAULT_wxUSE_RPATH
=yes
2221 DEFAULT_wxUSE_PERMISSIVE
=no
2222 DEFAULT_wxUSE_DEBUG_FLAG
=no
2223 DEFAULT_wxUSE_DEBUG_INFO
=no
2224 DEFAULT_wxUSE_DEBUG_GDB
=no
2225 DEFAULT_wxUSE_MEM_TRACING
=no
2226 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2227 DEFAULT_wxUSE_DMALLOC
=no
2228 DEFAULT_wxUSE_APPLE_IEEE
=yes
2230 DEFAULT_wxUSE_EXCEPTIONS
=yes
2231 DEFAULT_wxUSE_LOG
=yes
2232 DEFAULT_wxUSE_LOGWINDOW
=yes
2233 DEFAULT_wxUSE_LOGGUI
=yes
2234 DEFAULT_wxUSE_LOGDIALOG
=yes
2236 DEFAULT_wxUSE_GUI
=yes
2238 DEFAULT_wxUSE_REGEX
=yes
2239 DEFAULT_wxUSE_XML
=yes
2240 DEFAULT_wxUSE_EXPAT
=yes
2241 DEFAULT_wxUSE_ZLIB
=yes
2242 DEFAULT_wxUSE_LIBPNG
=yes
2243 DEFAULT_wxUSE_LIBJPEG
=yes
2244 DEFAULT_wxUSE_LIBTIFF
=yes
2245 DEFAULT_wxUSE_LIBXPM
=yes
2246 DEFAULT_wxUSE_LIBMSPACK
=yes
2247 DEFAULT_wxUSE_LIBSDL
=no
2248 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2249 DEFAULT_wxUSE_ODBC
=no
2250 DEFAULT_wxUSE_OPENGL
=no
2252 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2253 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2254 DEFAULT_wxUSE_STD_IOSTREAM
=no
2255 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2256 DEFAULT_wxUSE_DATETIME
=yes
2257 DEFAULT_wxUSE_TIMER
=yes
2258 DEFAULT_wxUSE_STOPWATCH
=yes
2259 DEFAULT_wxUSE_FILE
=yes
2260 DEFAULT_wxUSE_FFILE
=yes
2261 DEFAULT_wxUSE_TEXTBUFFER
=yes
2262 DEFAULT_wxUSE_TEXTFILE
=yes
2263 DEFAULT_wxUSE_SOUND
=yes
2264 DEFAULT_wxUSE_INTL
=yes
2265 DEFAULT_wxUSE_CONFIG
=yes
2266 DEFAULT_wxUSE_FONTMAP
=yes
2267 DEFAULT_wxUSE_STREAMS
=yes
2268 DEFAULT_wxUSE_SOCKETS
=yes
2269 DEFAULT_wxUSE_OLE
=yes
2270 DEFAULT_wxUSE_DATAOBJ
=yes
2271 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2272 DEFAULT_wxUSE_JOYSTICK
=yes
2273 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2274 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2275 DEFAULT_wxUSE_LONGLONG
=yes
2276 DEFAULT_wxUSE_GEOMETRY
=yes
2278 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2279 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2280 DEFAULT_wxUSE_POSTSCRIPT
=yes
2282 DEFAULT_wxUSE_CLIPBOARD
=yes
2283 DEFAULT_wxUSE_TOOLTIPS
=yes
2284 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2285 DEFAULT_wxUSE_DRAGIMAGE
=yes
2286 DEFAULT_wxUSE_SPLINES
=yes
2288 DEFAULT_wxUSE_MDI
=yes
2289 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2290 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2291 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2293 DEFAULT_wxUSE_RESOURCES
=no
2294 DEFAULT_wxUSE_CONSTRAINTS
=yes
2295 DEFAULT_wxUSE_IPC
=yes
2296 DEFAULT_wxUSE_HELP
=yes
2297 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2298 DEFAULT_wxUSE_WXHTML_HELP
=yes
2299 DEFAULT_wxUSE_TREELAYOUT
=yes
2300 DEFAULT_wxUSE_METAFILE
=yes
2301 DEFAULT_wxUSE_MIMETYPE
=yes
2302 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2303 DEFAULT_wxUSE_PROTOCOL
=yes
2304 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2305 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2306 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2307 DEFAULT_wxUSE_URL
=yes
2309 DEFAULT_wxUSE_COMMONDLGS
=yes
2310 DEFAULT_wxUSE_CHOICEDLG
=yes
2311 DEFAULT_wxUSE_COLOURDLG
=yes
2312 DEFAULT_wxUSE_DIRDLG
=yes
2313 DEFAULT_wxUSE_FILEDLG
=yes
2314 DEFAULT_wxUSE_FINDREPLDLG
=yes
2315 DEFAULT_wxUSE_FONTDLG
=yes
2316 DEFAULT_wxUSE_MSGDLG
=yes
2317 DEFAULT_wxUSE_NUMBERDLG
=yes
2318 DEFAULT_wxUSE_TEXTDLG
=yes
2319 DEFAULT_wxUSE_SPLASH
=yes
2320 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2321 DEFAULT_wxUSE_PROGRESSDLG
=yes
2322 DEFAULT_wxUSE_WIZARDDLG
=yes
2324 DEFAULT_wxUSE_MENUS
=yes
2325 DEFAULT_wxUSE_MINIFRAME
=yes
2326 DEFAULT_wxUSE_HTML
=yes
2327 DEFAULT_wxUSE_XRC
=yes
2328 DEFAULT_wxUSE_WEBKIT
=yes
2329 DEFAULT_wxUSE_FILESYSTEM
=yes
2330 DEFAULT_wxUSE_FS_INET
=yes
2331 DEFAULT_wxUSE_FS_ZIP
=yes
2332 DEFAULT_wxUSE_BUSYINFO
=yes
2333 DEFAULT_wxUSE_ZIPSTREAM
=yes
2334 DEFAULT_wxUSE_VALIDATORS
=yes
2336 DEFAULT_wxUSE_ACCEL
=yes
2337 DEFAULT_wxUSE_BUTTON
=yes
2338 DEFAULT_wxUSE_BMPBUTTON
=yes
2339 DEFAULT_wxUSE_CALCTRL
=yes
2340 DEFAULT_wxUSE_CARET
=yes
2341 DEFAULT_wxUSE_CHECKBOX
=yes
2342 DEFAULT_wxUSE_CHECKLST
=yes
2343 DEFAULT_wxUSE_CHOICE
=yes
2344 DEFAULT_wxUSE_CHOICEBOOK
=yes
2345 DEFAULT_wxUSE_COMBOBOX
=yes
2346 DEFAULT_wxUSE_DISPLAY
=yes
2347 DEFAULT_wxUSE_GAUGE
=yes
2348 DEFAULT_wxUSE_GRID
=yes
2349 DEFAULT_wxUSE_IMAGLIST
=yes
2350 DEFAULT_wxUSE_LISTBOOK
=yes
2351 DEFAULT_wxUSE_LISTBOX
=yes
2352 DEFAULT_wxUSE_LISTCTRL
=yes
2353 DEFAULT_wxUSE_NOTEBOOK
=yes
2354 DEFAULT_wxUSE_RADIOBOX
=yes
2355 DEFAULT_wxUSE_RADIOBTN
=yes
2356 DEFAULT_wxUSE_SASH
=yes
2357 DEFAULT_wxUSE_SCROLLBAR
=yes
2358 DEFAULT_wxUSE_SLIDER
=yes
2359 DEFAULT_wxUSE_SPINBTN
=yes
2360 DEFAULT_wxUSE_SPINCTRL
=yes
2361 DEFAULT_wxUSE_SPLITTER
=yes
2362 DEFAULT_wxUSE_STATBMP
=yes
2363 DEFAULT_wxUSE_STATBOX
=yes
2364 DEFAULT_wxUSE_STATLINE
=yes
2365 DEFAULT_wxUSE_STATTEXT
=yes
2366 DEFAULT_wxUSE_STATUSBAR
=yes
2367 DEFAULT_wxUSE_TABDIALOG
=no
2368 DEFAULT_wxUSE_TEXTCTRL
=yes
2369 DEFAULT_wxUSE_TOGGLEBTN
=yes
2370 DEFAULT_wxUSE_TOOLBAR
=yes
2371 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2372 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2373 DEFAULT_wxUSE_TREECTRL
=yes
2374 DEFAULT_wxUSE_POPUPWIN
=yes
2375 DEFAULT_wxUSE_TIPWINDOW
=yes
2377 DEFAULT_wxUSE_UNICODE
=no
2378 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2379 DEFAULT_wxUSE_WCSRTOMBS
=no
2381 DEFAULT_wxUSE_PALETTE
=yes
2382 DEFAULT_wxUSE_IMAGE
=yes
2383 DEFAULT_wxUSE_GIF
=yes
2384 DEFAULT_wxUSE_PCX
=yes
2385 DEFAULT_wxUSE_IFF
=no
2386 DEFAULT_wxUSE_PNM
=yes
2387 DEFAULT_wxUSE_XPM
=yes
2388 DEFAULT_wxUSE_ICO_CUR
=yes
2389 DEFAULT_wxUSE_ACCESSIBILITY
=no
2391 DEFAULT_wxUSE_MONOLITHIC
=no
2392 DEFAULT_wxUSE_PLUGINS
=no
2393 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2395 DEFAULT_wxUSE_GTK2
=yes
2400 for toolkit
in `echo $ALL_TOOLKITS`; do
2401 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2402 if test "x$LINE" != "x" ; then
2403 has_toolkit_in_cache
=1
2404 eval "DEFAULT_$LINE"
2405 eval "CACHE_$toolkit=1"
2412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2413 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2415 # Check whether --enable-gui or --disable-gui was given.
2416 if test "${enable_gui+set}" = set; then
2417 enableval
="$enable_gui"
2419 if test "$enableval" = yes; then
2420 ac_cv_use_gui
='wxUSE_GUI=yes'
2422 ac_cv_use_gui
='wxUSE_GUI=no'
2427 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2428 if test "x$LINE" != x
; then
2429 eval "DEFAULT_$LINE"
2434 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2438 eval "$ac_cv_use_gui"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2443 if test "$wxUSE_GUI" = yes; then
2444 echo "$as_me:$LINENO: result: yes" >&5
2445 echo "${ECHO_T}yes" >&6
2447 echo "$as_me:$LINENO: result: no" >&5
2448 echo "${ECHO_T}no" >&6
2453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2454 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2456 # Check whether --enable-monolithic or --disable-monolithic was given.
2457 if test "${enable_monolithic+set}" = set; then
2458 enableval
="$enable_monolithic"
2460 if test "$enableval" = yes; then
2461 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2463 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2468 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2469 if test "x$LINE" != x
; then
2470 eval "DEFAULT_$LINE"
2475 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2479 eval "$ac_cv_use_monolithic"
2480 if test "$no_cache" != 1; then
2481 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2484 if test "$wxUSE_MONOLITHIC" = yes; then
2485 echo "$as_me:$LINENO: result: yes" >&5
2486 echo "${ECHO_T}yes" >&6
2488 echo "$as_me:$LINENO: result: no" >&5
2489 echo "${ECHO_T}no" >&6
2494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2495 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2497 # Check whether --enable-plugins or --disable-plugins was given.
2498 if test "${enable_plugins+set}" = set; then
2499 enableval
="$enable_plugins"
2501 if test "$enableval" = yes; then
2502 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2504 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2509 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2510 if test "x$LINE" != x
; then
2511 eval "DEFAULT_$LINE"
2516 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2520 eval "$ac_cv_use_plugins"
2521 if test "$no_cache" != 1; then
2522 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2525 if test "$wxUSE_PLUGINS" = yes; then
2526 echo "$as_me:$LINENO: result: yes" >&5
2527 echo "${ECHO_T}yes" >&6
2529 echo "$as_me:$LINENO: result: no" >&5
2530 echo "${ECHO_T}no" >&6
2534 if test "$wxUSE_GUI" = "yes"; then
2538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2539 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2541 # Check whether --enable-universal or --disable-universal was given.
2542 if test "${enable_universal+set}" = set; then
2543 enableval
="$enable_universal"
2545 if test "$enableval" = yes; then
2546 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2548 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2553 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2554 if test "x$LINE" != x
; then
2555 eval "DEFAULT_$LINE"
2560 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2564 eval "$ac_cv_use_universal"
2565 if test "$no_cache" != 1; then
2566 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2569 if test "$wxUSE_UNIVERSAL" = yes; then
2570 echo "$as_me:$LINENO: result: yes" >&5
2571 echo "${ECHO_T}yes" >&6
2573 echo "$as_me:$LINENO: result: no" >&5
2574 echo "${ECHO_T}no" >&6
2578 # Check whether --with-gtk or --without-gtk was given.
2579 if test "${with_gtk+set}" = set; then
2581 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2584 # Check whether --with-motif or --without-motif was given.
2585 if test "${with_motif+set}" = set; then
2586 withval
="$with_motif"
2587 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2590 # Check whether --with-mac or --without-mac was given.
2591 if test "${with_mac+set}" = set; then
2593 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2596 # Check whether --with-cocoa or --without-cocoa was given.
2597 if test "${with_cocoa+set}" = set; then
2598 withval
="$with_cocoa"
2599 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2602 # Check whether --with-wine or --without-wine was given.
2603 if test "${with_wine+set}" = set; then
2604 withval
="$with_wine"
2605 wxUSE_WINE
="$withval" CACHE_WINE
=1
2608 # Check whether --with-msw or --without-msw was given.
2609 if test "${with_msw+set}" = set; then
2611 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2614 # Check whether --with-pm or --without-pm was given.
2615 if test "${with_pm+set}" = set; then
2617 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2620 # Check whether --with-mgl or --without-mgl was given.
2621 if test "${with_mgl+set}" = set; then
2623 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2626 # Check whether --with-microwin or --without-microwin was given.
2627 if test "${with_microwin+set}" = set; then
2628 withval
="$with_microwin"
2629 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2632 # Check whether --with-x11 or --without-x11 was given.
2633 if test "${with_x11+set}" = set; then
2635 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2640 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2642 # Check whether --enable-nanox or --disable-nanox was given.
2643 if test "${enable_nanox+set}" = set; then
2644 enableval
="$enable_nanox"
2646 if test "$enableval" = yes; then
2647 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2649 ac_cv_use_nanox
='wxUSE_NANOX=no'
2654 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2655 if test "x$LINE" != x
; then
2656 eval "DEFAULT_$LINE"
2661 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2665 eval "$ac_cv_use_nanox"
2666 if test "$no_cache" != 1; then
2667 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2670 if test "$wxUSE_NANOX" = yes; then
2671 echo "$as_me:$LINENO: result: yes" >&5
2672 echo "${ECHO_T}yes" >&6
2674 echo "$as_me:$LINENO: result: no" >&5
2675 echo "${ECHO_T}no" >&6
2681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2682 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2684 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2685 if test "${enable_gtk2+set}" = set; then
2686 enableval
="$enable_gtk2"
2688 if test "$enableval" = yes; then
2689 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2691 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2696 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2697 if test "x$LINE" != x
; then
2698 eval "DEFAULT_$LINE"
2703 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2707 eval "$ac_cv_use_gtk2"
2708 if test "$no_cache" != 1; then
2709 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2712 if test "$wxUSE_GTK2" = yes; then
2713 echo "$as_me:$LINENO: result: yes" >&5
2714 echo "${ECHO_T}yes" >&6
2716 echo "$as_me:$LINENO: result: no" >&5
2717 echo "${ECHO_T}no" >&6
2722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2723 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2725 # Check whether --enable-gpe or --disable-gpe was given.
2726 if test "${enable_gpe+set}" = set; then
2727 enableval
="$enable_gpe"
2729 if test "$enableval" = yes; then
2730 ac_cv_use_gpe
='wxUSE_GPE=yes'
2732 ac_cv_use_gpe
='wxUSE_GPE=no'
2737 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2738 if test "x$LINE" != x
; then
2739 eval "DEFAULT_$LINE"
2744 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2748 eval "$ac_cv_use_gpe"
2749 if test "$no_cache" != 1; then
2750 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2753 if test "$wxUSE_GPE" = yes; then
2754 echo "$as_me:$LINENO: result: yes" >&5
2755 echo "${ECHO_T}yes" >&6
2757 echo "$as_me:$LINENO: result: no" >&5
2758 echo "${ECHO_T}no" >&6
2763 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2764 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2767 # Check whether --with-libpng or --without-libpng was given.
2768 if test "${with_libpng+set}" = set; then
2769 withval
="$with_libpng"
2771 if test "$withval" = yes; then
2772 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2773 elif test "$withval" = no
; then
2774 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2775 elif test "$withval" = sys
; then
2776 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2777 elif test "$withval" = builtin; then
2778 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2780 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2781 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2782 { (exit 1); exit 1; }; }
2787 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2788 if test "x$LINE" != x
; then
2789 eval "DEFAULT_$LINE"
2794 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2798 eval "$ac_cv_use_libpng"
2799 if test "$no_cache" != 1; then
2800 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2803 if test "$wxUSE_LIBPNG" = yes; then
2804 echo "$as_me:$LINENO: result: yes" >&5
2805 echo "${ECHO_T}yes" >&6
2806 elif test "$wxUSE_LIBPNG" = no
; then
2807 echo "$as_me:$LINENO: result: no" >&5
2808 echo "${ECHO_T}no" >&6
2809 elif test "$wxUSE_LIBPNG" = sys
; then
2810 echo "$as_me:$LINENO: result: system version" >&5
2811 echo "${ECHO_T}system version" >&6
2812 elif test "$wxUSE_LIBPNG" = builtin; then
2813 echo "$as_me:$LINENO: result: builtin version" >&5
2814 echo "${ECHO_T}builtin version" >&6
2816 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2817 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2818 { (exit 1); exit 1; }; }
2822 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2823 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2826 # Check whether --with-libjpeg or --without-libjpeg was given.
2827 if test "${with_libjpeg+set}" = set; then
2828 withval
="$with_libjpeg"
2830 if test "$withval" = yes; then
2831 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2832 elif test "$withval" = no
; then
2833 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2834 elif test "$withval" = sys
; then
2835 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2836 elif test "$withval" = builtin; then
2837 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2839 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2840 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2841 { (exit 1); exit 1; }; }
2846 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2847 if test "x$LINE" != x
; then
2848 eval "DEFAULT_$LINE"
2853 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2857 eval "$ac_cv_use_libjpeg"
2858 if test "$no_cache" != 1; then
2859 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2862 if test "$wxUSE_LIBJPEG" = yes; then
2863 echo "$as_me:$LINENO: result: yes" >&5
2864 echo "${ECHO_T}yes" >&6
2865 elif test "$wxUSE_LIBJPEG" = no
; then
2866 echo "$as_me:$LINENO: result: no" >&5
2867 echo "${ECHO_T}no" >&6
2868 elif test "$wxUSE_LIBJPEG" = sys
; then
2869 echo "$as_me:$LINENO: result: system version" >&5
2870 echo "${ECHO_T}system version" >&6
2871 elif test "$wxUSE_LIBJPEG" = builtin; then
2872 echo "$as_me:$LINENO: result: builtin version" >&5
2873 echo "${ECHO_T}builtin version" >&6
2875 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2876 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2877 { (exit 1); exit 1; }; }
2881 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2882 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2885 # Check whether --with-libtiff or --without-libtiff was given.
2886 if test "${with_libtiff+set}" = set; then
2887 withval
="$with_libtiff"
2889 if test "$withval" = yes; then
2890 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2891 elif test "$withval" = no
; then
2892 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2893 elif test "$withval" = sys
; then
2894 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2895 elif test "$withval" = builtin; then
2896 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2898 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2899 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2900 { (exit 1); exit 1; }; }
2905 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2906 if test "x$LINE" != x
; then
2907 eval "DEFAULT_$LINE"
2912 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2916 eval "$ac_cv_use_libtiff"
2917 if test "$no_cache" != 1; then
2918 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2921 if test "$wxUSE_LIBTIFF" = yes; then
2922 echo "$as_me:$LINENO: result: yes" >&5
2923 echo "${ECHO_T}yes" >&6
2924 elif test "$wxUSE_LIBTIFF" = no
; then
2925 echo "$as_me:$LINENO: result: no" >&5
2926 echo "${ECHO_T}no" >&6
2927 elif test "$wxUSE_LIBTIFF" = sys
; then
2928 echo "$as_me:$LINENO: result: system version" >&5
2929 echo "${ECHO_T}system version" >&6
2930 elif test "$wxUSE_LIBTIFF" = builtin; then
2931 echo "$as_me:$LINENO: result: builtin version" >&5
2932 echo "${ECHO_T}builtin version" >&6
2934 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2935 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2936 { (exit 1); exit 1; }; }
2940 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2941 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2944 # Check whether --with-libxpm or --without-libxpm was given.
2945 if test "${with_libxpm+set}" = set; then
2946 withval
="$with_libxpm"
2948 if test "$withval" = yes; then
2949 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2950 elif test "$withval" = no
; then
2951 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2952 elif test "$withval" = sys
; then
2953 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2954 elif test "$withval" = builtin; then
2955 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2957 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2958 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2959 { (exit 1); exit 1; }; }
2964 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2965 if test "x$LINE" != x
; then
2966 eval "DEFAULT_$LINE"
2971 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2975 eval "$ac_cv_use_libxpm"
2976 if test "$no_cache" != 1; then
2977 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2980 if test "$wxUSE_LIBXPM" = yes; then
2981 echo "$as_me:$LINENO: result: yes" >&5
2982 echo "${ECHO_T}yes" >&6
2983 elif test "$wxUSE_LIBXPM" = no
; then
2984 echo "$as_me:$LINENO: result: no" >&5
2985 echo "${ECHO_T}no" >&6
2986 elif test "$wxUSE_LIBXPM" = sys
; then
2987 echo "$as_me:$LINENO: result: system version" >&5
2988 echo "${ECHO_T}system version" >&6
2989 elif test "$wxUSE_LIBXPM" = builtin; then
2990 echo "$as_me:$LINENO: result: builtin version" >&5
2991 echo "${ECHO_T}builtin version" >&6
2993 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2994 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2995 { (exit 1); exit 1; }; }
2999 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3000 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3003 # Check whether --with-libmspack or --without-libmspack was given.
3004 if test "${with_libmspack+set}" = set; then
3005 withval
="$with_libmspack"
3007 if test "$withval" = yes; then
3008 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3010 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3015 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3016 if test "x$LINE" != x
; then
3017 eval "DEFAULT_$LINE"
3022 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3026 eval "$ac_cv_use_libmspack"
3027 if test "$no_cache" != 1; then
3028 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3031 if test "$wxUSE_LIBMSPACK" = yes; then
3032 echo "$as_me:$LINENO: result: yes" >&5
3033 echo "${ECHO_T}yes" >&6
3035 echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3040 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3041 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3044 # Check whether --with-sdl or --without-sdl was given.
3045 if test "${with_sdl+set}" = set; then
3048 if test "$withval" = yes; then
3049 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3051 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3056 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3057 if test "x$LINE" != x
; then
3058 eval "DEFAULT_$LINE"
3063 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3067 eval "$ac_cv_use_sdl"
3068 if test "$no_cache" != 1; then
3069 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3072 if test "$wxUSE_LIBSDL" = yes; then
3073 echo "$as_me:$LINENO: result: yes" >&5
3074 echo "${ECHO_T}yes" >&6
3076 echo "$as_me:$LINENO: result: no" >&5
3077 echo "${ECHO_T}no" >&6
3081 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3082 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3085 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3086 if test "${with_gnomeprint+set}" = set; then
3087 withval
="$with_gnomeprint"
3089 if test "$withval" = yes; then
3090 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3092 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3097 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x
; then
3099 eval "DEFAULT_$LINE"
3104 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3108 eval "$ac_cv_use_gnomeprint"
3109 if test "$no_cache" != 1; then
3110 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3113 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3114 echo "$as_me:$LINENO: result: yes" >&5
3115 echo "${ECHO_T}yes" >&6
3117 echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6
3122 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3123 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3126 # Check whether --with-opengl or --without-opengl was given.
3127 if test "${with_opengl+set}" = set; then
3128 withval
="$with_opengl"
3130 if test "$withval" = yes; then
3131 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3133 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3138 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x
; then
3140 eval "DEFAULT_$LINE"
3145 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3149 eval "$ac_cv_use_opengl"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3154 if test "$wxUSE_OPENGL" = yes; then
3155 echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3166 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3167 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3170 # Check whether --with-dmalloc or --without-dmalloc was given.
3171 if test "${with_dmalloc+set}" = set; then
3172 withval
="$with_dmalloc"
3174 if test "$withval" = yes; then
3175 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3177 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3182 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3183 if test "x$LINE" != x
; then
3184 eval "DEFAULT_$LINE"
3189 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3193 eval "$ac_cv_use_dmalloc"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3198 if test "$wxUSE_DMALLOC" = yes; then
3199 echo "$as_me:$LINENO: result: yes" >&5
3200 echo "${ECHO_T}yes" >&6
3202 echo "$as_me:$LINENO: result: no" >&5
3203 echo "${ECHO_T}no" >&6
3207 echo "$as_me:$LINENO: checking for --with-regex" >&5
3208 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3211 # Check whether --with-regex or --without-regex was given.
3212 if test "${with_regex+set}" = set; then
3213 withval
="$with_regex"
3215 if test "$withval" = yes; then
3216 ac_cv_use_regex
='wxUSE_REGEX=yes'
3217 elif test "$withval" = no
; then
3218 ac_cv_use_regex
='wxUSE_REGEX=no'
3219 elif test "$withval" = sys
; then
3220 ac_cv_use_regex
='wxUSE_REGEX=sys'
3221 elif test "$withval" = builtin; then
3222 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3224 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3225 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3226 { (exit 1); exit 1; }; }
3231 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3232 if test "x$LINE" != x
; then
3233 eval "DEFAULT_$LINE"
3238 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3242 eval "$ac_cv_use_regex"
3243 if test "$no_cache" != 1; then
3244 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3247 if test "$wxUSE_REGEX" = yes; then
3248 echo "$as_me:$LINENO: result: yes" >&5
3249 echo "${ECHO_T}yes" >&6
3250 elif test "$wxUSE_REGEX" = no
; then
3251 echo "$as_me:$LINENO: result: no" >&5
3252 echo "${ECHO_T}no" >&6
3253 elif test "$wxUSE_REGEX" = sys
; then
3254 echo "$as_me:$LINENO: result: system version" >&5
3255 echo "${ECHO_T}system version" >&6
3256 elif test "$wxUSE_REGEX" = builtin; then
3257 echo "$as_me:$LINENO: result: builtin version" >&5
3258 echo "${ECHO_T}builtin version" >&6
3260 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3261 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3262 { (exit 1); exit 1; }; }
3266 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3267 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3270 # Check whether --with-zlib or --without-zlib was given.
3271 if test "${with_zlib+set}" = set; then
3272 withval
="$with_zlib"
3274 if test "$withval" = yes; then
3275 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3276 elif test "$withval" = no
; then
3277 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3278 elif test "$withval" = sys
; then
3279 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3280 elif test "$withval" = builtin; then
3281 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3283 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3284 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3285 { (exit 1); exit 1; }; }
3290 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x
; then
3292 eval "DEFAULT_$LINE"
3297 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3301 eval "$ac_cv_use_zlib"
3302 if test "$no_cache" != 1; then
3303 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3306 if test "$wxUSE_ZLIB" = yes; then
3307 echo "$as_me:$LINENO: result: yes" >&5
3308 echo "${ECHO_T}yes" >&6
3309 elif test "$wxUSE_ZLIB" = no
; then
3310 echo "$as_me:$LINENO: result: no" >&5
3311 echo "${ECHO_T}no" >&6
3312 elif test "$wxUSE_ZLIB" = sys
; then
3313 echo "$as_me:$LINENO: result: system version" >&5
3314 echo "${ECHO_T}system version" >&6
3315 elif test "$wxUSE_ZLIB" = builtin; then
3316 echo "$as_me:$LINENO: result: builtin version" >&5
3317 echo "${ECHO_T}builtin version" >&6
3319 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3320 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3321 { (exit 1); exit 1; }; }
3325 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3326 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3329 # Check whether --with-odbc or --without-odbc was given.
3330 if test "${with_odbc+set}" = set; then
3331 withval
="$with_odbc"
3333 if test "$withval" = yes; then
3334 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3335 elif test "$withval" = no
; then
3336 ac_cv_use_odbc
='wxUSE_ODBC=no'
3337 elif test "$withval" = sys
; then
3338 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3339 elif test "$withval" = builtin; then
3340 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3342 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3343 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3344 { (exit 1); exit 1; }; }
3349 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3350 if test "x$LINE" != x
; then
3351 eval "DEFAULT_$LINE"
3356 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3360 eval "$ac_cv_use_odbc"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3365 if test "$wxUSE_ODBC" = yes; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 elif test "$wxUSE_ODBC" = no
; then
3369 echo "$as_me:$LINENO: result: no" >&5
3370 echo "${ECHO_T}no" >&6
3371 elif test "$wxUSE_ODBC" = sys
; then
3372 echo "$as_me:$LINENO: result: system version" >&5
3373 echo "${ECHO_T}system version" >&6
3374 elif test "$wxUSE_ODBC" = builtin; then
3375 echo "$as_me:$LINENO: result: builtin version" >&5
3376 echo "${ECHO_T}builtin version" >&6
3378 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3379 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3380 { (exit 1); exit 1; }; }
3384 echo "$as_me:$LINENO: checking for --with-expat" >&5
3385 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3388 # Check whether --with-expat or --without-expat was given.
3389 if test "${with_expat+set}" = set; then
3390 withval
="$with_expat"
3392 if test "$withval" = yes; then
3393 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3394 elif test "$withval" = no
; then
3395 ac_cv_use_expat
='wxUSE_EXPAT=no'
3396 elif test "$withval" = sys
; then
3397 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3398 elif test "$withval" = builtin; then
3399 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3401 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3402 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3403 { (exit 1); exit 1; }; }
3408 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x
; then
3410 eval "DEFAULT_$LINE"
3415 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3419 eval "$ac_cv_use_expat"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_EXPAT" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6
3427 elif test "$wxUSE_EXPAT" = no
; then
3428 echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6
3430 elif test "$wxUSE_EXPAT" = sys
; then
3431 echo "$as_me:$LINENO: result: system version" >&5
3432 echo "${ECHO_T}system version" >&6
3433 elif test "$wxUSE_EXPAT" = builtin; then
3434 echo "$as_me:$LINENO: result: builtin version" >&5
3435 echo "${ECHO_T}builtin version" >&6
3437 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3438 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3439 { (exit 1); exit 1; }; }
3446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3447 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3449 # Check whether --enable-shared or --disable-shared was given.
3450 if test "${enable_shared+set}" = set; then
3451 enableval
="$enable_shared"
3453 if test "$enableval" = yes; then
3454 ac_cv_use_shared
='wxUSE_SHARED=yes'
3456 ac_cv_use_shared
='wxUSE_SHARED=no'
3461 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3462 if test "x$LINE" != x
; then
3463 eval "DEFAULT_$LINE"
3468 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3472 eval "$ac_cv_use_shared"
3473 if test "$no_cache" != 1; then
3474 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3477 if test "$wxUSE_SHARED" = yes; then
3478 echo "$as_me:$LINENO: result: yes" >&5
3479 echo "${ECHO_T}yes" >&6
3481 echo "$as_me:$LINENO: result: no" >&5
3482 echo "${ECHO_T}no" >&6
3487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3488 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3490 # Check whether --enable-optimise or --disable-optimise was given.
3491 if test "${enable_optimise+set}" = set; then
3492 enableval
="$enable_optimise"
3494 if test "$enableval" = yes; then
3495 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3497 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3502 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3503 if test "x$LINE" != x
; then
3504 eval "DEFAULT_$LINE"
3509 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3513 eval "$ac_cv_use_optimise"
3514 if test "$no_cache" != 1; then
3515 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3518 if test "$wxUSE_OPTIMISE" = yes; then
3519 echo "$as_me:$LINENO: result: yes" >&5
3520 echo "${ECHO_T}yes" >&6
3522 echo "$as_me:$LINENO: result: no" >&5
3523 echo "${ECHO_T}no" >&6
3528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3529 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3531 # Check whether --enable-debug or --disable-debug was given.
3532 if test "${enable_debug+set}" = set; then
3533 enableval
="$enable_debug"
3535 if test "$enableval" = yes; then
3536 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3538 ac_cv_use_debug
='wxUSE_DEBUG=no'
3543 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3544 if test "x$LINE" != x
; then
3545 eval "DEFAULT_$LINE"
3550 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3554 eval "$ac_cv_use_debug"
3555 if test "$no_cache" != 1; then
3556 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3559 if test "$wxUSE_DEBUG" = yes; then
3560 echo "$as_me:$LINENO: result: yes" >&5
3561 echo "${ECHO_T}yes" >&6
3563 echo "$as_me:$LINENO: result: no" >&5
3564 echo "${ECHO_T}no" >&6
3569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3570 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3572 # Check whether --enable-stl or --disable-stl was given.
3573 if test "${enable_stl+set}" = set; then
3574 enableval
="$enable_stl"
3576 if test "$enableval" = yes; then
3577 ac_cv_use_stl
='wxUSE_STL=yes'
3579 ac_cv_use_stl
='wxUSE_STL=no'
3584 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3585 if test "x$LINE" != x
; then
3586 eval "DEFAULT_$LINE"
3591 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3595 eval "$ac_cv_use_stl"
3596 if test "$no_cache" != 1; then
3597 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3600 if test "$wxUSE_STL" = yes; then
3601 echo "$as_me:$LINENO: result: yes" >&5
3602 echo "${ECHO_T}yes" >&6
3604 echo "$as_me:$LINENO: result: no" >&5
3605 echo "${ECHO_T}no" >&6
3608 if test "$USE_OS2" = "1"; then
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3612 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3614 # Check whether --enable-omf or --disable-omf was given.
3615 if test "${enable_omf+set}" = set; then
3616 enableval
="$enable_omf"
3618 if test "$enableval" = yes; then
3619 ac_cv_use_omf
='wxUSE_OMF=yes'
3621 ac_cv_use_omf
='wxUSE_OMF=no'
3626 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x
; then
3628 eval "DEFAULT_$LINE"
3633 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3637 eval "$ac_cv_use_omf"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_OMF" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3652 if test "$wxUSE_DEBUG" = "yes"; then
3653 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3654 DEFAULT_wxUSE_DEBUG_INFO
=yes
3656 elif test "$wxUSE_DEBUG" = "no"; then
3657 DEFAULT_wxUSE_DEBUG_FLAG
=no
3658 DEFAULT_wxUSE_DEBUG_INFO
=no
3664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3665 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3667 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3668 if test "${enable_debug_flag+set}" = set; then
3669 enableval
="$enable_debug_flag"
3671 if test "$enableval" = yes; then
3672 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3674 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3679 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3680 if test "x$LINE" != x
; then
3681 eval "DEFAULT_$LINE"
3686 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3690 eval "$ac_cv_use_debug_flag"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3695 if test "$wxUSE_DEBUG_FLAG" = yes; then
3696 echo "$as_me:$LINENO: result: yes" >&5
3697 echo "${ECHO_T}yes" >&6
3699 echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6
3705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3706 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3708 # Check whether --enable-debug_info or --disable-debug_info was given.
3709 if test "${enable_debug_info+set}" = set; then
3710 enableval
="$enable_debug_info"
3712 if test "$enableval" = yes; then
3713 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3715 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3720 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x
; then
3722 eval "DEFAULT_$LINE"
3727 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3731 eval "$ac_cv_use_debug_info"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3736 if test "$wxUSE_DEBUG_INFO" = yes; then
3737 echo "$as_me:$LINENO: result: yes" >&5
3738 echo "${ECHO_T}yes" >&6
3740 echo "$as_me:$LINENO: result: no" >&5
3741 echo "${ECHO_T}no" >&6
3746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3747 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3749 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3750 if test "${enable_debug_gdb+set}" = set; then
3751 enableval
="$enable_debug_gdb"
3753 if test "$enableval" = yes; then
3754 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3756 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3761 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x
; then
3763 eval "DEFAULT_$LINE"
3768 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3772 eval "$ac_cv_use_debug_gdb"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3777 if test "$wxUSE_DEBUG_GDB" = yes; then
3778 echo "$as_me:$LINENO: result: yes" >&5
3779 echo "${ECHO_T}yes" >&6
3781 echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6
3787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3788 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3790 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3791 if test "${enable_debug_cntxt+set}" = set; then
3792 enableval
="$enable_debug_cntxt"
3794 if test "$enableval" = yes; then
3795 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3797 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3802 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x
; then
3804 eval "DEFAULT_$LINE"
3809 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3813 eval "$ac_cv_use_debug_cntxt"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3818 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3819 echo "$as_me:$LINENO: result: yes" >&5
3820 echo "${ECHO_T}yes" >&6
3822 echo "$as_me:$LINENO: result: no" >&5
3823 echo "${ECHO_T}no" >&6
3828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3829 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3831 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3832 if test "${enable_mem_tracing+set}" = set; then
3833 enableval
="$enable_mem_tracing"
3835 if test "$enableval" = yes; then
3836 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3838 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3843 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x
; then
3845 eval "DEFAULT_$LINE"
3850 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3854 eval "$ac_cv_use_mem_tracing"
3855 if test "$no_cache" != 1; then
3856 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3859 if test "$wxUSE_MEM_TRACING" = yes; then
3860 echo "$as_me:$LINENO: result: yes" >&5
3861 echo "${ECHO_T}yes" >&6
3863 echo "$as_me:$LINENO: result: no" >&5
3864 echo "${ECHO_T}no" >&6
3869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3870 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3872 # Check whether --enable-profile or --disable-profile was given.
3873 if test "${enable_profile+set}" = set; then
3874 enableval
="$enable_profile"
3876 if test "$enableval" = yes; then
3877 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3879 ac_cv_use_profile
='wxUSE_PROFILE=no'
3884 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3885 if test "x$LINE" != x
; then
3886 eval "DEFAULT_$LINE"
3891 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3895 eval "$ac_cv_use_profile"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3900 if test "$wxUSE_PROFILE" = yes; then
3901 echo "$as_me:$LINENO: result: yes" >&5
3902 echo "${ECHO_T}yes" >&6
3904 echo "$as_me:$LINENO: result: no" >&5
3905 echo "${ECHO_T}no" >&6
3910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3911 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3913 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3914 if test "${enable_no_rtti+set}" = set; then
3915 enableval
="$enable_no_rtti"
3917 if test "$enableval" = yes; then
3918 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3920 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3925 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x
; then
3927 eval "DEFAULT_$LINE"
3932 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3936 eval "$ac_cv_use_no_rtti"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3941 if test "$wxUSE_NO_RTTI" = yes; then
3942 echo "$as_me:$LINENO: result: yes" >&5
3943 echo "${ECHO_T}yes" >&6
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3952 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3954 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3955 if test "${enable_no_exceptions+set}" = set; then
3956 enableval
="$enable_no_exceptions"
3958 if test "$enableval" = yes; then
3959 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3961 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3966 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x
; then
3968 eval "DEFAULT_$LINE"
3973 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3977 eval "$ac_cv_use_no_exceptions"
3978 if test "$no_cache" != 1; then
3979 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3982 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3983 echo "$as_me:$LINENO: result: yes" >&5
3984 echo "${ECHO_T}yes" >&6
3986 echo "$as_me:$LINENO: result: no" >&5
3987 echo "${ECHO_T}no" >&6
3992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3993 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3995 # Check whether --enable-permissive or --disable-permissive was given.
3996 if test "${enable_permissive+set}" = set; then
3997 enableval
="$enable_permissive"
3999 if test "$enableval" = yes; then
4000 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4002 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4007 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x
; then
4009 eval "DEFAULT_$LINE"
4014 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4018 eval "$ac_cv_use_permissive"
4019 if test "$no_cache" != 1; then
4020 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4023 if test "$wxUSE_PERMISSIVE" = yes; then
4024 echo "$as_me:$LINENO: result: yes" >&5
4025 echo "${ECHO_T}yes" >&6
4027 echo "$as_me:$LINENO: result: no" >&5
4028 echo "${ECHO_T}no" >&6
4033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4034 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4036 # Check whether --enable-no_deps or --disable-no_deps was given.
4037 if test "${enable_no_deps+set}" = set; then
4038 enableval
="$enable_no_deps"
4040 if test "$enableval" = yes; then
4041 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4043 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4048 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x
; then
4050 eval "DEFAULT_$LINE"
4055 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4059 eval "$ac_cv_use_no_deps"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4064 if test "$wxUSE_NO_DEPS" = yes; then
4065 echo "$as_me:$LINENO: result: yes" >&5
4066 echo "${ECHO_T}yes" >&6
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4076 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4078 # Check whether --enable-compat22 or --disable-compat22 was given.
4079 if test "${enable_compat22+set}" = set; then
4080 enableval
="$enable_compat22"
4082 if test "$enableval" = yes; then
4083 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4085 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4090 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x
; then
4092 eval "DEFAULT_$LINE"
4097 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4101 eval "$ac_cv_use_compat22"
4102 if test "$no_cache" != 1; then
4103 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4106 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4107 echo "$as_me:$LINENO: result: yes" >&5
4108 echo "${ECHO_T}yes" >&6
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4115 enablestring
=disable
4116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4117 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4119 # Check whether --enable-compat24 or --disable-compat24 was given.
4120 if test "${enable_compat24+set}" = set; then
4121 enableval
="$enable_compat24"
4123 if test "$enableval" = yes; then
4124 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4126 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4131 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x
; then
4133 eval "DEFAULT_$LINE"
4138 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4142 eval "$ac_cv_use_compat24"
4143 if test "$no_cache" != 1; then
4144 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4147 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4148 echo "$as_me:$LINENO: result: yes" >&5
4149 echo "${ECHO_T}yes" >&6
4151 echo "$as_me:$LINENO: result: no" >&5
4152 echo "${ECHO_T}no" >&6
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4159 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4161 # Check whether --enable-rpath or --disable-rpath was given.
4162 if test "${enable_rpath+set}" = set; then
4163 enableval
="$enable_rpath"
4165 if test "$enableval" = yes; then
4166 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4168 ac_cv_use_rpath
='wxUSE_RPATH=no'
4173 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x
; then
4175 eval "DEFAULT_$LINE"
4180 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4184 eval "$ac_cv_use_rpath"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_RPATH" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4203 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4205 # Check whether --enable-intl or --disable-intl was given.
4206 if test "${enable_intl+set}" = set; then
4207 enableval
="$enable_intl"
4209 if test "$enableval" = yes; then
4210 ac_cv_use_intl
='wxUSE_INTL=yes'
4212 ac_cv_use_intl
='wxUSE_INTL=no'
4217 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x
; then
4219 eval "DEFAULT_$LINE"
4224 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4228 eval "$ac_cv_use_intl"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4233 if test "$wxUSE_INTL" = yes; then
4234 echo "$as_me:$LINENO: result: yes" >&5
4235 echo "${ECHO_T}yes" >&6
4237 echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6
4243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4244 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4246 # Check whether --enable-config or --disable-config was given.
4247 if test "${enable_config+set}" = set; then
4248 enableval
="$enable_config"
4250 if test "$enableval" = yes; then
4251 ac_cv_use_config
='wxUSE_CONFIG=yes'
4253 ac_cv_use_config
='wxUSE_CONFIG=no'
4258 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x
; then
4260 eval "DEFAULT_$LINE"
4265 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4269 eval "$ac_cv_use_config"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_CONFIG" = yes; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4286 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4288 # Check whether --enable-protocols or --disable-protocols was given.
4289 if test "${enable_protocols+set}" = set; then
4290 enableval
="$enable_protocols"
4292 if test "$enableval" = yes; then
4293 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4295 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4300 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x
; then
4302 eval "DEFAULT_$LINE"
4307 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4311 eval "$ac_cv_use_protocols"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4316 if test "$wxUSE_PROTOCOL" = yes; then
4317 echo "$as_me:$LINENO: result: yes" >&5
4318 echo "${ECHO_T}yes" >&6
4320 echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6
4326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4329 # Check whether --enable-ftp or --disable-ftp was given.
4330 if test "${enable_ftp+set}" = set; then
4331 enableval
="$enable_ftp"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4336 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4341 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4352 eval "$ac_cv_use_ftp"
4353 if test "$no_cache" != 1; then
4354 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4357 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4358 echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6
4361 echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6
4367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4370 # Check whether --enable-http or --disable-http was given.
4371 if test "${enable_http+set}" = set; then
4372 enableval
="$enable_http"
4374 if test "$enableval" = yes; then
4375 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4377 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4382 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4383 if test "x$LINE" != x
; then
4384 eval "DEFAULT_$LINE"
4389 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4393 eval "$ac_cv_use_http"
4394 if test "$no_cache" != 1; then
4395 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4398 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4399 echo "$as_me:$LINENO: result: yes" >&5
4400 echo "${ECHO_T}yes" >&6
4402 echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6
4408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4409 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4411 # Check whether --enable-fileproto or --disable-fileproto was given.
4412 if test "${enable_fileproto+set}" = set; then
4413 enableval
="$enable_fileproto"
4415 if test "$enableval" = yes; then
4416 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4418 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4423 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x
; then
4425 eval "DEFAULT_$LINE"
4430 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4434 eval "$ac_cv_use_fileproto"
4435 if test "$no_cache" != 1; then
4436 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4439 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4440 echo "$as_me:$LINENO: result: yes" >&5
4441 echo "${ECHO_T}yes" >&6
4443 echo "$as_me:$LINENO: result: no" >&5
4444 echo "${ECHO_T}no" >&6
4449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4450 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4452 # Check whether --enable-sockets or --disable-sockets was given.
4453 if test "${enable_sockets+set}" = set; then
4454 enableval
="$enable_sockets"
4456 if test "$enableval" = yes; then
4457 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4459 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4464 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4465 if test "x$LINE" != x
; then
4466 eval "DEFAULT_$LINE"
4471 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4475 eval "$ac_cv_use_sockets"
4476 if test "$no_cache" != 1; then
4477 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4480 if test "$wxUSE_SOCKETS" = yes; then
4481 echo "$as_me:$LINENO: result: yes" >&5
4482 echo "${ECHO_T}yes" >&6
4484 echo "$as_me:$LINENO: result: no" >&5
4485 echo "${ECHO_T}no" >&6
4490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4493 # Check whether --enable-ole or --disable-ole was given.
4494 if test "${enable_ole+set}" = set; then
4495 enableval
="$enable_ole"
4497 if test "$enableval" = yes; then
4498 ac_cv_use_ole
='wxUSE_OLE=yes'
4500 ac_cv_use_ole
='wxUSE_OLE=no'
4505 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x
; then
4507 eval "DEFAULT_$LINE"
4512 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4516 eval "$ac_cv_use_ole"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_OLE" = yes; then
4522 echo "$as_me:$LINENO: result: yes" >&5
4523 echo "${ECHO_T}yes" >&6
4525 echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6
4531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4532 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4534 # Check whether --enable-dataobj or --disable-dataobj was given.
4535 if test "${enable_dataobj+set}" = set; then
4536 enableval
="$enable_dataobj"
4538 if test "$enableval" = yes; then
4539 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4541 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4546 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x
; then
4548 eval "DEFAULT_$LINE"
4553 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4557 eval "$ac_cv_use_dataobj"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4562 if test "$wxUSE_DATAOBJ" = yes; then
4563 echo "$as_me:$LINENO: result: yes" >&5
4564 echo "${ECHO_T}yes" >&6
4566 echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6
4573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4576 # Check whether --enable-ipc or --disable-ipc was given.
4577 if test "${enable_ipc+set}" = set; then
4578 enableval
="$enable_ipc"
4580 if test "$enableval" = yes; then
4581 ac_cv_use_ipc
='wxUSE_IPC=yes'
4583 ac_cv_use_ipc
='wxUSE_IPC=no'
4588 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x
; then
4590 eval "DEFAULT_$LINE"
4595 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4599 eval "$ac_cv_use_ipc"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4604 if test "$wxUSE_IPC" = yes; then
4605 echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6
4608 echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6
4615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4618 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4619 if test "${enable_apple_ieee+set}" = set; then
4620 enableval
="$enable_apple_ieee"
4622 if test "$enableval" = yes; then
4623 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4625 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4630 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x
; then
4632 eval "DEFAULT_$LINE"
4637 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4641 eval "$ac_cv_use_apple_ieee"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4646 if test "$wxUSE_APPLE_IEEE" = yes; then
4647 echo "$as_me:$LINENO: result: yes" >&5
4648 echo "${ECHO_T}yes" >&6
4650 echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6
4656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4659 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4660 if test "${enable_catch_segvs+set}" = set; then
4661 enableval
="$enable_catch_segvs"
4663 if test "$enableval" = yes; then
4664 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4666 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4671 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x
; then
4673 eval "DEFAULT_$LINE"
4678 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4682 eval "$ac_cv_use_catch_segvs"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4687 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4688 echo "$as_me:$LINENO: result: yes" >&5
4689 echo "${ECHO_T}yes" >&6
4691 echo "$as_me:$LINENO: result: no" >&5
4692 echo "${ECHO_T}no" >&6
4697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4698 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4700 # Check whether --enable-cmdline or --disable-cmdline was given.
4701 if test "${enable_cmdline+set}" = set; then
4702 enableval
="$enable_cmdline"
4704 if test "$enableval" = yes; then
4705 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4707 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4712 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x
; then
4714 eval "DEFAULT_$LINE"
4719 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4723 eval "$ac_cv_use_cmdline"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4728 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4729 echo "$as_me:$LINENO: result: yes" >&5
4730 echo "${ECHO_T}yes" >&6
4732 echo "$as_me:$LINENO: result: no" >&5
4733 echo "${ECHO_T}no" >&6
4738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4739 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4741 # Check whether --enable-datetime or --disable-datetime was given.
4742 if test "${enable_datetime+set}" = set; then
4743 enableval
="$enable_datetime"
4745 if test "$enableval" = yes; then
4746 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4748 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4753 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x
; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4764 eval "$ac_cv_use_datetime"
4765 if test "$no_cache" != 1; then
4766 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4769 if test "$wxUSE_DATETIME" = yes; then
4770 echo "$as_me:$LINENO: result: yes" >&5
4771 echo "${ECHO_T}yes" >&6
4773 echo "$as_me:$LINENO: result: no" >&5
4774 echo "${ECHO_T}no" >&6
4779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4780 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4782 # Check whether --enable-dialupman or --disable-dialupman was given.
4783 if test "${enable_dialupman+set}" = set; then
4784 enableval
="$enable_dialupman"
4786 if test "$enableval" = yes; then
4787 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4789 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4794 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x
; then
4796 eval "DEFAULT_$LINE"
4801 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4805 eval "$ac_cv_use_dialupman"
4806 if test "$no_cache" != 1; then
4807 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4810 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4811 echo "$as_me:$LINENO: result: yes" >&5
4812 echo "${ECHO_T}yes" >&6
4814 echo "$as_me:$LINENO: result: no" >&5
4815 echo "${ECHO_T}no" >&6
4820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4821 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4823 # Check whether --enable-dynlib or --disable-dynlib was given.
4824 if test "${enable_dynlib+set}" = set; then
4825 enableval
="$enable_dynlib"
4827 if test "$enableval" = yes; then
4828 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4830 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4835 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4836 if test "x$LINE" != x
; then
4837 eval "DEFAULT_$LINE"
4842 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4846 eval "$ac_cv_use_dynlib"
4847 if test "$no_cache" != 1; then
4848 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4851 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4852 echo "$as_me:$LINENO: result: yes" >&5
4853 echo "${ECHO_T}yes" >&6
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4862 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4864 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4865 if test "${enable_dynamicloader+set}" = set; then
4866 enableval
="$enable_dynamicloader"
4868 if test "$enableval" = yes; then
4869 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4871 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4876 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x
; then
4878 eval "DEFAULT_$LINE"
4883 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4887 eval "$ac_cv_use_dynamicloader"
4888 if test "$no_cache" != 1; then
4889 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4892 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4893 echo "$as_me:$LINENO: result: yes" >&5
4894 echo "${ECHO_T}yes" >&6
4896 echo "$as_me:$LINENO: result: no" >&5
4897 echo "${ECHO_T}no" >&6
4902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4903 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4905 # Check whether --enable-exceptions or --disable-exceptions was given.
4906 if test "${enable_exceptions+set}" = set; then
4907 enableval
="$enable_exceptions"
4909 if test "$enableval" = yes; then
4910 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4912 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4917 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x
; then
4919 eval "DEFAULT_$LINE"
4924 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4928 eval "$ac_cv_use_exceptions"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4933 if test "$wxUSE_EXCEPTIONS" = yes; then
4934 echo "$as_me:$LINENO: result: yes" >&5
4935 echo "${ECHO_T}yes" >&6
4937 echo "$as_me:$LINENO: result: no" >&5
4938 echo "${ECHO_T}no" >&6
4943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4946 # Check whether --enable-ffile or --disable-ffile was given.
4947 if test "${enable_ffile+set}" = set; then
4948 enableval
="$enable_ffile"
4950 if test "$enableval" = yes; then
4951 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4953 ac_cv_use_ffile
='wxUSE_FFILE=no'
4958 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x
; then
4960 eval "DEFAULT_$LINE"
4965 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4969 eval "$ac_cv_use_ffile"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4974 if test "$wxUSE_FFILE" = yes; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4987 # Check whether --enable-file or --disable-file was given.
4988 if test "${enable_file+set}" = set; then
4989 enableval
="$enable_file"
4991 if test "$enableval" = yes; then
4992 ac_cv_use_file
='wxUSE_FILE=yes'
4994 ac_cv_use_file
='wxUSE_FILE=no'
4999 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x
; then
5001 eval "DEFAULT_$LINE"
5006 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5010 eval "$ac_cv_use_file"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5015 if test "$wxUSE_FILE" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5028 # Check whether --enable-filesystem or --disable-filesystem was given.
5029 if test "${enable_filesystem+set}" = set; then
5030 enableval
="$enable_filesystem"
5032 if test "$enableval" = yes; then
5033 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5035 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5040 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x
; then
5042 eval "DEFAULT_$LINE"
5047 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5051 eval "$ac_cv_use_filesystem"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5056 if test "$wxUSE_FILESYSTEM" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058 echo "${ECHO_T}yes" >&6
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5069 # Check whether --enable-fontmap or --disable-fontmap was given.
5070 if test "${enable_fontmap+set}" = set; then
5071 enableval
="$enable_fontmap"
5073 if test "$enableval" = yes; then
5074 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5076 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5081 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x
; then
5083 eval "DEFAULT_$LINE"
5088 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5092 eval "$ac_cv_use_fontmap"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5097 if test "$wxUSE_FONTMAP" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5110 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5111 if test "${enable_fs_inet+set}" = set; then
5112 enableval
="$enable_fs_inet"
5114 if test "$enableval" = yes; then
5115 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5117 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5122 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x
; then
5124 eval "DEFAULT_$LINE"
5129 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5133 eval "$ac_cv_use_fs_inet"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5138 if test "$wxUSE_FS_INET" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5151 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5152 if test "${enable_fs_zip+set}" = set; then
5153 enableval
="$enable_fs_zip"
5155 if test "$enableval" = yes; then
5156 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5158 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5163 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x
; then
5165 eval "DEFAULT_$LINE"
5170 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5174 eval "$ac_cv_use_fs_zip"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5179 if test "$wxUSE_FS_ZIP" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181 echo "${ECHO_T}yes" >&6
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5192 # Check whether --enable-geometry or --disable-geometry was given.
5193 if test "${enable_geometry+set}" = set; then
5194 enableval
="$enable_geometry"
5196 if test "$enableval" = yes; then
5197 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5199 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5204 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x
; then
5206 eval "DEFAULT_$LINE"
5211 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5215 eval "$ac_cv_use_geometry"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5220 if test "$wxUSE_GEOMETRY" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222 echo "${ECHO_T}yes" >&6
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5233 # Check whether --enable-log or --disable-log was given.
5234 if test "${enable_log+set}" = set; then
5235 enableval
="$enable_log"
5237 if test "$enableval" = yes; then
5238 ac_cv_use_log
='wxUSE_LOG=yes'
5240 ac_cv_use_log
='wxUSE_LOG=no'
5245 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x
; then
5247 eval "DEFAULT_$LINE"
5252 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5256 eval "$ac_cv_use_log"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5261 if test "$wxUSE_LOG" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263 echo "${ECHO_T}yes" >&6
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5274 # Check whether --enable-longlong or --disable-longlong was given.
5275 if test "${enable_longlong+set}" = set; then
5276 enableval
="$enable_longlong"
5278 if test "$enableval" = yes; then
5279 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5281 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5286 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x
; then
5288 eval "DEFAULT_$LINE"
5293 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5297 eval "$ac_cv_use_longlong"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5302 if test "$wxUSE_LONGLONG" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5306 echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5315 # Check whether --enable-mimetype or --disable-mimetype was given.
5316 if test "${enable_mimetype+set}" = set; then
5317 enableval
="$enable_mimetype"
5319 if test "$enableval" = yes; then
5320 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5322 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5327 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x
; then
5329 eval "DEFAULT_$LINE"
5334 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5338 eval "$ac_cv_use_mimetype"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5343 if test "$wxUSE_MIMETYPE" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345 echo "${ECHO_T}yes" >&6
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5356 # Check whether --enable-mslu or --disable-mslu was given.
5357 if test "${enable_mslu+set}" = set; then
5358 enableval
="$enable_mslu"
5360 if test "$enableval" = yes; then
5361 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5363 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5368 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x
; then
5370 eval "DEFAULT_$LINE"
5375 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5379 eval "$ac_cv_use_mslu"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5384 if test "$wxUSE_UNICODE_MSLU" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386 echo "${ECHO_T}yes" >&6
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5397 # Check whether --enable-snglinst or --disable-snglinst was given.
5398 if test "${enable_snglinst+set}" = set; then
5399 enableval
="$enable_snglinst"
5401 if test "$enableval" = yes; then
5402 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5404 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5409 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x
; then
5411 eval "DEFAULT_$LINE"
5416 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5420 eval "$ac_cv_use_snglinst"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5425 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5438 # Check whether --enable-streams or --disable-streams was given.
5439 if test "${enable_streams+set}" = set; then
5440 enableval
="$enable_streams"
5442 if test "$enableval" = yes; then
5443 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5445 ac_cv_use_streams
='wxUSE_STREAMS=no'
5450 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5457 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5461 eval "$ac_cv_use_streams"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5466 if test "$wxUSE_STREAMS" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5479 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5480 if test "${enable_std_iostreams+set}" = set; then
5481 enableval
="$enable_std_iostreams"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5486 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5491 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5502 eval "$ac_cv_use_std_iostreams"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5507 if test "$wxUSE_STD_IOSTREAM" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5520 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5521 if test "${enable_stopwatch+set}" = set; then
5522 enableval
="$enable_stopwatch"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5527 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5532 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5543 eval "$ac_cv_use_stopwatch"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_STOPWATCH" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6
5552 echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5561 # Check whether --enable-system_options or --disable-system_options was given.
5562 if test "${enable_system_options+set}" = set; then
5563 enableval
="$enable_system_options"
5565 if test "$enableval" = yes; then
5566 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5568 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5573 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x
; then
5575 eval "DEFAULT_$LINE"
5580 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5584 eval "$ac_cv_use_system_options"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5602 # Check whether --enable-textbuf or --disable-textbuf was given.
5603 if test "${enable_textbuf+set}" = set; then
5604 enableval
="$enable_textbuf"
5606 if test "$enableval" = yes; then
5607 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5609 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5614 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x
; then
5616 eval "DEFAULT_$LINE"
5621 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5625 eval "$ac_cv_use_textbuf"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5630 if test "$wxUSE_TEXTBUFFER" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6
5634 echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5643 # Check whether --enable-textfile or --disable-textfile was given.
5644 if test "${enable_textfile+set}" = set; then
5645 enableval
="$enable_textfile"
5647 if test "$enableval" = yes; then
5648 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5650 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5655 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x
; then
5657 eval "DEFAULT_$LINE"
5662 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5666 eval "$ac_cv_use_textfile"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5671 if test "$wxUSE_TEXTFILE" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5684 # Check whether --enable-timer or --disable-timer was given.
5685 if test "${enable_timer+set}" = set; then
5686 enableval
="$enable_timer"
5688 if test "$enableval" = yes; then
5689 ac_cv_use_timer
='wxUSE_TIMER=yes'
5691 ac_cv_use_timer
='wxUSE_TIMER=no'
5696 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x
; then
5698 eval "DEFAULT_$LINE"
5703 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5707 eval "$ac_cv_use_timer"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5712 if test "$wxUSE_TIMER" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5725 # Check whether --enable-unicode or --disable-unicode was given.
5726 if test "${enable_unicode+set}" = set; then
5727 enableval
="$enable_unicode"
5729 if test "$enableval" = yes; then
5730 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5732 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5737 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x
; then
5739 eval "DEFAULT_$LINE"
5744 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5748 eval "$ac_cv_use_unicode"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5753 if test "$wxUSE_UNICODE" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5766 # Check whether --enable-sound or --disable-sound was given.
5767 if test "${enable_sound+set}" = set; then
5768 enableval
="$enable_sound"
5770 if test "$enableval" = yes; then
5771 ac_cv_use_sound
='wxUSE_SOUND=yes'
5773 ac_cv_use_sound
='wxUSE_SOUND=no'
5778 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x
; then
5780 eval "DEFAULT_$LINE"
5785 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5789 eval "$ac_cv_use_sound"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5794 if test "$wxUSE_SOUND" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796 echo "${ECHO_T}yes" >&6
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5807 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5808 if test "${enable_wxprintfv+set}" = set; then
5809 enableval
="$enable_wxprintfv"
5811 if test "$enableval" = yes; then
5812 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5814 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5819 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5826 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5830 eval "$ac_cv_use_wxprintfv"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5835 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5848 # Check whether --enable-zipstream or --disable-zipstream was given.
5849 if test "${enable_zipstream+set}" = set; then
5850 enableval
="$enable_zipstream"
5852 if test "$enableval" = yes; then
5853 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5855 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5860 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x
; then
5862 eval "DEFAULT_$LINE"
5867 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5871 eval "$ac_cv_use_zipstream"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5876 if test "$wxUSE_ZIPSTREAM" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5888 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5890 # Check whether --enable-url or --disable-url was given.
5891 if test "${enable_url+set}" = set; then
5892 enableval
="$enable_url"
5894 if test "$enableval" = yes; then
5895 ac_cv_use_url
='wxUSE_URL=yes'
5897 ac_cv_use_url
='wxUSE_URL=no'
5902 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5903 if test "x$LINE" != x
; then
5904 eval "DEFAULT_$LINE"
5909 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5913 eval "$ac_cv_use_url"
5914 if test "$no_cache" != 1; then
5915 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5918 if test "$wxUSE_URL" = yes; then
5919 echo "$as_me:$LINENO: result: yes" >&5
5920 echo "${ECHO_T}yes" >&6
5922 echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6
5928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5929 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5931 # Check whether --enable-protocol or --disable-protocol was given.
5932 if test "${enable_protocol+set}" = set; then
5933 enableval
="$enable_protocol"
5935 if test "$enableval" = yes; then
5936 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5938 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5943 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x
; then
5945 eval "DEFAULT_$LINE"
5950 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5954 eval "$ac_cv_use_protocol"
5955 if test "$no_cache" != 1; then
5956 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5959 if test "$wxUSE_PROTOCOL" = yes; then
5960 echo "$as_me:$LINENO: result: yes" >&5
5961 echo "${ECHO_T}yes" >&6
5963 echo "$as_me:$LINENO: result: no" >&5
5964 echo "${ECHO_T}no" >&6
5969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5972 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5973 if test "${enable_protocol_http+set}" = set; then
5974 enableval
="$enable_protocol_http"
5976 if test "$enableval" = yes; then
5977 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5979 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5984 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x
; then
5986 eval "DEFAULT_$LINE"
5991 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5995 eval "$ac_cv_use_protocol_http"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6000 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6001 echo "$as_me:$LINENO: result: yes" >&5
6002 echo "${ECHO_T}yes" >&6
6004 echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6
6010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6011 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6013 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6014 if test "${enable_protocol_ftp+set}" = set; then
6015 enableval
="$enable_protocol_ftp"
6017 if test "$enableval" = yes; then
6018 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6020 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6025 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6026 if test "x$LINE" != x
; then
6027 eval "DEFAULT_$LINE"
6032 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6036 eval "$ac_cv_use_protocol_ftp"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6041 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6042 echo "$as_me:$LINENO: result: yes" >&5
6043 echo "${ECHO_T}yes" >&6
6045 echo "$as_me:$LINENO: result: no" >&5
6046 echo "${ECHO_T}no" >&6
6051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6054 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6055 if test "${enable_protocol_file+set}" = set; then
6056 enableval
="$enable_protocol_file"
6058 if test "$enableval" = yes; then
6059 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6061 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6066 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x
; then
6068 eval "DEFAULT_$LINE"
6073 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6077 eval "$ac_cv_use_protocol_file"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6082 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6083 echo "$as_me:$LINENO: result: yes" >&5
6084 echo "${ECHO_T}yes" >&6
6086 echo "$as_me:$LINENO: result: no" >&5
6087 echo "${ECHO_T}no" >&6
6095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6098 # Check whether --enable-threads or --disable-threads was given.
6099 if test "${enable_threads+set}" = set; then
6100 enableval
="$enable_threads"
6102 if test "$enableval" = yes; then
6103 ac_cv_use_threads
='wxUSE_THREADS=yes'
6105 ac_cv_use_threads
='wxUSE_THREADS=no'
6110 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6111 if test "x$LINE" != x
; then
6112 eval "DEFAULT_$LINE"
6117 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6121 eval "$ac_cv_use_threads"
6122 if test "$no_cache" != 1; then
6123 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6126 if test "$wxUSE_THREADS" = yes; then
6127 echo "$as_me:$LINENO: result: yes" >&5
6128 echo "${ECHO_T}yes" >&6
6130 echo "$as_me:$LINENO: result: no" >&5
6131 echo "${ECHO_T}no" >&6
6135 if test "$wxUSE_GUI" = "yes"; then
6140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6143 # Check whether --enable-docview or --disable-docview was given.
6144 if test "${enable_docview+set}" = set; then
6145 enableval
="$enable_docview"
6147 if test "$enableval" = yes; then
6148 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6150 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6155 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x
; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6166 eval "$ac_cv_use_docview"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6171 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6172 echo "$as_me:$LINENO: result: yes" >&5
6173 echo "${ECHO_T}yes" >&6
6175 echo "$as_me:$LINENO: result: no" >&5
6176 echo "${ECHO_T}no" >&6
6181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6182 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6184 # Check whether --enable-help or --disable-help was given.
6185 if test "${enable_help+set}" = set; then
6186 enableval
="$enable_help"
6188 if test "$enableval" = yes; then
6189 ac_cv_use_help
='wxUSE_HELP=yes'
6191 ac_cv_use_help
='wxUSE_HELP=no'
6196 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x
; then
6198 eval "DEFAULT_$LINE"
6203 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6207 eval "$ac_cv_use_help"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6212 if test "$wxUSE_HELP" = yes; then
6213 echo "$as_me:$LINENO: result: yes" >&5
6214 echo "${ECHO_T}yes" >&6
6216 echo "$as_me:$LINENO: result: no" >&5
6217 echo "${ECHO_T}no" >&6
6222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6223 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6225 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6226 if test "${enable_mshtmlhelp+set}" = set; then
6227 enableval
="$enable_mshtmlhelp"
6229 if test "$enableval" = yes; then
6230 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6232 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6237 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x
; then
6239 eval "DEFAULT_$LINE"
6244 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6248 eval "$ac_cv_use_mshtmlhelp"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6253 if test "$wxUSE_MS_HTML_HELP" = yes; then
6254 echo "$as_me:$LINENO: result: yes" >&5
6255 echo "${ECHO_T}yes" >&6
6257 echo "$as_me:$LINENO: result: no" >&5
6258 echo "${ECHO_T}no" >&6
6263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6264 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6266 # Check whether --enable-html or --disable-html was given.
6267 if test "${enable_html+set}" = set; then
6268 enableval
="$enable_html"
6270 if test "$enableval" = yes; then
6271 ac_cv_use_html
='wxUSE_HTML=yes'
6273 ac_cv_use_html
='wxUSE_HTML=no'
6278 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x
; then
6280 eval "DEFAULT_$LINE"
6285 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6289 eval "$ac_cv_use_html"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6294 if test "$wxUSE_HTML" = yes; then
6295 echo "$as_me:$LINENO: result: yes" >&5
6296 echo "${ECHO_T}yes" >&6
6298 echo "$as_me:$LINENO: result: no" >&5
6299 echo "${ECHO_T}no" >&6
6304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6305 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6307 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6308 if test "${enable_htmlhelp+set}" = set; then
6309 enableval
="$enable_htmlhelp"
6311 if test "$enableval" = yes; then
6312 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6314 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6319 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x
; then
6321 eval "DEFAULT_$LINE"
6326 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6330 eval "$ac_cv_use_htmlhelp"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6335 if test "$wxUSE_WXHTML_HELP" = yes; then
6336 echo "$as_me:$LINENO: result: yes" >&5
6337 echo "${ECHO_T}yes" >&6
6339 echo "$as_me:$LINENO: result: no" >&5
6340 echo "${ECHO_T}no" >&6
6345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6348 # Check whether --enable-xrc or --disable-xrc was given.
6349 if test "${enable_xrc+set}" = set; then
6350 enableval
="$enable_xrc"
6352 if test "$enableval" = yes; then
6353 ac_cv_use_xrc
='wxUSE_XRC=yes'
6355 ac_cv_use_xrc
='wxUSE_XRC=no'
6360 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x
; then
6362 eval "DEFAULT_$LINE"
6367 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6371 eval "$ac_cv_use_xrc"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6376 if test "$wxUSE_XRC" = yes; then
6377 echo "$as_me:$LINENO: result: yes" >&5
6378 echo "${ECHO_T}yes" >&6
6380 echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6389 # Check whether --enable-constraints or --disable-constraints was given.
6390 if test "${enable_constraints+set}" = set; then
6391 enableval
="$enable_constraints"
6393 if test "$enableval" = yes; then
6394 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6396 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6401 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x
; then
6403 eval "DEFAULT_$LINE"
6408 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6412 eval "$ac_cv_use_constraints"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6417 if test "$wxUSE_CONSTRAINTS" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419 echo "${ECHO_T}yes" >&6
6421 echo "$as_me:$LINENO: result: no" >&5
6422 echo "${ECHO_T}no" >&6
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6430 # Check whether --enable-printarch or --disable-printarch was given.
6431 if test "${enable_printarch+set}" = set; then
6432 enableval
="$enable_printarch"
6434 if test "$enableval" = yes; then
6435 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6437 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6442 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x
; then
6444 eval "DEFAULT_$LINE"
6449 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6453 eval "$ac_cv_use_printarch"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6458 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460 echo "${ECHO_T}yes" >&6
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6471 # Check whether --enable-mdi or --disable-mdi was given.
6472 if test "${enable_mdi+set}" = set; then
6473 enableval
="$enable_mdi"
6475 if test "$enableval" = yes; then
6476 ac_cv_use_mdi
='wxUSE_MDI=yes'
6478 ac_cv_use_mdi
='wxUSE_MDI=no'
6483 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x
; then
6485 eval "DEFAULT_$LINE"
6490 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6494 eval "$ac_cv_use_mdi"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6499 if test "$wxUSE_MDI" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6
6503 echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6512 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6513 if test "${enable_mdidoc+set}" = set; then
6514 enableval
="$enable_mdidoc"
6516 if test "$enableval" = yes; then
6517 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6519 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6524 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x
; then
6526 eval "DEFAULT_$LINE"
6531 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6535 eval "$ac_cv_use_mdidoc"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6540 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542 echo "${ECHO_T}yes" >&6
6544 echo "$as_me:$LINENO: result: no" >&5
6545 echo "${ECHO_T}no" >&6
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6553 # Check whether --enable-loggui or --disable-loggui was given.
6554 if test "${enable_loggui+set}" = set; then
6555 enableval
="$enable_loggui"
6557 if test "$enableval" = yes; then
6558 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6560 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6565 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x
; then
6567 eval "DEFAULT_$LINE"
6572 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6576 eval "$ac_cv_use_loggui"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6581 if test "$wxUSE_LOGGUI" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6594 # Check whether --enable-logwin or --disable-logwin was given.
6595 if test "${enable_logwin+set}" = set; then
6596 enableval
="$enable_logwin"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6601 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6606 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6617 eval "$ac_cv_use_logwin"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6622 if test "$wxUSE_LOGWINDOW" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6635 # Check whether --enable-logdialog or --disable-logdialog was given.
6636 if test "${enable_logdialog+set}" = set; then
6637 enableval
="$enable_logdialog"
6639 if test "$enableval" = yes; then
6640 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6642 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6647 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x
; then
6649 eval "DEFAULT_$LINE"
6654 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6658 eval "$ac_cv_use_logdialog"
6659 if test "$no_cache" != 1; then
6660 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6663 if test "$wxUSE_LOGDIALOG" = yes; then
6664 echo "$as_me:$LINENO: result: yes" >&5
6665 echo "${ECHO_T}yes" >&6
6667 echo "$as_me:$LINENO: result: no" >&5
6668 echo "${ECHO_T}no" >&6
6673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6674 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6676 # Check whether --enable-webkit or --disable-webkit was given.
6677 if test "${enable_webkit+set}" = set; then
6678 enableval
="$enable_webkit"
6680 if test "$enableval" = yes; then
6681 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6683 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6688 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x
; then
6690 eval "DEFAULT_$LINE"
6695 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6699 eval "$ac_cv_use_webkit"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6704 if test "$wxUSE_WEBKIT" = yes; then
6705 echo "$as_me:$LINENO: result: yes" >&5
6706 echo "${ECHO_T}yes" >&6
6708 echo "$as_me:$LINENO: result: no" >&5
6709 echo "${ECHO_T}no" >&6
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6718 # Check whether --enable-postscript or --disable-postscript was given.
6719 if test "${enable_postscript+set}" = set; then
6720 enableval
="$enable_postscript"
6722 if test "$enableval" = yes; then
6723 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6725 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6730 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x
; then
6732 eval "DEFAULT_$LINE"
6737 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6741 eval "$ac_cv_use_postscript"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6746 if test "$wxUSE_POSTSCRIPT" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6762 # Check whether --enable-prologio or --disable-prologio was given.
6763 if test "${enable_prologio+set}" = set; then
6764 enableval
="$enable_prologio"
6766 if test "$enableval" = yes; then
6767 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6769 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6774 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x
; then
6776 eval "DEFAULT_$LINE"
6781 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6785 eval "$ac_cv_use_prologio"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6790 if test "$wxUSE_PROLOGIO" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6794 echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6803 # Check whether --enable-resources or --disable-resources was given.
6804 if test "${enable_resources+set}" = set; then
6805 enableval
="$enable_resources"
6807 if test "$enableval" = yes; then
6808 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6810 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6815 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x
; then
6817 eval "DEFAULT_$LINE"
6822 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6826 eval "$ac_cv_use_resources"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6831 if test "$wxUSE_RESOURCES" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6846 # Check whether --enable-clipboard or --disable-clipboard was given.
6847 if test "${enable_clipboard+set}" = set; then
6848 enableval
="$enable_clipboard"
6850 if test "$enableval" = yes; then
6851 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6853 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6858 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x
; then
6860 eval "DEFAULT_$LINE"
6865 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6869 eval "$ac_cv_use_clipboard"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6874 if test "$wxUSE_CLIPBOARD" = yes; then
6875 echo "$as_me:$LINENO: result: yes" >&5
6876 echo "${ECHO_T}yes" >&6
6878 echo "$as_me:$LINENO: result: no" >&5
6879 echo "${ECHO_T}no" >&6
6884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6885 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6887 # Check whether --enable-dnd or --disable-dnd was given.
6888 if test "${enable_dnd+set}" = set; then
6889 enableval
="$enable_dnd"
6891 if test "$enableval" = yes; then
6892 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6894 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6899 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x
; then
6901 eval "DEFAULT_$LINE"
6906 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6910 eval "$ac_cv_use_dnd"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6915 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6916 echo "$as_me:$LINENO: result: yes" >&5
6917 echo "${ECHO_T}yes" >&6
6919 echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6928 # Check whether --enable-metafile or --disable-metafile was given.
6929 if test "${enable_metafile+set}" = set; then
6930 enableval
="$enable_metafile"
6932 if test "$enableval" = yes; then
6933 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6935 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6940 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x
; then
6942 eval "DEFAULT_$LINE"
6947 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6951 eval "$ac_cv_use_metafile"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6956 if test "$wxUSE_METAFILE" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6970 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6972 # Check whether --enable-controls or --disable-controls was given.
6973 if test "${enable_controls+set}" = set; then
6974 enableval
="$enable_controls"
6976 if test "$enableval" = yes; then
6977 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6979 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6984 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6985 if test "x$LINE" != x
; then
6986 eval "DEFAULT_$LINE"
6991 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6995 eval "$ac_cv_use_controls"
6996 if test "$no_cache" != 1; then
6997 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7000 if test "$wxUSE_CONTROLS" = yes; then
7001 echo "$as_me:$LINENO: result: yes" >&5
7002 echo "${ECHO_T}yes" >&6
7004 echo "$as_me:$LINENO: result: no" >&5
7005 echo "${ECHO_T}no" >&6
7009 if test "$wxUSE_CONTROLS" = "yes"; then
7010 DEFAULT_wxUSE_ACCEL
=yes
7011 DEFAULT_wxUSE_BMPBUTTON
=yes
7012 DEFAULT_wxUSE_BUTTON
=yes
7013 DEFAULT_wxUSE_CALCTRL
=no
7014 DEFAULT_wxUSE_CARET
=yes
7015 DEFAULT_wxUSE_COMBOBOX
=yes
7016 DEFAULT_wxUSE_CHECKBOX
=yes
7017 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7018 DEFAULT_wxUSE_CHOICE
=yes
7019 DEFAULT_wxUSE_CHOICEBOOK
=yes
7020 DEFAULT_wxUSE_GAUGE
=yes
7021 DEFAULT_wxUSE_GRID
=yes
7022 DEFAULT_wxUSE_IMAGLIST
=yes
7023 DEFAULT_wxUSE_LISTBOOK
=yes
7024 DEFAULT_wxUSE_LISTBOX
=yes
7025 DEFAULT_wxUSE_LISTCTRL
=yes
7026 DEFAULT_wxUSE_NOTEBOOK
=yes
7027 DEFAULT_wxUSE_RADIOBOX
=yes
7028 DEFAULT_wxUSE_RADIOBTN
=yes
7029 DEFAULT_wxUSE_SASH
=yes
7030 DEFAULT_wxUSE_SCROLLBAR
=yes
7031 DEFAULT_wxUSE_SLIDER
=yes
7032 DEFAULT_wxUSE_SPINBTN
=yes
7033 DEFAULT_wxUSE_SPINCTRL
=yes
7034 DEFAULT_wxUSE_SPLITTER
=yes
7035 DEFAULT_wxUSE_STATBMP
=yes
7036 DEFAULT_wxUSE_STATBOX
=yes
7037 DEFAULT_wxUSE_STATLINE
=yes
7038 DEFAULT_wxUSE_STATUSBAR
=yes
7039 DEFAULT_wxUSE_TAB_DIALOG
=yes
7040 DEFAULT_wxUSE_TOGGLEBTN
=yes
7041 DEFAULT_wxUSE_TOOLBAR
=yes
7042 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7043 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7044 DEFAULT_wxUSE_TOOLTIPS
=yes
7045 DEFAULT_wxUSE_TREECTRL
=yes
7046 DEFAULT_wxUSE_POPUPWIN
=yes
7047 DEFAULT_wxUSE_TIPWINDOW
=yes
7048 elif test "$wxUSE_CONTROLS" = "no"; then
7049 DEFAULT_wxUSE_ACCEL
=no
7050 DEFAULT_wxUSE_BMPBUTTON
=no
7051 DEFAULT_wxUSE_BUTTON
=no
7052 DEFAULT_wxUSE_CALCTRL
=no
7053 DEFAULT_wxUSE_CARET
=no
7054 DEFAULT_wxUSE_COMBOBOX
=no
7055 DEFAULT_wxUSE_CHECKBOX
=no
7056 DEFAULT_wxUSE_CHECKLISTBOX
=no
7057 DEFAULT_wxUSE_CHOICE
=no
7058 DEFAULT_wxUSE_CHOICEBOOK
=no
7059 DEFAULT_wxUSE_GAUGE
=no
7060 DEFAULT_wxUSE_GRID
=no
7061 DEFAULT_wxUSE_IMAGLIST
=no
7062 DEFAULT_wxUSE_LISTBOOK
=no
7063 DEFAULT_wxUSE_LISTBOX
=no
7064 DEFAULT_wxUSE_LISTCTRL
=no
7065 DEFAULT_wxUSE_NOTEBOOK
=no
7066 DEFAULT_wxUSE_RADIOBOX
=no
7067 DEFAULT_wxUSE_RADIOBTN
=no
7068 DEFAULT_wxUSE_SASH
=no
7069 DEFAULT_wxUSE_SCROLLBAR
=no
7070 DEFAULT_wxUSE_SLIDER
=no
7071 DEFAULT_wxUSE_SPINBTN
=no
7072 DEFAULT_wxUSE_SPINCTRL
=no
7073 DEFAULT_wxUSE_SPLITTER
=no
7074 DEFAULT_wxUSE_STATBMP
=no
7075 DEFAULT_wxUSE_STATBOX
=no
7076 DEFAULT_wxUSE_STATLINE
=no
7077 DEFAULT_wxUSE_STATUSBAR
=no
7078 DEFAULT_wxUSE_TAB_DIALOG
=no
7079 DEFAULT_wxUSE_TOGGLEBTN
=no
7080 DEFAULT_wxUSE_TOOLBAR
=no
7081 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7082 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7083 DEFAULT_wxUSE_TOOLTIPS
=no
7084 DEFAULT_wxUSE_TREECTRL
=no
7085 DEFAULT_wxUSE_POPUPWIN
=no
7086 DEFAULT_wxUSE_TIPWINDOW
=no
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7094 # Check whether --enable-accel or --disable-accel was given.
7095 if test "${enable_accel+set}" = set; then
7096 enableval
="$enable_accel"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7101 ac_cv_use_accel
='wxUSE_ACCEL=no'
7106 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7117 eval "$ac_cv_use_accel"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7122 if test "$wxUSE_ACCEL" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7135 # Check whether --enable-button or --disable-button was given.
7136 if test "${enable_button+set}" = set; then
7137 enableval
="$enable_button"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_button
='wxUSE_BUTTON=yes'
7142 ac_cv_use_button
='wxUSE_BUTTON=no'
7147 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7158 eval "$ac_cv_use_button"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_BUTTON" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7176 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7177 if test "${enable_bmpbutton+set}" = set; then
7178 enableval
="$enable_bmpbutton"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7183 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7188 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7199 eval "$ac_cv_use_bmpbutton"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_BMPBUTTON" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7217 # Check whether --enable-calendar or --disable-calendar was given.
7218 if test "${enable_calendar+set}" = set; then
7219 enableval
="$enable_calendar"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7224 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7229 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7240 eval "$ac_cv_use_calendar"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_CALCTRL" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7258 # Check whether --enable-caret or --disable-caret was given.
7259 if test "${enable_caret+set}" = set; then
7260 enableval
="$enable_caret"
7262 if test "$enableval" = yes; then
7263 ac_cv_use_caret
='wxUSE_CARET=yes'
7265 ac_cv_use_caret
='wxUSE_CARET=no'
7270 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x
; then
7272 eval "DEFAULT_$LINE"
7277 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7281 eval "$ac_cv_use_caret"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7286 if test "$wxUSE_CARET" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288 echo "${ECHO_T}yes" >&6
7290 echo "$as_me:$LINENO: result: no" >&5
7291 echo "${ECHO_T}no" >&6
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7299 # Check whether --enable-checkbox or --disable-checkbox was given.
7300 if test "${enable_checkbox+set}" = set; then
7301 enableval
="$enable_checkbox"
7303 if test "$enableval" = yes; then
7304 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7306 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7311 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x
; then
7313 eval "DEFAULT_$LINE"
7318 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7322 eval "$ac_cv_use_checkbox"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7327 if test "$wxUSE_CHECKBOX" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329 echo "${ECHO_T}yes" >&6
7331 echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7340 # Check whether --enable-checklst or --disable-checklst was given.
7341 if test "${enable_checklst+set}" = set; then
7342 enableval
="$enable_checklst"
7344 if test "$enableval" = yes; then
7345 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7347 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7352 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x
; then
7354 eval "DEFAULT_$LINE"
7359 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7363 eval "$ac_cv_use_checklst"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7368 if test "$wxUSE_CHECKLST" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370 echo "${ECHO_T}yes" >&6
7372 echo "$as_me:$LINENO: result: no" >&5
7373 echo "${ECHO_T}no" >&6
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7381 # Check whether --enable-choice or --disable-choice was given.
7382 if test "${enable_choice+set}" = set; then
7383 enableval
="$enable_choice"
7385 if test "$enableval" = yes; then
7386 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7388 ac_cv_use_choice
='wxUSE_CHOICE=no'
7393 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x
; then
7395 eval "DEFAULT_$LINE"
7400 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7404 eval "$ac_cv_use_choice"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7409 if test "$wxUSE_CHOICE" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411 echo "${ECHO_T}yes" >&6
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7422 # Check whether --enable-choicebook or --disable-choicebook was given.
7423 if test "${enable_choicebook+set}" = set; then
7424 enableval
="$enable_choicebook"
7426 if test "$enableval" = yes; then
7427 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7429 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7434 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x
; then
7436 eval "DEFAULT_$LINE"
7441 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7445 eval "$ac_cv_use_choicebook"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7450 if test "$wxUSE_CHOICEBOOK" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452 echo "${ECHO_T}yes" >&6
7454 echo "$as_me:$LINENO: result: no" >&5
7455 echo "${ECHO_T}no" >&6
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7461 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7463 # Check whether --enable-combobox or --disable-combobox was given.
7464 if test "${enable_combobox+set}" = set; then
7465 enableval
="$enable_combobox"
7467 if test "$enableval" = yes; then
7468 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7470 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7475 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x
; then
7477 eval "DEFAULT_$LINE"
7482 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7486 eval "$ac_cv_use_combobox"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7491 if test "$wxUSE_COMBOBOX" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493 echo "${ECHO_T}yes" >&6
7495 echo "$as_me:$LINENO: result: no" >&5
7496 echo "${ECHO_T}no" >&6
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7504 # Check whether --enable-display or --disable-display was given.
7505 if test "${enable_display+set}" = set; then
7506 enableval
="$enable_display"
7508 if test "$enableval" = yes; then
7509 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7511 ac_cv_use_display
='wxUSE_DISPLAY=no'
7516 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x
; then
7518 eval "DEFAULT_$LINE"
7523 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7527 eval "$ac_cv_use_display"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7532 if test "$wxUSE_DISPLAY" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7545 # Check whether --enable-gauge or --disable-gauge was given.
7546 if test "${enable_gauge+set}" = set; then
7547 enableval
="$enable_gauge"
7549 if test "$enableval" = yes; then
7550 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7552 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7557 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x
; then
7559 eval "DEFAULT_$LINE"
7564 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7568 eval "$ac_cv_use_gauge"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7573 if test "$wxUSE_GAUGE" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7584 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7586 # Check whether --enable-grid or --disable-grid was given.
7587 if test "${enable_grid+set}" = set; then
7588 enableval
="$enable_grid"
7590 if test "$enableval" = yes; then
7591 ac_cv_use_grid
='wxUSE_GRID=yes'
7593 ac_cv_use_grid
='wxUSE_GRID=no'
7598 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x
; then
7600 eval "DEFAULT_$LINE"
7605 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7609 eval "$ac_cv_use_grid"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7614 if test "$wxUSE_GRID" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616 echo "${ECHO_T}yes" >&6
7618 echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7625 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7627 # Check whether --enable-imaglist or --disable-imaglist was given.
7628 if test "${enable_imaglist+set}" = set; then
7629 enableval
="$enable_imaglist"
7631 if test "$enableval" = yes; then
7632 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7634 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7639 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7640 if test "x$LINE" != x
; then
7641 eval "DEFAULT_$LINE"
7646 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7650 eval "$ac_cv_use_imaglist"
7651 if test "$no_cache" != 1; then
7652 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7655 if test "$wxUSE_IMAGLIST" = yes; then
7656 echo "$as_me:$LINENO: result: yes" >&5
7657 echo "${ECHO_T}yes" >&6
7659 echo "$as_me:$LINENO: result: no" >&5
7660 echo "${ECHO_T}no" >&6
7665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7668 # Check whether --enable-listbook or --disable-listbook was given.
7669 if test "${enable_listbook+set}" = set; then
7670 enableval
="$enable_listbook"
7672 if test "$enableval" = yes; then
7673 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7675 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7680 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7681 if test "x$LINE" != x
; then
7682 eval "DEFAULT_$LINE"
7687 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7691 eval "$ac_cv_use_listbook"
7692 if test "$no_cache" != 1; then
7693 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7696 if test "$wxUSE_LISTBOOK" = yes; then
7697 echo "$as_me:$LINENO: result: yes" >&5
7698 echo "${ECHO_T}yes" >&6
7700 echo "$as_me:$LINENO: result: no" >&5
7701 echo "${ECHO_T}no" >&6
7706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7709 # Check whether --enable-listbox or --disable-listbox was given.
7710 if test "${enable_listbox+set}" = set; then
7711 enableval
="$enable_listbox"
7713 if test "$enableval" = yes; then
7714 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7716 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7721 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x
; then
7723 eval "DEFAULT_$LINE"
7728 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7732 eval "$ac_cv_use_listbox"
7733 if test "$no_cache" != 1; then
7734 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7737 if test "$wxUSE_LISTBOX" = yes; then
7738 echo "$as_me:$LINENO: result: yes" >&5
7739 echo "${ECHO_T}yes" >&6
7741 echo "$as_me:$LINENO: result: no" >&5
7742 echo "${ECHO_T}no" >&6
7747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7750 # Check whether --enable-listctrl or --disable-listctrl was given.
7751 if test "${enable_listctrl+set}" = set; then
7752 enableval
="$enable_listctrl"
7754 if test "$enableval" = yes; then
7755 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7757 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7762 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7763 if test "x$LINE" != x
; then
7764 eval "DEFAULT_$LINE"
7769 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7773 eval "$ac_cv_use_listctrl"
7774 if test "$no_cache" != 1; then
7775 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7778 if test "$wxUSE_LISTCTRL" = yes; then
7779 echo "$as_me:$LINENO: result: yes" >&5
7780 echo "${ECHO_T}yes" >&6
7782 echo "$as_me:$LINENO: result: no" >&5
7783 echo "${ECHO_T}no" >&6
7788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7789 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7791 # Check whether --enable-notebook or --disable-notebook was given.
7792 if test "${enable_notebook+set}" = set; then
7793 enableval
="$enable_notebook"
7795 if test "$enableval" = yes; then
7796 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7798 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7803 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7804 if test "x$LINE" != x
; then
7805 eval "DEFAULT_$LINE"
7810 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7814 eval "$ac_cv_use_notebook"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7819 if test "$wxUSE_NOTEBOOK" = yes; then
7820 echo "$as_me:$LINENO: result: yes" >&5
7821 echo "${ECHO_T}yes" >&6
7823 echo "$as_me:$LINENO: result: no" >&5
7824 echo "${ECHO_T}no" >&6
7829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7830 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7832 # Check whether --enable-radiobox or --disable-radiobox was given.
7833 if test "${enable_radiobox+set}" = set; then
7834 enableval
="$enable_radiobox"
7836 if test "$enableval" = yes; then
7837 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7839 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7844 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7845 if test "x$LINE" != x
; then
7846 eval "DEFAULT_$LINE"
7851 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7855 eval "$ac_cv_use_radiobox"
7856 if test "$no_cache" != 1; then
7857 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7860 if test "$wxUSE_RADIOBOX" = yes; then
7861 echo "$as_me:$LINENO: result: yes" >&5
7862 echo "${ECHO_T}yes" >&6
7864 echo "$as_me:$LINENO: result: no" >&5
7865 echo "${ECHO_T}no" >&6
7870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7871 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7873 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7874 if test "${enable_radiobtn+set}" = set; then
7875 enableval
="$enable_radiobtn"
7877 if test "$enableval" = yes; then
7878 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7880 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7885 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7886 if test "x$LINE" != x
; then
7887 eval "DEFAULT_$LINE"
7892 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7896 eval "$ac_cv_use_radiobtn"
7897 if test "$no_cache" != 1; then
7898 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7901 if test "$wxUSE_RADIOBTN" = yes; then
7902 echo "$as_me:$LINENO: result: yes" >&5
7903 echo "${ECHO_T}yes" >&6
7905 echo "$as_me:$LINENO: result: no" >&5
7906 echo "${ECHO_T}no" >&6
7911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7912 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7914 # Check whether --enable-sash or --disable-sash was given.
7915 if test "${enable_sash+set}" = set; then
7916 enableval
="$enable_sash"
7918 if test "$enableval" = yes; then
7919 ac_cv_use_sash
='wxUSE_SASH=yes'
7921 ac_cv_use_sash
='wxUSE_SASH=no'
7926 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7927 if test "x$LINE" != x
; then
7928 eval "DEFAULT_$LINE"
7933 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7937 eval "$ac_cv_use_sash"
7938 if test "$no_cache" != 1; then
7939 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7942 if test "$wxUSE_SASH" = yes; then
7943 echo "$as_me:$LINENO: result: yes" >&5
7944 echo "${ECHO_T}yes" >&6
7946 echo "$as_me:$LINENO: result: no" >&5
7947 echo "${ECHO_T}no" >&6
7952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7953 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7955 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7956 if test "${enable_scrollbar+set}" = set; then
7957 enableval
="$enable_scrollbar"
7959 if test "$enableval" = yes; then
7960 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7962 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7967 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7968 if test "x$LINE" != x
; then
7969 eval "DEFAULT_$LINE"
7974 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7978 eval "$ac_cv_use_scrollbar"
7979 if test "$no_cache" != 1; then
7980 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7983 if test "$wxUSE_SCROLLBAR" = yes; then
7984 echo "$as_me:$LINENO: result: yes" >&5
7985 echo "${ECHO_T}yes" >&6
7987 echo "$as_me:$LINENO: result: no" >&5
7988 echo "${ECHO_T}no" >&6
7993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7994 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7996 # Check whether --enable-slider or --disable-slider was given.
7997 if test "${enable_slider+set}" = set; then
7998 enableval
="$enable_slider"
8000 if test "$enableval" = yes; then
8001 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8003 ac_cv_use_slider
='wxUSE_SLIDER=no'
8008 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8009 if test "x$LINE" != x
; then
8010 eval "DEFAULT_$LINE"
8015 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8019 eval "$ac_cv_use_slider"
8020 if test "$no_cache" != 1; then
8021 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8024 if test "$wxUSE_SLIDER" = yes; then
8025 echo "$as_me:$LINENO: result: yes" >&5
8026 echo "${ECHO_T}yes" >&6
8028 echo "$as_me:$LINENO: result: no" >&5
8029 echo "${ECHO_T}no" >&6
8034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8035 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8037 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8038 if test "${enable_spinbtn+set}" = set; then
8039 enableval
="$enable_spinbtn"
8041 if test "$enableval" = yes; then
8042 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8044 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8049 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8050 if test "x$LINE" != x
; then
8051 eval "DEFAULT_$LINE"
8056 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8060 eval "$ac_cv_use_spinbtn"
8061 if test "$no_cache" != 1; then
8062 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8065 if test "$wxUSE_SPINBTN" = yes; then
8066 echo "$as_me:$LINENO: result: yes" >&5
8067 echo "${ECHO_T}yes" >&6
8069 echo "$as_me:$LINENO: result: no" >&5
8070 echo "${ECHO_T}no" >&6
8075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8076 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8078 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8079 if test "${enable_spinctrl+set}" = set; then
8080 enableval
="$enable_spinctrl"
8082 if test "$enableval" = yes; then
8083 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8085 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8090 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8091 if test "x$LINE" != x
; then
8092 eval "DEFAULT_$LINE"
8097 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8101 eval "$ac_cv_use_spinctrl"
8102 if test "$no_cache" != 1; then
8103 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8106 if test "$wxUSE_SPINCTRL" = yes; then
8107 echo "$as_me:$LINENO: result: yes" >&5
8108 echo "${ECHO_T}yes" >&6
8110 echo "$as_me:$LINENO: result: no" >&5
8111 echo "${ECHO_T}no" >&6
8116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8117 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8119 # Check whether --enable-splitter or --disable-splitter was given.
8120 if test "${enable_splitter+set}" = set; then
8121 enableval
="$enable_splitter"
8123 if test "$enableval" = yes; then
8124 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8126 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8131 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x
; then
8133 eval "DEFAULT_$LINE"
8138 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8142 eval "$ac_cv_use_splitter"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8147 if test "$wxUSE_SPLITTER" = yes; then
8148 echo "$as_me:$LINENO: result: yes" >&5
8149 echo "${ECHO_T}yes" >&6
8151 echo "$as_me:$LINENO: result: no" >&5
8152 echo "${ECHO_T}no" >&6
8157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8158 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8160 # Check whether --enable-statbmp or --disable-statbmp was given.
8161 if test "${enable_statbmp+set}" = set; then
8162 enableval
="$enable_statbmp"
8164 if test "$enableval" = yes; then
8165 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8167 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8172 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8173 if test "x$LINE" != x
; then
8174 eval "DEFAULT_$LINE"
8179 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8183 eval "$ac_cv_use_statbmp"
8184 if test "$no_cache" != 1; then
8185 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8188 if test "$wxUSE_STATBMP" = yes; then
8189 echo "$as_me:$LINENO: result: yes" >&5
8190 echo "${ECHO_T}yes" >&6
8192 echo "$as_me:$LINENO: result: no" >&5
8193 echo "${ECHO_T}no" >&6
8198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8199 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8201 # Check whether --enable-statbox or --disable-statbox was given.
8202 if test "${enable_statbox+set}" = set; then
8203 enableval
="$enable_statbox"
8205 if test "$enableval" = yes; then
8206 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8208 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8213 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8214 if test "x$LINE" != x
; then
8215 eval "DEFAULT_$LINE"
8220 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8224 eval "$ac_cv_use_statbox"
8225 if test "$no_cache" != 1; then
8226 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8229 if test "$wxUSE_STATBOX" = yes; then
8230 echo "$as_me:$LINENO: result: yes" >&5
8231 echo "${ECHO_T}yes" >&6
8233 echo "$as_me:$LINENO: result: no" >&5
8234 echo "${ECHO_T}no" >&6
8239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8242 # Check whether --enable-statline or --disable-statline was given.
8243 if test "${enable_statline+set}" = set; then
8244 enableval
="$enable_statline"
8246 if test "$enableval" = yes; then
8247 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8249 ac_cv_use_statline
='wxUSE_STATLINE=no'
8254 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8255 if test "x$LINE" != x
; then
8256 eval "DEFAULT_$LINE"
8261 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8265 eval "$ac_cv_use_statline"
8266 if test "$no_cache" != 1; then
8267 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8270 if test "$wxUSE_STATLINE" = yes; then
8271 echo "$as_me:$LINENO: result: yes" >&5
8272 echo "${ECHO_T}yes" >&6
8274 echo "$as_me:$LINENO: result: no" >&5
8275 echo "${ECHO_T}no" >&6
8280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8281 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8283 # Check whether --enable-stattext or --disable-stattext was given.
8284 if test "${enable_stattext+set}" = set; then
8285 enableval
="$enable_stattext"
8287 if test "$enableval" = yes; then
8288 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8290 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8295 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8296 if test "x$LINE" != x
; then
8297 eval "DEFAULT_$LINE"
8302 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8306 eval "$ac_cv_use_stattext"
8307 if test "$no_cache" != 1; then
8308 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8311 if test "$wxUSE_STATTEXT" = yes; then
8312 echo "$as_me:$LINENO: result: yes" >&5
8313 echo "${ECHO_T}yes" >&6
8315 echo "$as_me:$LINENO: result: no" >&5
8316 echo "${ECHO_T}no" >&6
8321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8322 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8324 # Check whether --enable-statusbar or --disable-statusbar was given.
8325 if test "${enable_statusbar+set}" = set; then
8326 enableval
="$enable_statusbar"
8328 if test "$enableval" = yes; then
8329 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8331 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8336 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8337 if test "x$LINE" != x
; then
8338 eval "DEFAULT_$LINE"
8343 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8347 eval "$ac_cv_use_statusbar"
8348 if test "$no_cache" != 1; then
8349 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8352 if test "$wxUSE_STATUSBAR" = yes; then
8353 echo "$as_me:$LINENO: result: yes" >&5
8354 echo "${ECHO_T}yes" >&6
8356 echo "$as_me:$LINENO: result: no" >&5
8357 echo "${ECHO_T}no" >&6
8362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8365 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8366 if test "${enable_tabdialog+set}" = set; then
8367 enableval
="$enable_tabdialog"
8369 if test "$enableval" = yes; then
8370 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8372 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8377 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x
; then
8379 eval "DEFAULT_$LINE"
8384 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8388 eval "$ac_cv_use_tabdialog"
8389 if test "$no_cache" != 1; then
8390 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8393 if test "$wxUSE_TABDIALOG" = yes; then
8394 echo "$as_me:$LINENO: result: yes" >&5
8395 echo "${ECHO_T}yes" >&6
8397 echo "$as_me:$LINENO: result: no" >&5
8398 echo "${ECHO_T}no" >&6
8403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8406 # Check whether --enable-textctrl or --disable-textctrl was given.
8407 if test "${enable_textctrl+set}" = set; then
8408 enableval
="$enable_textctrl"
8410 if test "$enableval" = yes; then
8411 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8413 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8418 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8419 if test "x$LINE" != x
; then
8420 eval "DEFAULT_$LINE"
8425 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8429 eval "$ac_cv_use_textctrl"
8430 if test "$no_cache" != 1; then
8431 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8434 if test "$wxUSE_TEXTCTRL" = yes; then
8435 echo "$as_me:$LINENO: result: yes" >&5
8436 echo "${ECHO_T}yes" >&6
8438 echo "$as_me:$LINENO: result: no" >&5
8439 echo "${ECHO_T}no" >&6
8444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8445 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8447 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8448 if test "${enable_togglebtn+set}" = set; then
8449 enableval
="$enable_togglebtn"
8451 if test "$enableval" = yes; then
8452 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8454 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8459 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8460 if test "x$LINE" != x
; then
8461 eval "DEFAULT_$LINE"
8466 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8470 eval "$ac_cv_use_togglebtn"
8471 if test "$no_cache" != 1; then
8472 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8475 if test "$wxUSE_TOGGLEBTN" = yes; then
8476 echo "$as_me:$LINENO: result: yes" >&5
8477 echo "${ECHO_T}yes" >&6
8479 echo "$as_me:$LINENO: result: no" >&5
8480 echo "${ECHO_T}no" >&6
8485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8486 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8488 # Check whether --enable-toolbar or --disable-toolbar was given.
8489 if test "${enable_toolbar+set}" = set; then
8490 enableval
="$enable_toolbar"
8492 if test "$enableval" = yes; then
8493 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8495 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8500 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x
; then
8502 eval "DEFAULT_$LINE"
8507 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8511 eval "$ac_cv_use_toolbar"
8512 if test "$no_cache" != 1; then
8513 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8516 if test "$wxUSE_TOOLBAR" = yes; then
8517 echo "$as_me:$LINENO: result: yes" >&5
8518 echo "${ECHO_T}yes" >&6
8520 echo "$as_me:$LINENO: result: no" >&5
8521 echo "${ECHO_T}no" >&6
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8529 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8530 if test "${enable_tbarnative+set}" = set; then
8531 enableval
="$enable_tbarnative"
8533 if test "$enableval" = yes; then
8534 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8536 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8541 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8542 if test "x$LINE" != x
; then
8543 eval "DEFAULT_$LINE"
8548 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8552 eval "$ac_cv_use_tbarnative"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8557 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559 echo "${ECHO_T}yes" >&6
8561 echo "$as_me:$LINENO: result: no" >&5
8562 echo "${ECHO_T}no" >&6
8567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8568 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8570 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8571 if test "${enable_tbarsmpl+set}" = set; then
8572 enableval
="$enable_tbarsmpl"
8574 if test "$enableval" = yes; then
8575 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8577 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8582 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8583 if test "x$LINE" != x
; then
8584 eval "DEFAULT_$LINE"
8589 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8593 eval "$ac_cv_use_tbarsmpl"
8594 if test "$no_cache" != 1; then
8595 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8598 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8599 echo "$as_me:$LINENO: result: yes" >&5
8600 echo "${ECHO_T}yes" >&6
8602 echo "$as_me:$LINENO: result: no" >&5
8603 echo "${ECHO_T}no" >&6
8608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8611 # Check whether --enable-treectrl or --disable-treectrl was given.
8612 if test "${enable_treectrl+set}" = set; then
8613 enableval
="$enable_treectrl"
8615 if test "$enableval" = yes; then
8616 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8618 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8623 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x
; then
8625 eval "DEFAULT_$LINE"
8630 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8634 eval "$ac_cv_use_treectrl"
8635 if test "$no_cache" != 1; then
8636 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8639 if test "$wxUSE_TREECTRL" = yes; then
8640 echo "$as_me:$LINENO: result: yes" >&5
8641 echo "${ECHO_T}yes" >&6
8643 echo "$as_me:$LINENO: result: no" >&5
8644 echo "${ECHO_T}no" >&6
8649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8650 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8652 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8653 if test "${enable_tipwindow+set}" = set; then
8654 enableval
="$enable_tipwindow"
8656 if test "$enableval" = yes; then
8657 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8659 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8664 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8665 if test "x$LINE" != x
; then
8666 eval "DEFAULT_$LINE"
8671 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8675 eval "$ac_cv_use_tipwindow"
8676 if test "$no_cache" != 1; then
8677 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8680 if test "$wxUSE_TIPWINDOW" = yes; then
8681 echo "$as_me:$LINENO: result: yes" >&5
8682 echo "${ECHO_T}yes" >&6
8684 echo "$as_me:$LINENO: result: no" >&5
8685 echo "${ECHO_T}no" >&6
8690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8691 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8693 # Check whether --enable-popupwin or --disable-popupwin was given.
8694 if test "${enable_popupwin+set}" = set; then
8695 enableval
="$enable_popupwin"
8697 if test "$enableval" = yes; then
8698 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8700 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8705 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x
; then
8707 eval "DEFAULT_$LINE"
8712 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8716 eval "$ac_cv_use_popupwin"
8717 if test "$no_cache" != 1; then
8718 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8721 if test "$wxUSE_POPUPWIN" = yes; then
8722 echo "$as_me:$LINENO: result: yes" >&5
8723 echo "${ECHO_T}yes" >&6
8725 echo "$as_me:$LINENO: result: no" >&5
8726 echo "${ECHO_T}no" >&6
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8736 # Check whether --enable-commondlg or --disable-commondlg was given.
8737 if test "${enable_commondlg+set}" = set; then
8738 enableval
="$enable_commondlg"
8740 if test "$enableval" = yes; then
8741 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8743 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8748 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x
; then
8750 eval "DEFAULT_$LINE"
8755 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8759 eval "$ac_cv_use_commondlg"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8764 if test "$wxUSE_COMMONDLGS" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8777 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8778 if test "${enable_choicedlg+set}" = set; then
8779 enableval
="$enable_choicedlg"
8781 if test "$enableval" = yes; then
8782 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8784 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8789 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x
; then
8791 eval "DEFAULT_$LINE"
8796 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8800 eval "$ac_cv_use_choicedlg"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8805 if test "$wxUSE_CHOICEDLG" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8818 # Check whether --enable-coldlg or --disable-coldlg was given.
8819 if test "${enable_coldlg+set}" = set; then
8820 enableval
="$enable_coldlg"
8822 if test "$enableval" = yes; then
8823 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8825 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8830 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x
; then
8832 eval "DEFAULT_$LINE"
8837 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8841 eval "$ac_cv_use_coldlg"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8846 if test "$wxUSE_COLOURDLG" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6
8850 echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8859 # Check whether --enable-filedlg or --disable-filedlg was given.
8860 if test "${enable_filedlg+set}" = set; then
8861 enableval
="$enable_filedlg"
8863 if test "$enableval" = yes; then
8864 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8866 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8871 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x
; then
8873 eval "DEFAULT_$LINE"
8878 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8882 eval "$ac_cv_use_filedlg"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8887 if test "$wxUSE_FILEDLG" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8900 # Check whether --enable-finddlg or --disable-finddlg was given.
8901 if test "${enable_finddlg+set}" = set; then
8902 enableval
="$enable_finddlg"
8904 if test "$enableval" = yes; then
8905 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8907 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8912 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x
; then
8914 eval "DEFAULT_$LINE"
8919 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8923 eval "$ac_cv_use_finddlg"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8928 if test "$wxUSE_FINDREPLDLG" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6
8932 echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8941 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8942 if test "${enable_fontdlg+set}" = set; then
8943 enableval
="$enable_fontdlg"
8945 if test "$enableval" = yes; then
8946 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8948 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8953 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x
; then
8955 eval "DEFAULT_$LINE"
8960 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8964 eval "$ac_cv_use_fontdlg"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8969 if test "$wxUSE_FONTDLG" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6
8973 echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8982 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8983 if test "${enable_dirdlg+set}" = set; then
8984 enableval
="$enable_dirdlg"
8986 if test "$enableval" = yes; then
8987 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8989 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8994 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x
; then
8996 eval "DEFAULT_$LINE"
9001 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9005 eval "$ac_cv_use_dirdlg"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9010 if test "$wxUSE_DIRDLG" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9014 echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6
9020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9021 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9023 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9024 if test "${enable_msgdlg+set}" = set; then
9025 enableval
="$enable_msgdlg"
9027 if test "$enableval" = yes; then
9028 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9030 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9035 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9036 if test "x$LINE" != x
; then
9037 eval "DEFAULT_$LINE"
9042 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9046 eval "$ac_cv_use_msgdlg"
9047 if test "$no_cache" != 1; then
9048 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9051 if test "$wxUSE_MSGDLG" = yes; then
9052 echo "$as_me:$LINENO: result: yes" >&5
9053 echo "${ECHO_T}yes" >&6
9055 echo "$as_me:$LINENO: result: no" >&5
9056 echo "${ECHO_T}no" >&6
9061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9062 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9064 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9065 if test "${enable_numberdlg+set}" = set; then
9066 enableval
="$enable_numberdlg"
9068 if test "$enableval" = yes; then
9069 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9071 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9076 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9077 if test "x$LINE" != x
; then
9078 eval "DEFAULT_$LINE"
9083 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9087 eval "$ac_cv_use_numberdlg"
9088 if test "$no_cache" != 1; then
9089 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9092 if test "$wxUSE_NUMBERDLG" = yes; then
9093 echo "$as_me:$LINENO: result: yes" >&5
9094 echo "${ECHO_T}yes" >&6
9096 echo "$as_me:$LINENO: result: no" >&5
9097 echo "${ECHO_T}no" >&6
9102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9105 # Check whether --enable-splash or --disable-splash was given.
9106 if test "${enable_splash+set}" = set; then
9107 enableval
="$enable_splash"
9109 if test "$enableval" = yes; then
9110 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9112 ac_cv_use_splash
='wxUSE_SPLASH=no'
9117 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x
; then
9119 eval "DEFAULT_$LINE"
9124 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9128 eval "$ac_cv_use_splash"
9129 if test "$no_cache" != 1; then
9130 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9133 if test "$wxUSE_SPLASH" = yes; then
9134 echo "$as_me:$LINENO: result: yes" >&5
9135 echo "${ECHO_T}yes" >&6
9137 echo "$as_me:$LINENO: result: no" >&5
9138 echo "${ECHO_T}no" >&6
9143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9146 # Check whether --enable-textdlg or --disable-textdlg was given.
9147 if test "${enable_textdlg+set}" = set; then
9148 enableval
="$enable_textdlg"
9150 if test "$enableval" = yes; then
9151 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9153 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9158 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9159 if test "x$LINE" != x
; then
9160 eval "DEFAULT_$LINE"
9165 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9169 eval "$ac_cv_use_textdlg"
9170 if test "$no_cache" != 1; then
9171 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9174 if test "$wxUSE_TEXTDLG" = yes; then
9175 echo "$as_me:$LINENO: result: yes" >&5
9176 echo "${ECHO_T}yes" >&6
9178 echo "$as_me:$LINENO: result: no" >&5
9179 echo "${ECHO_T}no" >&6
9184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9185 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9187 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9188 if test "${enable_tipdlg+set}" = set; then
9189 enableval
="$enable_tipdlg"
9191 if test "$enableval" = yes; then
9192 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9194 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9199 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9200 if test "x$LINE" != x
; then
9201 eval "DEFAULT_$LINE"
9206 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9210 eval "$ac_cv_use_tipdlg"
9211 if test "$no_cache" != 1; then
9212 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9215 if test "$wxUSE_STARTUP_TIPS" = yes; then
9216 echo "$as_me:$LINENO: result: yes" >&5
9217 echo "${ECHO_T}yes" >&6
9219 echo "$as_me:$LINENO: result: no" >&5
9220 echo "${ECHO_T}no" >&6
9225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9226 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9228 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9229 if test "${enable_progressdlg+set}" = set; then
9230 enableval
="$enable_progressdlg"
9232 if test "$enableval" = yes; then
9233 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9235 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9240 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9241 if test "x$LINE" != x
; then
9242 eval "DEFAULT_$LINE"
9247 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9251 eval "$ac_cv_use_progressdlg"
9252 if test "$no_cache" != 1; then
9253 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9256 if test "$wxUSE_PROGRESSDLG" = yes; then
9257 echo "$as_me:$LINENO: result: yes" >&5
9258 echo "${ECHO_T}yes" >&6
9260 echo "$as_me:$LINENO: result: no" >&5
9261 echo "${ECHO_T}no" >&6
9266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9267 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9269 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9270 if test "${enable_wizarddlg+set}" = set; then
9271 enableval
="$enable_wizarddlg"
9273 if test "$enableval" = yes; then
9274 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9276 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9281 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9282 if test "x$LINE" != x
; then
9283 eval "DEFAULT_$LINE"
9288 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9292 eval "$ac_cv_use_wizarddlg"
9293 if test "$no_cache" != 1; then
9294 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9297 if test "$wxUSE_WIZARDDLG" = yes; then
9298 echo "$as_me:$LINENO: result: yes" >&5
9299 echo "${ECHO_T}yes" >&6
9301 echo "$as_me:$LINENO: result: no" >&5
9302 echo "${ECHO_T}no" >&6
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9312 # Check whether --enable-menus or --disable-menus was given.
9313 if test "${enable_menus+set}" = set; then
9314 enableval
="$enable_menus"
9316 if test "$enableval" = yes; then
9317 ac_cv_use_menus
='wxUSE_MENUS=yes'
9319 ac_cv_use_menus
='wxUSE_MENUS=no'
9324 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x
; then
9326 eval "DEFAULT_$LINE"
9331 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9335 eval "$ac_cv_use_menus"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9340 if test "$wxUSE_MENUS" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9353 # Check whether --enable-miniframe or --disable-miniframe was given.
9354 if test "${enable_miniframe+set}" = set; then
9355 enableval
="$enable_miniframe"
9357 if test "$enableval" = yes; then
9358 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9360 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9365 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x
; then
9367 eval "DEFAULT_$LINE"
9372 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9376 eval "$ac_cv_use_miniframe"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9381 if test "$wxUSE_MINIFRAME" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9394 # Check whether --enable-tooltips or --disable-tooltips was given.
9395 if test "${enable_tooltips+set}" = set; then
9396 enableval
="$enable_tooltips"
9398 if test "$enableval" = yes; then
9399 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9401 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9406 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x
; then
9408 eval "DEFAULT_$LINE"
9413 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9417 eval "$ac_cv_use_tooltips"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9422 if test "$wxUSE_TOOLTIPS" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9435 # Check whether --enable-splines or --disable-splines was given.
9436 if test "${enable_splines+set}" = set; then
9437 enableval
="$enable_splines"
9439 if test "$enableval" = yes; then
9440 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9442 ac_cv_use_splines
='wxUSE_SPLINES=no'
9447 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x
; then
9449 eval "DEFAULT_$LINE"
9454 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9458 eval "$ac_cv_use_splines"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9463 if test "$wxUSE_SPLINES" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9476 # Check whether --enable-validators or --disable-validators was given.
9477 if test "${enable_validators+set}" = set; then
9478 enableval
="$enable_validators"
9480 if test "$enableval" = yes; then
9481 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9483 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9488 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x
; then
9490 eval "DEFAULT_$LINE"
9495 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9499 eval "$ac_cv_use_validators"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9504 if test "$wxUSE_VALIDATORS" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9517 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9518 if test "${enable_busyinfo+set}" = set; then
9519 enableval
="$enable_busyinfo"
9521 if test "$enableval" = yes; then
9522 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9524 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9529 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x
; then
9531 eval "DEFAULT_$LINE"
9536 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9540 eval "$ac_cv_use_busyinfo"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9545 if test "$wxUSE_BUSYINFO" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9558 # Check whether --enable-joystick or --disable-joystick was given.
9559 if test "${enable_joystick+set}" = set; then
9560 enableval
="$enable_joystick"
9562 if test "$enableval" = yes; then
9563 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9565 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9570 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x
; then
9572 eval "DEFAULT_$LINE"
9577 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9581 eval "$ac_cv_use_joystick"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9586 if test "$wxUSE_JOYSTICK" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9597 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9599 # Check whether --enable-metafile or --disable-metafile was given.
9600 if test "${enable_metafile+set}" = set; then
9601 enableval
="$enable_metafile"
9603 if test "$enableval" = yes; then
9604 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9606 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9611 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9612 if test "x$LINE" != x
; then
9613 eval "DEFAULT_$LINE"
9618 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9622 eval "$ac_cv_use_metafile"
9623 if test "$no_cache" != 1; then
9624 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9627 if test "$wxUSE_METAFILE" = yes; then
9628 echo "$as_me:$LINENO: result: yes" >&5
9629 echo "${ECHO_T}yes" >&6
9631 echo "$as_me:$LINENO: result: no" >&5
9632 echo "${ECHO_T}no" >&6
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9640 # Check whether --enable-dragimage or --disable-dragimage was given.
9641 if test "${enable_dragimage+set}" = set; then
9642 enableval
="$enable_dragimage"
9644 if test "$enableval" = yes; then
9645 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9647 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9652 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x
; then
9654 eval "DEFAULT_$LINE"
9659 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9663 eval "$ac_cv_use_dragimage"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9668 if test "$wxUSE_DRAGIMAGE" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9681 # Check whether --enable-accessibility or --disable-accessibility was given.
9682 if test "${enable_accessibility+set}" = set; then
9683 enableval
="$enable_accessibility"
9685 if test "$enableval" = yes; then
9686 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9688 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9693 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9694 if test "x$LINE" != x
; then
9695 eval "DEFAULT_$LINE"
9700 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9704 eval "$ac_cv_use_accessibility"
9705 if test "$no_cache" != 1; then
9706 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9709 if test "$wxUSE_ACCESSIBILITY" = yes; then
9710 echo "$as_me:$LINENO: result: yes" >&5
9711 echo "${ECHO_T}yes" >&6
9713 echo "$as_me:$LINENO: result: no" >&5
9714 echo "${ECHO_T}no" >&6
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9724 # Check whether --enable-palette or --disable-palette was given.
9725 if test "${enable_palette+set}" = set; then
9726 enableval
="$enable_palette"
9728 if test "$enableval" = yes; then
9729 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9731 ac_cv_use_palette
='wxUSE_PALETTE=no'
9736 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x
; then
9738 eval "DEFAULT_$LINE"
9743 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9747 eval "$ac_cv_use_palette"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9752 if test "$wxUSE_PALETTE" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9765 # Check whether --enable-image or --disable-image was given.
9766 if test "${enable_image+set}" = set; then
9767 enableval
="$enable_image"
9769 if test "$enableval" = yes; then
9770 ac_cv_use_image
='wxUSE_IMAGE=yes'
9772 ac_cv_use_image
='wxUSE_IMAGE=no'
9777 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x
; then
9779 eval "DEFAULT_$LINE"
9784 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9788 eval "$ac_cv_use_image"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9793 if test "$wxUSE_IMAGE" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9806 # Check whether --enable-gif or --disable-gif was given.
9807 if test "${enable_gif+set}" = set; then
9808 enableval
="$enable_gif"
9810 if test "$enableval" = yes; then
9811 ac_cv_use_gif
='wxUSE_GIF=yes'
9813 ac_cv_use_gif
='wxUSE_GIF=no'
9818 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x
; then
9820 eval "DEFAULT_$LINE"
9825 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9829 eval "$ac_cv_use_gif"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9834 if test "$wxUSE_GIF" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9847 # Check whether --enable-pcx or --disable-pcx was given.
9848 if test "${enable_pcx+set}" = set; then
9849 enableval
="$enable_pcx"
9851 if test "$enableval" = yes; then
9852 ac_cv_use_pcx
='wxUSE_PCX=yes'
9854 ac_cv_use_pcx
='wxUSE_PCX=no'
9859 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x
; then
9861 eval "DEFAULT_$LINE"
9866 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9870 eval "$ac_cv_use_pcx"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9875 if test "$wxUSE_PCX" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9888 # Check whether --enable-iff or --disable-iff was given.
9889 if test "${enable_iff+set}" = set; then
9890 enableval
="$enable_iff"
9892 if test "$enableval" = yes; then
9893 ac_cv_use_iff
='wxUSE_IFF=yes'
9895 ac_cv_use_iff
='wxUSE_IFF=no'
9900 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x
; then
9902 eval "DEFAULT_$LINE"
9907 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9911 eval "$ac_cv_use_iff"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9916 if test "$wxUSE_IFF" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918 echo "${ECHO_T}yes" >&6
9920 echo "$as_me:$LINENO: result: no" >&5
9921 echo "${ECHO_T}no" >&6
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9929 # Check whether --enable-pnm or --disable-pnm was given.
9930 if test "${enable_pnm+set}" = set; then
9931 enableval
="$enable_pnm"
9933 if test "$enableval" = yes; then
9934 ac_cv_use_pnm
='wxUSE_PNM=yes'
9936 ac_cv_use_pnm
='wxUSE_PNM=no'
9941 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x
; then
9943 eval "DEFAULT_$LINE"
9948 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9952 eval "$ac_cv_use_pnm"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9957 if test "$wxUSE_PNM" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9970 # Check whether --enable-xpm or --disable-xpm was given.
9971 if test "${enable_xpm+set}" = set; then
9972 enableval
="$enable_xpm"
9974 if test "$enableval" = yes; then
9975 ac_cv_use_xpm
='wxUSE_XPM=yes'
9977 ac_cv_use_xpm
='wxUSE_XPM=no'
9982 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x
; then
9984 eval "DEFAULT_$LINE"
9989 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9993 eval "$ac_cv_use_xpm"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9998 if test "$wxUSE_XPM" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000 echo "${ECHO_T}yes" >&6
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10011 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10012 if test "${enable_ico_cur+set}" = set; then
10013 enableval
="$enable_ico_cur"
10015 if test "$enableval" = yes; then
10016 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10018 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10023 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x
; then
10025 eval "DEFAULT_$LINE"
10030 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10034 eval "$ac_cv_use_ico_cur"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10039 if test "$wxUSE_ICO_CUR" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041 echo "${ECHO_T}yes" >&6
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10052 # Check whether --with-flavour or --without-flavour was given.
10053 if test "${with_flavour+set}" = set; then
10054 withval
="$with_flavour"
10055 WX_FLAVOUR
="$withval"
10061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10062 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10064 # Check whether --enable-official_build or --disable-official_build was given.
10065 if test "${enable_official_build+set}" = set; then
10066 enableval
="$enable_official_build"
10068 if test "$enableval" = yes; then
10069 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10071 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10076 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10077 if test "x$LINE" != x
; then
10078 eval "DEFAULT_$LINE"
10083 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10087 eval "$ac_cv_use_official_build"
10088 if test "$no_cache" != 1; then
10089 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10092 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10093 echo "$as_me:$LINENO: result: yes" >&5
10094 echo "${ECHO_T}yes" >&6
10096 echo "$as_me:$LINENO: result: no" >&5
10097 echo "${ECHO_T}no" >&6
10100 # Check whether --enable-vendor or --disable-vendor was given.
10101 if test "${enable_vendor+set}" = set; then
10102 enableval
="$enable_vendor"
10103 VENDOR
="$enableval"
10105 if test "x$VENDOR" = "x"; then
10112 echo "saving argument cache $wx_arg_cache_file"
10113 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10117 echo "$as_me:$LINENO: checking for toolkit" >&5
10118 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10120 # In Wine, we need to default to MSW, not GTK or MOTIF
10121 if test "$wxUSE_WINE" = "yes"; then
10122 DEFAULT_DEFAULT_wxUSE_GTK
=0
10123 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10124 DEFAULT_DEFAULT_wxUSE_MSW
=1
10128 if test "$wxUSE_GUI" = "yes"; then
10130 if test "$USE_BEOS" = 1; then
10131 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10132 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10133 { (exit 1); exit 1; }; }
10136 if test "$TOOLKIT_GIVEN" = 1; then
10137 for toolkit
in `echo $ALL_TOOLKITS`; do
10139 eval "value=\$${var}"
10140 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10143 for toolkit
in `echo $ALL_TOOLKITS`; do
10144 if test "$has_toolkit_in_cache" != 1; then
10145 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10147 var
=DEFAULT_wxUSE_
$toolkit
10149 eval "wxUSE_$toolkit=\$${var}"
10153 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10154 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10155 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10158 *-pc-os2_emx | *-pc-os2-emx )
10159 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10162 case "$NUM_TOOLKITS" in
10166 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10167 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10168 { (exit 1); exit 1; }; }
10171 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10172 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10173 { (exit 1); exit 1; }; }
10176 for toolkit
in `echo $ALL_TOOLKITS`; do
10178 eval "value=\$${var}"
10179 if test "x$value" != x
; then
10180 cache_var
=CACHE_
$toolkit
10181 eval "cache=\$${cache_var}"
10182 if test "$cache" = 1; then
10183 echo "$var=$value" >> ${wx_arg_cache_file}
10185 if test "$value" = 1; then
10186 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10187 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10188 echo "${ECHO_T}$toolkit_echo" >&6
10193 if test "x$host_alias" != "x"; then
10194 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10195 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10197 echo "$as_me:$LINENO: result: base only" >&5
10198 echo "${ECHO_T}base only" >&6
10203 doesnt_want_win32
=0
10206 if test "$wxUSE_MSW" = 1 ; then
10209 doesnt_want_win32
=1
10217 if test "$wxUSE_WINE" = "yes"; then
10222 LDFLAGS_GUI
="-mwindows"
10225 if test "$wants_win32" = 1 ; then
10228 cat >>confdefs.h
<<\_ACEOF
10229 #define __WIN32__ 1
10232 cat >>confdefs.h
<<\_ACEOF
10233 #define __WIN95__ 1
10236 cat >>confdefs.h
<<\_ACEOF
10237 #define __WINDOWS__ 1
10240 cat >>confdefs.h
<<\_ACEOF
10241 #define __GNUWIN32__ 1
10244 cat >>confdefs.h
<<\_ACEOF
10248 cat >>confdefs.h
<<\_ACEOF
10249 #define WINVER 0x0400
10253 if test "$doesnt_want_win32" = 1 ; then
10258 if test "$USE_UNIX" = 1 ; then
10260 cat >>confdefs.h
<<\_ACEOF
10267 cat >confcache
<<\_ACEOF
10268 # This file is a shell script that caches the results of configure
10269 # tests run on this system so they can be shared between configure
10270 # scripts and configure runs, see configure's option --config-cache.
10271 # It is not useful on other systems. If it contains results you don't
10272 # want to keep, you may remove or edit it.
10274 # config.status only pays attention to the cache file if you give it
10275 # the --recheck option to rerun configure.
10277 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10278 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10279 # following values.
10283 # The following way of writing the cache mishandles newlines in values,
10284 # but we know of no workaround that is simple, portable, and efficient.
10285 # So, don't put newlines in cache variables' values.
10286 # Ultrix sh set writes to stderr and can't be redirected directly,
10287 # and sets the high bit in the cache file unless we assign to the vars.
10290 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10292 # `set' does not quote correctly, so add quotes (double-quote
10293 # substitution turns \\\\ into \\, and sed turns \\ into \).
10296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10299 # `set' quotes correctly as required by POSIX, so do not add quotes.
10301 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10308 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10310 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10312 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10313 if test -w $cache_file; then
10314 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10315 cat confcache
>$cache_file
10317 echo "not updating unwritable cache $cache_file"
10322 if test "$build" != "$host" ; then
10323 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10325 CXX
=$host_alias-c++
10327 RANLIB
=$host_alias-ranlib
10328 DLLTOOL
=$host_alias-dlltool
10329 RESCOMP
=$host_alias-windres
10330 STRIP
=$host_alias-strip
10332 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10333 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10334 { (exit 1); exit 1; }; }
10340 ac_cpp
='$CPP $CPPFLAGS'
10341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10344 if test -n "$ac_tool_prefix"; then
10345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10346 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10347 echo "$as_me:$LINENO: checking for $ac_word" >&5
10348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10349 if test "${ac_cv_prog_CC+set}" = set; then
10350 echo $ECHO_N "(cached) $ECHO_C" >&6
10352 if test -n "$CC"; then
10353 ac_cv_prog_CC
="$CC" # Let the user override the test.
10355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10356 for as_dir
in $PATH
10359 test -z "$as_dir" && as_dir
=.
10360 for ac_exec_ext
in '' $ac_executable_extensions; do
10361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10362 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10372 if test -n "$CC"; then
10373 echo "$as_me:$LINENO: result: $CC" >&5
10374 echo "${ECHO_T}$CC" >&6
10376 echo "$as_me:$LINENO: result: no" >&5
10377 echo "${ECHO_T}no" >&6
10381 if test -z "$ac_cv_prog_CC"; then
10383 # Extract the first word of "gcc", so it can be a program name with args.
10384 set dummy gcc
; ac_word
=$2
10385 echo "$as_me:$LINENO: checking for $ac_word" >&5
10386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10387 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10390 if test -n "$ac_ct_CC"; then
10391 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10394 for as_dir
in $PATH
10397 test -z "$as_dir" && as_dir
=.
10398 for ac_exec_ext
in '' $ac_executable_extensions; do
10399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10400 ac_cv_prog_ac_ct_CC
="gcc"
10401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10409 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10410 if test -n "$ac_ct_CC"; then
10411 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10412 echo "${ECHO_T}$ac_ct_CC" >&6
10414 echo "$as_me:$LINENO: result: no" >&5
10415 echo "${ECHO_T}no" >&6
10420 CC
="$ac_cv_prog_CC"
10423 if test -z "$CC"; then
10424 if test -n "$ac_tool_prefix"; then
10425 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10426 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10427 echo "$as_me:$LINENO: checking for $ac_word" >&5
10428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10429 if test "${ac_cv_prog_CC+set}" = set; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6
10432 if test -n "$CC"; then
10433 ac_cv_prog_CC
="$CC" # Let the user override the test.
10435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10436 for as_dir
in $PATH
10439 test -z "$as_dir" && as_dir
=.
10440 for ac_exec_ext
in '' $ac_executable_extensions; do
10441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10442 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10452 if test -n "$CC"; then
10453 echo "$as_me:$LINENO: result: $CC" >&5
10454 echo "${ECHO_T}$CC" >&6
10456 echo "$as_me:$LINENO: result: no" >&5
10457 echo "${ECHO_T}no" >&6
10461 if test -z "$ac_cv_prog_CC"; then
10463 # Extract the first word of "cc", so it can be a program name with args.
10464 set dummy cc
; ac_word
=$2
10465 echo "$as_me:$LINENO: checking for $ac_word" >&5
10466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10467 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10468 echo $ECHO_N "(cached) $ECHO_C" >&6
10470 if test -n "$ac_ct_CC"; then
10471 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10474 for as_dir
in $PATH
10477 test -z "$as_dir" && as_dir
=.
10478 for ac_exec_ext
in '' $ac_executable_extensions; do
10479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10480 ac_cv_prog_ac_ct_CC
="cc"
10481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10489 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10490 if test -n "$ac_ct_CC"; then
10491 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10492 echo "${ECHO_T}$ac_ct_CC" >&6
10494 echo "$as_me:$LINENO: result: no" >&5
10495 echo "${ECHO_T}no" >&6
10500 CC
="$ac_cv_prog_CC"
10504 if test -z "$CC"; then
10505 # Extract the first word of "cc", so it can be a program name with args.
10506 set dummy cc
; ac_word
=$2
10507 echo "$as_me:$LINENO: checking for $ac_word" >&5
10508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10509 if test "${ac_cv_prog_CC+set}" = set; then
10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10512 if test -n "$CC"; then
10513 ac_cv_prog_CC
="$CC" # Let the user override the test.
10515 ac_prog_rejected
=no
10516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10517 for as_dir
in $PATH
10520 test -z "$as_dir" && as_dir
=.
10521 for ac_exec_ext
in '' $ac_executable_extensions; do
10522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10523 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10524 ac_prog_rejected
=yes
10528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10534 if test $ac_prog_rejected = yes; then
10535 # We found a bogon in the path, so make sure we never use it.
10536 set dummy
$ac_cv_prog_CC
10538 if test $# != 0; then
10539 # We chose a different compiler from the bogus one.
10540 # However, it has the same basename, so the bogon will be chosen
10541 # first if we set CC to just the basename; use the full file name.
10543 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10549 if test -n "$CC"; then
10550 echo "$as_me:$LINENO: result: $CC" >&5
10551 echo "${ECHO_T}$CC" >&6
10553 echo "$as_me:$LINENO: result: no" >&5
10554 echo "${ECHO_T}no" >&6
10558 if test -z "$CC"; then
10559 if test -n "$ac_tool_prefix"; then
10562 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10563 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10564 echo "$as_me:$LINENO: checking for $ac_word" >&5
10565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10566 if test "${ac_cv_prog_CC+set}" = set; then
10567 echo $ECHO_N "(cached) $ECHO_C" >&6
10569 if test -n "$CC"; then
10570 ac_cv_prog_CC
="$CC" # Let the user override the test.
10572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10573 for as_dir
in $PATH
10576 test -z "$as_dir" && as_dir
=.
10577 for ac_exec_ext
in '' $ac_executable_extensions; do
10578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10579 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10589 if test -n "$CC"; then
10590 echo "$as_me:$LINENO: result: $CC" >&5
10591 echo "${ECHO_T}$CC" >&6
10593 echo "$as_me:$LINENO: result: no" >&5
10594 echo "${ECHO_T}no" >&6
10597 test -n "$CC" && break
10600 if test -z "$CC"; then
10604 # Extract the first word of "$ac_prog", so it can be a program name with args.
10605 set dummy
$ac_prog; ac_word
=$2
10606 echo "$as_me:$LINENO: checking for $ac_word" >&5
10607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 if test -n "$ac_ct_CC"; then
10612 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10615 for as_dir
in $PATH
10618 test -z "$as_dir" && as_dir
=.
10619 for ac_exec_ext
in '' $ac_executable_extensions; do
10620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10621 ac_cv_prog_ac_ct_CC
="$ac_prog"
10622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10630 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10631 if test -n "$ac_ct_CC"; then
10632 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10633 echo "${ECHO_T}$ac_ct_CC" >&6
10635 echo "$as_me:$LINENO: result: no" >&5
10636 echo "${ECHO_T}no" >&6
10639 test -n "$ac_ct_CC" && break
10648 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10649 See \`config.log' for more details." >&5
10650 echo "$as_me: error: no acceptable C compiler found in \$PATH
10651 See \`config.log' for more details." >&2;}
10652 { (exit 1); exit 1; }; }
10654 # Provide some information about the compiler.
10655 echo "$as_me:$LINENO:" \
10656 "checking for C compiler version" >&5
10657 ac_compiler
=`set X $ac_compile; echo $2`
10658 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10659 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }
10663 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10664 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); }
10668 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10669 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672 (exit $ac_status); }
10674 cat >conftest.
$ac_ext <<_ACEOF
10677 cat confdefs.h
>>conftest.
$ac_ext
10678 cat >>conftest.
$ac_ext <<_ACEOF
10679 /* end confdefs.h. */
10689 ac_clean_files_save
=$ac_clean_files
10690 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10691 # Try to create an executable without -o first, disregard a.out.
10692 # It will help us diagnose broken compilers, and finding out an intuition
10694 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10695 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10696 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10697 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10698 (eval $ac_link_default) 2>&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; then
10702 # Find the output, starting from the most likely. This scheme is
10703 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10706 # Be careful to initialize this variable, since it used to be cached.
10707 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10709 # b.out is created by i960 compilers.
10710 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10712 test -f "$ac_file" || continue
10714 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10717 # This is the source file.
10720 # We found the default executable, but exeext='' is most
10724 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10725 # FIXME: I believe we export ac_cv_exeext for Libtool,
10726 # but it would be cool to find out if it's true. Does anybody
10727 # maintain Libtool? --akim.
10728 export ac_cv_exeext
10735 echo "$as_me: failed program was:" >&5
10736 sed 's/^/| /' conftest.
$ac_ext >&5
10738 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10739 See \`config.log' for more details." >&5
10740 echo "$as_me: error: C compiler cannot create executables
10741 See \`config.log' for more details." >&2;}
10742 { (exit 77); exit 77; }; }
10745 ac_exeext
=$ac_cv_exeext
10746 echo "$as_me:$LINENO: result: $ac_file" >&5
10747 echo "${ECHO_T}$ac_file" >&6
10749 # Check the compiler produces executables we can run. If not, either
10750 # the compiler is broken, or we cross compile.
10751 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10752 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10753 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10754 # If not cross compiling, check that we can run a simple program.
10755 if test "$cross_compiling" != yes; then
10756 if { ac_try
='./$ac_file'
10757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10758 (eval $ac_try) 2>&5
10760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761 (exit $ac_status); }; }; then
10764 if test "$cross_compiling" = maybe
; then
10765 cross_compiling
=yes
10767 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10768 If you meant to cross compile, use \`--host'.
10769 See \`config.log' for more details." >&5
10770 echo "$as_me: error: cannot run C compiled programs.
10771 If you meant to cross compile, use \`--host'.
10772 See \`config.log' for more details." >&2;}
10773 { (exit 1); exit 1; }; }
10777 echo "$as_me:$LINENO: result: yes" >&5
10778 echo "${ECHO_T}yes" >&6
10780 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10781 ac_clean_files
=$ac_clean_files_save
10782 # Check the compiler produces executables we can run. If not, either
10783 # the compiler is broken, or we cross compile.
10784 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10785 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10786 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10787 echo "${ECHO_T}$cross_compiling" >&6
10789 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10790 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10792 (eval $ac_link) 2>&5
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); }; then
10796 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10797 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10798 # work properly (i.e., refer to `conftest.exe'), while it won't with
10800 for ac_file
in conftest.exe conftest conftest.
*; do
10801 test -f "$ac_file" || continue
10803 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10804 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10805 export ac_cv_exeext
10811 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10812 See \`config.log' for more details." >&5
10813 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10814 See \`config.log' for more details." >&2;}
10815 { (exit 1); exit 1; }; }
10818 rm -f conftest
$ac_cv_exeext
10819 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10820 echo "${ECHO_T}$ac_cv_exeext" >&6
10822 rm -f conftest.
$ac_ext
10823 EXEEXT
=$ac_cv_exeext
10825 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10826 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10827 if test "${ac_cv_objext+set}" = set; then
10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10830 cat >conftest.
$ac_ext <<_ACEOF
10833 cat confdefs.h
>>conftest.
$ac_ext
10834 cat >>conftest.
$ac_ext <<_ACEOF
10835 /* end confdefs.h. */
10845 rm -f conftest.o conftest.obj
10846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10847 (eval $ac_compile) 2>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); }; then
10851 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10853 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10854 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.
$ac_ext >&5
10862 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10863 See \`config.log' for more details." >&5
10864 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10865 See \`config.log' for more details." >&2;}
10866 { (exit 1); exit 1; }; }
10869 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10871 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10872 echo "${ECHO_T}$ac_cv_objext" >&6
10873 OBJEXT
=$ac_cv_objext
10875 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10876 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10877 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 cat >conftest.
$ac_ext <<_ACEOF
10883 cat confdefs.h
>>conftest.
$ac_ext
10884 cat >>conftest.
$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10898 rm -f conftest.
$ac_objext
10899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10900 (eval $ac_compile) 2>conftest.er1
10902 grep -v '^ *+' conftest.er1
>conftest.err
10904 cat conftest.err
>&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); } &&
10907 { ac_try
='test -z "$ac_c_werror_flag"
10908 || test ! -s conftest.err'
10909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10910 (eval $ac_try) 2>&5
10912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10913 (exit $ac_status); }; } &&
10914 { ac_try
='test -s conftest.$ac_objext'
10915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10916 (eval $ac_try) 2>&5
10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 (exit $ac_status); }; }; then
10920 ac_compiler_gnu
=yes
10922 echo "$as_me: failed program was:" >&5
10923 sed 's/^/| /' conftest.
$ac_ext >&5
10927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10928 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10931 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10932 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10933 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10934 ac_test_CFLAGS
=${CFLAGS+set}
10935 ac_save_CFLAGS
=$CFLAGS
10937 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10938 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10939 if test "${ac_cv_prog_cc_g+set}" = set; then
10940 echo $ECHO_N "(cached) $ECHO_C" >&6
10942 cat >conftest.
$ac_ext <<_ACEOF
10945 cat confdefs.h
>>conftest.
$ac_ext
10946 cat >>conftest.
$ac_ext <<_ACEOF
10947 /* end confdefs.h. */
10957 rm -f conftest.
$ac_objext
10958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10959 (eval $ac_compile) 2>conftest.er1
10961 grep -v '^ *+' conftest.er1
>conftest.err
10963 cat conftest.err
>&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); } &&
10966 { ac_try
='test -z "$ac_c_werror_flag"
10967 || test ! -s conftest.err'
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); }; } &&
10973 { ac_try
='test -s conftest.$ac_objext'
10974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975 (eval $ac_try) 2>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); }; }; then
10979 ac_cv_prog_cc_g
=yes
10981 echo "$as_me: failed program was:" >&5
10982 sed 's/^/| /' conftest.
$ac_ext >&5
10986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10988 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10989 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10990 if test "$ac_test_CFLAGS" = set; then
10991 CFLAGS
=$ac_save_CFLAGS
10992 elif test $ac_cv_prog_cc_g = yes; then
10993 if test "$GCC" = yes; then
10999 if test "$GCC" = yes; then
11005 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11006 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11007 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11008 echo $ECHO_N "(cached) $ECHO_C" >&6
11010 ac_cv_prog_cc_stdc
=no
11012 cat >conftest.
$ac_ext <<_ACEOF
11015 cat confdefs.h
>>conftest.
$ac_ext
11016 cat >>conftest.
$ac_ext <<_ACEOF
11017 /* end confdefs.h. */
11018 #include <stdarg.h>
11020 #include <sys/types.h>
11021 #include <sys/stat.h>
11022 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11023 struct buf { int x; };
11024 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11025 static char *e (p, i)
11031 static char *f (char * (*g) (char **, int), char **p, ...)
11036 s = g (p, va_arg (v,int));
11041 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11042 function prototypes and stuff, but not '\xHH' hex character constants.
11043 These don't provoke an error unfortunately, instead are silently treated
11044 as 'x'. The following induces an error, until -std1 is added to get
11045 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11046 array size at least. It's necessary to write '\x00'==0 to get something
11047 that's true only with -std1. */
11048 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11050 int test (int i, double x);
11051 struct s1 {int (*f) (int a);};
11052 struct s2 {int (*f) (double a);};
11053 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11059 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11064 # Don't try gcc -ansi; that turns off useful extensions and
11065 # breaks some systems' header files.
11066 # AIX -qlanglvl=ansi
11067 # Ultrix and OSF/1 -std1
11068 # HP-UX 10.20 and later -Ae
11069 # HP-UX older versions -Aa -D_HPUX_SOURCE
11070 # SVR4 -Xc -D__EXTENSIONS__
11071 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11073 CC
="$ac_save_CC $ac_arg"
11074 rm -f conftest.
$ac_objext
11075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11076 (eval $ac_compile) 2>conftest.er1
11078 grep -v '^ *+' conftest.er1
>conftest.err
11080 cat conftest.err
>&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); } &&
11083 { ac_try
='test -z "$ac_c_werror_flag"
11084 || test ! -s conftest.err'
11085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11086 (eval $ac_try) 2>&5
11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 (exit $ac_status); }; } &&
11090 { ac_try
='test -s conftest.$ac_objext'
11091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11092 (eval $ac_try) 2>&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); }; }; then
11096 ac_cv_prog_cc_stdc
=$ac_arg
11099 echo "$as_me: failed program was:" >&5
11100 sed 's/^/| /' conftest.
$ac_ext >&5
11103 rm -f conftest.err conftest.
$ac_objext
11105 rm -f conftest.
$ac_ext conftest.
$ac_objext
11110 case "x$ac_cv_prog_cc_stdc" in
11112 echo "$as_me:$LINENO: result: none needed" >&5
11113 echo "${ECHO_T}none needed" >&6 ;;
11115 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11116 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11117 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11120 # Some people use a C++ compiler to compile C. Since we use `exit',
11121 # in C++ we need to declare it. In case someone uses the same compiler
11122 # for both compiling C and C++ we need to have the C++ compiler decide
11123 # the declaration of exit, since it's the most demanding environment.
11124 cat >conftest.
$ac_ext <<_ACEOF
11125 #ifndef __cplusplus
11129 rm -f conftest.
$ac_objext
11130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11131 (eval $ac_compile) 2>conftest.er1
11133 grep -v '^ *+' conftest.er1
>conftest.err
11135 cat conftest.err
>&5
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); } &&
11138 { ac_try
='test -z "$ac_c_werror_flag"
11139 || test ! -s conftest.err'
11140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11141 (eval $ac_try) 2>&5
11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144 (exit $ac_status); }; } &&
11145 { ac_try
='test -s conftest.$ac_objext'
11146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11147 (eval $ac_try) 2>&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }; }; then
11151 for ac_declaration
in \
11153 'extern "C" void std::exit (int) throw (); using std::exit;' \
11154 'extern "C" void std::exit (int); using std::exit;' \
11155 'extern "C" void exit (int) throw ();' \
11156 'extern "C" void exit (int);' \
11159 cat >conftest.
$ac_ext <<_ACEOF
11162 cat confdefs.h
>>conftest.
$ac_ext
11163 cat >>conftest.
$ac_ext <<_ACEOF
11164 /* end confdefs.h. */
11166 #include <stdlib.h>
11175 rm -f conftest.
$ac_objext
11176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11177 (eval $ac_compile) 2>conftest.er1
11179 grep -v '^ *+' conftest.er1
>conftest.err
11181 cat conftest.err
>&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); } &&
11184 { ac_try
='test -z "$ac_c_werror_flag"
11185 || test ! -s conftest.err'
11186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11187 (eval $ac_try) 2>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; } &&
11191 { ac_try
='test -s conftest.$ac_objext'
11192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11193 (eval $ac_try) 2>&5
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196 (exit $ac_status); }; }; then
11199 echo "$as_me: failed program was:" >&5
11200 sed 's/^/| /' conftest.
$ac_ext >&5
11204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11205 cat >conftest.
$ac_ext <<_ACEOF
11208 cat confdefs.h
>>conftest.
$ac_ext
11209 cat >>conftest.
$ac_ext <<_ACEOF
11210 /* end confdefs.h. */
11220 rm -f conftest.
$ac_objext
11221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11222 (eval $ac_compile) 2>conftest.er1
11224 grep -v '^ *+' conftest.er1
>conftest.err
11226 cat conftest.err
>&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); } &&
11229 { ac_try
='test -z "$ac_c_werror_flag"
11230 || test ! -s conftest.err'
11231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11232 (eval $ac_try) 2>&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); }; } &&
11236 { ac_try
='test -s conftest.$ac_objext'
11237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11238 (eval $ac_try) 2>&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); }; }; then
11244 echo "$as_me: failed program was:" >&5
11245 sed 's/^/| /' conftest.
$ac_ext >&5
11248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11251 if test -n "$ac_declaration"; then
11252 echo '#ifdef __cplusplus' >>confdefs.h
11253 echo $ac_declaration >>confdefs.h
11254 echo '#endif' >>confdefs.h
11258 echo "$as_me: failed program was:" >&5
11259 sed 's/^/| /' conftest.
$ac_ext >&5
11262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11264 ac_cpp
='$CPP $CPPFLAGS'
11265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11272 ac_cpp
='$CPP $CPPFLAGS'
11273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11276 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11277 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11278 # On Suns, sometimes $CPP names a directory.
11279 if test -n "$CPP" && test -d "$CPP"; then
11282 if test -z "$CPP"; then
11283 if test "${ac_cv_prog_CPP+set}" = set; then
11284 echo $ECHO_N "(cached) $ECHO_C" >&6
11286 # Double quotes because CPP needs to be expanded
11287 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11289 ac_preproc_ok
=false
11290 for ac_c_preproc_warn_flag
in '' yes
11292 # Use a header file that comes with gcc, so configuring glibc
11293 # with a fresh cross-compiler works.
11294 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11295 # <limits.h> exists even on freestanding compilers.
11296 # On the NeXT, cc -E runs the code through the compiler's parser,
11297 # not just through cpp. "Syntax error" is here to catch this case.
11298 cat >conftest.
$ac_ext <<_ACEOF
11301 cat confdefs.h
>>conftest.
$ac_ext
11302 cat >>conftest.
$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11305 # include <limits.h>
11307 # include <assert.h>
11311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11314 grep -v '^ *+' conftest.er1
>conftest.err
11316 cat conftest.err
>&5
11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); } >/dev
/null
; then
11319 if test -s conftest.err
; then
11320 ac_cpp_err
=$ac_c_preproc_warn_flag
11321 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11328 if test -z "$ac_cpp_err"; then
11331 echo "$as_me: failed program was:" >&5
11332 sed 's/^/| /' conftest.
$ac_ext >&5
11334 # Broken: fails on valid input.
11337 rm -f conftest.err conftest.
$ac_ext
11339 # OK, works on sane cases. Now check whether non-existent headers
11340 # can be detected and how.
11341 cat >conftest.
$ac_ext <<_ACEOF
11344 cat confdefs.h
>>conftest.
$ac_ext
11345 cat >>conftest.
$ac_ext <<_ACEOF
11346 /* end confdefs.h. */
11347 #include <ac_nonexistent.h>
11349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11350 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11352 grep -v '^ *+' conftest.er1
>conftest.err
11354 cat conftest.err
>&5
11355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11356 (exit $ac_status); } >/dev
/null
; then
11357 if test -s conftest.err
; then
11358 ac_cpp_err
=$ac_c_preproc_warn_flag
11359 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11366 if test -z "$ac_cpp_err"; then
11367 # Broken: success on invalid input.
11370 echo "$as_me: failed program was:" >&5
11371 sed 's/^/| /' conftest.
$ac_ext >&5
11373 # Passes both tests.
11377 rm -f conftest.err conftest.
$ac_ext
11380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11381 rm -f conftest.err conftest.
$ac_ext
11382 if $ac_preproc_ok; then
11387 ac_cv_prog_CPP
=$CPP
11390 CPP
=$ac_cv_prog_CPP
11392 ac_cv_prog_CPP
=$CPP
11394 echo "$as_me:$LINENO: result: $CPP" >&5
11395 echo "${ECHO_T}$CPP" >&6
11396 ac_preproc_ok
=false
11397 for ac_c_preproc_warn_flag
in '' yes
11399 # Use a header file that comes with gcc, so configuring glibc
11400 # with a fresh cross-compiler works.
11401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11402 # <limits.h> exists even on freestanding compilers.
11403 # On the NeXT, cc -E runs the code through the compiler's parser,
11404 # not just through cpp. "Syntax error" is here to catch this case.
11405 cat >conftest.
$ac_ext <<_ACEOF
11408 cat confdefs.h
>>conftest.
$ac_ext
11409 cat >>conftest.
$ac_ext <<_ACEOF
11410 /* end confdefs.h. */
11412 # include <limits.h>
11414 # include <assert.h>
11418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11419 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11421 grep -v '^ *+' conftest.er1
>conftest.err
11423 cat conftest.err
>&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); } >/dev
/null
; then
11426 if test -s conftest.err
; then
11427 ac_cpp_err
=$ac_c_preproc_warn_flag
11428 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11435 if test -z "$ac_cpp_err"; then
11438 echo "$as_me: failed program was:" >&5
11439 sed 's/^/| /' conftest.
$ac_ext >&5
11441 # Broken: fails on valid input.
11444 rm -f conftest.err conftest.
$ac_ext
11446 # OK, works on sane cases. Now check whether non-existent headers
11447 # can be detected and how.
11448 cat >conftest.
$ac_ext <<_ACEOF
11451 cat confdefs.h
>>conftest.
$ac_ext
11452 cat >>conftest.
$ac_ext <<_ACEOF
11453 /* end confdefs.h. */
11454 #include <ac_nonexistent.h>
11456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11457 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11459 grep -v '^ *+' conftest.er1
>conftest.err
11461 cat conftest.err
>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); } >/dev
/null
; then
11464 if test -s conftest.err
; then
11465 ac_cpp_err
=$ac_c_preproc_warn_flag
11466 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11473 if test -z "$ac_cpp_err"; then
11474 # Broken: success on invalid input.
11477 echo "$as_me: failed program was:" >&5
11478 sed 's/^/| /' conftest.
$ac_ext >&5
11480 # Passes both tests.
11484 rm -f conftest.err conftest.
$ac_ext
11487 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11488 rm -f conftest.err conftest.
$ac_ext
11489 if $ac_preproc_ok; then
11492 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11493 See \`config.log' for more details." >&5
11494 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11495 See \`config.log' for more details." >&2;}
11496 { (exit 1); exit 1; }; }
11500 ac_cpp
='$CPP $CPPFLAGS'
11501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11506 echo "$as_me:$LINENO: checking for egrep" >&5
11507 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11508 if test "${ac_cv_prog_egrep+set}" = set; then
11509 echo $ECHO_N "(cached) $ECHO_C" >&6
11511 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11512 then ac_cv_prog_egrep
='grep -E'
11513 else ac_cv_prog_egrep
='egrep'
11516 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11517 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11518 EGREP
=$ac_cv_prog_egrep
11521 if test $ac_cv_c_compiler_gnu = yes; then
11522 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11523 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11524 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11525 echo $ECHO_N "(cached) $ECHO_C" >&6
11527 ac_pattern
="Autoconf.*'x'"
11528 cat >conftest.
$ac_ext <<_ACEOF
11531 cat confdefs.h
>>conftest.
$ac_ext
11532 cat >>conftest.
$ac_ext <<_ACEOF
11533 /* end confdefs.h. */
11537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11538 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11539 ac_cv_prog_gcc_traditional
=yes
11541 ac_cv_prog_gcc_traditional
=no
11546 if test $ac_cv_prog_gcc_traditional = no
; then
11547 cat >conftest.
$ac_ext <<_ACEOF
11550 cat confdefs.h
>>conftest.
$ac_ext
11551 cat >>conftest.
$ac_ext <<_ACEOF
11552 /* end confdefs.h. */
11553 #include <termio.h>
11556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11557 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11558 ac_cv_prog_gcc_traditional
=yes
11564 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11565 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11566 if test $ac_cv_prog_gcc_traditional = yes; then
11567 CC
="$CC -traditional"
11575 ac_cpp
='$CXXCPP $CPPFLAGS'
11576 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11577 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11578 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11581 CXXFLAGS
=${CXXFLAGS:=}
11583 ac_cpp
='$CXXCPP $CPPFLAGS'
11584 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11585 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11586 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11587 if test -n "$ac_tool_prefix"; then
11588 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11591 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11592 echo "$as_me:$LINENO: checking for $ac_word" >&5
11593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11594 if test "${ac_cv_prog_CXX+set}" = set; then
11595 echo $ECHO_N "(cached) $ECHO_C" >&6
11597 if test -n "$CXX"; then
11598 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11601 for as_dir
in $PATH
11604 test -z "$as_dir" && as_dir
=.
11605 for ac_exec_ext
in '' $ac_executable_extensions; do
11606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11607 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11616 CXX
=$ac_cv_prog_CXX
11617 if test -n "$CXX"; then
11618 echo "$as_me:$LINENO: result: $CXX" >&5
11619 echo "${ECHO_T}$CXX" >&6
11621 echo "$as_me:$LINENO: result: no" >&5
11622 echo "${ECHO_T}no" >&6
11625 test -n "$CXX" && break
11628 if test -z "$CXX"; then
11630 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11632 # Extract the first word of "$ac_prog", so it can be a program name with args.
11633 set dummy
$ac_prog; ac_word
=$2
11634 echo "$as_me:$LINENO: checking for $ac_word" >&5
11635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11636 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11637 echo $ECHO_N "(cached) $ECHO_C" >&6
11639 if test -n "$ac_ct_CXX"; then
11640 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11643 for as_dir
in $PATH
11646 test -z "$as_dir" && as_dir
=.
11647 for ac_exec_ext
in '' $ac_executable_extensions; do
11648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11649 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11658 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11659 if test -n "$ac_ct_CXX"; then
11660 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11661 echo "${ECHO_T}$ac_ct_CXX" >&6
11663 echo "$as_me:$LINENO: result: no" >&5
11664 echo "${ECHO_T}no" >&6
11667 test -n "$ac_ct_CXX" && break
11669 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11675 # Provide some information about the compiler.
11676 echo "$as_me:$LINENO:" \
11677 "checking for C++ compiler version" >&5
11678 ac_compiler
=`set X $ac_compile; echo $2`
11679 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11680 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); }
11684 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11685 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); }
11689 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11690 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }
11695 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11696 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11697 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11698 echo $ECHO_N "(cached) $ECHO_C" >&6
11700 cat >conftest.
$ac_ext <<_ACEOF
11703 cat confdefs.h
>>conftest.
$ac_ext
11704 cat >>conftest.
$ac_ext <<_ACEOF
11705 /* end confdefs.h. */
11718 rm -f conftest.
$ac_objext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11720 (eval $ac_compile) 2>conftest.er1
11722 grep -v '^ *+' conftest.er1
>conftest.err
11724 cat conftest.err
>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try
='test -z "$ac_cxx_werror_flag"
11728 || test ! -s conftest.err'
11729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11730 (eval $ac_try) 2>&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }; } &&
11734 { ac_try
='test -s conftest.$ac_objext'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then
11740 ac_compiler_gnu
=yes
11742 echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.
$ac_ext >&5
11747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11748 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11751 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11752 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11753 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11754 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11755 ac_save_CXXFLAGS
=$CXXFLAGS
11757 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11758 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11759 if test "${ac_cv_prog_cxx_g+set}" = set; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11762 cat >conftest.
$ac_ext <<_ACEOF
11765 cat confdefs.h
>>conftest.
$ac_ext
11766 cat >>conftest.
$ac_ext <<_ACEOF
11767 /* end confdefs.h. */
11777 rm -f conftest.
$ac_objext
11778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11779 (eval $ac_compile) 2>conftest.er1
11781 grep -v '^ *+' conftest.er1
>conftest.err
11783 cat conftest.err
>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); } &&
11786 { ac_try
='test -z "$ac_cxx_werror_flag"
11787 || test ! -s conftest.err'
11788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11789 (eval $ac_try) 2>&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); }; } &&
11793 { ac_try
='test -s conftest.$ac_objext'
11794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11795 (eval $ac_try) 2>&5
11797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798 (exit $ac_status); }; }; then
11799 ac_cv_prog_cxx_g
=yes
11801 echo "$as_me: failed program was:" >&5
11802 sed 's/^/| /' conftest.
$ac_ext >&5
11804 ac_cv_prog_cxx_g
=no
11806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11808 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11809 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11810 if test "$ac_test_CXXFLAGS" = set; then
11811 CXXFLAGS
=$ac_save_CXXFLAGS
11812 elif test $ac_cv_prog_cxx_g = yes; then
11813 if test "$GXX" = yes; then
11819 if test "$GXX" = yes; then
11825 for ac_declaration
in \
11827 'extern "C" void std::exit (int) throw (); using std::exit;' \
11828 'extern "C" void std::exit (int); using std::exit;' \
11829 'extern "C" void exit (int) throw ();' \
11830 'extern "C" void exit (int);' \
11833 cat >conftest.
$ac_ext <<_ACEOF
11836 cat confdefs.h
>>conftest.
$ac_ext
11837 cat >>conftest.
$ac_ext <<_ACEOF
11838 /* end confdefs.h. */
11840 #include <stdlib.h>
11849 rm -f conftest.
$ac_objext
11850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11851 (eval $ac_compile) 2>conftest.er1
11853 grep -v '^ *+' conftest.er1
>conftest.err
11855 cat conftest.err
>&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); } &&
11858 { ac_try
='test -z "$ac_cxx_werror_flag"
11859 || test ! -s conftest.err'
11860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861 (eval $ac_try) 2>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); }; } &&
11865 { ac_try
='test -s conftest.$ac_objext'
11866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11867 (eval $ac_try) 2>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }; }; then
11873 echo "$as_me: failed program was:" >&5
11874 sed 's/^/| /' conftest.
$ac_ext >&5
11878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11879 cat >conftest.
$ac_ext <<_ACEOF
11882 cat confdefs.h
>>conftest.
$ac_ext
11883 cat >>conftest.
$ac_ext <<_ACEOF
11884 /* end confdefs.h. */
11894 rm -f conftest.
$ac_objext
11895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11896 (eval $ac_compile) 2>conftest.er1
11898 grep -v '^ *+' conftest.er1
>conftest.err
11900 cat conftest.err
>&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); } &&
11903 { ac_try
='test -z "$ac_cxx_werror_flag"
11904 || 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
11922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11925 if test -n "$ac_declaration"; then
11926 echo '#ifdef __cplusplus' >>confdefs.h
11927 echo $ac_declaration >>confdefs.h
11928 echo '#endif' >>confdefs.h
11932 ac_cpp
='$CXXCPP $CPPFLAGS'
11933 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11934 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11935 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11939 ac_cpp
='$CPP $CPPFLAGS'
11940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11945 if test -n "$ac_tool_prefix"; then
11946 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11947 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11948 echo "$as_me:$LINENO: checking for $ac_word" >&5
11949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11950 if test "${ac_cv_prog_RANLIB+set}" = set; then
11951 echo $ECHO_N "(cached) $ECHO_C" >&6
11953 if test -n "$RANLIB"; then
11954 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11957 for as_dir
in $PATH
11960 test -z "$as_dir" && as_dir
=.
11961 for ac_exec_ext
in '' $ac_executable_extensions; do
11962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11963 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11972 RANLIB
=$ac_cv_prog_RANLIB
11973 if test -n "$RANLIB"; then
11974 echo "$as_me:$LINENO: result: $RANLIB" >&5
11975 echo "${ECHO_T}$RANLIB" >&6
11977 echo "$as_me:$LINENO: result: no" >&5
11978 echo "${ECHO_T}no" >&6
11982 if test -z "$ac_cv_prog_RANLIB"; then
11983 ac_ct_RANLIB
=$RANLIB
11984 # Extract the first word of "ranlib", so it can be a program name with args.
11985 set dummy ranlib
; ac_word
=$2
11986 echo "$as_me:$LINENO: checking for $ac_word" >&5
11987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11988 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6
11991 if test -n "$ac_ct_RANLIB"; then
11992 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11995 for as_dir
in $PATH
11998 test -z "$as_dir" && as_dir
=.
11999 for ac_exec_ext
in '' $ac_executable_extensions; do
12000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12001 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12008 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12011 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12012 if test -n "$ac_ct_RANLIB"; then
12013 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12014 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12016 echo "$as_me:$LINENO: result: no" >&5
12017 echo "${ECHO_T}no" >&6
12020 RANLIB
=$ac_ct_RANLIB
12022 RANLIB
="$ac_cv_prog_RANLIB"
12026 # Extract the first word of "ar", so it can be a program name with args.
12027 set dummy
ar; ac_word
=$2
12028 echo "$as_me:$LINENO: checking for $ac_word" >&5
12029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12030 if test "${ac_cv_prog_AR+set}" = set; then
12031 echo $ECHO_N "(cached) $ECHO_C" >&6
12033 if test -n "$AR"; then
12034 ac_cv_prog_AR
="$AR" # Let the user override the test.
12036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12037 for as_dir
in $PATH
12040 test -z "$as_dir" && as_dir
=.
12041 for ac_exec_ext
in '' $ac_executable_extensions; do
12042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12053 if test -n "$AR"; then
12054 echo "$as_me:$LINENO: result: $AR" >&5
12055 echo "${ECHO_T}$AR" >&6
12057 echo "$as_me:$LINENO: result: no" >&5
12058 echo "${ECHO_T}no" >&6
12061 if test "x$AR" = "x" ; then
12062 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12063 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12064 { (exit 1); exit 1; }; }
12067 # Find a good install program. We prefer a C program (faster),
12068 # so one script is as good as another. But avoid the broken or
12069 # incompatible versions:
12070 # SysV /etc/install, /usr/sbin/install
12071 # SunOS /usr/etc/install
12072 # IRIX /sbin/install
12074 # AmigaOS /C/install, which installs bootblocks on floppy discs
12075 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12076 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12077 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12078 # OS/2's system install, which has a completely different semantic
12079 # ./install, which can be erroneously created by make from ./install.sh.
12080 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12081 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12082 if test -z "$INSTALL"; then
12083 if test "${ac_cv_path_install+set}" = set; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12087 for as_dir
in $PATH
12090 test -z "$as_dir" && as_dir
=.
12091 # Account for people who put trailing slashes in PATH elements.
12093 .
/ | .
// | /cC
/* | \
12094 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12095 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12098 # OSF1 and SCO ODT 3.0 have their own names for install.
12099 # Don't use installbsd from OSF since it installs stuff as root
12101 for ac_prog
in ginstall scoinst
install; do
12102 for ac_exec_ext
in '' $ac_executable_extensions; do
12103 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12104 if test $ac_prog = install &&
12105 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12106 # AIX install. It has an incompatible calling convention.
12108 elif test $ac_prog = install &&
12109 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12110 # program-specific install script used by HP pwplus--don't use.
12113 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12125 if test "${ac_cv_path_install+set}" = set; then
12126 INSTALL
=$ac_cv_path_install
12128 # As a last resort, use the slow shell script. We don't cache a
12129 # path for INSTALL within a source directory, because that will
12130 # break other packages using the cache if that directory is
12131 # removed, or if the path is relative.
12132 INSTALL
=$ac_install_sh
12135 echo "$as_me:$LINENO: result: $INSTALL" >&5
12136 echo "${ECHO_T}$INSTALL" >&6
12138 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12139 # It thinks the first close brace ends the variable substitution.
12140 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12142 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12144 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12150 ?
:* ) # Drive letter, considered as absolute.
12153 INSTALL
=`pwd`/${INSTALL} ;;
12159 powerpc
-*-darwin* )
12160 INSTALL_PROGRAM
="cp -fp"
12161 INSTALL_DATA
="cp -fp"
12167 # Extract the first word of "strip", so it can be a program name with args.
12168 set dummy strip
; ac_word
=$2
12169 echo "$as_me:$LINENO: checking for $ac_word" >&5
12170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12171 if test "${ac_cv_prog_STRIP+set}" = set; then
12172 echo $ECHO_N "(cached) $ECHO_C" >&6
12174 if test -n "$STRIP"; then
12175 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12178 for as_dir
in $PATH
12181 test -z "$as_dir" && as_dir
=.
12182 for ac_exec_ext
in '' $ac_executable_extensions; do
12183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12184 ac_cv_prog_STRIP
="strip"
12185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12191 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12194 STRIP
=$ac_cv_prog_STRIP
12195 if test -n "$STRIP"; then
12196 echo "$as_me:$LINENO: result: $STRIP" >&5
12197 echo "${ECHO_T}$STRIP" >&6
12199 echo "$as_me:$LINENO: result: no" >&5
12200 echo "${ECHO_T}no" >&6
12204 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12205 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12206 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12207 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12211 egrep -s GNU
> /dev
/null
); then
12212 wx_cv_prog_makeisgnu
="yes"
12214 wx_cv_prog_makeisgnu
="no"
12218 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12219 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12221 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12229 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12230 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12231 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12232 if test "${wx_cv_prog_makevpath+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 cat - << EOF > confMake
12242 if test ! -d sub
; then
12245 echo dummy
> sub
/file
12246 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12248 rm -f sub
/file check final_file confMake
12250 if test "$RESULT" = 0; then
12251 wx_cv_prog_makevpath
="yes"
12253 wx_cv_prog_makevpath
="no"
12257 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12258 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12260 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12261 { { echo "$as_me:$LINENO: error:
12262 You need a make-utility that is able to use the variable
12264 If your version of make does not support VPATH correctly,
12265 please install GNU-make (possibly as gmake), and start
12266 configure with the following command:
12267 export MAKE=gmake; ./configure for sh-type shells
12268 setenv MAKE gmake; ./configure for csh-type shells
12269 Also please do remember to use gmake in this case every time
12270 you are trying to compile.
12272 echo "$as_me: error:
12273 You need a make-utility that is able to use the variable
12275 If your version of make does not support VPATH correctly,
12276 please install GNU-make (possibly as gmake), and start
12277 configure with the following command:
12278 export MAKE=gmake; ./configure for sh-type shells
12279 setenv MAKE gmake; ./configure for csh-type shells
12280 Also please do remember to use gmake in this case every time
12281 you are trying to compile.
12283 { (exit 1); exit 1; }; }
12285 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12286 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12288 if test "$LN_S" = "ln -s"; then
12289 echo "$as_me:$LINENO: result: yes" >&5
12290 echo "${ECHO_T}yes" >&6
12292 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12293 echo "${ECHO_T}no, using $LN_S" >&6
12299 *-pc-os2_emx | *-pc-os2-emx )
12300 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12301 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12302 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12303 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12306 ac_check_lib_save_LIBS
=$LIBS
12307 LIBS
="-lcExt $LIBS"
12308 cat >conftest.
$ac_ext <<_ACEOF
12311 cat confdefs.h
>>conftest.
$ac_ext
12312 cat >>conftest.
$ac_ext <<_ACEOF
12313 /* end confdefs.h. */
12315 /* Override any gcc2 internal prototype to avoid an error. */
12319 /* We use char because int might match the return type of a gcc2
12320 builtin and then its argument prototype would still apply. */
12330 rm -f conftest.
$ac_objext conftest
$ac_exeext
12331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12332 (eval $ac_link) 2>conftest.er1
12334 grep -v '^ *+' conftest.er1
>conftest.err
12336 cat conftest.err
>&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); } &&
12339 { ac_try
='test -z "$ac_c_werror_flag"
12340 || test ! -s conftest.err'
12341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12342 (eval $ac_try) 2>&5
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); }; } &&
12346 { ac_try
='test -s conftest$ac_exeext'
12347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12348 (eval $ac_try) 2>&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); }; }; then
12352 ac_cv_lib_cExt_drand48
=yes
12354 echo "$as_me: failed program was:" >&5
12355 sed 's/^/| /' conftest.
$ac_ext >&5
12357 ac_cv_lib_cExt_drand48
=no
12359 rm -f conftest.err conftest.
$ac_objext \
12360 conftest
$ac_exeext conftest.
$ac_ext
12361 LIBS
=$ac_check_lib_save_LIBS
12363 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12364 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12365 if test $ac_cv_lib_cExt_drand48 = yes; then
12366 LIBS
="$LIBS -lcExt"
12370 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12372 echo "$as_me:$LINENO: checking for gcc version" >&5
12373 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12374 if test "${wx_cv_gccversion+set}" = set; then
12375 echo $ECHO_N "(cached) $ECHO_C" >&6
12378 cat >conftest.
$ac_ext <<_ACEOF
12381 cat confdefs.h
>>conftest.
$ac_ext
12382 cat >>conftest.
$ac_ext <<_ACEOF
12383 /* end confdefs.h. */
12397 rm -f conftest.
$ac_objext
12398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12399 (eval $ac_compile) 2>conftest.er1
12401 grep -v '^ *+' conftest.er1
>conftest.err
12403 cat conftest.err
>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); } &&
12406 { ac_try
='test -z "$ac_c_werror_flag"
12407 || test ! -s conftest.err'
12408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12409 (eval $ac_try) 2>&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); }; } &&
12413 { ac_try
='test -s conftest.$ac_objext'
12414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12415 (eval $ac_try) 2>&5
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); }; }; then
12420 cat >conftest.
$ac_ext <<_ACEOF
12423 cat confdefs.h
>>conftest.
$ac_ext
12424 cat >>conftest.
$ac_ext <<_ACEOF
12425 /* end confdefs.h. */
12431 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12432 #error intermediate gcc
12439 rm -f conftest.
$ac_objext
12440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12441 (eval $ac_compile) 2>conftest.er1
12443 grep -v '^ *+' conftest.er1
>conftest.err
12445 cat conftest.err
>&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); } &&
12448 { ac_try
='test -z "$ac_c_werror_flag"
12449 || 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 wx_cv_gccversion
=Innotek
12465 echo "$as_me: failed program was:" >&5
12466 sed 's/^/| /' conftest.
$ac_ext >&5
12473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.
$ac_ext >&5
12484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12487 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12488 echo "${ECHO_T}$wx_cv_gccversion" >&6
12489 if test "$wx_cv_gccversion" = "2"; then
12490 LIBS
="$LIBS -lstdcpp"
12491 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12493 if test "$wx_cv_gccversion" = "3"; then
12494 LIBS
="$LIBS -lstdcxx"
12495 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12497 LIBS
="$LIBS -lstdc++"
12500 if test "$wxUSE_OMF" = "yes"; then
12501 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12509 ac_cpp
='$CXXCPP $CPPFLAGS'
12510 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12511 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12512 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12516 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12517 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12518 if test "${ac_cv_string_strcasecmp+set}" = set; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12522 cat >conftest.
$ac_ext <<_ACEOF
12525 cat confdefs.h
>>conftest.
$ac_ext
12526 cat >>conftest.
$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12529 #include <string.h>
12535 strcasecmp("foo", "bar");
12541 rm -f conftest.
$ac_objext conftest
$ac_exeext
12542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12543 (eval $ac_link) 2>conftest.er1
12545 grep -v '^ *+' conftest.er1
>conftest.err
12547 cat conftest.err
>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); } &&
12550 { ac_try
='test -z "$ac_cxx_werror_flag"
12551 || test ! -s conftest.err'
12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 (eval $ac_try) 2>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; } &&
12557 { ac_try
='test -s conftest$ac_exeext'
12558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559 (eval $ac_try) 2>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); }; }; then
12563 ac_cv_string_strcasecmp
=yes
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.
$ac_ext >&5
12568 ac_cv_string_strcasecmp
=no
12571 rm -f conftest.err conftest.
$ac_objext \
12572 conftest
$ac_exeext conftest.
$ac_ext
12575 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12576 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12578 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12579 cat >>confdefs.h
<<\_ACEOF
12580 #define HAVE_STRCASECMP_IN_STRING_H 1
12584 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12585 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12586 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12590 cat >conftest.
$ac_ext <<_ACEOF
12593 cat confdefs.h
>>conftest.
$ac_ext
12594 cat >>conftest.
$ac_ext <<_ACEOF
12595 /* end confdefs.h. */
12597 #include <strings.h>
12603 strcasecmp("foo", "bar");
12609 rm -f conftest.
$ac_objext conftest
$ac_exeext
12610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12611 (eval $ac_link) 2>conftest.er1
12613 grep -v '^ *+' conftest.er1
>conftest.err
12615 cat conftest.err
>&5
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); } &&
12618 { ac_try
='test -z "$ac_cxx_werror_flag"
12619 || test ! -s conftest.err'
12620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12621 (eval $ac_try) 2>&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); }; } &&
12625 { ac_try
='test -s conftest$ac_exeext'
12626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12627 (eval $ac_try) 2>&5
12629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630 (exit $ac_status); }; }; then
12631 ac_cv_strings_strcasecmp
=yes
12633 echo "$as_me: failed program was:" >&5
12634 sed 's/^/| /' conftest.
$ac_ext >&5
12636 ac_cv_strings_strcasecmp
=no
12639 rm -f conftest.err conftest.
$ac_objext \
12640 conftest
$ac_exeext conftest.
$ac_ext
12643 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12644 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12646 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12647 cat >>confdefs.h
<<\_ACEOF
12648 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12652 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12653 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12654 { (exit 1); exit 1; }; }
12659 ac_cpp
='$CPP $CPPFLAGS'
12660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12668 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12669 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12670 if test "${ac_cv_header_stdc+set}" = set; then
12671 echo $ECHO_N "(cached) $ECHO_C" >&6
12673 cat >conftest.
$ac_ext <<_ACEOF
12676 cat confdefs.h
>>conftest.
$ac_ext
12677 cat >>conftest.
$ac_ext <<_ACEOF
12678 /* end confdefs.h. */
12679 #include <stdlib.h>
12680 #include <stdarg.h>
12681 #include <string.h>
12692 rm -f conftest.
$ac_objext
12693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12694 (eval $ac_compile) 2>conftest.er1
12696 grep -v '^ *+' conftest.er1
>conftest.err
12698 cat conftest.err
>&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); } &&
12701 { ac_try
='test -z "$ac_c_werror_flag"
12702 || test ! -s conftest.err'
12703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704 (eval $ac_try) 2>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); }; } &&
12708 { ac_try
='test -s conftest.$ac_objext'
12709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12710 (eval $ac_try) 2>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; }; then
12714 ac_cv_header_stdc
=yes
12716 echo "$as_me: failed program was:" >&5
12717 sed 's/^/| /' conftest.
$ac_ext >&5
12719 ac_cv_header_stdc
=no
12721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12723 if test $ac_cv_header_stdc = yes; then
12724 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12725 cat >conftest.
$ac_ext <<_ACEOF
12728 cat confdefs.h
>>conftest.
$ac_ext
12729 cat >>conftest.
$ac_ext <<_ACEOF
12730 /* end confdefs.h. */
12731 #include <string.h>
12734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12735 $EGREP "memchr" >/dev
/null
2>&1; then
12738 ac_cv_header_stdc
=no
12744 if test $ac_cv_header_stdc = yes; then
12745 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12746 cat >conftest.
$ac_ext <<_ACEOF
12749 cat confdefs.h
>>conftest.
$ac_ext
12750 cat >>conftest.
$ac_ext <<_ACEOF
12751 /* end confdefs.h. */
12752 #include <stdlib.h>
12755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12756 $EGREP "free" >/dev
/null
2>&1; then
12759 ac_cv_header_stdc
=no
12765 if test $ac_cv_header_stdc = yes; then
12766 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12767 if test "$cross_compiling" = yes; then
12770 cat >conftest.
$ac_ext <<_ACEOF
12773 cat confdefs.h
>>conftest.
$ac_ext
12774 cat >>conftest.
$ac_ext <<_ACEOF
12775 /* end confdefs.h. */
12777 #if ((' ' & 0x0FF) == 0x020)
12778 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12779 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12781 # define ISLOWER(c) \
12782 (('a' <= (c) && (c) <= 'i') \
12783 || ('j' <= (c) && (c) <= 'r') \
12784 || ('s' <= (c) && (c) <= 'z'))
12785 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12788 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12793 for (i = 0; i < 256; i++)
12794 if (XOR (islower (i), ISLOWER (i))
12795 || toupper (i) != TOUPPER (i))
12800 rm -f conftest
$ac_exeext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12802 (eval $ac_link) 2>&5
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12807 (eval $ac_try) 2>&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); }; }; then
12813 echo "$as_me: program exited with status $ac_status" >&5
12814 echo "$as_me: failed program was:" >&5
12815 sed 's/^/| /' conftest.
$ac_ext >&5
12817 ( exit $ac_status )
12818 ac_cv_header_stdc
=no
12820 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12824 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12825 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12826 if test $ac_cv_header_stdc = yes; then
12828 cat >>confdefs.h
<<\_ACEOF
12829 #define STDC_HEADERS 1
12834 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12844 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12845 inttypes.h stdint.h unistd.h
12847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12848 echo "$as_me:$LINENO: checking for $ac_header" >&5
12849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12853 cat >conftest.
$ac_ext <<_ACEOF
12856 cat confdefs.h
>>conftest.
$ac_ext
12857 cat >>conftest.
$ac_ext <<_ACEOF
12858 /* end confdefs.h. */
12859 $ac_includes_default
12861 #include <$ac_header>
12863 rm -f conftest.
$ac_objext
12864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12865 (eval $ac_compile) 2>conftest.er1
12867 grep -v '^ *+' conftest.er1
>conftest.err
12869 cat conftest.err
>&5
12870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12871 (exit $ac_status); } &&
12872 { ac_try
='test -z "$ac_c_werror_flag"
12873 || test ! -s conftest.err'
12874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12875 (eval $ac_try) 2>&5
12877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878 (exit $ac_status); }; } &&
12879 { ac_try
='test -s conftest.$ac_objext'
12880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12881 (eval $ac_try) 2>&5
12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); }; }; then
12885 eval "$as_ac_Header=yes"
12887 echo "$as_me: failed program was:" >&5
12888 sed 's/^/| /' conftest.
$ac_ext >&5
12890 eval "$as_ac_Header=no"
12892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12897 cat >>confdefs.h
<<_ACEOF
12898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12907 for ac_header
in stdlib.h
12909 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12911 echo "$as_me:$LINENO: checking for $ac_header" >&5
12912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12914 echo $ECHO_N "(cached) $ECHO_C" >&6
12916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12919 # Is the header compilable?
12920 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12921 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12922 cat >conftest.
$ac_ext <<_ACEOF
12925 cat confdefs.h
>>conftest.
$ac_ext
12926 cat >>conftest.
$ac_ext <<_ACEOF
12927 /* end confdefs.h. */
12928 $ac_includes_default
12929 #include <$ac_header>
12931 rm -f conftest.
$ac_objext
12932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12933 (eval $ac_compile) 2>conftest.er1
12935 grep -v '^ *+' conftest.er1
>conftest.err
12937 cat conftest.err
>&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); } &&
12940 { ac_try
='test -z "$ac_c_werror_flag"
12941 || test ! -s conftest.err'
12942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12943 (eval $ac_try) 2>&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); }; } &&
12947 { ac_try
='test -s conftest.$ac_objext'
12948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949 (eval $ac_try) 2>&5
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); }; }; then
12953 ac_header_compiler
=yes
12955 echo "$as_me: failed program was:" >&5
12956 sed 's/^/| /' conftest.
$ac_ext >&5
12958 ac_header_compiler
=no
12960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12962 echo "${ECHO_T}$ac_header_compiler" >&6
12964 # Is the header present?
12965 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12967 cat >conftest.
$ac_ext <<_ACEOF
12970 cat confdefs.h
>>conftest.
$ac_ext
12971 cat >>conftest.
$ac_ext <<_ACEOF
12972 /* end confdefs.h. */
12973 #include <$ac_header>
12975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12976 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12978 grep -v '^ *+' conftest.er1
>conftest.err
12980 cat conftest.err
>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); } >/dev
/null
; then
12983 if test -s conftest.err
; then
12984 ac_cpp_err
=$ac_c_preproc_warn_flag
12985 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12992 if test -z "$ac_cpp_err"; then
12993 ac_header_preproc
=yes
12995 echo "$as_me: failed program was:" >&5
12996 sed 's/^/| /' conftest.
$ac_ext >&5
12998 ac_header_preproc
=no
13000 rm -f conftest.err conftest.
$ac_ext
13001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13002 echo "${ECHO_T}$ac_header_preproc" >&6
13004 # So? What about this header?
13005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13007 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13008 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13010 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13011 ac_header_preproc
=yes
13014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13016 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13017 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13018 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13019 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13020 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13021 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13024 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13025 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13028 ## ----------------------------------------- ##
13029 ## Report this to wx-dev@lists.wxwidgets.org ##
13030 ## ----------------------------------------- ##
13033 sed "s/^/$as_me: WARNING: /" >&2
13036 echo "$as_me:$LINENO: checking for $ac_header" >&5
13037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13041 eval "$as_ac_Header=\$ac_header_preproc"
13043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13048 cat >>confdefs.h
<<_ACEOF
13049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13057 for ac_header
in malloc.h
13059 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13061 echo "$as_me:$LINENO: checking for $ac_header" >&5
13062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13064 echo $ECHO_N "(cached) $ECHO_C" >&6
13066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13069 # Is the header compilable?
13070 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13071 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13072 cat >conftest.
$ac_ext <<_ACEOF
13075 cat confdefs.h
>>conftest.
$ac_ext
13076 cat >>conftest.
$ac_ext <<_ACEOF
13077 /* end confdefs.h. */
13078 $ac_includes_default
13079 #include <$ac_header>
13081 rm -f conftest.
$ac_objext
13082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13083 (eval $ac_compile) 2>conftest.er1
13085 grep -v '^ *+' conftest.er1
>conftest.err
13087 cat conftest.err
>&5
13088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); } &&
13090 { ac_try
='test -z "$ac_c_werror_flag"
13091 || test ! -s conftest.err'
13092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13093 (eval $ac_try) 2>&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); }; } &&
13097 { ac_try
='test -s conftest.$ac_objext'
13098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13099 (eval $ac_try) 2>&5
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); }; }; then
13103 ac_header_compiler
=yes
13105 echo "$as_me: failed program was:" >&5
13106 sed 's/^/| /' conftest.
$ac_ext >&5
13108 ac_header_compiler
=no
13110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13112 echo "${ECHO_T}$ac_header_compiler" >&6
13114 # Is the header present?
13115 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13117 cat >conftest.
$ac_ext <<_ACEOF
13120 cat confdefs.h
>>conftest.
$ac_ext
13121 cat >>conftest.
$ac_ext <<_ACEOF
13122 /* end confdefs.h. */
13123 #include <$ac_header>
13125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13126 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13128 grep -v '^ *+' conftest.er1
>conftest.err
13130 cat conftest.err
>&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); } >/dev
/null
; then
13133 if test -s conftest.err
; then
13134 ac_cpp_err
=$ac_c_preproc_warn_flag
13135 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13142 if test -z "$ac_cpp_err"; then
13143 ac_header_preproc
=yes
13145 echo "$as_me: failed program was:" >&5
13146 sed 's/^/| /' conftest.
$ac_ext >&5
13148 ac_header_preproc
=no
13150 rm -f conftest.err conftest.
$ac_ext
13151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13152 echo "${ECHO_T}$ac_header_preproc" >&6
13154 # So? What about this header?
13155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13160 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13161 ac_header_preproc
=yes
13164 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13166 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13168 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13169 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13170 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13171 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13173 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13174 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13175 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13178 ## ----------------------------------------- ##
13179 ## Report this to wx-dev@lists.wxwidgets.org ##
13180 ## ----------------------------------------- ##
13183 sed "s/^/$as_me: WARNING: /" >&2
13186 echo "$as_me:$LINENO: checking for $ac_header" >&5
13187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13189 echo $ECHO_N "(cached) $ECHO_C" >&6
13191 eval "$as_ac_Header=\$ac_header_preproc"
13193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13198 cat >>confdefs.h
<<_ACEOF
13199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13207 for ac_header
in unistd.h
13209 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13211 echo "$as_me:$LINENO: checking for $ac_header" >&5
13212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13214 echo $ECHO_N "(cached) $ECHO_C" >&6
13216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13219 # Is the header compilable?
13220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13222 cat >conftest.
$ac_ext <<_ACEOF
13225 cat confdefs.h
>>conftest.
$ac_ext
13226 cat >>conftest.
$ac_ext <<_ACEOF
13227 /* end confdefs.h. */
13228 $ac_includes_default
13229 #include <$ac_header>
13231 rm -f conftest.
$ac_objext
13232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13233 (eval $ac_compile) 2>conftest.er1
13235 grep -v '^ *+' conftest.er1
>conftest.err
13237 cat conftest.err
>&5
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); } &&
13240 { ac_try
='test -z "$ac_c_werror_flag"
13241 || test ! -s conftest.err'
13242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13243 (eval $ac_try) 2>&5
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); }; } &&
13247 { ac_try
='test -s conftest.$ac_objext'
13248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13249 (eval $ac_try) 2>&5
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); }; }; then
13253 ac_header_compiler
=yes
13255 echo "$as_me: failed program was:" >&5
13256 sed 's/^/| /' conftest.
$ac_ext >&5
13258 ac_header_compiler
=no
13260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13261 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13262 echo "${ECHO_T}$ac_header_compiler" >&6
13264 # Is the header present?
13265 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13266 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13267 cat >conftest.
$ac_ext <<_ACEOF
13270 cat confdefs.h
>>conftest.
$ac_ext
13271 cat >>conftest.
$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13273 #include <$ac_header>
13275 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13276 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13278 grep -v '^ *+' conftest.er1
>conftest.err
13280 cat conftest.err
>&5
13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282 (exit $ac_status); } >/dev
/null
; then
13283 if test -s conftest.err
; then
13284 ac_cpp_err
=$ac_c_preproc_warn_flag
13285 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13292 if test -z "$ac_cpp_err"; then
13293 ac_header_preproc
=yes
13295 echo "$as_me: failed program was:" >&5
13296 sed 's/^/| /' conftest.
$ac_ext >&5
13298 ac_header_preproc
=no
13300 rm -f conftest.err conftest.
$ac_ext
13301 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13302 echo "${ECHO_T}$ac_header_preproc" >&6
13304 # So? What about this header?
13305 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13307 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13308 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13310 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13311 ac_header_preproc
=yes
13314 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13315 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13316 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13317 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13318 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13319 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13320 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13321 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13324 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13325 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13328 ## ----------------------------------------- ##
13329 ## Report this to wx-dev@lists.wxwidgets.org ##
13330 ## ----------------------------------------- ##
13333 sed "s/^/$as_me: WARNING: /" >&2
13336 echo "$as_me:$LINENO: checking for $ac_header" >&5
13337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13339 echo $ECHO_N "(cached) $ECHO_C" >&6
13341 eval "$as_ac_Header=\$ac_header_preproc"
13343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13348 cat >>confdefs.h
<<_ACEOF
13349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13357 for ac_header
in wchar.h
13359 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13361 echo "$as_me:$LINENO: checking for $ac_header" >&5
13362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13364 echo $ECHO_N "(cached) $ECHO_C" >&6
13366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13369 # Is the header compilable?
13370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13372 cat >conftest.
$ac_ext <<_ACEOF
13375 cat confdefs.h
>>conftest.
$ac_ext
13376 cat >>conftest.
$ac_ext <<_ACEOF
13377 /* end confdefs.h. */
13378 $ac_includes_default
13379 #include <$ac_header>
13381 rm -f conftest.
$ac_objext
13382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13383 (eval $ac_compile) 2>conftest.er1
13385 grep -v '^ *+' conftest.er1
>conftest.err
13387 cat conftest.err
>&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } &&
13390 { ac_try
='test -z "$ac_c_werror_flag"
13391 || test ! -s conftest.err'
13392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13393 (eval $ac_try) 2>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); }; } &&
13397 { ac_try
='test -s conftest.$ac_objext'
13398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13399 (eval $ac_try) 2>&5
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); }; }; then
13403 ac_header_compiler
=yes
13405 echo "$as_me: failed program was:" >&5
13406 sed 's/^/| /' conftest.
$ac_ext >&5
13408 ac_header_compiler
=no
13410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13412 echo "${ECHO_T}$ac_header_compiler" >&6
13414 # Is the header present?
13415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13417 cat >conftest.
$ac_ext <<_ACEOF
13420 cat confdefs.h
>>conftest.
$ac_ext
13421 cat >>conftest.
$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13423 #include <$ac_header>
13425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13426 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13428 grep -v '^ *+' conftest.er1
>conftest.err
13430 cat conftest.err
>&5
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); } >/dev
/null
; then
13433 if test -s conftest.err
; then
13434 ac_cpp_err
=$ac_c_preproc_warn_flag
13435 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13442 if test -z "$ac_cpp_err"; then
13443 ac_header_preproc
=yes
13445 echo "$as_me: failed program was:" >&5
13446 sed 's/^/| /' conftest.
$ac_ext >&5
13448 ac_header_preproc
=no
13450 rm -f conftest.err conftest.
$ac_ext
13451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13452 echo "${ECHO_T}$ac_header_preproc" >&6
13454 # So? What about this header?
13455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13461 ac_header_preproc
=yes
13464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13467 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13470 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13471 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13474 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13478 ## ----------------------------------------- ##
13479 ## Report this to wx-dev@lists.wxwidgets.org ##
13480 ## ----------------------------------------- ##
13483 sed "s/^/$as_me: WARNING: /" >&2
13486 echo "$as_me:$LINENO: checking for $ac_header" >&5
13487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 eval "$as_ac_Header=\$ac_header_preproc"
13493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13498 cat >>confdefs.h
<<_ACEOF
13499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13507 if test "$ac_cv_header_wchar_h" != "yes"; then
13509 for ac_header
in wcstr.h
13511 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13513 echo "$as_me:$LINENO: checking for $ac_header" >&5
13514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13516 echo $ECHO_N "(cached) $ECHO_C" >&6
13518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13521 # Is the header compilable?
13522 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13524 cat >conftest.
$ac_ext <<_ACEOF
13527 cat confdefs.h
>>conftest.
$ac_ext
13528 cat >>conftest.
$ac_ext <<_ACEOF
13529 /* end confdefs.h. */
13530 $ac_includes_default
13531 #include <$ac_header>
13533 rm -f conftest.
$ac_objext
13534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13535 (eval $ac_compile) 2>conftest.er1
13537 grep -v '^ *+' conftest.er1
>conftest.err
13539 cat conftest.err
>&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } &&
13542 { ac_try
='test -z "$ac_c_werror_flag"
13543 || test ! -s conftest.err'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; } &&
13549 { ac_try
='test -s conftest.$ac_objext'
13550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13551 (eval $ac_try) 2>&5
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); }; }; then
13555 ac_header_compiler
=yes
13557 echo "$as_me: failed program was:" >&5
13558 sed 's/^/| /' conftest.
$ac_ext >&5
13560 ac_header_compiler
=no
13562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13564 echo "${ECHO_T}$ac_header_compiler" >&6
13566 # Is the header present?
13567 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13568 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13569 cat >conftest.
$ac_ext <<_ACEOF
13572 cat confdefs.h
>>conftest.
$ac_ext
13573 cat >>conftest.
$ac_ext <<_ACEOF
13574 /* end confdefs.h. */
13575 #include <$ac_header>
13577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13578 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13580 grep -v '^ *+' conftest.er1
>conftest.err
13582 cat conftest.err
>&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); } >/dev
/null
; then
13585 if test -s conftest.err
; then
13586 ac_cpp_err
=$ac_c_preproc_warn_flag
13587 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13594 if test -z "$ac_cpp_err"; then
13595 ac_header_preproc
=yes
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.
$ac_ext >&5
13600 ac_header_preproc
=no
13602 rm -f conftest.err conftest.
$ac_ext
13603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13604 echo "${ECHO_T}$ac_header_preproc" >&6
13606 # So? What about this header?
13607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13609 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13610 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13612 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13613 ac_header_preproc
=yes
13616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13620 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13621 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13622 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13623 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13626 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13627 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13630 ## ----------------------------------------- ##
13631 ## Report this to wx-dev@lists.wxwidgets.org ##
13632 ## ----------------------------------------- ##
13635 sed "s/^/$as_me: WARNING: /" >&2
13638 echo "$as_me:$LINENO: checking for $ac_header" >&5
13639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 eval "$as_ac_Header=\$ac_header_preproc"
13645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13650 cat >>confdefs.h
<<_ACEOF
13651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13661 for ac_header
in fnmatch.h
13663 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13665 echo "$as_me:$LINENO: checking for $ac_header" >&5
13666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13668 echo $ECHO_N "(cached) $ECHO_C" >&6
13670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13673 # Is the header compilable?
13674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13676 cat >conftest.
$ac_ext <<_ACEOF
13679 cat confdefs.h
>>conftest.
$ac_ext
13680 cat >>conftest.
$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13682 $ac_includes_default
13683 #include <$ac_header>
13685 rm -f conftest.
$ac_objext
13686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13687 (eval $ac_compile) 2>conftest.er1
13689 grep -v '^ *+' conftest.er1
>conftest.err
13691 cat conftest.err
>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } &&
13694 { ac_try
='test -z "$ac_c_werror_flag"
13695 || test ! -s conftest.err'
13696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13697 (eval $ac_try) 2>&5
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); }; } &&
13701 { ac_try
='test -s conftest.$ac_objext'
13702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13703 (eval $ac_try) 2>&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); }; }; then
13707 ac_header_compiler
=yes
13709 echo "$as_me: failed program was:" >&5
13710 sed 's/^/| /' conftest.
$ac_ext >&5
13712 ac_header_compiler
=no
13714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13716 echo "${ECHO_T}$ac_header_compiler" >&6
13718 # Is the header present?
13719 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13720 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13721 cat >conftest.
$ac_ext <<_ACEOF
13724 cat confdefs.h
>>conftest.
$ac_ext
13725 cat >>conftest.
$ac_ext <<_ACEOF
13726 /* end confdefs.h. */
13727 #include <$ac_header>
13729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13730 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13732 grep -v '^ *+' conftest.er1
>conftest.err
13734 cat conftest.err
>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); } >/dev
/null
; then
13737 if test -s conftest.err
; then
13738 ac_cpp_err
=$ac_c_preproc_warn_flag
13739 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13746 if test -z "$ac_cpp_err"; then
13747 ac_header_preproc
=yes
13749 echo "$as_me: failed program was:" >&5
13750 sed 's/^/| /' conftest.
$ac_ext >&5
13752 ac_header_preproc
=no
13754 rm -f conftest.err conftest.
$ac_ext
13755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13756 echo "${ECHO_T}$ac_header_preproc" >&6
13758 # So? What about this header?
13759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13761 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13762 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13764 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13765 ac_header_preproc
=yes
13768 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13769 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13770 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13771 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13772 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13773 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13774 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13775 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13778 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13779 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13782 ## ----------------------------------------- ##
13783 ## Report this to wx-dev@lists.wxwidgets.org ##
13784 ## ----------------------------------------- ##
13787 sed "s/^/$as_me: WARNING: /" >&2
13790 echo "$as_me:$LINENO: checking for $ac_header" >&5
13791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13793 echo $ECHO_N "(cached) $ECHO_C" >&6
13795 eval "$as_ac_Header=\$ac_header_preproc"
13797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13802 cat >>confdefs.h
<<_ACEOF
13803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13811 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13813 for ac_func
in fnmatch
13815 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13816 echo "$as_me:$LINENO: checking for $ac_func" >&5
13817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13818 if eval "test \"\${$as_ac_var+set}\" = set"; then
13819 echo $ECHO_N "(cached) $ECHO_C" >&6
13821 cat >conftest.
$ac_ext <<_ACEOF
13824 cat confdefs.h
>>conftest.
$ac_ext
13825 cat >>conftest.
$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13829 #define $ac_func innocuous_$ac_func
13831 /* System header to define __stub macros and hopefully few prototypes,
13832 which can conflict with char $ac_func (); below.
13833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13834 <limits.h> exists even on freestanding compilers. */
13837 # include <limits.h>
13839 # include <assert.h>
13844 /* Override any gcc2 internal prototype to avoid an error. */
13849 /* We use char because int might match the return type of a gcc2
13850 builtin and then its argument prototype would still apply. */
13852 /* The GNU C library defines this for functions which it implements
13853 to always fail with ENOSYS. Some functions are actually named
13854 something starting with __ and the normal name is an alias. */
13855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13858 char (*f) () = $ac_func;
13867 return f != $ac_func;
13872 rm -f conftest.
$ac_objext conftest
$ac_exeext
13873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13874 (eval $ac_link) 2>conftest.er1
13876 grep -v '^ *+' conftest.er1
>conftest.err
13878 cat conftest.err
>&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); } &&
13881 { ac_try
='test -z "$ac_c_werror_flag"
13882 || test ! -s conftest.err'
13883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884 (eval $ac_try) 2>&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); }; } &&
13888 { ac_try
='test -s conftest$ac_exeext'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; }; then
13894 eval "$as_ac_var=yes"
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.
$ac_ext >&5
13899 eval "$as_ac_var=no"
13901 rm -f conftest.err conftest.
$ac_objext \
13902 conftest
$ac_exeext conftest.
$ac_ext
13904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13906 if test `eval echo '${'$as_ac_var'}'` = yes; then
13907 cat >>confdefs.h
<<_ACEOF
13908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13917 for ac_header
in langinfo.h
13919 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13921 echo "$as_me:$LINENO: checking for $ac_header" >&5
13922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13924 echo $ECHO_N "(cached) $ECHO_C" >&6
13926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13929 # Is the header compilable?
13930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13932 cat >conftest.
$ac_ext <<_ACEOF
13935 cat confdefs.h
>>conftest.
$ac_ext
13936 cat >>conftest.
$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 $ac_includes_default
13939 #include <$ac_header>
13941 rm -f conftest.
$ac_objext
13942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13943 (eval $ac_compile) 2>conftest.er1
13945 grep -v '^ *+' conftest.er1
>conftest.err
13947 cat conftest.err
>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); } &&
13950 { ac_try
='test -z "$ac_c_werror_flag"
13951 || test ! -s conftest.err'
13952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13953 (eval $ac_try) 2>&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; } &&
13957 { ac_try
='test -s conftest.$ac_objext'
13958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13959 (eval $ac_try) 2>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; }; then
13963 ac_header_compiler
=yes
13965 echo "$as_me: failed program was:" >&5
13966 sed 's/^/| /' conftest.
$ac_ext >&5
13968 ac_header_compiler
=no
13970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13972 echo "${ECHO_T}$ac_header_compiler" >&6
13974 # Is the header present?
13975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13977 cat >conftest.
$ac_ext <<_ACEOF
13980 cat confdefs.h
>>conftest.
$ac_ext
13981 cat >>conftest.
$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983 #include <$ac_header>
13985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13988 grep -v '^ *+' conftest.er1
>conftest.err
13990 cat conftest.err
>&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); } >/dev
/null
; then
13993 if test -s conftest.err
; then
13994 ac_cpp_err
=$ac_c_preproc_warn_flag
13995 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14002 if test -z "$ac_cpp_err"; then
14003 ac_header_preproc
=yes
14005 echo "$as_me: failed program was:" >&5
14006 sed 's/^/| /' conftest.
$ac_ext >&5
14008 ac_header_preproc
=no
14010 rm -f conftest.err conftest.
$ac_ext
14011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14012 echo "${ECHO_T}$ac_header_preproc" >&6
14014 # So? What about this header?
14015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14017 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14021 ac_header_preproc
=yes
14024 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14026 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14027 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14028 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14030 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14031 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14034 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14038 ## ----------------------------------------- ##
14039 ## Report this to wx-dev@lists.wxwidgets.org ##
14040 ## ----------------------------------------- ##
14043 sed "s/^/$as_me: WARNING: /" >&2
14046 echo "$as_me:$LINENO: checking for $ac_header" >&5
14047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14049 echo $ECHO_N "(cached) $ECHO_C" >&6
14051 eval "$as_ac_Header=\$ac_header_preproc"
14053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14058 cat >>confdefs.h
<<_ACEOF
14059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14068 *-pc-os2_emx | *-pc-os2-emx )
14069 if test $ac_cv_header_langinfo_h = "yes"; then
14070 LIBS
="$LIBS -lintl"
14075 if test "$wxUSE_GUI" = "yes"; then
14076 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14078 for ac_header
in X
11/Xlib.h
14080 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14082 echo "$as_me:$LINENO: checking for $ac_header" >&5
14083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14090 # Is the header compilable?
14091 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14093 cat >conftest.
$ac_ext <<_ACEOF
14096 cat confdefs.h
>>conftest.
$ac_ext
14097 cat >>conftest.
$ac_ext <<_ACEOF
14098 /* end confdefs.h. */
14099 $ac_includes_default
14100 #include <$ac_header>
14102 rm -f conftest.
$ac_objext
14103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14104 (eval $ac_compile) 2>conftest.er1
14106 grep -v '^ *+' conftest.er1
>conftest.err
14108 cat conftest.err
>&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); } &&
14111 { ac_try
='test -z "$ac_c_werror_flag"
14112 || test ! -s conftest.err'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; } &&
14118 { ac_try
='test -s conftest.$ac_objext'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; }; then
14124 ac_header_compiler
=yes
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.
$ac_ext >&5
14129 ac_header_compiler
=no
14131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14133 echo "${ECHO_T}$ac_header_compiler" >&6
14135 # Is the header present?
14136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14138 cat >conftest.
$ac_ext <<_ACEOF
14141 cat confdefs.h
>>conftest.
$ac_ext
14142 cat >>conftest.
$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14144 #include <$ac_header>
14146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14147 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14149 grep -v '^ *+' conftest.er1
>conftest.err
14151 cat conftest.err
>&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); } >/dev
/null
; then
14154 if test -s conftest.err
; then
14155 ac_cpp_err
=$ac_c_preproc_warn_flag
14156 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14163 if test -z "$ac_cpp_err"; then
14164 ac_header_preproc
=yes
14166 echo "$as_me: failed program was:" >&5
14167 sed 's/^/| /' conftest.
$ac_ext >&5
14169 ac_header_preproc
=no
14171 rm -f conftest.err conftest.
$ac_ext
14172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14173 echo "${ECHO_T}$ac_header_preproc" >&6
14175 # So? What about this header?
14176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14182 ac_header_preproc
=yes
14185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14189 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14191 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14192 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14195 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14199 ## ----------------------------------------- ##
14200 ## Report this to wx-dev@lists.wxwidgets.org ##
14201 ## ----------------------------------------- ##
14204 sed "s/^/$as_me: WARNING: /" >&2
14207 echo "$as_me:$LINENO: checking for $ac_header" >&5
14208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14210 echo $ECHO_N "(cached) $ECHO_C" >&6
14212 eval "$as_ac_Header=\$ac_header_preproc"
14214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14219 cat >>confdefs.h
<<_ACEOF
14220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14228 for ac_header
in X
11/XKBlib.h
14230 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14231 echo "$as_me:$LINENO: checking for $ac_header" >&5
14232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14234 echo $ECHO_N "(cached) $ECHO_C" >&6
14236 cat >conftest.
$ac_ext <<_ACEOF
14239 cat confdefs.h
>>conftest.
$ac_ext
14240 cat >>conftest.
$ac_ext <<_ACEOF
14241 /* end confdefs.h. */
14243 #if HAVE_X11_XLIB_H
14244 #include <X11/Xlib.h>
14248 #include <$ac_header>
14250 rm -f conftest.
$ac_objext
14251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14252 (eval $ac_compile) 2>conftest.er1
14254 grep -v '^ *+' conftest.er1
>conftest.err
14256 cat conftest.err
>&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); } &&
14259 { ac_try
='test -z "$ac_c_werror_flag"
14260 || test ! -s conftest.err'
14261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262 (eval $ac_try) 2>&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); }; } &&
14266 { ac_try
='test -s conftest.$ac_objext'
14267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14268 (eval $ac_try) 2>&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); }; }; then
14272 eval "$as_ac_Header=yes"
14274 echo "$as_me: failed program was:" >&5
14275 sed 's/^/| /' conftest.
$ac_ext >&5
14277 eval "$as_ac_Header=no"
14279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14284 cat >>confdefs.h
<<_ACEOF
14285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14296 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14297 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14298 if test "${ac_cv_c_const+set}" = set; then
14299 echo $ECHO_N "(cached) $ECHO_C" >&6
14301 cat >conftest.
$ac_ext <<_ACEOF
14304 cat confdefs.h
>>conftest.
$ac_ext
14305 cat >>conftest.
$ac_ext <<_ACEOF
14306 /* end confdefs.h. */
14311 /* FIXME: Include the comments suggested by Paul. */
14312 #ifndef __cplusplus
14313 /* Ultrix mips cc rejects this. */
14314 typedef int charset[2];
14316 /* SunOS 4.1.1 cc rejects this. */
14317 char const *const *ccp;
14319 /* NEC SVR4.0.2 mips cc rejects this. */
14320 struct point {int x, y;};
14321 static struct point const zero = {0,0};
14322 /* AIX XL C 1.02.0.0 rejects this.
14323 It does not let you subtract one const X* pointer from another in
14324 an arm of an if-expression whose if-part is not a constant
14326 const char *g = "string";
14327 ccp = &g + (g ? g-g : 0);
14328 /* HPUX 7.0 cc rejects these. */
14331 ccp = (char const *const *) p;
14332 { /* SCO 3.2v4 cc rejects this. */
14334 char const *s = 0 ? (char *) 0 : (char const *) 0;
14338 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14339 int x[] = {25, 17};
14340 const int *foo = &x[0];
14343 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14344 typedef const int *iptr;
14348 { /* AIX XL C 1.02.0.0 rejects this saying
14349 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14350 struct s { int j; const int *ap[3]; };
14351 struct s *b; b->j = 5;
14353 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14354 const int foo = 10;
14362 rm -f conftest.
$ac_objext
14363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14364 (eval $ac_compile) 2>conftest.er1
14366 grep -v '^ *+' conftest.er1
>conftest.err
14368 cat conftest.err
>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); } &&
14371 { ac_try
='test -z "$ac_c_werror_flag"
14372 || test ! -s conftest.err'
14373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14374 (eval $ac_try) 2>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; } &&
14378 { ac_try
='test -s conftest.$ac_objext'
14379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14380 (eval $ac_try) 2>&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); }; }; then
14386 echo "$as_me: failed program was:" >&5
14387 sed 's/^/| /' conftest.
$ac_ext >&5
14391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14393 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14394 echo "${ECHO_T}$ac_cv_c_const" >&6
14395 if test $ac_cv_c_const = no
; then
14397 cat >>confdefs.h
<<\_ACEOF
14403 echo "$as_me:$LINENO: checking for inline" >&5
14404 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14405 if test "${ac_cv_c_inline+set}" = set; then
14406 echo $ECHO_N "(cached) $ECHO_C" >&6
14409 for ac_kw
in inline __inline__ __inline
; do
14410 cat >conftest.
$ac_ext <<_ACEOF
14413 cat confdefs.h
>>conftest.
$ac_ext
14414 cat >>conftest.
$ac_ext <<_ACEOF
14415 /* end confdefs.h. */
14416 #ifndef __cplusplus
14418 static $ac_kw foo_t static_foo () {return 0; }
14419 $ac_kw foo_t foo () {return 0; }
14423 rm -f conftest.
$ac_objext
14424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14425 (eval $ac_compile) 2>conftest.er1
14427 grep -v '^ *+' conftest.er1
>conftest.err
14429 cat conftest.err
>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); } &&
14432 { ac_try
='test -z "$ac_c_werror_flag"
14433 || test ! -s conftest.err'
14434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14435 (eval $ac_try) 2>&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; } &&
14439 { ac_try
='test -s conftest.$ac_objext'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; }; then
14445 ac_cv_c_inline
=$ac_kw; break
14447 echo "$as_me: failed program was:" >&5
14448 sed 's/^/| /' conftest.
$ac_ext >&5
14451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14455 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14456 echo "${ECHO_T}$ac_cv_c_inline" >&6
14459 case $ac_cv_c_inline in
14462 case $ac_cv_c_inline in
14464 *) ac_val
=$ac_cv_c_inline;;
14466 cat >>confdefs.h
<<_ACEOF
14467 #ifndef __cplusplus
14468 #define inline $ac_val
14475 echo "$as_me:$LINENO: checking for char" >&5
14476 echo $ECHO_N "checking for char... $ECHO_C" >&6
14477 if test "${ac_cv_type_char+set}" = set; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 cat >conftest.
$ac_ext <<_ACEOF
14483 cat confdefs.h
>>conftest.
$ac_ext
14484 cat >>conftest.
$ac_ext <<_ACEOF
14485 /* end confdefs.h. */
14486 $ac_includes_default
14498 rm -f conftest.
$ac_objext
14499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14500 (eval $ac_compile) 2>conftest.er1
14502 grep -v '^ *+' conftest.er1
>conftest.err
14504 cat conftest.err
>&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); } &&
14507 { ac_try
='test -z "$ac_c_werror_flag"
14508 || test ! -s conftest.err'
14509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510 (eval $ac_try) 2>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }; } &&
14514 { ac_try
='test -s conftest.$ac_objext'
14515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14516 (eval $ac_try) 2>&5
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); }; }; then
14520 ac_cv_type_char
=yes
14522 echo "$as_me: failed program was:" >&5
14523 sed 's/^/| /' conftest.
$ac_ext >&5
14527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14529 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14530 echo "${ECHO_T}$ac_cv_type_char" >&6
14532 echo "$as_me:$LINENO: checking size of char" >&5
14533 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14534 if test "${ac_cv_sizeof_char+set}" = set; then
14535 echo $ECHO_N "(cached) $ECHO_C" >&6
14537 if test "$ac_cv_type_char" = yes; then
14538 # The cast to unsigned long works around a bug in the HP C Compiler
14539 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14540 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14541 # This bug is HP SR number 8606223364.
14542 if test "$cross_compiling" = yes; then
14543 # Depending upon the size, compute the lo and hi bounds.
14544 cat >conftest.
$ac_ext <<_ACEOF
14547 cat confdefs.h
>>conftest.
$ac_ext
14548 cat >>conftest.
$ac_ext <<_ACEOF
14549 /* end confdefs.h. */
14550 $ac_includes_default
14554 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14561 rm -f conftest.
$ac_objext
14562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14563 (eval $ac_compile) 2>conftest.er1
14565 grep -v '^ *+' conftest.er1
>conftest.err
14567 cat conftest.err
>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } &&
14570 { ac_try
='test -z "$ac_c_werror_flag"
14571 || test ! -s conftest.err'
14572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14573 (eval $ac_try) 2>&5
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); }; } &&
14577 { ac_try
='test -s conftest.$ac_objext'
14578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14579 (eval $ac_try) 2>&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); }; }; then
14585 cat >conftest.
$ac_ext <<_ACEOF
14588 cat confdefs.h
>>conftest.
$ac_ext
14589 cat >>conftest.
$ac_ext <<_ACEOF
14590 /* end confdefs.h. */
14591 $ac_includes_default
14595 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14602 rm -f conftest.
$ac_objext
14603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14604 (eval $ac_compile) 2>conftest.er1
14606 grep -v '^ *+' conftest.er1
>conftest.err
14608 cat conftest.err
>&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); } &&
14611 { ac_try
='test -z "$ac_c_werror_flag"
14612 || test ! -s conftest.err'
14613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14614 (eval $ac_try) 2>&5
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); }; } &&
14618 { ac_try
='test -s conftest.$ac_objext'
14619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14620 (eval $ac_try) 2>&5
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); }; }; then
14624 ac_hi
=$ac_mid; break
14626 echo "$as_me: failed program was:" >&5
14627 sed 's/^/| /' conftest.
$ac_ext >&5
14629 ac_lo
=`expr $ac_mid + 1`
14630 if test $ac_lo -le $ac_mid; then
14634 ac_mid
=`expr 2 '*' $ac_mid + 1`
14636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14639 echo "$as_me: failed program was:" >&5
14640 sed 's/^/| /' conftest.
$ac_ext >&5
14642 cat >conftest.
$ac_ext <<_ACEOF
14645 cat confdefs.h
>>conftest.
$ac_ext
14646 cat >>conftest.
$ac_ext <<_ACEOF
14647 /* end confdefs.h. */
14648 $ac_includes_default
14652 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14659 rm -f conftest.
$ac_objext
14660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14661 (eval $ac_compile) 2>conftest.er1
14663 grep -v '^ *+' conftest.er1
>conftest.err
14665 cat conftest.err
>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); } &&
14668 { ac_try
='test -z "$ac_c_werror_flag"
14669 || test ! -s conftest.err'
14670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14671 (eval $ac_try) 2>&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); }; } &&
14675 { ac_try
='test -s conftest.$ac_objext'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }; }; then
14683 cat >conftest.
$ac_ext <<_ACEOF
14686 cat confdefs.h
>>conftest.
$ac_ext
14687 cat >>conftest.
$ac_ext <<_ACEOF
14688 /* end confdefs.h. */
14689 $ac_includes_default
14693 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14700 rm -f conftest.
$ac_objext
14701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14702 (eval $ac_compile) 2>conftest.er1
14704 grep -v '^ *+' conftest.er1
>conftest.err
14706 cat conftest.err
>&5
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); } &&
14709 { ac_try
='test -z "$ac_c_werror_flag"
14710 || test ! -s conftest.err'
14711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14712 (eval $ac_try) 2>&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); }; } &&
14716 { ac_try
='test -s conftest.$ac_objext'
14717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14718 (eval $ac_try) 2>&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); }; }; then
14722 ac_lo
=$ac_mid; break
14724 echo "$as_me: failed program was:" >&5
14725 sed 's/^/| /' conftest.
$ac_ext >&5
14727 ac_hi
=`expr '(' $ac_mid ')' - 1`
14728 if test $ac_mid -le $ac_hi; then
14732 ac_mid
=`expr 2 '*' $ac_mid`
14734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.
$ac_ext >&5
14742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14745 # Binary search between lo and hi bounds.
14746 while test "x$ac_lo" != "x$ac_hi"; do
14747 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14748 cat >conftest.
$ac_ext <<_ACEOF
14751 cat confdefs.h
>>conftest.
$ac_ext
14752 cat >>conftest.
$ac_ext <<_ACEOF
14753 /* end confdefs.h. */
14754 $ac_includes_default
14758 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14765 rm -f conftest.
$ac_objext
14766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14767 (eval $ac_compile) 2>conftest.er1
14769 grep -v '^ *+' conftest.er1
>conftest.err
14771 cat conftest.err
>&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); } &&
14774 { ac_try
='test -z "$ac_c_werror_flag"
14775 || test ! -s conftest.err'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; } &&
14781 { ac_try
='test -s conftest.$ac_objext'
14782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14783 (eval $ac_try) 2>&5
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); }; }; then
14789 echo "$as_me: failed program was:" >&5
14790 sed 's/^/| /' conftest.
$ac_ext >&5
14792 ac_lo
=`expr '(' $ac_mid ')' + 1`
14794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14797 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14798 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14799 See \`config.log' for more details." >&5
14800 echo "$as_me: error: cannot compute sizeof (char), 77
14801 See \`config.log' for more details." >&2;}
14802 { (exit 1); exit 1; }; } ;;
14805 if test "$cross_compiling" = yes; then
14806 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14807 See \`config.log' for more details." >&5
14808 echo "$as_me: error: cannot run test program while cross compiling
14809 See \`config.log' for more details." >&2;}
14810 { (exit 1); exit 1; }; }
14812 cat >conftest.
$ac_ext <<_ACEOF
14815 cat confdefs.h
>>conftest.
$ac_ext
14816 cat >>conftest.
$ac_ext <<_ACEOF
14817 /* end confdefs.h. */
14818 $ac_includes_default
14819 long longval () { return (long) (sizeof (char)); }
14820 unsigned long ulongval () { return (long) (sizeof (char)); }
14822 #include <stdlib.h>
14827 FILE *f = fopen ("conftest.val", "w");
14830 if (((long) (sizeof (char))) < 0)
14832 long i = longval ();
14833 if (i != ((long) (sizeof (char))))
14835 fprintf (f, "%ld\n", i);
14839 unsigned long i = ulongval ();
14840 if (i != ((long) (sizeof (char))))
14842 fprintf (f, "%lu\n", i);
14844 exit (ferror (f) || fclose (f) != 0);
14850 rm -f conftest
$ac_exeext
14851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14852 (eval $ac_link) 2>&5
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14861 ac_cv_sizeof_char
=`cat conftest.val`
14863 echo "$as_me: program exited with status $ac_status" >&5
14864 echo "$as_me: failed program was:" >&5
14865 sed 's/^/| /' conftest.
$ac_ext >&5
14867 ( exit $ac_status )
14868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14869 See \`config.log' for more details." >&5
14870 echo "$as_me: error: cannot compute sizeof (char), 77
14871 See \`config.log' for more details." >&2;}
14872 { (exit 1); exit 1; }; }
14874 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14879 ac_cv_sizeof_char
=0
14882 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14883 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14884 cat >>confdefs.h
<<_ACEOF
14885 #define SIZEOF_CHAR $ac_cv_sizeof_char
14889 echo "$as_me:$LINENO: checking for short" >&5
14890 echo $ECHO_N "checking for short... $ECHO_C" >&6
14891 if test "${ac_cv_type_short+set}" = set; then
14892 echo $ECHO_N "(cached) $ECHO_C" >&6
14894 cat >conftest.
$ac_ext <<_ACEOF
14897 cat confdefs.h
>>conftest.
$ac_ext
14898 cat >>conftest.
$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14900 $ac_includes_default
14906 if (sizeof (short))
14912 rm -f conftest.
$ac_objext
14913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14914 (eval $ac_compile) 2>conftest.er1
14916 grep -v '^ *+' conftest.er1
>conftest.err
14918 cat conftest.err
>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } &&
14921 { ac_try
='test -z "$ac_c_werror_flag"
14922 || test ! -s conftest.err'
14923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924 (eval $ac_try) 2>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); }; } &&
14928 { ac_try
='test -s conftest.$ac_objext'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; }; then
14934 ac_cv_type_short
=yes
14936 echo "$as_me: failed program was:" >&5
14937 sed 's/^/| /' conftest.
$ac_ext >&5
14939 ac_cv_type_short
=no
14941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14943 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14944 echo "${ECHO_T}$ac_cv_type_short" >&6
14946 echo "$as_me:$LINENO: checking size of short" >&5
14947 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14948 if test "${ac_cv_sizeof_short+set}" = set; then
14949 echo $ECHO_N "(cached) $ECHO_C" >&6
14951 if test "$ac_cv_type_short" = yes; then
14952 # The cast to unsigned long works around a bug in the HP C Compiler
14953 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14954 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14955 # This bug is HP SR number 8606223364.
14956 if test "$cross_compiling" = yes; then
14957 # Depending upon the size, compute the lo and hi bounds.
14958 cat >conftest.
$ac_ext <<_ACEOF
14961 cat confdefs.h
>>conftest.
$ac_ext
14962 cat >>conftest.
$ac_ext <<_ACEOF
14963 /* end confdefs.h. */
14964 $ac_includes_default
14968 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14975 rm -f conftest.
$ac_objext
14976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14977 (eval $ac_compile) 2>conftest.er1
14979 grep -v '^ *+' conftest.er1
>conftest.err
14981 cat conftest.err
>&5
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); } &&
14984 { ac_try
='test -z "$ac_c_werror_flag"
14985 || test ! -s conftest.err'
14986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14987 (eval $ac_try) 2>&5
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); }; } &&
14991 { ac_try
='test -s conftest.$ac_objext'
14992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14993 (eval $ac_try) 2>&5
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); }; }; then
14999 cat >conftest.
$ac_ext <<_ACEOF
15002 cat confdefs.h
>>conftest.
$ac_ext
15003 cat >>conftest.
$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15005 $ac_includes_default
15009 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15016 rm -f conftest.
$ac_objext
15017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15018 (eval $ac_compile) 2>conftest.er1
15020 grep -v '^ *+' conftest.er1
>conftest.err
15022 cat conftest.err
>&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); } &&
15025 { ac_try
='test -z "$ac_c_werror_flag"
15026 || test ! -s conftest.err'
15027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15028 (eval $ac_try) 2>&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); }; } &&
15032 { ac_try
='test -s conftest.$ac_objext'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; }; then
15038 ac_hi
=$ac_mid; break
15040 echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.
$ac_ext >&5
15043 ac_lo
=`expr $ac_mid + 1`
15044 if test $ac_lo -le $ac_mid; then
15048 ac_mid
=`expr 2 '*' $ac_mid + 1`
15050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15053 echo "$as_me: failed program was:" >&5
15054 sed 's/^/| /' conftest.
$ac_ext >&5
15056 cat >conftest.
$ac_ext <<_ACEOF
15059 cat confdefs.h
>>conftest.
$ac_ext
15060 cat >>conftest.
$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15062 $ac_includes_default
15066 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15073 rm -f conftest.
$ac_objext
15074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15075 (eval $ac_compile) 2>conftest.er1
15077 grep -v '^ *+' conftest.er1
>conftest.err
15079 cat conftest.err
>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } &&
15082 { ac_try
='test -z "$ac_c_werror_flag"
15083 || test ! -s conftest.err'
15084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15085 (eval $ac_try) 2>&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); }; } &&
15089 { ac_try
='test -s conftest.$ac_objext'
15090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091 (eval $ac_try) 2>&5
15093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094 (exit $ac_status); }; }; then
15097 cat >conftest.
$ac_ext <<_ACEOF
15100 cat confdefs.h
>>conftest.
$ac_ext
15101 cat >>conftest.
$ac_ext <<_ACEOF
15102 /* end confdefs.h. */
15103 $ac_includes_default
15107 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15114 rm -f conftest.
$ac_objext
15115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15116 (eval $ac_compile) 2>conftest.er1
15118 grep -v '^ *+' conftest.er1
>conftest.err
15120 cat conftest.err
>&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } &&
15123 { ac_try
='test -z "$ac_c_werror_flag"
15124 || test ! -s conftest.err'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; } &&
15130 { ac_try
='test -s conftest.$ac_objext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15136 ac_lo
=$ac_mid; break
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.
$ac_ext >&5
15141 ac_hi
=`expr '(' $ac_mid ')' - 1`
15142 if test $ac_mid -le $ac_hi; then
15146 ac_mid
=`expr 2 '*' $ac_mid`
15148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15151 echo "$as_me: failed program was:" >&5
15152 sed 's/^/| /' conftest.
$ac_ext >&5
15156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15159 # Binary search between lo and hi bounds.
15160 while test "x$ac_lo" != "x$ac_hi"; do
15161 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15162 cat >conftest.
$ac_ext <<_ACEOF
15165 cat confdefs.h
>>conftest.
$ac_ext
15166 cat >>conftest.
$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15168 $ac_includes_default
15172 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15179 rm -f conftest.
$ac_objext
15180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15181 (eval $ac_compile) 2>conftest.er1
15183 grep -v '^ *+' conftest.er1
>conftest.err
15185 cat conftest.err
>&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); } &&
15188 { ac_try
='test -z "$ac_c_werror_flag"
15189 || test ! -s conftest.err'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; } &&
15195 { ac_try
='test -s conftest.$ac_objext'
15196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15197 (eval $ac_try) 2>&5
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; }; then
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.
$ac_ext >&5
15206 ac_lo
=`expr '(' $ac_mid ')' + 1`
15208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15211 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15212 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15213 See \`config.log' for more details." >&5
15214 echo "$as_me: error: cannot compute sizeof (short), 77
15215 See \`config.log' for more details." >&2;}
15216 { (exit 1); exit 1; }; } ;;
15219 if test "$cross_compiling" = yes; then
15220 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15221 See \`config.log' for more details." >&5
15222 echo "$as_me: error: cannot run test program while cross compiling
15223 See \`config.log' for more details." >&2;}
15224 { (exit 1); exit 1; }; }
15226 cat >conftest.
$ac_ext <<_ACEOF
15229 cat confdefs.h
>>conftest.
$ac_ext
15230 cat >>conftest.
$ac_ext <<_ACEOF
15231 /* end confdefs.h. */
15232 $ac_includes_default
15233 long longval () { return (long) (sizeof (short)); }
15234 unsigned long ulongval () { return (long) (sizeof (short)); }
15236 #include <stdlib.h>
15241 FILE *f = fopen ("conftest.val", "w");
15244 if (((long) (sizeof (short))) < 0)
15246 long i = longval ();
15247 if (i != ((long) (sizeof (short))))
15249 fprintf (f, "%ld\n", i);
15253 unsigned long i = ulongval ();
15254 if (i != ((long) (sizeof (short))))
15256 fprintf (f, "%lu\n", i);
15258 exit (ferror (f) || fclose (f) != 0);
15264 rm -f conftest
$ac_exeext
15265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15266 (eval $ac_link) 2>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15271 (eval $ac_try) 2>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }; }; then
15275 ac_cv_sizeof_short
=`cat conftest.val`
15277 echo "$as_me: program exited with status $ac_status" >&5
15278 echo "$as_me: failed program was:" >&5
15279 sed 's/^/| /' conftest.
$ac_ext >&5
15281 ( exit $ac_status )
15282 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15283 See \`config.log' for more details." >&5
15284 echo "$as_me: error: cannot compute sizeof (short), 77
15285 See \`config.log' for more details." >&2;}
15286 { (exit 1); exit 1; }; }
15288 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15293 ac_cv_sizeof_short
=0
15296 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15297 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15298 cat >>confdefs.h
<<_ACEOF
15299 #define SIZEOF_SHORT $ac_cv_sizeof_short
15303 echo "$as_me:$LINENO: checking for void *" >&5
15304 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15305 if test "${ac_cv_type_void_p+set}" = set; then
15306 echo $ECHO_N "(cached) $ECHO_C" >&6
15308 cat >conftest.
$ac_ext <<_ACEOF
15311 cat confdefs.h
>>conftest.
$ac_ext
15312 cat >>conftest.
$ac_ext <<_ACEOF
15313 /* end confdefs.h. */
15314 $ac_includes_default
15320 if (sizeof (void *))
15326 rm -f conftest.
$ac_objext
15327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15328 (eval $ac_compile) 2>conftest.er1
15330 grep -v '^ *+' conftest.er1
>conftest.err
15332 cat conftest.err
>&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } &&
15335 { ac_try
='test -z "$ac_c_werror_flag"
15336 || test ! -s conftest.err'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try
='test -s conftest.$ac_objext'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; }; then
15348 ac_cv_type_void_p
=yes
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.
$ac_ext >&5
15353 ac_cv_type_void_p
=no
15355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15357 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15358 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15360 echo "$as_me:$LINENO: checking size of void *" >&5
15361 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15362 if test "${ac_cv_sizeof_void_p+set}" = set; then
15363 echo $ECHO_N "(cached) $ECHO_C" >&6
15365 if test "$ac_cv_type_void_p" = yes; then
15366 # The cast to unsigned long works around a bug in the HP C Compiler
15367 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15368 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15369 # This bug is HP SR number 8606223364.
15370 if test "$cross_compiling" = yes; then
15371 # Depending upon the size, compute the lo and hi bounds.
15372 cat >conftest.
$ac_ext <<_ACEOF
15375 cat confdefs.h
>>conftest.
$ac_ext
15376 cat >>conftest.
$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378 $ac_includes_default
15382 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15389 rm -f conftest.
$ac_objext
15390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15391 (eval $ac_compile) 2>conftest.er1
15393 grep -v '^ *+' conftest.er1
>conftest.err
15395 cat conftest.err
>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); } &&
15398 { ac_try
='test -z "$ac_c_werror_flag"
15399 || test ! -s conftest.err'
15400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15401 (eval $ac_try) 2>&5
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); }; } &&
15405 { ac_try
='test -s conftest.$ac_objext'
15406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15407 (eval $ac_try) 2>&5
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); }; }; then
15413 cat >conftest.
$ac_ext <<_ACEOF
15416 cat confdefs.h
>>conftest.
$ac_ext
15417 cat >>conftest.
$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419 $ac_includes_default
15423 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15430 rm -f conftest.
$ac_objext
15431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15432 (eval $ac_compile) 2>conftest.er1
15434 grep -v '^ *+' conftest.er1
>conftest.err
15436 cat conftest.err
>&5
15437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438 (exit $ac_status); } &&
15439 { ac_try
='test -z "$ac_c_werror_flag"
15440 || test ! -s conftest.err'
15441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15442 (eval $ac_try) 2>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }; } &&
15446 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15452 ac_hi
=$ac_mid; break
15454 echo "$as_me: failed program was:" >&5
15455 sed 's/^/| /' conftest.
$ac_ext >&5
15457 ac_lo
=`expr $ac_mid + 1`
15458 if test $ac_lo -le $ac_mid; then
15462 ac_mid
=`expr 2 '*' $ac_mid + 1`
15464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15467 echo "$as_me: failed program was:" >&5
15468 sed 's/^/| /' conftest.
$ac_ext >&5
15470 cat >conftest.
$ac_ext <<_ACEOF
15473 cat confdefs.h
>>conftest.
$ac_ext
15474 cat >>conftest.
$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15476 $ac_includes_default
15480 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15487 rm -f conftest.
$ac_objext
15488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15489 (eval $ac_compile) 2>conftest.er1
15491 grep -v '^ *+' conftest.er1
>conftest.err
15493 cat conftest.err
>&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); } &&
15496 { ac_try
='test -z "$ac_c_werror_flag"
15497 || test ! -s conftest.err'
15498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15499 (eval $ac_try) 2>&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; } &&
15503 { ac_try
='test -s conftest.$ac_objext'
15504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15505 (eval $ac_try) 2>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; }; then
15511 cat >conftest.
$ac_ext <<_ACEOF
15514 cat confdefs.h
>>conftest.
$ac_ext
15515 cat >>conftest.
$ac_ext <<_ACEOF
15516 /* end confdefs.h. */
15517 $ac_includes_default
15521 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15528 rm -f conftest.
$ac_objext
15529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15530 (eval $ac_compile) 2>conftest.er1
15532 grep -v '^ *+' conftest.er1
>conftest.err
15534 cat conftest.err
>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); } &&
15537 { ac_try
='test -z "$ac_c_werror_flag"
15538 || test ! -s conftest.err'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; } &&
15544 { ac_try
='test -s conftest.$ac_objext'
15545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546 (eval $ac_try) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; }; then
15550 ac_lo
=$ac_mid; break
15552 echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.
$ac_ext >&5
15555 ac_hi
=`expr '(' $ac_mid ')' - 1`
15556 if test $ac_mid -le $ac_hi; then
15560 ac_mid
=`expr 2 '*' $ac_mid`
15562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15565 echo "$as_me: failed program was:" >&5
15566 sed 's/^/| /' conftest.
$ac_ext >&5
15570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15573 # Binary search between lo and hi bounds.
15574 while test "x$ac_lo" != "x$ac_hi"; do
15575 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15576 cat >conftest.
$ac_ext <<_ACEOF
15579 cat confdefs.h
>>conftest.
$ac_ext
15580 cat >>conftest.
$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15582 $ac_includes_default
15586 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15593 rm -f conftest.
$ac_objext
15594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15595 (eval $ac_compile) 2>conftest.er1
15597 grep -v '^ *+' conftest.er1
>conftest.err
15599 cat conftest.err
>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); } &&
15602 { ac_try
='test -z "$ac_c_werror_flag"
15603 || test ! -s conftest.err'
15604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15605 (eval $ac_try) 2>&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); }; } &&
15609 { ac_try
='test -s conftest.$ac_objext'
15610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15611 (eval $ac_try) 2>&5
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); }; }; then
15617 echo "$as_me: failed program was:" >&5
15618 sed 's/^/| /' conftest.
$ac_ext >&5
15620 ac_lo
=`expr '(' $ac_mid ')' + 1`
15622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15625 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15626 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15627 See \`config.log' for more details." >&5
15628 echo "$as_me: error: cannot compute sizeof (void *), 77
15629 See \`config.log' for more details." >&2;}
15630 { (exit 1); exit 1; }; } ;;
15633 if test "$cross_compiling" = yes; then
15634 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15635 See \`config.log' for more details." >&5
15636 echo "$as_me: error: cannot run test program while cross compiling
15637 See \`config.log' for more details." >&2;}
15638 { (exit 1); exit 1; }; }
15640 cat >conftest.
$ac_ext <<_ACEOF
15643 cat confdefs.h
>>conftest.
$ac_ext
15644 cat >>conftest.
$ac_ext <<_ACEOF
15645 /* end confdefs.h. */
15646 $ac_includes_default
15647 long longval () { return (long) (sizeof (void *)); }
15648 unsigned long ulongval () { return (long) (sizeof (void *)); }
15650 #include <stdlib.h>
15655 FILE *f = fopen ("conftest.val", "w");
15658 if (((long) (sizeof (void *))) < 0)
15660 long i = longval ();
15661 if (i != ((long) (sizeof (void *))))
15663 fprintf (f, "%ld\n", i);
15667 unsigned long i = ulongval ();
15668 if (i != ((long) (sizeof (void *))))
15670 fprintf (f, "%lu\n", i);
15672 exit (ferror (f) || fclose (f) != 0);
15678 rm -f conftest
$ac_exeext
15679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15680 (eval $ac_link) 2>&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; }; then
15689 ac_cv_sizeof_void_p
=`cat conftest.val`
15691 echo "$as_me: program exited with status $ac_status" >&5
15692 echo "$as_me: failed program was:" >&5
15693 sed 's/^/| /' conftest.
$ac_ext >&5
15695 ( exit $ac_status )
15696 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15697 See \`config.log' for more details." >&5
15698 echo "$as_me: error: cannot compute sizeof (void *), 77
15699 See \`config.log' for more details." >&2;}
15700 { (exit 1); exit 1; }; }
15702 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15707 ac_cv_sizeof_void_p
=0
15710 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15711 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15712 cat >>confdefs.h
<<_ACEOF
15713 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15717 echo "$as_me:$LINENO: checking for int" >&5
15718 echo $ECHO_N "checking for int... $ECHO_C" >&6
15719 if test "${ac_cv_type_int+set}" = set; then
15720 echo $ECHO_N "(cached) $ECHO_C" >&6
15722 cat >conftest.
$ac_ext <<_ACEOF
15725 cat confdefs.h
>>conftest.
$ac_ext
15726 cat >>conftest.
$ac_ext <<_ACEOF
15727 /* end confdefs.h. */
15728 $ac_includes_default
15740 rm -f conftest.
$ac_objext
15741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15742 (eval $ac_compile) 2>conftest.er1
15744 grep -v '^ *+' conftest.er1
>conftest.err
15746 cat conftest.err
>&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); } &&
15749 { ac_try
='test -z "$ac_c_werror_flag"
15750 || 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"
15813 || test ! -s conftest.err'
15814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15815 (eval $ac_try) 2>&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); }; } &&
15819 { ac_try
='test -s conftest.$ac_objext'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15827 cat >conftest.
$ac_ext <<_ACEOF
15830 cat confdefs.h
>>conftest.
$ac_ext
15831 cat >>conftest.
$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15833 $ac_includes_default
15837 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15844 rm -f conftest.
$ac_objext
15845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15846 (eval $ac_compile) 2>conftest.er1
15848 grep -v '^ *+' conftest.er1
>conftest.err
15850 cat conftest.err
>&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } &&
15853 { ac_try
='test -z "$ac_c_werror_flag"
15854 || test ! -s conftest.err'
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; } &&
15860 { ac_try
='test -s conftest.$ac_objext'
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; }; then
15866 ac_hi
=$ac_mid; break
15868 echo "$as_me: failed program was:" >&5
15869 sed 's/^/| /' conftest.
$ac_ext >&5
15871 ac_lo
=`expr $ac_mid + 1`
15872 if test $ac_lo -le $ac_mid; then
15876 ac_mid
=`expr 2 '*' $ac_mid + 1`
15878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.
$ac_ext >&5
15884 cat >conftest.
$ac_ext <<_ACEOF
15887 cat confdefs.h
>>conftest.
$ac_ext
15888 cat >>conftest.
$ac_ext <<_ACEOF
15889 /* end confdefs.h. */
15890 $ac_includes_default
15894 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15901 rm -f conftest.
$ac_objext
15902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15903 (eval $ac_compile) 2>conftest.er1
15905 grep -v '^ *+' conftest.er1
>conftest.err
15907 cat conftest.err
>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); } &&
15910 { ac_try
='test -z "$ac_c_werror_flag"
15911 || test ! -s conftest.err'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; } &&
15917 { ac_try
='test -s conftest.$ac_objext'
15918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15919 (eval $ac_try) 2>&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); }; }; then
15925 cat >conftest.
$ac_ext <<_ACEOF
15928 cat confdefs.h
>>conftest.
$ac_ext
15929 cat >>conftest.
$ac_ext <<_ACEOF
15930 /* end confdefs.h. */
15931 $ac_includes_default
15935 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15942 rm -f conftest.
$ac_objext
15943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15944 (eval $ac_compile) 2>conftest.er1
15946 grep -v '^ *+' conftest.er1
>conftest.err
15948 cat conftest.err
>&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); } &&
15951 { ac_try
='test -z "$ac_c_werror_flag"
15952 || test ! -s conftest.err'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; } &&
15958 { ac_try
='test -s conftest.$ac_objext'
15959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15960 (eval $ac_try) 2>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; }; then
15964 ac_lo
=$ac_mid; break
15966 echo "$as_me: failed program was:" >&5
15967 sed 's/^/| /' conftest.
$ac_ext >&5
15969 ac_hi
=`expr '(' $ac_mid ')' - 1`
15970 if test $ac_mid -le $ac_hi; then
15974 ac_mid
=`expr 2 '*' $ac_mid`
15976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15979 echo "$as_me: failed program was:" >&5
15980 sed 's/^/| /' conftest.
$ac_ext >&5
15984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15987 # Binary search between lo and hi bounds.
15988 while test "x$ac_lo" != "x$ac_hi"; do
15989 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15990 cat >conftest.
$ac_ext <<_ACEOF
15993 cat confdefs.h
>>conftest.
$ac_ext
15994 cat >>conftest.
$ac_ext <<_ACEOF
15995 /* end confdefs.h. */
15996 $ac_includes_default
16000 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16007 rm -f conftest.
$ac_objext
16008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16009 (eval $ac_compile) 2>conftest.er1
16011 grep -v '^ *+' conftest.er1
>conftest.err
16013 cat conftest.err
>&5
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } &&
16016 { ac_try
='test -z "$ac_c_werror_flag"
16017 || test ! -s conftest.err'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; } &&
16023 { ac_try
='test -s conftest.$ac_objext'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; }; then
16031 echo "$as_me: failed program was:" >&5
16032 sed 's/^/| /' conftest.
$ac_ext >&5
16034 ac_lo
=`expr '(' $ac_mid ')' + 1`
16036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16039 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16040 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16041 See \`config.log' for more details." >&5
16042 echo "$as_me: error: cannot compute sizeof (int), 77
16043 See \`config.log' for more details." >&2;}
16044 { (exit 1); exit 1; }; } ;;
16047 if test "$cross_compiling" = yes; then
16048 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16049 See \`config.log' for more details." >&5
16050 echo "$as_me: error: cannot run test program while cross compiling
16051 See \`config.log' for more details." >&2;}
16052 { (exit 1); exit 1; }; }
16054 cat >conftest.
$ac_ext <<_ACEOF
16057 cat confdefs.h
>>conftest.
$ac_ext
16058 cat >>conftest.
$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16060 $ac_includes_default
16061 long longval () { return (long) (sizeof (int)); }
16062 unsigned long ulongval () { return (long) (sizeof (int)); }
16064 #include <stdlib.h>
16069 FILE *f = fopen ("conftest.val", "w");
16072 if (((long) (sizeof (int))) < 0)
16074 long i = longval ();
16075 if (i != ((long) (sizeof (int))))
16077 fprintf (f, "%ld\n", i);
16081 unsigned long i = ulongval ();
16082 if (i != ((long) (sizeof (int))))
16084 fprintf (f, "%lu\n", i);
16086 exit (ferror (f) || fclose (f) != 0);
16092 rm -f conftest
$ac_exeext
16093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16094 (eval $ac_link) 2>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; }; then
16103 ac_cv_sizeof_int
=`cat conftest.val`
16105 echo "$as_me: program exited with status $ac_status" >&5
16106 echo "$as_me: failed program was:" >&5
16107 sed 's/^/| /' conftest.
$ac_ext >&5
16109 ( exit $ac_status )
16110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16111 See \`config.log' for more details." >&5
16112 echo "$as_me: error: cannot compute sizeof (int), 77
16113 See \`config.log' for more details." >&2;}
16114 { (exit 1); exit 1; }; }
16116 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16124 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16125 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16126 cat >>confdefs.h
<<_ACEOF
16127 #define SIZEOF_INT $ac_cv_sizeof_int
16131 echo "$as_me:$LINENO: checking for long" >&5
16132 echo $ECHO_N "checking for long... $ECHO_C" >&6
16133 if test "${ac_cv_type_long+set}" = set; then
16134 echo $ECHO_N "(cached) $ECHO_C" >&6
16136 cat >conftest.
$ac_ext <<_ACEOF
16139 cat confdefs.h
>>conftest.
$ac_ext
16140 cat >>conftest.
$ac_ext <<_ACEOF
16141 /* end confdefs.h. */
16142 $ac_includes_default
16154 rm -f conftest.
$ac_objext
16155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16156 (eval $ac_compile) 2>conftest.er1
16158 grep -v '^ *+' conftest.er1
>conftest.err
16160 cat conftest.err
>&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } &&
16163 { ac_try
='test -z "$ac_c_werror_flag"
16164 || test ! -s conftest.err'
16165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16166 (eval $ac_try) 2>&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); }; } &&
16170 { ac_try
='test -s conftest.$ac_objext'
16171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16172 (eval $ac_try) 2>&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); }; }; then
16176 ac_cv_type_long
=yes
16178 echo "$as_me: failed program was:" >&5
16179 sed 's/^/| /' conftest.
$ac_ext >&5
16183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16185 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16186 echo "${ECHO_T}$ac_cv_type_long" >&6
16188 echo "$as_me:$LINENO: checking size of long" >&5
16189 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16190 if test "${ac_cv_sizeof_long+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 if test "$ac_cv_type_long" = yes; then
16194 # The cast to unsigned long works around a bug in the HP C Compiler
16195 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16196 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16197 # This bug is HP SR number 8606223364.
16198 if test "$cross_compiling" = yes; then
16199 # Depending upon the size, compute the lo and hi bounds.
16200 cat >conftest.
$ac_ext <<_ACEOF
16203 cat confdefs.h
>>conftest.
$ac_ext
16204 cat >>conftest.
$ac_ext <<_ACEOF
16205 /* end confdefs.h. */
16206 $ac_includes_default
16210 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16217 rm -f conftest.
$ac_objext
16218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16219 (eval $ac_compile) 2>conftest.er1
16221 grep -v '^ *+' conftest.er1
>conftest.err
16223 cat conftest.err
>&5
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); } &&
16226 { ac_try
='test -z "$ac_c_werror_flag"
16227 || test ! -s conftest.err'
16228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16229 (eval $ac_try) 2>&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); }; } &&
16233 { ac_try
='test -s conftest.$ac_objext'
16234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235 (eval $ac_try) 2>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }; }; then
16241 cat >conftest.
$ac_ext <<_ACEOF
16244 cat confdefs.h
>>conftest.
$ac_ext
16245 cat >>conftest.
$ac_ext <<_ACEOF
16246 /* end confdefs.h. */
16247 $ac_includes_default
16251 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16258 rm -f conftest.
$ac_objext
16259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16260 (eval $ac_compile) 2>conftest.er1
16262 grep -v '^ *+' conftest.er1
>conftest.err
16264 cat conftest.err
>&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); } &&
16267 { ac_try
='test -z "$ac_c_werror_flag"
16268 || test ! -s conftest.err'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; } &&
16274 { ac_try
='test -s conftest.$ac_objext'
16275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276 (eval $ac_try) 2>&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; }; then
16280 ac_hi
=$ac_mid; break
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.
$ac_ext >&5
16285 ac_lo
=`expr $ac_mid + 1`
16286 if test $ac_lo -le $ac_mid; then
16290 ac_mid
=`expr 2 '*' $ac_mid + 1`
16292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16295 echo "$as_me: failed program was:" >&5
16296 sed 's/^/| /' conftest.
$ac_ext >&5
16298 cat >conftest.
$ac_ext <<_ACEOF
16301 cat confdefs.h
>>conftest.
$ac_ext
16302 cat >>conftest.
$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16304 $ac_includes_default
16308 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16315 rm -f conftest.
$ac_objext
16316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16317 (eval $ac_compile) 2>conftest.er1
16319 grep -v '^ *+' conftest.er1
>conftest.err
16321 cat conftest.err
>&5
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); } &&
16324 { ac_try
='test -z "$ac_c_werror_flag"
16325 || test ! -s conftest.err'
16326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16327 (eval $ac_try) 2>&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); }; } &&
16331 { ac_try
='test -s conftest.$ac_objext'
16332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16333 (eval $ac_try) 2>&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); }; }; then
16339 cat >conftest.
$ac_ext <<_ACEOF
16342 cat confdefs.h
>>conftest.
$ac_ext
16343 cat >>conftest.
$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16345 $ac_includes_default
16349 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16356 rm -f conftest.
$ac_objext
16357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16358 (eval $ac_compile) 2>conftest.er1
16360 grep -v '^ *+' conftest.er1
>conftest.err
16362 cat conftest.err
>&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } &&
16365 { ac_try
='test -z "$ac_c_werror_flag"
16366 || test ! -s conftest.err'
16367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368 (eval $ac_try) 2>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; } &&
16372 { ac_try
='test -s conftest.$ac_objext'
16373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16374 (eval $ac_try) 2>&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); }; }; then
16378 ac_lo
=$ac_mid; break
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.
$ac_ext >&5
16383 ac_hi
=`expr '(' $ac_mid ')' - 1`
16384 if test $ac_mid -le $ac_hi; then
16388 ac_mid
=`expr 2 '*' $ac_mid`
16390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16393 echo "$as_me: failed program was:" >&5
16394 sed 's/^/| /' conftest.
$ac_ext >&5
16398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16401 # Binary search between lo and hi bounds.
16402 while test "x$ac_lo" != "x$ac_hi"; do
16403 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16404 cat >conftest.
$ac_ext <<_ACEOF
16407 cat confdefs.h
>>conftest.
$ac_ext
16408 cat >>conftest.
$ac_ext <<_ACEOF
16409 /* end confdefs.h. */
16410 $ac_includes_default
16414 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16421 rm -f conftest.
$ac_objext
16422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16423 (eval $ac_compile) 2>conftest.er1
16425 grep -v '^ *+' conftest.er1
>conftest.err
16427 cat conftest.err
>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } &&
16430 { ac_try
='test -z "$ac_c_werror_flag"
16431 || test ! -s conftest.err'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; } &&
16437 { ac_try
='test -s conftest.$ac_objext'
16438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439 (eval $ac_try) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }; }; then
16445 echo "$as_me: failed program was:" >&5
16446 sed 's/^/| /' conftest.
$ac_ext >&5
16448 ac_lo
=`expr '(' $ac_mid ')' + 1`
16450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16453 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16454 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16455 See \`config.log' for more details." >&5
16456 echo "$as_me: error: cannot compute sizeof (long), 77
16457 See \`config.log' for more details." >&2;}
16458 { (exit 1); exit 1; }; } ;;
16461 if test "$cross_compiling" = yes; then
16462 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16463 See \`config.log' for more details." >&5
16464 echo "$as_me: error: cannot run test program while cross compiling
16465 See \`config.log' for more details." >&2;}
16466 { (exit 1); exit 1; }; }
16468 cat >conftest.
$ac_ext <<_ACEOF
16471 cat confdefs.h
>>conftest.
$ac_ext
16472 cat >>conftest.
$ac_ext <<_ACEOF
16473 /* end confdefs.h. */
16474 $ac_includes_default
16475 long longval () { return (long) (sizeof (long)); }
16476 unsigned long ulongval () { return (long) (sizeof (long)); }
16478 #include <stdlib.h>
16483 FILE *f = fopen ("conftest.val", "w");
16486 if (((long) (sizeof (long))) < 0)
16488 long i = longval ();
16489 if (i != ((long) (sizeof (long))))
16491 fprintf (f, "%ld\n", i);
16495 unsigned long i = ulongval ();
16496 if (i != ((long) (sizeof (long))))
16498 fprintf (f, "%lu\n", i);
16500 exit (ferror (f) || fclose (f) != 0);
16506 rm -f conftest
$ac_exeext
16507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16508 (eval $ac_link) 2>&5
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 (eval $ac_try) 2>&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }; }; then
16517 ac_cv_sizeof_long
=`cat conftest.val`
16519 echo "$as_me: program exited with status $ac_status" >&5
16520 echo "$as_me: failed program was:" >&5
16521 sed 's/^/| /' conftest.
$ac_ext >&5
16523 ( exit $ac_status )
16524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16525 See \`config.log' for more details." >&5
16526 echo "$as_me: error: cannot compute sizeof (long), 77
16527 See \`config.log' for more details." >&2;}
16528 { (exit 1); exit 1; }; }
16530 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16535 ac_cv_sizeof_long
=0
16538 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16539 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16540 cat >>confdefs.h
<<_ACEOF
16541 #define SIZEOF_LONG $ac_cv_sizeof_long
16545 echo "$as_me:$LINENO: checking for size_t" >&5
16546 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16547 if test "${ac_cv_type_size_t+set}" = set; then
16548 echo $ECHO_N "(cached) $ECHO_C" >&6
16550 cat >conftest.
$ac_ext <<_ACEOF
16553 cat confdefs.h
>>conftest.
$ac_ext
16554 cat >>conftest.
$ac_ext <<_ACEOF
16555 /* end confdefs.h. */
16556 $ac_includes_default
16562 if (sizeof (size_t))
16568 rm -f conftest.
$ac_objext
16569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16570 (eval $ac_compile) 2>conftest.er1
16572 grep -v '^ *+' conftest.er1
>conftest.err
16574 cat conftest.err
>&5
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); } &&
16577 { ac_try
='test -z "$ac_c_werror_flag"
16578 || test ! -s conftest.err'
16579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16580 (eval $ac_try) 2>&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); }; } &&
16584 { ac_try
='test -s conftest.$ac_objext'
16585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16586 (eval $ac_try) 2>&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; }; then
16590 ac_cv_type_size_t
=yes
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.
$ac_ext >&5
16595 ac_cv_type_size_t
=no
16597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16599 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16600 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16602 echo "$as_me:$LINENO: checking size of size_t" >&5
16603 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16604 if test "${ac_cv_sizeof_size_t+set}" = set; then
16605 echo $ECHO_N "(cached) $ECHO_C" >&6
16607 if test "$ac_cv_type_size_t" = yes; then
16608 # The cast to unsigned long works around a bug in the HP C Compiler
16609 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16610 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16611 # This bug is HP SR number 8606223364.
16612 if test "$cross_compiling" = yes; then
16613 # Depending upon the size, compute the lo and hi bounds.
16614 cat >conftest.
$ac_ext <<_ACEOF
16617 cat confdefs.h
>>conftest.
$ac_ext
16618 cat >>conftest.
$ac_ext <<_ACEOF
16619 /* end confdefs.h. */
16620 $ac_includes_default
16624 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16631 rm -f conftest.
$ac_objext
16632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16633 (eval $ac_compile) 2>conftest.er1
16635 grep -v '^ *+' conftest.er1
>conftest.err
16637 cat conftest.err
>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); } &&
16640 { ac_try
='test -z "$ac_c_werror_flag"
16641 || test ! -s conftest.err'
16642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643 (eval $ac_try) 2>&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }; } &&
16647 { ac_try
='test -s conftest.$ac_objext'
16648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16649 (eval $ac_try) 2>&5
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }; }; then
16655 cat >conftest.
$ac_ext <<_ACEOF
16658 cat confdefs.h
>>conftest.
$ac_ext
16659 cat >>conftest.
$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16661 $ac_includes_default
16665 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16672 rm -f conftest.
$ac_objext
16673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16674 (eval $ac_compile) 2>conftest.er1
16676 grep -v '^ *+' conftest.er1
>conftest.err
16678 cat conftest.err
>&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } &&
16681 { ac_try
='test -z "$ac_c_werror_flag"
16682 || test ! -s conftest.err'
16683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16684 (eval $ac_try) 2>&5
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); }; } &&
16688 { ac_try
='test -s conftest.$ac_objext'
16689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16690 (eval $ac_try) 2>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; }; then
16694 ac_hi
=$ac_mid; break
16696 echo "$as_me: failed program was:" >&5
16697 sed 's/^/| /' conftest.
$ac_ext >&5
16699 ac_lo
=`expr $ac_mid + 1`
16700 if test $ac_lo -le $ac_mid; then
16704 ac_mid
=`expr 2 '*' $ac_mid + 1`
16706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.
$ac_ext >&5
16712 cat >conftest.
$ac_ext <<_ACEOF
16715 cat confdefs.h
>>conftest.
$ac_ext
16716 cat >>conftest.
$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16718 $ac_includes_default
16722 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16729 rm -f conftest.
$ac_objext
16730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16731 (eval $ac_compile) 2>conftest.er1
16733 grep -v '^ *+' conftest.er1
>conftest.err
16735 cat conftest.err
>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } &&
16738 { ac_try
='test -z "$ac_c_werror_flag"
16739 || test ! -s conftest.err'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; } &&
16745 { ac_try
='test -s conftest.$ac_objext'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; }; then
16753 cat >conftest.
$ac_ext <<_ACEOF
16756 cat confdefs.h
>>conftest.
$ac_ext
16757 cat >>conftest.
$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 $ac_includes_default
16763 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16770 rm -f conftest.
$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772 (eval $ac_compile) 2>conftest.er1
16774 grep -v '^ *+' conftest.er1
>conftest.err
16776 cat conftest.err
>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } &&
16779 { ac_try
='test -z "$ac_c_werror_flag"
16780 || test ! -s conftest.err'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try
='test -s conftest.$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16792 ac_lo
=$ac_mid; break
16794 echo "$as_me: failed program was:" >&5
16795 sed 's/^/| /' conftest.
$ac_ext >&5
16797 ac_hi
=`expr '(' $ac_mid ')' - 1`
16798 if test $ac_mid -le $ac_hi; then
16802 ac_mid
=`expr 2 '*' $ac_mid`
16804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16807 echo "$as_me: failed program was:" >&5
16808 sed 's/^/| /' conftest.
$ac_ext >&5
16812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16815 # Binary search between lo and hi bounds.
16816 while test "x$ac_lo" != "x$ac_hi"; do
16817 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16818 cat >conftest.
$ac_ext <<_ACEOF
16821 cat confdefs.h
>>conftest.
$ac_ext
16822 cat >>conftest.
$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16824 $ac_includes_default
16828 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16835 rm -f conftest.
$ac_objext
16836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16837 (eval $ac_compile) 2>conftest.er1
16839 grep -v '^ *+' conftest.er1
>conftest.err
16841 cat conftest.err
>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); } &&
16844 { ac_try
='test -z "$ac_c_werror_flag"
16845 || test ! -s conftest.err'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; } &&
16851 { ac_try
='test -s conftest.$ac_objext'
16852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16853 (eval $ac_try) 2>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; }; then
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.
$ac_ext >&5
16862 ac_lo
=`expr '(' $ac_mid ')' + 1`
16864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16867 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16868 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16869 See \`config.log' for more details." >&5
16870 echo "$as_me: error: cannot compute sizeof (size_t), 77
16871 See \`config.log' for more details." >&2;}
16872 { (exit 1); exit 1; }; } ;;
16875 if test "$cross_compiling" = yes; then
16876 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16877 See \`config.log' for more details." >&5
16878 echo "$as_me: error: cannot run test program while cross compiling
16879 See \`config.log' for more details." >&2;}
16880 { (exit 1); exit 1; }; }
16882 cat >conftest.
$ac_ext <<_ACEOF
16885 cat confdefs.h
>>conftest.
$ac_ext
16886 cat >>conftest.
$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16888 $ac_includes_default
16889 long longval () { return (long) (sizeof (size_t)); }
16890 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16892 #include <stdlib.h>
16897 FILE *f = fopen ("conftest.val", "w");
16900 if (((long) (sizeof (size_t))) < 0)
16902 long i = longval ();
16903 if (i != ((long) (sizeof (size_t))))
16905 fprintf (f, "%ld\n", i);
16909 unsigned long i = ulongval ();
16910 if (i != ((long) (sizeof (size_t))))
16912 fprintf (f, "%lu\n", i);
16914 exit (ferror (f) || fclose (f) != 0);
16920 rm -f conftest
$ac_exeext
16921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16922 (eval $ac_link) 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16927 (eval $ac_try) 2>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); }; }; then
16931 ac_cv_sizeof_size_t
=`cat conftest.val`
16933 echo "$as_me: program exited with status $ac_status" >&5
16934 echo "$as_me: failed program was:" >&5
16935 sed 's/^/| /' conftest.
$ac_ext >&5
16937 ( exit $ac_status )
16938 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16939 See \`config.log' for more details." >&5
16940 echo "$as_me: error: cannot compute sizeof (size_t), 77
16941 See \`config.log' for more details." >&2;}
16942 { (exit 1); exit 1; }; }
16944 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16949 ac_cv_sizeof_size_t
=0
16952 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16953 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16954 cat >>confdefs.h
<<_ACEOF
16955 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16962 echo "$as_me:$LINENO: checking for long long" >&5
16963 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16964 if test "${ac_cv_type_long_long+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16967 cat >conftest.
$ac_ext <<_ACEOF
16970 cat confdefs.h
>>conftest.
$ac_ext
16971 cat >>conftest.
$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973 $ac_includes_default
16977 if ((long long *) 0)
16979 if (sizeof (long long))
16985 rm -f conftest.
$ac_objext
16986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16987 (eval $ac_compile) 2>conftest.er1
16989 grep -v '^ *+' conftest.er1
>conftest.err
16991 cat conftest.err
>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } &&
16994 { ac_try
='test -z "$ac_c_werror_flag"
16995 || test ! -s conftest.err'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; } &&
17001 { ac_try
='test -s conftest.$ac_objext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 ac_cv_type_long_long
=yes
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.
$ac_ext >&5
17012 ac_cv_type_long_long
=no
17014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17016 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17017 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17019 echo "$as_me:$LINENO: checking size of long long" >&5
17020 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17021 if test "${ac_cv_sizeof_long_long+set}" = set; then
17022 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 if test "$ac_cv_type_long_long" = yes; then
17025 # The cast to unsigned long works around a bug in the HP C Compiler
17026 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17027 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17028 # This bug is HP SR number 8606223364.
17029 if test "$cross_compiling" = yes; then
17030 # Depending upon the size, compute the lo and hi bounds.
17031 cat >conftest.
$ac_ext <<_ACEOF
17034 cat confdefs.h
>>conftest.
$ac_ext
17035 cat >>conftest.
$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 $ac_includes_default
17041 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17048 rm -f conftest.
$ac_objext
17049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17050 (eval $ac_compile) 2>conftest.er1
17052 grep -v '^ *+' conftest.er1
>conftest.err
17054 cat conftest.err
>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } &&
17057 { ac_try
='test -z "$ac_c_werror_flag"
17058 || test ! -s conftest.err'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try
='test -s conftest.$ac_objext'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17072 cat >conftest.
$ac_ext <<_ACEOF
17075 cat confdefs.h
>>conftest.
$ac_ext
17076 cat >>conftest.
$ac_ext <<_ACEOF
17077 /* end confdefs.h. */
17078 $ac_includes_default
17082 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17089 rm -f conftest.
$ac_objext
17090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17091 (eval $ac_compile) 2>conftest.er1
17093 grep -v '^ *+' conftest.er1
>conftest.err
17095 cat conftest.err
>&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); } &&
17098 { ac_try
='test -z "$ac_c_werror_flag"
17099 || test ! -s conftest.err'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; } &&
17105 { ac_try
='test -s conftest.$ac_objext'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; }; then
17111 ac_hi
=$ac_mid; break
17113 echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.
$ac_ext >&5
17116 ac_lo
=`expr $ac_mid + 1`
17117 if test $ac_lo -le $ac_mid; then
17121 ac_mid
=`expr 2 '*' $ac_mid + 1`
17123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17126 echo "$as_me: failed program was:" >&5
17127 sed 's/^/| /' conftest.
$ac_ext >&5
17129 cat >conftest.
$ac_ext <<_ACEOF
17132 cat confdefs.h
>>conftest.
$ac_ext
17133 cat >>conftest.
$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17135 $ac_includes_default
17139 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17146 rm -f conftest.
$ac_objext
17147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17148 (eval $ac_compile) 2>conftest.er1
17150 grep -v '^ *+' conftest.er1
>conftest.err
17152 cat conftest.err
>&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } &&
17155 { ac_try
='test -z "$ac_c_werror_flag"
17156 || test ! -s conftest.err'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; } &&
17162 { ac_try
='test -s conftest.$ac_objext'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17170 cat >conftest.
$ac_ext <<_ACEOF
17173 cat confdefs.h
>>conftest.
$ac_ext
17174 cat >>conftest.
$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17176 $ac_includes_default
17180 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17187 rm -f conftest.
$ac_objext
17188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17189 (eval $ac_compile) 2>conftest.er1
17191 grep -v '^ *+' conftest.er1
>conftest.err
17193 cat conftest.err
>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } &&
17196 { ac_try
='test -z "$ac_c_werror_flag"
17197 || test ! -s conftest.err'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; } &&
17203 { ac_try
='test -s conftest.$ac_objext'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; }; then
17209 ac_lo
=$ac_mid; break
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.
$ac_ext >&5
17214 ac_hi
=`expr '(' $ac_mid ')' - 1`
17215 if test $ac_mid -le $ac_hi; then
17219 ac_mid
=`expr 2 '*' $ac_mid`
17221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.
$ac_ext >&5
17229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17232 # Binary search between lo and hi bounds.
17233 while test "x$ac_lo" != "x$ac_hi"; do
17234 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17235 cat >conftest.
$ac_ext <<_ACEOF
17238 cat confdefs.h
>>conftest.
$ac_ext
17239 cat >>conftest.
$ac_ext <<_ACEOF
17240 /* end confdefs.h. */
17241 $ac_includes_default
17245 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17252 rm -f conftest.
$ac_objext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17254 (eval $ac_compile) 2>conftest.er1
17256 grep -v '^ *+' conftest.er1
>conftest.err
17258 cat conftest.err
>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try
='test -z "$ac_c_werror_flag"
17262 || test ! -s conftest.err'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; } &&
17268 { ac_try
='test -s conftest.$ac_objext'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; }; then
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.
$ac_ext >&5
17279 ac_lo
=`expr '(' $ac_mid ')' + 1`
17281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17284 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17285 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17286 See \`config.log' for more details." >&5
17287 echo "$as_me: error: cannot compute sizeof (long long), 77
17288 See \`config.log' for more details." >&2;}
17289 { (exit 1); exit 1; }; } ;;
17292 if test "$cross_compiling" = yes; then
17293 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17294 See \`config.log' for more details." >&5
17295 echo "$as_me: error: cannot run test program while cross compiling
17296 See \`config.log' for more details." >&2;}
17297 { (exit 1); exit 1; }; }
17299 cat >conftest.
$ac_ext <<_ACEOF
17302 cat confdefs.h
>>conftest.
$ac_ext
17303 cat >>conftest.
$ac_ext <<_ACEOF
17304 /* end confdefs.h. */
17305 $ac_includes_default
17306 long longval () { return (long) (sizeof (long long)); }
17307 unsigned long ulongval () { return (long) (sizeof (long long)); }
17309 #include <stdlib.h>
17314 FILE *f = fopen ("conftest.val", "w");
17317 if (((long) (sizeof (long long))) < 0)
17319 long i = longval ();
17320 if (i != ((long) (sizeof (long long))))
17322 fprintf (f, "%ld\n", i);
17326 unsigned long i = ulongval ();
17327 if (i != ((long) (sizeof (long long))))
17329 fprintf (f, "%lu\n", i);
17331 exit (ferror (f) || fclose (f) != 0);
17337 rm -f conftest
$ac_exeext
17338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17339 (eval $ac_link) 2>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344 (eval $ac_try) 2>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; }; then
17348 ac_cv_sizeof_long_long
=`cat conftest.val`
17350 echo "$as_me: program exited with status $ac_status" >&5
17351 echo "$as_me: failed program was:" >&5
17352 sed 's/^/| /' conftest.
$ac_ext >&5
17354 ( exit $ac_status )
17355 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17356 See \`config.log' for more details." >&5
17357 echo "$as_me: error: cannot compute sizeof (long long), 77
17358 See \`config.log' for more details." >&2;}
17359 { (exit 1); exit 1; }; }
17361 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17366 ac_cv_sizeof_long_long
=0
17369 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17370 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17371 cat >>confdefs.h
<<_ACEOF
17372 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17378 echo "$as_me:$LINENO: checking for long long" >&5
17379 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17380 if test "${ac_cv_type_long_long+set}" = set; then
17381 echo $ECHO_N "(cached) $ECHO_C" >&6
17383 cat >conftest.
$ac_ext <<_ACEOF
17386 cat confdefs.h
>>conftest.
$ac_ext
17387 cat >>conftest.
$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17389 $ac_includes_default
17393 if ((long long *) 0)
17395 if (sizeof (long long))
17401 rm -f conftest.
$ac_objext
17402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17403 (eval $ac_compile) 2>conftest.er1
17405 grep -v '^ *+' conftest.er1
>conftest.err
17407 cat conftest.err
>&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); } &&
17410 { ac_try
='test -z "$ac_c_werror_flag"
17411 || test ! -s conftest.err'
17412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17413 (eval $ac_try) 2>&5
17415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17416 (exit $ac_status); }; } &&
17417 { ac_try
='test -s conftest.$ac_objext'
17418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17419 (eval $ac_try) 2>&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); }; }; then
17423 ac_cv_type_long_long
=yes
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.
$ac_ext >&5
17428 ac_cv_type_long_long
=no
17430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17432 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17433 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17435 echo "$as_me:$LINENO: checking size of long long" >&5
17436 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17437 if test "${ac_cv_sizeof_long_long+set}" = set; then
17438 echo $ECHO_N "(cached) $ECHO_C" >&6
17440 if test "$ac_cv_type_long_long" = yes; then
17441 # The cast to unsigned long works around a bug in the HP C Compiler
17442 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17443 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17444 # This bug is HP SR number 8606223364.
17445 if test "$cross_compiling" = yes; then
17446 # Depending upon the size, compute the lo and hi bounds.
17447 cat >conftest.
$ac_ext <<_ACEOF
17450 cat confdefs.h
>>conftest.
$ac_ext
17451 cat >>conftest.
$ac_ext <<_ACEOF
17452 /* end confdefs.h. */
17453 $ac_includes_default
17457 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17464 rm -f conftest.
$ac_objext
17465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17466 (eval $ac_compile) 2>conftest.er1
17468 grep -v '^ *+' conftest.er1
>conftest.err
17470 cat conftest.err
>&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } &&
17473 { ac_try
='test -z "$ac_c_werror_flag"
17474 || test ! -s conftest.err'
17475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17476 (eval $ac_try) 2>&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); }; } &&
17480 { ac_try
='test -s conftest.$ac_objext'
17481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17482 (eval $ac_try) 2>&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; }; then
17488 cat >conftest.
$ac_ext <<_ACEOF
17491 cat confdefs.h
>>conftest.
$ac_ext
17492 cat >>conftest.
$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17494 $ac_includes_default
17498 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17505 rm -f conftest.
$ac_objext
17506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17507 (eval $ac_compile) 2>conftest.er1
17509 grep -v '^ *+' conftest.er1
>conftest.err
17511 cat conftest.err
>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } &&
17514 { ac_try
='test -z "$ac_c_werror_flag"
17515 || test ! -s conftest.err'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; } &&
17521 { ac_try
='test -s conftest.$ac_objext'
17522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17523 (eval $ac_try) 2>&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); }; }; then
17527 ac_hi
=$ac_mid; break
17529 echo "$as_me: failed program was:" >&5
17530 sed 's/^/| /' conftest.
$ac_ext >&5
17532 ac_lo
=`expr $ac_mid + 1`
17533 if test $ac_lo -le $ac_mid; then
17537 ac_mid
=`expr 2 '*' $ac_mid + 1`
17539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17542 echo "$as_me: failed program was:" >&5
17543 sed 's/^/| /' conftest.
$ac_ext >&5
17545 cat >conftest.
$ac_ext <<_ACEOF
17548 cat confdefs.h
>>conftest.
$ac_ext
17549 cat >>conftest.
$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17551 $ac_includes_default
17555 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17562 rm -f conftest.
$ac_objext
17563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17564 (eval $ac_compile) 2>conftest.er1
17566 grep -v '^ *+' conftest.er1
>conftest.err
17568 cat conftest.err
>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); } &&
17571 { ac_try
='test -z "$ac_c_werror_flag"
17572 || test ! -s conftest.err'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; } &&
17578 { ac_try
='test -s conftest.$ac_objext'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; }; then
17586 cat >conftest.
$ac_ext <<_ACEOF
17589 cat confdefs.h
>>conftest.
$ac_ext
17590 cat >>conftest.
$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17592 $ac_includes_default
17596 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17603 rm -f conftest.
$ac_objext
17604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17605 (eval $ac_compile) 2>conftest.er1
17607 grep -v '^ *+' conftest.er1
>conftest.err
17609 cat conftest.err
>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } &&
17612 { ac_try
='test -z "$ac_c_werror_flag"
17613 || test ! -s conftest.err'
17614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17615 (eval $ac_try) 2>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); }; } &&
17619 { ac_try
='test -s conftest.$ac_objext'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; }; then
17625 ac_lo
=$ac_mid; break
17627 echo "$as_me: failed program was:" >&5
17628 sed 's/^/| /' conftest.
$ac_ext >&5
17630 ac_hi
=`expr '(' $ac_mid ')' - 1`
17631 if test $ac_mid -le $ac_hi; then
17635 ac_mid
=`expr 2 '*' $ac_mid`
17637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17640 echo "$as_me: failed program was:" >&5
17641 sed 's/^/| /' conftest.
$ac_ext >&5
17645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17648 # Binary search between lo and hi bounds.
17649 while test "x$ac_lo" != "x$ac_hi"; do
17650 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17651 cat >conftest.
$ac_ext <<_ACEOF
17654 cat confdefs.h
>>conftest.
$ac_ext
17655 cat >>conftest.
$ac_ext <<_ACEOF
17656 /* end confdefs.h. */
17657 $ac_includes_default
17661 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17668 rm -f conftest.
$ac_objext
17669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17670 (eval $ac_compile) 2>conftest.er1
17672 grep -v '^ *+' conftest.er1
>conftest.err
17674 cat conftest.err
>&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); } &&
17677 { ac_try
='test -z "$ac_c_werror_flag"
17678 || test ! -s conftest.err'
17679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17680 (eval $ac_try) 2>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); }; } &&
17684 { ac_try
='test -s conftest.$ac_objext'
17685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17686 (eval $ac_try) 2>&5
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); }; }; then
17692 echo "$as_me: failed program was:" >&5
17693 sed 's/^/| /' conftest.
$ac_ext >&5
17695 ac_lo
=`expr '(' $ac_mid ')' + 1`
17697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17700 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17701 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17702 See \`config.log' for more details." >&5
17703 echo "$as_me: error: cannot compute sizeof (long long), 77
17704 See \`config.log' for more details." >&2;}
17705 { (exit 1); exit 1; }; } ;;
17708 if test "$cross_compiling" = yes; then
17709 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17710 See \`config.log' for more details." >&5
17711 echo "$as_me: error: cannot run test program while cross compiling
17712 See \`config.log' for more details." >&2;}
17713 { (exit 1); exit 1; }; }
17715 cat >conftest.
$ac_ext <<_ACEOF
17718 cat confdefs.h
>>conftest.
$ac_ext
17719 cat >>conftest.
$ac_ext <<_ACEOF
17720 /* end confdefs.h. */
17721 $ac_includes_default
17722 long longval () { return (long) (sizeof (long long)); }
17723 unsigned long ulongval () { return (long) (sizeof (long long)); }
17725 #include <stdlib.h>
17730 FILE *f = fopen ("conftest.val", "w");
17733 if (((long) (sizeof (long long))) < 0)
17735 long i = longval ();
17736 if (i != ((long) (sizeof (long long))))
17738 fprintf (f, "%ld\n", i);
17742 unsigned long i = ulongval ();
17743 if (i != ((long) (sizeof (long long))))
17745 fprintf (f, "%lu\n", i);
17747 exit (ferror (f) || fclose (f) != 0);
17753 rm -f conftest
$ac_exeext
17754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17755 (eval $ac_link) 2>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; }; then
17764 ac_cv_sizeof_long_long
=`cat conftest.val`
17766 echo "$as_me: program exited with status $ac_status" >&5
17767 echo "$as_me: failed program was:" >&5
17768 sed 's/^/| /' conftest.
$ac_ext >&5
17770 ( exit $ac_status )
17771 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17772 See \`config.log' for more details." >&5
17773 echo "$as_me: error: cannot compute sizeof (long long), 77
17774 See \`config.log' for more details." >&2;}
17775 { (exit 1); exit 1; }; }
17777 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17782 ac_cv_sizeof_long_long
=0
17785 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17786 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17787 cat >>confdefs.h
<<_ACEOF
17788 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17792 if test "$ac_cv_sizeof_long_long" != "0"; then
17793 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17797 echo "$as_me:$LINENO: checking for long long" >&5
17798 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17799 if test "${ac_cv_type_long_long+set}" = set; then
17800 echo $ECHO_N "(cached) $ECHO_C" >&6
17802 cat >conftest.
$ac_ext <<_ACEOF
17805 cat confdefs.h
>>conftest.
$ac_ext
17806 cat >>conftest.
$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17808 $ac_includes_default
17812 if ((long long *) 0)
17814 if (sizeof (long long))
17820 rm -f conftest.
$ac_objext
17821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17822 (eval $ac_compile) 2>conftest.er1
17824 grep -v '^ *+' conftest.er1
>conftest.err
17826 cat conftest.err
>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); } &&
17829 { ac_try
='test -z "$ac_c_werror_flag"
17830 || test ! -s conftest.err'
17831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17832 (eval $ac_try) 2>&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); }; } &&
17836 { ac_try
='test -s conftest.$ac_objext'
17837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17838 (eval $ac_try) 2>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); }; }; then
17842 ac_cv_type_long_long
=yes
17844 echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.
$ac_ext >&5
17847 ac_cv_type_long_long
=no
17849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17851 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17852 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17854 echo "$as_me:$LINENO: checking size of long long" >&5
17855 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17856 if test "${ac_cv_sizeof_long_long+set}" = set; then
17857 echo $ECHO_N "(cached) $ECHO_C" >&6
17859 if test "$ac_cv_type_long_long" = yes; then
17860 # The cast to unsigned long works around a bug in the HP C Compiler
17861 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17862 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17863 # This bug is HP SR number 8606223364.
17864 if test "$cross_compiling" = yes; then
17865 # Depending upon the size, compute the lo and hi bounds.
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))) >= 0)];
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"
17893 || test ! -s conftest.err'
17894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17895 (eval $ac_try) 2>&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); }; } &&
17899 { ac_try
='test -s conftest.$ac_objext'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; }; then
17907 cat >conftest.
$ac_ext <<_ACEOF
17910 cat confdefs.h
>>conftest.
$ac_ext
17911 cat >>conftest.
$ac_ext <<_ACEOF
17912 /* end confdefs.h. */
17913 $ac_includes_default
17917 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17924 rm -f conftest.
$ac_objext
17925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17926 (eval $ac_compile) 2>conftest.er1
17928 grep -v '^ *+' conftest.er1
>conftest.err
17930 cat conftest.err
>&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); } &&
17933 { ac_try
='test -z "$ac_c_werror_flag"
17934 || test ! -s conftest.err'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; } &&
17940 { ac_try
='test -s conftest.$ac_objext'
17941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17942 (eval $ac_try) 2>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; }; then
17946 ac_hi
=$ac_mid; break
17948 echo "$as_me: failed program was:" >&5
17949 sed 's/^/| /' conftest.
$ac_ext >&5
17951 ac_lo
=`expr $ac_mid + 1`
17952 if test $ac_lo -le $ac_mid; then
17956 ac_mid
=`expr 2 '*' $ac_mid + 1`
17958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17961 echo "$as_me: failed program was:" >&5
17962 sed 's/^/| /' conftest.
$ac_ext >&5
17964 cat >conftest.
$ac_ext <<_ACEOF
17967 cat confdefs.h
>>conftest.
$ac_ext
17968 cat >>conftest.
$ac_ext <<_ACEOF
17969 /* end confdefs.h. */
17970 $ac_includes_default
17974 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17981 rm -f conftest.
$ac_objext
17982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17983 (eval $ac_compile) 2>conftest.er1
17985 grep -v '^ *+' conftest.er1
>conftest.err
17987 cat conftest.err
>&5
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); } &&
17990 { ac_try
='test -z "$ac_c_werror_flag"
17991 || test ! -s conftest.err'
17992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17993 (eval $ac_try) 2>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }; } &&
17997 { ac_try
='test -s conftest.$ac_objext'
17998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17999 (eval $ac_try) 2>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); }; }; then
18005 cat >conftest.
$ac_ext <<_ACEOF
18008 cat confdefs.h
>>conftest.
$ac_ext
18009 cat >>conftest.
$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18011 $ac_includes_default
18015 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18022 rm -f conftest.
$ac_objext
18023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18024 (eval $ac_compile) 2>conftest.er1
18026 grep -v '^ *+' conftest.er1
>conftest.err
18028 cat conftest.err
>&5
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); } &&
18031 { ac_try
='test -z "$ac_c_werror_flag"
18032 || test ! -s conftest.err'
18033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18034 (eval $ac_try) 2>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; } &&
18038 { ac_try
='test -s conftest.$ac_objext'
18039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18040 (eval $ac_try) 2>&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); }; }; then
18044 ac_lo
=$ac_mid; break
18046 echo "$as_me: failed program was:" >&5
18047 sed 's/^/| /' conftest.
$ac_ext >&5
18049 ac_hi
=`expr '(' $ac_mid ')' - 1`
18050 if test $ac_mid -le $ac_hi; then
18054 ac_mid
=`expr 2 '*' $ac_mid`
18056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.
$ac_ext >&5
18064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18067 # Binary search between lo and hi bounds.
18068 while test "x$ac_lo" != "x$ac_hi"; do
18069 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18070 cat >conftest.
$ac_ext <<_ACEOF
18073 cat confdefs.h
>>conftest.
$ac_ext
18074 cat >>conftest.
$ac_ext <<_ACEOF
18075 /* end confdefs.h. */
18076 $ac_includes_default
18080 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18087 rm -f conftest.
$ac_objext
18088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18089 (eval $ac_compile) 2>conftest.er1
18091 grep -v '^ *+' conftest.er1
>conftest.err
18093 cat conftest.err
>&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); } &&
18096 { ac_try
='test -z "$ac_c_werror_flag"
18097 || test ! -s conftest.err'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; } &&
18103 { ac_try
='test -s conftest.$ac_objext'
18104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18105 (eval $ac_try) 2>&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); }; }; then
18111 echo "$as_me: failed program was:" >&5
18112 sed 's/^/| /' conftest.
$ac_ext >&5
18114 ac_lo
=`expr '(' $ac_mid ')' + 1`
18116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18119 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18120 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18121 See \`config.log' for more details." >&5
18122 echo "$as_me: error: cannot compute sizeof (long long), 77
18123 See \`config.log' for more details." >&2;}
18124 { (exit 1); exit 1; }; } ;;
18127 if test "$cross_compiling" = yes; then
18128 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18129 See \`config.log' for more details." >&5
18130 echo "$as_me: error: cannot run test program while cross compiling
18131 See \`config.log' for more details." >&2;}
18132 { (exit 1); exit 1; }; }
18134 cat >conftest.
$ac_ext <<_ACEOF
18137 cat confdefs.h
>>conftest.
$ac_ext
18138 cat >>conftest.
$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18140 $ac_includes_default
18141 long longval () { return (long) (sizeof (long long)); }
18142 unsigned long ulongval () { return (long) (sizeof (long long)); }
18144 #include <stdlib.h>
18149 FILE *f = fopen ("conftest.val", "w");
18152 if (((long) (sizeof (long long))) < 0)
18154 long i = longval ();
18155 if (i != ((long) (sizeof (long long))))
18157 fprintf (f, "%ld\n", i);
18161 unsigned long i = ulongval ();
18162 if (i != ((long) (sizeof (long long))))
18164 fprintf (f, "%lu\n", i);
18166 exit (ferror (f) || fclose (f) != 0);
18172 rm -f conftest
$ac_exeext
18173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18174 (eval $ac_link) 2>&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18179 (eval $ac_try) 2>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); }; }; then
18183 ac_cv_sizeof_long_long
=`cat conftest.val`
18185 echo "$as_me: program exited with status $ac_status" >&5
18186 echo "$as_me: failed program was:" >&5
18187 sed 's/^/| /' conftest.
$ac_ext >&5
18189 ( exit $ac_status )
18190 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18191 See \`config.log' for more details." >&5
18192 echo "$as_me: error: cannot compute sizeof (long long), 77
18193 See \`config.log' for more details." >&2;}
18194 { (exit 1); exit 1; }; }
18196 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18201 ac_cv_sizeof_long_long
=0
18204 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18205 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18206 cat >>confdefs.h
<<_ACEOF
18207 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18213 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18214 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18215 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18216 echo $ECHO_N "(cached) $ECHO_C" >&6
18219 if test "$cross_compiling" = yes; then
18223 wx_cv_sizeof_wchar_t
=0
18226 wx_cv_sizeof_wchar_t
=4
18232 cat >conftest.
$ac_ext <<_ACEOF
18235 cat confdefs.h
>>conftest.
$ac_ext
18236 cat >>conftest.
$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18239 /* DJGPP only has fake wchar_t: */
18241 # error "fake wchar_t"
18243 #ifdef HAVE_WCHAR_H
18245 # include <stddef.h>
18247 # include <wchar.h>
18249 #ifdef HAVE_STDLIB_H
18250 # include <stdlib.h>
18255 FILE *f=fopen("conftestval", "w");
18257 fprintf(f, "%i", sizeof(wchar_t));
18262 rm -f conftest
$ac_exeext
18263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18264 (eval $ac_link) 2>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269 (eval $ac_try) 2>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }; }; then
18273 wx_cv_sizeof_wchar_t
=`cat conftestval`
18275 echo "$as_me: program exited with status $ac_status" >&5
18276 echo "$as_me: failed program was:" >&5
18277 sed 's/^/| /' conftest.
$ac_ext >&5
18279 ( exit $ac_status )
18280 wx_cv_sizeof_wchar_t
=0
18282 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18286 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18287 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18289 cat >>confdefs.h
<<_ACEOF
18290 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18294 echo "$as_me:$LINENO: checking for va_copy" >&5
18295 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18296 if test "${wx_cv_func_va_copy+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18300 cat >conftest.
$ac_ext <<_ACEOF
18302 #include <stdarg.h>
18303 void foo(char *f, ...)
18312 rm -f conftest.
$ac_objext conftest
$ac_exeext
18313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18314 (eval $ac_link) 2>conftest.er1
18316 grep -v '^ *+' conftest.er1
>conftest.err
18318 cat conftest.err
>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } &&
18321 { ac_try
='test -z "$ac_c_werror_flag"
18322 || test ! -s conftest.err'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; } &&
18328 { ac_try
='test -s conftest$ac_exeext'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; }; then
18334 wx_cv_func_va_copy
=yes
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.
$ac_ext >&5
18339 wx_cv_func_va_copy
=no
18342 rm -f conftest.err conftest.
$ac_objext \
18343 conftest
$ac_exeext conftest.
$ac_ext
18347 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18348 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18350 if test $wx_cv_func_va_copy = "yes"; then
18351 cat >>confdefs.h
<<\_ACEOF
18352 #define HAVE_VA_COPY 1
18356 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18357 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18358 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18362 if test "$cross_compiling" = yes; then
18363 wx_cv_type_va_list_lvalue
=yes
18366 cat >conftest.
$ac_ext <<_ACEOF
18368 #include <stdarg.h>
18369 int foo(char *f, ...)
18374 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18382 return foo("hi", 17);
18385 rm -f conftest
$ac_exeext
18386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18387 (eval $ac_link) 2>&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18392 (eval $ac_try) 2>&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); }; }; then
18396 wx_cv_type_va_list_lvalue
=yes
18398 echo "$as_me: program exited with status $ac_status" >&5
18399 echo "$as_me: failed program was:" >&5
18400 sed 's/^/| /' conftest.
$ac_ext >&5
18402 ( exit $ac_status )
18403 wx_cv_type_va_list_lvalue
=no
18405 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18410 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18411 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18413 if test $wx_cv_type_va_list_lvalue != "yes"; then
18414 cat >>confdefs.h
<<\_ACEOF
18415 #define VA_LIST_IS_ARRAY 1
18421 # Check whether --enable-largefile or --disable-largefile was given.
18422 if test "${enable_largefile+set}" = set; then
18423 enableval
="$enable_largefile"
18426 if test "$enable_largefile" != no
; then
18429 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18430 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18431 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18432 echo $ECHO_N "(cached) $ECHO_C" >&6
18435 cat >conftest.
$ac_ext <<_ACEOF
18438 cat confdefs.h
>>conftest.
$ac_ext
18439 cat >>conftest.
$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #define _FILE_OFFSET_BITS 64
18442 #include <sys/types.h>
18447 unsigned int field: sizeof(off_t) == 8;
18454 rm -f conftest.
$ac_objext
18455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18456 (eval $ac_compile) 2>conftest.er1
18458 grep -v '^ *+' conftest.er1
>conftest.err
18460 cat conftest.err
>&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); } &&
18463 { ac_try
='test -z "$ac_c_werror_flag"
18464 || test ! -s conftest.err'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; } &&
18470 { ac_try
='test -s conftest.$ac_objext'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 ac_cv_sys_file_offset_bits
=64
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.
$ac_ext >&5
18481 ac_cv_sys_file_offset_bits
=no
18483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18487 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18488 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18490 if test "$ac_cv_sys_file_offset_bits" != no
; then
18492 cat >>confdefs.h
<<_ACEOF
18493 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18498 if test "x$wx_largefile" != "xyes"; then
18500 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18501 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18502 if test "${ac_cv_sys_large_files+set}" = set; then
18503 echo $ECHO_N "(cached) $ECHO_C" >&6
18506 cat >conftest.
$ac_ext <<_ACEOF
18509 cat confdefs.h
>>conftest.
$ac_ext
18510 cat >>conftest.
$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18512 #define _LARGE_FILES 1
18513 #include <sys/types.h>
18518 unsigned int field: sizeof(off_t) == 8;
18525 rm -f conftest.
$ac_objext
18526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18527 (eval $ac_compile) 2>conftest.er1
18529 grep -v '^ *+' conftest.er1
>conftest.err
18531 cat conftest.err
>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } &&
18534 { ac_try
='test -z "$ac_c_werror_flag"
18535 || test ! -s conftest.err'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; } &&
18541 { ac_try
='test -s conftest.$ac_objext'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; }; then
18547 ac_cv_sys_large_files
=1
18549 echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.
$ac_ext >&5
18552 ac_cv_sys_large_files
=no
18554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18558 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18559 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18561 if test "$ac_cv_sys_large_files" != no
; then
18563 cat >>confdefs.h
<<_ACEOF
18564 #define _LARGE_FILES $ac_cv_sys_large_files
18571 echo "$as_me:$LINENO: checking if large file support is available" >&5
18572 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18573 if test "x$wx_largefile" = "xyes"; then
18574 cat >>confdefs.h
<<\_ACEOF
18575 #define HAVE_LARGEFILE_SUPPORT 1
18579 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18580 echo "${ECHO_T}$wx_largefile" >&6
18584 if test "x$wx_largefile" = "xyes"; then
18585 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18586 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18588 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18590 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18593 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18594 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18595 if test "${ac_cv_c_bigendian+set}" = set; then
18596 echo $ECHO_N "(cached) $ECHO_C" >&6
18598 ac_cv_c_bigendian
=unknown
18599 # See if sys/param.h defines the BYTE_ORDER macro.
18600 cat >conftest.
$ac_ext <<_ACEOF
18603 cat confdefs.h
>>conftest.
$ac_ext
18604 cat >>conftest.
$ac_ext <<_ACEOF
18605 /* end confdefs.h. */
18606 #include <sys/types.h>
18607 #include <sys/param.h>
18612 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18613 bogus endian macros
18619 rm -f conftest.
$ac_objext
18620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18621 (eval $ac_compile) 2>conftest.er1
18623 grep -v '^ *+' conftest.er1
>conftest.err
18625 cat conftest.err
>&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); } &&
18628 { ac_try
='test -z "$ac_c_werror_flag"
18629 || test ! -s conftest.err'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; } &&
18635 { ac_try
='test -s conftest.$ac_objext'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; }; then
18641 # It does; now see whether it defined to BIG_ENDIAN or not.
18642 cat >conftest.
$ac_ext <<_ACEOF
18645 cat confdefs.h
>>conftest.
$ac_ext
18646 cat >>conftest.
$ac_ext <<_ACEOF
18647 /* end confdefs.h. */
18648 #include <sys/types.h>
18649 #include <sys/param.h>
18654 #if BYTE_ORDER != BIG_ENDIAN
18661 rm -f conftest.
$ac_objext
18662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18663 (eval $ac_compile) 2>conftest.er1
18665 grep -v '^ *+' conftest.er1
>conftest.err
18667 cat conftest.err
>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } &&
18670 { ac_try
='test -z "$ac_c_werror_flag"
18671 || test ! -s conftest.err'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; } &&
18677 { ac_try
='test -s conftest.$ac_objext'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; }; then
18683 ac_cv_c_bigendian
=yes
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.
$ac_ext >&5
18688 ac_cv_c_bigendian
=no
18690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18692 echo "$as_me: failed program was:" >&5
18693 sed 's/^/| /' conftest.
$ac_ext >&5
18696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18697 if test $ac_cv_c_bigendian = unknown
; then
18698 if test "$cross_compiling" = yes; then
18699 ac_cv_c_bigendian
=unknown
18701 cat >conftest.
$ac_ext <<_ACEOF
18704 cat confdefs.h
>>conftest.
$ac_ext
18705 cat >>conftest.
$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18708 /* Are we little or big endian? From Harbison&Steele. */
18712 char c[sizeof (long)];
18715 exit (u.c[sizeof (long) - 1] == 1);
18718 rm -f conftest
$ac_exeext
18719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18720 (eval $ac_link) 2>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; }; then
18729 ac_cv_c_bigendian
=no
18731 echo "$as_me: program exited with status $ac_status" >&5
18732 echo "$as_me: failed program was:" >&5
18733 sed 's/^/| /' conftest.
$ac_ext >&5
18735 ( exit $ac_status )
18736 ac_cv_c_bigendian
=yes
18738 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18742 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18743 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18744 if test $ac_cv_c_bigendian = unknown
; then
18745 { 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
18746 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;}
18748 if test $ac_cv_c_bigendian = yes; then
18749 cat >>confdefs.h
<<\_ACEOF
18750 #define WORDS_BIGENDIAN 1
18757 ac_cpp
='$CXXCPP $CPPFLAGS'
18758 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18759 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18760 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18761 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18762 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18763 if test -z "$CXXCPP"; then
18764 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18765 echo $ECHO_N "(cached) $ECHO_C" >&6
18767 # Double quotes because CXXCPP needs to be expanded
18768 for CXXCPP
in "$CXX -E" "/lib/cpp"
18770 ac_preproc_ok
=false
18771 for ac_cxx_preproc_warn_flag
in '' yes
18773 # Use a header file that comes with gcc, so configuring glibc
18774 # with a fresh cross-compiler works.
18775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18776 # <limits.h> exists even on freestanding compilers.
18777 # On the NeXT, cc -E runs the code through the compiler's parser,
18778 # not just through cpp. "Syntax error" is here to catch this case.
18779 cat >conftest.
$ac_ext <<_ACEOF
18782 cat confdefs.h
>>conftest.
$ac_ext
18783 cat >>conftest.
$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18786 # include <limits.h>
18788 # include <assert.h>
18792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18795 grep -v '^ *+' conftest.er1
>conftest.err
18797 cat conftest.err
>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } >/dev
/null
; then
18800 if test -s conftest.err
; then
18801 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18802 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18809 if test -z "$ac_cpp_err"; then
18812 echo "$as_me: failed program was:" >&5
18813 sed 's/^/| /' conftest.
$ac_ext >&5
18815 # Broken: fails on valid input.
18818 rm -f conftest.err conftest.
$ac_ext
18820 # OK, works on sane cases. Now check whether non-existent headers
18821 # can be detected and how.
18822 cat >conftest.
$ac_ext <<_ACEOF
18825 cat confdefs.h
>>conftest.
$ac_ext
18826 cat >>conftest.
$ac_ext <<_ACEOF
18827 /* end confdefs.h. */
18828 #include <ac_nonexistent.h>
18830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18833 grep -v '^ *+' conftest.er1
>conftest.err
18835 cat conftest.err
>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); } >/dev
/null
; then
18838 if test -s conftest.err
; then
18839 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18840 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18847 if test -z "$ac_cpp_err"; then
18848 # Broken: success on invalid input.
18851 echo "$as_me: failed program was:" >&5
18852 sed 's/^/| /' conftest.
$ac_ext >&5
18854 # Passes both tests.
18858 rm -f conftest.err conftest.
$ac_ext
18861 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18862 rm -f conftest.err conftest.
$ac_ext
18863 if $ac_preproc_ok; then
18868 ac_cv_prog_CXXCPP
=$CXXCPP
18871 CXXCPP
=$ac_cv_prog_CXXCPP
18873 ac_cv_prog_CXXCPP
=$CXXCPP
18875 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18876 echo "${ECHO_T}$CXXCPP" >&6
18877 ac_preproc_ok
=false
18878 for ac_cxx_preproc_warn_flag
in '' yes
18880 # Use a header file that comes with gcc, so configuring glibc
18881 # with a fresh cross-compiler works.
18882 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18883 # <limits.h> exists even on freestanding compilers.
18884 # On the NeXT, cc -E runs the code through the compiler's parser,
18885 # not just through cpp. "Syntax error" is here to catch this case.
18886 cat >conftest.
$ac_ext <<_ACEOF
18889 cat confdefs.h
>>conftest.
$ac_ext
18890 cat >>conftest.
$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18893 # include <limits.h>
18895 # include <assert.h>
18899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18900 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18902 grep -v '^ *+' conftest.er1
>conftest.err
18904 cat conftest.err
>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); } >/dev
/null
; then
18907 if test -s conftest.err
; then
18908 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18909 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18916 if test -z "$ac_cpp_err"; then
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.
$ac_ext >&5
18922 # Broken: fails on valid input.
18925 rm -f conftest.err conftest.
$ac_ext
18927 # OK, works on sane cases. Now check whether non-existent headers
18928 # can be detected and how.
18929 cat >conftest.
$ac_ext <<_ACEOF
18932 cat confdefs.h
>>conftest.
$ac_ext
18933 cat >>conftest.
$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18935 #include <ac_nonexistent.h>
18937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18940 grep -v '^ *+' conftest.er1
>conftest.err
18942 cat conftest.err
>&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); } >/dev
/null
; then
18945 if test -s conftest.err
; then
18946 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18947 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18954 if test -z "$ac_cpp_err"; then
18955 # Broken: success on invalid input.
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.
$ac_ext >&5
18961 # Passes both tests.
18965 rm -f conftest.err conftest.
$ac_ext
18968 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18969 rm -f conftest.err conftest.
$ac_ext
18970 if $ac_preproc_ok; then
18973 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18974 See \`config.log' for more details." >&5
18975 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18976 See \`config.log' for more details." >&2;}
18977 { (exit 1); exit 1; }; }
18981 ac_cpp
='$CXXCPP $CPPFLAGS'
18982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18991 ac_cpp
='$CXXCPP $CPPFLAGS'
18992 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18993 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18994 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18998 for ac_header
in iostream
19000 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19002 echo "$as_me:$LINENO: checking for $ac_header" >&5
19003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19005 echo $ECHO_N "(cached) $ECHO_C" >&6
19007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19010 # Is the header compilable?
19011 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19012 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19013 cat >conftest.
$ac_ext <<_ACEOF
19016 cat confdefs.h
>>conftest.
$ac_ext
19017 cat >>conftest.
$ac_ext <<_ACEOF
19018 /* end confdefs.h. */
19019 $ac_includes_default
19020 #include <$ac_header>
19022 rm -f conftest.
$ac_objext
19023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19024 (eval $ac_compile) 2>conftest.er1
19026 grep -v '^ *+' conftest.er1
>conftest.err
19028 cat conftest.err
>&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); } &&
19031 { ac_try
='test -z "$ac_cxx_werror_flag"
19032 || test ! -s conftest.err'
19033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034 (eval $ac_try) 2>&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); }; } &&
19038 { ac_try
='test -s conftest.$ac_objext'
19039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 (eval $ac_try) 2>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; }; then
19044 ac_header_compiler
=yes
19046 echo "$as_me: failed program was:" >&5
19047 sed 's/^/| /' conftest.
$ac_ext >&5
19049 ac_header_compiler
=no
19051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19052 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19053 echo "${ECHO_T}$ac_header_compiler" >&6
19055 # Is the header present?
19056 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19057 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19058 cat >conftest.
$ac_ext <<_ACEOF
19061 cat confdefs.h
>>conftest.
$ac_ext
19062 cat >>conftest.
$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19064 #include <$ac_header>
19066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19067 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19069 grep -v '^ *+' conftest.er1
>conftest.err
19071 cat conftest.err
>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } >/dev
/null
; then
19074 if test -s conftest.err
; then
19075 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19076 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19083 if test -z "$ac_cpp_err"; then
19084 ac_header_preproc
=yes
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.
$ac_ext >&5
19089 ac_header_preproc
=no
19091 rm -f conftest.err conftest.
$ac_ext
19092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19093 echo "${ECHO_T}$ac_header_preproc" >&6
19095 # So? What about this header?
19096 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19098 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19099 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19101 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19102 ac_header_preproc
=yes
19105 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19106 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19107 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19108 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19109 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19110 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19111 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19112 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19115 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19116 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19119 ## ----------------------------------------- ##
19120 ## Report this to wx-dev@lists.wxwidgets.org ##
19121 ## ----------------------------------------- ##
19124 sed "s/^/$as_me: WARNING: /" >&2
19127 echo "$as_me:$LINENO: checking for $ac_header" >&5
19128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19130 echo $ECHO_N "(cached) $ECHO_C" >&6
19132 eval "$as_ac_Header=\$ac_header_preproc"
19134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19138 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19139 cat >>confdefs.h
<<_ACEOF
19140 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19148 if test "$ac_cv_header_iostream" = "yes" ; then
19151 cat >>confdefs.h
<<\_ACEOF
19152 #define wxUSE_IOSTREAMH 1
19158 ac_cpp
='$CPP $CPPFLAGS'
19159 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19160 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19161 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19166 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19167 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19168 if test "${wx_cv_cpp_bool+set}" = set; then
19169 echo $ECHO_N "(cached) $ECHO_C" >&6
19175 ac_cpp
='$CXXCPP $CPPFLAGS'
19176 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19177 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19178 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19181 cat >conftest.
$ac_ext <<_ACEOF
19184 cat confdefs.h
>>conftest.
$ac_ext
19185 cat >>conftest.
$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19201 rm -f conftest.
$ac_objext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19203 (eval $ac_compile) 2>conftest.er1
19205 grep -v '^ *+' conftest.er1
>conftest.err
19207 cat conftest.err
>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); } &&
19210 { ac_try
='test -z "$ac_cxx_werror_flag"
19211 || test ! -s conftest.err'
19212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19213 (eval $ac_try) 2>&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); }; } &&
19217 { ac_try
='test -s conftest.$ac_objext'
19218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19219 (eval $ac_try) 2>&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); }; }; then
19227 echo "$as_me: failed program was:" >&5
19228 sed 's/^/| /' conftest.
$ac_ext >&5
19235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19238 ac_cpp
='$CPP $CPPFLAGS'
19239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19245 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19246 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19248 if test "$wx_cv_cpp_bool" = "yes"; then
19249 cat >>confdefs.h
<<\_ACEOF
19250 #define HAVE_BOOL 1
19257 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19258 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19259 if test "${wx_cv_explicit+set}" = set; then
19260 echo $ECHO_N "(cached) $ECHO_C" >&6
19266 ac_cpp
='$CXXCPP $CPPFLAGS'
19267 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19268 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19269 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19272 cat >conftest.
$ac_ext <<_ACEOF
19275 cat confdefs.h
>>conftest.
$ac_ext
19276 cat >>conftest.
$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19279 class Foo { public: explicit Foo(int) {} };
19291 rm -f conftest.
$ac_objext
19292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19293 (eval $ac_compile) 2>conftest.er1
19295 grep -v '^ *+' conftest.er1
>conftest.err
19297 cat conftest.err
>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); } &&
19300 { ac_try
='test -z "$ac_cxx_werror_flag"
19301 || test ! -s conftest.err'
19302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19303 (eval $ac_try) 2>&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; } &&
19307 { ac_try
='test -s conftest.$ac_objext'
19308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19309 (eval $ac_try) 2>&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); }; }; then
19314 cat >conftest.
$ac_ext <<_ACEOF
19317 cat confdefs.h
>>conftest.
$ac_ext
19318 cat >>conftest.
$ac_ext <<_ACEOF
19319 /* end confdefs.h. */
19321 class Foo { public: explicit Foo(int) {} };
19322 static void TakeFoo(const Foo& foo) { }
19335 rm -f conftest.
$ac_objext
19336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19337 (eval $ac_compile) 2>conftest.er1
19339 grep -v '^ *+' conftest.er1
>conftest.err
19341 cat conftest.err
>&5
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); } &&
19344 { ac_try
='test -z "$ac_cxx_werror_flag"
19345 || test ! -s conftest.err'
19346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19347 (eval $ac_try) 2>&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); }; } &&
19351 { ac_try
='test -s conftest.$ac_objext'
19352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19353 (eval $ac_try) 2>&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); }; }; then
19359 echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.
$ac_ext >&5
19365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19368 echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.
$ac_ext >&5
19374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19377 ac_cpp
='$CPP $CPPFLAGS'
19378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19384 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19385 echo "${ECHO_T}$wx_cv_explicit" >&6
19387 if test "$wx_cv_explicit" = "yes"; then
19388 cat >>confdefs.h
<<\_ACEOF
19389 #define HAVE_EXPLICIT 1
19395 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19396 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19397 if test "${ac_cv_cxx_const_cast+set}" = set; then
19398 echo $ECHO_N "(cached) $ECHO_C" >&6
19403 ac_cpp
='$CXXCPP $CPPFLAGS'
19404 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19405 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19406 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19408 cat >conftest.
$ac_ext <<_ACEOF
19411 cat confdefs.h
>>conftest.
$ac_ext
19412 cat >>conftest.
$ac_ext <<_ACEOF
19413 /* end confdefs.h. */
19418 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19423 rm -f conftest.
$ac_objext
19424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19425 (eval $ac_compile) 2>conftest.er1
19427 grep -v '^ *+' conftest.er1
>conftest.err
19429 cat conftest.err
>&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); } &&
19432 { ac_try
='test -z "$ac_cxx_werror_flag"
19433 || test ! -s conftest.err'
19434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435 (eval $ac_try) 2>&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; } &&
19439 { ac_try
='test -s conftest.$ac_objext'
19440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441 (eval $ac_try) 2>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; }; then
19445 ac_cv_cxx_const_cast
=yes
19447 echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.
$ac_ext >&5
19450 ac_cv_cxx_const_cast
=no
19452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19454 ac_cpp
='$CPP $CPPFLAGS'
19455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19461 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19462 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19463 if test "$ac_cv_cxx_const_cast" = yes; then
19465 cat >>confdefs.h
<<\_ACEOF
19466 #define HAVE_CONST_CAST
19471 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19472 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19473 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19479 ac_cpp
='$CXXCPP $CPPFLAGS'
19480 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19481 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19482 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19484 cat >conftest.
$ac_ext <<_ACEOF
19487 cat confdefs.h
>>conftest.
$ac_ext
19488 cat >>conftest.
$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 #include <typeinfo>
19491 class Base { public : Base () {} virtual void f () = 0;};
19492 class Derived : public Base { public : Derived () {} virtual void f () {} };
19493 class Unrelated { public : Unrelated () {} };
19494 int g (Unrelated&) { return 0; }
19499 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19504 rm -f conftest.
$ac_objext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19506 (eval $ac_compile) 2>conftest.er1
19508 grep -v '^ *+' conftest.er1
>conftest.err
19510 cat conftest.err
>&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); } &&
19513 { ac_try
='test -z "$ac_cxx_werror_flag"
19514 || test ! -s conftest.err'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; } &&
19520 { ac_try
='test -s conftest.$ac_objext'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; }; then
19526 ac_cv_cxx_reinterpret_cast
=yes
19528 echo "$as_me: failed program was:" >&5
19529 sed 's/^/| /' conftest.
$ac_ext >&5
19531 ac_cv_cxx_reinterpret_cast
=no
19533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19535 ac_cpp
='$CPP $CPPFLAGS'
19536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19542 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19543 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19544 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19546 cat >>confdefs.h
<<\_ACEOF
19547 #define HAVE_REINTERPRET_CAST
19552 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19553 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19554 if test "${ac_cv_cxx_static_cast+set}" = set; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19560 ac_cpp
='$CXXCPP $CPPFLAGS'
19561 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19562 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19563 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19565 cat >conftest.
$ac_ext <<_ACEOF
19568 cat confdefs.h
>>conftest.
$ac_ext
19569 cat >>conftest.
$ac_ext <<_ACEOF
19570 /* end confdefs.h. */
19571 #include <typeinfo>
19572 class Base { public : Base () {} virtual void f () = 0; };
19573 class Derived : public Base { public : Derived () {} virtual void f () {} };
19574 int g (Derived&) { return 0; }
19579 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19584 rm -f conftest.
$ac_objext
19585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19586 (eval $ac_compile) 2>conftest.er1
19588 grep -v '^ *+' conftest.er1
>conftest.err
19590 cat conftest.err
>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } &&
19593 { ac_try
='test -z "$ac_cxx_werror_flag"
19594 || test ! -s conftest.err'
19595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19596 (eval $ac_try) 2>&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); }; } &&
19600 { ac_try
='test -s conftest.$ac_objext'
19601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19602 (eval $ac_try) 2>&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); }; }; then
19606 ac_cv_cxx_static_cast
=yes
19608 echo "$as_me: failed program was:" >&5
19609 sed 's/^/| /' conftest.
$ac_ext >&5
19611 ac_cv_cxx_static_cast
=no
19613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19615 ac_cpp
='$CPP $CPPFLAGS'
19616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19622 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19623 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19624 if test "$ac_cv_cxx_static_cast" = yes; then
19626 cat >>confdefs.h
<<\_ACEOF
19627 #define HAVE_STATIC_CAST
19633 if test "$wxUSE_STL" = "yes"; then
19635 ac_cpp
='$CXXCPP $CPPFLAGS'
19636 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19637 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19638 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19641 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19642 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19643 cat >conftest.
$ac_ext <<_ACEOF
19646 cat confdefs.h
>>conftest.
$ac_ext
19647 cat >>conftest.
$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19650 #include <functional>
19651 #include <algorithm>
19657 std::vector<int> moo;
19658 std::list<int> foo;
19659 std::vector<int>::iterator it =
19660 std::find_if(moo.begin(), moo.end(),
19661 std::bind2nd(std::less<int>(), 3));
19666 rm -f conftest.
$ac_objext
19667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19668 (eval $ac_compile) 2>conftest.er1
19670 grep -v '^ *+' conftest.er1
>conftest.err
19672 cat conftest.err
>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } &&
19675 { ac_try
='test -z "$ac_cxx_werror_flag"
19676 || test ! -s conftest.err'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; } &&
19682 { ac_try
='test -s conftest.$ac_objext'
19683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19684 (eval $ac_try) 2>&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); }; }; then
19688 echo "$as_me:$LINENO: result: yes" >&5
19689 echo "${ECHO_T}yes" >&6
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.
$ac_ext >&5
19694 echo "$as_me:$LINENO: result: no" >&5
19695 echo "${ECHO_T}no" >&6
19696 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19697 echo "$as_me: error: Basic STL functionality missing" >&2;}
19698 { (exit 1); exit 1; }; }
19700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19702 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19703 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19704 cat >conftest.
$ac_ext <<_ACEOF
19707 cat confdefs.h
>>conftest.
$ac_ext
19708 cat >>conftest.
$ac_ext <<_ACEOF
19709 /* end confdefs.h. */
19719 rm -f conftest.
$ac_objext
19720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19721 (eval $ac_compile) 2>conftest.er1
19723 grep -v '^ *+' conftest.er1
>conftest.err
19725 cat conftest.err
>&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); } &&
19728 { ac_try
='test -z "$ac_cxx_werror_flag"
19729 || test ! -s conftest.err'
19730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19731 (eval $ac_try) 2>&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); }; } &&
19735 { ac_try
='test -s conftest.$ac_objext'
19736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19737 (eval $ac_try) 2>&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); }; }; then
19741 echo "$as_me:$LINENO: result: yes" >&5
19742 echo "${ECHO_T}yes" >&6
19743 cat >>confdefs.h
<<\_ACEOF
19744 #define HAVE_STD_WSTRING 1
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.
$ac_ext >&5
19751 echo "$as_me:$LINENO: result: no" >&5
19752 echo "${ECHO_T}no" >&6
19754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19756 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19757 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19758 cat >conftest.
$ac_ext <<_ACEOF
19761 cat confdefs.h
>>conftest.
$ac_ext
19762 cat >>conftest.
$ac_ext <<_ACEOF
19763 /* end confdefs.h. */
19768 std::string foo, bar;
19770 foo.compare(1, 1, bar);
19771 foo.compare(1, 1, bar, 1, 1);
19773 foo.compare(1, 1, "");
19774 foo.compare(1, 1, "", 2);
19779 rm -f conftest.
$ac_objext
19780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19781 (eval $ac_compile) 2>conftest.er1
19783 grep -v '^ *+' conftest.er1
>conftest.err
19785 cat conftest.err
>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } &&
19788 { ac_try
='test -z "$ac_cxx_werror_flag"
19789 || test ! -s conftest.err'
19790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19791 (eval $ac_try) 2>&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); }; } &&
19795 { ac_try
='test -s conftest.$ac_objext'
19796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19797 (eval $ac_try) 2>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); }; }; then
19801 echo "$as_me:$LINENO: result: yes" >&5
19802 echo "${ECHO_T}yes" >&6
19803 cat >>confdefs.h
<<\_ACEOF
19804 #define HAVE_STD_STRING_COMPARE 1
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.
$ac_ext >&5
19811 echo "$as_me:$LINENO: result: no" >&5
19812 echo "${ECHO_T}no" >&6
19814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19816 if test "${ac_cv_header_hash_map+set}" = set; then
19817 echo "$as_me:$LINENO: checking for hash_map" >&5
19818 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19819 if test "${ac_cv_header_hash_map+set}" = set; then
19820 echo $ECHO_N "(cached) $ECHO_C" >&6
19822 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19823 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19825 # Is the header compilable?
19826 echo "$as_me:$LINENO: checking hash_map usability" >&5
19827 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19828 cat >conftest.
$ac_ext <<_ACEOF
19831 cat confdefs.h
>>conftest.
$ac_ext
19832 cat >>conftest.
$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19834 $ac_includes_default
19835 #include <hash_map>
19837 rm -f conftest.
$ac_objext
19838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19839 (eval $ac_compile) 2>conftest.er1
19841 grep -v '^ *+' conftest.er1
>conftest.err
19843 cat conftest.err
>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); } &&
19846 { ac_try
='test -z "$ac_cxx_werror_flag"
19847 || test ! -s conftest.err'
19848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849 (eval $ac_try) 2>&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; } &&
19853 { ac_try
='test -s conftest.$ac_objext'
19854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19855 (eval $ac_try) 2>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; }; then
19859 ac_header_compiler
=yes
19861 echo "$as_me: failed program was:" >&5
19862 sed 's/^/| /' conftest.
$ac_ext >&5
19864 ac_header_compiler
=no
19866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19868 echo "${ECHO_T}$ac_header_compiler" >&6
19870 # Is the header present?
19871 echo "$as_me:$LINENO: checking hash_map presence" >&5
19872 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19873 cat >conftest.
$ac_ext <<_ACEOF
19876 cat confdefs.h
>>conftest.
$ac_ext
19877 cat >>conftest.
$ac_ext <<_ACEOF
19878 /* end confdefs.h. */
19879 #include <hash_map>
19881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19882 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19884 grep -v '^ *+' conftest.er1
>conftest.err
19886 cat conftest.err
>&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } >/dev
/null
; then
19889 if test -s conftest.err
; then
19890 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19891 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19898 if test -z "$ac_cpp_err"; then
19899 ac_header_preproc
=yes
19901 echo "$as_me: failed program was:" >&5
19902 sed 's/^/| /' conftest.
$ac_ext >&5
19904 ac_header_preproc
=no
19906 rm -f conftest.err conftest.
$ac_ext
19907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19908 echo "${ECHO_T}$ac_header_preproc" >&6
19910 # So? What about this header?
19911 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19913 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19914 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19915 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19916 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19917 ac_header_preproc
=yes
19920 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19921 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19922 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19923 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19924 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19925 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19926 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19927 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19928 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19929 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19930 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19931 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19934 ## ----------------------------------------- ##
19935 ## Report this to wx-dev@lists.wxwidgets.org ##
19936 ## ----------------------------------------- ##
19939 sed "s/^/$as_me: WARNING: /" >&2
19942 echo "$as_me:$LINENO: checking for hash_map" >&5
19943 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19944 if test "${ac_cv_header_hash_map+set}" = set; then
19945 echo $ECHO_N "(cached) $ECHO_C" >&6
19947 ac_cv_header_hash_map
=$ac_header_preproc
19949 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19950 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19953 if test $ac_cv_header_hash_map = yes; then
19954 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19955 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19956 cat >conftest.
$ac_ext <<_ACEOF
19959 cat confdefs.h
>>conftest.
$ac_ext
19960 cat >>conftest.
$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 #include <hash_map>
19963 #include <hash_set>
19967 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19968 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19973 rm -f conftest.
$ac_objext
19974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19975 (eval $ac_compile) 2>conftest.er1
19977 grep -v '^ *+' conftest.er1
>conftest.err
19979 cat conftest.err
>&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } &&
19982 { ac_try
='test -z "$ac_cxx_werror_flag"
19983 || test ! -s conftest.err'
19984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19985 (eval $ac_try) 2>&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); }; } &&
19989 { ac_try
='test -s conftest.$ac_objext'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; }; then
19995 echo "$as_me:$LINENO: result: yes" >&5
19996 echo "${ECHO_T}yes" >&6
19997 cat >>confdefs.h
<<\_ACEOF
19998 #define HAVE_HASH_MAP 1
20001 cat >>confdefs.h
<<\_ACEOF
20002 #define HAVE_STD_HASH_MAP 1
20006 echo "$as_me: failed program was:" >&5
20007 sed 's/^/| /' conftest.
$ac_ext >&5
20009 echo "$as_me:$LINENO: result: no" >&5
20010 echo "${ECHO_T}no" >&6
20012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20018 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20019 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20020 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20021 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20022 echo $ECHO_N "(cached) $ECHO_C" >&6
20024 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20025 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20027 # Is the header compilable?
20028 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20029 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20030 cat >conftest.
$ac_ext <<_ACEOF
20033 cat confdefs.h
>>conftest.
$ac_ext
20034 cat >>conftest.
$ac_ext <<_ACEOF
20035 /* end confdefs.h. */
20036 $ac_includes_default
20037 #include <ext/hash_map>
20039 rm -f conftest.
$ac_objext
20040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20041 (eval $ac_compile) 2>conftest.er1
20043 grep -v '^ *+' conftest.er1
>conftest.err
20045 cat conftest.err
>&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } &&
20048 { ac_try
='test -z "$ac_cxx_werror_flag"
20049 || test ! -s conftest.err'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; } &&
20055 { ac_try
='test -s conftest.$ac_objext'
20056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057 (eval $ac_try) 2>&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); }; }; then
20061 ac_header_compiler
=yes
20063 echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.
$ac_ext >&5
20066 ac_header_compiler
=no
20068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20070 echo "${ECHO_T}$ac_header_compiler" >&6
20072 # Is the header present?
20073 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20074 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20075 cat >conftest.
$ac_ext <<_ACEOF
20078 cat confdefs.h
>>conftest.
$ac_ext
20079 cat >>conftest.
$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 #include <ext/hash_map>
20083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20084 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20086 grep -v '^ *+' conftest.er1
>conftest.err
20088 cat conftest.err
>&5
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); } >/dev
/null
; then
20091 if test -s conftest.err
; then
20092 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20093 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20100 if test -z "$ac_cpp_err"; then
20101 ac_header_preproc
=yes
20103 echo "$as_me: failed program was:" >&5
20104 sed 's/^/| /' conftest.
$ac_ext >&5
20106 ac_header_preproc
=no
20108 rm -f conftest.err conftest.
$ac_ext
20109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20110 echo "${ECHO_T}$ac_header_preproc" >&6
20112 # So? What about this header?
20113 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20115 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20116 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20117 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20118 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20119 ac_header_preproc
=yes
20122 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20123 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20124 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20125 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20126 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20127 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20128 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20129 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20130 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20131 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20132 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20133 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20136 ## ----------------------------------------- ##
20137 ## Report this to wx-dev@lists.wxwidgets.org ##
20138 ## ----------------------------------------- ##
20141 sed "s/^/$as_me: WARNING: /" >&2
20144 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20145 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20146 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20147 echo $ECHO_N "(cached) $ECHO_C" >&6
20149 ac_cv_header_ext_hash_map
=$ac_header_preproc
20151 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20152 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20155 if test $ac_cv_header_ext_hash_map = yes; then
20156 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20157 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20158 cat >conftest.
$ac_ext <<_ACEOF
20161 cat confdefs.h
>>conftest.
$ac_ext
20162 cat >>conftest.
$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20164 #include <ext/hash_map>
20165 #include <ext/hash_set>
20169 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20170 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20175 rm -f conftest.
$ac_objext
20176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20177 (eval $ac_compile) 2>conftest.er1
20179 grep -v '^ *+' conftest.er1
>conftest.err
20181 cat conftest.err
>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } &&
20184 { ac_try
='test -z "$ac_cxx_werror_flag"
20185 || test ! -s conftest.err'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; } &&
20191 { ac_try
='test -s conftest.$ac_objext'
20192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20193 (eval $ac_try) 2>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); }; }; then
20197 echo "$as_me:$LINENO: result: yes" >&5
20198 echo "${ECHO_T}yes" >&6
20199 cat >>confdefs.h
<<\_ACEOF
20200 #define HAVE_EXT_HASH_MAP 1
20203 cat >>confdefs.h
<<\_ACEOF
20204 #define HAVE_GNU_CXX_HASH_MAP 1
20208 echo "$as_me: failed program was:" >&5
20209 sed 's/^/| /' conftest.
$ac_ext >&5
20211 echo "$as_me:$LINENO: result: no" >&5
20212 echo "${ECHO_T}no" >&6
20214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20221 ac_cpp
='$CPP $CPPFLAGS'
20222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20230 /usr/local/include \
20232 /usr/Motif-2.1/include \
20233 /usr/Motif-1.2/include \
20234 /usr/include/Motif1.2 \
20235 /opt/xpm/include/X11 \
20236 /opt/GBxpm/include/ \
20237 /opt/GBxpm/X11/include/ \
20240 /usr/openwin/include \
20244 /usr/X11R6/include \
20245 /usr/X11R6.4/include \
20246 /usr/X11R5/include \
20247 /usr/X11R4/include \
20249 /usr/include/X11R6 \
20250 /usr/include/X11R5 \
20251 /usr/include/X11R4 \
20253 /usr/local/X11R6/include \
20254 /usr/local/X11R5/include \
20255 /usr/local/X11R4/include \
20257 /usr/local/include/X11R6 \
20258 /usr/local/include/X11R5 \
20259 /usr/local/include/X11R4 \
20263 /usr/local/X11/include \
20264 /usr/local/include/X11 \
20266 /usr/X386/include \
20267 /usr/x386/include \
20268 /usr/XFree86/include/X11 \
20270 X:/XFree86/include \
20271 X:/XFree86/include/X11 \
20274 /usr/local/include/gtk \
20275 /usr/include/glib \
20276 /usr/local/include/glib \
20279 /usr/local/include/qt \
20281 /usr/local/arm/3.3.2/include \
20283 /usr/include/windows \
20284 /usr/include/wine \
20285 /usr/local/include/wine \
20287 /usr/unsupported/include \
20288 /usr/athena/include \
20289 /usr/local/x11r5/include \
20290 /usr/lpp/Xamples/include \
20292 /usr/openwin/share/include"
20294 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20297 cat >confcache
<<\_ACEOF
20298 # This file is a shell script that caches the results of configure
20299 # tests run on this system so they can be shared between configure
20300 # scripts and configure runs, see configure's option --config-cache.
20301 # It is not useful on other systems. If it contains results you don't
20302 # want to keep, you may remove or edit it.
20304 # config.status only pays attention to the cache file if you give it
20305 # the --recheck option to rerun configure.
20307 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20308 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20309 # following values.
20313 # The following way of writing the cache mishandles newlines in values,
20314 # but we know of no workaround that is simple, portable, and efficient.
20315 # So, don't put newlines in cache variables' values.
20316 # Ultrix sh set writes to stderr and can't be redirected directly,
20317 # and sets the high bit in the cache file unless we assign to the vars.
20320 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20322 # `set' does not quote correctly, so add quotes (double-quote
20323 # substitution turns \\\\ into \\, and sed turns \\ into \).
20326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20329 # `set' quotes correctly as required by POSIX, so do not add quotes.
20331 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20338 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20340 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20342 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20343 if test -w $cache_file; then
20344 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20345 cat confcache
>$cache_file
20347 echo "not updating unwritable cache $cache_file"
20352 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20353 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20354 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20355 if test "${wx_cv_lib_glibc21+set}" = set; then
20356 echo $ECHO_N "(cached) $ECHO_C" >&6
20359 cat >conftest.
$ac_ext <<_ACEOF
20362 cat confdefs.h
>>conftest.
$ac_ext
20363 cat >>conftest.
$ac_ext <<_ACEOF
20364 /* end confdefs.h. */
20365 #include <features.h>
20370 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20371 #error not glibc2.1
20378 rm -f conftest.
$ac_objext
20379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20380 (eval $ac_compile) 2>conftest.er1
20382 grep -v '^ *+' conftest.er1
>conftest.err
20384 cat conftest.err
>&5
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); } &&
20387 { ac_try
='test -z "$ac_c_werror_flag"
20388 || test ! -s conftest.err'
20389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20390 (eval $ac_try) 2>&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); }; } &&
20394 { ac_try
='test -s conftest.$ac_objext'
20395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20396 (eval $ac_try) 2>&5
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); }; }; then
20401 wx_cv_lib_glibc21
=yes
20404 echo "$as_me: failed program was:" >&5
20405 sed 's/^/| /' conftest.
$ac_ext >&5
20408 wx_cv_lib_glibc21
=no
20412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20415 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20416 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20417 if test "$wx_cv_lib_glibc21" = "yes"; then
20418 cat >>confdefs.h
<<\_ACEOF
20419 #define wxHAVE_GLIBC2 1
20425 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20426 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20427 cat >>confdefs.h
<<\_ACEOF
20428 #define _GNU_SOURCE 1
20436 if test "$wxUSE_REGEX" != "no"; then
20437 cat >>confdefs.h
<<\_ACEOF
20438 #define wxUSE_REGEX 1
20442 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20443 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20444 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20445 wxUSE_REGEX
=builtin
20448 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20449 if test "${ac_cv_header_regex_h+set}" = set; then
20450 echo "$as_me:$LINENO: checking for regex.h" >&5
20451 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20452 if test "${ac_cv_header_regex_h+set}" = set; then
20453 echo $ECHO_N "(cached) $ECHO_C" >&6
20455 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20456 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20458 # Is the header compilable?
20459 echo "$as_me:$LINENO: checking regex.h usability" >&5
20460 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20461 cat >conftest.
$ac_ext <<_ACEOF
20464 cat confdefs.h
>>conftest.
$ac_ext
20465 cat >>conftest.
$ac_ext <<_ACEOF
20466 /* end confdefs.h. */
20467 $ac_includes_default
20470 rm -f conftest.
$ac_objext
20471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20472 (eval $ac_compile) 2>conftest.er1
20474 grep -v '^ *+' conftest.er1
>conftest.err
20476 cat conftest.err
>&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); } &&
20479 { ac_try
='test -z "$ac_c_werror_flag"
20480 || test ! -s conftest.err'
20481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20482 (eval $ac_try) 2>&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); }; } &&
20486 { ac_try
='test -s conftest.$ac_objext'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; }; then
20492 ac_header_compiler
=yes
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.
$ac_ext >&5
20497 ac_header_compiler
=no
20499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20501 echo "${ECHO_T}$ac_header_compiler" >&6
20503 # Is the header present?
20504 echo "$as_me:$LINENO: checking regex.h presence" >&5
20505 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20506 cat >conftest.
$ac_ext <<_ACEOF
20509 cat confdefs.h
>>conftest.
$ac_ext
20510 cat >>conftest.
$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20515 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20517 grep -v '^ *+' conftest.er1
>conftest.err
20519 cat conftest.err
>&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } >/dev
/null
; then
20522 if test -s conftest.err
; then
20523 ac_cpp_err
=$ac_c_preproc_warn_flag
20524 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20531 if test -z "$ac_cpp_err"; then
20532 ac_header_preproc
=yes
20534 echo "$as_me: failed program was:" >&5
20535 sed 's/^/| /' conftest.
$ac_ext >&5
20537 ac_header_preproc
=no
20539 rm -f conftest.err conftest.
$ac_ext
20540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20541 echo "${ECHO_T}$ac_header_preproc" >&6
20543 # So? What about this header?
20544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20546 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20547 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20548 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20549 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20550 ac_header_preproc
=yes
20553 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20554 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20555 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20556 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20557 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20558 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20559 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20560 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20561 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20562 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20563 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20564 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20567 ## ----------------------------------------- ##
20568 ## Report this to wx-dev@lists.wxwidgets.org ##
20569 ## ----------------------------------------- ##
20572 sed "s/^/$as_me: WARNING: /" >&2
20575 echo "$as_me:$LINENO: checking for regex.h" >&5
20576 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20577 if test "${ac_cv_header_regex_h+set}" = set; then
20578 echo $ECHO_N "(cached) $ECHO_C" >&6
20580 ac_cv_header_regex_h
=$ac_header_preproc
20582 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20583 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20586 if test $ac_cv_header_regex_h = yes; then
20588 for ac_func
in regcomp
20590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20591 echo "$as_me:$LINENO: checking for $ac_func" >&5
20592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20593 if eval "test \"\${$as_ac_var+set}\" = set"; then
20594 echo $ECHO_N "(cached) $ECHO_C" >&6
20596 cat >conftest.
$ac_ext <<_ACEOF
20599 cat confdefs.h
>>conftest.
$ac_ext
20600 cat >>conftest.
$ac_ext <<_ACEOF
20601 /* end confdefs.h. */
20602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20604 #define $ac_func innocuous_$ac_func
20606 /* System header to define __stub macros and hopefully few prototypes,
20607 which can conflict with char $ac_func (); below.
20608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20609 <limits.h> exists even on freestanding compilers. */
20612 # include <limits.h>
20614 # include <assert.h>
20619 /* Override any gcc2 internal prototype to avoid an error. */
20624 /* We use char because int might match the return type of a gcc2
20625 builtin and then its argument prototype would still apply. */
20627 /* The GNU C library defines this for functions which it implements
20628 to always fail with ENOSYS. Some functions are actually named
20629 something starting with __ and the normal name is an alias. */
20630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20633 char (*f) () = $ac_func;
20642 return f != $ac_func;
20647 rm -f conftest.
$ac_objext conftest
$ac_exeext
20648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20649 (eval $ac_link) 2>conftest.er1
20651 grep -v '^ *+' conftest.er1
>conftest.err
20653 cat conftest.err
>&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); } &&
20656 { ac_try
='test -z "$ac_c_werror_flag"
20657 || test ! -s conftest.err'
20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; } &&
20663 { ac_try
='test -s conftest$ac_exeext'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; }; then
20669 eval "$as_ac_var=yes"
20671 echo "$as_me: failed program was:" >&5
20672 sed 's/^/| /' conftest.
$ac_ext >&5
20674 eval "$as_ac_var=no"
20676 rm -f conftest.err conftest.
$ac_objext \
20677 conftest
$ac_exeext conftest.
$ac_ext
20679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20681 if test `eval echo '${'$as_ac_var'}'` = yes; then
20682 cat >>confdefs.h
<<_ACEOF
20683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20693 if test "x$ac_cv_func_regcomp" != "xyes"; then
20694 if test "$wxUSE_REGEX" = "sys" ; then
20695 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20696 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20697 { (exit 1); exit 1; }; }
20699 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20700 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20701 wxUSE_REGEX
=builtin
20705 cat >>confdefs.h
<<\_ACEOF
20706 #define WX_NO_REGEX_ADVANCED 1
20715 if test "$wxUSE_ZLIB" != "no" ; then
20716 cat >>confdefs.h
<<\_ACEOF
20717 #define wxUSE_ZLIB 1
20721 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20722 if test "$USE_DARWIN" = 1; then
20723 system_zlib_h_ok
="yes"
20725 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20726 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20727 if test "${ac_cv_header_zlib_h+set}" = set; then
20728 echo $ECHO_N "(cached) $ECHO_C" >&6
20730 if test "$cross_compiling" = yes; then
20731 unset ac_cv_header_zlib_h
20734 cat >conftest.
$ac_ext <<_ACEOF
20737 cat confdefs.h
>>conftest.
$ac_ext
20738 cat >>conftest.
$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20746 FILE *f=fopen("conftestval", "w");
20749 ZLIB_VERSION[0] == '1' &&
20750 (ZLIB_VERSION[2] > '1' ||
20751 (ZLIB_VERSION[2] == '1' &&
20752 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20757 rm -f conftest
$ac_exeext
20758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20759 (eval $ac_link) 2>&5
20761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20768 ac_cv_header_zlib_h
=`cat conftestval`
20770 echo "$as_me: program exited with status $ac_status" >&5
20771 echo "$as_me: failed program was:" >&5
20772 sed 's/^/| /' conftest.
$ac_ext >&5
20774 ( exit $ac_status )
20775 ac_cv_header_zlib_h
=no
20777 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20781 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20782 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20783 if test "${ac_cv_header_zlib_h+set}" = set; then
20784 echo "$as_me:$LINENO: checking for zlib.h" >&5
20785 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20786 if test "${ac_cv_header_zlib_h+set}" = set; then
20787 echo $ECHO_N "(cached) $ECHO_C" >&6
20789 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20790 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20792 # Is the header compilable?
20793 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20794 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20795 cat >conftest.
$ac_ext <<_ACEOF
20798 cat confdefs.h
>>conftest.
$ac_ext
20799 cat >>conftest.
$ac_ext <<_ACEOF
20800 /* end confdefs.h. */
20801 $ac_includes_default
20804 rm -f conftest.
$ac_objext
20805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20806 (eval $ac_compile) 2>conftest.er1
20808 grep -v '^ *+' conftest.er1
>conftest.err
20810 cat conftest.err
>&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } &&
20813 { ac_try
='test -z "$ac_c_werror_flag"
20814 || test ! -s conftest.err'
20815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816 (eval $ac_try) 2>&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); }; } &&
20820 { ac_try
='test -s conftest.$ac_objext'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; }; then
20826 ac_header_compiler
=yes
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.
$ac_ext >&5
20831 ac_header_compiler
=no
20833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20835 echo "${ECHO_T}$ac_header_compiler" >&6
20837 # Is the header present?
20838 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20839 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20840 cat >conftest.
$ac_ext <<_ACEOF
20843 cat confdefs.h
>>conftest.
$ac_ext
20844 cat >>conftest.
$ac_ext <<_ACEOF
20845 /* end confdefs.h. */
20848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20851 grep -v '^ *+' conftest.er1
>conftest.err
20853 cat conftest.err
>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); } >/dev
/null
; then
20856 if test -s conftest.err
; then
20857 ac_cpp_err
=$ac_c_preproc_warn_flag
20858 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20865 if test -z "$ac_cpp_err"; then
20866 ac_header_preproc
=yes
20868 echo "$as_me: failed program was:" >&5
20869 sed 's/^/| /' conftest.
$ac_ext >&5
20871 ac_header_preproc
=no
20873 rm -f conftest.err conftest.
$ac_ext
20874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20875 echo "${ECHO_T}$ac_header_preproc" >&6
20877 # So? What about this header?
20878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20880 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20881 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20882 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20883 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20884 ac_header_preproc
=yes
20887 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20888 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20889 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20890 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20891 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20892 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20893 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20894 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20895 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20896 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20897 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20898 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20901 ## ----------------------------------------- ##
20902 ## Report this to wx-dev@lists.wxwidgets.org ##
20903 ## ----------------------------------------- ##
20906 sed "s/^/$as_me: WARNING: /" >&2
20909 echo "$as_me:$LINENO: checking for zlib.h" >&5
20910 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20911 if test "${ac_cv_header_zlib_h+set}" = set; then
20912 echo $ECHO_N "(cached) $ECHO_C" >&6
20914 ac_cv_header_zlib_h
=$ac_header_preproc
20916 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20917 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20923 system_zlib_h_ok
=$ac_cv_header_zlib_h
20926 if test "$system_zlib_h_ok" = "yes"; then
20927 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20928 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20929 if test "${ac_cv_lib_z_deflate+set}" = set; then
20930 echo $ECHO_N "(cached) $ECHO_C" >&6
20932 ac_check_lib_save_LIBS
=$LIBS
20934 cat >conftest.
$ac_ext <<_ACEOF
20937 cat confdefs.h
>>conftest.
$ac_ext
20938 cat >>conftest.
$ac_ext <<_ACEOF
20939 /* end confdefs.h. */
20941 /* Override any gcc2 internal prototype to avoid an error. */
20945 /* We use char because int might match the return type of a gcc2
20946 builtin and then its argument prototype would still apply. */
20956 rm -f conftest.
$ac_objext conftest
$ac_exeext
20957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20958 (eval $ac_link) 2>conftest.er1
20960 grep -v '^ *+' conftest.er1
>conftest.err
20962 cat conftest.err
>&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } &&
20965 { ac_try
='test -z "$ac_c_werror_flag"
20966 || test ! -s conftest.err'
20967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20968 (eval $ac_try) 2>&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); }; } &&
20972 { ac_try
='test -s conftest$ac_exeext'
20973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20974 (eval $ac_try) 2>&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); }; }; then
20978 ac_cv_lib_z_deflate
=yes
20980 echo "$as_me: failed program was:" >&5
20981 sed 's/^/| /' conftest.
$ac_ext >&5
20983 ac_cv_lib_z_deflate
=no
20985 rm -f conftest.err conftest.
$ac_objext \
20986 conftest
$ac_exeext conftest.
$ac_ext
20987 LIBS
=$ac_check_lib_save_LIBS
20989 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20990 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20991 if test $ac_cv_lib_z_deflate = yes; then
20997 if test "x$ZLIB_LINK" = "x" ; then
20998 if test "$wxUSE_ZLIB" = "sys" ; then
20999 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21000 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21001 { (exit 1); exit 1; }; }
21003 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21004 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21015 if test "$wxUSE_LIBPNG" != "no" ; then
21016 cat >>confdefs.h
<<\_ACEOF
21017 #define wxUSE_LIBPNG 1
21021 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21022 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21023 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21027 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21028 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21029 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21030 wxUSE_LIBPNG
=builtin
21033 if test "$wxUSE_MGL" != 1 ; then
21034 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21035 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21036 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21037 if test "${ac_cv_header_png_h+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21040 if test "$cross_compiling" = yes; then
21041 unset ac_cv_header_png_h
21044 cat >conftest.
$ac_ext <<_ACEOF
21047 cat confdefs.h
>>conftest.
$ac_ext
21048 cat >>conftest.
$ac_ext <<_ACEOF
21049 /* end confdefs.h. */
21056 FILE *f=fopen("conftestval", "w");
21059 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21064 rm -f conftest
$ac_exeext
21065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21066 (eval $ac_link) 2>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21071 (eval $ac_try) 2>&5
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); }; }; then
21075 ac_cv_header_png_h
=`cat conftestval`
21077 echo "$as_me: program exited with status $ac_status" >&5
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.
$ac_ext >&5
21081 ( exit $ac_status )
21082 ac_cv_header_png_h
=no
21084 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21088 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21089 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21090 if test "${ac_cv_header_png_h+set}" = set; then
21091 echo "$as_me:$LINENO: checking for png.h" >&5
21092 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21093 if test "${ac_cv_header_png_h+set}" = set; then
21094 echo $ECHO_N "(cached) $ECHO_C" >&6
21096 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21097 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21099 # Is the header compilable?
21100 echo "$as_me:$LINENO: checking png.h usability" >&5
21101 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21102 cat >conftest.
$ac_ext <<_ACEOF
21105 cat confdefs.h
>>conftest.
$ac_ext
21106 cat >>conftest.
$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 $ac_includes_default
21111 rm -f conftest.
$ac_objext
21112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21113 (eval $ac_compile) 2>conftest.er1
21115 grep -v '^ *+' conftest.er1
>conftest.err
21117 cat conftest.err
>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); } &&
21120 { ac_try
='test -z "$ac_c_werror_flag"
21121 || test ! -s conftest.err'
21122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21123 (eval $ac_try) 2>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); }; } &&
21127 { ac_try
='test -s conftest.$ac_objext'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; }; then
21133 ac_header_compiler
=yes
21135 echo "$as_me: failed program was:" >&5
21136 sed 's/^/| /' conftest.
$ac_ext >&5
21138 ac_header_compiler
=no
21140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21142 echo "${ECHO_T}$ac_header_compiler" >&6
21144 # Is the header present?
21145 echo "$as_me:$LINENO: checking png.h presence" >&5
21146 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21147 cat >conftest.
$ac_ext <<_ACEOF
21150 cat confdefs.h
>>conftest.
$ac_ext
21151 cat >>conftest.
$ac_ext <<_ACEOF
21152 /* end confdefs.h. */
21155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21156 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21158 grep -v '^ *+' conftest.er1
>conftest.err
21160 cat conftest.err
>&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); } >/dev
/null
; then
21163 if test -s conftest.err
; then
21164 ac_cpp_err
=$ac_c_preproc_warn_flag
21165 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21172 if test -z "$ac_cpp_err"; then
21173 ac_header_preproc
=yes
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.
$ac_ext >&5
21178 ac_header_preproc
=no
21180 rm -f conftest.err conftest.
$ac_ext
21181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21182 echo "${ECHO_T}$ac_header_preproc" >&6
21184 # So? What about this header?
21185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21187 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21188 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21189 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21190 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21191 ac_header_preproc
=yes
21194 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21195 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21196 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21197 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21198 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21199 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21200 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21201 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21202 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21203 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21204 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21205 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21208 ## ----------------------------------------- ##
21209 ## Report this to wx-dev@lists.wxwidgets.org ##
21210 ## ----------------------------------------- ##
21213 sed "s/^/$as_me: WARNING: /" >&2
21216 echo "$as_me:$LINENO: checking for png.h" >&5
21217 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21218 if test "${ac_cv_header_png_h+set}" = set; then
21219 echo $ECHO_N "(cached) $ECHO_C" >&6
21221 ac_cv_header_png_h
=$ac_header_preproc
21223 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21224 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21230 if test "$ac_cv_header_png_h" = "yes"; then
21231 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21232 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21233 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21234 echo $ECHO_N "(cached) $ECHO_C" >&6
21236 ac_check_lib_save_LIBS
=$LIBS
21237 LIBS
="-lpng -lz -lm $LIBS"
21238 cat >conftest.
$ac_ext <<_ACEOF
21241 cat confdefs.h
>>conftest.
$ac_ext
21242 cat >>conftest.
$ac_ext <<_ACEOF
21243 /* end confdefs.h. */
21245 /* Override any gcc2 internal prototype to avoid an error. */
21249 /* We use char because int might match the return type of a gcc2
21250 builtin and then its argument prototype would still apply. */
21251 char png_check_sig ();
21260 rm -f conftest.
$ac_objext conftest
$ac_exeext
21261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21262 (eval $ac_link) 2>conftest.er1
21264 grep -v '^ *+' conftest.er1
>conftest.err
21266 cat conftest.err
>&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } &&
21269 { ac_try
='test -z "$ac_c_werror_flag"
21270 || test ! -s conftest.err'
21271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21272 (eval $ac_try) 2>&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); }; } &&
21276 { ac_try
='test -s conftest$ac_exeext'
21277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21278 (eval $ac_try) 2>&5
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; }; then
21282 ac_cv_lib_png_png_check_sig
=yes
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.
$ac_ext >&5
21287 ac_cv_lib_png_png_check_sig
=no
21289 rm -f conftest.err conftest.
$ac_objext \
21290 conftest
$ac_exeext conftest.
$ac_ext
21291 LIBS
=$ac_check_lib_save_LIBS
21293 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21294 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21295 if test $ac_cv_lib_png_png_check_sig = yes; then
21296 PNG_LINK
=" -lpng -lz"
21301 if test "x$PNG_LINK" = "x" ; then
21302 if test "$wxUSE_LIBPNG" = "sys" ; then
21303 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21304 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21305 { (exit 1); exit 1; }; }
21307 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21308 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21309 wxUSE_LIBPNG
=builtin
21317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21322 if test "$wxUSE_LIBJPEG" != "no" ; then
21323 cat >>confdefs.h
<<\_ACEOF
21324 #define wxUSE_LIBJPEG 1
21328 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21329 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21330 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21334 if test "$wxUSE_MGL" != 1 ; then
21335 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21336 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21337 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21338 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21339 echo $ECHO_N "(cached) $ECHO_C" >&6
21341 cat >conftest.
$ac_ext <<_ACEOF
21344 cat confdefs.h
>>conftest.
$ac_ext
21345 cat >>conftest.
$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21348 #undef HAVE_STDLIB_H
21350 #include <jpeglib.h>
21361 rm -f conftest.
$ac_objext
21362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21363 (eval $ac_compile) 2>conftest.er1
21365 grep -v '^ *+' conftest.er1
>conftest.err
21367 cat conftest.err
>&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); } &&
21370 { ac_try
='test -z "$ac_c_werror_flag"
21371 || test ! -s conftest.err'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; } &&
21377 { ac_try
='test -s conftest.$ac_objext'
21378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21379 (eval $ac_try) 2>&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); }; }; then
21383 ac_cv_header_jpeglib_h
=yes
21385 echo "$as_me: failed program was:" >&5
21386 sed 's/^/| /' conftest.
$ac_ext >&5
21388 ac_cv_header_jpeglib_h
=no
21391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21395 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21396 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21398 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21399 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21400 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21401 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21402 echo $ECHO_N "(cached) $ECHO_C" >&6
21404 ac_check_lib_save_LIBS
=$LIBS
21405 LIBS
="-ljpeg $LIBS"
21406 cat >conftest.
$ac_ext <<_ACEOF
21409 cat confdefs.h
>>conftest.
$ac_ext
21410 cat >>conftest.
$ac_ext <<_ACEOF
21411 /* end confdefs.h. */
21413 /* Override any gcc2 internal prototype to avoid an error. */
21417 /* We use char because int might match the return type of a gcc2
21418 builtin and then its argument prototype would still apply. */
21419 char jpeg_read_header ();
21423 jpeg_read_header ();
21428 rm -f conftest.
$ac_objext conftest
$ac_exeext
21429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21430 (eval $ac_link) 2>conftest.er1
21432 grep -v '^ *+' conftest.er1
>conftest.err
21434 cat conftest.err
>&5
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); } &&
21437 { ac_try
='test -z "$ac_c_werror_flag"
21438 || test ! -s conftest.err'
21439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21440 (eval $ac_try) 2>&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); }; } &&
21444 { ac_try
='test -s conftest$ac_exeext'
21445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21446 (eval $ac_try) 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); }; }; then
21450 ac_cv_lib_jpeg_jpeg_read_header
=yes
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.
$ac_ext >&5
21455 ac_cv_lib_jpeg_jpeg_read_header
=no
21457 rm -f conftest.err conftest.
$ac_objext \
21458 conftest
$ac_exeext conftest.
$ac_ext
21459 LIBS
=$ac_check_lib_save_LIBS
21461 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21462 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21463 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21464 JPEG_LINK
=" -ljpeg"
21469 if test "x$JPEG_LINK" = "x" ; then
21470 if test "$wxUSE_LIBJPEG" = "sys" ; then
21471 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21472 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21473 { (exit 1); exit 1; }; }
21475 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21476 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21477 wxUSE_LIBJPEG
=builtin
21488 TIFF_PREREQ_LINKS
=-lm
21489 if test "$wxUSE_LIBTIFF" != "no" ; then
21490 cat >>confdefs.h
<<\_ACEOF
21491 #define wxUSE_LIBTIFF 1
21495 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21496 if test "$wxUSE_LIBJPEG" = "sys"; then
21497 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21499 if test "$wxUSE_ZLIB" = "sys"; then
21500 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21502 if test "${ac_cv_header_tiffio_h+set}" = set; then
21503 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21504 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21505 if test "${ac_cv_header_tiffio_h+set}" = set; then
21506 echo $ECHO_N "(cached) $ECHO_C" >&6
21508 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21509 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21511 # Is the header compilable?
21512 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21513 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21514 cat >conftest.
$ac_ext <<_ACEOF
21517 cat confdefs.h
>>conftest.
$ac_ext
21518 cat >>conftest.
$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 #include <tiffio.h>
21523 rm -f conftest.
$ac_objext
21524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21525 (eval $ac_compile) 2>conftest.er1
21527 grep -v '^ *+' conftest.er1
>conftest.err
21529 cat conftest.err
>&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); } &&
21532 { ac_try
='test -z "$ac_c_werror_flag"
21533 || test ! -s conftest.err'
21534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21535 (eval $ac_try) 2>&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; } &&
21539 { ac_try
='test -s conftest.$ac_objext'
21540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21541 (eval $ac_try) 2>&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); }; }; then
21545 ac_header_compiler
=yes
21547 echo "$as_me: failed program was:" >&5
21548 sed 's/^/| /' conftest.
$ac_ext >&5
21550 ac_header_compiler
=no
21552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21553 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21554 echo "${ECHO_T}$ac_header_compiler" >&6
21556 # Is the header present?
21557 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21558 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21559 cat >conftest.
$ac_ext <<_ACEOF
21562 cat confdefs.h
>>conftest.
$ac_ext
21563 cat >>conftest.
$ac_ext <<_ACEOF
21564 /* end confdefs.h. */
21565 #include <tiffio.h>
21567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21568 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21570 grep -v '^ *+' conftest.er1
>conftest.err
21572 cat conftest.err
>&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } >/dev
/null
; then
21575 if test -s conftest.err
; then
21576 ac_cpp_err
=$ac_c_preproc_warn_flag
21577 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21584 if test -z "$ac_cpp_err"; then
21585 ac_header_preproc
=yes
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.
$ac_ext >&5
21590 ac_header_preproc
=no
21592 rm -f conftest.err conftest.
$ac_ext
21593 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21594 echo "${ECHO_T}$ac_header_preproc" >&6
21596 # So? What about this header?
21597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21599 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21600 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21601 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21602 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21603 ac_header_preproc
=yes
21606 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21607 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21608 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21609 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21610 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21611 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21612 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21613 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21614 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21615 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21616 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21617 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21620 ## ----------------------------------------- ##
21621 ## Report this to wx-dev@lists.wxwidgets.org ##
21622 ## ----------------------------------------- ##
21625 sed "s/^/$as_me: WARNING: /" >&2
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 ac_cv_header_tiffio_h
=$ac_header_preproc
21635 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21636 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21639 if test $ac_cv_header_tiffio_h = yes; then
21641 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21642 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21643 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21644 echo $ECHO_N "(cached) $ECHO_C" >&6
21646 ac_check_lib_save_LIBS
=$LIBS
21647 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21648 cat >conftest.
$ac_ext <<_ACEOF
21651 cat confdefs.h
>>conftest.
$ac_ext
21652 cat >>conftest.
$ac_ext <<_ACEOF
21653 /* end confdefs.h. */
21655 /* Override any gcc2 internal prototype to avoid an error. */
21659 /* We use char because int might match the return type of a gcc2
21660 builtin and then its argument prototype would still apply. */
21670 rm -f conftest.
$ac_objext conftest
$ac_exeext
21671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21672 (eval $ac_link) 2>conftest.er1
21674 grep -v '^ *+' conftest.er1
>conftest.err
21676 cat conftest.err
>&5
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); } &&
21679 { ac_try
='test -z "$ac_c_werror_flag"
21680 || test ! -s conftest.err'
21681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21682 (eval $ac_try) 2>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); }; } &&
21686 { ac_try
='test -s conftest$ac_exeext'
21687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21688 (eval $ac_try) 2>&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); }; }; then
21692 ac_cv_lib_tiff_TIFFError
=yes
21694 echo "$as_me: failed program was:" >&5
21695 sed 's/^/| /' conftest.
$ac_ext >&5
21697 ac_cv_lib_tiff_TIFFError
=no
21699 rm -f conftest.err conftest.
$ac_objext \
21700 conftest
$ac_exeext conftest.
$ac_ext
21701 LIBS
=$ac_check_lib_save_LIBS
21703 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21704 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21705 if test $ac_cv_lib_tiff_TIFFError = yes; then
21706 TIFF_LINK
=" -ltiff"
21715 if test "x$TIFF_LINK" = "x" ; then
21716 if test "$wxUSE_LIBTIFF" = "sys" ; then
21717 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21718 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21719 { (exit 1); exit 1; }; }
21721 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21722 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21723 wxUSE_LIBTIFF
=builtin
21732 if test "$wxUSE_EXPAT" != "no"; then
21734 cat >>confdefs.h
<<\_ACEOF
21735 #define wxUSE_EXPAT 1
21738 cat >>confdefs.h
<<\_ACEOF
21739 #define wxUSE_XML 1
21743 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21744 if test "${ac_cv_header_expat_h+set}" = set; then
21745 echo "$as_me:$LINENO: checking for expat.h" >&5
21746 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21747 if test "${ac_cv_header_expat_h+set}" = set; then
21748 echo $ECHO_N "(cached) $ECHO_C" >&6
21750 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21751 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21753 # Is the header compilable?
21754 echo "$as_me:$LINENO: checking expat.h usability" >&5
21755 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21756 cat >conftest.
$ac_ext <<_ACEOF
21759 cat confdefs.h
>>conftest.
$ac_ext
21760 cat >>conftest.
$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 $ac_includes_default
21765 rm -f conftest.
$ac_objext
21766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21767 (eval $ac_compile) 2>conftest.er1
21769 grep -v '^ *+' conftest.er1
>conftest.err
21771 cat conftest.err
>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } &&
21774 { ac_try
='test -z "$ac_c_werror_flag"
21775 || test ! -s conftest.err'
21776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21777 (eval $ac_try) 2>&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); }; } &&
21781 { ac_try
='test -s conftest.$ac_objext'
21782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21783 (eval $ac_try) 2>&5
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); }; }; then
21787 ac_header_compiler
=yes
21789 echo "$as_me: failed program was:" >&5
21790 sed 's/^/| /' conftest.
$ac_ext >&5
21792 ac_header_compiler
=no
21794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21796 echo "${ECHO_T}$ac_header_compiler" >&6
21798 # Is the header present?
21799 echo "$as_me:$LINENO: checking expat.h presence" >&5
21800 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21801 cat >conftest.
$ac_ext <<_ACEOF
21804 cat confdefs.h
>>conftest.
$ac_ext
21805 cat >>conftest.
$ac_ext <<_ACEOF
21806 /* end confdefs.h. */
21809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21810 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21812 grep -v '^ *+' conftest.er1
>conftest.err
21814 cat conftest.err
>&5
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); } >/dev
/null
; then
21817 if test -s conftest.err
; then
21818 ac_cpp_err
=$ac_c_preproc_warn_flag
21819 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21826 if test -z "$ac_cpp_err"; then
21827 ac_header_preproc
=yes
21829 echo "$as_me: failed program was:" >&5
21830 sed 's/^/| /' conftest.
$ac_ext >&5
21832 ac_header_preproc
=no
21834 rm -f conftest.err conftest.
$ac_ext
21835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21836 echo "${ECHO_T}$ac_header_preproc" >&6
21838 # So? What about this header?
21839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21841 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21842 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21843 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21844 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21845 ac_header_preproc
=yes
21848 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21849 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21850 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21851 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21852 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21853 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21854 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21855 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21856 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21857 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21858 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21859 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21862 ## ----------------------------------------- ##
21863 ## Report this to wx-dev@lists.wxwidgets.org ##
21864 ## ----------------------------------------- ##
21867 sed "s/^/$as_me: WARNING: /" >&2
21870 echo "$as_me:$LINENO: checking for expat.h" >&5
21871 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21872 if test "${ac_cv_header_expat_h+set}" = set; then
21873 echo $ECHO_N "(cached) $ECHO_C" >&6
21875 ac_cv_header_expat_h
=$ac_header_preproc
21877 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21878 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21881 if test $ac_cv_header_expat_h = yes; then
21886 if test "x$found_expat_h" = "x1"; then
21887 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21888 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21889 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21890 echo $ECHO_N "(cached) $ECHO_C" >&6
21896 ac_cpp
='$CXXCPP $CPPFLAGS'
21897 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21898 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21899 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21901 cat >conftest.
$ac_ext <<_ACEOF
21904 cat confdefs.h
>>conftest.
$ac_ext
21905 cat >>conftest.
$ac_ext <<_ACEOF
21906 /* end confdefs.h. */
21916 rm -f conftest.
$ac_objext
21917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21918 (eval $ac_compile) 2>conftest.er1
21920 grep -v '^ *+' conftest.er1
>conftest.err
21922 cat conftest.err
>&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); } &&
21925 { ac_try
='test -z "$ac_cxx_werror_flag"
21926 || test ! -s conftest.err'
21927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21928 (eval $ac_try) 2>&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); }; } &&
21932 { ac_try
='test -s conftest.$ac_objext'
21933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21934 (eval $ac_try) 2>&5
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); }; }; then
21938 wx_cv_expat_is_not_broken
=yes
21940 echo "$as_me: failed program was:" >&5
21941 sed 's/^/| /' conftest.
$ac_ext >&5
21943 wx_cv_expat_is_not_broken
=no
21946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21948 ac_cpp
='$CPP $CPPFLAGS'
21949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21956 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21957 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21958 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21959 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21960 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21961 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21962 echo $ECHO_N "(cached) $ECHO_C" >&6
21964 ac_check_lib_save_LIBS
=$LIBS
21965 LIBS
="-lexpat $LIBS"
21966 cat >conftest.
$ac_ext <<_ACEOF
21969 cat confdefs.h
>>conftest.
$ac_ext
21970 cat >>conftest.
$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21973 /* Override any gcc2 internal prototype to avoid an error. */
21977 /* We use char because int might match the return type of a gcc2
21978 builtin and then its argument prototype would still apply. */
21979 char XML_ParserCreate ();
21983 XML_ParserCreate ();
21988 rm -f conftest.
$ac_objext conftest
$ac_exeext
21989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21990 (eval $ac_link) 2>conftest.er1
21992 grep -v '^ *+' conftest.er1
>conftest.err
21994 cat conftest.err
>&5
21995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996 (exit $ac_status); } &&
21997 { ac_try
='test -z "$ac_c_werror_flag"
21998 || test ! -s conftest.err'
21999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22000 (eval $ac_try) 2>&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); }; } &&
22004 { ac_try
='test -s conftest$ac_exeext'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; }; then
22010 ac_cv_lib_expat_XML_ParserCreate
=yes
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.
$ac_ext >&5
22015 ac_cv_lib_expat_XML_ParserCreate
=no
22017 rm -f conftest.err conftest.
$ac_objext \
22018 conftest
$ac_exeext conftest.
$ac_ext
22019 LIBS
=$ac_check_lib_save_LIBS
22021 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22022 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22023 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22024 EXPAT_LINK
=" -lexpat"
22029 if test "x$EXPAT_LINK" = "x" ; then
22030 if test "$wxUSE_EXPAT" = "sys" ; then
22031 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22032 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22033 { (exit 1); exit 1; }; }
22035 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22036 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22037 wxUSE_EXPAT
=builtin
22043 if test "$wxUSE_EXPAT" = "builtin" ; then
22046 subdirs
="$subdirs src/expat"
22053 if test "$wxUSE_LIBMSPACK" != "no"; then
22055 if test "${ac_cv_header_mspack_h+set}" = set; then
22056 echo "$as_me:$LINENO: checking for mspack.h" >&5
22057 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22058 if test "${ac_cv_header_mspack_h+set}" = set; then
22059 echo $ECHO_N "(cached) $ECHO_C" >&6
22061 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22062 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22064 # Is the header compilable?
22065 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22066 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22067 cat >conftest.
$ac_ext <<_ACEOF
22070 cat confdefs.h
>>conftest.
$ac_ext
22071 cat >>conftest.
$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22073 $ac_includes_default
22074 #include <mspack.h>
22076 rm -f conftest.
$ac_objext
22077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22078 (eval $ac_compile) 2>conftest.er1
22080 grep -v '^ *+' conftest.er1
>conftest.err
22082 cat conftest.err
>&5
22083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 (exit $ac_status); } &&
22085 { ac_try
='test -z "$ac_c_werror_flag"
22086 || test ! -s conftest.err'
22087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22088 (eval $ac_try) 2>&5
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); }; } &&
22092 { ac_try
='test -s conftest.$ac_objext'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; }; then
22098 ac_header_compiler
=yes
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.
$ac_ext >&5
22103 ac_header_compiler
=no
22105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22107 echo "${ECHO_T}$ac_header_compiler" >&6
22109 # Is the header present?
22110 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22111 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22112 cat >conftest.
$ac_ext <<_ACEOF
22115 cat confdefs.h
>>conftest.
$ac_ext
22116 cat >>conftest.
$ac_ext <<_ACEOF
22117 /* end confdefs.h. */
22118 #include <mspack.h>
22120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22121 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22123 grep -v '^ *+' conftest.er1
>conftest.err
22125 cat conftest.err
>&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); } >/dev
/null
; then
22128 if test -s conftest.err
; then
22129 ac_cpp_err
=$ac_c_preproc_warn_flag
22130 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22137 if test -z "$ac_cpp_err"; then
22138 ac_header_preproc
=yes
22140 echo "$as_me: failed program was:" >&5
22141 sed 's/^/| /' conftest.
$ac_ext >&5
22143 ac_header_preproc
=no
22145 rm -f conftest.err conftest.
$ac_ext
22146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22147 echo "${ECHO_T}$ac_header_preproc" >&6
22149 # So? What about this header?
22150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22152 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22153 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22154 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22155 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22156 ac_header_preproc
=yes
22159 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22160 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22161 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22162 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22163 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22164 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22165 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22166 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22167 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22168 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22169 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22170 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22173 ## ----------------------------------------- ##
22174 ## Report this to wx-dev@lists.wxwidgets.org ##
22175 ## ----------------------------------------- ##
22178 sed "s/^/$as_me: WARNING: /" >&2
22181 echo "$as_me:$LINENO: checking for mspack.h" >&5
22182 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22183 if test "${ac_cv_header_mspack_h+set}" = set; then
22184 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 ac_cv_header_mspack_h
=$ac_header_preproc
22188 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22189 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22192 if test $ac_cv_header_mspack_h = yes; then
22197 if test "x$found_mspack_h" = "x1"; then
22198 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22199 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22200 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22201 echo $ECHO_N "(cached) $ECHO_C" >&6
22203 ac_check_lib_save_LIBS
=$LIBS
22204 LIBS
="-lmspack $LIBS"
22205 cat >conftest.
$ac_ext <<_ACEOF
22208 cat confdefs.h
>>conftest.
$ac_ext
22209 cat >>conftest.
$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22212 /* Override any gcc2 internal prototype to avoid an error. */
22216 /* We use char because int might match the return type of a gcc2
22217 builtin and then its argument prototype would still apply. */
22218 char mspack_create_chm_decompressor ();
22222 mspack_create_chm_decompressor ();
22227 rm -f conftest.
$ac_objext conftest
$ac_exeext
22228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22229 (eval $ac_link) 2>conftest.er1
22231 grep -v '^ *+' conftest.er1
>conftest.err
22233 cat conftest.err
>&5
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); } &&
22236 { ac_try
='test -z "$ac_c_werror_flag"
22237 || test ! -s conftest.err'
22238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22239 (eval $ac_try) 2>&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); }; } &&
22243 { ac_try
='test -s conftest$ac_exeext'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; }; then
22249 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22251 echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.
$ac_ext >&5
22254 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22256 rm -f conftest.err conftest.
$ac_objext \
22257 conftest
$ac_exeext conftest.
$ac_ext
22258 LIBS
=$ac_check_lib_save_LIBS
22260 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22261 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22262 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22263 MSPACK_LINK
=" -lmspack"
22267 if test "x$MSPACK_LINK" = "x" ; then
22270 cat >>confdefs.h
<<\_ACEOF
22271 #define wxUSE_LIBMSPACK 1
22286 if test "$USE_WIN32" = 1 ; then
22288 for ac_header
in w32api.h
22290 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22292 echo "$as_me:$LINENO: checking for $ac_header" >&5
22293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22295 echo $ECHO_N "(cached) $ECHO_C" >&6
22297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22300 # Is the header compilable?
22301 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22303 cat >conftest.
$ac_ext <<_ACEOF
22306 cat confdefs.h
>>conftest.
$ac_ext
22307 cat >>conftest.
$ac_ext <<_ACEOF
22308 /* end confdefs.h. */
22309 $ac_includes_default
22310 #include <$ac_header>
22312 rm -f conftest.
$ac_objext
22313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22314 (eval $ac_compile) 2>conftest.er1
22316 grep -v '^ *+' conftest.er1
>conftest.err
22318 cat conftest.err
>&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } &&
22321 { ac_try
='test -z "$ac_c_werror_flag"
22322 || test ! -s conftest.err'
22323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22324 (eval $ac_try) 2>&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); }; } &&
22328 { ac_try
='test -s conftest.$ac_objext'
22329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22330 (eval $ac_try) 2>&5
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); }; }; then
22334 ac_header_compiler
=yes
22336 echo "$as_me: failed program was:" >&5
22337 sed 's/^/| /' conftest.
$ac_ext >&5
22339 ac_header_compiler
=no
22341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22343 echo "${ECHO_T}$ac_header_compiler" >&6
22345 # Is the header present?
22346 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22348 cat >conftest.
$ac_ext <<_ACEOF
22351 cat confdefs.h
>>conftest.
$ac_ext
22352 cat >>conftest.
$ac_ext <<_ACEOF
22353 /* end confdefs.h. */
22354 #include <$ac_header>
22356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22357 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22359 grep -v '^ *+' conftest.er1
>conftest.err
22361 cat conftest.err
>&5
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); } >/dev
/null
; then
22364 if test -s conftest.err
; then
22365 ac_cpp_err
=$ac_c_preproc_warn_flag
22366 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22373 if test -z "$ac_cpp_err"; then
22374 ac_header_preproc
=yes
22376 echo "$as_me: failed program was:" >&5
22377 sed 's/^/| /' conftest.
$ac_ext >&5
22379 ac_header_preproc
=no
22381 rm -f conftest.err conftest.
$ac_ext
22382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22383 echo "${ECHO_T}$ac_header_preproc" >&6
22385 # So? What about this header?
22386 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22388 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22391 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22392 ac_header_preproc
=yes
22395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22399 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22400 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22401 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22402 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22405 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22406 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22409 ## ----------------------------------------- ##
22410 ## Report this to wx-dev@lists.wxwidgets.org ##
22411 ## ----------------------------------------- ##
22414 sed "s/^/$as_me: WARNING: /" >&2
22417 echo "$as_me:$LINENO: checking for $ac_header" >&5
22418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22420 echo $ECHO_N "(cached) $ECHO_C" >&6
22422 eval "$as_ac_Header=\$ac_header_preproc"
22424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22429 cat >>confdefs.h
<<_ACEOF
22430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22437 if test "${ac_cv_header_windows_h+set}" = set; then
22438 echo "$as_me:$LINENO: checking for windows.h" >&5
22439 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22440 if test "${ac_cv_header_windows_h+set}" = set; then
22441 echo $ECHO_N "(cached) $ECHO_C" >&6
22443 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22444 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22446 # Is the header compilable?
22447 echo "$as_me:$LINENO: checking windows.h usability" >&5
22448 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22449 cat >conftest.
$ac_ext <<_ACEOF
22452 cat confdefs.h
>>conftest.
$ac_ext
22453 cat >>conftest.
$ac_ext <<_ACEOF
22454 /* end confdefs.h. */
22455 $ac_includes_default
22456 #include <windows.h>
22458 rm -f conftest.
$ac_objext
22459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22460 (eval $ac_compile) 2>conftest.er1
22462 grep -v '^ *+' conftest.er1
>conftest.err
22464 cat conftest.err
>&5
22465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22466 (exit $ac_status); } &&
22467 { ac_try
='test -z "$ac_c_werror_flag"
22468 || test ! -s conftest.err'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; } &&
22474 { ac_try
='test -s conftest.$ac_objext'
22475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22476 (eval $ac_try) 2>&5
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); }; }; then
22480 ac_header_compiler
=yes
22482 echo "$as_me: failed program was:" >&5
22483 sed 's/^/| /' conftest.
$ac_ext >&5
22485 ac_header_compiler
=no
22487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22488 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22489 echo "${ECHO_T}$ac_header_compiler" >&6
22491 # Is the header present?
22492 echo "$as_me:$LINENO: checking windows.h presence" >&5
22493 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22494 cat >conftest.
$ac_ext <<_ACEOF
22497 cat confdefs.h
>>conftest.
$ac_ext
22498 cat >>conftest.
$ac_ext <<_ACEOF
22499 /* end confdefs.h. */
22500 #include <windows.h>
22502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22505 grep -v '^ *+' conftest.er1
>conftest.err
22507 cat conftest.err
>&5
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); } >/dev
/null
; then
22510 if test -s conftest.err
; then
22511 ac_cpp_err
=$ac_c_preproc_warn_flag
22512 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22519 if test -z "$ac_cpp_err"; then
22520 ac_header_preproc
=yes
22522 echo "$as_me: failed program was:" >&5
22523 sed 's/^/| /' conftest.
$ac_ext >&5
22525 ac_header_preproc
=no
22527 rm -f conftest.err conftest.
$ac_ext
22528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22529 echo "${ECHO_T}$ac_header_preproc" >&6
22531 # So? What about this header?
22532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22534 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22535 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22536 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22537 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22538 ac_header_preproc
=yes
22541 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22542 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22543 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22544 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22545 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22546 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22547 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22548 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22549 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22550 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22551 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22552 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22555 ## ----------------------------------------- ##
22556 ## Report this to wx-dev@lists.wxwidgets.org ##
22557 ## ----------------------------------------- ##
22560 sed "s/^/$as_me: WARNING: /" >&2
22563 echo "$as_me:$LINENO: checking for windows.h" >&5
22564 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22565 if test "${ac_cv_header_windows_h+set}" = set; then
22566 echo $ECHO_N "(cached) $ECHO_C" >&6
22568 ac_cv_header_windows_h
=$ac_header_preproc
22570 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22571 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22574 if test $ac_cv_header_windows_h = yes; then
22578 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22579 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22580 { (exit 1); exit 1; }; }
22586 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22588 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22589 LIBS
="$LIBS -loleacc"
22594 LIBS
="$LIBS -lkernel32 -luser32"
22595 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22598 if test "$wxUSE_ODBC" = "sys" ; then
22601 if test "$wxUSE_ODBC" = "yes" ; then
22602 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22603 cat >>confdefs.h
<<\_ACEOF
22604 #define wxUSE_ODBC 1
22609 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22610 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22612 WIN32INSTALL
=win32install
22615 if test "$wxUSE_GUI" = "yes"; then
22625 if test "$wxUSE_COCOA" = 1 ; then
22626 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22627 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22628 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22629 wxUSE_PRINTING_ARCHITECTURE
=no
22631 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22632 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22633 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22634 wxUSE_DRAG_AND_DROP
=no
22636 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22637 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22638 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22643 if test "$wxUSE_MSW" = 1 ; then
22649 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22653 if test "$wxUSE_GTK" = 1; then
22654 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22655 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22657 gtk_version_cached
=1
22658 if test "${wx_cv_lib_gtk+set}" = set; then
22659 echo $ECHO_N "(cached) $ECHO_C" >&6
22662 gtk_version_cached
=0
22663 echo "$as_me:$LINENO: result: " >&5
22664 echo "${ECHO_T}" >&6
22667 if test "$wxUSE_THREADS" = "yes"; then
22668 GTK_MODULES
=gthread
22672 if test "x$wxUSE_GTK2" = "xyes"; then
22673 # Check whether --enable-gtktest or --disable-gtktest was given.
22674 if test "${enable_gtktest+set}" = set; then
22675 enableval
="$enable_gtktest"
22681 pkg_config_args
=gtk
+-2.0
22682 for module
in .
$GTK_MODULES
22686 pkg_config_args
="$pkg_config_args gthread-2.0"
22693 # Extract the first word of "pkg-config", so it can be a program name with args.
22694 set dummy pkg
-config; ac_word
=$2
22695 echo "$as_me:$LINENO: checking for $ac_word" >&5
22696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22697 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22698 echo $ECHO_N "(cached) $ECHO_C" >&6
22700 case $PKG_CONFIG in
22702 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22706 for as_dir
in $PATH
22709 test -z "$as_dir" && as_dir
=.
22710 for ac_exec_ext
in '' $ac_executable_extensions; do
22711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22712 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22719 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22723 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22725 if test -n "$PKG_CONFIG"; then
22726 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22727 echo "${ECHO_T}$PKG_CONFIG" >&6
22729 echo "$as_me:$LINENO: result: no" >&5
22730 echo "${ECHO_T}no" >&6
22734 if test x
$PKG_CONFIG != xno
; then
22735 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22738 echo "*** pkg-config too old; version 0.7 or better required."
22746 min_gtk_version
=2.0.0
22747 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22748 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22750 if test x
$PKG_CONFIG != xno
; then
22751 ## don't try to run the test against uninstalled libtool libs
22752 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22753 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22757 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22764 if test x
"$no_gtk" = x
; then
22765 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22766 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22767 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22769 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22771 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22773 if test "x$enable_gtktest" = "xyes" ; then
22774 ac_save_CFLAGS
="$CFLAGS"
22775 ac_save_LIBS
="$LIBS"
22776 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22777 LIBS
="$GTK_LIBS $LIBS"
22779 if test "$cross_compiling" = yes; then
22780 echo $ac_n "cross compiling; assumed OK... $ac_c"
22782 cat >conftest.
$ac_ext <<_ACEOF
22785 cat confdefs.h
>>conftest.
$ac_ext
22786 cat >>conftest.
$ac_ext <<_ACEOF
22787 /* end confdefs.h. */
22789 #include <gtk/gtk.h>
22791 #include <stdlib.h>
22796 int major, minor, micro;
22799 system ("touch conf.gtktest");
22801 /* HP/UX 9 (%@#!) writes to sscanf strings */
22802 tmp_version = g_strdup("$min_gtk_version");
22803 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22804 printf("%s, bad version string\n", "$min_gtk_version");
22808 if ((gtk_major_version != $gtk_config_major_version) ||
22809 (gtk_minor_version != $gtk_config_minor_version) ||
22810 (gtk_micro_version != $gtk_config_micro_version))
22812 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22813 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22814 gtk_major_version, gtk_minor_version, gtk_micro_version);
22815 printf ("*** was found! If pkg-config was correct, then it is best\n");
22816 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22817 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22818 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22819 printf("*** required on your system.\n");
22820 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22821 printf("*** to point to the correct configuration files\n");
22823 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22824 (gtk_minor_version != GTK_MINOR_VERSION) ||
22825 (gtk_micro_version != GTK_MICRO_VERSION))
22827 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22828 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22829 printf("*** library (version %d.%d.%d)\n",
22830 gtk_major_version, gtk_minor_version, gtk_micro_version);
22834 if ((gtk_major_version > major) ||
22835 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22836 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22842 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22843 gtk_major_version, gtk_minor_version, gtk_micro_version);
22844 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22845 major, minor, micro);
22846 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22848 printf("*** If you have already installed a sufficiently new version, this error\n");
22849 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22850 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22851 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22852 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22853 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22854 printf("*** so that the correct libraries are found at run-time))\n");
22861 rm -f conftest
$ac_exeext
22862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22863 (eval $ac_link) 2>&5
22865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22868 (eval $ac_try) 2>&5
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); }; }; then
22874 echo "$as_me: program exited with status $ac_status" >&5
22875 echo "$as_me: failed program was:" >&5
22876 sed 's/^/| /' conftest.
$ac_ext >&5
22878 ( exit $ac_status )
22881 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22883 CFLAGS
="$ac_save_CFLAGS"
22884 LIBS
="$ac_save_LIBS"
22887 if test "x$no_gtk" = x
; then
22888 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22889 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22892 echo "$as_me:$LINENO: result: no" >&5
22893 echo "${ECHO_T}no" >&6
22894 if test "$PKG_CONFIG" = "no" ; then
22895 echo "*** A new enough version of pkg-config was not found."
22896 echo "*** See http://pkgconfig.sourceforge.net"
22898 if test -f conf.gtktest
; then
22901 echo "*** Could not run GTK+ test program, checking why..."
22902 ac_save_CFLAGS
="$CFLAGS"
22903 ac_save_LIBS
="$LIBS"
22904 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22905 LIBS
="$LIBS $GTK_LIBS"
22906 cat >conftest.
$ac_ext <<_ACEOF
22909 cat confdefs.h
>>conftest.
$ac_ext
22910 cat >>conftest.
$ac_ext <<_ACEOF
22911 /* end confdefs.h. */
22913 #include <gtk/gtk.h>
22919 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22924 rm -f conftest.
$ac_objext conftest
$ac_exeext
22925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22926 (eval $ac_link) 2>conftest.er1
22928 grep -v '^ *+' conftest.er1
>conftest.err
22930 cat conftest.err
>&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); } &&
22933 { ac_try
='test -z "$ac_c_werror_flag"
22934 || test ! -s conftest.err'
22935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22936 (eval $ac_try) 2>&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); }; } &&
22940 { ac_try
='test -s conftest$ac_exeext'
22941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22942 (eval $ac_try) 2>&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); }; }; then
22946 echo "*** The test program compiled, but did not run. This usually means"
22947 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22948 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22949 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22950 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22951 echo "*** is required on your system"
22953 echo "*** If you have an old version installed, it is best to remove it, although"
22954 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22956 echo "$as_me: failed program was:" >&5
22957 sed 's/^/| /' conftest.
$ac_ext >&5
22959 echo "*** The test program failed to compile or link. See the file config.log for the"
22960 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22962 rm -f conftest.err conftest.
$ac_objext \
22963 conftest
$ac_exeext conftest.
$ac_ext
22964 CFLAGS
="$ac_save_CFLAGS"
22965 LIBS
="$ac_save_LIBS"
22978 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22979 if test "${with_gtk_prefix+set}" = set; then
22980 withval
="$with_gtk_prefix"
22981 gtk_config_prefix
="$withval"
22983 gtk_config_prefix
=""
22986 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22987 if test "${with_gtk_exec_prefix+set}" = set; then
22988 withval
="$with_gtk_exec_prefix"
22989 gtk_config_exec_prefix
="$withval"
22991 gtk_config_exec_prefix
=""
22993 # Check whether --enable-gtktest or --disable-gtktest was given.
22994 if test "${enable_gtktest+set}" = set; then
22995 enableval
="$enable_gtktest"
23001 for module
in .
$GTK_MODULES
23005 gtk_config_args
="$gtk_config_args gthread"
23010 if test x
$gtk_config_exec_prefix != x
; then
23011 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23012 if test x
${GTK_CONFIG+set} != xset
; then
23013 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23016 if test x
$gtk_config_prefix != x
; then
23017 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23018 if test x
${GTK_CONFIG+set} != xset
; then
23019 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23023 # Extract the first word of "gtk-config", so it can be a program name with args.
23024 set dummy gtk
-config; ac_word
=$2
23025 echo "$as_me:$LINENO: checking for $ac_word" >&5
23026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23027 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23028 echo $ECHO_N "(cached) $ECHO_C" >&6
23030 case $GTK_CONFIG in
23032 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23036 for as_dir
in $PATH
23039 test -z "$as_dir" && as_dir
=.
23040 for ac_exec_ext
in '' $ac_executable_extensions; do
23041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23042 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23049 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23053 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23055 if test -n "$GTK_CONFIG"; then
23056 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23057 echo "${ECHO_T}$GTK_CONFIG" >&6
23059 echo "$as_me:$LINENO: result: no" >&5
23060 echo "${ECHO_T}no" >&6
23063 min_gtk_version
=1.2.7
23064 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23065 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23067 if test "$GTK_CONFIG" = "no" ; then
23070 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23071 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23072 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23073 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23074 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23075 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23076 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23077 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23078 if test "x$enable_gtktest" = "xyes" ; then
23079 ac_save_CFLAGS
="$CFLAGS"
23080 ac_save_LIBS
="$LIBS"
23081 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23082 LIBS
="$GTK_LIBS $LIBS"
23084 if test "$cross_compiling" = yes; then
23085 echo $ac_n "cross compiling; assumed OK... $ac_c"
23087 cat >conftest.
$ac_ext <<_ACEOF
23090 cat confdefs.h
>>conftest.
$ac_ext
23091 cat >>conftest.
$ac_ext <<_ACEOF
23092 /* end confdefs.h. */
23094 #include <gtk/gtk.h>
23096 #include <stdlib.h>
23101 int major, minor, micro;
23104 system ("touch conf.gtktest");
23106 /* HP/UX 9 (%@#!) writes to sscanf strings */
23107 tmp_version = g_strdup("$min_gtk_version");
23108 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23109 printf("%s, bad version string\n", "$min_gtk_version");
23113 if ((gtk_major_version != $gtk_config_major_version) ||
23114 (gtk_minor_version != $gtk_config_minor_version) ||
23115 (gtk_micro_version != $gtk_config_micro_version))
23117 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23118 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23119 gtk_major_version, gtk_minor_version, gtk_micro_version);
23120 printf ("*** was found! If gtk-config was correct, then it is best\n");
23121 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23122 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23123 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23124 printf("*** required on your system.\n");
23125 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23126 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23127 printf("*** before re-running configure\n");
23129 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23130 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23131 (gtk_minor_version != GTK_MINOR_VERSION) ||
23132 (gtk_micro_version != GTK_MICRO_VERSION))
23134 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23135 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23136 printf("*** library (version %d.%d.%d)\n",
23137 gtk_major_version, gtk_minor_version, gtk_micro_version);
23139 #endif /* defined (GTK_MAJOR_VERSION) ... */
23142 if ((gtk_major_version > major) ||
23143 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23144 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23150 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23151 gtk_major_version, gtk_minor_version, gtk_micro_version);
23152 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23153 major, minor, micro);
23154 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23156 printf("*** If you have already installed a sufficiently new version, this error\n");
23157 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23158 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23159 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23160 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23161 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23162 printf("*** so that the correct libraries are found at run-time))\n");
23169 rm -f conftest
$ac_exeext
23170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23171 (eval $ac_link) 2>&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23176 (eval $ac_try) 2>&5
23178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179 (exit $ac_status); }; }; then
23182 echo "$as_me: program exited with status $ac_status" >&5
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.
$ac_ext >&5
23186 ( exit $ac_status )
23189 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23191 CFLAGS
="$ac_save_CFLAGS"
23192 LIBS
="$ac_save_LIBS"
23195 if test "x$no_gtk" = x
; then
23196 echo "$as_me:$LINENO: result: yes" >&5
23197 echo "${ECHO_T}yes" >&6
23198 wx_cv_lib_gtk
=1.2.7
23200 echo "$as_me:$LINENO: result: no" >&5
23201 echo "${ECHO_T}no" >&6
23202 if test "$GTK_CONFIG" = "no" ; then
23203 echo "*** The gtk-config script installed by GTK could not be found"
23204 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23205 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23206 echo "*** full path to gtk-config."
23208 if test -f conf.gtktest
; then
23211 echo "*** Could not run GTK test program, checking why..."
23212 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23213 LIBS
="$LIBS $GTK_LIBS"
23214 cat >conftest.
$ac_ext <<_ACEOF
23217 cat confdefs.h
>>conftest.
$ac_ext
23218 cat >>conftest.
$ac_ext <<_ACEOF
23219 /* end confdefs.h. */
23221 #include <gtk/gtk.h>
23227 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23232 rm -f conftest.
$ac_objext conftest
$ac_exeext
23233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23234 (eval $ac_link) 2>conftest.er1
23236 grep -v '^ *+' conftest.er1
>conftest.err
23238 cat conftest.err
>&5
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); } &&
23241 { ac_try
='test -z "$ac_c_werror_flag"
23242 || test ! -s conftest.err'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; } &&
23248 { ac_try
='test -s conftest$ac_exeext'
23249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23250 (eval $ac_try) 2>&5
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); }; }; then
23254 echo "*** The test program compiled, but did not run. This usually means"
23255 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23256 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23257 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23258 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23259 echo "*** is required on your system"
23261 echo "*** If you have an old version installed, it is best to remove it, although"
23262 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23264 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23265 echo "*** came with the system with the command"
23267 echo "*** rpm --erase --nodeps gtk gtk-devel"
23269 echo "$as_me: failed program was:" >&5
23270 sed 's/^/| /' conftest.
$ac_ext >&5
23272 echo "*** The test program failed to compile or link. See the file config.log for the"
23273 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23274 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23275 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23277 rm -f conftest.err conftest.
$ac_objext \
23278 conftest
$ac_exeext conftest.
$ac_ext
23279 CFLAGS
="$ac_save_CFLAGS"
23280 LIBS
="$ac_save_LIBS"
23292 if test -z "$wx_cv_lib_gtk"; then
23294 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23295 if test "${with_gtk_prefix+set}" = set; then
23296 withval
="$with_gtk_prefix"
23297 gtk_config_prefix
="$withval"
23299 gtk_config_prefix
=""
23302 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23303 if test "${with_gtk_exec_prefix+set}" = set; then
23304 withval
="$with_gtk_exec_prefix"
23305 gtk_config_exec_prefix
="$withval"
23307 gtk_config_exec_prefix
=""
23309 # Check whether --enable-gtktest or --disable-gtktest was given.
23310 if test "${enable_gtktest+set}" = set; then
23311 enableval
="$enable_gtktest"
23317 for module
in .
$GTK_MODULES
23321 gtk_config_args
="$gtk_config_args gthread"
23326 if test x
$gtk_config_exec_prefix != x
; then
23327 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23328 if test x
${GTK_CONFIG+set} != xset
; then
23329 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23332 if test x
$gtk_config_prefix != x
; then
23333 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23334 if test x
${GTK_CONFIG+set} != xset
; then
23335 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23339 # Extract the first word of "gtk-config", so it can be a program name with args.
23340 set dummy gtk
-config; ac_word
=$2
23341 echo "$as_me:$LINENO: checking for $ac_word" >&5
23342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23343 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23344 echo $ECHO_N "(cached) $ECHO_C" >&6
23346 case $GTK_CONFIG in
23348 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23352 for as_dir
in $PATH
23355 test -z "$as_dir" && as_dir
=.
23356 for ac_exec_ext
in '' $ac_executable_extensions; do
23357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23358 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23365 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23369 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23371 if test -n "$GTK_CONFIG"; then
23372 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23373 echo "${ECHO_T}$GTK_CONFIG" >&6
23375 echo "$as_me:$LINENO: result: no" >&5
23376 echo "${ECHO_T}no" >&6
23379 min_gtk_version
=1.2.3
23380 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23381 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23383 if test "$GTK_CONFIG" = "no" ; then
23386 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23387 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23388 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23389 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23390 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23391 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23392 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23394 if test "x$enable_gtktest" = "xyes" ; then
23395 ac_save_CFLAGS
="$CFLAGS"
23396 ac_save_LIBS
="$LIBS"
23397 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23398 LIBS
="$GTK_LIBS $LIBS"
23400 if test "$cross_compiling" = yes; then
23401 echo $ac_n "cross compiling; assumed OK... $ac_c"
23403 cat >conftest.
$ac_ext <<_ACEOF
23406 cat confdefs.h
>>conftest.
$ac_ext
23407 cat >>conftest.
$ac_ext <<_ACEOF
23408 /* end confdefs.h. */
23410 #include <gtk/gtk.h>
23412 #include <stdlib.h>
23417 int major, minor, micro;
23420 system ("touch conf.gtktest");
23422 /* HP/UX 9 (%@#!) writes to sscanf strings */
23423 tmp_version = g_strdup("$min_gtk_version");
23424 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23425 printf("%s, bad version string\n", "$min_gtk_version");
23429 if ((gtk_major_version != $gtk_config_major_version) ||
23430 (gtk_minor_version != $gtk_config_minor_version) ||
23431 (gtk_micro_version != $gtk_config_micro_version))
23433 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23434 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23435 gtk_major_version, gtk_minor_version, gtk_micro_version);
23436 printf ("*** was found! If gtk-config was correct, then it is best\n");
23437 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23438 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23439 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23440 printf("*** required on your system.\n");
23441 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23442 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23443 printf("*** before re-running configure\n");
23445 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23446 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23447 (gtk_minor_version != GTK_MINOR_VERSION) ||
23448 (gtk_micro_version != GTK_MICRO_VERSION))
23450 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23451 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23452 printf("*** library (version %d.%d.%d)\n",
23453 gtk_major_version, gtk_minor_version, gtk_micro_version);
23455 #endif /* defined (GTK_MAJOR_VERSION) ... */
23458 if ((gtk_major_version > major) ||
23459 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23460 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23466 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23467 gtk_major_version, gtk_minor_version, gtk_micro_version);
23468 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23469 major, minor, micro);
23470 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23472 printf("*** If you have already installed a sufficiently new version, this error\n");
23473 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23474 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23475 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23476 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23477 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23478 printf("*** so that the correct libraries are found at run-time))\n");
23485 rm -f conftest
$ac_exeext
23486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23487 (eval $ac_link) 2>&5
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23492 (eval $ac_try) 2>&5
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); }; }; then
23498 echo "$as_me: program exited with status $ac_status" >&5
23499 echo "$as_me: failed program was:" >&5
23500 sed 's/^/| /' conftest.
$ac_ext >&5
23502 ( exit $ac_status )
23505 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23507 CFLAGS
="$ac_save_CFLAGS"
23508 LIBS
="$ac_save_LIBS"
23511 if test "x$no_gtk" = x
; then
23512 echo "$as_me:$LINENO: result: yes" >&5
23513 echo "${ECHO_T}yes" >&6
23514 wx_cv_lib_gtk
=1.2.3
23516 echo "$as_me:$LINENO: result: no" >&5
23517 echo "${ECHO_T}no" >&6
23518 if test "$GTK_CONFIG" = "no" ; then
23519 echo "*** The gtk-config script installed by GTK could not be found"
23520 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23521 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23522 echo "*** full path to gtk-config."
23524 if test -f conf.gtktest
; then
23527 echo "*** Could not run GTK test program, checking why..."
23528 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23529 LIBS
="$LIBS $GTK_LIBS"
23530 cat >conftest.
$ac_ext <<_ACEOF
23533 cat confdefs.h
>>conftest.
$ac_ext
23534 cat >>conftest.
$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23537 #include <gtk/gtk.h>
23543 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23548 rm -f conftest.
$ac_objext conftest
$ac_exeext
23549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23550 (eval $ac_link) 2>conftest.er1
23552 grep -v '^ *+' conftest.er1
>conftest.err
23554 cat conftest.err
>&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); } &&
23557 { ac_try
='test -z "$ac_c_werror_flag"
23558 || test ! -s conftest.err'
23559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23560 (eval $ac_try) 2>&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); }; } &&
23564 { ac_try
='test -s conftest$ac_exeext'
23565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23566 (eval $ac_try) 2>&5
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); }; }; then
23570 echo "*** The test program compiled, but did not run. This usually means"
23571 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23572 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23573 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23574 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23575 echo "*** is required on your system"
23577 echo "*** If you have an old version installed, it is best to remove it, although"
23578 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23580 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23581 echo "*** came with the system with the command"
23583 echo "*** rpm --erase --nodeps gtk gtk-devel"
23585 echo "$as_me: failed program was:" >&5
23586 sed 's/^/| /' conftest.
$ac_ext >&5
23588 echo "*** The test program failed to compile or link. See the file config.log for the"
23589 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23590 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23591 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23593 rm -f conftest.err conftest.
$ac_objext \
23594 conftest
$ac_exeext conftest.
$ac_ext
23595 CFLAGS
="$ac_save_CFLAGS"
23596 LIBS
="$ac_save_LIBS"
23610 if test -z "$wx_cv_lib_gtk"; then
23613 wx_cv_cflags_gtk
=$GTK_CFLAGS
23614 wx_cv_libs_gtk
=$GTK_LIBS
23621 if test "$gtk_version_cached" = 1; then
23622 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23623 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23626 case "$wx_cv_lib_gtk" in
23635 *) { { echo "$as_me:$LINENO: error:
23636 Please check that gtk-config is in path, the directory
23637 where GTK+ libraries are installed (returned by
23638 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23639 equivalent variable and GTK+ is version 1.2.3 or above.
23641 echo "$as_me: error:
23642 Please check that gtk-config is in path, the directory
23643 where GTK+ libraries are installed (returned by
23644 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23645 equivalent variable and GTK+ is version 1.2.3 or above.
23647 { (exit 1); exit 1; }; }
23651 if test "$WXGTK20" = 1; then
23652 save_CFLAGS
="$CFLAGS"
23654 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23655 LIBS
="$LIBS $GTK_LIBS"
23657 for ac_func
in pango_font_family_is_monospace
23659 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23660 echo "$as_me:$LINENO: checking for $ac_func" >&5
23661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23662 if eval "test \"\${$as_ac_var+set}\" = set"; then
23663 echo $ECHO_N "(cached) $ECHO_C" >&6
23665 cat >conftest.
$ac_ext <<_ACEOF
23668 cat confdefs.h
>>conftest.
$ac_ext
23669 cat >>conftest.
$ac_ext <<_ACEOF
23670 /* end confdefs.h. */
23671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23673 #define $ac_func innocuous_$ac_func
23675 /* System header to define __stub macros and hopefully few prototypes,
23676 which can conflict with char $ac_func (); below.
23677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23678 <limits.h> exists even on freestanding compilers. */
23681 # include <limits.h>
23683 # include <assert.h>
23688 /* Override any gcc2 internal prototype to avoid an error. */
23693 /* We use char because int might match the return type of a gcc2
23694 builtin and then its argument prototype would still apply. */
23696 /* The GNU C library defines this for functions which it implements
23697 to always fail with ENOSYS. Some functions are actually named
23698 something starting with __ and the normal name is an alias. */
23699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23702 char (*f) () = $ac_func;
23711 return f != $ac_func;
23716 rm -f conftest.
$ac_objext conftest
$ac_exeext
23717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23718 (eval $ac_link) 2>conftest.er1
23720 grep -v '^ *+' conftest.er1
>conftest.err
23722 cat conftest.err
>&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); } &&
23725 { ac_try
='test -z "$ac_c_werror_flag"
23726 || test ! -s conftest.err'
23727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23728 (eval $ac_try) 2>&5
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); }; } &&
23732 { ac_try
='test -s conftest$ac_exeext'
23733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23734 (eval $ac_try) 2>&5
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); }; }; then
23738 eval "$as_ac_var=yes"
23740 echo "$as_me: failed program was:" >&5
23741 sed 's/^/| /' conftest.
$ac_ext >&5
23743 eval "$as_ac_var=no"
23745 rm -f conftest.err conftest.
$ac_objext \
23746 conftest
$ac_exeext conftest.
$ac_ext
23748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23750 if test `eval echo '${'$as_ac_var'}'` = yes; then
23751 cat >>confdefs.h
<<_ACEOF
23752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23758 CFLAGS
="$save_CFLAGS"
23761 if test "$wxUSE_UNICODE" = "yes"; then
23762 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23763 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23768 if test "$USE_DARWIN" != 1; then
23770 for ac_func
in poll
23772 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23773 echo "$as_me:$LINENO: checking for $ac_func" >&5
23774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23775 if eval "test \"\${$as_ac_var+set}\" = set"; then
23776 echo $ECHO_N "(cached) $ECHO_C" >&6
23778 cat >conftest.
$ac_ext <<_ACEOF
23781 cat confdefs.h
>>conftest.
$ac_ext
23782 cat >>conftest.
$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23786 #define $ac_func innocuous_$ac_func
23788 /* System header to define __stub macros and hopefully few prototypes,
23789 which can conflict with char $ac_func (); below.
23790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23791 <limits.h> exists even on freestanding compilers. */
23794 # include <limits.h>
23796 # include <assert.h>
23801 /* Override any gcc2 internal prototype to avoid an error. */
23806 /* We use char because int might match the return type of a gcc2
23807 builtin and then its argument prototype would still apply. */
23809 /* The GNU C library defines this for functions which it implements
23810 to always fail with ENOSYS. Some functions are actually named
23811 something starting with __ and the normal name is an alias. */
23812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23815 char (*f) () = $ac_func;
23824 return f != $ac_func;
23829 rm -f conftest.
$ac_objext conftest
$ac_exeext
23830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23831 (eval $ac_link) 2>conftest.er1
23833 grep -v '^ *+' conftest.er1
>conftest.err
23835 cat conftest.err
>&5
23836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23837 (exit $ac_status); } &&
23838 { ac_try
='test -z "$ac_c_werror_flag"
23839 || test ! -s conftest.err'
23840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23841 (eval $ac_try) 2>&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); }; } &&
23845 { ac_try
='test -s conftest$ac_exeext'
23846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23847 (eval $ac_try) 2>&5
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); }; }; then
23851 eval "$as_ac_var=yes"
23853 echo "$as_me: failed program was:" >&5
23854 sed 's/^/| /' conftest.
$ac_ext >&5
23856 eval "$as_ac_var=no"
23858 rm -f conftest.err conftest.
$ac_objext \
23859 conftest
$ac_exeext conftest.
$ac_ext
23861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23863 if test `eval echo '${'$as_ac_var'}'` = yes; then
23864 cat >>confdefs.h
<<_ACEOF
23865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23873 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23874 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23876 AFMINSTALL
=afminstall
23880 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23881 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23882 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23883 echo $ECHO_N "(cached) $ECHO_C" >&6
23885 ac_check_lib_save_LIBS
=$LIBS
23887 cat >conftest.
$ac_ext <<_ACEOF
23890 cat confdefs.h
>>conftest.
$ac_ext
23891 cat >>conftest.
$ac_ext <<_ACEOF
23892 /* end confdefs.h. */
23894 /* Override any gcc2 internal prototype to avoid an error. */
23898 /* We use char because int might match the return type of a gcc2
23899 builtin and then its argument prototype would still apply. */
23900 char gdk_im_open ();
23909 rm -f conftest.
$ac_objext conftest
$ac_exeext
23910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23911 (eval $ac_link) 2>conftest.er1
23913 grep -v '^ *+' conftest.er1
>conftest.err
23915 cat conftest.err
>&5
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); } &&
23918 { ac_try
='test -z "$ac_c_werror_flag"
23919 || test ! -s conftest.err'
23920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23921 (eval $ac_try) 2>&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); }; } &&
23925 { ac_try
='test -s conftest$ac_exeext'
23926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23927 (eval $ac_try) 2>&5
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); }; }; then
23931 ac_cv_lib_gdk_gdk_im_open
=yes
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.
$ac_ext >&5
23936 ac_cv_lib_gdk_gdk_im_open
=no
23938 rm -f conftest.err conftest.
$ac_objext \
23939 conftest
$ac_exeext conftest.
$ac_ext
23940 LIBS
=$ac_check_lib_save_LIBS
23942 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23943 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23944 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23945 cat >>confdefs.h
<<\_ACEOF
23953 if test "$wxUSE_GPE" = "yes"; then
23954 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23955 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23958 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23960 for ac_extension
in a so sl dylib
; do
23961 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23962 ac_find_libraries
=$ac_dir
23968 if test "$ac_find_libraries" != "" ; then
23970 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23972 if test $result = 0; then
23975 ac_path_to_link
=" -L$ac_find_libraries"
23978 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23980 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23981 echo "${ECHO_T}found at $ac_find_libraries" >&6
23983 echo "$as_me:$LINENO: result: not found" >&5
23984 echo "${ECHO_T}not found" >&6
23990 if test "$wxUSE_MGL" = 1; then
23991 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23992 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23993 if test "x$MGL_ROOT" = x
; then
23994 echo "$as_me:$LINENO: result: not found" >&5
23995 echo "${ECHO_T}not found" >&6
23996 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23997 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23998 { (exit 1); exit 1; }; }
24000 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24001 echo "${ECHO_T}$MGL_ROOT" >&6
24004 echo "$as_me:$LINENO: checking for libmgl location" >&5
24005 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24008 if test "x$wxUSE_SHARED" = xyes
; then
24009 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24011 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24015 mgl_os_candidates
="dos32/dj2"
24018 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24019 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24020 { (exit 1); exit 1; }; }
24026 for mgl_os_i
in $mgl_os_candidates ; do
24027 if test "x$mgl_os" = x
; then
24028 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24029 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24030 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24035 if test "x$mgl_lib_type" = x
; then
24036 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24037 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24038 mgl_lib_type
=release
24045 if test "x$mgl_os" = x
; then
24046 echo "$as_me:$LINENO: result: not found" >&5
24047 echo "${ECHO_T}not found" >&6
24048 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24049 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24050 { (exit 1); exit 1; }; }
24052 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24053 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24055 wxUSE_UNIVERSAL
="yes"
24057 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24058 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24060 AFMINSTALL
=afminstall
24065 if test "$wxUSE_MICROWIN" = 1; then
24066 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24067 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24068 if test "x$MICROWINDOWS" = x
; then
24069 echo "$as_me:$LINENO: result: not found" >&5
24070 echo "${ECHO_T}not found" >&6
24071 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24072 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24073 { (exit 1); exit 1; }; }
24075 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24076 echo "${ECHO_T}$MICROWINDOWS" >&6
24079 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24080 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24081 echo "${ECHO_T}MicroWindows' libraries found." >&6
24083 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24084 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24085 { (exit 1); exit 1; }; }
24088 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24089 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24091 wxUSE_UNIVERSAL
="yes"
24093 AFMINSTALL
=afminstall
24095 GUIDIST
=MICROWIN_DIST
24097 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24100 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24101 echo "$as_me:$LINENO: checking for X" >&5
24102 echo $ECHO_N "checking for X... $ECHO_C" >&6
24105 # Check whether --with-x or --without-x was given.
24106 if test "${with_x+set}" = set; then
24110 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24111 if test "x$with_x" = xno
; then
24112 # The user explicitly disabled X.
24115 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24116 # Both variables are already set.
24119 if test "${ac_cv_have_x+set}" = set; then
24120 echo $ECHO_N "(cached) $ECHO_C" >&6
24122 # One or both of the vars are not set, and there is no cached value.
24123 ac_x_includes
=no ac_x_libraries
=no
24124 rm -fr conftest.dir
24125 if mkdir conftest.dir
; then
24127 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24128 cat >Imakefile
<<'_ACEOF'
24130 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24132 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24133 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24134 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24135 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24136 for ac_extension
in a so sl
; do
24137 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24138 test -f $ac_im_libdir/libX11.
$ac_extension; then
24139 ac_im_usrlibdir
=$ac_im_libdir; break
24142 # Screen out bogus values from the imake configuration. They are
24143 # bogus both because they are the default anyway, and because
24144 # using them would break gcc on systems where it needs fixed includes.
24145 case $ac_im_incroot in
24147 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24149 case $ac_im_usrlibdir in
24150 /usr
/lib
| /lib
) ;;
24151 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24155 rm -fr conftest.dir
24158 # Standard set of common directories for X headers.
24159 # Check X11 before X11Rn because it is often a symlink to the current release.
24171 /usr/local/X11/include
24172 /usr/local/X11R6/include
24173 /usr/local/X11R5/include
24174 /usr/local/X11R4/include
24176 /usr/local/include/X11
24177 /usr/local/include/X11R6
24178 /usr/local/include/X11R5
24179 /usr/local/include/X11R4
24183 /usr/XFree86/include/X11
24187 /usr/unsupported/include
24188 /usr/athena/include
24189 /usr/local/x11r5/include
24190 /usr/lpp/Xamples/include
24192 /usr/openwin/include
24193 /usr/openwin/share/include'
24195 if test "$ac_x_includes" = no
; then
24196 # Guess where to find include files, by looking for Intrinsic.h.
24197 # First, try using that file with no special directory specified.
24198 cat >conftest.
$ac_ext <<_ACEOF
24201 cat confdefs.h
>>conftest.
$ac_ext
24202 cat >>conftest.
$ac_ext <<_ACEOF
24203 /* end confdefs.h. */
24204 #include <X11/Intrinsic.h>
24206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24207 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24209 grep -v '^ *+' conftest.er1
>conftest.err
24211 cat conftest.err
>&5
24212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213 (exit $ac_status); } >/dev
/null
; then
24214 if test -s conftest.err
; then
24215 ac_cpp_err
=$ac_c_preproc_warn_flag
24216 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24223 if test -z "$ac_cpp_err"; then
24224 # We can compile using X headers with no special include directory.
24227 echo "$as_me: failed program was:" >&5
24228 sed 's/^/| /' conftest.
$ac_ext >&5
24230 for ac_dir
in $ac_x_header_dirs; do
24231 if test -r "$ac_dir/X11/Intrinsic.h"; then
24232 ac_x_includes
=$ac_dir
24237 rm -f conftest.err conftest.
$ac_ext
24238 fi # $ac_x_includes = no
24240 if test "$ac_x_libraries" = no
; then
24241 # Check for the libraries.
24242 # See if we find them without any special options.
24243 # Don't add to $LIBS permanently.
24246 cat >conftest.
$ac_ext <<_ACEOF
24249 cat confdefs.h
>>conftest.
$ac_ext
24250 cat >>conftest.
$ac_ext <<_ACEOF
24251 /* end confdefs.h. */
24252 #include <X11/Intrinsic.h>
24261 rm -f conftest.
$ac_objext conftest
$ac_exeext
24262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24263 (eval $ac_link) 2>conftest.er1
24265 grep -v '^ *+' conftest.er1
>conftest.err
24267 cat conftest.err
>&5
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); } &&
24270 { ac_try
='test -z "$ac_c_werror_flag"
24271 || test ! -s conftest.err'
24272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273 (eval $ac_try) 2>&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); }; } &&
24277 { ac_try
='test -s conftest$ac_exeext'
24278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24279 (eval $ac_try) 2>&5
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); }; }; then
24284 # We can link X programs with no special library path.
24287 echo "$as_me: failed program was:" >&5
24288 sed 's/^/| /' conftest.
$ac_ext >&5
24291 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24293 # Don't even attempt the hair of trying to link an X program!
24294 for ac_extension
in a so sl
; do
24295 if test -r $ac_dir/libXt.
$ac_extension; then
24296 ac_x_libraries
=$ac_dir
24302 rm -f conftest.err conftest.
$ac_objext \
24303 conftest
$ac_exeext conftest.
$ac_ext
24304 fi # $ac_x_libraries = no
24306 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24307 # Didn't find X anywhere. Cache the known absence of X.
24308 ac_cv_have_x
="have_x=no"
24310 # Record where we found X for the cache.
24311 ac_cv_have_x
="have_x=yes \
24312 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24317 eval "$ac_cv_have_x"
24320 if test "$have_x" != yes; then
24321 echo "$as_me:$LINENO: result: $have_x" >&5
24322 echo "${ECHO_T}$have_x" >&6
24325 # If each of the values was on the command line, it overrides each guess.
24326 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24327 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24328 # Update the cache value to reflect the command line values.
24329 ac_cv_have_x
="have_x=yes \
24330 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24331 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24332 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24335 if test "$no_x" = yes; then
24336 # Not all programs may use this symbol, but it does not hurt to define it.
24338 cat >>confdefs.h
<<\_ACEOF
24339 #define X_DISPLAY_MISSING 1
24342 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24344 if test -n "$x_includes"; then
24345 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24348 # It would also be nice to do this for all -L options, not just this one.
24349 if test -n "$x_libraries"; then
24350 X_LIBS
="$X_LIBS -L$x_libraries"
24351 # For Solaris; some versions of Sun CC require a space after -R and
24352 # others require no space. Words are not sufficient . . . .
24353 case `(uname -sr) 2>/dev/null` in
24355 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24356 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24357 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24358 cat >conftest.
$ac_ext <<_ACEOF
24361 cat confdefs.h
>>conftest.
$ac_ext
24362 cat >>conftest.
$ac_ext <<_ACEOF
24363 /* end confdefs.h. */
24373 rm -f conftest.
$ac_objext conftest
$ac_exeext
24374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24375 (eval $ac_link) 2>conftest.er1
24377 grep -v '^ *+' conftest.er1
>conftest.err
24379 cat conftest.err
>&5
24380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24381 (exit $ac_status); } &&
24382 { ac_try
='test -z "$ac_c_werror_flag"
24383 || test ! -s conftest.err'
24384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24385 (eval $ac_try) 2>&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); }; } &&
24389 { ac_try
='test -s conftest$ac_exeext'
24390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24391 (eval $ac_try) 2>&5
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); }; }; then
24397 echo "$as_me: failed program was:" >&5
24398 sed 's/^/| /' conftest.
$ac_ext >&5
24402 rm -f conftest.err conftest.
$ac_objext \
24403 conftest
$ac_exeext conftest.
$ac_ext
24404 if test $ac_R_nospace = yes; then
24405 echo "$as_me:$LINENO: result: no" >&5
24406 echo "${ECHO_T}no" >&6
24407 X_LIBS
="$X_LIBS -R$x_libraries"
24409 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24410 cat >conftest.
$ac_ext <<_ACEOF
24413 cat confdefs.h
>>conftest.
$ac_ext
24414 cat >>conftest.
$ac_ext <<_ACEOF
24415 /* end confdefs.h. */
24425 rm -f conftest.
$ac_objext conftest
$ac_exeext
24426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24427 (eval $ac_link) 2>conftest.er1
24429 grep -v '^ *+' conftest.er1
>conftest.err
24431 cat conftest.err
>&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); } &&
24434 { ac_try
='test -z "$ac_c_werror_flag"
24435 || test ! -s conftest.err'
24436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24437 (eval $ac_try) 2>&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); }; } &&
24441 { ac_try
='test -s conftest$ac_exeext'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; }; then
24449 echo "$as_me: failed program was:" >&5
24450 sed 's/^/| /' conftest.
$ac_ext >&5
24454 rm -f conftest.err conftest.
$ac_objext \
24455 conftest
$ac_exeext conftest.
$ac_ext
24456 if test $ac_R_space = yes; then
24457 echo "$as_me:$LINENO: result: yes" >&5
24458 echo "${ECHO_T}yes" >&6
24459 X_LIBS
="$X_LIBS -R $x_libraries"
24461 echo "$as_me:$LINENO: result: neither works" >&5
24462 echo "${ECHO_T}neither works" >&6
24465 LIBS
=$ac_xsave_LIBS
24469 # Check for system-dependent libraries X programs must link with.
24470 # Do this before checking for the system-independent R6 libraries
24471 # (-lICE), since we may need -lsocket or whatever for X linking.
24473 if test "$ISC" = yes; then
24474 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24476 # Martyn Johnson says this is needed for Ultrix, if the X
24477 # libraries were built with DECnet support. And Karl Berry says
24478 # the Alpha needs dnet_stub (dnet does not exist).
24479 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24480 cat >conftest.
$ac_ext <<_ACEOF
24483 cat confdefs.h
>>conftest.
$ac_ext
24484 cat >>conftest.
$ac_ext <<_ACEOF
24485 /* end confdefs.h. */
24487 /* Override any gcc2 internal prototype to avoid an error. */
24491 /* We use char because int might match the return type of a gcc2
24492 builtin and then its argument prototype would still apply. */
24493 char XOpenDisplay ();
24502 rm -f conftest.
$ac_objext conftest
$ac_exeext
24503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24504 (eval $ac_link) 2>conftest.er1
24506 grep -v '^ *+' conftest.er1
>conftest.err
24508 cat conftest.err
>&5
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); } &&
24511 { ac_try
='test -z "$ac_c_werror_flag"
24512 || test ! -s conftest.err'
24513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24514 (eval $ac_try) 2>&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); }; } &&
24518 { ac_try
='test -s conftest$ac_exeext'
24519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24520 (eval $ac_try) 2>&5
24522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523 (exit $ac_status); }; }; then
24526 echo "$as_me: failed program was:" >&5
24527 sed 's/^/| /' conftest.
$ac_ext >&5
24529 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24530 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24531 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24532 echo $ECHO_N "(cached) $ECHO_C" >&6
24534 ac_check_lib_save_LIBS
=$LIBS
24535 LIBS
="-ldnet $LIBS"
24536 cat >conftest.
$ac_ext <<_ACEOF
24539 cat confdefs.h
>>conftest.
$ac_ext
24540 cat >>conftest.
$ac_ext <<_ACEOF
24541 /* end confdefs.h. */
24543 /* Override any gcc2 internal prototype to avoid an error. */
24547 /* We use char because int might match the return type of a gcc2
24548 builtin and then its argument prototype would still apply. */
24558 rm -f conftest.
$ac_objext conftest
$ac_exeext
24559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24560 (eval $ac_link) 2>conftest.er1
24562 grep -v '^ *+' conftest.er1
>conftest.err
24564 cat conftest.err
>&5
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); } &&
24567 { ac_try
='test -z "$ac_c_werror_flag"
24568 || test ! -s conftest.err'
24569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24570 (eval $ac_try) 2>&5
24572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24573 (exit $ac_status); }; } &&
24574 { ac_try
='test -s conftest$ac_exeext'
24575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24576 (eval $ac_try) 2>&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); }; }; then
24580 ac_cv_lib_dnet_dnet_ntoa
=yes
24582 echo "$as_me: failed program was:" >&5
24583 sed 's/^/| /' conftest.
$ac_ext >&5
24585 ac_cv_lib_dnet_dnet_ntoa
=no
24587 rm -f conftest.err conftest.
$ac_objext \
24588 conftest
$ac_exeext conftest.
$ac_ext
24589 LIBS
=$ac_check_lib_save_LIBS
24591 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24592 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24593 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24594 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24597 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24598 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24599 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24600 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24601 echo $ECHO_N "(cached) $ECHO_C" >&6
24603 ac_check_lib_save_LIBS
=$LIBS
24604 LIBS
="-ldnet_stub $LIBS"
24605 cat >conftest.
$ac_ext <<_ACEOF
24608 cat confdefs.h
>>conftest.
$ac_ext
24609 cat >>conftest.
$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24612 /* Override any gcc2 internal prototype to avoid an error. */
24616 /* We use char because int might match the return type of a gcc2
24617 builtin and then its argument prototype would still apply. */
24627 rm -f conftest.
$ac_objext conftest
$ac_exeext
24628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24629 (eval $ac_link) 2>conftest.er1
24631 grep -v '^ *+' conftest.er1
>conftest.err
24633 cat conftest.err
>&5
24634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635 (exit $ac_status); } &&
24636 { ac_try
='test -z "$ac_c_werror_flag"
24637 || test ! -s conftest.err'
24638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24639 (eval $ac_try) 2>&5
24641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24642 (exit $ac_status); }; } &&
24643 { ac_try
='test -s conftest$ac_exeext'
24644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24645 (eval $ac_try) 2>&5
24647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648 (exit $ac_status); }; }; then
24649 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24651 echo "$as_me: failed program was:" >&5
24652 sed 's/^/| /' conftest.
$ac_ext >&5
24654 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24656 rm -f conftest.err conftest.
$ac_objext \
24657 conftest
$ac_exeext conftest.
$ac_ext
24658 LIBS
=$ac_check_lib_save_LIBS
24660 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24661 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24662 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24663 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24668 rm -f conftest.err conftest.
$ac_objext \
24669 conftest
$ac_exeext conftest.
$ac_ext
24670 LIBS
="$ac_xsave_LIBS"
24672 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24673 # to get the SysV transport functions.
24674 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24676 # The nsl library prevents programs from opening the X display
24677 # on Irix 5.2, according to T.E. Dickey.
24678 # The functions gethostbyname, getservbyname, and inet_addr are
24679 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24680 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24681 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24682 if test "${ac_cv_func_gethostbyname+set}" = set; then
24683 echo $ECHO_N "(cached) $ECHO_C" >&6
24685 cat >conftest.
$ac_ext <<_ACEOF
24688 cat confdefs.h
>>conftest.
$ac_ext
24689 cat >>conftest.
$ac_ext <<_ACEOF
24690 /* end confdefs.h. */
24691 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24693 #define gethostbyname innocuous_gethostbyname
24695 /* System header to define __stub macros and hopefully few prototypes,
24696 which can conflict with char gethostbyname (); below.
24697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24698 <limits.h> exists even on freestanding compilers. */
24701 # include <limits.h>
24703 # include <assert.h>
24706 #undef gethostbyname
24708 /* Override any gcc2 internal prototype to avoid an error. */
24713 /* We use char because int might match the return type of a gcc2
24714 builtin and then its argument prototype would still apply. */
24715 char gethostbyname ();
24716 /* The GNU C library defines this for functions which it implements
24717 to always fail with ENOSYS. Some functions are actually named
24718 something starting with __ and the normal name is an alias. */
24719 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24722 char (*f) () = gethostbyname;
24731 return f != gethostbyname;
24736 rm -f conftest.
$ac_objext conftest
$ac_exeext
24737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24738 (eval $ac_link) 2>conftest.er1
24740 grep -v '^ *+' conftest.er1
>conftest.err
24742 cat conftest.err
>&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); } &&
24745 { ac_try
='test -z "$ac_c_werror_flag"
24746 || test ! -s conftest.err'
24747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24748 (eval $ac_try) 2>&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); }; } &&
24752 { ac_try
='test -s conftest$ac_exeext'
24753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24754 (eval $ac_try) 2>&5
24756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757 (exit $ac_status); }; }; then
24758 ac_cv_func_gethostbyname
=yes
24760 echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.
$ac_ext >&5
24763 ac_cv_func_gethostbyname
=no
24765 rm -f conftest.err conftest.
$ac_objext \
24766 conftest
$ac_exeext conftest.
$ac_ext
24768 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24769 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24771 if test $ac_cv_func_gethostbyname = no
; then
24772 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24773 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24774 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24775 echo $ECHO_N "(cached) $ECHO_C" >&6
24777 ac_check_lib_save_LIBS
=$LIBS
24779 cat >conftest.
$ac_ext <<_ACEOF
24782 cat confdefs.h
>>conftest.
$ac_ext
24783 cat >>conftest.
$ac_ext <<_ACEOF
24784 /* end confdefs.h. */
24786 /* Override any gcc2 internal prototype to avoid an error. */
24790 /* We use char because int might match the return type of a gcc2
24791 builtin and then its argument prototype would still apply. */
24792 char gethostbyname ();
24801 rm -f conftest.
$ac_objext conftest
$ac_exeext
24802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24803 (eval $ac_link) 2>conftest.er1
24805 grep -v '^ *+' conftest.er1
>conftest.err
24807 cat conftest.err
>&5
24808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24809 (exit $ac_status); } &&
24810 { ac_try
='test -z "$ac_c_werror_flag"
24811 || test ! -s conftest.err'
24812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24813 (eval $ac_try) 2>&5
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); }; } &&
24817 { ac_try
='test -s conftest$ac_exeext'
24818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24819 (eval $ac_try) 2>&5
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); }; }; then
24823 ac_cv_lib_nsl_gethostbyname
=yes
24825 echo "$as_me: failed program was:" >&5
24826 sed 's/^/| /' conftest.
$ac_ext >&5
24828 ac_cv_lib_nsl_gethostbyname
=no
24830 rm -f conftest.err conftest.
$ac_objext \
24831 conftest
$ac_exeext conftest.
$ac_ext
24832 LIBS
=$ac_check_lib_save_LIBS
24834 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24835 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24836 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24837 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24840 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24841 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24842 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24843 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24844 echo $ECHO_N "(cached) $ECHO_C" >&6
24846 ac_check_lib_save_LIBS
=$LIBS
24848 cat >conftest.
$ac_ext <<_ACEOF
24851 cat confdefs.h
>>conftest.
$ac_ext
24852 cat >>conftest.
$ac_ext <<_ACEOF
24853 /* end confdefs.h. */
24855 /* Override any gcc2 internal prototype to avoid an error. */
24859 /* We use char because int might match the return type of a gcc2
24860 builtin and then its argument prototype would still apply. */
24861 char gethostbyname ();
24870 rm -f conftest.
$ac_objext conftest
$ac_exeext
24871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24872 (eval $ac_link) 2>conftest.er1
24874 grep -v '^ *+' conftest.er1
>conftest.err
24876 cat conftest.err
>&5
24877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24878 (exit $ac_status); } &&
24879 { ac_try
='test -z "$ac_c_werror_flag"
24880 || test ! -s conftest.err'
24881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24882 (eval $ac_try) 2>&5
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); }; } &&
24886 { ac_try
='test -s conftest$ac_exeext'
24887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24888 (eval $ac_try) 2>&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); }; }; then
24892 ac_cv_lib_bsd_gethostbyname
=yes
24894 echo "$as_me: failed program was:" >&5
24895 sed 's/^/| /' conftest.
$ac_ext >&5
24897 ac_cv_lib_bsd_gethostbyname
=no
24899 rm -f conftest.err conftest.
$ac_objext \
24900 conftest
$ac_exeext conftest.
$ac_ext
24901 LIBS
=$ac_check_lib_save_LIBS
24903 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24904 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24905 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24906 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24912 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24913 # socket/setsockopt and other routines are undefined under SCO ODT
24914 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24915 # on later versions), says Simon Leinen: it contains gethostby*
24916 # variants that don't use the name server (or something). -lsocket
24917 # must be given before -lnsl if both are needed. We assume that
24918 # if connect needs -lnsl, so does gethostbyname.
24919 echo "$as_me:$LINENO: checking for connect" >&5
24920 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24921 if test "${ac_cv_func_connect+set}" = set; then
24922 echo $ECHO_N "(cached) $ECHO_C" >&6
24924 cat >conftest.
$ac_ext <<_ACEOF
24927 cat confdefs.h
>>conftest.
$ac_ext
24928 cat >>conftest.
$ac_ext <<_ACEOF
24929 /* end confdefs.h. */
24930 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24932 #define connect innocuous_connect
24934 /* System header to define __stub macros and hopefully few prototypes,
24935 which can conflict with char connect (); below.
24936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24937 <limits.h> exists even on freestanding compilers. */
24940 # include <limits.h>
24942 # include <assert.h>
24947 /* Override any gcc2 internal prototype to avoid an error. */
24952 /* We use char because int might match the return type of a gcc2
24953 builtin and then its argument prototype would still apply. */
24955 /* The GNU C library defines this for functions which it implements
24956 to always fail with ENOSYS. Some functions are actually named
24957 something starting with __ and the normal name is an alias. */
24958 #if defined (__stub_connect) || defined (__stub___connect)
24961 char (*f) () = connect;
24970 return f != connect;
24975 rm -f conftest.
$ac_objext conftest
$ac_exeext
24976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24977 (eval $ac_link) 2>conftest.er1
24979 grep -v '^ *+' conftest.er1
>conftest.err
24981 cat conftest.err
>&5
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); } &&
24984 { ac_try
='test -z "$ac_c_werror_flag"
24985 || test ! -s conftest.err'
24986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24987 (eval $ac_try) 2>&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); }; } &&
24991 { ac_try
='test -s conftest$ac_exeext'
24992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24993 (eval $ac_try) 2>&5
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); }; }; then
24997 ac_cv_func_connect
=yes
24999 echo "$as_me: failed program was:" >&5
25000 sed 's/^/| /' conftest.
$ac_ext >&5
25002 ac_cv_func_connect
=no
25004 rm -f conftest.err conftest.
$ac_objext \
25005 conftest
$ac_exeext conftest.
$ac_ext
25007 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25008 echo "${ECHO_T}$ac_cv_func_connect" >&6
25010 if test $ac_cv_func_connect = no
; then
25011 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25012 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25013 if test "${ac_cv_lib_socket_connect+set}" = set; then
25014 echo $ECHO_N "(cached) $ECHO_C" >&6
25016 ac_check_lib_save_LIBS
=$LIBS
25017 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25018 cat >conftest.
$ac_ext <<_ACEOF
25021 cat confdefs.h
>>conftest.
$ac_ext
25022 cat >>conftest.
$ac_ext <<_ACEOF
25023 /* end confdefs.h. */
25025 /* Override any gcc2 internal prototype to avoid an error. */
25029 /* We use char because int might match the return type of a gcc2
25030 builtin and then its argument prototype would still apply. */
25040 rm -f conftest.
$ac_objext conftest
$ac_exeext
25041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25042 (eval $ac_link) 2>conftest.er1
25044 grep -v '^ *+' conftest.er1
>conftest.err
25046 cat conftest.err
>&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); } &&
25049 { ac_try
='test -z "$ac_c_werror_flag"
25050 || test ! -s conftest.err'
25051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25052 (eval $ac_try) 2>&5
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); }; } &&
25056 { ac_try
='test -s conftest$ac_exeext'
25057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25058 (eval $ac_try) 2>&5
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); }; }; then
25062 ac_cv_lib_socket_connect
=yes
25064 echo "$as_me: failed program was:" >&5
25065 sed 's/^/| /' conftest.
$ac_ext >&5
25067 ac_cv_lib_socket_connect
=no
25069 rm -f conftest.err conftest.
$ac_objext \
25070 conftest
$ac_exeext conftest.
$ac_ext
25071 LIBS
=$ac_check_lib_save_LIBS
25073 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25074 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25075 if test $ac_cv_lib_socket_connect = yes; then
25076 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25081 # Guillermo Gomez says -lposix is necessary on A/UX.
25082 echo "$as_me:$LINENO: checking for remove" >&5
25083 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25084 if test "${ac_cv_func_remove+set}" = set; then
25085 echo $ECHO_N "(cached) $ECHO_C" >&6
25087 cat >conftest.
$ac_ext <<_ACEOF
25090 cat confdefs.h
>>conftest.
$ac_ext
25091 cat >>conftest.
$ac_ext <<_ACEOF
25092 /* end confdefs.h. */
25093 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25095 #define remove innocuous_remove
25097 /* System header to define __stub macros and hopefully few prototypes,
25098 which can conflict with char remove (); below.
25099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25100 <limits.h> exists even on freestanding compilers. */
25103 # include <limits.h>
25105 # include <assert.h>
25110 /* Override any gcc2 internal prototype to avoid an error. */
25115 /* We use char because int might match the return type of a gcc2
25116 builtin and then its argument prototype would still apply. */
25118 /* The GNU C library defines this for functions which it implements
25119 to always fail with ENOSYS. Some functions are actually named
25120 something starting with __ and the normal name is an alias. */
25121 #if defined (__stub_remove) || defined (__stub___remove)
25124 char (*f) () = remove;
25133 return f != remove;
25138 rm -f conftest.
$ac_objext conftest
$ac_exeext
25139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25140 (eval $ac_link) 2>conftest.er1
25142 grep -v '^ *+' conftest.er1
>conftest.err
25144 cat conftest.err
>&5
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); } &&
25147 { ac_try
='test -z "$ac_c_werror_flag"
25148 || test ! -s conftest.err'
25149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25150 (eval $ac_try) 2>&5
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); }; } &&
25154 { ac_try
='test -s conftest$ac_exeext'
25155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25156 (eval $ac_try) 2>&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); }; }; then
25160 ac_cv_func_remove
=yes
25162 echo "$as_me: failed program was:" >&5
25163 sed 's/^/| /' conftest.
$ac_ext >&5
25165 ac_cv_func_remove
=no
25167 rm -f conftest.err conftest.
$ac_objext \
25168 conftest
$ac_exeext conftest.
$ac_ext
25170 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25171 echo "${ECHO_T}$ac_cv_func_remove" >&6
25173 if test $ac_cv_func_remove = no
; then
25174 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25175 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25176 if test "${ac_cv_lib_posix_remove+set}" = set; then
25177 echo $ECHO_N "(cached) $ECHO_C" >&6
25179 ac_check_lib_save_LIBS
=$LIBS
25180 LIBS
="-lposix $LIBS"
25181 cat >conftest.
$ac_ext <<_ACEOF
25184 cat confdefs.h
>>conftest.
$ac_ext
25185 cat >>conftest.
$ac_ext <<_ACEOF
25186 /* end confdefs.h. */
25188 /* Override any gcc2 internal prototype to avoid an error. */
25192 /* We use char because int might match the return type of a gcc2
25193 builtin and then its argument prototype would still apply. */
25203 rm -f conftest.
$ac_objext conftest
$ac_exeext
25204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25205 (eval $ac_link) 2>conftest.er1
25207 grep -v '^ *+' conftest.er1
>conftest.err
25209 cat conftest.err
>&5
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); } &&
25212 { ac_try
='test -z "$ac_c_werror_flag"
25213 || test ! -s conftest.err'
25214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25215 (eval $ac_try) 2>&5
25217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); }; } &&
25219 { ac_try
='test -s conftest$ac_exeext'
25220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25221 (eval $ac_try) 2>&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); }; }; then
25225 ac_cv_lib_posix_remove
=yes
25227 echo "$as_me: failed program was:" >&5
25228 sed 's/^/| /' conftest.
$ac_ext >&5
25230 ac_cv_lib_posix_remove
=no
25232 rm -f conftest.err conftest.
$ac_objext \
25233 conftest
$ac_exeext conftest.
$ac_ext
25234 LIBS
=$ac_check_lib_save_LIBS
25236 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25237 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25238 if test $ac_cv_lib_posix_remove = yes; then
25239 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25244 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25245 echo "$as_me:$LINENO: checking for shmat" >&5
25246 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25247 if test "${ac_cv_func_shmat+set}" = set; then
25248 echo $ECHO_N "(cached) $ECHO_C" >&6
25250 cat >conftest.
$ac_ext <<_ACEOF
25253 cat confdefs.h
>>conftest.
$ac_ext
25254 cat >>conftest.
$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25256 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25258 #define shmat innocuous_shmat
25260 /* System header to define __stub macros and hopefully few prototypes,
25261 which can conflict with char shmat (); below.
25262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25263 <limits.h> exists even on freestanding compilers. */
25266 # include <limits.h>
25268 # include <assert.h>
25273 /* Override any gcc2 internal prototype to avoid an error. */
25278 /* We use char because int might match the return type of a gcc2
25279 builtin and then its argument prototype would still apply. */
25281 /* The GNU C library defines this for functions which it implements
25282 to always fail with ENOSYS. Some functions are actually named
25283 something starting with __ and the normal name is an alias. */
25284 #if defined (__stub_shmat) || defined (__stub___shmat)
25287 char (*f) () = shmat;
25301 rm -f conftest.
$ac_objext conftest
$ac_exeext
25302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25303 (eval $ac_link) 2>conftest.er1
25305 grep -v '^ *+' conftest.er1
>conftest.err
25307 cat conftest.err
>&5
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); } &&
25310 { ac_try
='test -z "$ac_c_werror_flag"
25311 || test ! -s conftest.err'
25312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25313 (eval $ac_try) 2>&5
25315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25316 (exit $ac_status); }; } &&
25317 { ac_try
='test -s conftest$ac_exeext'
25318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25319 (eval $ac_try) 2>&5
25321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322 (exit $ac_status); }; }; then
25323 ac_cv_func_shmat
=yes
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.
$ac_ext >&5
25328 ac_cv_func_shmat
=no
25330 rm -f conftest.err conftest.
$ac_objext \
25331 conftest
$ac_exeext conftest.
$ac_ext
25333 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25334 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25336 if test $ac_cv_func_shmat = no
; then
25337 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25338 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25339 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25340 echo $ECHO_N "(cached) $ECHO_C" >&6
25342 ac_check_lib_save_LIBS
=$LIBS
25344 cat >conftest.
$ac_ext <<_ACEOF
25347 cat confdefs.h
>>conftest.
$ac_ext
25348 cat >>conftest.
$ac_ext <<_ACEOF
25349 /* end confdefs.h. */
25351 /* Override any gcc2 internal prototype to avoid an error. */
25355 /* We use char because int might match the return type of a gcc2
25356 builtin and then its argument prototype would still apply. */
25366 rm -f conftest.
$ac_objext conftest
$ac_exeext
25367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25368 (eval $ac_link) 2>conftest.er1
25370 grep -v '^ *+' conftest.er1
>conftest.err
25372 cat conftest.err
>&5
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); } &&
25375 { ac_try
='test -z "$ac_c_werror_flag"
25376 || test ! -s conftest.err'
25377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25378 (eval $ac_try) 2>&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); }; } &&
25382 { ac_try
='test -s conftest$ac_exeext'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; }; then
25388 ac_cv_lib_ipc_shmat
=yes
25390 echo "$as_me: failed program was:" >&5
25391 sed 's/^/| /' conftest.
$ac_ext >&5
25393 ac_cv_lib_ipc_shmat
=no
25395 rm -f conftest.err conftest.
$ac_objext \
25396 conftest
$ac_exeext conftest.
$ac_ext
25397 LIBS
=$ac_check_lib_save_LIBS
25399 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25400 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25401 if test $ac_cv_lib_ipc_shmat = yes; then
25402 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25408 # Check for libraries that X11R6 Xt/Xaw programs need.
25409 ac_save_LDFLAGS
=$LDFLAGS
25410 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25411 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25412 # check for ICE first), but we must link in the order -lSM -lICE or
25413 # we get undefined symbols. So assume we have SM if we have ICE.
25414 # These have to be linked with before -lX11, unlike the other
25415 # libraries we check for below, so use a different variable.
25416 # John Interrante, Karl Berry
25417 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25418 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25419 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25420 echo $ECHO_N "(cached) $ECHO_C" >&6
25422 ac_check_lib_save_LIBS
=$LIBS
25423 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25424 cat >conftest.
$ac_ext <<_ACEOF
25427 cat confdefs.h
>>conftest.
$ac_ext
25428 cat >>conftest.
$ac_ext <<_ACEOF
25429 /* end confdefs.h. */
25431 /* Override any gcc2 internal prototype to avoid an error. */
25435 /* We use char because int might match the return type of a gcc2
25436 builtin and then its argument prototype would still apply. */
25437 char IceConnectionNumber ();
25441 IceConnectionNumber ();
25446 rm -f conftest.
$ac_objext conftest
$ac_exeext
25447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25448 (eval $ac_link) 2>conftest.er1
25450 grep -v '^ *+' conftest.er1
>conftest.err
25452 cat conftest.err
>&5
25453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25454 (exit $ac_status); } &&
25455 { ac_try
='test -z "$ac_c_werror_flag"
25456 || test ! -s conftest.err'
25457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25458 (eval $ac_try) 2>&5
25460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461 (exit $ac_status); }; } &&
25462 { ac_try
='test -s conftest$ac_exeext'
25463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25464 (eval $ac_try) 2>&5
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); }; }; then
25468 ac_cv_lib_ICE_IceConnectionNumber
=yes
25470 echo "$as_me: failed program was:" >&5
25471 sed 's/^/| /' conftest.
$ac_ext >&5
25473 ac_cv_lib_ICE_IceConnectionNumber
=no
25475 rm -f conftest.err conftest.
$ac_objext \
25476 conftest
$ac_exeext conftest.
$ac_ext
25477 LIBS
=$ac_check_lib_save_LIBS
25479 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25480 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25481 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25482 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25485 LDFLAGS
=$ac_save_LDFLAGS
25490 if test "$no_x" = "yes"; then
25491 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25492 echo "$as_me: error: X11 not found" >&2;}
25493 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25496 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25497 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25498 AFMINSTALL
=afminstall
25499 COMPILED_X_PROGRAM
=0
25503 if test "$wxUSE_X11" = 1; then
25504 if test "$wxUSE_NANOX" = "yes"; then
25505 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25506 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25507 if test "x$MICROWIN" = x
; then
25508 echo "$as_me:$LINENO: result: not found" >&5
25509 echo "${ECHO_T}not found" >&6
25510 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25511 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25512 { (exit 1); exit 1; }; }
25514 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25515 echo "${ECHO_T}$MICROWIN" >&6
25516 cat >>confdefs.h
<<\_ACEOF
25517 #define wxUSE_NANOX 1
25523 if test "$wxUSE_UNICODE" = "yes"; then
25527 if test -z "$PKG_CONFIG"; then
25528 # Extract the first word of "pkg-config", so it can be a program name with args.
25529 set dummy pkg
-config; ac_word
=$2
25530 echo "$as_me:$LINENO: checking for $ac_word" >&5
25531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25532 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25533 echo $ECHO_N "(cached) $ECHO_C" >&6
25535 case $PKG_CONFIG in
25537 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25541 for as_dir
in $PATH
25544 test -z "$as_dir" && as_dir
=.
25545 for ac_exec_ext
in '' $ac_executable_extensions; do
25546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25547 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25554 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25558 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25560 if test -n "$PKG_CONFIG"; then
25561 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25562 echo "${ECHO_T}$PKG_CONFIG" >&6
25564 echo "$as_me:$LINENO: result: no" >&5
25565 echo "${ECHO_T}no" >&6
25570 if test "$PKG_CONFIG" = "no" ; then
25571 echo "*** The pkg-config script could not be found. Make sure it is"
25572 echo "*** in your path, or set the PKG_CONFIG environment variable"
25573 echo "*** to the full path to pkg-config."
25574 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25576 PKG_CONFIG_MIN_VERSION
=0.9.0
25577 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25578 echo "$as_me:$LINENO: checking for pangox" >&5
25579 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25581 if $PKG_CONFIG --exists "pangox" ; then
25582 echo "$as_me:$LINENO: result: yes" >&5
25583 echo "${ECHO_T}yes" >&6
25586 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25587 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25588 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25589 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25590 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25592 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25593 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25594 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25595 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25596 echo "${ECHO_T}$PANGOX_LIBS" >&6
25600 ## If we have a custom action on failure, don't print errors, but
25601 ## do set a variable so people can do so.
25602 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25609 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25610 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25614 if test $succeeded = yes; then
25616 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25617 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25621 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25622 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25623 { (exit 1); exit 1; }; }
25631 if test -z "$PKG_CONFIG"; then
25632 # Extract the first word of "pkg-config", so it can be a program name with args.
25633 set dummy pkg
-config; ac_word
=$2
25634 echo "$as_me:$LINENO: checking for $ac_word" >&5
25635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25636 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25639 case $PKG_CONFIG in
25641 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25645 for as_dir
in $PATH
25648 test -z "$as_dir" && as_dir
=.
25649 for ac_exec_ext
in '' $ac_executable_extensions; do
25650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25651 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25658 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25662 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25664 if test -n "$PKG_CONFIG"; then
25665 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25666 echo "${ECHO_T}$PKG_CONFIG" >&6
25668 echo "$as_me:$LINENO: result: no" >&5
25669 echo "${ECHO_T}no" >&6
25674 if test "$PKG_CONFIG" = "no" ; then
25675 echo "*** The pkg-config script could not be found. Make sure it is"
25676 echo "*** in your path, or set the PKG_CONFIG environment variable"
25677 echo "*** to the full path to pkg-config."
25678 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25680 PKG_CONFIG_MIN_VERSION
=0.9.0
25681 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25682 echo "$as_me:$LINENO: checking for pangoft2" >&5
25683 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25685 if $PKG_CONFIG --exists "pangoft2" ; then
25686 echo "$as_me:$LINENO: result: yes" >&5
25687 echo "${ECHO_T}yes" >&6
25690 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25691 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25692 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25693 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25694 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25696 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25697 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25698 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25699 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25700 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25704 ## If we have a custom action on failure, don't print errors, but
25705 ## do set a variable so people can do so.
25706 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25713 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25714 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25718 if test $succeeded = yes; then
25720 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25721 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25725 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25726 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25727 wxUSE_PRINTING_ARCHITECTURE
="no"
25735 if test -z "$PKG_CONFIG"; then
25736 # Extract the first word of "pkg-config", so it can be a program name with args.
25737 set dummy pkg
-config; ac_word
=$2
25738 echo "$as_me:$LINENO: checking for $ac_word" >&5
25739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25740 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25741 echo $ECHO_N "(cached) $ECHO_C" >&6
25743 case $PKG_CONFIG in
25745 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25749 for as_dir
in $PATH
25752 test -z "$as_dir" && as_dir
=.
25753 for ac_exec_ext
in '' $ac_executable_extensions; do
25754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25755 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25762 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25766 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25768 if test -n "$PKG_CONFIG"; then
25769 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25770 echo "${ECHO_T}$PKG_CONFIG" >&6
25772 echo "$as_me:$LINENO: result: no" >&5
25773 echo "${ECHO_T}no" >&6
25778 if test "$PKG_CONFIG" = "no" ; then
25779 echo "*** The pkg-config script could not be found. Make sure it is"
25780 echo "*** in your path, or set the PKG_CONFIG environment variable"
25781 echo "*** to the full path to pkg-config."
25782 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25784 PKG_CONFIG_MIN_VERSION
=0.9.0
25785 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25786 echo "$as_me:$LINENO: checking for pangoxft" >&5
25787 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25789 if $PKG_CONFIG --exists "pangoxft" ; then
25790 echo "$as_me:$LINENO: result: yes" >&5
25791 echo "${ECHO_T}yes" >&6
25794 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25795 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25796 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25797 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25798 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25800 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25801 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25802 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25803 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25804 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25808 ## If we have a custom action on failure, don't print errors, but
25809 ## do set a variable so people can do so.
25810 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25817 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25818 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25822 if test $succeeded = yes; then
25824 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25825 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25829 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25830 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25835 save_CFLAGS
="$CFLAGS"
25837 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25838 LIBS
="$LIBS $PANGOX_LIBS"
25840 for ac_func
in pango_font_family_is_monospace
25842 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25843 echo "$as_me:$LINENO: checking for $ac_func" >&5
25844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25845 if eval "test \"\${$as_ac_var+set}\" = set"; then
25846 echo $ECHO_N "(cached) $ECHO_C" >&6
25848 cat >conftest.
$ac_ext <<_ACEOF
25851 cat confdefs.h
>>conftest.
$ac_ext
25852 cat >>conftest.
$ac_ext <<_ACEOF
25853 /* end confdefs.h. */
25854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25856 #define $ac_func innocuous_$ac_func
25858 /* System header to define __stub macros and hopefully few prototypes,
25859 which can conflict with char $ac_func (); below.
25860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25861 <limits.h> exists even on freestanding compilers. */
25864 # include <limits.h>
25866 # include <assert.h>
25871 /* Override any gcc2 internal prototype to avoid an error. */
25876 /* We use char because int might match the return type of a gcc2
25877 builtin and then its argument prototype would still apply. */
25879 /* The GNU C library defines this for functions which it implements
25880 to always fail with ENOSYS. Some functions are actually named
25881 something starting with __ and the normal name is an alias. */
25882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25885 char (*f) () = $ac_func;
25894 return f != $ac_func;
25899 rm -f conftest.
$ac_objext conftest
$ac_exeext
25900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25901 (eval $ac_link) 2>conftest.er1
25903 grep -v '^ *+' conftest.er1
>conftest.err
25905 cat conftest.err
>&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); } &&
25908 { ac_try
='test -z "$ac_c_werror_flag"
25909 || test ! -s conftest.err'
25910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25911 (eval $ac_try) 2>&5
25913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914 (exit $ac_status); }; } &&
25915 { ac_try
='test -s conftest$ac_exeext'
25916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25917 (eval $ac_try) 2>&5
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); }; }; then
25921 eval "$as_ac_var=yes"
25923 echo "$as_me: failed program was:" >&5
25924 sed 's/^/| /' conftest.
$ac_ext >&5
25926 eval "$as_ac_var=no"
25928 rm -f conftest.err conftest.
$ac_objext \
25929 conftest
$ac_exeext conftest.
$ac_ext
25931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25933 if test `eval echo '${'$as_ac_var'}'` = yes; then
25934 cat >>confdefs.h
<<_ACEOF
25935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25941 CFLAGS
="$save_CFLAGS"
25945 wxUSE_UNIVERSAL
="yes"
25947 if test "$wxUSE_NANOX" = "yes"; then
25948 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25949 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"
25950 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25952 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25959 if test "$wxUSE_MOTIF" = 1; then
25960 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25961 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25964 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25966 if test -f "$ac_dir/Xm/Xm.h"; then
25967 ac_find_includes
=$ac_dir
25972 if test "$ac_find_includes" != "" ; then
25973 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25974 echo "${ECHO_T}found in $ac_find_includes" >&6
25976 if test "x$ac_find_includes" = "x/usr/include"; then
25977 ac_path_to_include
=""
25979 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25981 if test $result = 0; then
25982 ac_path_to_include
=""
25984 ac_path_to_include
=" -I$ac_find_includes"
25988 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25990 cat >conftest.
$ac_ext <<_ACEOF
25993 cat confdefs.h
>>conftest.
$ac_ext
25994 cat >>conftest.
$ac_ext <<_ACEOF
25995 /* end confdefs.h. */
26004 version = xmUseVersion;
26010 rm -f conftest.
$ac_objext
26011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26012 (eval $ac_compile) 2>conftest.er1
26014 grep -v '^ *+' conftest.er1
>conftest.err
26016 cat conftest.err
>&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); } &&
26019 { ac_try
='test -z "$ac_c_werror_flag"
26020 || test ! -s conftest.err'
26021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022 (eval $ac_try) 2>&5
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); }; } &&
26026 { ac_try
='test -s conftest.$ac_objext'
26027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26028 (eval $ac_try) 2>&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); }; }; then
26033 echo "$as_me:$LINENO: result: found in default search path" >&5
26034 echo "${ECHO_T}found in default search path" >&6
26035 COMPILED_X_PROGRAM
=1
26038 echo "$as_me: failed program was:" >&5
26039 sed 's/^/| /' conftest.
$ac_ext >&5
26042 echo "$as_me:$LINENO: result: no" >&5
26043 echo "${ECHO_T}no" >&6
26044 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26045 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26046 { (exit 1); exit 1; }; }
26050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26053 if test "$COMPILED_X_PROGRAM" = 0; then
26054 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26055 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26058 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26060 for ac_extension
in a so sl dylib
; do
26061 if test -f "$ac_dir/libXm.$ac_extension"; then
26062 ac_find_libraries
=$ac_dir
26068 if test "$ac_find_libraries" != "" ; then
26069 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26070 echo "${ECHO_T}found at $ac_find_libraries" >&6
26073 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26075 if test $result = 0; then
26078 ac_path_to_link
=" -L$ac_find_libraries"
26081 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26083 save_CFLAGS
=$CFLAGS
26084 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26086 cat >conftest.
$ac_ext <<_ACEOF
26089 cat confdefs.h
>>conftest.
$ac_ext
26090 cat >>conftest.
$ac_ext <<_ACEOF
26091 /* end confdefs.h. */
26100 version = xmUseVersion;
26106 rm -f conftest.
$ac_objext
26107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26108 (eval $ac_compile) 2>conftest.er1
26110 grep -v '^ *+' conftest.er1
>conftest.err
26112 cat conftest.err
>&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); } &&
26115 { ac_try
='test -z "$ac_c_werror_flag"
26116 || test ! -s conftest.err'
26117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26118 (eval $ac_try) 2>&5
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); }; } &&
26122 { ac_try
='test -s conftest.$ac_objext'
26123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26124 (eval $ac_try) 2>&5
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); }; }; then
26129 echo "$as_me:$LINENO: result: found in default search path" >&5
26130 echo "${ECHO_T}found in default search path" >&6
26131 COMPILED_X_PROGRAM
=1
26134 echo "$as_me: failed program was:" >&5
26135 sed 's/^/| /' conftest.
$ac_ext >&5
26138 echo "$as_me:$LINENO: result: no" >&5
26139 echo "${ECHO_T}no" >&6
26140 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26141 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26142 { (exit 1); exit 1; }; }
26146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26148 CFLAGS
=$save_CFLAGS
26152 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26153 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26157 for libp
in "" " -lXp"; do
26158 if test "$libs_found" = "0"; then
26159 for libsm_ice
in "" " -lSM -lICE"; do
26160 if test "$libs_found" = "0"; then
26162 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26163 save_CFLAGS
=$CFLAGS
26164 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26166 cat >conftest.
$ac_ext <<_ACEOF
26169 cat confdefs.h
>>conftest.
$ac_ext
26170 cat >>conftest.
$ac_ext <<_ACEOF
26171 /* end confdefs.h. */
26174 #include <Xm/List.h>
26180 XmString string = NULL;
26183 XmListAddItem(w, string, position);
26189 rm -f conftest.
$ac_objext conftest
$ac_exeext
26190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26191 (eval $ac_link) 2>conftest.er1
26193 grep -v '^ *+' conftest.er1
>conftest.err
26195 cat conftest.err
>&5
26196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197 (exit $ac_status); } &&
26198 { ac_try
='test -z "$ac_c_werror_flag"
26199 || test ! -s conftest.err'
26200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26201 (eval $ac_try) 2>&5
26203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26204 (exit $ac_status); }; } &&
26205 { ac_try
='test -s conftest$ac_exeext'
26206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26207 (eval $ac_try) 2>&5
26209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210 (exit $ac_status); }; }; then
26213 libsm_ice_link
="$libsm_ice"
26214 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26215 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26219 echo "$as_me: failed program was:" >&5
26220 sed 's/^/| /' conftest.
$ac_ext >&5
26225 rm -f conftest.err conftest.
$ac_objext \
26226 conftest
$ac_exeext conftest.
$ac_ext
26229 CFLAGS
=$save_CFLAGS
26235 if test "$libs_found" = "0"; then
26236 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26237 echo "${ECHO_T}can't find the right libraries" >&6
26238 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26239 echo "$as_me: error: can't link a simple motif program" >&2;}
26240 { (exit 1); exit 1; }; }
26243 save_CFLAGS
=$CFLAGS
26244 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26245 echo "$as_me:$LINENO: checking for Motif 2" >&5
26246 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26247 cat >conftest.
$ac_ext <<_ACEOF
26250 cat confdefs.h
>>conftest.
$ac_ext
26251 cat >>conftest.
$ac_ext <<_ACEOF
26252 /* end confdefs.h. */
26260 #if XmVersion < 2000
26261 #error "Not Motif 2"
26268 rm -f conftest.
$ac_objext
26269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26270 (eval $ac_compile) 2>conftest.er1
26272 grep -v '^ *+' conftest.er1
>conftest.err
26274 cat conftest.err
>&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } &&
26277 { ac_try
='test -z "$ac_c_werror_flag"
26278 || test ! -s conftest.err'
26279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26280 (eval $ac_try) 2>&5
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); }; } &&
26284 { ac_try
='test -s conftest.$ac_objext'
26285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26286 (eval $ac_try) 2>&5
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); }; }; then
26291 cat >>confdefs.h
<<\_ACEOF
26292 #define __WXMOTIF20__ 1
26295 echo "$as_me:$LINENO: result: found" >&5
26296 echo "${ECHO_T}found" >&6
26299 echo "$as_me: failed program was:" >&5
26300 sed 's/^/| /' conftest.
$ac_ext >&5
26303 cat >>confdefs.h
<<\_ACEOF
26304 #define __WXMOTIF20__ 0
26307 echo "$as_me:$LINENO: result: not found" >&5
26308 echo "${ECHO_T}not found" >&6
26311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26312 CFLAGS
=$save_CFLAGS
26314 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26319 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26320 if test "$wxUSE_LIBXPM" = "sys"; then
26321 echo "$as_me:$LINENO: checking for Xpm library" >&5
26322 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26325 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26327 for ac_extension
in a so sl dylib
; do
26328 if test -f "$ac_dir/libXpm.$ac_extension"; then
26329 ac_find_libraries
=$ac_dir
26335 if test "$ac_find_libraries" != "" ; then
26337 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26339 if test $result = 0; then
26342 ac_path_to_link
=" -L$ac_find_libraries"
26345 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26346 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26347 echo "${ECHO_T}found at $ac_find_libraries" >&6
26349 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26350 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26351 if test "${wx_cv_x11_xpm_h+set}" = set; then
26352 echo $ECHO_N "(cached) $ECHO_C" >&6
26355 save_CFLAGS
=$CFLAGS
26356 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26358 cat >conftest.
$ac_ext <<_ACEOF
26361 cat confdefs.h
>>conftest.
$ac_ext
26362 cat >>conftest.
$ac_ext <<_ACEOF
26363 /* end confdefs.h. */
26365 #include <X11/xpm.h>
26372 version = XpmLibraryVersion();
26378 rm -f conftest.
$ac_objext
26379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26380 (eval $ac_compile) 2>conftest.er1
26382 grep -v '^ *+' conftest.er1
>conftest.err
26384 cat conftest.err
>&5
26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386 (exit $ac_status); } &&
26387 { ac_try
='test -z "$ac_c_werror_flag"
26388 || test ! -s conftest.err'
26389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26390 (eval $ac_try) 2>&5
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); }; } &&
26394 { ac_try
='test -s conftest.$ac_objext'
26395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26396 (eval $ac_try) 2>&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); }; }; then
26400 wx_cv_x11_xpm_h
=yes
26402 echo "$as_me: failed program was:" >&5
26403 sed 's/^/| /' conftest.
$ac_ext >&5
26408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26410 CFLAGS
=$save_CFLAGS
26414 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26415 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26417 if test $wx_cv_x11_xpm_h = "yes"; then
26418 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26419 cat >>confdefs.h
<<\_ACEOF
26420 #define wxHAVE_LIB_XPM 1
26424 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26425 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26431 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26432 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26433 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26434 echo $ECHO_N "(cached) $ECHO_C" >&6
26436 ac_check_lib_save_LIBS
=$LIBS
26437 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26438 cat >conftest.
$ac_ext <<_ACEOF
26441 cat confdefs.h
>>conftest.
$ac_ext
26442 cat >>conftest.
$ac_ext <<_ACEOF
26443 /* end confdefs.h. */
26445 /* Override any gcc2 internal prototype to avoid an error. */
26449 /* We use char because int might match the return type of a gcc2
26450 builtin and then its argument prototype would still apply. */
26451 char XShapeQueryExtension ();
26455 XShapeQueryExtension ();
26460 rm -f conftest.
$ac_objext conftest
$ac_exeext
26461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26462 (eval $ac_link) 2>conftest.er1
26464 grep -v '^ *+' conftest.er1
>conftest.err
26466 cat conftest.err
>&5
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); } &&
26469 { ac_try
='test -z "$ac_c_werror_flag"
26470 || test ! -s conftest.err'
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); }; } &&
26476 { ac_try
='test -s conftest$ac_exeext'
26477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26478 (eval $ac_try) 2>&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); }; }; then
26482 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.
$ac_ext >&5
26487 ac_cv_lib_Xext_XShapeQueryExtension
=no
26489 rm -f conftest.err conftest.
$ac_objext \
26490 conftest
$ac_exeext conftest.
$ac_ext
26491 LIBS
=$ac_check_lib_save_LIBS
26493 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26494 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26495 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26497 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26503 if test "$wxHAVE_XEXT_LIB" = 1; then
26504 save_CFLAGS
="$CFLAGS"
26505 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26507 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26508 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26509 cat >conftest.
$ac_ext <<_ACEOF
26512 cat confdefs.h
>>conftest.
$ac_ext
26513 cat >>conftest.
$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26516 #include <X11/Xlib.h>
26517 #include <X11/extensions/shape.h>
26523 int dummy1, dummy2;
26524 XShapeQueryExtension((Display*)NULL,
26525 (int*)NULL, (int*)NULL);
26531 rm -f conftest.
$ac_objext
26532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26533 (eval $ac_compile) 2>conftest.er1
26535 grep -v '^ *+' conftest.er1
>conftest.err
26537 cat conftest.err
>&5
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); } &&
26540 { ac_try
='test -z "$ac_c_werror_flag"
26541 || test ! -s conftest.err'
26542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26543 (eval $ac_try) 2>&5
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); }; } &&
26547 { ac_try
='test -s conftest.$ac_objext'
26548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26549 (eval $ac_try) 2>&5
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); }; }; then
26554 cat >>confdefs.h
<<\_ACEOF
26555 #define HAVE_XSHAPE 1
26558 echo "$as_me:$LINENO: result: found" >&5
26559 echo "${ECHO_T}found" >&6
26562 echo "$as_me: failed program was:" >&5
26563 sed 's/^/| /' conftest.
$ac_ext >&5
26566 echo "$as_me:$LINENO: result: not found" >&5
26567 echo "${ECHO_T}not found" >&6
26570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26571 CFLAGS
="$save_CFLAGS"
26576 if test "$wxUSE_MAC" = 1; then
26577 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26578 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26579 if test "$GCC" = yes; then
26580 echo "$as_me:$LINENO: result: gcc" >&5
26581 echo "${ECHO_T}gcc" >&6
26582 CPPFLAGS_PASCAL
="-fpascal-strings"
26583 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26584 echo "$as_me:$LINENO: result: xlc" >&5
26585 echo "${ECHO_T}xlc" >&6
26586 CPPFLAGS_PASCAL
="-qmacpstr"
26588 echo "$as_me:$LINENO: result: none" >&5
26589 echo "${ECHO_T}none" >&6
26592 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26596 WXBASEPORT
="_carbon"
26599 if test "$wxUSE_COCOA" = 1; then
26604 if test "$wxUSE_PM" = 1; then
26607 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26608 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26609 if test "${wx_cv_spbcdata+set}" = set; then
26610 echo $ECHO_N "(cached) $ECHO_C" >&6
26613 cat >conftest.
$ac_ext <<_ACEOF
26616 cat confdefs.h
>>conftest.
$ac_ext
26617 cat >>conftest.
$ac_ext <<_ACEOF
26618 /* end confdefs.h. */
26633 rm -f conftest.
$ac_objext
26634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26635 (eval $ac_compile) 2>conftest.er1
26637 grep -v '^ *+' conftest.er1
>conftest.err
26639 cat conftest.err
>&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); } &&
26642 { ac_try
='test -z "$ac_c_werror_flag"
26643 || test ! -s conftest.err'
26644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26645 (eval $ac_try) 2>&5
26647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26648 (exit $ac_status); }; } &&
26649 { ac_try
='test -s conftest.$ac_objext'
26650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26651 (eval $ac_try) 2>&5
26653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26654 (exit $ac_status); }; }; then
26657 echo "$as_me: failed program was:" >&5
26658 sed 's/^/| /' conftest.
$ac_ext >&5
26663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26667 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26668 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26670 if test $wx_cv_spbcdata = "yes"; then
26671 cat >>confdefs.h
<<\_ACEOF
26672 #define HAVE_SPBCDATA 1
26678 if test "$TOOLKIT" = "PM" ; then
26681 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26684 if test "$wxUSE_UNIVERSAL" = "yes"; then
26685 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26689 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26690 DISTDIR
="wx\$(TOOLKIT)"
26696 if test "$USE_WIN32" = 1 ; then
26700 GUIDIST
="BASE_DIST"
26710 if test "$TOOLKIT" != "MSW" ; then
26712 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26714 if test "${ac_cv_header_sql_h+set}" = set; then
26715 echo "$as_me:$LINENO: checking for sql.h" >&5
26716 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26717 if test "${ac_cv_header_sql_h+set}" = set; then
26718 echo $ECHO_N "(cached) $ECHO_C" >&6
26720 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26721 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26723 # Is the header compilable?
26724 echo "$as_me:$LINENO: checking sql.h usability" >&5
26725 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26726 cat >conftest.
$ac_ext <<_ACEOF
26729 cat confdefs.h
>>conftest.
$ac_ext
26730 cat >>conftest.
$ac_ext <<_ACEOF
26731 /* end confdefs.h. */
26732 $ac_includes_default
26735 rm -f conftest.
$ac_objext
26736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26737 (eval $ac_compile) 2>conftest.er1
26739 grep -v '^ *+' conftest.er1
>conftest.err
26741 cat conftest.err
>&5
26742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 (exit $ac_status); } &&
26744 { ac_try
='test -z "$ac_c_werror_flag"
26745 || test ! -s conftest.err'
26746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26747 (eval $ac_try) 2>&5
26749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750 (exit $ac_status); }; } &&
26751 { ac_try
='test -s conftest.$ac_objext'
26752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753 (eval $ac_try) 2>&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; }; then
26757 ac_header_compiler
=yes
26759 echo "$as_me: failed program was:" >&5
26760 sed 's/^/| /' conftest.
$ac_ext >&5
26762 ac_header_compiler
=no
26764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26766 echo "${ECHO_T}$ac_header_compiler" >&6
26768 # Is the header present?
26769 echo "$as_me:$LINENO: checking sql.h presence" >&5
26770 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26771 cat >conftest.
$ac_ext <<_ACEOF
26774 cat confdefs.h
>>conftest.
$ac_ext
26775 cat >>conftest.
$ac_ext <<_ACEOF
26776 /* end confdefs.h. */
26779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26780 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26782 grep -v '^ *+' conftest.er1
>conftest.err
26784 cat conftest.err
>&5
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); } >/dev
/null
; then
26787 if test -s conftest.err
; then
26788 ac_cpp_err
=$ac_c_preproc_warn_flag
26789 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26796 if test -z "$ac_cpp_err"; then
26797 ac_header_preproc
=yes
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.
$ac_ext >&5
26802 ac_header_preproc
=no
26804 rm -f conftest.err conftest.
$ac_ext
26805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26806 echo "${ECHO_T}$ac_header_preproc" >&6
26808 # So? What about this header?
26809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26811 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26812 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26813 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26814 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26815 ac_header_preproc
=yes
26818 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26819 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26820 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26821 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26822 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26823 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26824 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26825 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26826 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26827 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26828 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26829 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26832 ## ----------------------------------------- ##
26833 ## Report this to wx-dev@lists.wxwidgets.org ##
26834 ## ----------------------------------------- ##
26837 sed "s/^/$as_me: WARNING: /" >&2
26840 echo "$as_me:$LINENO: checking for sql.h" >&5
26841 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26842 if test "${ac_cv_header_sql_h+set}" = set; then
26843 echo $ECHO_N "(cached) $ECHO_C" >&6
26845 ac_cv_header_sql_h
=$ac_header_preproc
26847 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26848 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26851 if test $ac_cv_header_sql_h = yes; then
26856 if test "x$found_sql_h" = "x1" ; then
26857 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26858 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26859 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26860 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 ac_check_lib_save_LIBS
=$LIBS
26863 LIBS
="-liodbc $LIBS"
26864 cat >conftest.
$ac_ext <<_ACEOF
26867 cat confdefs.h
>>conftest.
$ac_ext
26868 cat >>conftest.
$ac_ext <<_ACEOF
26869 /* end confdefs.h. */
26871 /* Override any gcc2 internal prototype to avoid an error. */
26875 /* We use char because int might match the return type of a gcc2
26876 builtin and then its argument prototype would still apply. */
26877 char SQLAllocEnv ();
26886 rm -f conftest.
$ac_objext conftest
$ac_exeext
26887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26888 (eval $ac_link) 2>conftest.er1
26890 grep -v '^ *+' conftest.er1
>conftest.err
26892 cat conftest.err
>&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); } &&
26895 { ac_try
='test -z "$ac_c_werror_flag"
26896 || test ! -s conftest.err'
26897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26898 (eval $ac_try) 2>&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); }; } &&
26902 { ac_try
='test -s conftest$ac_exeext'
26903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26904 (eval $ac_try) 2>&5
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); }; }; then
26908 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26910 echo "$as_me: failed program was:" >&5
26911 sed 's/^/| /' conftest.
$ac_ext >&5
26913 ac_cv_lib_iodbc_SQLAllocEnv
=no
26915 rm -f conftest.err conftest.
$ac_objext \
26916 conftest
$ac_exeext conftest.
$ac_ext
26917 LIBS
=$ac_check_lib_save_LIBS
26919 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26920 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26921 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26922 ODBC_LINK
=" -liodbc"
26925 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26926 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26927 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26928 echo $ECHO_N "(cached) $ECHO_C" >&6
26930 ac_check_lib_save_LIBS
=$LIBS
26931 LIBS
="-lunixodbc $LIBS"
26932 cat >conftest.
$ac_ext <<_ACEOF
26935 cat confdefs.h
>>conftest.
$ac_ext
26936 cat >>conftest.
$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26939 /* Override any gcc2 internal prototype to avoid an error. */
26943 /* We use char because int might match the return type of a gcc2
26944 builtin and then its argument prototype would still apply. */
26945 char SQLAllocEnv ();
26954 rm -f conftest.
$ac_objext conftest
$ac_exeext
26955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26956 (eval $ac_link) 2>conftest.er1
26958 grep -v '^ *+' conftest.er1
>conftest.err
26960 cat conftest.err
>&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } &&
26963 { ac_try
='test -z "$ac_c_werror_flag"
26964 || test ! -s conftest.err'
26965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26966 (eval $ac_try) 2>&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); }; } &&
26970 { ac_try
='test -s conftest$ac_exeext'
26971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26972 (eval $ac_try) 2>&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); }; }; then
26976 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26978 echo "$as_me: failed program was:" >&5
26979 sed 's/^/| /' conftest.
$ac_ext >&5
26981 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26983 rm -f conftest.err conftest.
$ac_objext \
26984 conftest
$ac_exeext conftest.
$ac_ext
26985 LIBS
=$ac_check_lib_save_LIBS
26987 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26988 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26989 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26990 ODBC_LINK
=" -lunixodbc"
26993 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26994 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26995 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26996 echo $ECHO_N "(cached) $ECHO_C" >&6
26998 ac_check_lib_save_LIBS
=$LIBS
26999 LIBS
="-lodbc $LIBS"
27000 cat >conftest.
$ac_ext <<_ACEOF
27003 cat confdefs.h
>>conftest.
$ac_ext
27004 cat >>conftest.
$ac_ext <<_ACEOF
27005 /* end confdefs.h. */
27007 /* Override any gcc2 internal prototype to avoid an error. */
27011 /* We use char because int might match the return type of a gcc2
27012 builtin and then its argument prototype would still apply. */
27013 char SQLAllocEnv ();
27022 rm -f conftest.
$ac_objext conftest
$ac_exeext
27023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27024 (eval $ac_link) 2>conftest.er1
27026 grep -v '^ *+' conftest.er1
>conftest.err
27028 cat conftest.err
>&5
27029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030 (exit $ac_status); } &&
27031 { ac_try
='test -z "$ac_c_werror_flag"
27032 || test ! -s conftest.err'
27033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27034 (eval $ac_try) 2>&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); }; } &&
27038 { ac_try
='test -s conftest$ac_exeext'
27039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27040 (eval $ac_try) 2>&5
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); }; }; then
27044 ac_cv_lib_odbc_SQLAllocEnv
=yes
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.
$ac_ext >&5
27049 ac_cv_lib_odbc_SQLAllocEnv
=no
27051 rm -f conftest.err conftest.
$ac_objext \
27052 conftest
$ac_exeext conftest.
$ac_ext
27053 LIBS
=$ac_check_lib_save_LIBS
27055 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27056 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27057 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27058 ODBC_LINK
=" -lodbc"
27068 if test "x$ODBC_LINK" = "x" ; then
27069 if test "$wxUSE_ODBC" = "sys" ; then
27070 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27071 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27072 { (exit 1); exit 1; }; }
27074 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27075 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27082 if test "$wxUSE_ODBC" != "no" ; then
27083 cat >>confdefs.h
<<\_ACEOF
27084 #define wxUSE_ODBC 1
27087 if test "$wxUSE_ODBC" = "builtin" ; then
27088 cat >>confdefs.h
<<\_ACEOF
27089 #define wxUSE_BUILTIN_IODBC 1
27093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27095 WXODBCFLAG
="-D_IODBC_"
27101 if test "$wxUSE_DISPLAY" = "yes"; then
27102 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27103 echo "$as_me:$LINENO: checking for Xinerama" >&5
27104 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27107 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27109 for ac_extension
in a so sl dylib
; do
27110 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27111 ac_find_libraries
=$ac_dir
27117 if test "$ac_find_libraries" != "" ; then
27119 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27121 if test $result = 0; then
27124 ac_path_to_link
=" -L$ac_find_libraries"
27127 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27128 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27130 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27131 echo "$as_me:$LINENO: result: yes" >&5
27132 echo "${ECHO_T}yes" >&6
27134 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27135 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27138 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27140 for ac_extension
in a so sl dylib
; do
27141 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27142 ac_find_libraries
=$ac_dir
27148 if test "$ac_find_libraries" != "" ; then
27149 echo "$as_me:$LINENO: result: yes" >&5
27150 echo "${ECHO_T}yes" >&6
27152 for ac_header
in X
11/extensions
/xf86vmode.h
27154 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27155 echo "$as_me:$LINENO: checking for $ac_header" >&5
27156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27158 echo $ECHO_N "(cached) $ECHO_C" >&6
27160 cat >conftest.
$ac_ext <<_ACEOF
27163 cat confdefs.h
>>conftest.
$ac_ext
27164 cat >>conftest.
$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27167 #if HAVE_X11_XLIB_H
27168 #include <X11/Xlib.h>
27172 #include <$ac_header>
27174 rm -f conftest.
$ac_objext
27175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27176 (eval $ac_compile) 2>conftest.er1
27178 grep -v '^ *+' conftest.er1
>conftest.err
27180 cat conftest.err
>&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); } &&
27183 { ac_try
='test -z "$ac_c_werror_flag"
27184 || test ! -s conftest.err'
27185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27186 (eval $ac_try) 2>&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); }; } &&
27190 { ac_try
='test -s conftest.$ac_objext'
27191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27192 (eval $ac_try) 2>&5
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); }; }; then
27196 eval "$as_ac_Header=yes"
27198 echo "$as_me: failed program was:" >&5
27199 sed 's/^/| /' conftest.
$ac_ext >&5
27201 eval "$as_ac_Header=no"
27203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27207 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27208 cat >>confdefs.h
<<_ACEOF
27209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27212 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27219 echo "$as_me:$LINENO: result: no" >&5
27220 echo "${ECHO_T}no" >&6
27224 echo "$as_me:$LINENO: result: no" >&5
27225 echo "${ECHO_T}no" >&6
27226 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27227 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27230 elif test "$wxUSE_MSW" = 1; then
27233 for ac_header
in multimon.h ddraw.h
27235 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27237 echo "$as_me:$LINENO: checking for $ac_header" >&5
27238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27240 echo $ECHO_N "(cached) $ECHO_C" >&6
27242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27245 # Is the header compilable?
27246 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27247 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27248 cat >conftest.
$ac_ext <<_ACEOF
27251 cat confdefs.h
>>conftest.
$ac_ext
27252 cat >>conftest.
$ac_ext <<_ACEOF
27253 /* end confdefs.h. */
27254 $ac_includes_default
27255 #include <$ac_header>
27257 rm -f conftest.
$ac_objext
27258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27259 (eval $ac_compile) 2>conftest.er1
27261 grep -v '^ *+' conftest.er1
>conftest.err
27263 cat conftest.err
>&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } &&
27266 { ac_try
='test -z "$ac_c_werror_flag"
27267 || test ! -s conftest.err'
27268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269 (eval $ac_try) 2>&5
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); }; } &&
27273 { ac_try
='test -s conftest.$ac_objext'
27274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27275 (eval $ac_try) 2>&5
27277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 (exit $ac_status); }; }; then
27279 ac_header_compiler
=yes
27281 echo "$as_me: failed program was:" >&5
27282 sed 's/^/| /' conftest.
$ac_ext >&5
27284 ac_header_compiler
=no
27286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27288 echo "${ECHO_T}$ac_header_compiler" >&6
27290 # Is the header present?
27291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27293 cat >conftest.
$ac_ext <<_ACEOF
27296 cat confdefs.h
>>conftest.
$ac_ext
27297 cat >>conftest.
$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27299 #include <$ac_header>
27301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27304 grep -v '^ *+' conftest.er1
>conftest.err
27306 cat conftest.err
>&5
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); } >/dev
/null
; then
27309 if test -s conftest.err
; then
27310 ac_cpp_err
=$ac_c_preproc_warn_flag
27311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27318 if test -z "$ac_cpp_err"; then
27319 ac_header_preproc
=yes
27321 echo "$as_me: failed program was:" >&5
27322 sed 's/^/| /' conftest.
$ac_ext >&5
27324 ac_header_preproc
=no
27326 rm -f conftest.err conftest.
$ac_ext
27327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27328 echo "${ECHO_T}$ac_header_preproc" >&6
27330 # So? What about this header?
27331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27337 ac_header_preproc
=yes
27340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27354 ## ----------------------------------------- ##
27355 ## Report this to wx-dev@lists.wxwidgets.org ##
27356 ## ----------------------------------------- ##
27359 sed "s/^/$as_me: WARNING: /" >&2
27362 echo "$as_me:$LINENO: checking for $ac_header" >&5
27363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27365 echo $ECHO_N "(cached) $ECHO_C" >&6
27367 eval "$as_ac_Header=\$ac_header_preproc"
27369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27374 cat >>confdefs.h
<<_ACEOF
27375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27381 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27382 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27393 if test "$wxUSE_OPENGL" = "yes"; then
27394 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27395 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27396 elif test "$wxUSE_MSW" = 1; then
27397 OPENGL_LIBS
="-lopengl32 -lglu32"
27402 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27404 if test -f "$ac_dir/GL/gl.h"; then
27405 ac_find_includes
=$ac_dir
27410 if test "$ac_find_includes" != "" ; then
27411 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27412 echo "${ECHO_T}found in $ac_find_includes" >&6
27414 if test "x$ac_find_includes" = "x/usr/include"; then
27415 ac_path_to_include
=""
27417 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27419 if test $result = 0; then
27420 ac_path_to_include
=""
27422 ac_path_to_include
=" -I$ac_find_includes"
27426 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27429 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27430 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27431 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27432 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27433 echo $ECHO_N "(cached) $ECHO_C" >&6
27435 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27436 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27438 # Is the header compilable?
27439 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27440 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27441 cat >conftest.
$ac_ext <<_ACEOF
27444 cat confdefs.h
>>conftest.
$ac_ext
27445 cat >>conftest.
$ac_ext <<_ACEOF
27446 /* end confdefs.h. */
27447 $ac_includes_default
27450 rm -f conftest.
$ac_objext
27451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27452 (eval $ac_compile) 2>conftest.er1
27454 grep -v '^ *+' conftest.er1
>conftest.err
27456 cat conftest.err
>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } &&
27459 { ac_try
='test -z "$ac_c_werror_flag"
27460 || test ! -s conftest.err'
27461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27462 (eval $ac_try) 2>&5
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); }; } &&
27466 { ac_try
='test -s conftest.$ac_objext'
27467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27468 (eval $ac_try) 2>&5
27470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27471 (exit $ac_status); }; }; then
27472 ac_header_compiler
=yes
27474 echo "$as_me: failed program was:" >&5
27475 sed 's/^/| /' conftest.
$ac_ext >&5
27477 ac_header_compiler
=no
27479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27481 echo "${ECHO_T}$ac_header_compiler" >&6
27483 # Is the header present?
27484 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27485 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27486 cat >conftest.
$ac_ext <<_ACEOF
27489 cat confdefs.h
>>conftest.
$ac_ext
27490 cat >>conftest.
$ac_ext <<_ACEOF
27491 /* end confdefs.h. */
27494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27495 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27497 grep -v '^ *+' conftest.er1
>conftest.err
27499 cat conftest.err
>&5
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); } >/dev
/null
; then
27502 if test -s conftest.err
; then
27503 ac_cpp_err
=$ac_c_preproc_warn_flag
27504 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27511 if test -z "$ac_cpp_err"; then
27512 ac_header_preproc
=yes
27514 echo "$as_me: failed program was:" >&5
27515 sed 's/^/| /' conftest.
$ac_ext >&5
27517 ac_header_preproc
=no
27519 rm -f conftest.err conftest.
$ac_ext
27520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27521 echo "${ECHO_T}$ac_header_preproc" >&6
27523 # So? What about this header?
27524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27526 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27527 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27528 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27529 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27530 ac_header_preproc
=yes
27533 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27534 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27535 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27536 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27537 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27538 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27539 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27540 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27541 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27542 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27543 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27544 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27547 ## ----------------------------------------- ##
27548 ## Report this to wx-dev@lists.wxwidgets.org ##
27549 ## ----------------------------------------- ##
27552 sed "s/^/$as_me: WARNING: /" >&2
27555 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27556 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27557 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27558 echo $ECHO_N "(cached) $ECHO_C" >&6
27560 ac_cv_header_GL_gl_h
=$ac_header_preproc
27562 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27563 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27566 if test $ac_cv_header_GL_gl_h = yes; then
27570 echo "$as_me:$LINENO: checking for -lGL" >&5
27571 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27574 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27576 for ac_extension
in a so sl dylib
; do
27577 if test -f "$ac_dir/libGL.$ac_extension"; then
27578 ac_find_libraries
=$ac_dir
27584 if test "$ac_find_libraries" != "" ; then
27586 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27588 if test $result = 0; then
27591 ac_path_to_link
=" -L$ac_find_libraries"
27594 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27595 LDFLAGS_GL
="$ac_path_to_link"
27600 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27602 for ac_extension
in a so sl dylib
; do
27603 if test -f "$ac_dir/libGLU.$ac_extension"; then
27604 ac_find_libraries
=$ac_dir
27610 if test "$ac_find_libraries" != "" ; then
27612 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27614 if test $result = 0; then
27617 ac_path_to_link
=" -L$ac_find_libraries"
27620 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27621 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27622 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27626 OPENGL_LIBS
="-lGL -lGLU"
27627 echo "$as_me:$LINENO: result: yes" >&5
27628 echo "${ECHO_T}yes" >&6
27632 if test "$found_gl" != 1; then
27633 echo "$as_me:$LINENO: result: no" >&5
27634 echo "${ECHO_T}no" >&6
27635 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27636 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27639 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27641 for ac_extension
in a so sl dylib
; do
27642 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27643 ac_find_libraries
=$ac_dir
27649 if test "$ac_find_libraries" != "" ; then
27651 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27653 if test $result = 0; then
27656 ac_path_to_link
=" -L$ac_find_libraries"
27659 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27660 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27661 echo "$as_me:$LINENO: result: yes" >&5
27662 echo "${ECHO_T}yes" >&6
27664 echo "$as_me:$LINENO: result: no" >&5
27665 echo "${ECHO_T}no" >&6
27673 if test "x$OPENGL_LIBS" = "x"; then
27674 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27675 echo "$as_me: error: OpenGL libraries not available" >&2;}
27676 { (exit 1); exit 1; }; }
27680 if test "$wxUSE_OPENGL" = "yes"; then
27682 cat >>confdefs.h
<<\_ACEOF
27683 #define wxUSE_OPENGL 1
27686 cat >>confdefs.h
<<\_ACEOF
27687 #define wxUSE_GLCANVAS 1
27690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27695 if test -n "$TOOLKIT" ; then
27696 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27701 if test "$wxUSE_SHARED" = "yes"; then
27705 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27706 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27711 if test "$wxUSE_SHARED" = "yes"; then
27714 found_versioning
=no
27717 if test $found_versioning = no
; then
27718 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27719 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27720 if test "${wx_cv_version_script+set}" = set; then
27721 echo $ECHO_N "(cached) $ECHO_C" >&6
27724 echo "VER_1 { *; };" >conftest.sym
27725 echo "int main() { return 0; }" >conftest.cpp
27728 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27729 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; } ; then
27735 if test -s conftest.stderr
; then
27736 wx_cv_version_script
=no
27738 wx_cv_version_script
=yes
27741 wx_cv_version_script
=no
27743 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27746 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27747 echo "${ECHO_T}$wx_cv_version_script" >&6
27748 if test $wx_cv_version_script = yes ; then
27749 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27755 *-*-linux* | *-*-gnu* )
27756 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27757 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27761 if test "$GCC" = yes ; then
27762 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27764 saveLdflags
="$LDFLAGS"
27765 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27766 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27767 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27768 cat >conftest.
$ac_ext <<_ACEOF
27771 cat confdefs.h
>>conftest.
$ac_ext
27772 cat >>conftest.
$ac_ext <<_ACEOF
27773 /* end confdefs.h. */
27783 rm -f conftest.
$ac_objext conftest
$ac_exeext
27784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27785 (eval $ac_link) 2>conftest.er1
27787 grep -v '^ *+' conftest.er1
>conftest.err
27789 cat conftest.err
>&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); } &&
27792 { ac_try
='test -z "$ac_c_werror_flag"
27793 || test ! -s conftest.err'
27794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27795 (eval $ac_try) 2>&5
27797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27798 (exit $ac_status); }; } &&
27799 { ac_try
='test -s conftest$ac_exeext'
27800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27801 (eval $ac_try) 2>&5
27803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27804 (exit $ac_status); }; }; then
27806 echo "$as_me:$LINENO: result: yes" >&5
27807 echo "${ECHO_T}yes" >&6
27808 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27809 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27812 echo "$as_me: failed program was:" >&5
27813 sed 's/^/| /' conftest.
$ac_ext >&5
27816 echo "$as_me:$LINENO: result: no" >&5
27817 echo "${ECHO_T}no" >&6
27818 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27819 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27820 LDFLAGS
="$saveLdflags -Wl,-R,/"
27821 cat >conftest.
$ac_ext <<_ACEOF
27824 cat confdefs.h
>>conftest.
$ac_ext
27825 cat >>conftest.
$ac_ext <<_ACEOF
27826 /* end confdefs.h. */
27836 rm -f conftest.
$ac_objext conftest
$ac_exeext
27837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27838 (eval $ac_link) 2>conftest.er1
27840 grep -v '^ *+' conftest.er1
>conftest.err
27842 cat conftest.err
>&5
27843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27844 (exit $ac_status); } &&
27845 { ac_try
='test -z "$ac_c_werror_flag"
27846 || test ! -s conftest.err'
27847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27848 (eval $ac_try) 2>&5
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); }; } &&
27852 { ac_try
='test -s conftest$ac_exeext'
27853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27854 (eval $ac_try) 2>&5
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); }; }; then
27859 echo "$as_me:$LINENO: result: yes" >&5
27860 echo "${ECHO_T}yes" >&6
27861 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27862 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
27865 echo "$as_me: failed program was:" >&5
27866 sed 's/^/| /' conftest.
$ac_ext >&5
27869 echo "$as_me:$LINENO: result: no" >&5
27870 echo "${ECHO_T}no" >&6
27873 rm -f conftest.err conftest.
$ac_objext \
27874 conftest
$ac_exeext conftest.
$ac_ext
27877 rm -f conftest.err conftest.
$ac_objext \
27878 conftest
$ac_exeext conftest.
$ac_ext
27879 LDFLAGS
="$saveLdflags"
27881 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27882 WXCONFIG_RPATH
="-R\$libdir"
27886 powerpc
-*-darwin* )
27887 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27888 cat <<EOF >change-install-names
27890 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27891 inst_cmd="install_name_tool "
27892 for i in \${libnames} ; do
27893 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27897 chmod +x change
-install-names
27900 *-*-cygwin* | *-*-mingw32* )
27901 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27906 if test $wxUSE_RPATH = "no"; then
27907 SAMPLES_RPATH_FLAG
=''
27908 SAMPLES_RPATH_POSTLINK
=''
27916 config_linkage_component
="-static"
27923 lib_unicode_suffix
=
27925 if test "$wxUSE_UNICODE" = "yes"; then
27926 lib_unicode_suffix
=u
27927 WX_CHARTYPE
="unicode"
27932 WX_DEBUGTYPE
="release"
27934 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27936 WX_DEBUGTYPE
="debug"
27940 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
27941 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
27944 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27948 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27950 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
27952 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
27954 if test "$cross_compiling" = "yes"; then
27955 HOST_SUFFIX
="-$host_alias"
27956 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
27957 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
27960 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27961 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27965 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27966 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
27967 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
27969 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27971 # Extract the first word of "Rez", so it can be a program name with args.
27972 set dummy Rez
; ac_word
=$2
27973 echo "$as_me:$LINENO: checking for $ac_word" >&5
27974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27975 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27976 echo $ECHO_N "(cached) $ECHO_C" >&6
27978 if test -n "$RESCOMP"; then
27979 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27982 for as_dir
in $PATH
27985 test -z "$as_dir" && as_dir
=.
27986 for ac_exec_ext
in '' $ac_executable_extensions; do
27987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27988 ac_cv_prog_RESCOMP
="Rez"
27989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27995 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27998 RESCOMP
=$ac_cv_prog_RESCOMP
27999 if test -n "$RESCOMP"; then
28000 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28001 echo "${ECHO_T}$RESCOMP" >&6
28003 echo "$as_me:$LINENO: result: no" >&5
28004 echo "${ECHO_T}no" >&6
28007 # Extract the first word of "DeRez", so it can be a program name with args.
28008 set dummy DeRez
; ac_word
=$2
28009 echo "$as_me:$LINENO: checking for $ac_word" >&5
28010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28011 if test "${ac_cv_prog_DEREZ+set}" = set; then
28012 echo $ECHO_N "(cached) $ECHO_C" >&6
28014 if test -n "$DEREZ"; then
28015 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28018 for as_dir
in $PATH
28021 test -z "$as_dir" && as_dir
=.
28022 for ac_exec_ext
in '' $ac_executable_extensions; do
28023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28024 ac_cv_prog_DEREZ
="DeRez"
28025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28031 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28034 DEREZ
=$ac_cv_prog_DEREZ
28035 if test -n "$DEREZ"; then
28036 echo "$as_me:$LINENO: result: $DEREZ" >&5
28037 echo "${ECHO_T}$DEREZ" >&6
28039 echo "$as_me:$LINENO: result: no" >&5
28040 echo "${ECHO_T}no" >&6
28043 # Extract the first word of "SetFile", so it can be a program name with args.
28044 set dummy SetFile
; ac_word
=$2
28045 echo "$as_me:$LINENO: checking for $ac_word" >&5
28046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28047 if test "${ac_cv_prog_SETFILE+set}" = set; then
28048 echo $ECHO_N "(cached) $ECHO_C" >&6
28050 if test -n "$SETFILE"; then
28051 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28054 for as_dir
in $PATH
28057 test -z "$as_dir" && as_dir
=.
28058 for ac_exec_ext
in '' $ac_executable_extensions; do
28059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28060 ac_cv_prog_SETFILE
="SetFile"
28061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28067 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28070 SETFILE
=$ac_cv_prog_SETFILE
28071 if test -n "$SETFILE"; then
28072 echo "$as_me:$LINENO: result: $SETFILE" >&5
28073 echo "${ECHO_T}$SETFILE" >&6
28075 echo "$as_me:$LINENO: result: no" >&5
28076 echo "${ECHO_T}no" >&6
28080 MACSETFILE
="\$(SETFILE)"
28082 if test "$wxUSE_MAC" = 1; then
28083 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28085 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28087 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28088 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28092 MACRESWXCONFIG
="@true"
28094 if test "$wxUSE_PM" = 1; then
28095 MACRESCOMP
="emxbind -ep"
28103 echo "$as_me:$LINENO: checking for mode_t" >&5
28104 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28105 if test "${ac_cv_type_mode_t+set}" = set; then
28106 echo $ECHO_N "(cached) $ECHO_C" >&6
28108 cat >conftest.
$ac_ext <<_ACEOF
28111 cat confdefs.h
>>conftest.
$ac_ext
28112 cat >>conftest.
$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28114 $ac_includes_default
28120 if (sizeof (mode_t))
28126 rm -f conftest.
$ac_objext
28127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28128 (eval $ac_compile) 2>conftest.er1
28130 grep -v '^ *+' conftest.er1
>conftest.err
28132 cat conftest.err
>&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); } &&
28135 { ac_try
='test -z "$ac_c_werror_flag"
28136 || test ! -s conftest.err'
28137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28138 (eval $ac_try) 2>&5
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); }; } &&
28142 { ac_try
='test -s conftest.$ac_objext'
28143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28144 (eval $ac_try) 2>&5
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); }; }; then
28148 ac_cv_type_mode_t
=yes
28150 echo "$as_me: failed program was:" >&5
28151 sed 's/^/| /' conftest.
$ac_ext >&5
28153 ac_cv_type_mode_t
=no
28155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28157 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28158 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28159 if test $ac_cv_type_mode_t = yes; then
28163 cat >>confdefs.h
<<_ACEOF
28169 echo "$as_me:$LINENO: checking for off_t" >&5
28170 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28171 if test "${ac_cv_type_off_t+set}" = set; then
28172 echo $ECHO_N "(cached) $ECHO_C" >&6
28174 cat >conftest.
$ac_ext <<_ACEOF
28177 cat confdefs.h
>>conftest.
$ac_ext
28178 cat >>conftest.
$ac_ext <<_ACEOF
28179 /* end confdefs.h. */
28180 $ac_includes_default
28186 if (sizeof (off_t))
28192 rm -f conftest.
$ac_objext
28193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28194 (eval $ac_compile) 2>conftest.er1
28196 grep -v '^ *+' conftest.er1
>conftest.err
28198 cat conftest.err
>&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } &&
28201 { ac_try
='test -z "$ac_c_werror_flag"
28202 || test ! -s conftest.err'
28203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28204 (eval $ac_try) 2>&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); }; } &&
28208 { ac_try
='test -s conftest.$ac_objext'
28209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28210 (eval $ac_try) 2>&5
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); }; }; then
28214 ac_cv_type_off_t
=yes
28216 echo "$as_me: failed program was:" >&5
28217 sed 's/^/| /' conftest.
$ac_ext >&5
28219 ac_cv_type_off_t
=no
28221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28223 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28224 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28225 if test $ac_cv_type_off_t = yes; then
28229 cat >>confdefs.h
<<_ACEOF
28235 echo "$as_me:$LINENO: checking for pid_t" >&5
28236 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28237 if test "${ac_cv_type_pid_t+set}" = set; then
28238 echo $ECHO_N "(cached) $ECHO_C" >&6
28240 cat >conftest.
$ac_ext <<_ACEOF
28243 cat confdefs.h
>>conftest.
$ac_ext
28244 cat >>conftest.
$ac_ext <<_ACEOF
28245 /* end confdefs.h. */
28246 $ac_includes_default
28252 if (sizeof (pid_t))
28258 rm -f conftest.
$ac_objext
28259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28260 (eval $ac_compile) 2>conftest.er1
28262 grep -v '^ *+' conftest.er1
>conftest.err
28264 cat conftest.err
>&5
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); } &&
28267 { ac_try
='test -z "$ac_c_werror_flag"
28268 || test ! -s conftest.err'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; } &&
28274 { ac_try
='test -s conftest.$ac_objext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28280 ac_cv_type_pid_t
=yes
28282 echo "$as_me: failed program was:" >&5
28283 sed 's/^/| /' conftest.
$ac_ext >&5
28285 ac_cv_type_pid_t
=no
28287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28289 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28290 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28291 if test $ac_cv_type_pid_t = yes; then
28295 cat >>confdefs.h
<<_ACEOF
28301 echo "$as_me:$LINENO: checking for size_t" >&5
28302 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28303 if test "${ac_cv_type_size_t+set}" = set; then
28304 echo $ECHO_N "(cached) $ECHO_C" >&6
28306 cat >conftest.
$ac_ext <<_ACEOF
28309 cat confdefs.h
>>conftest.
$ac_ext
28310 cat >>conftest.
$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28312 $ac_includes_default
28318 if (sizeof (size_t))
28324 rm -f conftest.
$ac_objext
28325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28326 (eval $ac_compile) 2>conftest.er1
28328 grep -v '^ *+' conftest.er1
>conftest.err
28330 cat conftest.err
>&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); } &&
28333 { ac_try
='test -z "$ac_c_werror_flag"
28334 || test ! -s conftest.err'
28335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28336 (eval $ac_try) 2>&5
28338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339 (exit $ac_status); }; } &&
28340 { ac_try
='test -s conftest.$ac_objext'
28341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28342 (eval $ac_try) 2>&5
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); }; }; then
28346 ac_cv_type_size_t
=yes
28348 echo "$as_me: failed program was:" >&5
28349 sed 's/^/| /' conftest.
$ac_ext >&5
28351 ac_cv_type_size_t
=no
28353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28355 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28356 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28357 if test $ac_cv_type_size_t = yes; then
28361 cat >>confdefs.h
<<_ACEOF
28362 #define size_t unsigned
28367 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28368 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28369 if test "${ac_cv_type_uid_t+set}" = set; then
28370 echo $ECHO_N "(cached) $ECHO_C" >&6
28372 cat >conftest.
$ac_ext <<_ACEOF
28375 cat confdefs.h
>>conftest.
$ac_ext
28376 cat >>conftest.
$ac_ext <<_ACEOF
28377 /* end confdefs.h. */
28378 #include <sys/types.h>
28381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28382 $EGREP "uid_t" >/dev
/null
2>&1; then
28383 ac_cv_type_uid_t
=yes
28385 ac_cv_type_uid_t
=no
28390 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28391 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28392 if test $ac_cv_type_uid_t = no
; then
28394 cat >>confdefs.h
<<\_ACEOF
28399 cat >>confdefs.h
<<\_ACEOF
28409 ac_cpp
='$CXXCPP $CPPFLAGS'
28410 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28411 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28412 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28414 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28415 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28416 if test "${wx_cv_size_t_is_uint+set}" = set; then
28417 echo $ECHO_N "(cached) $ECHO_C" >&6
28420 cat >conftest.
$ac_ext <<_ACEOF
28423 cat confdefs.h
>>conftest.
$ac_ext
28424 cat >>conftest.
$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28426 #include <stddef.h>
28433 struct Foo { void foo(size_t); void foo(unsigned int); };
28441 rm -f conftest.
$ac_objext
28442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28443 (eval $ac_compile) 2>conftest.er1
28445 grep -v '^ *+' conftest.er1
>conftest.err
28447 cat conftest.err
>&5
28448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28449 (exit $ac_status); } &&
28450 { ac_try
='test -z "$ac_cxx_werror_flag"
28451 || test ! -s conftest.err'
28452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28453 (eval $ac_try) 2>&5
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; } &&
28457 { ac_try
='test -s conftest.$ac_objext'
28458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28459 (eval $ac_try) 2>&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); }; }; then
28463 wx_cv_size_t_is_uint
=no
28465 echo "$as_me: failed program was:" >&5
28466 sed 's/^/| /' conftest.
$ac_ext >&5
28468 wx_cv_size_t_is_uint
=yes
28471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28475 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28476 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28478 if test "$wx_cv_size_t_is_uint" = "yes"; then
28479 cat >>confdefs.h
<<\_ACEOF
28480 #define wxSIZE_T_IS_UINT 1
28484 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28485 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28486 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28487 echo $ECHO_N "(cached) $ECHO_C" >&6
28489 cat >conftest.
$ac_ext <<_ACEOF
28492 cat confdefs.h
>>conftest.
$ac_ext
28493 cat >>conftest.
$ac_ext <<_ACEOF
28494 /* end confdefs.h. */
28495 #include <stddef.h>
28502 struct Foo { void foo(size_t); void foo(unsigned long); };
28510 rm -f conftest.
$ac_objext
28511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28512 (eval $ac_compile) 2>conftest.er1
28514 grep -v '^ *+' conftest.er1
>conftest.err
28516 cat conftest.err
>&5
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); } &&
28519 { ac_try
='test -z "$ac_cxx_werror_flag"
28520 || test ! -s conftest.err'
28521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28522 (eval $ac_try) 2>&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); }; } &&
28526 { ac_try
='test -s conftest.$ac_objext'
28527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28528 (eval $ac_try) 2>&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); }; }; then
28532 wx_cv_size_t_is_ulong
=no
28534 echo "$as_me: failed program was:" >&5
28535 sed 's/^/| /' conftest.
$ac_ext >&5
28537 wx_cv_size_t_is_ulong
=yes
28540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28543 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28544 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28546 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28547 cat >>confdefs.h
<<\_ACEOF
28548 #define wxSIZE_T_IS_ULONG 1
28555 ac_cpp
='$CPP $CPPFLAGS'
28556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28562 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28563 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28564 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28565 echo $ECHO_N "(cached) $ECHO_C" >&6
28568 cat >conftest.
$ac_ext <<_ACEOF
28571 cat confdefs.h
>>conftest.
$ac_ext
28572 cat >>conftest.
$ac_ext <<_ACEOF
28573 /* end confdefs.h. */
28587 rm -f conftest.
$ac_objext
28588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28589 (eval $ac_compile) 2>conftest.er1
28591 grep -v '^ *+' conftest.er1
>conftest.err
28593 cat conftest.err
>&5
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); } &&
28596 { ac_try
='test -z "$ac_c_werror_flag"
28597 || test ! -s conftest.err'
28598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28599 (eval $ac_try) 2>&5
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); }; } &&
28603 { ac_try
='test -s conftest.$ac_objext'
28604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28605 (eval $ac_try) 2>&5
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); }; }; then
28610 wx_cv_struct_pw_gecos
=yes
28613 echo "$as_me: failed program was:" >&5
28614 sed 's/^/| /' conftest.
$ac_ext >&5
28617 wx_cv_struct_pw_gecos
=no
28621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28625 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28626 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28628 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28629 cat >>confdefs.h
<<\_ACEOF
28630 #define HAVE_PW_GECOS 1
28636 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28637 cat >>confdefs.h
<<\_ACEOF
28638 #define wxUSE_WCHAR_T 1
28645 for ac_func
in wcslen
28647 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28648 echo "$as_me:$LINENO: checking for $ac_func" >&5
28649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28650 if eval "test \"\${$as_ac_var+set}\" = set"; then
28651 echo $ECHO_N "(cached) $ECHO_C" >&6
28653 cat >conftest.
$ac_ext <<_ACEOF
28656 cat confdefs.h
>>conftest.
$ac_ext
28657 cat >>conftest.
$ac_ext <<_ACEOF
28658 /* end confdefs.h. */
28659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28661 #define $ac_func innocuous_$ac_func
28663 /* System header to define __stub macros and hopefully few prototypes,
28664 which can conflict with char $ac_func (); below.
28665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28666 <limits.h> exists even on freestanding compilers. */
28669 # include <limits.h>
28671 # include <assert.h>
28676 /* Override any gcc2 internal prototype to avoid an error. */
28681 /* We use char because int might match the return type of a gcc2
28682 builtin and then its argument prototype would still apply. */
28684 /* The GNU C library defines this for functions which it implements
28685 to always fail with ENOSYS. Some functions are actually named
28686 something starting with __ and the normal name is an alias. */
28687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28690 char (*f) () = $ac_func;
28699 return f != $ac_func;
28704 rm -f conftest.
$ac_objext conftest
$ac_exeext
28705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28706 (eval $ac_link) 2>conftest.er1
28708 grep -v '^ *+' conftest.er1
>conftest.err
28710 cat conftest.err
>&5
28711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712 (exit $ac_status); } &&
28713 { ac_try
='test -z "$ac_c_werror_flag"
28714 || test ! -s conftest.err'
28715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28716 (eval $ac_try) 2>&5
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); }; } &&
28720 { ac_try
='test -s conftest$ac_exeext'
28721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28722 (eval $ac_try) 2>&5
28724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28725 (exit $ac_status); }; }; then
28726 eval "$as_ac_var=yes"
28728 echo "$as_me: failed program was:" >&5
28729 sed 's/^/| /' conftest.
$ac_ext >&5
28731 eval "$as_ac_var=no"
28733 rm -f conftest.err conftest.
$ac_objext \
28734 conftest
$ac_exeext conftest.
$ac_ext
28736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28738 if test `eval echo '${'$as_ac_var'}'` = yes; then
28739 cat >>confdefs.h
<<_ACEOF
28740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28747 if test "$WCSLEN_FOUND" = 0; then
28748 if test "$TOOLKIT" = "MSW"; then
28749 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28750 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28751 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28752 echo $ECHO_N "(cached) $ECHO_C" >&6
28754 ac_check_lib_save_LIBS
=$LIBS
28755 LIBS
="-lmsvcrt $LIBS"
28756 cat >conftest.
$ac_ext <<_ACEOF
28759 cat confdefs.h
>>conftest.
$ac_ext
28760 cat >>conftest.
$ac_ext <<_ACEOF
28761 /* end confdefs.h. */
28763 /* Override any gcc2 internal prototype to avoid an error. */
28767 /* We use char because int might match the return type of a gcc2
28768 builtin and then its argument prototype would still apply. */
28778 rm -f conftest.
$ac_objext conftest
$ac_exeext
28779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28780 (eval $ac_link) 2>conftest.er1
28782 grep -v '^ *+' conftest.er1
>conftest.err
28784 cat conftest.err
>&5
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); } &&
28787 { ac_try
='test -z "$ac_c_werror_flag"
28788 || test ! -s conftest.err'
28789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28790 (eval $ac_try) 2>&5
28792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28793 (exit $ac_status); }; } &&
28794 { ac_try
='test -s conftest$ac_exeext'
28795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28796 (eval $ac_try) 2>&5
28798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28799 (exit $ac_status); }; }; then
28800 ac_cv_lib_msvcrt_wcslen
=yes
28802 echo "$as_me: failed program was:" >&5
28803 sed 's/^/| /' conftest.
$ac_ext >&5
28805 ac_cv_lib_msvcrt_wcslen
=no
28807 rm -f conftest.err conftest.
$ac_objext \
28808 conftest
$ac_exeext conftest.
$ac_ext
28809 LIBS
=$ac_check_lib_save_LIBS
28811 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28812 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28813 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28818 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28819 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28820 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28821 echo $ECHO_N "(cached) $ECHO_C" >&6
28823 ac_check_lib_save_LIBS
=$LIBS
28825 cat >conftest.
$ac_ext <<_ACEOF
28828 cat confdefs.h
>>conftest.
$ac_ext
28829 cat >>conftest.
$ac_ext <<_ACEOF
28830 /* end confdefs.h. */
28832 /* Override any gcc2 internal prototype to avoid an error. */
28836 /* We use char because int might match the return type of a gcc2
28837 builtin and then its argument prototype would still apply. */
28847 rm -f conftest.
$ac_objext conftest
$ac_exeext
28848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28849 (eval $ac_link) 2>conftest.er1
28851 grep -v '^ *+' conftest.er1
>conftest.err
28853 cat conftest.err
>&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); } &&
28856 { ac_try
='test -z "$ac_c_werror_flag"
28857 || test ! -s conftest.err'
28858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28859 (eval $ac_try) 2>&5
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); }; } &&
28863 { ac_try
='test -s conftest$ac_exeext'
28864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28865 (eval $ac_try) 2>&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); }; }; then
28869 ac_cv_lib_w_wcslen
=yes
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.
$ac_ext >&5
28874 ac_cv_lib_w_wcslen
=no
28876 rm -f conftest.err conftest.
$ac_objext \
28877 conftest
$ac_exeext conftest.
$ac_ext
28878 LIBS
=$ac_check_lib_save_LIBS
28880 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28881 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28882 if test $ac_cv_lib_w_wcslen = yes; then
28892 if test "$WCSLEN_FOUND" = 1; then
28893 cat >>confdefs.h
<<\_ACEOF
28894 #define HAVE_WCSLEN 1
28899 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28900 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28904 for ac_func
in wcsrtombs
28906 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28907 echo "$as_me:$LINENO: checking for $ac_func" >&5
28908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28909 if eval "test \"\${$as_ac_var+set}\" = set"; then
28910 echo $ECHO_N "(cached) $ECHO_C" >&6
28912 cat >conftest.
$ac_ext <<_ACEOF
28915 cat confdefs.h
>>conftest.
$ac_ext
28916 cat >>conftest.
$ac_ext <<_ACEOF
28917 /* end confdefs.h. */
28918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28920 #define $ac_func innocuous_$ac_func
28922 /* System header to define __stub macros and hopefully few prototypes,
28923 which can conflict with char $ac_func (); below.
28924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28925 <limits.h> exists even on freestanding compilers. */
28928 # include <limits.h>
28930 # include <assert.h>
28935 /* Override any gcc2 internal prototype to avoid an error. */
28940 /* We use char because int might match the return type of a gcc2
28941 builtin and then its argument prototype would still apply. */
28943 /* The GNU C library defines this for functions which it implements
28944 to always fail with ENOSYS. Some functions are actually named
28945 something starting with __ and the normal name is an alias. */
28946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28949 char (*f) () = $ac_func;
28958 return f != $ac_func;
28963 rm -f conftest.
$ac_objext conftest
$ac_exeext
28964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28965 (eval $ac_link) 2>conftest.er1
28967 grep -v '^ *+' conftest.er1
>conftest.err
28969 cat conftest.err
>&5
28970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28971 (exit $ac_status); } &&
28972 { ac_try
='test -z "$ac_c_werror_flag"
28973 || test ! -s conftest.err'
28974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28975 (eval $ac_try) 2>&5
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); }; } &&
28979 { ac_try
='test -s conftest$ac_exeext'
28980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28981 (eval $ac_try) 2>&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); }; }; then
28985 eval "$as_ac_var=yes"
28987 echo "$as_me: failed program was:" >&5
28988 sed 's/^/| /' conftest.
$ac_ext >&5
28990 eval "$as_ac_var=no"
28992 rm -f conftest.err conftest.
$ac_objext \
28993 conftest
$ac_exeext conftest.
$ac_ext
28995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28997 if test `eval echo '${'$as_ac_var'}'` = yes; then
28998 cat >>confdefs.h
<<_ACEOF
28999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29006 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29007 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29013 ac_cpp
='$CXXCPP $CPPFLAGS'
29014 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29015 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29016 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29020 for ac_func
in vsnprintf
29022 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29023 echo "$as_me:$LINENO: checking for $ac_func" >&5
29024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29025 if eval "test \"\${$as_ac_var+set}\" = set"; then
29026 echo $ECHO_N "(cached) $ECHO_C" >&6
29028 cat >conftest.
$ac_ext <<_ACEOF
29031 cat confdefs.h
>>conftest.
$ac_ext
29032 cat >>conftest.
$ac_ext <<_ACEOF
29033 /* end confdefs.h. */
29034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29036 #define $ac_func innocuous_$ac_func
29038 /* System header to define __stub macros and hopefully few prototypes,
29039 which can conflict with char $ac_func (); below.
29040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29041 <limits.h> exists even on freestanding compilers. */
29044 # include <limits.h>
29046 # include <assert.h>
29051 /* Override any gcc2 internal prototype to avoid an error. */
29056 /* We use char because int might match the return type of a gcc2
29057 builtin and then its argument prototype would still apply. */
29059 /* The GNU C library defines this for functions which it implements
29060 to always fail with ENOSYS. Some functions are actually named
29061 something starting with __ and the normal name is an alias. */
29062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29065 char (*f) () = $ac_func;
29074 return f != $ac_func;
29079 rm -f conftest.
$ac_objext conftest
$ac_exeext
29080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29081 (eval $ac_link) 2>conftest.er1
29083 grep -v '^ *+' conftest.er1
>conftest.err
29085 cat conftest.err
>&5
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); } &&
29088 { ac_try
='test -z "$ac_cxx_werror_flag"
29089 || test ! -s conftest.err'
29090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29091 (eval $ac_try) 2>&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); }; } &&
29095 { ac_try
='test -s conftest$ac_exeext'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; }; then
29101 eval "$as_ac_var=yes"
29103 echo "$as_me: failed program was:" >&5
29104 sed 's/^/| /' conftest.
$ac_ext >&5
29106 eval "$as_ac_var=no"
29108 rm -f conftest.err conftest.
$ac_objext \
29109 conftest
$ac_exeext conftest.
$ac_ext
29111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29113 if test `eval echo '${'$as_ac_var'}'` = yes; then
29114 cat >>confdefs.h
<<_ACEOF
29115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29122 if test "$ac_cv_func_vsnprintf" = "yes"; then
29123 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29124 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29125 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29126 echo $ECHO_N "(cached) $ECHO_C" >&6
29129 cat >conftest.
$ac_ext <<_ACEOF
29132 cat confdefs.h
>>conftest.
$ac_ext
29133 cat >>conftest.
$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29137 #include <stdarg.h>
29145 vsnprintf(buf, 10u, "%s", ap);
29151 rm -f conftest.
$ac_objext
29152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29153 (eval $ac_compile) 2>conftest.er1
29155 grep -v '^ *+' conftest.er1
>conftest.err
29157 cat conftest.err
>&5
29158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29159 (exit $ac_status); } &&
29160 { ac_try
='test -z "$ac_cxx_werror_flag"
29161 || test ! -s conftest.err'
29162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29163 (eval $ac_try) 2>&5
29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166 (exit $ac_status); }; } &&
29167 { ac_try
='test -s conftest.$ac_objext'
29168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29169 (eval $ac_try) 2>&5
29171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172 (exit $ac_status); }; }; then
29173 wx_cv_func_vsnprintf_decl
=yes
29175 echo "$as_me: failed program was:" >&5
29176 sed 's/^/| /' conftest.
$ac_ext >&5
29178 wx_cv_func_vsnprintf_decl
=no
29181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29185 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29186 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29188 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29189 cat >>confdefs.h
<<\_ACEOF
29190 #define HAVE_VSNPRINTF_DECL 1
29196 if test "$wxUSE_UNICODE" = yes; then
29203 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29205 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29206 echo "$as_me:$LINENO: checking for $ac_func" >&5
29207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29208 if eval "test \"\${$as_ac_var+set}\" = set"; then
29209 echo $ECHO_N "(cached) $ECHO_C" >&6
29211 cat >conftest.
$ac_ext <<_ACEOF
29214 cat confdefs.h
>>conftest.
$ac_ext
29215 cat >>conftest.
$ac_ext <<_ACEOF
29216 /* end confdefs.h. */
29217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29219 #define $ac_func innocuous_$ac_func
29221 /* System header to define __stub macros and hopefully few prototypes,
29222 which can conflict with char $ac_func (); below.
29223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29224 <limits.h> exists even on freestanding compilers. */
29227 # include <limits.h>
29229 # include <assert.h>
29234 /* Override any gcc2 internal prototype to avoid an error. */
29239 /* We use char because int might match the return type of a gcc2
29240 builtin and then its argument prototype would still apply. */
29242 /* The GNU C library defines this for functions which it implements
29243 to always fail with ENOSYS. Some functions are actually named
29244 something starting with __ and the normal name is an alias. */
29245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29248 char (*f) () = $ac_func;
29257 return f != $ac_func;
29262 rm -f conftest.
$ac_objext conftest
$ac_exeext
29263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29264 (eval $ac_link) 2>conftest.er1
29266 grep -v '^ *+' conftest.er1
>conftest.err
29268 cat conftest.err
>&5
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); } &&
29271 { ac_try
='test -z "$ac_cxx_werror_flag"
29272 || test ! -s conftest.err'
29273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29274 (eval $ac_try) 2>&5
29276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 (exit $ac_status); }; } &&
29278 { ac_try
='test -s conftest$ac_exeext'
29279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29280 (eval $ac_try) 2>&5
29282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29283 (exit $ac_status); }; }; then
29284 eval "$as_ac_var=yes"
29286 echo "$as_me: failed program was:" >&5
29287 sed 's/^/| /' conftest.
$ac_ext >&5
29289 eval "$as_ac_var=no"
29291 rm -f conftest.err conftest.
$ac_objext \
29292 conftest
$ac_exeext conftest.
$ac_ext
29294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29296 if test `eval echo '${'$as_ac_var'}'` = yes; then
29297 cat >>confdefs.h
<<_ACEOF
29298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29305 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29306 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29307 cat >conftest.
$ac_ext <<_ACEOF
29310 cat confdefs.h
>>conftest.
$ac_ext
29311 cat >>conftest.
$ac_ext <<_ACEOF
29312 /* end confdefs.h. */
29322 rm -f conftest.
$ac_objext
29323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29324 (eval $ac_compile) 2>conftest.er1
29326 grep -v '^ *+' conftest.er1
>conftest.err
29328 cat conftest.err
>&5
29329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330 (exit $ac_status); } &&
29331 { ac_try
='test -z "$ac_cxx_werror_flag"
29332 || test ! -s conftest.err'
29333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29334 (eval $ac_try) 2>&5
29336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29337 (exit $ac_status); }; } &&
29338 { ac_try
='test -s conftest.$ac_objext'
29339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29340 (eval $ac_try) 2>&5
29342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29343 (exit $ac_status); }; }; then
29344 echo "$as_me:$LINENO: result: yes" >&5
29345 echo "${ECHO_T}yes" >&6
29346 cat >>confdefs.h
<<\_ACEOF
29347 #define HAVE__VSNWPRINTF 1
29351 echo "$as_me: failed program was:" >&5
29352 sed 's/^/| /' conftest.
$ac_ext >&5
29354 echo "$as_me:$LINENO: result: no" >&5
29355 echo "${ECHO_T}no" >&6
29357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29361 ac_cpp
='$CPP $CPPFLAGS'
29362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29369 if test "$TOOLKIT" != "MSW"; then
29375 ac_cpp
='$CXXCPP $CPPFLAGS'
29376 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29377 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29378 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29383 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29384 if test "${with_libiconv_prefix+set}" = set; then
29385 withval
="$with_libiconv_prefix"
29387 for dir
in `echo "$withval" | tr : ' '`; do
29388 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29389 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29394 echo "$as_me:$LINENO: checking for iconv" >&5
29395 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29396 if test "${am_cv_func_iconv+set}" = set; then
29397 echo $ECHO_N "(cached) $ECHO_C" >&6
29400 am_cv_func_iconv
="no, consider installing GNU libiconv"
29402 cat >conftest.
$ac_ext <<_ACEOF
29405 cat confdefs.h
>>conftest.
$ac_ext
29406 cat >>conftest.
$ac_ext <<_ACEOF
29407 /* end confdefs.h. */
29408 #include <stdlib.h>
29413 iconv_t cd = iconv_open("","");
29414 iconv(cd,NULL,NULL,NULL,NULL);
29420 rm -f conftest.
$ac_objext conftest
$ac_exeext
29421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29422 (eval $ac_link) 2>conftest.er1
29424 grep -v '^ *+' conftest.er1
>conftest.err
29426 cat conftest.err
>&5
29427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428 (exit $ac_status); } &&
29429 { ac_try
='test -z "$ac_cxx_werror_flag"
29430 || test ! -s conftest.err'
29431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29432 (eval $ac_try) 2>&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; } &&
29436 { ac_try
='test -s conftest$ac_exeext'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; }; then
29442 am_cv_func_iconv
=yes
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.
$ac_ext >&5
29448 rm -f conftest.err conftest.
$ac_objext \
29449 conftest
$ac_exeext conftest.
$ac_ext
29450 if test "$am_cv_func_iconv" != yes; then
29451 am_save_LIBS
="$LIBS"
29452 LIBS
="$LIBS -liconv"
29453 cat >conftest.
$ac_ext <<_ACEOF
29456 cat confdefs.h
>>conftest.
$ac_ext
29457 cat >>conftest.
$ac_ext <<_ACEOF
29458 /* end confdefs.h. */
29459 #include <stdlib.h>
29464 iconv_t cd = iconv_open("","");
29465 iconv(cd,NULL,NULL,NULL,NULL);
29471 rm -f conftest.
$ac_objext conftest
$ac_exeext
29472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29473 (eval $ac_link) 2>conftest.er1
29475 grep -v '^ *+' conftest.er1
>conftest.err
29477 cat conftest.err
>&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try
='test -z "$ac_cxx_werror_flag"
29481 || test ! -s conftest.err'
29482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29483 (eval $ac_try) 2>&5
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); }; } &&
29487 { ac_try
='test -s conftest$ac_exeext'
29488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29489 (eval $ac_try) 2>&5
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); }; }; then
29493 am_cv_lib_iconv
=yes
29494 am_cv_func_iconv
=yes
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.
$ac_ext >&5
29500 rm -f conftest.err conftest.
$ac_objext \
29501 conftest
$ac_exeext conftest.
$ac_ext
29502 LIBS
="$am_save_LIBS"
29506 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29507 echo "${ECHO_T}$am_cv_func_iconv" >&6
29508 if test "$am_cv_func_iconv" = yes; then
29510 cat >>confdefs.h
<<\_ACEOF
29511 #define HAVE_ICONV 1
29514 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29515 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29516 if test "${wx_cv_func_iconv_const+set}" = set; then
29517 echo $ECHO_N "(cached) $ECHO_C" >&6
29519 cat >conftest.
$ac_ext <<_ACEOF
29522 cat confdefs.h
>>conftest.
$ac_ext
29523 cat >>conftest.
$ac_ext <<_ACEOF
29524 /* end confdefs.h. */
29526 #include <stdlib.h>
29532 #if defined(__STDC__) || defined(__cplusplus)
29533 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29546 rm -f conftest.
$ac_objext
29547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29548 (eval $ac_compile) 2>conftest.er1
29550 grep -v '^ *+' conftest.er1
>conftest.err
29552 cat conftest.err
>&5
29553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29554 (exit $ac_status); } &&
29555 { ac_try
='test -z "$ac_cxx_werror_flag"
29556 || test ! -s conftest.err'
29557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29558 (eval $ac_try) 2>&5
29560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561 (exit $ac_status); }; } &&
29562 { ac_try
='test -s conftest.$ac_objext'
29563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29564 (eval $ac_try) 2>&5
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); }; }; then
29568 wx_cv_func_iconv_const
="no"
29570 echo "$as_me: failed program was:" >&5
29571 sed 's/^/| /' conftest.
$ac_ext >&5
29573 wx_cv_func_iconv_const
="yes"
29576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29579 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29580 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29583 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29584 iconv_const
="const"
29588 cat >>confdefs.h
<<_ACEOF
29589 #define ICONV_CONST $iconv_const
29594 if test "$am_cv_lib_iconv" = yes; then
29599 LIBS
="$LIBICONV $LIBS"
29601 ac_cpp
='$CPP $CPPFLAGS'
29602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29607 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29609 for ac_func
in sigaction
29611 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29612 echo "$as_me:$LINENO: checking for $ac_func" >&5
29613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29614 if eval "test \"\${$as_ac_var+set}\" = set"; then
29615 echo $ECHO_N "(cached) $ECHO_C" >&6
29617 cat >conftest.
$ac_ext <<_ACEOF
29620 cat confdefs.h
>>conftest.
$ac_ext
29621 cat >>conftest.
$ac_ext <<_ACEOF
29622 /* end confdefs.h. */
29623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29625 #define $ac_func innocuous_$ac_func
29627 /* System header to define __stub macros and hopefully few prototypes,
29628 which can conflict with char $ac_func (); below.
29629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29630 <limits.h> exists even on freestanding compilers. */
29633 # include <limits.h>
29635 # include <assert.h>
29640 /* Override any gcc2 internal prototype to avoid an error. */
29645 /* We use char because int might match the return type of a gcc2
29646 builtin and then its argument prototype would still apply. */
29648 /* The GNU C library defines this for functions which it implements
29649 to always fail with ENOSYS. Some functions are actually named
29650 something starting with __ and the normal name is an alias. */
29651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29654 char (*f) () = $ac_func;
29663 return f != $ac_func;
29668 rm -f conftest.
$ac_objext conftest
$ac_exeext
29669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29670 (eval $ac_link) 2>conftest.er1
29672 grep -v '^ *+' conftest.er1
>conftest.err
29674 cat conftest.err
>&5
29675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29676 (exit $ac_status); } &&
29677 { ac_try
='test -z "$ac_c_werror_flag"
29678 || test ! -s conftest.err'
29679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29680 (eval $ac_try) 2>&5
29682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 (exit $ac_status); }; } &&
29684 { ac_try
='test -s conftest$ac_exeext'
29685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29686 (eval $ac_try) 2>&5
29688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 (exit $ac_status); }; }; then
29690 eval "$as_ac_var=yes"
29692 echo "$as_me: failed program was:" >&5
29693 sed 's/^/| /' conftest.
$ac_ext >&5
29695 eval "$as_ac_var=no"
29697 rm -f conftest.err conftest.
$ac_objext \
29698 conftest
$ac_exeext conftest.
$ac_ext
29700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29702 if test `eval echo '${'$as_ac_var'}'` = yes; then
29703 cat >>confdefs.h
<<_ACEOF
29704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29711 if test "$ac_cv_func_sigaction" = "no"; then
29712 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29713 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29714 wxUSE_ON_FATAL_EXCEPTION
=no
29717 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29721 ac_cpp
='$CXXCPP $CPPFLAGS'
29722 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29723 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29724 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29727 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29728 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29729 if test "${wx_cv_type_sa_handler+set}" = set; then
29730 echo $ECHO_N "(cached) $ECHO_C" >&6
29733 cat >conftest.
$ac_ext <<_ACEOF
29736 cat confdefs.h
>>conftest.
$ac_ext
29737 cat >>conftest.
$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29739 #include <signal.h>
29744 extern void testSigHandler(int);
29746 struct sigaction sa;
29747 sa.sa_handler = testSigHandler;
29753 rm -f conftest.
$ac_objext
29754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29755 (eval $ac_compile) 2>conftest.er1
29757 grep -v '^ *+' conftest.er1
>conftest.err
29759 cat conftest.err
>&5
29760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29761 (exit $ac_status); } &&
29762 { ac_try
='test -z "$ac_cxx_werror_flag"
29763 || test ! -s conftest.err'
29764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29765 (eval $ac_try) 2>&5
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); }; } &&
29769 { ac_try
='test -s conftest.$ac_objext'
29770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29771 (eval $ac_try) 2>&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); }; }; then
29776 wx_cv_type_sa_handler
=int
29779 echo "$as_me: failed program was:" >&5
29780 sed 's/^/| /' conftest.
$ac_ext >&5
29783 wx_cv_type_sa_handler
=void
29786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29789 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29790 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29793 ac_cpp
='$CPP $CPPFLAGS'
29794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29799 cat >>confdefs.h
<<_ACEOF
29800 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29808 for ac_func
in mkstemp mktemp
29810 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29811 echo "$as_me:$LINENO: checking for $ac_func" >&5
29812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29813 if eval "test \"\${$as_ac_var+set}\" = set"; then
29814 echo $ECHO_N "(cached) $ECHO_C" >&6
29816 cat >conftest.
$ac_ext <<_ACEOF
29819 cat confdefs.h
>>conftest.
$ac_ext
29820 cat >>conftest.
$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29824 #define $ac_func innocuous_$ac_func
29826 /* System header to define __stub macros and hopefully few prototypes,
29827 which can conflict with char $ac_func (); below.
29828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29829 <limits.h> exists even on freestanding compilers. */
29832 # include <limits.h>
29834 # include <assert.h>
29839 /* Override any gcc2 internal prototype to avoid an error. */
29844 /* We use char because int might match the return type of a gcc2
29845 builtin and then its argument prototype would still apply. */
29847 /* The GNU C library defines this for functions which it implements
29848 to always fail with ENOSYS. Some functions are actually named
29849 something starting with __ and the normal name is an alias. */
29850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29853 char (*f) () = $ac_func;
29862 return f != $ac_func;
29867 rm -f conftest.
$ac_objext conftest
$ac_exeext
29868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29869 (eval $ac_link) 2>conftest.er1
29871 grep -v '^ *+' conftest.er1
>conftest.err
29873 cat conftest.err
>&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } &&
29876 { ac_try
='test -z "$ac_c_werror_flag"
29877 || test ! -s conftest.err'
29878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29879 (eval $ac_try) 2>&5
29881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882 (exit $ac_status); }; } &&
29883 { ac_try
='test -s conftest$ac_exeext'
29884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29885 (eval $ac_try) 2>&5
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); }; }; then
29889 eval "$as_ac_var=yes"
29891 echo "$as_me: failed program was:" >&5
29892 sed 's/^/| /' conftest.
$ac_ext >&5
29894 eval "$as_ac_var=no"
29896 rm -f conftest.err conftest.
$ac_objext \
29897 conftest
$ac_exeext conftest.
$ac_ext
29899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29901 if test `eval echo '${'$as_ac_var'}'` = yes; then
29902 cat >>confdefs.h
<<_ACEOF
29903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29910 echo "$as_me:$LINENO: checking for statfs" >&5
29911 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29912 if test "${wx_cv_func_statfs+set}" = set; then
29913 echo $ECHO_N "(cached) $ECHO_C" >&6
29915 cat >conftest.
$ac_ext <<_ACEOF
29918 cat confdefs.h
>>conftest.
$ac_ext
29919 cat >>conftest.
$ac_ext <<_ACEOF
29920 /* end confdefs.h. */
29922 #if defined(__BSD__)
29923 #include <sys/param.h>
29924 #include <sys/mount.h>
29926 #include <sys/vfs.h>
29944 rm -f conftest.
$ac_objext
29945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29946 (eval $ac_compile) 2>conftest.er1
29948 grep -v '^ *+' conftest.er1
>conftest.err
29950 cat conftest.err
>&5
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); } &&
29953 { ac_try
='test -z "$ac_c_werror_flag"
29954 || test ! -s conftest.err'
29955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29956 (eval $ac_try) 2>&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); }; } &&
29960 { ac_try
='test -s conftest.$ac_objext'
29961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29962 (eval $ac_try) 2>&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); }; }; then
29967 wx_cv_func_statfs
=yes
29970 echo "$as_me: failed program was:" >&5
29971 sed 's/^/| /' conftest.
$ac_ext >&5
29974 wx_cv_func_statfs
=no
29978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29981 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29982 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29984 if test "$wx_cv_func_statfs" = "yes"; then
29985 wx_cv_type_statvfs_t
="struct statfs"
29986 cat >>confdefs.h
<<\_ACEOF
29987 #define HAVE_STATFS 1
29991 echo "$as_me:$LINENO: checking for statvfs" >&5
29992 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29993 if test "${wx_cv_func_statvfs+set}" = set; then
29994 echo $ECHO_N "(cached) $ECHO_C" >&6
29996 cat >conftest.
$ac_ext <<_ACEOF
29999 cat confdefs.h
>>conftest.
$ac_ext
30000 cat >>conftest.
$ac_ext <<_ACEOF
30001 /* end confdefs.h. */
30003 #include <stddef.h>
30004 #include <sys/statvfs.h>
30010 statvfs("/", NULL);
30016 rm -f conftest.
$ac_objext
30017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30018 (eval $ac_compile) 2>conftest.er1
30020 grep -v '^ *+' conftest.er1
>conftest.err
30022 cat conftest.err
>&5
30023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024 (exit $ac_status); } &&
30025 { ac_try
='test -z "$ac_c_werror_flag"
30026 || test ! -s conftest.err'
30027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30028 (eval $ac_try) 2>&5
30030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031 (exit $ac_status); }; } &&
30032 { ac_try
='test -s conftest.$ac_objext'
30033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30034 (eval $ac_try) 2>&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); }; }; then
30038 wx_cv_func_statvfs
=yes
30040 echo "$as_me: failed program was:" >&5
30041 sed 's/^/| /' conftest.
$ac_ext >&5
30043 wx_cv_func_statvfs
=no
30046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30049 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30050 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30052 if test "$wx_cv_func_statvfs" = "yes"; then
30056 ac_cpp
='$CXXCPP $CPPFLAGS'
30057 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30058 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30059 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30062 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30063 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30064 if test "${wx_cv_type_statvfs_t+set}" = set; then
30065 echo $ECHO_N "(cached) $ECHO_C" >&6
30067 cat >conftest.
$ac_ext <<_ACEOF
30070 cat confdefs.h
>>conftest.
$ac_ext
30071 cat >>conftest.
$ac_ext <<_ACEOF
30072 /* end confdefs.h. */
30074 #include <sys/statvfs.h>
30091 rm -f conftest.
$ac_objext
30092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30093 (eval $ac_compile) 2>conftest.er1
30095 grep -v '^ *+' conftest.er1
>conftest.err
30097 cat conftest.err
>&5
30098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099 (exit $ac_status); } &&
30100 { ac_try
='test -z "$ac_cxx_werror_flag"
30101 || test ! -s conftest.err'
30102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30103 (eval $ac_try) 2>&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); }; } &&
30107 { ac_try
='test -s conftest.$ac_objext'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; }; then
30113 wx_cv_type_statvfs_t
=statvfs_t
30115 echo "$as_me: failed program was:" >&5
30116 sed 's/^/| /' conftest.
$ac_ext >&5
30119 cat >conftest.
$ac_ext <<_ACEOF
30122 cat confdefs.h
>>conftest.
$ac_ext
30123 cat >>conftest.
$ac_ext <<_ACEOF
30124 /* end confdefs.h. */
30126 #include <sys/statvfs.h>
30143 rm -f conftest.
$ac_objext
30144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30145 (eval $ac_compile) 2>conftest.er1
30147 grep -v '^ *+' conftest.er1
>conftest.err
30149 cat conftest.err
>&5
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); } &&
30152 { ac_try
='test -z "$ac_cxx_werror_flag"
30153 || test ! -s conftest.err'
30154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30155 (eval $ac_try) 2>&5
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); }; } &&
30159 { ac_try
='test -s conftest.$ac_objext'
30160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30161 (eval $ac_try) 2>&5
30163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30164 (exit $ac_status); }; }; then
30165 wx_cv_type_statvfs_t
="struct statvfs"
30167 echo "$as_me: failed program was:" >&5
30168 sed 's/^/| /' conftest.
$ac_ext >&5
30170 wx_cv_type_statvfs_t
="unknown"
30173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30180 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30181 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30184 ac_cpp
='$CPP $CPPFLAGS'
30185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30190 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30191 cat >>confdefs.h
<<\_ACEOF
30192 #define HAVE_STATVFS 1
30197 wx_cv_type_statvfs_t
="unknown"
30201 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30202 cat >>confdefs.h
<<_ACEOF
30203 #define WX_STATFS_T $wx_cv_type_statvfs_t
30207 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30208 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30211 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30214 for ac_func
in fcntl flock
30216 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30217 echo "$as_me:$LINENO: checking for $ac_func" >&5
30218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30219 if eval "test \"\${$as_ac_var+set}\" = set"; then
30220 echo $ECHO_N "(cached) $ECHO_C" >&6
30222 cat >conftest.
$ac_ext <<_ACEOF
30225 cat confdefs.h
>>conftest.
$ac_ext
30226 cat >>conftest.
$ac_ext <<_ACEOF
30227 /* end confdefs.h. */
30228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30230 #define $ac_func innocuous_$ac_func
30232 /* System header to define __stub macros and hopefully few prototypes,
30233 which can conflict with char $ac_func (); below.
30234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30235 <limits.h> exists even on freestanding compilers. */
30238 # include <limits.h>
30240 # include <assert.h>
30245 /* Override any gcc2 internal prototype to avoid an error. */
30250 /* We use char because int might match the return type of a gcc2
30251 builtin and then its argument prototype would still apply. */
30253 /* The GNU C library defines this for functions which it implements
30254 to always fail with ENOSYS. Some functions are actually named
30255 something starting with __ and the normal name is an alias. */
30256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30259 char (*f) () = $ac_func;
30268 return f != $ac_func;
30273 rm -f conftest.
$ac_objext conftest
$ac_exeext
30274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30275 (eval $ac_link) 2>conftest.er1
30277 grep -v '^ *+' conftest.er1
>conftest.err
30279 cat conftest.err
>&5
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); } &&
30282 { ac_try
='test -z "$ac_c_werror_flag"
30283 || test ! -s conftest.err'
30284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30285 (eval $ac_try) 2>&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); }; } &&
30289 { ac_try
='test -s conftest$ac_exeext'
30290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30291 (eval $ac_try) 2>&5
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); }; }; then
30295 eval "$as_ac_var=yes"
30297 echo "$as_me: failed program was:" >&5
30298 sed 's/^/| /' conftest.
$ac_ext >&5
30300 eval "$as_ac_var=no"
30302 rm -f conftest.err conftest.
$ac_objext \
30303 conftest
$ac_exeext conftest.
$ac_ext
30305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30307 if test `eval echo '${'$as_ac_var'}'` = yes; then
30308 cat >>confdefs.h
<<_ACEOF
30309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30316 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30317 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30318 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30319 wxUSE_SNGLINST_CHECKER
=no
30324 for ac_func
in timegm
30326 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30327 echo "$as_me:$LINENO: checking for $ac_func" >&5
30328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30329 if eval "test \"\${$as_ac_var+set}\" = set"; then
30330 echo $ECHO_N "(cached) $ECHO_C" >&6
30332 cat >conftest.
$ac_ext <<_ACEOF
30335 cat confdefs.h
>>conftest.
$ac_ext
30336 cat >>conftest.
$ac_ext <<_ACEOF
30337 /* end confdefs.h. */
30338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30340 #define $ac_func innocuous_$ac_func
30342 /* System header to define __stub macros and hopefully few prototypes,
30343 which can conflict with char $ac_func (); below.
30344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30345 <limits.h> exists even on freestanding compilers. */
30348 # include <limits.h>
30350 # include <assert.h>
30355 /* Override any gcc2 internal prototype to avoid an error. */
30360 /* We use char because int might match the return type of a gcc2
30361 builtin and then its argument prototype would still apply. */
30363 /* The GNU C library defines this for functions which it implements
30364 to always fail with ENOSYS. Some functions are actually named
30365 something starting with __ and the normal name is an alias. */
30366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30369 char (*f) () = $ac_func;
30378 return f != $ac_func;
30383 rm -f conftest.
$ac_objext conftest
$ac_exeext
30384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30385 (eval $ac_link) 2>conftest.er1
30387 grep -v '^ *+' conftest.er1
>conftest.err
30389 cat conftest.err
>&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); } &&
30392 { ac_try
='test -z "$ac_c_werror_flag"
30393 || test ! -s conftest.err'
30394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30395 (eval $ac_try) 2>&5
30397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 (exit $ac_status); }; } &&
30399 { ac_try
='test -s conftest$ac_exeext'
30400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30401 (eval $ac_try) 2>&5
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); }; }; then
30405 eval "$as_ac_var=yes"
30407 echo "$as_me: failed program was:" >&5
30408 sed 's/^/| /' conftest.
$ac_ext >&5
30410 eval "$as_ac_var=no"
30412 rm -f conftest.err conftest.
$ac_objext \
30413 conftest
$ac_exeext conftest.
$ac_ext
30415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30417 if test `eval echo '${'$as_ac_var'}'` = yes; then
30418 cat >>confdefs.h
<<_ACEOF
30419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30428 for ac_func
in putenv setenv
30430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30431 echo "$as_me:$LINENO: checking for $ac_func" >&5
30432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30433 if eval "test \"\${$as_ac_var+set}\" = set"; then
30434 echo $ECHO_N "(cached) $ECHO_C" >&6
30436 cat >conftest.
$ac_ext <<_ACEOF
30439 cat confdefs.h
>>conftest.
$ac_ext
30440 cat >>conftest.
$ac_ext <<_ACEOF
30441 /* end confdefs.h. */
30442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30444 #define $ac_func innocuous_$ac_func
30446 /* System header to define __stub macros and hopefully few prototypes,
30447 which can conflict with char $ac_func (); below.
30448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30449 <limits.h> exists even on freestanding compilers. */
30452 # include <limits.h>
30454 # include <assert.h>
30459 /* Override any gcc2 internal prototype to avoid an error. */
30464 /* We use char because int might match the return type of a gcc2
30465 builtin and then its argument prototype would still apply. */
30467 /* The GNU C library defines this for functions which it implements
30468 to always fail with ENOSYS. Some functions are actually named
30469 something starting with __ and the normal name is an alias. */
30470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30473 char (*f) () = $ac_func;
30482 return f != $ac_func;
30487 rm -f conftest.
$ac_objext conftest
$ac_exeext
30488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30489 (eval $ac_link) 2>conftest.er1
30491 grep -v '^ *+' conftest.er1
>conftest.err
30493 cat conftest.err
>&5
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); } &&
30496 { ac_try
='test -z "$ac_c_werror_flag"
30497 || 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 HAVE_SOME_SLEEP_FUNC
=0
30531 if test "$USE_BEOS" = 1; then
30532 cat >>confdefs.h
<<\_ACEOF
30533 #define HAVE_SLEEP 1
30536 HAVE_SOME_SLEEP_FUNC
=1
30539 if test "$USE_DARWIN" = 1; then
30540 cat >>confdefs.h
<<\_ACEOF
30541 #define HAVE_USLEEP 1
30544 HAVE_SOME_SLEEP_FUNC
=1
30547 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30550 for ac_func
in nanosleep
30552 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30553 echo "$as_me:$LINENO: checking for $ac_func" >&5
30554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30555 if eval "test \"\${$as_ac_var+set}\" = set"; then
30556 echo $ECHO_N "(cached) $ECHO_C" >&6
30558 cat >conftest.
$ac_ext <<_ACEOF
30561 cat confdefs.h
>>conftest.
$ac_ext
30562 cat >>conftest.
$ac_ext <<_ACEOF
30563 /* end confdefs.h. */
30564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30566 #define $ac_func innocuous_$ac_func
30568 /* System header to define __stub macros and hopefully few prototypes,
30569 which can conflict with char $ac_func (); below.
30570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30571 <limits.h> exists even on freestanding compilers. */
30574 # include <limits.h>
30576 # include <assert.h>
30581 /* Override any gcc2 internal prototype to avoid an error. */
30586 /* We use char because int might match the return type of a gcc2
30587 builtin and then its argument prototype would still apply. */
30589 /* The GNU C library defines this for functions which it implements
30590 to always fail with ENOSYS. Some functions are actually named
30591 something starting with __ and the normal name is an alias. */
30592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30595 char (*f) () = $ac_func;
30604 return f != $ac_func;
30609 rm -f conftest.
$ac_objext conftest
$ac_exeext
30610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30611 (eval $ac_link) 2>conftest.er1
30613 grep -v '^ *+' conftest.er1
>conftest.err
30615 cat conftest.err
>&5
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); } &&
30618 { ac_try
='test -z "$ac_c_werror_flag"
30619 || test ! -s conftest.err'
30620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30621 (eval $ac_try) 2>&5
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); }; } &&
30625 { ac_try
='test -s conftest$ac_exeext'
30626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30627 (eval $ac_try) 2>&5
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); }; }; then
30631 eval "$as_ac_var=yes"
30633 echo "$as_me: failed program was:" >&5
30634 sed 's/^/| /' conftest.
$ac_ext >&5
30636 eval "$as_ac_var=no"
30638 rm -f conftest.err conftest.
$ac_objext \
30639 conftest
$ac_exeext conftest.
$ac_ext
30641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30643 if test `eval echo '${'$as_ac_var'}'` = yes; then
30644 cat >>confdefs.h
<<_ACEOF
30645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30647 cat >>confdefs.h
<<\_ACEOF
30648 #define HAVE_NANOSLEEP 1
30653 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30654 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30655 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30656 echo $ECHO_N "(cached) $ECHO_C" >&6
30658 ac_check_lib_save_LIBS
=$LIBS
30659 LIBS
="-lposix4 $LIBS"
30660 cat >conftest.
$ac_ext <<_ACEOF
30663 cat confdefs.h
>>conftest.
$ac_ext
30664 cat >>conftest.
$ac_ext <<_ACEOF
30665 /* end confdefs.h. */
30667 /* Override any gcc2 internal prototype to avoid an error. */
30671 /* We use char because int might match the return type of a gcc2
30672 builtin and then its argument prototype would still apply. */
30682 rm -f conftest.
$ac_objext conftest
$ac_exeext
30683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30684 (eval $ac_link) 2>conftest.er1
30686 grep -v '^ *+' conftest.er1
>conftest.err
30688 cat conftest.err
>&5
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); } &&
30691 { ac_try
='test -z "$ac_c_werror_flag"
30692 || test ! -s conftest.err'
30693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30694 (eval $ac_try) 2>&5
30696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30697 (exit $ac_status); }; } &&
30698 { ac_try
='test -s conftest$ac_exeext'
30699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30700 (eval $ac_try) 2>&5
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); }; }; then
30704 ac_cv_lib_posix4_nanosleep
=yes
30706 echo "$as_me: failed program was:" >&5
30707 sed 's/^/| /' conftest.
$ac_ext >&5
30709 ac_cv_lib_posix4_nanosleep
=no
30711 rm -f conftest.err conftest.
$ac_objext \
30712 conftest
$ac_exeext conftest.
$ac_ext
30713 LIBS
=$ac_check_lib_save_LIBS
30715 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30716 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30717 if test $ac_cv_lib_posix4_nanosleep = yes; then
30719 cat >>confdefs.h
<<\_ACEOF
30720 #define HAVE_NANOSLEEP 1
30723 POSIX4_LINK
=" -lposix4"
30728 for ac_func
in usleep
30730 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30731 echo "$as_me:$LINENO: checking for $ac_func" >&5
30732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30733 if eval "test \"\${$as_ac_var+set}\" = set"; then
30734 echo $ECHO_N "(cached) $ECHO_C" >&6
30736 cat >conftest.
$ac_ext <<_ACEOF
30739 cat confdefs.h
>>conftest.
$ac_ext
30740 cat >>conftest.
$ac_ext <<_ACEOF
30741 /* end confdefs.h. */
30742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30744 #define $ac_func innocuous_$ac_func
30746 /* System header to define __stub macros and hopefully few prototypes,
30747 which can conflict with char $ac_func (); below.
30748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30749 <limits.h> exists even on freestanding compilers. */
30752 # include <limits.h>
30754 # include <assert.h>
30759 /* Override any gcc2 internal prototype to avoid an error. */
30764 /* We use char because int might match the return type of a gcc2
30765 builtin and then its argument prototype would still apply. */
30767 /* The GNU C library defines this for functions which it implements
30768 to always fail with ENOSYS. Some functions are actually named
30769 something starting with __ and the normal name is an alias. */
30770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30773 char (*f) () = $ac_func;
30782 return f != $ac_func;
30787 rm -f conftest.
$ac_objext conftest
$ac_exeext
30788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30789 (eval $ac_link) 2>conftest.er1
30791 grep -v '^ *+' conftest.er1
>conftest.err
30793 cat conftest.err
>&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } &&
30796 { ac_try
='test -z "$ac_c_werror_flag"
30797 || test ! -s conftest.err'
30798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30799 (eval $ac_try) 2>&5
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); }; } &&
30803 { ac_try
='test -s conftest$ac_exeext'
30804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30805 (eval $ac_try) 2>&5
30807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30808 (exit $ac_status); }; }; then
30809 eval "$as_ac_var=yes"
30811 echo "$as_me: failed program was:" >&5
30812 sed 's/^/| /' conftest.
$ac_ext >&5
30814 eval "$as_ac_var=no"
30816 rm -f conftest.err conftest.
$ac_objext \
30817 conftest
$ac_exeext conftest.
$ac_ext
30819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30821 if test `eval echo '${'$as_ac_var'}'` = yes; then
30822 cat >>confdefs.h
<<_ACEOF
30823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30825 cat >>confdefs.h
<<\_ACEOF
30826 #define HAVE_USLEEP 1
30830 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30831 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30849 for ac_func
in uname gethostname
30851 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30852 echo "$as_me:$LINENO: checking for $ac_func" >&5
30853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30854 if eval "test \"\${$as_ac_var+set}\" = set"; then
30855 echo $ECHO_N "(cached) $ECHO_C" >&6
30857 cat >conftest.
$ac_ext <<_ACEOF
30860 cat confdefs.h
>>conftest.
$ac_ext
30861 cat >>conftest.
$ac_ext <<_ACEOF
30862 /* end confdefs.h. */
30863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30865 #define $ac_func innocuous_$ac_func
30867 /* System header to define __stub macros and hopefully few prototypes,
30868 which can conflict with char $ac_func (); below.
30869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30870 <limits.h> exists even on freestanding compilers. */
30873 # include <limits.h>
30875 # include <assert.h>
30880 /* Override any gcc2 internal prototype to avoid an error. */
30885 /* We use char because int might match the return type of a gcc2
30886 builtin and then its argument prototype would still apply. */
30888 /* The GNU C library defines this for functions which it implements
30889 to always fail with ENOSYS. Some functions are actually named
30890 something starting with __ and the normal name is an alias. */
30891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30894 char (*f) () = $ac_func;
30903 return f != $ac_func;
30908 rm -f conftest.
$ac_objext conftest
$ac_exeext
30909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30910 (eval $ac_link) 2>conftest.er1
30912 grep -v '^ *+' conftest.er1
>conftest.err
30914 cat conftest.err
>&5
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); } &&
30917 { ac_try
='test -z "$ac_c_werror_flag"
30918 || test ! -s conftest.err'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; } &&
30924 { ac_try
='test -s conftest$ac_exeext'
30925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30926 (eval $ac_try) 2>&5
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); }; }; then
30930 eval "$as_ac_var=yes"
30932 echo "$as_me: failed program was:" >&5
30933 sed 's/^/| /' conftest.
$ac_ext >&5
30935 eval "$as_ac_var=no"
30937 rm -f conftest.err conftest.
$ac_objext \
30938 conftest
$ac_exeext conftest.
$ac_ext
30940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30942 if test `eval echo '${'$as_ac_var'}'` = yes; then
30943 cat >>confdefs.h
<<_ACEOF
30944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30954 ac_cpp
='$CXXCPP $CPPFLAGS'
30955 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30956 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30957 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30961 for ac_func
in strtok_r
30963 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30964 echo "$as_me:$LINENO: checking for $ac_func" >&5
30965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30966 if eval "test \"\${$as_ac_var+set}\" = set"; then
30967 echo $ECHO_N "(cached) $ECHO_C" >&6
30969 cat >conftest.
$ac_ext <<_ACEOF
30972 cat confdefs.h
>>conftest.
$ac_ext
30973 cat >>conftest.
$ac_ext <<_ACEOF
30974 /* end confdefs.h. */
30975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30977 #define $ac_func innocuous_$ac_func
30979 /* System header to define __stub macros and hopefully few prototypes,
30980 which can conflict with char $ac_func (); below.
30981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30982 <limits.h> exists even on freestanding compilers. */
30985 # include <limits.h>
30987 # include <assert.h>
30992 /* Override any gcc2 internal prototype to avoid an error. */
30997 /* We use char because int might match the return type of a gcc2
30998 builtin and then its argument prototype would still apply. */
31000 /* The GNU C library defines this for functions which it implements
31001 to always fail with ENOSYS. Some functions are actually named
31002 something starting with __ and the normal name is an alias. */
31003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31006 char (*f) () = $ac_func;
31015 return f != $ac_func;
31020 rm -f conftest.
$ac_objext conftest
$ac_exeext
31021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31022 (eval $ac_link) 2>conftest.er1
31024 grep -v '^ *+' conftest.er1
>conftest.err
31026 cat conftest.err
>&5
31027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 (exit $ac_status); } &&
31029 { ac_try
='test -z "$ac_cxx_werror_flag"
31030 || test ! -s conftest.err'
31031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31032 (eval $ac_try) 2>&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); }; } &&
31036 { ac_try
='test -s conftest$ac_exeext'
31037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31038 (eval $ac_try) 2>&5
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); }; }; then
31042 eval "$as_ac_var=yes"
31044 echo "$as_me: failed program was:" >&5
31045 sed 's/^/| /' conftest.
$ac_ext >&5
31047 eval "$as_ac_var=no"
31049 rm -f conftest.err conftest.
$ac_objext \
31050 conftest
$ac_exeext conftest.
$ac_ext
31052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31054 if test `eval echo '${'$as_ac_var'}'` = yes; then
31055 cat >>confdefs.h
<<_ACEOF
31056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31064 ac_cpp
='$CPP $CPPFLAGS'
31065 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31066 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31067 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31072 for ac_func
in inet_addr
31074 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31075 echo "$as_me:$LINENO: checking for $ac_func" >&5
31076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31077 if eval "test \"\${$as_ac_var+set}\" = set"; then
31078 echo $ECHO_N "(cached) $ECHO_C" >&6
31080 cat >conftest.
$ac_ext <<_ACEOF
31083 cat confdefs.h
>>conftest.
$ac_ext
31084 cat >>conftest.
$ac_ext <<_ACEOF
31085 /* end confdefs.h. */
31086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31088 #define $ac_func innocuous_$ac_func
31090 /* System header to define __stub macros and hopefully few prototypes,
31091 which can conflict with char $ac_func (); below.
31092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31093 <limits.h> exists even on freestanding compilers. */
31096 # include <limits.h>
31098 # include <assert.h>
31103 /* Override any gcc2 internal prototype to avoid an error. */
31108 /* We use char because int might match the return type of a gcc2
31109 builtin and then its argument prototype would still apply. */
31111 /* The GNU C library defines this for functions which it implements
31112 to always fail with ENOSYS. Some functions are actually named
31113 something starting with __ and the normal name is an alias. */
31114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31117 char (*f) () = $ac_func;
31126 return f != $ac_func;
31131 rm -f conftest.
$ac_objext conftest
$ac_exeext
31132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31133 (eval $ac_link) 2>conftest.er1
31135 grep -v '^ *+' conftest.er1
>conftest.err
31137 cat conftest.err
>&5
31138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31139 (exit $ac_status); } &&
31140 { ac_try
='test -z "$ac_c_werror_flag"
31141 || test ! -s conftest.err'
31142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31143 (eval $ac_try) 2>&5
31145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146 (exit $ac_status); }; } &&
31147 { ac_try
='test -s conftest$ac_exeext'
31148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31149 (eval $ac_try) 2>&5
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); }; }; then
31153 eval "$as_ac_var=yes"
31155 echo "$as_me: failed program was:" >&5
31156 sed 's/^/| /' conftest.
$ac_ext >&5
31158 eval "$as_ac_var=no"
31160 rm -f conftest.err conftest.
$ac_objext \
31161 conftest
$ac_exeext conftest.
$ac_ext
31163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31165 if test `eval echo '${'$as_ac_var'}'` = yes; then
31166 cat >>confdefs.h
<<_ACEOF
31167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31169 cat >>confdefs.h
<<\_ACEOF
31170 #define HAVE_INET_ADDR 1
31175 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31176 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31177 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31178 echo $ECHO_N "(cached) $ECHO_C" >&6
31180 ac_check_lib_save_LIBS
=$LIBS
31182 cat >conftest.
$ac_ext <<_ACEOF
31185 cat confdefs.h
>>conftest.
$ac_ext
31186 cat >>conftest.
$ac_ext <<_ACEOF
31187 /* end confdefs.h. */
31189 /* Override any gcc2 internal prototype to avoid an error. */
31193 /* We use char because int might match the return type of a gcc2
31194 builtin and then its argument prototype would still apply. */
31204 rm -f conftest.
$ac_objext conftest
$ac_exeext
31205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31206 (eval $ac_link) 2>conftest.er1
31208 grep -v '^ *+' conftest.er1
>conftest.err
31210 cat conftest.err
>&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } &&
31213 { ac_try
='test -z "$ac_c_werror_flag"
31214 || test ! -s conftest.err'
31215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31216 (eval $ac_try) 2>&5
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); }; } &&
31220 { ac_try
='test -s conftest$ac_exeext'
31221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222 (eval $ac_try) 2>&5
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); }; }; then
31226 ac_cv_lib_nsl_inet_addr
=yes
31228 echo "$as_me: failed program was:" >&5
31229 sed 's/^/| /' conftest.
$ac_ext >&5
31231 ac_cv_lib_nsl_inet_addr
=no
31233 rm -f conftest.err conftest.
$ac_objext \
31234 conftest
$ac_exeext conftest.
$ac_ext
31235 LIBS
=$ac_check_lib_save_LIBS
31237 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31238 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31239 if test $ac_cv_lib_nsl_inet_addr = yes; then
31243 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31244 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31245 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31246 echo $ECHO_N "(cached) $ECHO_C" >&6
31248 ac_check_lib_save_LIBS
=$LIBS
31249 LIBS
="-lresolv $LIBS"
31250 cat >conftest.
$ac_ext <<_ACEOF
31253 cat confdefs.h
>>conftest.
$ac_ext
31254 cat >>conftest.
$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31257 /* Override any gcc2 internal prototype to avoid an error. */
31261 /* We use char because int might match the return type of a gcc2
31262 builtin and then its argument prototype would still apply. */
31272 rm -f conftest.
$ac_objext conftest
$ac_exeext
31273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31274 (eval $ac_link) 2>conftest.er1
31276 grep -v '^ *+' conftest.er1
>conftest.err
31278 cat conftest.err
>&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } &&
31281 { ac_try
='test -z "$ac_c_werror_flag"
31282 || test ! -s conftest.err'
31283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31284 (eval $ac_try) 2>&5
31286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31287 (exit $ac_status); }; } &&
31288 { ac_try
='test -s conftest$ac_exeext'
31289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31290 (eval $ac_try) 2>&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); }; }; then
31294 ac_cv_lib_resolv_inet_addr
=yes
31296 echo "$as_me: failed program was:" >&5
31297 sed 's/^/| /' conftest.
$ac_ext >&5
31299 ac_cv_lib_resolv_inet_addr
=no
31301 rm -f conftest.err conftest.
$ac_objext \
31302 conftest
$ac_exeext conftest.
$ac_ext
31303 LIBS
=$ac_check_lib_save_LIBS
31305 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31306 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31307 if test $ac_cv_lib_resolv_inet_addr = yes; then
31311 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31312 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31313 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31314 echo $ECHO_N "(cached) $ECHO_C" >&6
31316 ac_check_lib_save_LIBS
=$LIBS
31317 LIBS
="-lsocket $LIBS"
31318 cat >conftest.
$ac_ext <<_ACEOF
31321 cat confdefs.h
>>conftest.
$ac_ext
31322 cat >>conftest.
$ac_ext <<_ACEOF
31323 /* end confdefs.h. */
31325 /* Override any gcc2 internal prototype to avoid an error. */
31329 /* We use char because int might match the return type of a gcc2
31330 builtin and then its argument prototype would still apply. */
31340 rm -f conftest.
$ac_objext conftest
$ac_exeext
31341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31342 (eval $ac_link) 2>conftest.er1
31344 grep -v '^ *+' conftest.er1
>conftest.err
31346 cat conftest.err
>&5
31347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31348 (exit $ac_status); } &&
31349 { ac_try
='test -z "$ac_c_werror_flag"
31350 || test ! -s conftest.err'
31351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31352 (eval $ac_try) 2>&5
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); }; } &&
31356 { ac_try
='test -s conftest$ac_exeext'
31357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31358 (eval $ac_try) 2>&5
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; }; then
31362 ac_cv_lib_socket_inet_addr
=yes
31364 echo "$as_me: failed program was:" >&5
31365 sed 's/^/| /' conftest.
$ac_ext >&5
31367 ac_cv_lib_socket_inet_addr
=no
31369 rm -f conftest.err conftest.
$ac_objext \
31370 conftest
$ac_exeext conftest.
$ac_ext
31371 LIBS
=$ac_check_lib_save_LIBS
31373 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31374 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31375 if test $ac_cv_lib_socket_inet_addr = yes; then
31395 for ac_func
in inet_aton
31397 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31398 echo "$as_me:$LINENO: checking for $ac_func" >&5
31399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31400 if eval "test \"\${$as_ac_var+set}\" = set"; then
31401 echo $ECHO_N "(cached) $ECHO_C" >&6
31403 cat >conftest.
$ac_ext <<_ACEOF
31406 cat confdefs.h
>>conftest.
$ac_ext
31407 cat >>conftest.
$ac_ext <<_ACEOF
31408 /* end confdefs.h. */
31409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31411 #define $ac_func innocuous_$ac_func
31413 /* System header to define __stub macros and hopefully few prototypes,
31414 which can conflict with char $ac_func (); below.
31415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31416 <limits.h> exists even on freestanding compilers. */
31419 # include <limits.h>
31421 # include <assert.h>
31426 /* Override any gcc2 internal prototype to avoid an error. */
31431 /* We use char because int might match the return type of a gcc2
31432 builtin and then its argument prototype would still apply. */
31434 /* The GNU C library defines this for functions which it implements
31435 to always fail with ENOSYS. Some functions are actually named
31436 something starting with __ and the normal name is an alias. */
31437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31440 char (*f) () = $ac_func;
31449 return f != $ac_func;
31454 rm -f conftest.
$ac_objext conftest
$ac_exeext
31455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31456 (eval $ac_link) 2>conftest.er1
31458 grep -v '^ *+' conftest.er1
>conftest.err
31460 cat conftest.err
>&5
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); } &&
31463 { ac_try
='test -z "$ac_c_werror_flag"
31464 || test ! -s conftest.err'
31465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31466 (eval $ac_try) 2>&5
31468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31469 (exit $ac_status); }; } &&
31470 { ac_try
='test -s conftest$ac_exeext'
31471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31472 (eval $ac_try) 2>&5
31474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31475 (exit $ac_status); }; }; then
31476 eval "$as_ac_var=yes"
31478 echo "$as_me: failed program was:" >&5
31479 sed 's/^/| /' conftest.
$ac_ext >&5
31481 eval "$as_ac_var=no"
31483 rm -f conftest.err conftest.
$ac_objext \
31484 conftest
$ac_exeext conftest.
$ac_ext
31486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31488 if test `eval echo '${'$as_ac_var'}'` = yes; then
31489 cat >>confdefs.h
<<_ACEOF
31490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31492 cat >>confdefs.h
<<\_ACEOF
31493 #define HAVE_INET_ATON 1
31498 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31499 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31500 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31501 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31502 echo $ECHO_N "(cached) $ECHO_C" >&6
31504 ac_check_lib_save_LIBS
=$LIBS
31505 LIBS
="-l$INET_LINK $LIBS"
31506 cat >conftest.
$ac_ext <<_ACEOF
31509 cat confdefs.h
>>conftest.
$ac_ext
31510 cat >>conftest.
$ac_ext <<_ACEOF
31511 /* end confdefs.h. */
31513 /* Override any gcc2 internal prototype to avoid an error. */
31517 /* We use char because int might match the return type of a gcc2
31518 builtin and then its argument prototype would still apply. */
31528 rm -f conftest.
$ac_objext conftest
$ac_exeext
31529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31530 (eval $ac_link) 2>conftest.er1
31532 grep -v '^ *+' conftest.er1
>conftest.err
31534 cat conftest.err
>&5
31535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31536 (exit $ac_status); } &&
31537 { ac_try
='test -z "$ac_c_werror_flag"
31538 || test ! -s conftest.err'
31539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31540 (eval $ac_try) 2>&5
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); }; } &&
31544 { ac_try
='test -s conftest$ac_exeext'
31545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31546 (eval $ac_try) 2>&5
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); }; }; then
31550 eval "$as_ac_Lib=yes"
31552 echo "$as_me: failed program was:" >&5
31553 sed 's/^/| /' conftest.
$ac_ext >&5
31555 eval "$as_ac_Lib=no"
31557 rm -f conftest.err conftest.
$ac_objext \
31558 conftest
$ac_exeext conftest.
$ac_ext
31559 LIBS
=$ac_check_lib_save_LIBS
31561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31562 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31563 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31564 cat >>confdefs.h
<<\_ACEOF
31565 #define HAVE_INET_ATON 1
31575 if test "x$INET_LINK" != "x"; then
31576 cat >>confdefs.h
<<\_ACEOF
31577 #define HAVE_INET_ADDR 1
31580 INET_LINK
=" -l$INET_LINK"
31588 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31589 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31590 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31591 echo $ECHO_N "(cached) $ECHO_C" >&6
31593 ac_check_lib_save_LIBS
=$LIBS
31595 cat >conftest.
$ac_ext <<_ACEOF
31598 cat confdefs.h
>>conftest.
$ac_ext
31599 cat >>conftest.
$ac_ext <<_ACEOF
31600 /* end confdefs.h. */
31602 /* Override any gcc2 internal prototype to avoid an error. */
31606 /* We use char because int might match the return type of a gcc2
31607 builtin and then its argument prototype would still apply. */
31617 rm -f conftest.
$ac_objext conftest
$ac_exeext
31618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31619 (eval $ac_link) 2>conftest.er1
31621 grep -v '^ *+' conftest.er1
>conftest.err
31623 cat conftest.err
>&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); } &&
31626 { ac_try
='test -z "$ac_c_werror_flag"
31627 || test ! -s conftest.err'
31628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31629 (eval $ac_try) 2>&5
31631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31632 (exit $ac_status); }; } &&
31633 { ac_try
='test -s conftest$ac_exeext'
31634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31635 (eval $ac_try) 2>&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); }; }; then
31639 ac_cv_lib_esd_esd_close
=yes
31641 echo "$as_me: failed program was:" >&5
31642 sed 's/^/| /' conftest.
$ac_ext >&5
31644 ac_cv_lib_esd_esd_close
=no
31646 rm -f conftest.err conftest.
$ac_objext \
31647 conftest
$ac_exeext conftest.
$ac_ext
31648 LIBS
=$ac_check_lib_save_LIBS
31650 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31651 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31652 if test $ac_cv_lib_esd_esd_close = yes; then
31655 for ac_header
in esd.h
31657 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31659 echo "$as_me:$LINENO: checking for $ac_header" >&5
31660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31662 echo $ECHO_N "(cached) $ECHO_C" >&6
31664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31667 # Is the header compilable?
31668 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31669 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31670 cat >conftest.
$ac_ext <<_ACEOF
31673 cat confdefs.h
>>conftest.
$ac_ext
31674 cat >>conftest.
$ac_ext <<_ACEOF
31675 /* end confdefs.h. */
31676 $ac_includes_default
31677 #include <$ac_header>
31679 rm -f conftest.
$ac_objext
31680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31681 (eval $ac_compile) 2>conftest.er1
31683 grep -v '^ *+' conftest.er1
>conftest.err
31685 cat conftest.err
>&5
31686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31687 (exit $ac_status); } &&
31688 { ac_try
='test -z "$ac_c_werror_flag"
31689 || test ! -s conftest.err'
31690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31691 (eval $ac_try) 2>&5
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); }; } &&
31695 { ac_try
='test -s conftest.$ac_objext'
31696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697 (eval $ac_try) 2>&5
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; }; then
31701 ac_header_compiler
=yes
31703 echo "$as_me: failed program was:" >&5
31704 sed 's/^/| /' conftest.
$ac_ext >&5
31706 ac_header_compiler
=no
31708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31710 echo "${ECHO_T}$ac_header_compiler" >&6
31712 # Is the header present?
31713 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31714 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31715 cat >conftest.
$ac_ext <<_ACEOF
31718 cat confdefs.h
>>conftest.
$ac_ext
31719 cat >>conftest.
$ac_ext <<_ACEOF
31720 /* end confdefs.h. */
31721 #include <$ac_header>
31723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31724 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31726 grep -v '^ *+' conftest.er1
>conftest.err
31728 cat conftest.err
>&5
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); } >/dev
/null
; then
31731 if test -s conftest.err
; then
31732 ac_cpp_err
=$ac_c_preproc_warn_flag
31733 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31740 if test -z "$ac_cpp_err"; then
31741 ac_header_preproc
=yes
31743 echo "$as_me: failed program was:" >&5
31744 sed 's/^/| /' conftest.
$ac_ext >&5
31746 ac_header_preproc
=no
31748 rm -f conftest.err conftest.
$ac_ext
31749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31750 echo "${ECHO_T}$ac_header_preproc" >&6
31752 # So? What about this header?
31753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31755 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31758 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31759 ac_header_preproc
=yes
31762 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31763 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31764 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31765 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31766 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31767 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31768 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31769 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31772 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31773 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31776 ## ----------------------------------------- ##
31777 ## Report this to wx-dev@lists.wxwidgets.org ##
31778 ## ----------------------------------------- ##
31781 sed "s/^/$as_me: WARNING: /" >&2
31784 echo "$as_me:$LINENO: checking for $ac_header" >&5
31785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31787 echo $ECHO_N "(cached) $ECHO_C" >&6
31789 eval "$as_ac_Header=\$ac_header_preproc"
31791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31796 cat >>confdefs.h
<<_ACEOF
31797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31800 EXTRALIBS_ESD
="-lesd"
31811 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31812 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31813 cat >conftest.
$ac_ext <<_ACEOF
31816 cat confdefs.h
>>conftest.
$ac_ext
31817 cat >>conftest.
$ac_ext <<_ACEOF
31818 /* end confdefs.h. */
31820 #include <linux/cdrom.h>
31823 #include <sys/cdio.h>
31829 struct cdrom_tocentry entry, old_entry;
31834 rm -f conftest.
$ac_objext
31835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31836 (eval $ac_compile) 2>conftest.er1
31838 grep -v '^ *+' conftest.er1
>conftest.err
31840 cat conftest.err
>&5
31841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842 (exit $ac_status); } &&
31843 { ac_try
='test -z "$ac_c_werror_flag"
31844 || test ! -s conftest.err'
31845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31846 (eval $ac_try) 2>&5
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); }; } &&
31850 { ac_try
='test -s conftest.$ac_objext'
31851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31852 (eval $ac_try) 2>&5
31854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855 (exit $ac_status); }; }; then
31856 echo "$as_me:$LINENO: result: yes" >&5
31857 echo "${ECHO_T}yes" >&6
31858 cat >>confdefs.h
<<\_ACEOF
31859 #define HAVE_KNOWN_CDROM_INTERFACE 1
31863 echo "$as_me: failed program was:" >&5
31864 sed 's/^/| /' conftest.
$ac_ext >&5
31866 echo "$as_me:$LINENO: result: no" >&5
31867 echo "${ECHO_T}no" >&6
31869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31872 cat >confcache
<<\_ACEOF
31873 # This file is a shell script that caches the results of configure
31874 # tests run on this system so they can be shared between configure
31875 # scripts and configure runs, see configure's option --config-cache.
31876 # It is not useful on other systems. If it contains results you don't
31877 # want to keep, you may remove or edit it.
31879 # config.status only pays attention to the cache file if you give it
31880 # the --recheck option to rerun configure.
31882 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31883 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31884 # following values.
31888 # The following way of writing the cache mishandles newlines in values,
31889 # but we know of no workaround that is simple, portable, and efficient.
31890 # So, don't put newlines in cache variables' values.
31891 # Ultrix sh set writes to stderr and can't be redirected directly,
31892 # and sets the high bit in the cache file unless we assign to the vars.
31895 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31897 # `set' does not quote correctly, so add quotes (double-quote
31898 # substitution turns \\\\ into \\, and sed turns \\ into \).
31901 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31904 # `set' quotes correctly as required by POSIX, so do not add quotes.
31906 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31913 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31915 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31917 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31918 if test -w $cache_file; then
31919 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31920 cat confcache
>$cache_file
31922 echo "not updating unwritable cache $cache_file"
31929 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31935 if test "$wxUSE_THREADS" = "yes" ; then
31936 if test "$USE_BEOS" = 1; then
31937 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31938 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31943 if test "$wxUSE_THREADS" = "yes" ; then
31946 THREAD_OPTS
="-pthread"
31948 *-*-solaris2* | *-*-sunos4* )
31949 if test "x$GCC" = "xyes"; then
31950 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31952 THREAD_OPTS
="-mt $THREAD_OPTS"
31956 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31958 *-*-darwin* | *-*-cygwin* )
31962 THREAD_OPTS
="pthreads"
31965 if test "x$GCC" != "xyes"; then
31971 if test "x$GCC" = "xyes"; then
31977 if test "x$GCC" != "xyes"; then
31978 THREAD_OPTS
="-Ethread"
31983 THREAD_OPTS
="$THREAD_OPTS pthread none"
31986 for flag
in $THREAD_OPTS; do
31989 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31990 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31994 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31995 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31996 THREADS_CFLAGS
="$flag"
32000 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32001 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32002 THREADS_LINK
="-l$flag"
32007 save_CFLAGS
="$CFLAGS"
32008 LIBS
="$THREADS_LINK $LIBS"
32009 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32011 cat >conftest.
$ac_ext <<_ACEOF
32014 cat confdefs.h
>>conftest.
$ac_ext
32015 cat >>conftest.
$ac_ext <<_ACEOF
32016 /* end confdefs.h. */
32017 #include <pthread.h>
32021 pthread_create(0,0,0,0);
32026 rm -f conftest.
$ac_objext conftest
$ac_exeext
32027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32028 (eval $ac_link) 2>conftest.er1
32030 grep -v '^ *+' conftest.er1
>conftest.err
32032 cat conftest.err
>&5
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); } &&
32035 { ac_try
='test -z "$ac_c_werror_flag"
32036 || test ! -s conftest.err'
32037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32038 (eval $ac_try) 2>&5
32040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041 (exit $ac_status); }; } &&
32042 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
32050 echo "$as_me: failed program was:" >&5
32051 sed 's/^/| /' conftest.
$ac_ext >&5
32054 rm -f conftest.err conftest.
$ac_objext \
32055 conftest
$ac_exeext conftest.
$ac_ext
32058 CFLAGS
="$save_CFLAGS"
32060 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32061 echo "${ECHO_T}$THREADS_OK" >&6
32062 if test "x$THREADS_OK" = "xyes"; then
32070 if test "x$THREADS_OK" != "xyes"; then
32072 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32073 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32075 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32076 LIBS
="$THREADS_LINK $LIBS"
32078 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32079 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32083 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32084 flag
="-D_THREAD_SAFE"
32087 flag
="-D_THREAD_SAFE"
32090 flag
="-D_REENTRANT"
32091 if test "x$GCC" != "xyes"; then
32092 flag
="$flag -D_RWSTD_MULTI_THREAD"
32097 *solaris
* | alpha
*-osf*)
32098 flag
="-D_REENTRANT"
32101 echo "$as_me:$LINENO: result: ${flag}" >&5
32102 echo "${ECHO_T}${flag}" >&6
32103 if test "x$flag" != xno
; then
32104 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32107 if test "x$THREADS_CFLAGS" != "x"; then
32108 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32109 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32114 if test "$wxUSE_THREADS" = "yes" ; then
32116 for ac_func
in thr_setconcurrency
32118 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32119 echo "$as_me:$LINENO: checking for $ac_func" >&5
32120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32121 if eval "test \"\${$as_ac_var+set}\" = set"; then
32122 echo $ECHO_N "(cached) $ECHO_C" >&6
32124 cat >conftest.
$ac_ext <<_ACEOF
32127 cat confdefs.h
>>conftest.
$ac_ext
32128 cat >>conftest.
$ac_ext <<_ACEOF
32129 /* end confdefs.h. */
32130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32132 #define $ac_func innocuous_$ac_func
32134 /* System header to define __stub macros and hopefully few prototypes,
32135 which can conflict with char $ac_func (); below.
32136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32137 <limits.h> exists even on freestanding compilers. */
32140 # include <limits.h>
32142 # include <assert.h>
32147 /* Override any gcc2 internal prototype to avoid an error. */
32152 /* We use char because int might match the return type of a gcc2
32153 builtin and then its argument prototype would still apply. */
32155 /* The GNU C library defines this for functions which it implements
32156 to always fail with ENOSYS. Some functions are actually named
32157 something starting with __ and the normal name is an alias. */
32158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32161 char (*f) () = $ac_func;
32170 return f != $ac_func;
32175 rm -f conftest.
$ac_objext conftest
$ac_exeext
32176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32177 (eval $ac_link) 2>conftest.er1
32179 grep -v '^ *+' conftest.er1
>conftest.err
32181 cat conftest.err
>&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); } &&
32184 { ac_try
='test -z "$ac_c_werror_flag"
32185 || test ! -s conftest.err'
32186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187 (eval $ac_try) 2>&5
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); }; } &&
32191 { ac_try
='test -s conftest$ac_exeext'
32192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32193 (eval $ac_try) 2>&5
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); }; }; then
32197 eval "$as_ac_var=yes"
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.
$ac_ext >&5
32202 eval "$as_ac_var=no"
32204 rm -f conftest.err conftest.
$ac_objext \
32205 conftest
$ac_exeext conftest.
$ac_ext
32207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32209 if test `eval echo '${'$as_ac_var'}'` = yes; then
32210 cat >>confdefs.h
<<_ACEOF
32211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32219 for ac_header
in sched.h
32221 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32223 echo "$as_me:$LINENO: checking for $ac_header" >&5
32224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32226 echo $ECHO_N "(cached) $ECHO_C" >&6
32228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32231 # Is the header compilable?
32232 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32233 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32234 cat >conftest.
$ac_ext <<_ACEOF
32237 cat confdefs.h
>>conftest.
$ac_ext
32238 cat >>conftest.
$ac_ext <<_ACEOF
32239 /* end confdefs.h. */
32240 $ac_includes_default
32241 #include <$ac_header>
32243 rm -f conftest.
$ac_objext
32244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32245 (eval $ac_compile) 2>conftest.er1
32247 grep -v '^ *+' conftest.er1
>conftest.err
32249 cat conftest.err
>&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); } &&
32252 { ac_try
='test -z "$ac_c_werror_flag"
32253 || test ! -s conftest.err'
32254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32255 (eval $ac_try) 2>&5
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); }; } &&
32259 { ac_try
='test -s conftest.$ac_objext'
32260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32261 (eval $ac_try) 2>&5
32263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32264 (exit $ac_status); }; }; then
32265 ac_header_compiler
=yes
32267 echo "$as_me: failed program was:" >&5
32268 sed 's/^/| /' conftest.
$ac_ext >&5
32270 ac_header_compiler
=no
32272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32273 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32274 echo "${ECHO_T}$ac_header_compiler" >&6
32276 # Is the header present?
32277 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32278 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32279 cat >conftest.
$ac_ext <<_ACEOF
32282 cat confdefs.h
>>conftest.
$ac_ext
32283 cat >>conftest.
$ac_ext <<_ACEOF
32284 /* end confdefs.h. */
32285 #include <$ac_header>
32287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32288 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32290 grep -v '^ *+' conftest.er1
>conftest.err
32292 cat conftest.err
>&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); } >/dev
/null
; then
32295 if test -s conftest.err
; then
32296 ac_cpp_err
=$ac_c_preproc_warn_flag
32297 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32304 if test -z "$ac_cpp_err"; then
32305 ac_header_preproc
=yes
32307 echo "$as_me: failed program was:" >&5
32308 sed 's/^/| /' conftest.
$ac_ext >&5
32310 ac_header_preproc
=no
32312 rm -f conftest.err conftest.
$ac_ext
32313 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32314 echo "${ECHO_T}$ac_header_preproc" >&6
32316 # So? What about this header?
32317 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32319 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32320 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32322 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32323 ac_header_preproc
=yes
32326 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32327 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32328 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32329 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32330 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32331 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32332 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32333 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32334 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32335 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32336 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32337 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32340 ## ----------------------------------------- ##
32341 ## Report this to wx-dev@lists.wxwidgets.org ##
32342 ## ----------------------------------------- ##
32345 sed "s/^/$as_me: WARNING: /" >&2
32348 echo "$as_me:$LINENO: checking for $ac_header" >&5
32349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32351 echo $ECHO_N "(cached) $ECHO_C" >&6
32353 eval "$as_ac_Header=\$ac_header_preproc"
32355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32360 cat >>confdefs.h
<<_ACEOF
32361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32368 if test "$ac_cv_header_sched_h" = "yes"; then
32369 echo "$as_me:$LINENO: checking for sched_yield" >&5
32370 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32371 if test "${ac_cv_func_sched_yield+set}" = set; then
32372 echo $ECHO_N "(cached) $ECHO_C" >&6
32374 cat >conftest.
$ac_ext <<_ACEOF
32377 cat confdefs.h
>>conftest.
$ac_ext
32378 cat >>conftest.
$ac_ext <<_ACEOF
32379 /* end confdefs.h. */
32380 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32382 #define sched_yield innocuous_sched_yield
32384 /* System header to define __stub macros and hopefully few prototypes,
32385 which can conflict with char sched_yield (); below.
32386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32387 <limits.h> exists even on freestanding compilers. */
32390 # include <limits.h>
32392 # include <assert.h>
32397 /* Override any gcc2 internal prototype to avoid an error. */
32402 /* We use char because int might match the return type of a gcc2
32403 builtin and then its argument prototype would still apply. */
32404 char sched_yield ();
32405 /* The GNU C library defines this for functions which it implements
32406 to always fail with ENOSYS. Some functions are actually named
32407 something starting with __ and the normal name is an alias. */
32408 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32411 char (*f) () = sched_yield;
32420 return f != sched_yield;
32425 rm -f conftest.
$ac_objext conftest
$ac_exeext
32426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32427 (eval $ac_link) 2>conftest.er1
32429 grep -v '^ *+' conftest.er1
>conftest.err
32431 cat conftest.err
>&5
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); } &&
32434 { ac_try
='test -z "$ac_c_werror_flag"
32435 || test ! -s conftest.err'
32436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32437 (eval $ac_try) 2>&5
32439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32440 (exit $ac_status); }; } &&
32441 { ac_try
='test -s conftest$ac_exeext'
32442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32443 (eval $ac_try) 2>&5
32445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446 (exit $ac_status); }; }; then
32447 ac_cv_func_sched_yield
=yes
32449 echo "$as_me: failed program was:" >&5
32450 sed 's/^/| /' conftest.
$ac_ext >&5
32452 ac_cv_func_sched_yield
=no
32454 rm -f conftest.err conftest.
$ac_objext \
32455 conftest
$ac_exeext conftest.
$ac_ext
32457 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32458 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32459 if test $ac_cv_func_sched_yield = yes; then
32460 cat >>confdefs.h
<<\_ACEOF
32461 #define HAVE_SCHED_YIELD 1
32466 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32467 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32468 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32469 echo $ECHO_N "(cached) $ECHO_C" >&6
32471 ac_check_lib_save_LIBS
=$LIBS
32472 LIBS
="-lposix4 $LIBS"
32473 cat >conftest.
$ac_ext <<_ACEOF
32476 cat confdefs.h
>>conftest.
$ac_ext
32477 cat >>conftest.
$ac_ext <<_ACEOF
32478 /* end confdefs.h. */
32480 /* Override any gcc2 internal prototype to avoid an error. */
32484 /* We use char because int might match the return type of a gcc2
32485 builtin and then its argument prototype would still apply. */
32486 char sched_yield ();
32495 rm -f conftest.
$ac_objext conftest
$ac_exeext
32496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32497 (eval $ac_link) 2>conftest.er1
32499 grep -v '^ *+' conftest.er1
>conftest.err
32501 cat conftest.err
>&5
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); } &&
32504 { ac_try
='test -z "$ac_c_werror_flag"
32505 || test ! -s conftest.err'
32506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32507 (eval $ac_try) 2>&5
32509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32510 (exit $ac_status); }; } &&
32511 { ac_try
='test -s conftest$ac_exeext'
32512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32513 (eval $ac_try) 2>&5
32515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32516 (exit $ac_status); }; }; then
32517 ac_cv_lib_posix4_sched_yield
=yes
32519 echo "$as_me: failed program was:" >&5
32520 sed 's/^/| /' conftest.
$ac_ext >&5
32522 ac_cv_lib_posix4_sched_yield
=no
32524 rm -f conftest.err conftest.
$ac_objext \
32525 conftest
$ac_exeext conftest.
$ac_ext
32526 LIBS
=$ac_check_lib_save_LIBS
32528 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32529 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32530 if test $ac_cv_lib_posix4_sched_yield = yes; then
32531 cat >>confdefs.h
<<\_ACEOF
32532 #define HAVE_SCHED_YIELD 1
32534 POSIX4_LINK
=" -lposix4"
32536 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32537 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32548 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32549 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32550 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32551 echo $ECHO_N "(cached) $ECHO_C" >&6
32553 cat >conftest.
$ac_ext <<_ACEOF
32556 cat confdefs.h
>>conftest.
$ac_ext
32557 cat >>conftest.
$ac_ext <<_ACEOF
32558 /* end confdefs.h. */
32559 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32561 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32563 /* System header to define __stub macros and hopefully few prototypes,
32564 which can conflict with char pthread_attr_getschedpolicy (); below.
32565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32566 <limits.h> exists even on freestanding compilers. */
32569 # include <limits.h>
32571 # include <assert.h>
32574 #undef pthread_attr_getschedpolicy
32576 /* Override any gcc2 internal prototype to avoid an error. */
32581 /* We use char because int might match the return type of a gcc2
32582 builtin and then its argument prototype would still apply. */
32583 char pthread_attr_getschedpolicy ();
32584 /* The GNU C library defines this for functions which it implements
32585 to always fail with ENOSYS. Some functions are actually named
32586 something starting with __ and the normal name is an alias. */
32587 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32590 char (*f) () = pthread_attr_getschedpolicy;
32599 return f != pthread_attr_getschedpolicy;
32604 rm -f conftest.
$ac_objext conftest
$ac_exeext
32605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32606 (eval $ac_link) 2>conftest.er1
32608 grep -v '^ *+' conftest.er1
>conftest.err
32610 cat conftest.err
>&5
32611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32612 (exit $ac_status); } &&
32613 { ac_try
='test -z "$ac_c_werror_flag"
32614 || test ! -s conftest.err'
32615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32616 (eval $ac_try) 2>&5
32618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 (exit $ac_status); }; } &&
32620 { ac_try
='test -s conftest$ac_exeext'
32621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32622 (eval $ac_try) 2>&5
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); }; }; then
32626 ac_cv_func_pthread_attr_getschedpolicy
=yes
32628 echo "$as_me: failed program was:" >&5
32629 sed 's/^/| /' conftest.
$ac_ext >&5
32631 ac_cv_func_pthread_attr_getschedpolicy
=no
32633 rm -f conftest.err conftest.
$ac_objext \
32634 conftest
$ac_exeext conftest.
$ac_ext
32636 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32637 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32638 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32639 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32640 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32641 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32642 echo $ECHO_N "(cached) $ECHO_C" >&6
32644 cat >conftest.
$ac_ext <<_ACEOF
32647 cat confdefs.h
>>conftest.
$ac_ext
32648 cat >>conftest.
$ac_ext <<_ACEOF
32649 /* end confdefs.h. */
32650 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32652 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32654 /* System header to define __stub macros and hopefully few prototypes,
32655 which can conflict with char pthread_attr_setschedparam (); below.
32656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32657 <limits.h> exists even on freestanding compilers. */
32660 # include <limits.h>
32662 # include <assert.h>
32665 #undef pthread_attr_setschedparam
32667 /* Override any gcc2 internal prototype to avoid an error. */
32672 /* We use char because int might match the return type of a gcc2
32673 builtin and then its argument prototype would still apply. */
32674 char pthread_attr_setschedparam ();
32675 /* The GNU C library defines this for functions which it implements
32676 to always fail with ENOSYS. Some functions are actually named
32677 something starting with __ and the normal name is an alias. */
32678 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32681 char (*f) () = pthread_attr_setschedparam;
32690 return f != pthread_attr_setschedparam;
32695 rm -f conftest.
$ac_objext conftest
$ac_exeext
32696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32697 (eval $ac_link) 2>conftest.er1
32699 grep -v '^ *+' conftest.er1
>conftest.err
32701 cat conftest.err
>&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } &&
32704 { ac_try
='test -z "$ac_c_werror_flag"
32705 || test ! -s conftest.err'
32706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32707 (eval $ac_try) 2>&5
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); }; } &&
32711 { ac_try
='test -s conftest$ac_exeext'
32712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32713 (eval $ac_try) 2>&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); }; }; then
32717 ac_cv_func_pthread_attr_setschedparam
=yes
32719 echo "$as_me: failed program was:" >&5
32720 sed 's/^/| /' conftest.
$ac_ext >&5
32722 ac_cv_func_pthread_attr_setschedparam
=no
32724 rm -f conftest.err conftest.
$ac_objext \
32725 conftest
$ac_exeext conftest.
$ac_ext
32727 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32728 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32729 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32730 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32731 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32732 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32733 echo $ECHO_N "(cached) $ECHO_C" >&6
32735 cat >conftest.
$ac_ext <<_ACEOF
32738 cat confdefs.h
>>conftest.
$ac_ext
32739 cat >>conftest.
$ac_ext <<_ACEOF
32740 /* end confdefs.h. */
32741 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32743 #define sched_get_priority_max innocuous_sched_get_priority_max
32745 /* System header to define __stub macros and hopefully few prototypes,
32746 which can conflict with char sched_get_priority_max (); below.
32747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32748 <limits.h> exists even on freestanding compilers. */
32751 # include <limits.h>
32753 # include <assert.h>
32756 #undef sched_get_priority_max
32758 /* Override any gcc2 internal prototype to avoid an error. */
32763 /* We use char because int might match the return type of a gcc2
32764 builtin and then its argument prototype would still apply. */
32765 char sched_get_priority_max ();
32766 /* The GNU C library defines this for functions which it implements
32767 to always fail with ENOSYS. Some functions are actually named
32768 something starting with __ and the normal name is an alias. */
32769 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32772 char (*f) () = sched_get_priority_max;
32781 return f != sched_get_priority_max;
32786 rm -f conftest.
$ac_objext conftest
$ac_exeext
32787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32788 (eval $ac_link) 2>conftest.er1
32790 grep -v '^ *+' conftest.er1
>conftest.err
32792 cat conftest.err
>&5
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); } &&
32795 { ac_try
='test -z "$ac_c_werror_flag"
32796 || test ! -s conftest.err'
32797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32798 (eval $ac_try) 2>&5
32800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32801 (exit $ac_status); }; } &&
32802 { ac_try
='test -s conftest$ac_exeext'
32803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32804 (eval $ac_try) 2>&5
32806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32807 (exit $ac_status); }; }; then
32808 ac_cv_func_sched_get_priority_max
=yes
32810 echo "$as_me: failed program was:" >&5
32811 sed 's/^/| /' conftest.
$ac_ext >&5
32813 ac_cv_func_sched_get_priority_max
=no
32815 rm -f conftest.err conftest.
$ac_objext \
32816 conftest
$ac_exeext conftest.
$ac_ext
32818 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32819 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32820 if test $ac_cv_func_sched_get_priority_max = yes; then
32823 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32824 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32825 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32826 echo $ECHO_N "(cached) $ECHO_C" >&6
32828 ac_check_lib_save_LIBS
=$LIBS
32829 LIBS
="-lposix4 $LIBS"
32830 cat >conftest.
$ac_ext <<_ACEOF
32833 cat confdefs.h
>>conftest.
$ac_ext
32834 cat >>conftest.
$ac_ext <<_ACEOF
32835 /* end confdefs.h. */
32837 /* Override any gcc2 internal prototype to avoid an error. */
32841 /* We use char because int might match the return type of a gcc2
32842 builtin and then its argument prototype would still apply. */
32843 char sched_get_priority_max ();
32847 sched_get_priority_max ();
32852 rm -f conftest.
$ac_objext conftest
$ac_exeext
32853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32854 (eval $ac_link) 2>conftest.er1
32856 grep -v '^ *+' conftest.er1
>conftest.err
32858 cat conftest.err
>&5
32859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32860 (exit $ac_status); } &&
32861 { ac_try
='test -z "$ac_c_werror_flag"
32862 || test ! -s conftest.err'
32863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864 (eval $ac_try) 2>&5
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); }; } &&
32868 { ac_try
='test -s conftest$ac_exeext'
32869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32870 (eval $ac_try) 2>&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); }; }; then
32874 ac_cv_lib_posix4_sched_get_priority_max
=yes
32876 echo "$as_me: failed program was:" >&5
32877 sed 's/^/| /' conftest.
$ac_ext >&5
32879 ac_cv_lib_posix4_sched_get_priority_max
=no
32881 rm -f conftest.err conftest.
$ac_objext \
32882 conftest
$ac_exeext conftest.
$ac_ext
32883 LIBS
=$ac_check_lib_save_LIBS
32885 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32886 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32887 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32890 POSIX4_LINK
=" -lposix4"
32904 if test "$HAVE_PRIOR_FUNCS" = 1; then
32905 cat >>confdefs.h
<<\_ACEOF
32906 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32910 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32911 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32914 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32915 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32916 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32917 echo $ECHO_N "(cached) $ECHO_C" >&6
32919 cat >conftest.
$ac_ext <<_ACEOF
32922 cat confdefs.h
>>conftest.
$ac_ext
32923 cat >>conftest.
$ac_ext <<_ACEOF
32924 /* end confdefs.h. */
32925 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32927 #define pthread_cancel innocuous_pthread_cancel
32929 /* System header to define __stub macros and hopefully few prototypes,
32930 which can conflict with char pthread_cancel (); below.
32931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32932 <limits.h> exists even on freestanding compilers. */
32935 # include <limits.h>
32937 # include <assert.h>
32940 #undef pthread_cancel
32942 /* Override any gcc2 internal prototype to avoid an error. */
32947 /* We use char because int might match the return type of a gcc2
32948 builtin and then its argument prototype would still apply. */
32949 char pthread_cancel ();
32950 /* The GNU C library defines this for functions which it implements
32951 to always fail with ENOSYS. Some functions are actually named
32952 something starting with __ and the normal name is an alias. */
32953 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32956 char (*f) () = pthread_cancel;
32965 return f != pthread_cancel;
32970 rm -f conftest.
$ac_objext conftest
$ac_exeext
32971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32972 (eval $ac_link) 2>conftest.er1
32974 grep -v '^ *+' conftest.er1
>conftest.err
32976 cat conftest.err
>&5
32977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978 (exit $ac_status); } &&
32979 { ac_try
='test -z "$ac_c_werror_flag"
32980 || test ! -s conftest.err'
32981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32982 (eval $ac_try) 2>&5
32984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985 (exit $ac_status); }; } &&
32986 { ac_try
='test -s conftest$ac_exeext'
32987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32988 (eval $ac_try) 2>&5
32990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32991 (exit $ac_status); }; }; then
32992 ac_cv_func_pthread_cancel
=yes
32994 echo "$as_me: failed program was:" >&5
32995 sed 's/^/| /' conftest.
$ac_ext >&5
32997 ac_cv_func_pthread_cancel
=no
32999 rm -f conftest.err conftest.
$ac_objext \
33000 conftest
$ac_exeext conftest.
$ac_ext
33002 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33003 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33004 if test $ac_cv_func_pthread_cancel = yes; then
33005 cat >>confdefs.h
<<\_ACEOF
33006 #define HAVE_PTHREAD_CANCEL 1
33010 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33011 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33017 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33018 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33019 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33020 echo $ECHO_N "(cached) $ECHO_C" >&6
33023 cat >conftest.
$ac_ext <<_ACEOF
33026 cat confdefs.h
>>conftest.
$ac_ext
33027 cat >>conftest.
$ac_ext <<_ACEOF
33028 /* end confdefs.h. */
33029 #include <pthread.h>
33034 pthread_mutexattr_t attr;
33035 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33041 rm -f conftest.
$ac_objext
33042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33043 (eval $ac_compile) 2>conftest.er1
33045 grep -v '^ *+' conftest.er1
>conftest.err
33047 cat conftest.err
>&5
33048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049 (exit $ac_status); } &&
33050 { ac_try
='test -z "$ac_c_werror_flag"
33051 || test ! -s conftest.err'
33052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33053 (eval $ac_try) 2>&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); }; } &&
33057 { ac_try
='test -s conftest.$ac_objext'
33058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33059 (eval $ac_try) 2>&5
33061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33062 (exit $ac_status); }; }; then
33064 wx_cv_type_pthread_mutexattr_t
=yes
33067 echo "$as_me: failed program was:" >&5
33068 sed 's/^/| /' conftest.
$ac_ext >&5
33071 wx_cv_type_pthread_mutexattr_t
=no
33075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33078 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33079 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33081 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33082 cat >>confdefs.h
<<\_ACEOF
33083 #define HAVE_PTHREAD_MUTEXATTR_T 1
33087 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33088 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33089 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33090 echo $ECHO_N "(cached) $ECHO_C" >&6
33093 cat >conftest.
$ac_ext <<_ACEOF
33096 cat confdefs.h
>>conftest.
$ac_ext
33097 cat >>conftest.
$ac_ext <<_ACEOF
33098 /* end confdefs.h. */
33099 #include <pthread.h>
33104 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33110 rm -f conftest.
$ac_objext
33111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33112 (eval $ac_compile) 2>conftest.er1
33114 grep -v '^ *+' conftest.er1
>conftest.err
33116 cat conftest.err
>&5
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); } &&
33119 { ac_try
='test -z "$ac_c_werror_flag"
33120 || test ! -s conftest.err'
33121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33122 (eval $ac_try) 2>&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); }; } &&
33126 { ac_try
='test -s conftest.$ac_objext'
33127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33128 (eval $ac_try) 2>&5
33130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131 (exit $ac_status); }; }; then
33133 wx_cv_type_pthread_rec_mutex_init
=yes
33136 echo "$as_me: failed program was:" >&5
33137 sed 's/^/| /' conftest.
$ac_ext >&5
33140 wx_cv_type_pthread_rec_mutex_init
=no
33144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33147 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33148 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33149 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33150 cat >>confdefs.h
<<\_ACEOF
33151 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33155 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33156 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33162 if test "$wxUSE_THREADS" = "yes" ; then
33165 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33166 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33167 if test "${wx_cv_cflags_mthread+set}" = set; then
33168 echo $ECHO_N "(cached) $ECHO_C" >&6
33171 CFLAGS_OLD
="$CFLAGS"
33172 CFLAGS
="$CFLAGS -mthreads"
33173 cat >conftest.
$ac_ext <<_ACEOF
33176 cat confdefs.h
>>conftest.
$ac_ext
33177 cat >>conftest.
$ac_ext <<_ACEOF
33178 /* end confdefs.h. */
33188 rm -f conftest.
$ac_objext
33189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33190 (eval $ac_compile) 2>conftest.er1
33192 grep -v '^ *+' conftest.er1
>conftest.err
33194 cat conftest.err
>&5
33195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196 (exit $ac_status); } &&
33197 { ac_try
='test -z "$ac_c_werror_flag"
33198 || test ! -s conftest.err'
33199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33200 (eval $ac_try) 2>&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); }; } &&
33204 { ac_try
='test -s conftest.$ac_objext'
33205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33206 (eval $ac_try) 2>&5
33208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209 (exit $ac_status); }; }; then
33210 wx_cv_cflags_mthread
=yes
33212 echo "$as_me: failed program was:" >&5
33213 sed 's/^/| /' conftest.
$ac_ext >&5
33215 wx_cv_cflags_mthread
=no
33218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33222 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33223 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33225 if test "$wx_cv_cflags_mthread" = "yes"; then
33226 CXXFLAGS
="$CXXFLAGS -mthreads"
33227 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33228 LDFLAGS
="$LDFLAGS -mthreads"
33230 CFLAGS
="$CFLAGS_OLD"
33234 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33235 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33236 LDFLAGS
="$LDFLAGS -Zmt"
33242 if test "$wxUSE_THREADS" = "yes"; then
33243 cat >>confdefs.h
<<\_ACEOF
33244 #define wxUSE_THREADS 1
33248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33250 if test "$ac_cv_func_strtok_r" = "yes"; then
33251 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33252 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33253 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33254 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33255 echo "$as_me:$LINENO: result: yes" >&5
33256 echo "${ECHO_T}yes" >&6
33258 echo "$as_me:$LINENO: result: no" >&5
33259 echo "${ECHO_T}no" >&6
33264 if test "$WXGTK20" = 1 ; then
33265 cat >>confdefs.h
<<_ACEOF
33266 #define __WXGTK20__ $WXGTK20
33272 if test "$WXGTK12" = 1 ; then
33273 cat >>confdefs.h
<<_ACEOF
33274 #define __WXGTK12__ $WXGTK12
33279 if test "$WXGTK127" = 1 ; then
33280 cat >>confdefs.h
<<_ACEOF
33281 #define __WXGTK127__ $WXGTK127
33286 if test "$WXGPE" = 1 ; then
33287 cat >>confdefs.h
<<_ACEOF
33288 #define __WXGPE__ $WXGPE
33295 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33300 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33301 wxUSE_DEBUG_INFO
=yes
33305 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33306 cat >>confdefs.h
<<\_ACEOF
33310 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33312 if test "$wxUSE_GTK" = 1 ; then
33313 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33317 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33318 cat >>confdefs.h
<<\_ACEOF
33319 #define wxUSE_MEMORY_TRACING 1
33322 cat >>confdefs.h
<<\_ACEOF
33323 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33326 cat >>confdefs.h
<<\_ACEOF
33327 #define wxUSE_DEBUG_NEW_ALWAYS 1
33330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33333 if test "$wxUSE_DMALLOC" = "yes" ; then
33334 DMALLOC_LIBS
="-ldmalloc"
33338 if test "$wxUSE_PROFILE" = "yes" ; then
33343 CODE_GEN_FLAGS_CXX
=
33344 if test "$GCC" = "yes" ; then
33345 if test "$wxUSE_NO_RTTI" = "yes" ; then
33346 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33348 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33349 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33351 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33352 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33357 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33360 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33366 if test "$wxUSE_OPTIMISE" = "no" ; then
33367 if test "$GCC" = yes ; then
33371 if test "$GCC" = yes ; then
33375 i586
-*-*|i686
-*-* )
33376 OPTIMISE
="${OPTIMISE} "
33385 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33386 cat >>confdefs.h
<<\_ACEOF
33387 #define WXWIN_COMPATIBILITY_2_2 1
33391 WXWIN_COMPATIBILITY_2_4
="yes"
33394 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33395 cat >>confdefs.h
<<\_ACEOF
33396 #define WXWIN_COMPATIBILITY_2_4 1
33402 if test "$wxUSE_GUI" = "yes"; then
33403 cat >>confdefs.h
<<\_ACEOF
33404 #define wxUSE_GUI 1
33409 cat >>confdefs.h
<<\_ACEOF
33410 #define wxUSE_NOGUI 1
33416 if test "$wxUSE_UNIX" = "yes"; then
33417 cat >>confdefs.h
<<\_ACEOF
33418 #define wxUSE_UNIX 1
33424 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33428 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33429 if test "$USE_DARWIN" = 1; then
33433 for ac_func
in dlopen
33435 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33436 echo "$as_me:$LINENO: checking for $ac_func" >&5
33437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33438 if eval "test \"\${$as_ac_var+set}\" = set"; then
33439 echo $ECHO_N "(cached) $ECHO_C" >&6
33441 cat >conftest.
$ac_ext <<_ACEOF
33444 cat confdefs.h
>>conftest.
$ac_ext
33445 cat >>conftest.
$ac_ext <<_ACEOF
33446 /* end confdefs.h. */
33447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33449 #define $ac_func innocuous_$ac_func
33451 /* System header to define __stub macros and hopefully few prototypes,
33452 which can conflict with char $ac_func (); below.
33453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33454 <limits.h> exists even on freestanding compilers. */
33457 # include <limits.h>
33459 # include <assert.h>
33464 /* Override any gcc2 internal prototype to avoid an error. */
33469 /* We use char because int might match the return type of a gcc2
33470 builtin and then its argument prototype would still apply. */
33472 /* The GNU C library defines this for functions which it implements
33473 to always fail with ENOSYS. Some functions are actually named
33474 something starting with __ and the normal name is an alias. */
33475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33478 char (*f) () = $ac_func;
33487 return f != $ac_func;
33492 rm -f conftest.
$ac_objext conftest
$ac_exeext
33493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33494 (eval $ac_link) 2>conftest.er1
33496 grep -v '^ *+' conftest.er1
>conftest.err
33498 cat conftest.err
>&5
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); } &&
33501 { ac_try
='test -z "$ac_c_werror_flag"
33502 || test ! -s conftest.err'
33503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33504 (eval $ac_try) 2>&5
33506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33507 (exit $ac_status); }; } &&
33508 { ac_try
='test -s conftest$ac_exeext'
33509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33510 (eval $ac_try) 2>&5
33512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33513 (exit $ac_status); }; }; then
33514 eval "$as_ac_var=yes"
33516 echo "$as_me: failed program was:" >&5
33517 sed 's/^/| /' conftest.
$ac_ext >&5
33519 eval "$as_ac_var=no"
33521 rm -f conftest.err conftest.
$ac_objext \
33522 conftest
$ac_exeext conftest.
$ac_ext
33524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33526 if test `eval echo '${'$as_ac_var'}'` = yes; then
33527 cat >>confdefs.h
<<_ACEOF
33528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33531 cat >>confdefs.h
<<\_ACEOF
33532 #define HAVE_DLOPEN 1
33539 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33540 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33541 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33542 echo $ECHO_N "(cached) $ECHO_C" >&6
33544 ac_check_lib_save_LIBS
=$LIBS
33546 cat >conftest.
$ac_ext <<_ACEOF
33549 cat confdefs.h
>>conftest.
$ac_ext
33550 cat >>conftest.
$ac_ext <<_ACEOF
33551 /* end confdefs.h. */
33553 /* Override any gcc2 internal prototype to avoid an error. */
33557 /* We use char because int might match the return type of a gcc2
33558 builtin and then its argument prototype would still apply. */
33568 rm -f conftest.
$ac_objext conftest
$ac_exeext
33569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33570 (eval $ac_link) 2>conftest.er1
33572 grep -v '^ *+' conftest.er1
>conftest.err
33574 cat conftest.err
>&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); } &&
33577 { ac_try
='test -z "$ac_c_werror_flag"
33578 || test ! -s conftest.err'
33579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33580 (eval $ac_try) 2>&5
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); }; } &&
33584 { ac_try
='test -s conftest$ac_exeext'
33585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33586 (eval $ac_try) 2>&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); }; }; then
33590 ac_cv_lib_dl_dlopen
=yes
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.
$ac_ext >&5
33595 ac_cv_lib_dl_dlopen
=no
33597 rm -f conftest.err conftest.
$ac_objext \
33598 conftest
$ac_exeext conftest.
$ac_ext
33599 LIBS
=$ac_check_lib_save_LIBS
33601 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33602 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33603 if test $ac_cv_lib_dl_dlopen = yes; then
33605 cat >>confdefs.h
<<\_ACEOF
33606 #define HAVE_DLOPEN 1
33610 DL_LINK
=" -ldl$DL_LINK"
33615 for ac_func
in shl_load
33617 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33618 echo "$as_me:$LINENO: checking for $ac_func" >&5
33619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33620 if eval "test \"\${$as_ac_var+set}\" = set"; then
33621 echo $ECHO_N "(cached) $ECHO_C" >&6
33623 cat >conftest.
$ac_ext <<_ACEOF
33626 cat confdefs.h
>>conftest.
$ac_ext
33627 cat >>conftest.
$ac_ext <<_ACEOF
33628 /* end confdefs.h. */
33629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33631 #define $ac_func innocuous_$ac_func
33633 /* System header to define __stub macros and hopefully few prototypes,
33634 which can conflict with char $ac_func (); below.
33635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33636 <limits.h> exists even on freestanding compilers. */
33639 # include <limits.h>
33641 # include <assert.h>
33646 /* Override any gcc2 internal prototype to avoid an error. */
33651 /* We use char because int might match the return type of a gcc2
33652 builtin and then its argument prototype would still apply. */
33654 /* The GNU C library defines this for functions which it implements
33655 to always fail with ENOSYS. Some functions are actually named
33656 something starting with __ and the normal name is an alias. */
33657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33660 char (*f) () = $ac_func;
33669 return f != $ac_func;
33674 rm -f conftest.
$ac_objext conftest
$ac_exeext
33675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33676 (eval $ac_link) 2>conftest.er1
33678 grep -v '^ *+' conftest.er1
>conftest.err
33680 cat conftest.err
>&5
33681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33682 (exit $ac_status); } &&
33683 { ac_try
='test -z "$ac_c_werror_flag"
33684 || 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_SHL_LOAD 1
33721 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33722 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33723 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33724 echo $ECHO_N "(cached) $ECHO_C" >&6
33726 ac_check_lib_save_LIBS
=$LIBS
33727 LIBS
="-lshl_load $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"
33760 || test ! -s conftest.err'
33761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33762 (eval $ac_try) 2>&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); }; } &&
33766 { ac_try
='test -s conftest$ac_exeext'
33767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33768 (eval $ac_try) 2>&5
33770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33771 (exit $ac_status); }; }; then
33772 ac_cv_lib_shl_load_dld
=yes
33774 echo "$as_me: failed program was:" >&5
33775 sed 's/^/| /' conftest.
$ac_ext >&5
33777 ac_cv_lib_shl_load_dld
=no
33779 rm -f conftest.err conftest.
$ac_objext \
33780 conftest
$ac_exeext conftest.
$ac_ext
33781 LIBS
=$ac_check_lib_save_LIBS
33783 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33784 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33785 if test $ac_cv_lib_shl_load_dld = yes; then
33788 DL_LINK
=" -ldld$DL_LINK"
33804 if test "$HAVE_DL_FUNCS" = 1; then
33806 for ac_func
in dlerror
33808 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33809 echo "$as_me:$LINENO: checking for $ac_func" >&5
33810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33811 if eval "test \"\${$as_ac_var+set}\" = set"; then
33812 echo $ECHO_N "(cached) $ECHO_C" >&6
33814 cat >conftest.
$ac_ext <<_ACEOF
33817 cat confdefs.h
>>conftest.
$ac_ext
33818 cat >>conftest.
$ac_ext <<_ACEOF
33819 /* end confdefs.h. */
33820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33822 #define $ac_func innocuous_$ac_func
33824 /* System header to define __stub macros and hopefully few prototypes,
33825 which can conflict with char $ac_func (); below.
33826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33827 <limits.h> exists even on freestanding compilers. */
33830 # include <limits.h>
33832 # include <assert.h>
33837 /* Override any gcc2 internal prototype to avoid an error. */
33842 /* We use char because int might match the return type of a gcc2
33843 builtin and then its argument prototype would still apply. */
33845 /* The GNU C library defines this for functions which it implements
33846 to always fail with ENOSYS. Some functions are actually named
33847 something starting with __ and the normal name is an alias. */
33848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33851 char (*f) () = $ac_func;
33860 return f != $ac_func;
33865 rm -f conftest.
$ac_objext conftest
$ac_exeext
33866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33867 (eval $ac_link) 2>conftest.er1
33869 grep -v '^ *+' conftest.er1
>conftest.err
33871 cat conftest.err
>&5
33872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33873 (exit $ac_status); } &&
33874 { ac_try
='test -z "$ac_c_werror_flag"
33875 || test ! -s conftest.err'
33876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33877 (eval $ac_try) 2>&5
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); }; } &&
33881 { ac_try
='test -s conftest$ac_exeext'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; }; then
33887 eval "$as_ac_var=yes"
33889 echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.
$ac_ext >&5
33892 eval "$as_ac_var=no"
33894 rm -f conftest.err conftest.
$ac_objext \
33895 conftest
$ac_exeext conftest.
$ac_ext
33897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33899 if test `eval echo '${'$as_ac_var'}'` = yes; then
33900 cat >>confdefs.h
<<_ACEOF
33901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33903 cat >>confdefs.h
<<\_ACEOF
33904 #define HAVE_DLERROR 1
33909 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33910 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33911 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33912 echo $ECHO_N "(cached) $ECHO_C" >&6
33914 ac_check_lib_save_LIBS
=$LIBS
33916 cat >conftest.
$ac_ext <<_ACEOF
33919 cat confdefs.h
>>conftest.
$ac_ext
33920 cat >>conftest.
$ac_ext <<_ACEOF
33921 /* end confdefs.h. */
33923 /* Override any gcc2 internal prototype to avoid an error. */
33927 /* We use char because int might match the return type of a gcc2
33928 builtin and then its argument prototype would still apply. */
33938 rm -f conftest.
$ac_objext conftest
$ac_exeext
33939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33940 (eval $ac_link) 2>conftest.er1
33942 grep -v '^ *+' conftest.er1
>conftest.err
33944 cat conftest.err
>&5
33945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33946 (exit $ac_status); } &&
33947 { ac_try
='test -z "$ac_c_werror_flag"
33948 || test ! -s conftest.err'
33949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33950 (eval $ac_try) 2>&5
33952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33953 (exit $ac_status); }; } &&
33954 { ac_try
='test -s conftest$ac_exeext'
33955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33956 (eval $ac_try) 2>&5
33958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33959 (exit $ac_status); }; }; then
33960 ac_cv_lib_dl_dlerror
=yes
33962 echo "$as_me: failed program was:" >&5
33963 sed 's/^/| /' conftest.
$ac_ext >&5
33965 ac_cv_lib_dl_dlerror
=no
33967 rm -f conftest.err conftest.
$ac_objext \
33968 conftest
$ac_exeext conftest.
$ac_ext
33969 LIBS
=$ac_check_lib_save_LIBS
33971 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33972 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33973 if test $ac_cv_lib_dl_dlerror = yes; then
33974 cat >>confdefs.h
<<\_ACEOF
33975 #define HAVE_DLERROR 1
33988 if test "$HAVE_DL_FUNCS" = 0; then
33989 if test "$HAVE_SHL_FUNCS" = 0; then
33990 if test "$USE_UNIX" = 1; then
33991 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33992 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33993 wxUSE_DYNAMIC_LOADER
=no
33994 wxUSE_DYNLIB_CLASS
=no
33996 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33997 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34004 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34005 cat >>confdefs.h
<<\_ACEOF
34006 #define wxUSE_DYNAMIC_LOADER 1
34010 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34011 cat >>confdefs.h
<<\_ACEOF
34012 #define wxUSE_DYNLIB_CLASS 1
34019 if test "$wxUSE_PLUGINS" = "yes" ; then
34020 if test "$wxUSE_SHARED" = "no" ; then
34021 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34022 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34025 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34026 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34027 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34030 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34031 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34032 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34035 if test "$wxUSE_PLUGINS" = "yes" ; then
34036 cat >>confdefs.h
<<\_ACEOF
34037 #define wxUSE_PLUGINS 1
34044 if test "$wxUSE_STL" = "yes"; then
34045 cat >>confdefs.h
<<\_ACEOF
34046 #define wxUSE_STL 1
34051 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34052 cat >>confdefs.h
<<\_ACEOF
34053 #define wxUSE_APPLE_IEEE 1
34058 if test "$wxUSE_TIMER" = "yes"; then
34059 cat >>confdefs.h
<<\_ACEOF
34060 #define wxUSE_TIMER 1
34066 if test "$wxUSE_SOUND" = "yes"; then
34067 if test "$USE_UNIX" = "1" ; then
34069 for ac_header
in sys
/soundcard.h
34071 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34073 echo "$as_me:$LINENO: checking for $ac_header" >&5
34074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34076 echo $ECHO_N "(cached) $ECHO_C" >&6
34078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34081 # Is the header compilable?
34082 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34084 cat >conftest.
$ac_ext <<_ACEOF
34087 cat confdefs.h
>>conftest.
$ac_ext
34088 cat >>conftest.
$ac_ext <<_ACEOF
34089 /* end confdefs.h. */
34090 $ac_includes_default
34091 #include <$ac_header>
34093 rm -f conftest.
$ac_objext
34094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34095 (eval $ac_compile) 2>conftest.er1
34097 grep -v '^ *+' conftest.er1
>conftest.err
34099 cat conftest.err
>&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); } &&
34102 { ac_try
='test -z "$ac_c_werror_flag"
34103 || test ! -s conftest.err'
34104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34105 (eval $ac_try) 2>&5
34107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34108 (exit $ac_status); }; } &&
34109 { ac_try
='test -s conftest.$ac_objext'
34110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34111 (eval $ac_try) 2>&5
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); }; }; then
34115 ac_header_compiler
=yes
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.
$ac_ext >&5
34120 ac_header_compiler
=no
34122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34124 echo "${ECHO_T}$ac_header_compiler" >&6
34126 # Is the header present?
34127 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34129 cat >conftest.
$ac_ext <<_ACEOF
34132 cat confdefs.h
>>conftest.
$ac_ext
34133 cat >>conftest.
$ac_ext <<_ACEOF
34134 /* end confdefs.h. */
34135 #include <$ac_header>
34137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34138 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34140 grep -v '^ *+' conftest.er1
>conftest.err
34142 cat conftest.err
>&5
34143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144 (exit $ac_status); } >/dev
/null
; then
34145 if test -s conftest.err
; then
34146 ac_cpp_err
=$ac_c_preproc_warn_flag
34147 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34154 if test -z "$ac_cpp_err"; then
34155 ac_header_preproc
=yes
34157 echo "$as_me: failed program was:" >&5
34158 sed 's/^/| /' conftest.
$ac_ext >&5
34160 ac_header_preproc
=no
34162 rm -f conftest.err conftest.
$ac_ext
34163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34164 echo "${ECHO_T}$ac_header_preproc" >&6
34166 # So? What about this header?
34167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34169 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34173 ac_header_preproc
=yes
34176 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34178 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34179 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34180 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34182 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34183 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34186 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34190 ## ----------------------------------------- ##
34191 ## Report this to wx-dev@lists.wxwidgets.org ##
34192 ## ----------------------------------------- ##
34195 sed "s/^/$as_me: WARNING: /" >&2
34198 echo "$as_me:$LINENO: checking for $ac_header" >&5
34199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34203 eval "$as_ac_Header=\$ac_header_preproc"
34205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34210 cat >>confdefs.h
<<_ACEOF
34211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34219 if test "$wxUSE_LIBSDL" != "no"; then
34221 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34222 if test "${with_sdl_prefix+set}" = set; then
34223 withval
="$with_sdl_prefix"
34224 sdl_prefix
="$withval"
34229 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34230 if test "${with_sdl_exec_prefix+set}" = set; then
34231 withval
="$with_sdl_exec_prefix"
34232 sdl_exec_prefix
="$withval"
34236 # Check whether --enable-sdltest or --disable-sdltest was given.
34237 if test "${enable_sdltest+set}" = set; then
34238 enableval
="$enable_sdltest"
34244 if test x
$sdl_exec_prefix != x
; then
34245 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34246 if test x
${SDL_CONFIG+set} != xset
; then
34247 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34250 if test x
$sdl_prefix != x
; then
34251 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34252 if test x
${SDL_CONFIG+set} != xset
; then
34253 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34258 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34259 # Extract the first word of "sdl-config", so it can be a program name with args.
34260 set dummy sdl
-config; ac_word
=$2
34261 echo "$as_me:$LINENO: checking for $ac_word" >&5
34262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34263 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34266 case $SDL_CONFIG in
34268 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34272 for as_dir
in $PATH
34275 test -z "$as_dir" && as_dir
=.
34276 for ac_exec_ext
in '' $ac_executable_extensions; do
34277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34278 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34285 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34289 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34291 if test -n "$SDL_CONFIG"; then
34292 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34293 echo "${ECHO_T}$SDL_CONFIG" >&6
34295 echo "$as_me:$LINENO: result: no" >&5
34296 echo "${ECHO_T}no" >&6
34299 min_sdl_version
=1.2.0
34300 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34301 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34303 if test "$SDL_CONFIG" = "no" ; then
34306 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34307 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34309 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34310 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34311 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34312 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34313 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34314 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34315 if test "x$enable_sdltest" = "xyes" ; then
34316 ac_save_CFLAGS
="$CFLAGS"
34317 ac_save_LIBS
="$LIBS"
34318 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34319 LIBS
="$LIBS $SDL_LIBS"
34321 if test "$cross_compiling" = yes; then
34322 echo $ac_n "cross compiling; assumed OK... $ac_c"
34324 cat >conftest.
$ac_ext <<_ACEOF
34327 cat confdefs.h
>>conftest.
$ac_ext
34328 cat >>conftest.
$ac_ext <<_ACEOF
34329 /* end confdefs.h. */
34332 #include <stdlib.h>
34333 #include <string.h>
34337 my_strdup (char *str)
34343 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34344 strcpy (new_str, str);
34352 int main (int argc, char *argv[])
34354 int major, minor, micro;
34357 /* This hangs on some systems (?)
34358 system ("touch conf.sdltest");
34360 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34362 /* HP/UX 9 (%@#!) writes to sscanf strings */
34363 tmp_version = my_strdup("$min_sdl_version");
34364 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34365 printf("%s, bad version string\n", "$min_sdl_version");
34369 if (($sdl_major_version > major) ||
34370 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34371 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34377 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34378 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34379 printf("*** best to upgrade to the required version.\n");
34380 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34381 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34382 printf("*** config.cache before re-running configure\n");
34389 rm -f conftest
$ac_exeext
34390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34391 (eval $ac_link) 2>&5
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34396 (eval $ac_try) 2>&5
34398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34399 (exit $ac_status); }; }; then
34402 echo "$as_me: program exited with status $ac_status" >&5
34403 echo "$as_me: failed program was:" >&5
34404 sed 's/^/| /' conftest.
$ac_ext >&5
34406 ( exit $ac_status )
34409 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34411 CFLAGS
="$ac_save_CFLAGS"
34412 LIBS
="$ac_save_LIBS"
34415 if test "x$no_sdl" = x
; then
34416 echo "$as_me:$LINENO: result: yes" >&5
34417 echo "${ECHO_T}yes" >&6
34419 EXTRALIBS_SDL
="$SDL_LIBS"
34420 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34421 cat >>confdefs.h
<<\_ACEOF
34422 #define wxUSE_LIBSDL 1
34427 echo "$as_me:$LINENO: result: no" >&5
34428 echo "${ECHO_T}no" >&6
34429 if test "$SDL_CONFIG" = "no" ; then
34430 echo "*** The sdl-config script installed by SDL could not be found"
34431 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34432 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34433 echo "*** full path to sdl-config."
34435 if test -f conf.sdltest
; then
34438 echo "*** Could not run SDL test program, checking why..."
34439 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34440 LIBS
="$LIBS $SDL_LIBS"
34441 cat >conftest.
$ac_ext <<_ACEOF
34444 cat confdefs.h
>>conftest.
$ac_ext
34445 cat >>conftest.
$ac_ext <<_ACEOF
34446 /* end confdefs.h. */
34451 int main(int argc, char *argv[])
34454 #define main K_and_R_C_main
34464 rm -f conftest.
$ac_objext conftest
$ac_exeext
34465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34466 (eval $ac_link) 2>conftest.er1
34468 grep -v '^ *+' conftest.er1
>conftest.err
34470 cat conftest.err
>&5
34471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472 (exit $ac_status); } &&
34473 { ac_try
='test -z "$ac_c_werror_flag"
34474 || test ! -s conftest.err'
34475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34476 (eval $ac_try) 2>&5
34478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34479 (exit $ac_status); }; } &&
34480 { ac_try
='test -s conftest$ac_exeext'
34481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34482 (eval $ac_try) 2>&5
34484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34485 (exit $ac_status); }; }; then
34486 echo "*** The test program compiled, but did not run. This usually means"
34487 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34488 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34489 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34490 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34491 echo "*** is required on your system"
34493 echo "*** If you have an old version installed, it is best to remove it, although"
34494 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34496 echo "$as_me: failed program was:" >&5
34497 sed 's/^/| /' conftest.
$ac_ext >&5
34499 echo "*** The test program failed to compile or link. See the file config.log for the"
34500 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34501 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34502 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34504 rm -f conftest.err conftest.
$ac_objext \
34505 conftest
$ac_exeext conftest.
$ac_ext
34506 CFLAGS
="$ac_save_CFLAGS"
34507 LIBS
="$ac_save_LIBS"
34518 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34524 cat >>confdefs.h
<<\_ACEOF
34525 #define wxUSE_SOUND 1
34528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34531 if test "$WXGTK20" = 1; then
34532 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34533 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34538 if test -z "$PKG_CONFIG"; then
34539 # Extract the first word of "pkg-config", so it can be a program name with args.
34540 set dummy pkg
-config; ac_word
=$2
34541 echo "$as_me:$LINENO: checking for $ac_word" >&5
34542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34543 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34544 echo $ECHO_N "(cached) $ECHO_C" >&6
34546 case $PKG_CONFIG in
34548 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34552 for as_dir
in $PATH
34555 test -z "$as_dir" && as_dir
=.
34556 for ac_exec_ext
in '' $ac_executable_extensions; do
34557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34558 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34565 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
34569 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34571 if test -n "$PKG_CONFIG"; then
34572 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34573 echo "${ECHO_T}$PKG_CONFIG" >&6
34575 echo "$as_me:$LINENO: result: no" >&5
34576 echo "${ECHO_T}no" >&6
34581 if test "$PKG_CONFIG" = "no" ; then
34582 echo "*** The pkg-config script could not be found. Make sure it is"
34583 echo "*** in your path, or set the PKG_CONFIG environment variable"
34584 echo "*** to the full path to pkg-config."
34585 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
34587 PKG_CONFIG_MIN_VERSION
=0.9.0
34588 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
34589 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2" >&5
34590 echo $ECHO_N "checking for libgnomeprintui-2.2... $ECHO_C" >&6
34592 if $PKG_CONFIG --exists "libgnomeprintui-2.2" ; then
34593 echo "$as_me:$LINENO: result: yes" >&5
34594 echo "${ECHO_T}yes" >&6
34597 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
34598 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
34599 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2"`
34600 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
34601 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
34603 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
34604 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
34605 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2"`
34606 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
34607 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
34609 LIBGNOMEPRINTUI_CFLAGS
=""
34610 LIBGNOMEPRINTUI_LIBS
=""
34611 ## If we have a custom action on failure, don't print errors, but
34612 ## do set a variable so people can do so.
34613 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2"`
34620 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
34621 echo "*** See http://www.freedesktop.org/software/pkgconfig"
34625 if test $succeeded = yes; then
34627 EXTRALIBS_GNOMEPRINT
="$LIBGNOMEPRINTUI_LIBS"
34628 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
34629 cat >>confdefs.h
<<\_ACEOF
34630 #define wxUSE_LIBGNOMEPRINT 1
34636 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34637 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34638 wxUSE_LIBGNOMEPRINT
="no"
34648 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34649 cat >>confdefs.h
<<\_ACEOF
34650 #define wxUSE_CMDLINE_PARSER 1
34655 if test "$wxUSE_STOPWATCH" = "yes"; then
34656 cat >>confdefs.h
<<\_ACEOF
34657 #define wxUSE_STOPWATCH 1
34662 if test "$wxUSE_DATETIME" = "yes"; then
34663 cat >>confdefs.h
<<\_ACEOF
34664 #define wxUSE_DATETIME 1
34669 if test "$wxUSE_FILE" = "yes"; then
34670 cat >>confdefs.h
<<\_ACEOF
34671 #define wxUSE_FILE 1
34676 if test "$wxUSE_FFILE" = "yes"; then
34677 cat >>confdefs.h
<<\_ACEOF
34678 #define wxUSE_FFILE 1
34683 if test "$wxUSE_FILESYSTEM" = "yes"; then
34684 cat >>confdefs.h
<<\_ACEOF
34685 #define wxUSE_FILESYSTEM 1
34690 if test "$wxUSE_FS_ZIP" = "yes"; then
34691 cat >>confdefs.h
<<\_ACEOF
34692 #define wxUSE_FS_ZIP 1
34697 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34698 cat >>confdefs.h
<<\_ACEOF
34699 #define wxUSE_ZIPSTREAM 1
34704 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34705 cat >>confdefs.h
<<\_ACEOF
34706 #define wxUSE_ON_FATAL_EXCEPTION 1
34711 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34712 cat >>confdefs.h
<<\_ACEOF
34713 #define wxUSE_SNGLINST_CHECKER 1
34718 if test "$wxUSE_BUSYINFO" = "yes"; then
34719 cat >>confdefs.h
<<\_ACEOF
34720 #define wxUSE_BUSYINFO 1
34725 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34726 cat >>confdefs.h
<<\_ACEOF
34727 #define wxUSE_STD_IOSTREAM 1
34732 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34733 cat >>confdefs.h
<<\_ACEOF
34734 #define wxUSE_TEXTBUFFER 1
34739 if test "$wxUSE_TEXTFILE" = "yes"; then
34740 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34741 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34742 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34744 cat >>confdefs.h
<<\_ACEOF
34745 #define wxUSE_TEXTFILE 1
34751 if test "$wxUSE_CONFIG" = "yes" ; then
34752 if test "$wxUSE_TEXTFILE" != "yes"; then
34753 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34754 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34756 cat >>confdefs.h
<<\_ACEOF
34757 #define wxUSE_CONFIG 1
34760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34764 if test "$wxUSE_INTL" = "yes" ; then
34765 if test "$wxUSE_FILE" != "yes"; then
34766 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34767 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34769 cat >>confdefs.h
<<\_ACEOF
34770 #define wxUSE_INTL 1
34773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34774 GUIDIST
="$GUIDIST INTL_DIST"
34778 if test "$wxUSE_LOG" = "yes"; then
34779 cat >>confdefs.h
<<\_ACEOF
34780 #define wxUSE_LOG 1
34784 if test "$wxUSE_LOGGUI" = "yes"; then
34785 cat >>confdefs.h
<<\_ACEOF
34786 #define wxUSE_LOGGUI 1
34791 if test "$wxUSE_LOGWINDOW" = "yes"; then
34792 cat >>confdefs.h
<<\_ACEOF
34793 #define wxUSE_LOGWINDOW 1
34798 if test "$wxUSE_LOGDIALOG" = "yes"; then
34799 cat >>confdefs.h
<<\_ACEOF
34800 #define wxUSE_LOG_DIALOG 1
34806 if test "$wxUSE_LONGLONG" = "yes"; then
34807 cat >>confdefs.h
<<\_ACEOF
34808 #define wxUSE_LONGLONG 1
34813 if test "$wxUSE_GEOMETRY" = "yes"; then
34814 cat >>confdefs.h
<<\_ACEOF
34815 #define wxUSE_GEOMETRY 1
34820 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34821 cat >>confdefs.h
<<\_ACEOF
34822 #define wxUSE_DIALUP_MANAGER 1
34825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34828 if test "$wxUSE_STREAMS" = "yes" ; then
34829 cat >>confdefs.h
<<\_ACEOF
34830 #define wxUSE_STREAMS 1
34836 if test "$wxUSE_DATETIME" = "yes"; then
34838 for ac_func
in strptime
34840 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34841 echo "$as_me:$LINENO: checking for $ac_func" >&5
34842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34843 if eval "test \"\${$as_ac_var+set}\" = set"; then
34844 echo $ECHO_N "(cached) $ECHO_C" >&6
34846 cat >conftest.
$ac_ext <<_ACEOF
34849 cat confdefs.h
>>conftest.
$ac_ext
34850 cat >>conftest.
$ac_ext <<_ACEOF
34851 /* end confdefs.h. */
34852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34854 #define $ac_func innocuous_$ac_func
34856 /* System header to define __stub macros and hopefully few prototypes,
34857 which can conflict with char $ac_func (); below.
34858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34859 <limits.h> exists even on freestanding compilers. */
34862 # include <limits.h>
34864 # include <assert.h>
34869 /* Override any gcc2 internal prototype to avoid an error. */
34874 /* We use char because int might match the return type of a gcc2
34875 builtin and then its argument prototype would still apply. */
34877 /* The GNU C library defines this for functions which it implements
34878 to always fail with ENOSYS. Some functions are actually named
34879 something starting with __ and the normal name is an alias. */
34880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34883 char (*f) () = $ac_func;
34892 return f != $ac_func;
34897 rm -f conftest.
$ac_objext conftest
$ac_exeext
34898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34899 (eval $ac_link) 2>conftest.er1
34901 grep -v '^ *+' conftest.er1
>conftest.err
34903 cat conftest.err
>&5
34904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34905 (exit $ac_status); } &&
34906 { ac_try
='test -z "$ac_c_werror_flag"
34907 || test ! -s conftest.err'
34908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34909 (eval $ac_try) 2>&5
34911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34912 (exit $ac_status); }; } &&
34913 { ac_try
='test -s conftest$ac_exeext'
34914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34915 (eval $ac_try) 2>&5
34917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34918 (exit $ac_status); }; }; then
34919 eval "$as_ac_var=yes"
34921 echo "$as_me: failed program was:" >&5
34922 sed 's/^/| /' conftest.
$ac_ext >&5
34924 eval "$as_ac_var=no"
34926 rm -f conftest.err conftest.
$ac_objext \
34927 conftest
$ac_exeext conftest.
$ac_ext
34929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34931 if test `eval echo '${'$as_ac_var'}'` = yes; then
34932 cat >>confdefs.h
<<_ACEOF
34933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34940 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34941 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34942 if test "${wx_cv_var_timezone+set}" = set; then
34943 echo $ECHO_N "(cached) $ECHO_C" >&6
34946 cat >conftest.
$ac_ext <<_ACEOF
34949 cat confdefs.h
>>conftest.
$ac_ext
34950 cat >>conftest.
$ac_ext <<_ACEOF
34951 /* end confdefs.h. */
34966 rm -f conftest.
$ac_objext
34967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34968 (eval $ac_compile) 2>conftest.er1
34970 grep -v '^ *+' conftest.er1
>conftest.err
34972 cat conftest.err
>&5
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); } &&
34975 { ac_try
='test -z "$ac_c_werror_flag"
34976 || test ! -s conftest.err'
34977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34978 (eval $ac_try) 2>&5
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); }; } &&
34982 { ac_try
='test -s conftest.$ac_objext'
34983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34984 (eval $ac_try) 2>&5
34986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987 (exit $ac_status); }; }; then
34989 wx_cv_var_timezone
=timezone
34992 echo "$as_me: failed program was:" >&5
34993 sed 's/^/| /' conftest.
$ac_ext >&5
34996 cat >conftest.
$ac_ext <<_ACEOF
34999 cat confdefs.h
>>conftest.
$ac_ext
35000 cat >>conftest.
$ac_ext <<_ACEOF
35001 /* end confdefs.h. */
35016 rm -f conftest.
$ac_objext
35017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35018 (eval $ac_compile) 2>conftest.er1
35020 grep -v '^ *+' conftest.er1
>conftest.err
35022 cat conftest.err
>&5
35023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35024 (exit $ac_status); } &&
35025 { ac_try
='test -z "$ac_c_werror_flag"
35026 || test ! -s conftest.err'
35027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35028 (eval $ac_try) 2>&5
35030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35031 (exit $ac_status); }; } &&
35032 { ac_try
='test -s conftest.$ac_objext'
35033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35034 (eval $ac_try) 2>&5
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); }; }; then
35039 wx_cv_var_timezone
=_timezone
35042 echo "$as_me: failed program was:" >&5
35043 sed 's/^/| /' conftest.
$ac_ext >&5
35046 cat >conftest.
$ac_ext <<_ACEOF
35049 cat confdefs.h
>>conftest.
$ac_ext
35050 cat >>conftest.
$ac_ext <<_ACEOF
35051 /* end confdefs.h. */
35066 rm -f conftest.
$ac_objext
35067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35068 (eval $ac_compile) 2>conftest.er1
35070 grep -v '^ *+' conftest.er1
>conftest.err
35072 cat conftest.err
>&5
35073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35074 (exit $ac_status); } &&
35075 { ac_try
='test -z "$ac_c_werror_flag"
35076 || test ! -s conftest.err'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; } &&
35082 { ac_try
='test -s conftest.$ac_objext'
35083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35084 (eval $ac_try) 2>&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); }; }; then
35089 wx_cv_var_timezone
=__timezone
35092 echo "$as_me: failed program was:" >&5
35093 sed 's/^/| /' conftest.
$ac_ext >&5
35096 if test "$USE_DOS" = 0 ; then
35097 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35098 echo "$as_me: WARNING: no timezone variable" >&2;}
35103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35115 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35116 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35118 if test "x$wx_cv_var_timezone" != x
; then
35119 cat >>confdefs.h
<<_ACEOF
35120 #define WX_TIMEZONE $wx_cv_var_timezone
35126 for ac_func
in localtime
35128 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35129 echo "$as_me:$LINENO: checking for $ac_func" >&5
35130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35131 if eval "test \"\${$as_ac_var+set}\" = set"; then
35132 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 cat >conftest.
$ac_ext <<_ACEOF
35137 cat confdefs.h
>>conftest.
$ac_ext
35138 cat >>conftest.
$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35142 #define $ac_func innocuous_$ac_func
35144 /* System header to define __stub macros and hopefully few prototypes,
35145 which can conflict with char $ac_func (); below.
35146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35147 <limits.h> exists even on freestanding compilers. */
35150 # include <limits.h>
35152 # include <assert.h>
35157 /* Override any gcc2 internal prototype to avoid an error. */
35162 /* We use char because int might match the return type of a gcc2
35163 builtin and then its argument prototype would still apply. */
35165 /* The GNU C library defines this for functions which it implements
35166 to always fail with ENOSYS. Some functions are actually named
35167 something starting with __ and the normal name is an alias. */
35168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35171 char (*f) () = $ac_func;
35180 return f != $ac_func;
35185 rm -f conftest.
$ac_objext conftest
$ac_exeext
35186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35187 (eval $ac_link) 2>conftest.er1
35189 grep -v '^ *+' conftest.er1
>conftest.err
35191 cat conftest.err
>&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); } &&
35194 { ac_try
='test -z "$ac_c_werror_flag"
35195 || test ! -s conftest.err'
35196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35197 (eval $ac_try) 2>&5
35199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200 (exit $ac_status); }; } &&
35201 { ac_try
='test -s conftest$ac_exeext'
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; }; then
35207 eval "$as_ac_var=yes"
35209 echo "$as_me: failed program was:" >&5
35210 sed 's/^/| /' conftest.
$ac_ext >&5
35212 eval "$as_ac_var=no"
35214 rm -f conftest.err conftest.
$ac_objext \
35215 conftest
$ac_exeext conftest.
$ac_ext
35217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35219 if test `eval echo '${'$as_ac_var'}'` = yes; then
35220 cat >>confdefs.h
<<_ACEOF
35221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35228 if test "$ac_cv_func_localtime" = "yes"; then
35229 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35230 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35231 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35232 echo $ECHO_N "(cached) $ECHO_C" >&6
35235 cat >conftest.
$ac_ext <<_ACEOF
35238 cat confdefs.h
>>conftest.
$ac_ext
35239 cat >>conftest.
$ac_ext <<_ACEOF
35240 /* end confdefs.h. */
35255 rm -f conftest.
$ac_objext
35256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35257 (eval $ac_compile) 2>conftest.er1
35259 grep -v '^ *+' conftest.er1
>conftest.err
35261 cat conftest.err
>&5
35262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263 (exit $ac_status); } &&
35264 { ac_try
='test -z "$ac_c_werror_flag"
35265 || test ! -s conftest.err'
35266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35267 (eval $ac_try) 2>&5
35269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270 (exit $ac_status); }; } &&
35271 { ac_try
='test -s conftest.$ac_objext'
35272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35273 (eval $ac_try) 2>&5
35275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35276 (exit $ac_status); }; }; then
35278 wx_cv_struct_tm_has_gmtoff
=yes
35281 echo "$as_me: failed program was:" >&5
35282 sed 's/^/| /' conftest.
$ac_ext >&5
35284 wx_cv_struct_tm_has_gmtoff
=no
35287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35290 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35291 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35294 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35295 cat >>confdefs.h
<<\_ACEOF
35296 #define WX_GMTOFF_IN_TM 1
35303 for ac_func
in gettimeofday ftime
35305 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35306 echo "$as_me:$LINENO: checking for $ac_func" >&5
35307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35308 if eval "test \"\${$as_ac_var+set}\" = set"; then
35309 echo $ECHO_N "(cached) $ECHO_C" >&6
35311 cat >conftest.
$ac_ext <<_ACEOF
35314 cat confdefs.h
>>conftest.
$ac_ext
35315 cat >>conftest.
$ac_ext <<_ACEOF
35316 /* end confdefs.h. */
35317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35319 #define $ac_func innocuous_$ac_func
35321 /* System header to define __stub macros and hopefully few prototypes,
35322 which can conflict with char $ac_func (); below.
35323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35324 <limits.h> exists even on freestanding compilers. */
35327 # include <limits.h>
35329 # include <assert.h>
35334 /* Override any gcc2 internal prototype to avoid an error. */
35339 /* We use char because int might match the return type of a gcc2
35340 builtin and then its argument prototype would still apply. */
35342 /* The GNU C library defines this for functions which it implements
35343 to always fail with ENOSYS. Some functions are actually named
35344 something starting with __ and the normal name is an alias. */
35345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35348 char (*f) () = $ac_func;
35357 return f != $ac_func;
35362 rm -f conftest.
$ac_objext conftest
$ac_exeext
35363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35364 (eval $ac_link) 2>conftest.er1
35366 grep -v '^ *+' conftest.er1
>conftest.err
35368 cat conftest.err
>&5
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); } &&
35371 { ac_try
='test -z "$ac_c_werror_flag"
35372 || test ! -s conftest.err'
35373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35374 (eval $ac_try) 2>&5
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); }; } &&
35378 { ac_try
='test -s conftest$ac_exeext'
35379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35380 (eval $ac_try) 2>&5
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); }; }; then
35384 eval "$as_ac_var=yes"
35386 echo "$as_me: failed program was:" >&5
35387 sed 's/^/| /' conftest.
$ac_ext >&5
35389 eval "$as_ac_var=no"
35391 rm -f conftest.err conftest.
$ac_objext \
35392 conftest
$ac_exeext conftest.
$ac_ext
35394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35396 if test `eval echo '${'$as_ac_var'}'` = yes; then
35397 cat >>confdefs.h
<<_ACEOF
35398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35405 if test "$ac_cv_func_gettimeofday" = "yes"; then
35406 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35407 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35408 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35409 echo $ECHO_N "(cached) $ECHO_C" >&6
35415 ac_cpp
='$CXXCPP $CPPFLAGS'
35416 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35417 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35418 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35421 cat >conftest.
$ac_ext <<_ACEOF
35424 cat confdefs.h
>>conftest.
$ac_ext
35425 cat >>conftest.
$ac_ext <<_ACEOF
35426 /* end confdefs.h. */
35428 #include <sys/time.h>
35429 #include <unistd.h>
35436 gettimeofday(&tv, NULL);
35442 rm -f conftest.
$ac_objext
35443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35444 (eval $ac_compile) 2>conftest.er1
35446 grep -v '^ *+' conftest.er1
>conftest.err
35448 cat conftest.err
>&5
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); } &&
35451 { ac_try
='test -z "$ac_cxx_werror_flag"
35452 || test ! -s conftest.err'
35453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35454 (eval $ac_try) 2>&5
35456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35457 (exit $ac_status); }; } &&
35458 { ac_try
='test -s conftest.$ac_objext'
35459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35460 (eval $ac_try) 2>&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); }; }; then
35464 wx_cv_func_gettimeofday_has_2_args
=yes
35466 echo "$as_me: failed program was:" >&5
35467 sed 's/^/| /' conftest.
$ac_ext >&5
35469 cat >conftest.
$ac_ext <<_ACEOF
35472 cat confdefs.h
>>conftest.
$ac_ext
35473 cat >>conftest.
$ac_ext <<_ACEOF
35474 /* end confdefs.h. */
35476 #include <sys/time.h>
35477 #include <unistd.h>
35490 rm -f conftest.
$ac_objext
35491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35492 (eval $ac_compile) 2>conftest.er1
35494 grep -v '^ *+' conftest.er1
>conftest.err
35496 cat conftest.err
>&5
35497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498 (exit $ac_status); } &&
35499 { ac_try
='test -z "$ac_cxx_werror_flag"
35500 || test ! -s conftest.err'
35501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35502 (eval $ac_try) 2>&5
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); }; } &&
35506 { ac_try
='test -s conftest.$ac_objext'
35507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35508 (eval $ac_try) 2>&5
35510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35511 (exit $ac_status); }; }; then
35512 wx_cv_func_gettimeofday_has_2_args
=no
35514 echo "$as_me: failed program was:" >&5
35515 sed 's/^/| /' conftest.
$ac_ext >&5
35518 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35519 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35520 wx_cv_func_gettimeofday_has_2_args
=unknown
35524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35529 ac_cpp
='$CPP $CPPFLAGS'
35530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35536 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35537 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35539 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35540 cat >>confdefs.h
<<\_ACEOF
35541 #define WX_GETTIMEOFDAY_NO_TZ 1
35547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35551 if test "$wxUSE_SOCKETS" = "yes"; then
35552 if test "$wxUSE_MGL" = "1"; then
35553 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35554 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35559 if test "$wxUSE_SOCKETS" = "yes"; then
35560 if test "$TOOLKIT" != "MSW"; then
35561 echo "$as_me:$LINENO: checking for socket" >&5
35562 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35563 if test "${ac_cv_func_socket+set}" = set; then
35564 echo $ECHO_N "(cached) $ECHO_C" >&6
35566 cat >conftest.
$ac_ext <<_ACEOF
35569 cat confdefs.h
>>conftest.
$ac_ext
35570 cat >>conftest.
$ac_ext <<_ACEOF
35571 /* end confdefs.h. */
35572 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35574 #define socket innocuous_socket
35576 /* System header to define __stub macros and hopefully few prototypes,
35577 which can conflict with char socket (); below.
35578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35579 <limits.h> exists even on freestanding compilers. */
35582 # include <limits.h>
35584 # include <assert.h>
35589 /* Override any gcc2 internal prototype to avoid an error. */
35594 /* We use char because int might match the return type of a gcc2
35595 builtin and then its argument prototype would still apply. */
35597 /* The GNU C library defines this for functions which it implements
35598 to always fail with ENOSYS. Some functions are actually named
35599 something starting with __ and the normal name is an alias. */
35600 #if defined (__stub_socket) || defined (__stub___socket)
35603 char (*f) () = socket;
35612 return f != socket;
35617 rm -f conftest.
$ac_objext conftest
$ac_exeext
35618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35619 (eval $ac_link) 2>conftest.er1
35621 grep -v '^ *+' conftest.er1
>conftest.err
35623 cat conftest.err
>&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); } &&
35626 { ac_try
='test -z "$ac_c_werror_flag"
35627 || test ! -s conftest.err'
35628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35629 (eval $ac_try) 2>&5
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); }; } &&
35633 { ac_try
='test -s conftest$ac_exeext'
35634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35635 (eval $ac_try) 2>&5
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); }; }; then
35639 ac_cv_func_socket
=yes
35641 echo "$as_me: failed program was:" >&5
35642 sed 's/^/| /' conftest.
$ac_ext >&5
35644 ac_cv_func_socket
=no
35646 rm -f conftest.err conftest.
$ac_objext \
35647 conftest
$ac_exeext conftest.
$ac_ext
35649 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35650 echo "${ECHO_T}$ac_cv_func_socket" >&6
35651 if test $ac_cv_func_socket = yes; then
35655 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35656 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35657 if test "${ac_cv_lib_socket_socket+set}" = set; then
35658 echo $ECHO_N "(cached) $ECHO_C" >&6
35660 ac_check_lib_save_LIBS
=$LIBS
35661 LIBS
="-lsocket $LIBS"
35662 cat >conftest.
$ac_ext <<_ACEOF
35665 cat confdefs.h
>>conftest.
$ac_ext
35666 cat >>conftest.
$ac_ext <<_ACEOF
35667 /* end confdefs.h. */
35669 /* Override any gcc2 internal prototype to avoid an error. */
35673 /* We use char because int might match the return type of a gcc2
35674 builtin and then its argument prototype would still apply. */
35684 rm -f conftest.
$ac_objext conftest
$ac_exeext
35685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35686 (eval $ac_link) 2>conftest.er1
35688 grep -v '^ *+' conftest.er1
>conftest.err
35690 cat conftest.err
>&5
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); } &&
35693 { ac_try
='test -z "$ac_c_werror_flag"
35694 || test ! -s conftest.err'
35695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35696 (eval $ac_try) 2>&5
35698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35699 (exit $ac_status); }; } &&
35700 { ac_try
='test -s conftest$ac_exeext'
35701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35702 (eval $ac_try) 2>&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); }; }; then
35706 ac_cv_lib_socket_socket
=yes
35708 echo "$as_me: failed program was:" >&5
35709 sed 's/^/| /' conftest.
$ac_ext >&5
35711 ac_cv_lib_socket_socket
=no
35713 rm -f conftest.err conftest.
$ac_objext \
35714 conftest
$ac_exeext conftest.
$ac_ext
35715 LIBS
=$ac_check_lib_save_LIBS
35717 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35718 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35719 if test $ac_cv_lib_socket_socket = yes; then
35720 if test "$INET_LINK" != " -lsocket"; then
35721 INET_LINK
="$INET_LINK -lsocket"
35725 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35726 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35739 if test "$wxUSE_SOCKETS" = "yes" ; then
35740 if test "$TOOLKIT" != "MSW"; then
35742 ac_cpp
='$CXXCPP $CPPFLAGS'
35743 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35747 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35748 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35749 if test "${wx_cv_type_getsockname3+set}" = set; then
35750 echo $ECHO_N "(cached) $ECHO_C" >&6
35753 cat >conftest.
$ac_ext <<_ACEOF
35756 cat confdefs.h
>>conftest.
$ac_ext
35757 cat >>conftest.
$ac_ext <<_ACEOF
35758 /* end confdefs.h. */
35760 #include <sys/types.h>
35761 #include <sys/socket.h>
35768 getsockname(0, 0, &len);
35774 rm -f conftest.
$ac_objext
35775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35776 (eval $ac_compile) 2>conftest.er1
35778 grep -v '^ *+' conftest.er1
>conftest.err
35780 cat conftest.err
>&5
35781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35782 (exit $ac_status); } &&
35783 { ac_try
='test -z "$ac_cxx_werror_flag"
35784 || test ! -s conftest.err'
35785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35786 (eval $ac_try) 2>&5
35788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35789 (exit $ac_status); }; } &&
35790 { ac_try
='test -s conftest.$ac_objext'
35791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35792 (eval $ac_try) 2>&5
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); }; }; then
35796 wx_cv_type_getsockname3
=socklen_t
35798 echo "$as_me: failed program was:" >&5
35799 sed 's/^/| /' conftest.
$ac_ext >&5
35802 CFLAGS_OLD
="$CFLAGS"
35803 if test "$GCC" = yes ; then
35804 CFLAGS
="$CFLAGS -Werror"
35807 cat >conftest.
$ac_ext <<_ACEOF
35810 cat confdefs.h
>>conftest.
$ac_ext
35811 cat >>conftest.
$ac_ext <<_ACEOF
35812 /* end confdefs.h. */
35814 #include <sys/types.h>
35815 #include <sys/socket.h>
35822 getsockname(0, 0, &len);
35828 rm -f conftest.
$ac_objext
35829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35830 (eval $ac_compile) 2>conftest.er1
35832 grep -v '^ *+' conftest.er1
>conftest.err
35834 cat conftest.err
>&5
35835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836 (exit $ac_status); } &&
35837 { ac_try
='test -z "$ac_cxx_werror_flag"
35838 || test ! -s conftest.err'
35839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35840 (eval $ac_try) 2>&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); }; } &&
35844 { ac_try
='test -s conftest.$ac_objext'
35845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35846 (eval $ac_try) 2>&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); }; }; then
35850 wx_cv_type_getsockname3
=size_t
35852 echo "$as_me: failed program was:" >&5
35853 sed 's/^/| /' conftest.
$ac_ext >&5
35855 cat >conftest.
$ac_ext <<_ACEOF
35858 cat confdefs.h
>>conftest.
$ac_ext
35859 cat >>conftest.
$ac_ext <<_ACEOF
35860 /* end confdefs.h. */
35862 #include <sys/types.h>
35863 #include <sys/socket.h>
35870 getsockname(0, 0, &len);
35876 rm -f conftest.
$ac_objext
35877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35878 (eval $ac_compile) 2>conftest.er1
35880 grep -v '^ *+' conftest.er1
>conftest.err
35882 cat conftest.err
>&5
35883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35884 (exit $ac_status); } &&
35885 { ac_try
='test -z "$ac_cxx_werror_flag"
35886 || test ! -s conftest.err'
35887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35888 (eval $ac_try) 2>&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); }; } &&
35892 { ac_try
='test -s conftest.$ac_objext'
35893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35894 (eval $ac_try) 2>&5
35896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35897 (exit $ac_status); }; }; then
35898 wx_cv_type_getsockname3
=int
35900 echo "$as_me: failed program was:" >&5
35901 sed 's/^/| /' conftest.
$ac_ext >&5
35903 wx_cv_type_getsockname3
=unknown
35906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35911 CFLAGS
="$CFLAGS_OLD"
35915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35918 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35919 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35921 if test "$wx_cv_type_getsockname3" = "unknown"; then
35923 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35924 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35926 cat >>confdefs.h
<<_ACEOF
35927 #define SOCKLEN_T $wx_cv_type_getsockname3
35932 ac_cpp
='$CPP $CPPFLAGS'
35933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35940 if test "$wxUSE_SOCKETS" = "yes" ; then
35941 cat >>confdefs.h
<<\_ACEOF
35942 #define wxUSE_SOCKETS 1
35945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35948 if test "$wxUSE_PROTOCOL" = "yes"; then
35949 if test "$wxUSE_SOCKETS" != "yes"; then
35950 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35951 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35956 if test "$wxUSE_PROTOCOL" = "yes"; then
35957 cat >>confdefs.h
<<\_ACEOF
35958 #define wxUSE_PROTOCOL 1
35962 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35963 cat >>confdefs.h
<<\_ACEOF
35964 #define wxUSE_PROTOCOL_HTTP 1
35968 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35969 cat >>confdefs.h
<<\_ACEOF
35970 #define wxUSE_PROTOCOL_FTP 1
35974 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35975 cat >>confdefs.h
<<\_ACEOF
35976 #define wxUSE_PROTOCOL_FILE 1
35981 if test "$wxUSE_FS_INET" = "yes"; then
35982 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35983 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35988 if test "$wxUSE_URL" = "yes"; then
35989 if test "$wxUSE_PROTOCOL" != "yes"; then
35990 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35991 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35994 if test "$wxUSE_URL" = "yes"; then
35995 cat >>confdefs.h
<<\_ACEOF
35996 #define wxUSE_URL 1
36002 if test "$wxUSE_FS_INET" = "yes"; then
36003 cat >>confdefs.h
<<\_ACEOF
36004 #define wxUSE_FS_INET 1
36010 if test "$wxUSE_GUI" = "yes"; then
36012 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36013 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36014 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36018 if test "$TOOLKIT" != "MSW"; then
36019 if test "$wxUSE_JOYSTICK" = "yes"; then
36021 for ac_header
in linux
/joystick.h
36023 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36025 echo "$as_me:$LINENO: checking for $ac_header" >&5
36026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36028 echo $ECHO_N "(cached) $ECHO_C" >&6
36030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36033 # Is the header compilable?
36034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36036 cat >conftest.
$ac_ext <<_ACEOF
36039 cat confdefs.h
>>conftest.
$ac_ext
36040 cat >>conftest.
$ac_ext <<_ACEOF
36041 /* end confdefs.h. */
36042 $ac_includes_default
36043 #include <$ac_header>
36045 rm -f conftest.
$ac_objext
36046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36047 (eval $ac_compile) 2>conftest.er1
36049 grep -v '^ *+' conftest.er1
>conftest.err
36051 cat conftest.err
>&5
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); } &&
36054 { ac_try
='test -z "$ac_c_werror_flag"
36055 || test ! -s conftest.err'
36056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36057 (eval $ac_try) 2>&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); }; } &&
36061 { ac_try
='test -s conftest.$ac_objext'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; }; then
36067 ac_header_compiler
=yes
36069 echo "$as_me: failed program was:" >&5
36070 sed 's/^/| /' conftest.
$ac_ext >&5
36072 ac_header_compiler
=no
36074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36076 echo "${ECHO_T}$ac_header_compiler" >&6
36078 # Is the header present?
36079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36081 cat >conftest.
$ac_ext <<_ACEOF
36084 cat confdefs.h
>>conftest.
$ac_ext
36085 cat >>conftest.
$ac_ext <<_ACEOF
36086 /* end confdefs.h. */
36087 #include <$ac_header>
36089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36092 grep -v '^ *+' conftest.er1
>conftest.err
36094 cat conftest.err
>&5
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); } >/dev
/null
; then
36097 if test -s conftest.err
; then
36098 ac_cpp_err
=$ac_c_preproc_warn_flag
36099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36106 if test -z "$ac_cpp_err"; then
36107 ac_header_preproc
=yes
36109 echo "$as_me: failed program was:" >&5
36110 sed 's/^/| /' conftest.
$ac_ext >&5
36112 ac_header_preproc
=no
36114 rm -f conftest.err conftest.
$ac_ext
36115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36116 echo "${ECHO_T}$ac_header_preproc" >&6
36118 # So? What about this header?
36119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36125 ac_header_preproc
=yes
36128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36142 ## ----------------------------------------- ##
36143 ## Report this to wx-dev@lists.wxwidgets.org ##
36144 ## ----------------------------------------- ##
36147 sed "s/^/$as_me: WARNING: /" >&2
36150 echo "$as_me:$LINENO: checking for $ac_header" >&5
36151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36153 echo $ECHO_N "(cached) $ECHO_C" >&6
36155 eval "$as_ac_Header=\$ac_header_preproc"
36157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36162 cat >>confdefs.h
<<_ACEOF
36163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36170 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36172 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36173 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36178 if test "$wxUSE_JOYSTICK" = "yes"; then
36179 cat >>confdefs.h
<<\_ACEOF
36180 #define wxUSE_JOYSTICK 1
36183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36189 if test "$wxUSE_FONTMAP" = "yes" ; then
36190 cat >>confdefs.h
<<\_ACEOF
36191 #define wxUSE_FONTMAP 1
36196 if test "$wxUSE_UNICODE" = "yes" ; then
36197 cat >>confdefs.h
<<\_ACEOF
36198 #define wxUSE_UNICODE 1
36202 if test "$USE_WIN32" != 1; then
36203 wxUSE_UNICODE_MSLU
=no
36206 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36207 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36208 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36209 if test "${ac_cv_lib_unicows_main+set}" = set; then
36210 echo $ECHO_N "(cached) $ECHO_C" >&6
36212 ac_check_lib_save_LIBS
=$LIBS
36213 LIBS
="-lunicows $LIBS"
36214 cat >conftest.
$ac_ext <<_ACEOF
36217 cat confdefs.h
>>conftest.
$ac_ext
36218 cat >>conftest.
$ac_ext <<_ACEOF
36219 /* end confdefs.h. */
36230 rm -f conftest.
$ac_objext conftest
$ac_exeext
36231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36232 (eval $ac_link) 2>conftest.er1
36234 grep -v '^ *+' conftest.er1
>conftest.err
36236 cat conftest.err
>&5
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); } &&
36239 { ac_try
='test -z "$ac_c_werror_flag"
36240 || test ! -s conftest.err'
36241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36242 (eval $ac_try) 2>&5
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); }; } &&
36246 { ac_try
='test -s conftest$ac_exeext'
36247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36248 (eval $ac_try) 2>&5
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); }; }; then
36252 ac_cv_lib_unicows_main
=yes
36254 echo "$as_me: failed program was:" >&5
36255 sed 's/^/| /' conftest.
$ac_ext >&5
36257 ac_cv_lib_unicows_main
=no
36259 rm -f conftest.err conftest.
$ac_objext \
36260 conftest
$ac_exeext conftest.
$ac_ext
36261 LIBS
=$ac_check_lib_save_LIBS
36263 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36264 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36265 if test $ac_cv_lib_unicows_main = yes; then
36267 cat >>confdefs.h
<<\_ACEOF
36268 #define wxUSE_UNICODE_MSLU 1
36274 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36275 Applications will only run on Windows NT/2000/XP!" >&5
36276 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36277 Applications will only run on Windows NT/2000/XP!" >&2;}
36278 wxUSE_UNICODE_MSLU
=no
36285 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36286 cat >>confdefs.h
<<\_ACEOF
36287 #define wxUSE_EXPERIMENTAL_PRINTF 1
36293 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36294 cat >>confdefs.h
<<\_ACEOF
36295 #define wxUSE_POSTSCRIPT 1
36300 cat >>confdefs.h
<<\_ACEOF
36301 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36305 cat >>confdefs.h
<<\_ACEOF
36306 #define wxUSE_NORMALIZED_PS_FONTS 1
36311 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36312 cat >>confdefs.h
<<\_ACEOF
36313 #define wxUSE_CONSTRAINTS 1
36316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36319 if test "$wxUSE_MDI" = "yes"; then
36320 cat >>confdefs.h
<<\_ACEOF
36321 #define wxUSE_MDI 1
36325 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36326 cat >>confdefs.h
<<\_ACEOF
36327 #define wxUSE_MDI_ARCHITECTURE 1
36330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36334 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36335 cat >>confdefs.h
<<\_ACEOF
36336 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36340 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36345 if test "$wxUSE_HELP" = "yes"; then
36346 cat >>confdefs.h
<<\_ACEOF
36347 #define wxUSE_HELP 1
36350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36352 if test "$wxUSE_MSW" = 1; then
36353 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36354 cat >>confdefs.h
<<\_ACEOF
36355 #define wxUSE_MS_HTML_HELP 1
36361 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36362 if test "$wxUSE_HTML" = "yes"; then
36363 cat >>confdefs.h
<<\_ACEOF
36364 #define wxUSE_WXHTML_HELP 1
36368 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36369 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36370 wxUSE_WXHTML_HELP
=no
36375 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36376 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36377 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36378 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36380 cat >>confdefs.h
<<\_ACEOF
36381 #define wxUSE_PRINTING_ARCHITECTURE 1
36385 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36388 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36389 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36390 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36391 { (exit 1); exit 1; }; }
36395 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36396 -o "$wxUSE_CLIPBOARD" = "yes" \
36397 -o "$wxUSE_OLE" = "yes" \
36398 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36400 for ac_header
in ole2.h
36402 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36404 echo "$as_me:$LINENO: checking for $ac_header" >&5
36405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36407 echo $ECHO_N "(cached) $ECHO_C" >&6
36409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36412 # Is the header compilable?
36413 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36415 cat >conftest.
$ac_ext <<_ACEOF
36418 cat confdefs.h
>>conftest.
$ac_ext
36419 cat >>conftest.
$ac_ext <<_ACEOF
36420 /* end confdefs.h. */
36421 $ac_includes_default
36422 #include <$ac_header>
36424 rm -f conftest.
$ac_objext
36425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36426 (eval $ac_compile) 2>conftest.er1
36428 grep -v '^ *+' conftest.er1
>conftest.err
36430 cat conftest.err
>&5
36431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36432 (exit $ac_status); } &&
36433 { ac_try
='test -z "$ac_c_werror_flag"
36434 || test ! -s conftest.err'
36435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36436 (eval $ac_try) 2>&5
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); }; } &&
36440 { ac_try
='test -s conftest.$ac_objext'
36441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36442 (eval $ac_try) 2>&5
36444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36445 (exit $ac_status); }; }; then
36446 ac_header_compiler
=yes
36448 echo "$as_me: failed program was:" >&5
36449 sed 's/^/| /' conftest.
$ac_ext >&5
36451 ac_header_compiler
=no
36453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36455 echo "${ECHO_T}$ac_header_compiler" >&6
36457 # Is the header present?
36458 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36459 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36460 cat >conftest.
$ac_ext <<_ACEOF
36463 cat confdefs.h
>>conftest.
$ac_ext
36464 cat >>conftest.
$ac_ext <<_ACEOF
36465 /* end confdefs.h. */
36466 #include <$ac_header>
36468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36469 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36471 grep -v '^ *+' conftest.er1
>conftest.err
36473 cat conftest.err
>&5
36474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36475 (exit $ac_status); } >/dev
/null
; then
36476 if test -s conftest.err
; then
36477 ac_cpp_err
=$ac_c_preproc_warn_flag
36478 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36485 if test -z "$ac_cpp_err"; then
36486 ac_header_preproc
=yes
36488 echo "$as_me: failed program was:" >&5
36489 sed 's/^/| /' conftest.
$ac_ext >&5
36491 ac_header_preproc
=no
36493 rm -f conftest.err conftest.
$ac_ext
36494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36495 echo "${ECHO_T}$ac_header_preproc" >&6
36497 # So? What about this header?
36498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36500 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36501 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36503 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36504 ac_header_preproc
=yes
36507 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36508 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36509 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36510 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36511 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36512 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36513 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36514 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36517 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36518 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36521 ## ----------------------------------------- ##
36522 ## Report this to wx-dev@lists.wxwidgets.org ##
36523 ## ----------------------------------------- ##
36526 sed "s/^/$as_me: WARNING: /" >&2
36529 echo "$as_me:$LINENO: checking for $ac_header" >&5
36530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36532 echo $ECHO_N "(cached) $ECHO_C" >&6
36534 eval "$as_ac_Header=\$ac_header_preproc"
36536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36541 cat >>confdefs.h
<<_ACEOF
36542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36550 if test "$ac_cv_header_ole2_h" = "yes" ; then
36551 if test "$GCC" = yes ; then
36555 ac_cpp
='$CXXCPP $CPPFLAGS'
36556 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36557 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36558 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36561 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36562 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36563 cat >conftest.
$ac_ext <<_ACEOF
36566 cat confdefs.h
>>conftest.
$ac_ext
36567 cat >>conftest.
$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569 #include <windows.h>
36579 rm -f conftest.
$ac_objext
36580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36581 (eval $ac_compile) 2>conftest.er1
36583 grep -v '^ *+' conftest.er1
>conftest.err
36585 cat conftest.err
>&5
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); } &&
36588 { ac_try
='test -z "$ac_cxx_werror_flag"
36589 || test ! -s conftest.err'
36590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36591 (eval $ac_try) 2>&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); }; } &&
36595 { ac_try
='test -s conftest.$ac_objext'
36596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36597 (eval $ac_try) 2>&5
36599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600 (exit $ac_status); }; }; then
36601 echo "$as_me:$LINENO: result: no" >&5
36602 echo "${ECHO_T}no" >&6
36604 echo "$as_me: failed program was:" >&5
36605 sed 's/^/| /' conftest.
$ac_ext >&5
36607 echo "$as_me:$LINENO: result: yes" >&5
36608 echo "${ECHO_T}yes" >&6
36609 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36613 ac_cpp
='$CPP $CPPFLAGS'
36614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36618 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36619 if test "$wxUSE_OLE" = "yes" ; then
36620 cat >>confdefs.h
<<\_ACEOF
36621 #define wxUSE_OLE 1
36627 if test "$wxUSE_DATAOBJ" = "yes" ; then
36628 cat >>confdefs.h
<<\_ACEOF
36629 #define wxUSE_DATAOBJ 1
36634 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36635 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36638 wxUSE_DRAG_AND_DROP
=no
36643 if test "$wxUSE_METAFILE" = "yes"; then
36644 cat >>confdefs.h
<<\_ACEOF
36645 #define wxUSE_METAFILE 1
36649 cat >>confdefs.h
<<\_ACEOF
36650 #define wxUSE_ENH_METAFILE 1
36656 if test "$wxUSE_IPC" = "yes"; then
36657 if test "$wxUSE_SOCKETS" != "yes"; then
36658 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36659 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36662 cat >>confdefs.h
<<\_ACEOF
36663 #define wxUSE_IPC 1
36668 if test "$wxUSE_CLIPBOARD" = "yes"; then
36669 if test "$wxUSE_MGL" = 1; then
36670 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36671 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36675 if test "$wxUSE_CLIPBOARD" = "yes"; then
36676 cat >>confdefs.h
<<\_ACEOF
36677 #define wxUSE_CLIPBOARD 1
36681 cat >>confdefs.h
<<\_ACEOF
36682 #define wxUSE_DATAOBJ 1
36688 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36689 if test "$wxUSE_GTK" = 1; then
36690 if test "$WXGTK12" != 1; then
36691 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36692 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36693 wxUSE_DRAG_AND_DROP
=no
36697 if test "$wxUSE_MOTIF" = 1; then
36698 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36699 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36700 wxUSE_DRAG_AND_DROP
=no
36703 if test "$wxUSE_X11" = 1; then
36704 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36705 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36706 wxUSE_DRAG_AND_DROP
=no
36709 if test "$wxUSE_MGL" = 1; then
36710 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36711 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36712 wxUSE_DRAG_AND_DROP
=no
36715 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36716 cat >>confdefs.h
<<\_ACEOF
36717 #define wxUSE_DRAG_AND_DROP 1
36724 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36728 if test "$wxUSE_SPLINES" = "yes" ; then
36729 cat >>confdefs.h
<<\_ACEOF
36730 #define wxUSE_SPLINES 1
36737 if test "$wxUSE_CONTROLS" = "yes"; then
36741 if test "$wxUSE_ACCEL" = "yes"; then
36742 cat >>confdefs.h
<<\_ACEOF
36743 #define wxUSE_ACCEL 1
36749 if test "$wxUSE_BUTTON" = "yes"; then
36750 cat >>confdefs.h
<<\_ACEOF
36751 #define wxUSE_BUTTON 1
36757 if test "$wxUSE_BMPBUTTON" = "yes"; then
36758 cat >>confdefs.h
<<\_ACEOF
36759 #define wxUSE_BMPBUTTON 1
36765 if test "$wxUSE_CALCTRL" = "yes"; then
36766 cat >>confdefs.h
<<\_ACEOF
36767 #define wxUSE_CALENDARCTRL 1
36771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36774 if test "$wxUSE_CARET" = "yes"; then
36775 cat >>confdefs.h
<<\_ACEOF
36776 #define wxUSE_CARET 1
36780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36783 if test "$wxUSE_COMBOBOX" = "yes"; then
36784 cat >>confdefs.h
<<\_ACEOF
36785 #define wxUSE_COMBOBOX 1
36791 if test "$wxUSE_CHOICE" = "yes"; then
36792 cat >>confdefs.h
<<\_ACEOF
36793 #define wxUSE_CHOICE 1
36799 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36800 cat >>confdefs.h
<<\_ACEOF
36801 #define wxUSE_CHOICEBOOK 1
36807 if test "$wxUSE_CHECKBOX" = "yes"; then
36808 cat >>confdefs.h
<<\_ACEOF
36809 #define wxUSE_CHECKBOX 1
36815 if test "$wxUSE_CHECKLST" = "yes"; then
36816 cat >>confdefs.h
<<\_ACEOF
36817 #define wxUSE_CHECKLISTBOX 1
36821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36824 if test "$wxUSE_DISPLAY" = "yes"; then
36825 cat >>confdefs.h
<<\_ACEOF
36826 #define wxUSE_DISPLAY 1
36829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36832 if test "$wxUSE_GAUGE" = "yes"; then
36833 cat >>confdefs.h
<<\_ACEOF
36834 #define wxUSE_GAUGE 1
36840 if test "$wxUSE_GRID" = "yes"; then
36841 cat >>confdefs.h
<<\_ACEOF
36842 #define wxUSE_GRID 1
36846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36849 if test "$wxUSE_IMAGLIST" = "yes"; then
36850 cat >>confdefs.h
<<\_ACEOF
36851 #define wxUSE_IMAGLIST 1
36856 if test "$wxUSE_LISTBOOK" = "yes"; then
36857 cat >>confdefs.h
<<\_ACEOF
36858 #define wxUSE_LISTBOOK 1
36864 if test "$wxUSE_LISTBOX" = "yes"; then
36865 cat >>confdefs.h
<<\_ACEOF
36866 #define wxUSE_LISTBOX 1
36872 if test "$wxUSE_LISTCTRL" = "yes"; then
36873 if test "$wxUSE_IMAGLIST" = "yes"; then
36874 cat >>confdefs.h
<<\_ACEOF
36875 #define wxUSE_LISTCTRL 1
36879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36881 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36882 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36886 if test "$wxUSE_NOTEBOOK" = "yes"; then
36887 cat >>confdefs.h
<<\_ACEOF
36888 #define wxUSE_NOTEBOOK 1
36892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36896 if test "$wxUSE_RADIOBOX" = "yes"; then
36897 cat >>confdefs.h
<<\_ACEOF
36898 #define wxUSE_RADIOBOX 1
36904 if test "$wxUSE_RADIOBTN" = "yes"; then
36905 cat >>confdefs.h
<<\_ACEOF
36906 #define wxUSE_RADIOBTN 1
36912 if test "$wxUSE_SASH" = "yes"; then
36913 cat >>confdefs.h
<<\_ACEOF
36914 #define wxUSE_SASH 1
36917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36920 if test "$wxUSE_SCROLLBAR" = "yes"; then
36921 cat >>confdefs.h
<<\_ACEOF
36922 #define wxUSE_SCROLLBAR 1
36926 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36929 if test "$wxUSE_SLIDER" = "yes"; then
36930 cat >>confdefs.h
<<\_ACEOF
36931 #define wxUSE_SLIDER 1
36937 if test "$wxUSE_SPINBTN" = "yes"; then
36938 cat >>confdefs.h
<<\_ACEOF
36939 #define wxUSE_SPINBTN 1
36945 if test "$wxUSE_SPINCTRL" = "yes"; then
36946 cat >>confdefs.h
<<\_ACEOF
36947 #define wxUSE_SPINCTRL 1
36953 if test "$wxUSE_SPLITTER" = "yes"; then
36954 cat >>confdefs.h
<<\_ACEOF
36955 #define wxUSE_SPLITTER 1
36958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36961 if test "$wxUSE_STATBMP" = "yes"; then
36962 cat >>confdefs.h
<<\_ACEOF
36963 #define wxUSE_STATBMP 1
36969 if test "$wxUSE_STATBOX" = "yes"; then
36970 cat >>confdefs.h
<<\_ACEOF
36971 #define wxUSE_STATBOX 1
36977 if test "$wxUSE_STATTEXT" = "yes"; then
36978 cat >>confdefs.h
<<\_ACEOF
36979 #define wxUSE_STATTEXT 1
36985 if test "$wxUSE_STATLINE" = "yes"; then
36986 cat >>confdefs.h
<<\_ACEOF
36987 #define wxUSE_STATLINE 1
36993 if test "$wxUSE_STATUSBAR" = "yes"; then
36994 cat >>confdefs.h
<<\_ACEOF
36995 #define wxUSE_STATUSBAR 1
37000 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37003 if test "$wxUSE_TABDIALOG" = "yes"; then
37004 cat >>confdefs.h
<<\_ACEOF
37005 #define wxUSE_TAB_DIALOG 1
37008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37011 if test "$wxUSE_TEXTCTRL" = "yes"; then
37012 cat >>confdefs.h
<<\_ACEOF
37013 #define wxUSE_TEXTCTRL 1
37017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37020 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37021 if test "$wxUSE_COCOA" = 1 ; then
37022 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37023 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37026 if test "$wxUSE_PM" = 1; then
37027 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37028 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37032 if test "$wxUSE_UNIVERSAL" = "yes"; then
37033 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37034 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37038 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37039 cat >>confdefs.h
<<\_ACEOF
37040 #define wxUSE_TOGGLEBTN 1
37047 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37048 cat >>confdefs.h
<<\_ACEOF
37049 #define wxUSE_TOOLBAR_SIMPLE 1
37052 wxUSE_TOOLBAR
="yes"
37056 if test "$wxUSE_TOOLBAR" = "yes"; then
37057 cat >>confdefs.h
<<\_ACEOF
37058 #define wxUSE_TOOLBAR 1
37063 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37064 wxUSE_TOOLBAR_NATIVE
="yes"
37067 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37068 cat >>confdefs.h
<<\_ACEOF
37069 #define wxUSE_TOOLBAR_NATIVE 1
37075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37078 if test "$wxUSE_TOOLTIPS" = "yes"; then
37079 if test "$wxUSE_MOTIF" = 1; then
37080 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37081 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37083 if test "$wxUSE_UNIVERSAL" = "yes"; then
37084 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37085 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37087 cat >>confdefs.h
<<\_ACEOF
37088 #define wxUSE_TOOLTIPS 1
37095 if test "$wxUSE_TREECTRL" = "yes"; then
37096 if test "$wxUSE_IMAGLIST" = "yes"; then
37097 cat >>confdefs.h
<<\_ACEOF
37098 #define wxUSE_TREECTRL 1
37102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37104 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37105 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37109 if test "$wxUSE_POPUPWIN" = "yes"; then
37110 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37111 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37112 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37114 if test "$wxUSE_PM" = 1; then
37115 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37116 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37118 cat >>confdefs.h
<<\_ACEOF
37119 #define wxUSE_POPUPWIN 1
37128 if test "$wxUSE_TIPWINDOW" = "yes"; then
37129 if test "$wxUSE_PM" = 1; then
37130 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37131 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37133 cat >>confdefs.h
<<\_ACEOF
37134 #define wxUSE_TIPWINDOW 1
37140 if test "$USES_CONTROLS" = 1; then
37141 cat >>confdefs.h
<<\_ACEOF
37142 #define wxUSE_CONTROLS 1
37148 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37149 cat >>confdefs.h
<<\_ACEOF
37150 #define wxUSE_ACCESSIBILITY 1
37153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37156 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37157 cat >>confdefs.h
<<\_ACEOF
37158 #define wxUSE_DRAGIMAGE 1
37161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37164 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37165 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37166 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37167 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37169 cat >>confdefs.h
<<\_ACEOF
37170 #define wxUSE_EXCEPTIONS 1
37173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
37178 if test "$wxUSE_HTML" = "yes"; then
37179 cat >>confdefs.h
<<\_ACEOF
37180 #define wxUSE_HTML 1
37184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37185 if test "$wxUSE_MAC" = 1; then
37186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
37189 if test "$wxUSE_WEBKIT" = "yes"; then
37190 if test "$wxUSE_MAC" = 1; then
37191 old_CPPFLAGS
="$CPPFLAGS"
37192 CPPFLAGS
="$CPPFLAGS -x objective-c++"
37193 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37194 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37195 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37196 echo $ECHO_N "(cached) $ECHO_C" >&6
37198 cat >conftest.
$ac_ext <<_ACEOF
37201 cat confdefs.h
>>conftest.
$ac_ext
37202 cat >>conftest.
$ac_ext <<_ACEOF
37203 /* end confdefs.h. */
37204 #include <Carbon/Carbon.h>
37206 #include <WebKit/HIWebView.h>
37208 rm -f conftest.
$ac_objext
37209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37210 (eval $ac_compile) 2>conftest.er1
37212 grep -v '^ *+' conftest.er1
>conftest.err
37214 cat conftest.err
>&5
37215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216 (exit $ac_status); } &&
37217 { ac_try
='test -z "$ac_c_werror_flag"
37218 || test ! -s conftest.err'
37219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37220 (eval $ac_try) 2>&5
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); }; } &&
37224 { ac_try
='test -s conftest.$ac_objext'
37225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37226 (eval $ac_try) 2>&5
37228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37229 (exit $ac_status); }; }; then
37230 ac_cv_header_WebKit_HIWebView_h
=yes
37232 echo "$as_me: failed program was:" >&5
37233 sed 's/^/| /' conftest.
$ac_ext >&5
37235 ac_cv_header_WebKit_HIWebView_h
=no
37237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37239 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37240 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37241 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37243 cat >>confdefs.h
<<\_ACEOF
37244 #define wxUSE_WEBKIT 1
37247 WEBKIT_LINK
="-framework WebKit"
37251 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37252 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37258 CPPFLAGS
="$old_CPPFLAGS"
37259 elif test "$wxUSE_COCOA" = 1; then
37260 cat >>confdefs.h
<<\_ACEOF
37261 #define wxUSE_WEBKIT 1
37270 if test "$wxUSE_XRC" = "yes"; then
37271 if test "$wxUSE_XML" != "yes"; then
37272 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37273 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37276 cat >>confdefs.h
<<\_ACEOF
37277 #define wxUSE_XRC 1
37281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
37285 if test "$wxUSE_MENUS" = "yes"; then
37286 cat >>confdefs.h
<<\_ACEOF
37287 #define wxUSE_MENUS 1
37290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37293 if test "$wxUSE_METAFILE" = "yes"; then
37294 cat >>confdefs.h
<<\_ACEOF
37295 #define wxUSE_METAFILE 1
37300 if test "$wxUSE_MIMETYPE" = "yes"; then
37301 cat >>confdefs.h
<<\_ACEOF
37302 #define wxUSE_MIMETYPE 1
37307 if test "$wxUSE_MINIFRAME" = "yes"; then
37308 cat >>confdefs.h
<<\_ACEOF
37309 #define wxUSE_MINIFRAME 1
37312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37315 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37316 cat >>confdefs.h
<<\_ACEOF
37317 #define wxUSE_SYSTEM_OPTIONS 1
37320 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37321 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37327 if test "$wxUSE_VALIDATORS" = "yes"; then
37328 cat >>confdefs.h
<<\_ACEOF
37329 #define wxUSE_VALIDATORS 1
37332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37335 if test "$wxUSE_PALETTE" = "yes" ; then
37336 cat >>confdefs.h
<<\_ACEOF
37337 #define wxUSE_PALETTE 1
37342 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37343 LIBS
=" -lunicows $LIBS"
37347 if test "$wxUSE_IMAGE" = "yes" ; then
37348 cat >>confdefs.h
<<\_ACEOF
37349 #define wxUSE_IMAGE 1
37353 if test "$wxUSE_GIF" = "yes" ; then
37354 cat >>confdefs.h
<<\_ACEOF
37355 #define wxUSE_GIF 1
37360 if test "$wxUSE_PCX" = "yes" ; then
37361 cat >>confdefs.h
<<\_ACEOF
37362 #define wxUSE_PCX 1
37367 if test "$wxUSE_IFF" = "yes" ; then
37368 cat >>confdefs.h
<<\_ACEOF
37369 #define wxUSE_IFF 1
37374 if test "$wxUSE_PNM" = "yes" ; then
37375 cat >>confdefs.h
<<\_ACEOF
37376 #define wxUSE_PNM 1
37381 if test "$wxUSE_XPM" = "yes" ; then
37382 cat >>confdefs.h
<<\_ACEOF
37383 #define wxUSE_XPM 1
37388 if test "$wxUSE_ICO_CUR" = "yes" ; then
37389 cat >>confdefs.h
<<\_ACEOF
37390 #define wxUSE_ICO_CUR 1
37397 if test "$wxUSE_CHOICEDLG" = "yes"; then
37398 cat >>confdefs.h
<<\_ACEOF
37399 #define wxUSE_CHOICEDLG 1
37404 if test "$wxUSE_COLOURDLG" = "yes"; then
37405 cat >>confdefs.h
<<\_ACEOF
37406 #define wxUSE_COLOURDLG 1
37411 if test "$wxUSE_FILEDLG" = "yes"; then
37412 cat >>confdefs.h
<<\_ACEOF
37413 #define wxUSE_FILEDLG 1
37418 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37419 cat >>confdefs.h
<<\_ACEOF
37420 #define wxUSE_FINDREPLDLG 1
37425 if test "$wxUSE_FONTDLG" = "yes"; then
37426 cat >>confdefs.h
<<\_ACEOF
37427 #define wxUSE_FONTDLG 1
37432 if test "$wxUSE_DIRDLG" = "yes"; then
37433 if test "$wxUSE_TREECTRL" != "yes"; then
37434 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37435 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37437 cat >>confdefs.h
<<\_ACEOF
37438 #define wxUSE_DIRDLG 1
37444 if test "$wxUSE_MSGDLG" = "yes"; then
37445 cat >>confdefs.h
<<\_ACEOF
37446 #define wxUSE_MSGDLG 1
37451 if test "$wxUSE_NUMBERDLG" = "yes"; then
37452 cat >>confdefs.h
<<\_ACEOF
37453 #define wxUSE_NUMBERDLG 1
37458 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37459 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37460 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37461 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37463 cat >>confdefs.h
<<\_ACEOF
37464 #define wxUSE_PROGRESSDLG 1
37470 if test "$wxUSE_SPLASH" = "yes"; then
37471 cat >>confdefs.h
<<\_ACEOF
37472 #define wxUSE_SPLASH 1
37475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37478 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37479 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37480 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37481 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37483 cat >>confdefs.h
<<\_ACEOF
37484 #define wxUSE_STARTUP_TIPS 1
37490 if test "$wxUSE_TEXTDLG" = "yes"; then
37491 cat >>confdefs.h
<<\_ACEOF
37492 #define wxUSE_TEXTDLG 1
37497 if test "$wxUSE_WIZARDDLG" = "yes"; then
37498 cat >>confdefs.h
<<\_ACEOF
37499 #define wxUSE_WIZARDDLG 1
37502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37506 if test "$cross_compiling" = "yes"; then
37509 OSINFO
=`uname -s -r -m`
37510 OSINFO
="\"$OSINFO\""
37513 cat >>confdefs.h
<<_ACEOF
37514 #define WXWIN_OS_DESCRIPTION $OSINFO
37519 if test "x$prefix" != "xNONE"; then
37522 wxPREFIX
=$ac_default_prefix
37525 cat >>confdefs.h
<<_ACEOF
37526 #define wxINSTALL_PREFIX "$wxPREFIX"
37532 CORE_BASE_LIBS
="net base"
37533 CORE_GUI_LIBS
="adv core"
37535 if test "$wxUSE_XML" = "yes" ; then
37536 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37538 if test "$wxUSE_ODBC" != "no" ; then
37539 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37540 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37542 if test "$wxUSE_HTML" = "yes" ; then
37543 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37545 if test "$wxUSE_XRC" = "yes" ; then
37546 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
37549 if test "$wxUSE_GUI" != "yes"; then
37560 if test "$wxUSE_MAC" = 1 ; then
37561 if test "$wxUSE_SOUND" = "yes"; then
37562 LDFLAGS
="$LDFLAGS -framework QuickTime"
37564 if test "$USE_DARWIN" = 1; then
37565 LDFLAGS
="$LDFLAGS -framework IOKit"
37567 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37569 if test "$wxUSE_COCOA" = 1 ; then
37570 LDFLAGS
="$LDFLAGS -framework Cocoa"
37574 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37581 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37582 echo "$as_me:$LINENO: checking for $ac_func" >&5
37583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37584 if eval "test \"\${$as_ac_var+set}\" = set"; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37587 cat >conftest.
$ac_ext <<_ACEOF
37590 cat confdefs.h
>>conftest.
$ac_ext
37591 cat >>conftest.
$ac_ext <<_ACEOF
37592 /* end confdefs.h. */
37593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37595 #define $ac_func innocuous_$ac_func
37597 /* System header to define __stub macros and hopefully few prototypes,
37598 which can conflict with char $ac_func (); below.
37599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37600 <limits.h> exists even on freestanding compilers. */
37603 # include <limits.h>
37605 # include <assert.h>
37610 /* Override any gcc2 internal prototype to avoid an error. */
37615 /* We use char because int might match the return type of a gcc2
37616 builtin and then its argument prototype would still apply. */
37618 /* The GNU C library defines this for functions which it implements
37619 to always fail with ENOSYS. Some functions are actually named
37620 something starting with __ and the normal name is an alias. */
37621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37624 char (*f) () = $ac_func;
37633 return f != $ac_func;
37638 rm -f conftest.
$ac_objext conftest
$ac_exeext
37639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37640 (eval $ac_link) 2>conftest.er1
37642 grep -v '^ *+' conftest.er1
>conftest.err
37644 cat conftest.err
>&5
37645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646 (exit $ac_status); } &&
37647 { ac_try
='test -z "$ac_c_werror_flag"
37648 || test ! -s conftest.err'
37649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37650 (eval $ac_try) 2>&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); }; } &&
37654 { ac_try
='test -s conftest$ac_exeext'
37655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37656 (eval $ac_try) 2>&5
37658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659 (exit $ac_status); }; }; then
37660 eval "$as_ac_var=yes"
37662 echo "$as_me: failed program was:" >&5
37663 sed 's/^/| /' conftest.
$ac_ext >&5
37665 eval "$as_ac_var=no"
37667 rm -f conftest.err conftest.
$ac_objext \
37668 conftest
$ac_exeext conftest.
$ac_ext
37670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37672 if test `eval echo '${'$as_ac_var'}'` = yes; then
37673 cat >>confdefs.h
<<_ACEOF
37674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37681 for ac_func
in floor
37683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37684 echo "$as_me:$LINENO: checking for $ac_func" >&5
37685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37686 if eval "test \"\${$as_ac_var+set}\" = set"; then
37687 echo $ECHO_N "(cached) $ECHO_C" >&6
37689 cat >conftest.
$ac_ext <<_ACEOF
37692 cat confdefs.h
>>conftest.
$ac_ext
37693 cat >>conftest.
$ac_ext <<_ACEOF
37694 /* end confdefs.h. */
37695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37697 #define $ac_func innocuous_$ac_func
37699 /* System header to define __stub macros and hopefully few prototypes,
37700 which can conflict with char $ac_func (); below.
37701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37702 <limits.h> exists even on freestanding compilers. */
37705 # include <limits.h>
37707 # include <assert.h>
37712 /* Override any gcc2 internal prototype to avoid an error. */
37717 /* We use char because int might match the return type of a gcc2
37718 builtin and then its argument prototype would still apply. */
37720 /* The GNU C library defines this for functions which it implements
37721 to always fail with ENOSYS. Some functions are actually named
37722 something starting with __ and the normal name is an alias. */
37723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37726 char (*f) () = $ac_func;
37735 return f != $ac_func;
37740 rm -f conftest.
$ac_objext conftest
$ac_exeext
37741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37742 (eval $ac_link) 2>conftest.er1
37744 grep -v '^ *+' conftest.er1
>conftest.err
37746 cat conftest.err
>&5
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); } &&
37749 { ac_try
='test -z "$ac_c_werror_flag"
37750 || test ! -s conftest.err'
37751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37752 (eval $ac_try) 2>&5
37754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37755 (exit $ac_status); }; } &&
37756 { ac_try
='test -s conftest$ac_exeext'
37757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37758 (eval $ac_try) 2>&5
37760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37761 (exit $ac_status); }; }; then
37762 eval "$as_ac_var=yes"
37764 echo "$as_me: failed program was:" >&5
37765 sed 's/^/| /' conftest.
$ac_ext >&5
37767 eval "$as_ac_var=no"
37769 rm -f conftest.err conftest.
$ac_objext \
37770 conftest
$ac_exeext conftest.
$ac_ext
37772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37774 if test `eval echo '${'$as_ac_var'}'` = yes; then
37775 cat >>confdefs.h
<<_ACEOF
37776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37782 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37783 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37784 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37785 echo "$as_me:$LINENO: result: yes" >&5
37786 echo "${ECHO_T}yes" >&6
37788 echo "$as_me:$LINENO: result: no" >&5
37789 echo "${ECHO_T}no" >&6
37791 # use different functions to avoid configure caching
37797 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37798 echo "$as_me:$LINENO: checking for $ac_func" >&5
37799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37800 if eval "test \"\${$as_ac_var+set}\" = set"; then
37801 echo $ECHO_N "(cached) $ECHO_C" >&6
37803 cat >conftest.
$ac_ext <<_ACEOF
37806 cat confdefs.h
>>conftest.
$ac_ext
37807 cat >>conftest.
$ac_ext <<_ACEOF
37808 /* end confdefs.h. */
37809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37811 #define $ac_func innocuous_$ac_func
37813 /* System header to define __stub macros and hopefully few prototypes,
37814 which can conflict with char $ac_func (); below.
37815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37816 <limits.h> exists even on freestanding compilers. */
37819 # include <limits.h>
37821 # include <assert.h>
37826 /* Override any gcc2 internal prototype to avoid an error. */
37831 /* We use char because int might match the return type of a gcc2
37832 builtin and then its argument prototype would still apply. */
37834 /* The GNU C library defines this for functions which it implements
37835 to always fail with ENOSYS. Some functions are actually named
37836 something starting with __ and the normal name is an alias. */
37837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37840 char (*f) () = $ac_func;
37849 return f != $ac_func;
37854 rm -f conftest.
$ac_objext conftest
$ac_exeext
37855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37856 (eval $ac_link) 2>conftest.er1
37858 grep -v '^ *+' conftest.er1
>conftest.err
37860 cat conftest.err
>&5
37861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37862 (exit $ac_status); } &&
37863 { ac_try
='test -z "$ac_c_werror_flag"
37864 || test ! -s conftest.err'
37865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37866 (eval $ac_try) 2>&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); }; } &&
37870 { ac_try
='test -s conftest$ac_exeext'
37871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37872 (eval $ac_try) 2>&5
37874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37875 (exit $ac_status); }; }; then
37876 eval "$as_ac_var=yes"
37878 echo "$as_me: failed program was:" >&5
37879 sed 's/^/| /' conftest.
$ac_ext >&5
37881 eval "$as_ac_var=no"
37883 rm -f conftest.err conftest.
$ac_objext \
37884 conftest
$ac_exeext conftest.
$ac_ext
37886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37888 if test `eval echo '${'$as_ac_var'}'` = yes; then
37889 cat >>confdefs.h
<<_ACEOF
37890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37897 for ac_func
in ceil
37899 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37900 echo "$as_me:$LINENO: checking for $ac_func" >&5
37901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37902 if eval "test \"\${$as_ac_var+set}\" = set"; then
37903 echo $ECHO_N "(cached) $ECHO_C" >&6
37905 cat >conftest.
$ac_ext <<_ACEOF
37908 cat confdefs.h
>>conftest.
$ac_ext
37909 cat >>conftest.
$ac_ext <<_ACEOF
37910 /* end confdefs.h. */
37911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37913 #define $ac_func innocuous_$ac_func
37915 /* System header to define __stub macros and hopefully few prototypes,
37916 which can conflict with char $ac_func (); below.
37917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37918 <limits.h> exists even on freestanding compilers. */
37921 # include <limits.h>
37923 # include <assert.h>
37928 /* Override any gcc2 internal prototype to avoid an error. */
37933 /* We use char because int might match the return type of a gcc2
37934 builtin and then its argument prototype would still apply. */
37936 /* The GNU C library defines this for functions which it implements
37937 to always fail with ENOSYS. Some functions are actually named
37938 something starting with __ and the normal name is an alias. */
37939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37942 char (*f) () = $ac_func;
37951 return f != $ac_func;
37956 rm -f conftest.
$ac_objext conftest
$ac_exeext
37957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37958 (eval $ac_link) 2>conftest.er1
37960 grep -v '^ *+' conftest.er1
>conftest.err
37962 cat conftest.err
>&5
37963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37964 (exit $ac_status); } &&
37965 { ac_try
='test -z "$ac_c_werror_flag"
37966 || test ! -s conftest.err'
37967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37968 (eval $ac_try) 2>&5
37970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37971 (exit $ac_status); }; } &&
37972 { ac_try
='test -s conftest$ac_exeext'
37973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37974 (eval $ac_try) 2>&5
37976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37977 (exit $ac_status); }; }; then
37978 eval "$as_ac_var=yes"
37980 echo "$as_me: failed program was:" >&5
37981 sed 's/^/| /' conftest.
$ac_ext >&5
37983 eval "$as_ac_var=no"
37985 rm -f conftest.err conftest.
$ac_objext \
37986 conftest
$ac_exeext conftest.
$ac_ext
37988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37990 if test `eval echo '${'$as_ac_var'}'` = yes; then
37991 cat >>confdefs.h
<<_ACEOF
37992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37998 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37999 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38000 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38001 echo "$as_me:$LINENO: result: yes" >&5
38002 echo "${ECHO_T}yes" >&6
38004 echo "$as_me:$LINENO: result: no" >&5
38005 echo "${ECHO_T}no" >&6
38006 # not sure we should warn the user, crash, etc.
38010 if test "$wxUSE_GUI" = "yes"; then
38013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
38014 drawing dynamic erase event exec font image \
38015 minimal propsize rotate shaped widgets render"
38017 if test "$wxUSE_MONOLITHIC" != "yes"; then
38018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
38021 SAMPLES_SUBDIRS
="console"
38025 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
38026 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38028 if test "$GXX" = yes ; then
38029 CXXWARNINGS
="-Wall"
38032 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38034 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
38035 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
38036 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
38040 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38041 EXTRALIBS_XML
="$EXPAT_LINK"
38042 EXTRALIBS_HTML
="$MSPACK_LINK"
38043 EXTRALIBS_ODBC
="$ODBC_LINK"
38044 if test "$wxUSE_GUI" = "yes"; then
38045 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38047 if test "$wxUSE_OPENGL" = "yes"; then
38048 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38051 LDFLAGS
="$LDFLAGS $PROFILE"
38053 if test "$wxUSE_GTK" = 1; then
38056 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38059 WXCONFIG_EXTRALIBS
="$LIBS"
38061 if test "$wxUSE_REGEX" = "builtin" ; then
38062 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38064 if test "$wxUSE_EXPAT" = "builtin" ; then
38065 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38067 if test "$wxUSE_ODBC" = "builtin" ; then
38068 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38070 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38071 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38073 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38074 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38076 if test "$wxUSE_LIBPNG" = "builtin" ; then
38077 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38079 if test "$wxUSE_ZLIB" = "builtin" ; then
38080 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38082 if test "$wxUSE_ODBC" = "builtin" ; then
38083 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38086 for i
in $wxconfig_3rdparty ; do
38087 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38091 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38105 if test $wxUSE_MONOLITHIC = "yes" ; then
38111 if test $wxUSE_PLUGINS = "yes" ; then
38117 if test $wxUSE_ODBC != "no" ; then
38123 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38151 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38162 TOOLKIT_USER
="GTK+"
38163 if test "$WXGTK20" = 1; then
38164 TOOLKIT_USER
="$TOOLKIT_USER 2"
38169 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
38174 if test "x$BAKEFILE_HOST" = "x"; then
38175 BAKEFILE_HOST
="${host}"
38178 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38180 if test -n "$ac_tool_prefix"; then
38181 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38182 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38183 echo "$as_me:$LINENO: checking for $ac_word" >&5
38184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38185 if test "${ac_cv_prog_RANLIB+set}" = set; then
38186 echo $ECHO_N "(cached) $ECHO_C" >&6
38188 if test -n "$RANLIB"; then
38189 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38192 for as_dir
in $PATH
38195 test -z "$as_dir" && as_dir
=.
38196 for ac_exec_ext
in '' $ac_executable_extensions; do
38197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38198 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38207 RANLIB
=$ac_cv_prog_RANLIB
38208 if test -n "$RANLIB"; then
38209 echo "$as_me:$LINENO: result: $RANLIB" >&5
38210 echo "${ECHO_T}$RANLIB" >&6
38212 echo "$as_me:$LINENO: result: no" >&5
38213 echo "${ECHO_T}no" >&6
38217 if test -z "$ac_cv_prog_RANLIB"; then
38218 ac_ct_RANLIB
=$RANLIB
38219 # Extract the first word of "ranlib", so it can be a program name with args.
38220 set dummy ranlib
; ac_word
=$2
38221 echo "$as_me:$LINENO: checking for $ac_word" >&5
38222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38223 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38224 echo $ECHO_N "(cached) $ECHO_C" >&6
38226 if test -n "$ac_ct_RANLIB"; then
38227 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38230 for as_dir
in $PATH
38233 test -z "$as_dir" && as_dir
=.
38234 for ac_exec_ext
in '' $ac_executable_extensions; do
38235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38236 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38243 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38246 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38247 if test -n "$ac_ct_RANLIB"; then
38248 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38249 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38251 echo "$as_me:$LINENO: result: no" >&5
38252 echo "${ECHO_T}no" >&6
38255 RANLIB
=$ac_ct_RANLIB
38257 RANLIB
="$ac_cv_prog_RANLIB"
38260 # Find a good install program. We prefer a C program (faster),
38261 # so one script is as good as another. But avoid the broken or
38262 # incompatible versions:
38263 # SysV /etc/install, /usr/sbin/install
38264 # SunOS /usr/etc/install
38265 # IRIX /sbin/install
38267 # AmigaOS /C/install, which installs bootblocks on floppy discs
38268 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38269 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38270 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38271 # OS/2's system install, which has a completely different semantic
38272 # ./install, which can be erroneously created by make from ./install.sh.
38273 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38274 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38275 if test -z "$INSTALL"; then
38276 if test "${ac_cv_path_install+set}" = set; then
38277 echo $ECHO_N "(cached) $ECHO_C" >&6
38279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38280 for as_dir
in $PATH
38283 test -z "$as_dir" && as_dir
=.
38284 # Account for people who put trailing slashes in PATH elements.
38286 .
/ | .
// | /cC
/* | \
38287 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38288 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38291 # OSF1 and SCO ODT 3.0 have their own names for install.
38292 # Don't use installbsd from OSF since it installs stuff as root
38294 for ac_prog
in ginstall scoinst
install; do
38295 for ac_exec_ext
in '' $ac_executable_extensions; do
38296 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38297 if test $ac_prog = install &&
38298 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38299 # AIX install. It has an incompatible calling convention.
38301 elif test $ac_prog = install &&
38302 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38303 # program-specific install script used by HP pwplus--don't use.
38306 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38318 if test "${ac_cv_path_install+set}" = set; then
38319 INSTALL
=$ac_cv_path_install
38321 # As a last resort, use the slow shell script. We don't cache a
38322 # path for INSTALL within a source directory, because that will
38323 # break other packages using the cache if that directory is
38324 # removed, or if the path is relative.
38325 INSTALL
=$ac_install_sh
38328 echo "$as_me:$LINENO: result: $INSTALL" >&5
38329 echo "${ECHO_T}$INSTALL" >&6
38331 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38332 # It thinks the first close brace ends the variable substitution.
38333 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38335 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38337 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38339 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38340 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38342 if test "$LN_S" = "ln -s"; then
38343 echo "$as_me:$LINENO: result: yes" >&5
38344 echo "${ECHO_T}yes" >&6
38346 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38347 echo "${ECHO_T}no, using $LN_S" >&6
38351 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38352 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38353 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38354 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38355 echo $ECHO_N "(cached) $ECHO_C" >&6
38357 cat >conftest.
make <<\_ACEOF
38359 @
echo 'ac_maketemp="$(MAKE)"'
38361 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38362 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38363 if test -n "$ac_maketemp"; then
38364 eval ac_cv_prog_make_
${ac_make}_set
=yes
38366 eval ac_cv_prog_make_
${ac_make}_set
=no
38368 rm -f conftest.
make
38370 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38371 echo "$as_me:$LINENO: result: yes" >&5
38372 echo "${ECHO_T}yes" >&6
38375 echo "$as_me:$LINENO: result: no" >&5
38376 echo "${ECHO_T}no" >&6
38377 SET_MAKE
="MAKE=${MAKE-make}"
38382 if test -n "$ac_tool_prefix"; then
38383 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38384 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38385 echo "$as_me:$LINENO: checking for $ac_word" >&5
38386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38387 if test "${ac_cv_prog_AR+set}" = set; then
38388 echo $ECHO_N "(cached) $ECHO_C" >&6
38390 if test -n "$AR"; then
38391 ac_cv_prog_AR
="$AR" # Let the user override the test.
38393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38394 for as_dir
in $PATH
38397 test -z "$as_dir" && as_dir
=.
38398 for ac_exec_ext
in '' $ac_executable_extensions; do
38399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38400 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38410 if test -n "$AR"; then
38411 echo "$as_me:$LINENO: result: $AR" >&5
38412 echo "${ECHO_T}$AR" >&6
38414 echo "$as_me:$LINENO: result: no" >&5
38415 echo "${ECHO_T}no" >&6
38419 if test -z "$ac_cv_prog_AR"; then
38421 # Extract the first word of "ar", so it can be a program name with args.
38422 set dummy
ar; ac_word
=$2
38423 echo "$as_me:$LINENO: checking for $ac_word" >&5
38424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38425 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38426 echo $ECHO_N "(cached) $ECHO_C" >&6
38428 if test -n "$ac_ct_AR"; then
38429 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38432 for as_dir
in $PATH
38435 test -z "$as_dir" && as_dir
=.
38436 for ac_exec_ext
in '' $ac_executable_extensions; do
38437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38438 ac_cv_prog_ac_ct_AR
="ar"
38439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38445 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38448 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38449 if test -n "$ac_ct_AR"; then
38450 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38451 echo "${ECHO_T}$ac_ct_AR" >&6
38453 echo "$as_me:$LINENO: result: no" >&5
38454 echo "${ECHO_T}no" >&6
38459 AR
="$ac_cv_prog_AR"
38462 if test -n "$ac_tool_prefix"; then
38463 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38464 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38465 echo "$as_me:$LINENO: checking for $ac_word" >&5
38466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38467 if test "${ac_cv_prog_STRIP+set}" = set; then
38468 echo $ECHO_N "(cached) $ECHO_C" >&6
38470 if test -n "$STRIP"; then
38471 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38474 for as_dir
in $PATH
38477 test -z "$as_dir" && as_dir
=.
38478 for ac_exec_ext
in '' $ac_executable_extensions; do
38479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38480 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38489 STRIP
=$ac_cv_prog_STRIP
38490 if test -n "$STRIP"; then
38491 echo "$as_me:$LINENO: result: $STRIP" >&5
38492 echo "${ECHO_T}$STRIP" >&6
38494 echo "$as_me:$LINENO: result: no" >&5
38495 echo "${ECHO_T}no" >&6
38499 if test -z "$ac_cv_prog_STRIP"; then
38501 # Extract the first word of "strip", so it can be a program name with args.
38502 set dummy strip
; ac_word
=$2
38503 echo "$as_me:$LINENO: checking for $ac_word" >&5
38504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38505 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38506 echo $ECHO_N "(cached) $ECHO_C" >&6
38508 if test -n "$ac_ct_STRIP"; then
38509 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38512 for as_dir
in $PATH
38515 test -z "$as_dir" && as_dir
=.
38516 for ac_exec_ext
in '' $ac_executable_extensions; do
38517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38518 ac_cv_prog_ac_ct_STRIP
="strip"
38519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38525 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38528 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38529 if test -n "$ac_ct_STRIP"; then
38530 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38531 echo "${ECHO_T}$ac_ct_STRIP" >&6
38533 echo "$as_me:$LINENO: result: no" >&5
38534 echo "${ECHO_T}no" >&6
38539 STRIP
="$ac_cv_prog_STRIP"
38542 if test -n "$ac_tool_prefix"; then
38543 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38544 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38545 echo "$as_me:$LINENO: checking for $ac_word" >&5
38546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38547 if test "${ac_cv_prog_NM+set}" = set; then
38548 echo $ECHO_N "(cached) $ECHO_C" >&6
38550 if test -n "$NM"; then
38551 ac_cv_prog_NM
="$NM" # Let the user override the test.
38553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38554 for as_dir
in $PATH
38557 test -z "$as_dir" && as_dir
=.
38558 for ac_exec_ext
in '' $ac_executable_extensions; do
38559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38560 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38570 if test -n "$NM"; then
38571 echo "$as_me:$LINENO: result: $NM" >&5
38572 echo "${ECHO_T}$NM" >&6
38574 echo "$as_me:$LINENO: result: no" >&5
38575 echo "${ECHO_T}no" >&6
38579 if test -z "$ac_cv_prog_NM"; then
38581 # Extract the first word of "nm", so it can be a program name with args.
38582 set dummy nm
; ac_word
=$2
38583 echo "$as_me:$LINENO: checking for $ac_word" >&5
38584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38585 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38586 echo $ECHO_N "(cached) $ECHO_C" >&6
38588 if test -n "$ac_ct_NM"; then
38589 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38592 for as_dir
in $PATH
38595 test -z "$as_dir" && as_dir
=.
38596 for ac_exec_ext
in '' $ac_executable_extensions; do
38597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38598 ac_cv_prog_ac_ct_NM
="nm"
38599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38605 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38608 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38609 if test -n "$ac_ct_NM"; then
38610 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38611 echo "${ECHO_T}$ac_ct_NM" >&6
38613 echo "$as_me:$LINENO: result: no" >&5
38614 echo "${ECHO_T}no" >&6
38619 NM
="$ac_cv_prog_NM"
38623 case ${BAKEFILE_HOST} in
38625 INSTALL_DIR
="mkdir -p"
38627 *) INSTALL_DIR
="$INSTALL -d"
38633 case ${BAKEFILE_HOST} in
38634 *-*-cygwin* | *-*-mingw32* )
38635 LDFLAGS_GUI
="-mwindows"
38641 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38642 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38643 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38644 echo $ECHO_N "(cached) $ECHO_C" >&6
38647 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38648 egrep -s GNU
> /dev
/null
); then
38649 bakefile_cv_prog_makeisgnu
="yes"
38651 bakefile_cv_prog_makeisgnu
="no"
38655 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38656 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38658 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38673 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38674 case "${BAKEFILE_HOST}" in
38675 *-*-cygwin* | *-*-mingw32* )
38681 *-pc-os2_emx | *-pc-os2-emx )
38684 powerpc
-*-darwin* )
38693 case "$BAKEFILE_FORCE_PLATFORM" in
38711 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38712 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38713 { (exit 1); exit 1; }; }
38726 # Check whether --enable-omf or --disable-omf was given.
38727 if test "${enable_omf+set}" = set; then
38728 enableval
="$enable_omf"
38729 bk_os2_use_omf
="$enableval"
38732 case "${BAKEFILE_HOST}" in
38734 CFLAGS
="$CFLAGS -fno-common"
38735 CXXFLAGS
="$CXXFLAGS -fno-common"
38738 *-pc-os2_emx | *-pc-os2-emx )
38739 if test "x$bk_os2_use_omf" = "xyes" ; then
38742 LDFLAGS
="-Zomf $LDFLAGS"
38743 CFLAGS
="-Zomf $CFLAGS"
38744 CXXFLAGS
="-Zomf $CXXFLAGS"
38754 SO_SUFFIX_MODULE
="so"
38759 DLLPREFIX_MODULE
=""
38762 case "${BAKEFILE_HOST}" in
38765 SO_SUFFIX_MODULE
="sl"
38769 SO_SUFFIX_MODULE
="a"
38771 *-*-cygwin* | *-*-mingw32* )
38773 SO_SUFFIX_MODULE
="dll"
38774 DLLIMP_SUFFIX
="dll.a"
38782 *-pc-os2_emx | *-pc-os2-emx )
38784 SO_SUFFIX_MODULE
="dll"
38785 DLLIMP_SUFFIX
=$OS2_LIBEXT
38789 LIBEXT
=".$OS2_LIBEXT"
38791 powerpc
-*-darwin* )
38793 SO_SUFFIX_MODULE
="bundle"
38797 if test "x$DLLIMP_SUFFIX" = "x" ; then
38798 DLLIMP_SUFFIX
="$SO_SUFFIX"
38811 SHARED_LD_CC
="\$(CC) -shared -o"
38812 SHARED_LD_CXX
="\$(CXX) -shared -o"
38814 if test "x$GCC" = "xyes"; then
38818 case "${BAKEFILE_HOST}" in
38820 if test "x$GCC" = "xyes"; then
38821 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38822 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38824 LDFLAGS
="$LDFLAGS -L/usr/lib"
38826 SHARED_LD_CC
="${CC} -b -o"
38827 SHARED_LD_CXX
="${CXX} -b -o"
38833 if test "x$GCC" != "xyes"; then
38834 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38835 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38836 if test "${bakefile_cv_prog_icc+set}" = set; then
38837 echo $ECHO_N "(cached) $ECHO_C" >&6
38840 cat >conftest.
$ac_ext <<_ACEOF
38843 cat confdefs.h
>>conftest.
$ac_ext
38844 cat >>conftest.
$ac_ext <<_ACEOF
38845 /* end confdefs.h. */
38851 #ifndef __INTEL_COMPILER
38859 rm -f conftest.
$ac_objext
38860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38861 (eval $ac_compile) 2>conftest.er1
38863 grep -v '^ *+' conftest.er1
>conftest.err
38865 cat conftest.err
>&5
38866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38867 (exit $ac_status); } &&
38868 { ac_try
='test -z "$ac_c_werror_flag"
38869 || test ! -s conftest.err'
38870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38871 (eval $ac_try) 2>&5
38873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38874 (exit $ac_status); }; } &&
38875 { ac_try
='test -s conftest.$ac_objext'
38876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38877 (eval $ac_try) 2>&5
38879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38880 (exit $ac_status); }; }; then
38881 bakefile_cv_prog_icc
=yes
38883 echo "$as_me: failed program was:" >&5
38884 sed 's/^/| /' conftest.
$ac_ext >&5
38886 bakefile_cv_prog_icc
=no
38889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38892 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38893 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38894 if test "$bakefile_cv_prog_icc" = "yes"; then
38901 if test "x$GCC" != xyes
; then
38902 SHARED_LD_CC
="${CC} -G -o"
38903 SHARED_LD_CXX
="${CXX} -G -o"
38910 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38911 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38912 if test "${wx_cv_gcc31+set}" = set; then
38913 echo $ECHO_N "(cached) $ECHO_C" >&6
38916 cat >conftest.
$ac_ext <<_ACEOF
38919 cat confdefs.h
>>conftest.
$ac_ext
38920 cat >>conftest.
$ac_ext <<_ACEOF
38921 /* end confdefs.h. */
38927 #if (__GNUC__ < 3) || \
38928 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38936 rm -f conftest.
$ac_objext
38937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38938 (eval $ac_compile) 2>conftest.er1
38940 grep -v '^ *+' conftest.er1
>conftest.err
38942 cat conftest.err
>&5
38943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38944 (exit $ac_status); } &&
38945 { ac_try
='test -z "$ac_c_werror_flag"
38946 || test ! -s conftest.err'
38947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38948 (eval $ac_try) 2>&5
38950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38951 (exit $ac_status); }; } &&
38952 { ac_try
='test -s conftest.$ac_objext'
38953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38954 (eval $ac_try) 2>&5
38956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38957 (exit $ac_status); }; }; then
38962 echo "$as_me: failed program was:" >&5
38963 sed 's/^/| /' conftest.
$ac_ext >&5
38970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38973 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38974 echo "${ECHO_T}$wx_cv_gcc31" >&6
38975 if test "$wx_cv_gcc31" = "no"; then
38978 cat <<EOF >shared-ld-sh
38980 #-----------------------------------------------------------------------------
38981 #-- Name: distrib/mac/shared-ld-sh
38982 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38983 #-- Author: Gilles Depeyrot
38984 #-- Copyright: (c) 2002 Gilles Depeyrot
38985 #-- Licence: any use permitted
38986 #-----------------------------------------------------------------------------
38991 linking_flag="-dynamiclib"
38993 while test ${D}# -gt 0; do
39000 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39001 # collect these options and values
39002 args="${D}{args} ${D}1 ${D}2"
39006 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39007 # collect these options
39008 args="${D}{args} ${D}1"
39011 -dynamiclib|-bundle)
39012 linking_flag="${D}1"
39016 echo "shared-ld: unhandled option '${D}1'"
39020 *.o | *.a | *.dylib)
39021 # collect object files
39022 objects="${D}{objects} ${D}1"
39026 echo "shared-ld: unhandled argument '${D}1'"
39035 # Link one module containing all the others
39037 if test ${D}{verbose} = 1; then
39038 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39040 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39042 if test ${D}{status} != 0; then
39047 # Link the shared library from the single module created
39049 if test ${D}{verbose} = 1; then
39050 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39052 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39054 if test ${D}{status} != 0; then
39059 # Remove intermediate module
39061 rm -f master.${D}${D}.o
39066 chmod +x shared
-ld-sh
39068 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39069 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39070 SHARED_LD_CXX
="$SHARED_LD_CC"
39071 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39073 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39074 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39075 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39076 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39079 PIC_FLAG
="-dynamic -fPIC"
39083 if test "x$GCC" != "xyes"; then
39084 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39085 set dummy makeC
++SharedLib
; ac_word
=$2
39086 echo "$as_me:$LINENO: checking for $ac_word" >&5
39087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39088 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39089 echo $ECHO_N "(cached) $ECHO_C" >&6
39091 if test -n "$AIX_CXX_LD"; then
39092 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39095 for as_dir
in $PATH
39098 test -z "$as_dir" && as_dir
=.
39099 for ac_exec_ext
in '' $ac_executable_extensions; do
39100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39101 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39108 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39111 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39112 if test -n "$AIX_CXX_LD"; then
39113 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39114 echo "${ECHO_T}$AIX_CXX_LD" >&6
39116 echo "$as_me:$LINENO: result: no" >&5
39117 echo "${ECHO_T}no" >&6
39120 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39121 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39126 SHARED_LD_CC
="${LD} -shared -o"
39127 SHARED_LD_CXX
="${LD} -shared -o"
39131 if test "x$GCC" != "xyes"; then
39136 *-*-cygwin* | *-*-mingw32* )
39140 *-pc-os2_emx | *-pc-os2-emx )
39141 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39142 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39146 cat <<EOF >dllar.sh
39149 # dllar - a tool to build both a .dll and an .a file
39150 # from a set of object (.o) files for EMX/OS2.
39152 # Written by Andrew Zabolotny, bit@freya.etu.ru
39153 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39155 # This script will accept a set of files on the command line.
39156 # All the public symbols from the .o files will be exported into
39157 # a .DEF file, then linker will be run (through gcc) against them to
39158 # build a shared library consisting of all given .o files. All libraries
39159 # (.a) will be first decompressed into component .o files then act as
39160 # described above. You can optionally give a description (-d "description")
39161 # which will be put into .DLL. To see the list of accepted options (as well
39162 # as command-line format) simply run this program without options. The .DLL
39163 # is built to be imported by name (there is no guarantee that new versions
39164 # of the library you build will have same ordinals for same symbols).
39166 # dllar is free software; you can redistribute it and/or modify
39167 # it under the terms of the GNU General Public License as published by
39168 # the Free Software Foundation; either version 2, or (at your option)
39169 # any later version.
39171 # dllar is distributed in the hope that it will be useful,
39172 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39173 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39174 # GNU General Public License for more details.
39176 # You should have received a copy of the GNU General Public License
39177 # along with dllar; see the file COPYING. If not, write to the Free
39178 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39181 # To successfuly run this program you will need:
39182 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39183 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39185 # (used to build the .dll)
39187 # (used to create .def file from .o files)
39189 # (used to create .a file from .def file)
39190 # - GNU text utilites (cat, sort, uniq)
39191 # used to process emxexp output
39192 # - GNU file utilities (mv, rm)
39194 # - lxlite (optional, see flag below)
39195 # (used for general .dll cleanup)
39202 # basnam, variant of basename, which does _not_ remove the path, _iff_
39203 # second argument (suffix to remove) is given
39207 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39210 echo ${D}1 | sed 's/'${D}2'${D}//'
39213 echo "error in basnam ${D}*"
39219 # Cleanup temporary files and output
39222 for i in ${D}inputFiles ; do
39225 rm -rf \`basnam ${D}i !\`
39232 # Kill result in case of failure as there is just to many stupid make/nmake
39233 # things out there which doesn't do this.
39234 if [] ${D}# -eq 0 []; then
39235 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39239 # Print usage and exit script with rc=1.
39241 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
39242 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
39243 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
39244 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
39245 echo ' []*.o[] []*.a[]'
39246 echo '*> "output_file" should have no extension.'
39247 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39248 echo ' The import library name is derived from this and is set to "name".a,'
39249 echo ' unless overridden by -import'
39250 echo '*> "importlib_name" should have no extension.'
39251 echo ' If it has the .o, or .a extension, it is automatically removed.'
39252 echo ' This name is used as the import library name and may be longer and'
39253 echo ' more descriptive than the DLL name which has to follow the old '
39254 echo ' 8.3 convention of FAT.'
39255 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39256 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39257 echo ' These flags will be put at the start of GCC command line.'
39258 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
39259 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
39260 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39261 echo ' If the last character of a symbol is "*", all symbols beginning'
39262 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39263 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
39264 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39265 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
39266 echo ' C runtime DLLs.'
39267 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
39268 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39269 echo ' unchanged to GCC at the end of command line.'
39270 echo '*> If you create a DLL from a library and you do not specify -o,'
39271 echo ' the basename for DLL and import library will be set to library name,'
39272 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39273 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39274 echo ' library will be renamed into gcc_s.a.'
39277 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39278 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39283 # Execute a command.
39284 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39285 # @Uses Whatever CleanUp() uses.
39291 if [] ${D}rcCmd -ne 0 []; then
39292 echo "command failed, exit code="${D}rcCmd
39306 CFLAGS="-s -Zcrtdll"
39308 EXPORT_BY_ORDINALS=0
39313 case ${D}curDirS in
39317 curDirS=${D}{curDirS}"/"
39320 # Parse commandline
39322 while [] ${D}1 []; do
39325 EXPORT_BY_ORDINALS=1;
39352 exclude_symbols=${D}{exclude_symbols}${D}1" "
39356 library_flags=${D}{library_flags}${D}1" "
39372 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39376 if [] ${D}libsToLink -ne 0 []; then
39377 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39379 for file in ${D}1 ; do
39380 if [] -f ${D}file []; then
39381 inputFiles="${D}{inputFiles} ${D}file"
39385 if [] ${D}found -eq 0 []; then
39386 echo "ERROR: No file(s) found: "${D}1
39393 done # iterate cmdline words
39396 if [] -z "${D}inputFiles" []; then
39397 echo "dllar: no input files"
39401 # Now extract all .o files from .a files
39403 for file in ${D}inputFiles ; do
39414 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39419 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39421 if [] ${D}? -ne 0 []; then
39422 echo "Failed to create subdirectory ./${D}dirname"
39426 # Append '!' to indicate archive
39427 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39428 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39431 for subfile in ${D}dirname/*.o* ; do
39432 if [] -f ${D}subfile []; then
39434 if [] -s ${D}subfile []; then
39435 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39436 newInputFiles="${D}newInputFiles ${D}subfile"
39440 if [] ${D}found -eq 0 []; then
39441 echo "WARNING: there are no files in archive \'${D}file\'"
39445 newInputFiles="${D}{newInputFiles} ${D}file"
39449 inputFiles="${D}newInputFiles"
39451 # Output filename(s).
39453 if [] -z ${D}outFile []; then
39455 set outFile ${D}inputFiles; outFile=${D}2
39458 # If it is an archive, remove the '!' and the '_%' suffixes
39459 case ${D}outFile in
39461 outFile=\`basnam ${D}outFile _%!\`
39466 case ${D}outFile in
39468 outFile=\`basnam ${D}outFile .dll\`
39471 outFile=\`basnam ${D}outFile .DLL\`
39474 outFile=\`basnam ${D}outFile .o\`
39477 outFile=\`basnam ${D}outFile .obj\`
39480 outFile=\`basnam ${D}outFile .a\`
39483 outFile=\`basnam ${D}outFile .lib\`
39488 case ${D}outimpFile in
39490 outimpFile=\`basnam ${D}outimpFile .a\`
39493 outimpFile=\`basnam ${D}outimpFile .lib\`
39498 if [] -z ${D}outimpFile []; then
39499 outimpFile=${D}outFile
39501 defFile="${D}{outFile}.def"
39502 arcFile="${D}{outimpFile}.a"
39503 arcFile2="${D}{outimpFile}.lib"
39504 dllFile="${D}outFile"
39505 # Add suffix to dllFile later, first we need a version to use as
39506 # name in .def file.
39508 if [] ${D}do_backup -ne 0 [] ; then
39509 if [] -f ${D}arcFile [] ; then
39510 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39512 if [] -f ${D}arcFile2 [] ; then
39513 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39517 # Extract public symbols from all the object files.
39518 tmpdefFile=${D}{defFile}_%
39519 rm -f ${D}tmpdefFile
39520 for file in ${D}inputFiles ; do
39525 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39530 # Create the def file.
39532 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39533 dllFile="${D}dllFile.dll"
39534 if [] -n ${D}description []; then
39535 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39537 echo "EXPORTS" >> ${D}defFile
39539 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39540 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39542 # Checks if the export is ok or not.
39543 for word in ${D}exclude_symbols; do
39544 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39545 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39549 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39550 sed "=" < ${D}tmpdefFile | \
39554 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39556 ' > ${D}{tmpdefFile}%
39557 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39559 rm -f ${D}{tmpdefFile}%
39561 cat ${D}tmpdefFile >> ${D}defFile
39562 rm -f ${D}tmpdefFile
39564 # Do linking, create implib, and apply lxlite.
39566 for file in ${D}inputFiles ; do
39571 gccCmdl="${D}gccCmdl ${D}file"
39575 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39576 touch "${D}{outFile}.dll"
39578 doCommand "emximp -o ${D}arcFile ${D}defFile"
39579 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39581 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39584 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39586 doCommand "emxomf -s -l ${D}arcFile"
39596 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39604 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39605 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39606 { (exit 1); exit 1; }; }
39609 if test "x$PIC_FLAG" != "x" ; then
39610 PIC_FLAG
="$PIC_FLAG -DPIC"
39613 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39614 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39616 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39617 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39634 case "${BAKEFILE_HOST}" in
39636 SONAME_FLAG
="-Wl,-soname,"
39664 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39665 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39668 if test "x$GCC" = "xyes"; then
39671 case "${BAKEFILE_HOST}" in
39672 powerpc
-*-darwin* )
39673 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39676 DEPSFLAG_GCC
="-MMD"
39679 echo "$as_me:$LINENO: result: gcc" >&5
39680 echo "${ECHO_T}gcc" >&6
39682 echo "$as_me:$LINENO: result: none" >&5
39683 echo "${ECHO_T}none" >&6
39686 if test $DEPS_TRACKING = 1 ; then
39692 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39693 # script. It is used to track C/C++ files dependencies in portable way.
39695 # Permission is given to use this file in any way.
39697 DEPSMODE=${DEPSMODE}
39699 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39701 mkdir -p ${D}DEPSDIR
39703 if test ${D}DEPSMODE = gcc ; then
39704 ${D}* ${D}{DEPSFLAG_GCC}
39706 if test ${D}{status} != 0 ; then
39709 # move created file to the location we want it in:
39710 while test ${D}# -gt 0; do
39724 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39725 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39726 if test -f ${D}depfile ; then
39727 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39730 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39731 if test -f ${D}depfile ; then
39732 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39752 case ${BAKEFILE_HOST} in
39753 *-*-cygwin* | *-*-mingw32* )
39754 if test "$build" != "$host" ; then
39755 RESCOMP
=$host_alias-windres
39757 # Extract the first word of "windres", so it can be a program name with args.
39758 set dummy windres
; ac_word
=$2
39759 echo "$as_me:$LINENO: checking for $ac_word" >&5
39760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39761 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39762 echo $ECHO_N "(cached) $ECHO_C" >&6
39764 if test -n "$RESCOMP"; then
39765 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39768 for as_dir
in $PATH
39771 test -z "$as_dir" && as_dir
=.
39772 for ac_exec_ext
in '' $ac_executable_extensions; do
39773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39774 ac_cv_prog_RESCOMP
="windres"
39775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39781 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39784 RESCOMP
=$ac_cv_prog_RESCOMP
39785 if test -n "$RESCOMP"; then
39786 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39787 echo "${ECHO_T}$RESCOMP" >&6
39789 echo "$as_me:$LINENO: result: no" >&5
39790 echo "${ECHO_T}no" >&6
39797 # Extract the first word of "Rez", so it can be a program name with args.
39798 set dummy Rez
; ac_word
=$2
39799 echo "$as_me:$LINENO: checking for $ac_word" >&5
39800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39801 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39802 echo $ECHO_N "(cached) $ECHO_C" >&6
39804 if test -n "$RESCOMP"; then
39805 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39808 for as_dir
in $PATH
39811 test -z "$as_dir" && as_dir
=.
39812 for ac_exec_ext
in '' $ac_executable_extensions; do
39813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39814 ac_cv_prog_RESCOMP
="Rez"
39815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39821 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39824 RESCOMP
=$ac_cv_prog_RESCOMP
39825 if test -n "$RESCOMP"; then
39826 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39827 echo "${ECHO_T}$RESCOMP" >&6
39829 echo "$as_me:$LINENO: result: no" >&5
39830 echo "${ECHO_T}no" >&6
39833 # Extract the first word of "SetFile", so it can be a program name with args.
39834 set dummy SetFile
; ac_word
=$2
39835 echo "$as_me:$LINENO: checking for $ac_word" >&5
39836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39837 if test "${ac_cv_prog_SETFILE+set}" = set; then
39838 echo $ECHO_N "(cached) $ECHO_C" >&6
39840 if test -n "$SETFILE"; then
39841 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39844 for as_dir
in $PATH
39847 test -z "$as_dir" && as_dir
=.
39848 for ac_exec_ext
in '' $ac_executable_extensions; do
39849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39850 ac_cv_prog_SETFILE
="SetFile"
39851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39857 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39860 SETFILE
=$ac_cv_prog_SETFILE
39861 if test -n "$SETFILE"; then
39862 echo "$as_me:$LINENO: result: $SETFILE" >&5
39863 echo "${ECHO_T}$SETFILE" >&6
39865 echo "$as_me:$LINENO: result: no" >&5
39866 echo "${ECHO_T}no" >&6
39876 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39880 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39884 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39885 if test "${enable_precomp_headers+set}" = set; then
39886 enableval
="$enable_precomp_headers"
39887 bk_use_pch
="$enableval"
39892 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39893 if test "x$GCC" = "xyes"; then
39894 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39895 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39896 cat >conftest.
$ac_ext <<_ACEOF
39899 cat confdefs.h
>>conftest.
$ac_ext
39900 cat >>conftest.
$ac_ext <<_ACEOF
39901 /* end confdefs.h. */
39907 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39908 #error "no pch support"
39911 #error "no pch support"
39913 #if (__GNUC__ == 3) && \
39914 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39915 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39916 #error "no pch support"
39923 rm -f conftest.
$ac_objext
39924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39925 (eval $ac_compile) 2>conftest.er1
39927 grep -v '^ *+' conftest.er1
>conftest.err
39929 cat conftest.err
>&5
39930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39931 (exit $ac_status); } &&
39932 { ac_try
='test -z "$ac_c_werror_flag"
39933 || test ! -s conftest.err'
39934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39935 (eval $ac_try) 2>&5
39937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938 (exit $ac_status); }; } &&
39939 { ac_try
='test -s conftest.$ac_objext'
39940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39941 (eval $ac_try) 2>&5
39943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39944 (exit $ac_status); }; }; then
39946 echo "$as_me:$LINENO: result: yes" >&5
39947 echo "${ECHO_T}yes" >&6
39951 echo "$as_me: failed program was:" >&5
39952 sed 's/^/| /' conftest.
$ac_ext >&5
39955 echo "$as_me:$LINENO: result: no" >&5
39956 echo "${ECHO_T}no" >&6
39959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39960 if test $GCC_PCH = 1 ; then
39961 cat <<EOF >bk-make-pch
39964 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39965 # script. It is used to generated precompiled headers.
39967 # Permission is given to use this file in any way.
39976 while test \${#} -gt 0; do
39979 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39980 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39981 headerfile="\${incdir}/\${header}"
39985 compiler="\${compiler} \${1}"
39989 if test "x\${headerfile}" = "x" ; then
39990 echo "error: can't find header \${header} in include paths" >2
39992 if test -f \${outfile} ; then
39995 mkdir -p \`dirname \${outfile}\`
39997 depsfile=".deps/\`basename \${outfile}\`.d"
39999 # can do this because gcc is >= 3.4:
40000 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40004 chmod +x bk
-make-pch
40015 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40016 if test "${enable_precomp_headers+set}" = set; then
40017 enableval
="$enable_precomp_headers"
40018 bk_use_pch
="$enableval"
40023 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40024 if test "x$GCC" = "xyes"; then
40025 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40026 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40027 cat >conftest.
$ac_ext <<_ACEOF
40030 cat confdefs.h
>>conftest.
$ac_ext
40031 cat >>conftest.
$ac_ext <<_ACEOF
40032 /* end confdefs.h. */
40038 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40039 #error "no pch support"
40042 #error "no pch support"
40044 #if (__GNUC__ == 3) && \
40045 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40046 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40047 #error "no pch support"
40054 rm -f conftest.
$ac_objext
40055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40056 (eval $ac_compile) 2>conftest.er1
40058 grep -v '^ *+' conftest.er1
>conftest.err
40060 cat conftest.err
>&5
40061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40062 (exit $ac_status); } &&
40063 { ac_try
='test -z "$ac_c_werror_flag"
40064 || test ! -s conftest.err'
40065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40066 (eval $ac_try) 2>&5
40068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40069 (exit $ac_status); }; } &&
40070 { ac_try
='test -s conftest.$ac_objext'
40071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40072 (eval $ac_try) 2>&5
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); }; }; then
40077 echo "$as_me:$LINENO: result: yes" >&5
40078 echo "${ECHO_T}yes" >&6
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.
$ac_ext >&5
40086 echo "$as_me:$LINENO: result: no" >&5
40087 echo "${ECHO_T}no" >&6
40090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40091 if test $GCC_PCH = 1 ; then
40092 cat <<EOF >bk-make-pch
40095 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40096 # script. It is used to generated precompiled headers.
40098 # Permission is given to use this file in any way.
40107 while test \${#} -gt 0; do
40110 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40111 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40112 headerfile="\${incdir}/\${header}"
40116 compiler="\${compiler} \${1}"
40120 if test "x\${headerfile}" = "x" ; then
40121 echo "error: can't find header \${header} in include paths" >2
40123 if test -f \${outfile} ; then
40126 mkdir -p \`dirname \${outfile}\`
40128 depsfile=".deps/\`basename \${outfile}\`.d"
40130 # can do this because gcc is >= 3.4:
40131 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40135 chmod +x bk
-make-pch
40142 COND_BUILD_DEBUG
="#"
40143 if test "x$BUILD" = "xdebug" ; then
40144 COND_BUILD_DEBUG
=""
40147 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40148 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40149 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40152 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40153 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40154 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40157 COND_BUILD_DEBUG_UNICODE_0
="#"
40158 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40159 COND_BUILD_DEBUG_UNICODE_0
=""
40162 COND_BUILD_DEBUG_UNICODE_1
="#"
40163 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40164 COND_BUILD_DEBUG_UNICODE_1
=""
40167 COND_BUILD_RELEASE
="#"
40168 if test "x$BUILD" = "xrelease" ; then
40169 COND_BUILD_RELEASE
=""
40172 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40173 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40174 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40177 COND_BUILD_RELEASE_UNICODE_0
="#"
40178 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40179 COND_BUILD_RELEASE_UNICODE_0
=""
40182 COND_BUILD_RELEASE_UNICODE_1
="#"
40183 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40184 COND_BUILD_RELEASE_UNICODE_1
=""
40187 COND_DEBUG_FLAG_1
="#"
40188 if test "x$DEBUG_FLAG" = "x1" ; then
40189 COND_DEBUG_FLAG_1
=""
40192 COND_DEBUG_INFO_0
="#"
40193 if test "x$DEBUG_INFO" = "x0" ; then
40194 COND_DEBUG_INFO_0
=""
40197 COND_DEBUG_INFO_1
="#"
40198 if test "x$DEBUG_INFO" = "x1" ; then
40199 COND_DEBUG_INFO_1
=""
40202 COND_DEPS_TRACKING_0
="#"
40203 if test "x$DEPS_TRACKING" = "x0" ; then
40204 COND_DEPS_TRACKING_0
=""
40207 COND_DEPS_TRACKING_1
="#"
40208 if test "x$DEPS_TRACKING" = "x1" ; then
40209 COND_DEPS_TRACKING_1
=""
40213 if test "x$GCC_PCH" = "x1" ; then
40217 COND_MONOLITHIC_0
="#"
40218 if test "x$MONOLITHIC" = "x0" ; then
40219 COND_MONOLITHIC_0
=""
40222 COND_MONOLITHIC_0_SHARED_0
="#"
40223 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40224 COND_MONOLITHIC_0_SHARED_0
=""
40227 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40228 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40229 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40232 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40233 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40234 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40237 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40238 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40239 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40242 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40243 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40244 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40247 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40248 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40249 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40252 COND_MONOLITHIC_0_SHARED_1
="#"
40253 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40254 COND_MONOLITHIC_0_SHARED_1
=""
40257 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40258 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40259 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40262 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40263 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40264 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40267 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40268 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40269 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40272 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40274 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40277 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40279 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40282 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40283 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40284 COND_MONOLITHIC_0_USE_ODBC_1
=""
40287 COND_MONOLITHIC_1
="#"
40288 if test "x$MONOLITHIC" = "x1" ; then
40289 COND_MONOLITHIC_1
=""
40292 COND_MONOLITHIC_1_SHARED_0
="#"
40293 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40294 COND_MONOLITHIC_1_SHARED_0
=""
40297 COND_MONOLITHIC_1_SHARED_1
="#"
40298 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40299 COND_MONOLITHIC_1_SHARED_1
=""
40302 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40303 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40304 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40307 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40308 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40309 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40312 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40313 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40314 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40317 COND_PLATFORM_MACOSX_1
="#"
40318 if test "x$PLATFORM_MACOSX" = "x1" ; then
40319 COND_PLATFORM_MACOSX_1
=""
40322 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
40323 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40324 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
40327 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40328 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40329 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40332 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40333 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40334 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40337 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40338 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40339 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40342 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40343 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40344 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40347 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40348 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40349 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40352 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40353 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40354 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40357 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40358 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40359 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40362 COND_PLATFORM_MACOS_1
="#"
40363 if test "x$PLATFORM_MACOS" = "x1" ; then
40364 COND_PLATFORM_MACOS_1
=""
40367 COND_PLATFORM_MAC_1
="#"
40368 if test "x$PLATFORM_MAC" = "x1" ; then
40369 COND_PLATFORM_MAC_1
=""
40372 COND_PLATFORM_OS2_1
="#"
40373 if test "x$PLATFORM_OS2" = "x1" ; then
40374 COND_PLATFORM_OS2_1
=""
40377 COND_PLATFORM_UNIX_0
="#"
40378 if test "x$PLATFORM_UNIX" = "x0" ; then
40379 COND_PLATFORM_UNIX_0
=""
40382 COND_PLATFORM_UNIX_1
="#"
40383 if test "x$PLATFORM_UNIX" = "x1" ; then
40384 COND_PLATFORM_UNIX_1
=""
40387 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40388 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40389 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40392 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40393 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40394 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40397 COND_PLATFORM_WIN32_0
="#"
40398 if test "x$PLATFORM_WIN32" = "x0" ; then
40399 COND_PLATFORM_WIN32_0
=""
40402 COND_PLATFORM_WIN32_1
="#"
40403 if test "x$PLATFORM_WIN32" = "x1" ; then
40404 COND_PLATFORM_WIN32_1
=""
40408 if test "x$SHARED" = "x0" ; then
40412 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40413 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40414 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40417 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40418 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40419 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40422 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40423 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40424 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40427 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40428 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40429 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40432 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40433 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40434 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40437 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40438 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40439 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40442 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40443 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40444 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40447 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40448 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40449 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40452 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40453 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40454 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40457 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40458 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40459 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40462 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40463 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40464 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40468 if test "x$SHARED" = "x1" ; then
40472 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40473 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40474 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40478 if test "x$TOOLKIT" = "x" ; then
40482 COND_TOOLKIT_COCOA
="#"
40483 if test "x$TOOLKIT" = "xCOCOA" ; then
40484 COND_TOOLKIT_COCOA
=""
40487 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40488 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40489 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40492 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40493 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40494 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40497 COND_TOOLKIT_GTK
="#"
40498 if test "x$TOOLKIT" = "xGTK" ; then
40499 COND_TOOLKIT_GTK
=""
40502 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40503 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40504 COND_TOOLKIT_GTK_USE_GUI_1
=""
40507 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40508 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40509 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40512 COND_TOOLKIT_MAC
="#"
40513 if test "x$TOOLKIT" = "xMAC" ; then
40514 COND_TOOLKIT_MAC
=""
40517 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40518 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40519 COND_TOOLKIT_MAC_USE_GUI_1
=""
40522 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40523 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40524 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40527 COND_TOOLKIT_MGL
="#"
40528 if test "x$TOOLKIT" = "xMGL" ; then
40529 COND_TOOLKIT_MGL
=""
40532 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40533 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40534 COND_TOOLKIT_MGL_USE_GUI_1
=""
40537 COND_TOOLKIT_MOTIF
="#"
40538 if test "x$TOOLKIT" = "xMOTIF" ; then
40539 COND_TOOLKIT_MOTIF
=""
40542 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40543 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40544 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40547 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40548 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40549 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40552 COND_TOOLKIT_MSW
="#"
40553 if test "x$TOOLKIT" = "xMSW" ; then
40554 COND_TOOLKIT_MSW
=""
40557 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40558 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40559 COND_TOOLKIT_MSW_USE_GUI_1
=""
40562 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40563 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40564 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40567 COND_TOOLKIT_PM
="#"
40568 if test "x$TOOLKIT" = "xPM" ; then
40572 COND_TOOLKIT_PM_USE_GUI_1
="#"
40573 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40574 COND_TOOLKIT_PM_USE_GUI_1
=""
40577 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40578 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40579 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40582 COND_TOOLKIT_WINCE
="#"
40583 if test "x$TOOLKIT" = "xWINCE" ; then
40584 COND_TOOLKIT_WINCE
=""
40587 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40588 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40589 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40592 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40593 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40594 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40597 COND_TOOLKIT_X11
="#"
40598 if test "x$TOOLKIT" = "xX11" ; then
40599 COND_TOOLKIT_X11
=""
40602 COND_TOOLKIT_X11_USE_GUI_1
="#"
40603 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40604 COND_TOOLKIT_X11_USE_GUI_1
=""
40608 if test "x$UNICODE" = "x1" ; then
40612 COND_USE_EXCEPTIONS_0
="#"
40613 if test "x$USE_EXCEPTIONS" = "x0" ; then
40614 COND_USE_EXCEPTIONS_0
=""
40617 COND_USE_EXCEPTIONS_1
="#"
40618 if test "x$USE_EXCEPTIONS" = "x1" ; then
40619 COND_USE_EXCEPTIONS_1
=""
40623 if test "x$USE_GUI" = "x0" ; then
40628 if test "x$USE_GUI" = "x1" ; then
40632 COND_USE_GUI_1_WXUNIV_0
="#"
40633 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40634 COND_USE_GUI_1_WXUNIV_0
=""
40637 COND_USE_GUI_1_WXUNIV_1
="#"
40638 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40639 COND_USE_GUI_1_WXUNIV_1
=""
40642 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40643 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40644 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40647 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40648 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40649 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40652 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40653 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40654 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40657 COND_USE_ODBC_1
="#"
40658 if test "x$USE_ODBC" = "x1" ; then
40662 COND_USE_OPENGL_1
="#"
40663 if test "x$USE_OPENGL" = "x1" ; then
40664 COND_USE_OPENGL_1
=""
40667 COND_USE_PLUGINS_0
="#"
40668 if test "x$USE_PLUGINS" = "x0" ; then
40669 COND_USE_PLUGINS_0
=""
40672 COND_USE_SOSYMLINKS_1
="#"
40673 if test "x$USE_SOSYMLINKS" = "x1" ; then
40674 COND_USE_SOSYMLINKS_1
=""
40677 COND_USE_SOVERLINUX_1
="#"
40678 if test "x$USE_SOVERLINUX" = "x1" ; then
40679 COND_USE_SOVERLINUX_1
=""
40682 COND_USE_SOVERSION_0
="#"
40683 if test "x$USE_SOVERSION" = "x0" ; then
40684 COND_USE_SOVERSION_0
=""
40687 COND_USE_SOVERSOLARIS_1
="#"
40688 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40689 COND_USE_SOVERSOLARIS_1
=""
40693 if test "x$USE_XRC" = "x1" ; then
40697 COND_WITH_PLUGIN_SDL_1
="#"
40698 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40699 COND_WITH_PLUGIN_SDL_1
=""
40703 if test "x$WXUNIV" = "x1" ; then
40707 COND_WXUSE_EXPAT_BUILTIN
="#"
40708 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40709 COND_WXUSE_EXPAT_BUILTIN
=""
40712 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40713 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40714 COND_WXUSE_LIBJPEG_BUILTIN
=""
40717 COND_WXUSE_LIBPNG_BUILTIN
="#"
40718 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40719 COND_WXUSE_LIBPNG_BUILTIN
=""
40722 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40723 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40724 COND_WXUSE_LIBTIFF_BUILTIN
=""
40727 COND_WXUSE_ODBC_BUILTIN
="#"
40728 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40729 COND_WXUSE_ODBC_BUILTIN
=""
40732 COND_WXUSE_REGEX_BUILTIN
="#"
40733 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40734 COND_WXUSE_REGEX_BUILTIN
=""
40737 COND_WXUSE_ZLIB_BUILTIN
="#"
40738 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40739 COND_WXUSE_ZLIB_BUILTIN
=""
40742 COND_BUILD_DEBUG
="#"
40743 if test "x$BUILD" = "xdebug" ; then
40744 COND_BUILD_DEBUG
=""
40747 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40748 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40749 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40752 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40753 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40754 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40757 COND_BUILD_DEBUG_UNICODE_0
="#"
40758 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40759 COND_BUILD_DEBUG_UNICODE_0
=""
40762 COND_BUILD_DEBUG_UNICODE_1
="#"
40763 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40764 COND_BUILD_DEBUG_UNICODE_1
=""
40767 COND_BUILD_RELEASE
="#"
40768 if test "x$BUILD" = "xrelease" ; then
40769 COND_BUILD_RELEASE
=""
40772 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40773 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40774 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40777 COND_BUILD_RELEASE_UNICODE_0
="#"
40778 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40779 COND_BUILD_RELEASE_UNICODE_0
=""
40782 COND_BUILD_RELEASE_UNICODE_1
="#"
40783 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40784 COND_BUILD_RELEASE_UNICODE_1
=""
40787 COND_DEBUG_FLAG_1
="#"
40788 if test "x$DEBUG_FLAG" = "x1" ; then
40789 COND_DEBUG_FLAG_1
=""
40792 COND_DEBUG_INFO_0
="#"
40793 if test "x$DEBUG_INFO" = "x0" ; then
40794 COND_DEBUG_INFO_0
=""
40797 COND_DEBUG_INFO_1
="#"
40798 if test "x$DEBUG_INFO" = "x1" ; then
40799 COND_DEBUG_INFO_1
=""
40802 COND_DEPS_TRACKING_0
="#"
40803 if test "x$DEPS_TRACKING" = "x0" ; then
40804 COND_DEPS_TRACKING_0
=""
40807 COND_DEPS_TRACKING_1
="#"
40808 if test "x$DEPS_TRACKING" = "x1" ; then
40809 COND_DEPS_TRACKING_1
=""
40813 if test "x$GCC_PCH" = "x1" ; then
40817 COND_MONOLITHIC_0
="#"
40818 if test "x$MONOLITHIC" = "x0" ; then
40819 COND_MONOLITHIC_0
=""
40822 COND_MONOLITHIC_0_SHARED_0
="#"
40823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40824 COND_MONOLITHIC_0_SHARED_0
=""
40827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40837 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40839 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40842 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40844 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40847 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40849 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40852 COND_MONOLITHIC_0_SHARED_1
="#"
40853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40854 COND_MONOLITHIC_0_SHARED_1
=""
40857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40864 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40867 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40869 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40872 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40874 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40877 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40879 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40882 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40883 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40884 COND_MONOLITHIC_0_USE_ODBC_1
=""
40887 COND_MONOLITHIC_1
="#"
40888 if test "x$MONOLITHIC" = "x1" ; then
40889 COND_MONOLITHIC_1
=""
40892 COND_MONOLITHIC_1_SHARED_0
="#"
40893 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40894 COND_MONOLITHIC_1_SHARED_0
=""
40897 COND_MONOLITHIC_1_SHARED_1
="#"
40898 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40899 COND_MONOLITHIC_1_SHARED_1
=""
40902 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40903 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40904 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40907 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40908 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40909 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40912 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40913 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40914 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40917 COND_PLATFORM_MACOSX_1
="#"
40918 if test "x$PLATFORM_MACOSX" = "x1" ; then
40919 COND_PLATFORM_MACOSX_1
=""
40922 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40923 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40924 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40927 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40928 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40929 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40932 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40933 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40934 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40937 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40938 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40939 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40942 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40943 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40944 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40947 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40948 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40949 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40952 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40953 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40954 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40957 COND_PLATFORM_MAC_1
="#"
40958 if test "x$PLATFORM_MAC" = "x1" ; then
40959 COND_PLATFORM_MAC_1
=""
40962 COND_PLATFORM_OS2_1
="#"
40963 if test "x$PLATFORM_OS2" = "x1" ; then
40964 COND_PLATFORM_OS2_1
=""
40967 COND_PLATFORM_UNIX_0
="#"
40968 if test "x$PLATFORM_UNIX" = "x0" ; then
40969 COND_PLATFORM_UNIX_0
=""
40972 COND_PLATFORM_UNIX_1
="#"
40973 if test "x$PLATFORM_UNIX" = "x1" ; then
40974 COND_PLATFORM_UNIX_1
=""
40977 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40978 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40979 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40982 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40983 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40984 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40987 COND_PLATFORM_WIN32_0
="#"
40988 if test "x$PLATFORM_WIN32" = "x0" ; then
40989 COND_PLATFORM_WIN32_0
=""
40992 COND_PLATFORM_WIN32_1
="#"
40993 if test "x$PLATFORM_WIN32" = "x1" ; then
40994 COND_PLATFORM_WIN32_1
=""
40998 if test "x$SHARED" = "x0" ; then
41002 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41003 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41004 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41007 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41008 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41009 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41012 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41013 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41014 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41017 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41018 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41019 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41022 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41023 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41024 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41027 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41028 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41029 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41032 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41033 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41034 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41037 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41038 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41039 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41043 if test "x$SHARED" = "x1" ; then
41047 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41048 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41049 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41052 COND_TOOLKIT_COCOA
="#"
41053 if test "x$TOOLKIT" = "xCOCOA" ; then
41054 COND_TOOLKIT_COCOA
=""
41057 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41058 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41059 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41062 COND_TOOLKIT_GTK
="#"
41063 if test "x$TOOLKIT" = "xGTK" ; then
41064 COND_TOOLKIT_GTK
=""
41067 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41068 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41069 COND_TOOLKIT_GTK_USE_GUI_1
=""
41072 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41073 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41074 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41077 COND_TOOLKIT_MAC
="#"
41078 if test "x$TOOLKIT" = "xMAC" ; then
41079 COND_TOOLKIT_MAC
=""
41082 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41083 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41084 COND_TOOLKIT_MAC_USE_GUI_1
=""
41087 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41088 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41089 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41092 COND_TOOLKIT_MAC_WXUNIV_0
="#"
41093 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41094 COND_TOOLKIT_MAC_WXUNIV_0
=""
41097 COND_TOOLKIT_MGL
="#"
41098 if test "x$TOOLKIT" = "xMGL" ; then
41099 COND_TOOLKIT_MGL
=""
41102 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41103 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41104 COND_TOOLKIT_MGL_USE_GUI_1
=""
41107 COND_TOOLKIT_MOTIF
="#"
41108 if test "x$TOOLKIT" = "xMOTIF" ; then
41109 COND_TOOLKIT_MOTIF
=""
41112 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41113 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41114 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41117 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41118 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41119 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41122 COND_TOOLKIT_MSW
="#"
41123 if test "x$TOOLKIT" = "xMSW" ; then
41124 COND_TOOLKIT_MSW
=""
41127 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41128 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41129 COND_TOOLKIT_MSW_USE_GUI_1
=""
41132 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41133 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41134 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41137 COND_TOOLKIT_MSW_WXUNIV_0
="#"
41138 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41139 COND_TOOLKIT_MSW_WXUNIV_0
=""
41142 COND_TOOLKIT_PM
="#"
41143 if test "x$TOOLKIT" = "xPM" ; then
41147 COND_TOOLKIT_PM_USE_GUI_1
="#"
41148 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41149 COND_TOOLKIT_PM_USE_GUI_1
=""
41152 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41153 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41154 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41157 COND_TOOLKIT_PM_WXUNIV_0
="#"
41158 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41159 COND_TOOLKIT_PM_WXUNIV_0
=""
41162 COND_TOOLKIT_WINCE
="#"
41163 if test "x$TOOLKIT" = "xWINCE" ; then
41164 COND_TOOLKIT_WINCE
=""
41167 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41168 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41169 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41172 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41173 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41174 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41177 COND_TOOLKIT_X11
="#"
41178 if test "x$TOOLKIT" = "xX11" ; then
41179 COND_TOOLKIT_X11
=""
41182 COND_TOOLKIT_X11_USE_GUI_1
="#"
41183 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41184 COND_TOOLKIT_X11_USE_GUI_1
=""
41188 if test "x$UNICODE" = "x1" ; then
41192 COND_USE_EXCEPTIONS_0
="#"
41193 if test "x$USE_EXCEPTIONS" = "x0" ; then
41194 COND_USE_EXCEPTIONS_0
=""
41197 COND_USE_EXCEPTIONS_1
="#"
41198 if test "x$USE_EXCEPTIONS" = "x1" ; then
41199 COND_USE_EXCEPTIONS_1
=""
41203 if test "x$USE_GUI" = "x0" ; then
41208 if test "x$USE_GUI" = "x1" ; then
41212 COND_USE_GUI_1_WXUNIV_0
="#"
41213 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41214 COND_USE_GUI_1_WXUNIV_0
=""
41217 COND_USE_GUI_1_WXUNIV_1
="#"
41218 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41219 COND_USE_GUI_1_WXUNIV_1
=""
41222 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41223 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41224 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41227 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41228 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41229 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41232 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41233 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41234 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41237 COND_USE_ODBC_1
="#"
41238 if test "x$USE_ODBC" = "x1" ; then
41242 COND_USE_PLUGINS_0
="#"
41243 if test "x$USE_PLUGINS" = "x0" ; then
41244 COND_USE_PLUGINS_0
=""
41247 COND_USE_SOSYMLINKS_1
="#"
41248 if test "x$USE_SOSYMLINKS" = "x1" ; then
41249 COND_USE_SOSYMLINKS_1
=""
41252 COND_USE_SOVERLINUX_1
="#"
41253 if test "x$USE_SOVERLINUX" = "x1" ; then
41254 COND_USE_SOVERLINUX_1
=""
41257 COND_USE_SOVERSION_0
="#"
41258 if test "x$USE_SOVERSION" = "x0" ; then
41259 COND_USE_SOVERSION_0
=""
41262 COND_USE_SOVERSOLARIS_1
="#"
41263 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41264 COND_USE_SOVERSOLARIS_1
=""
41267 COND_WITH_PLUGIN_SDL_1
="#"
41268 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41269 COND_WITH_PLUGIN_SDL_1
=""
41273 if test "x$WXUNIV" = "x1" ; then
41277 COND_WXUSE_EXPAT_BUILTIN
="#"
41278 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41279 COND_WXUSE_EXPAT_BUILTIN
=""
41282 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41283 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41284 COND_WXUSE_LIBJPEG_BUILTIN
=""
41287 COND_WXUSE_LIBPNG_BUILTIN
="#"
41288 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41289 COND_WXUSE_LIBPNG_BUILTIN
=""
41292 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41293 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41294 COND_WXUSE_LIBTIFF_BUILTIN
=""
41297 COND_WXUSE_ODBC_BUILTIN
="#"
41298 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41299 COND_WXUSE_ODBC_BUILTIN
=""
41302 COND_WXUSE_REGEX_BUILTIN
="#"
41303 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41304 COND_WXUSE_REGEX_BUILTIN
=""
41307 COND_WXUSE_ZLIB_BUILTIN
="#"
41308 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41309 COND_WXUSE_ZLIB_BUILTIN
=""
41314 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41315 { { 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
41316 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;}
41317 { (exit 1); exit 1; }; }
41321 if test "$wxUSE_SHARED" = "yes"; then
41323 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41324 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41328 EXE_LINKER
="$CXX -o"
41332 GCC_PRAGMA_FLAGS
=""
41333 if test $GCC_PCH = 1 ; then
41334 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41337 powerpc
-*-darwin* )
41338 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41341 if test "$wxUSE_STL" = "yes" -o \
41342 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41343 "$wxUSE_NO_RTTI" != "yes"; then
41344 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41345 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41346 cat >conftest.
$ac_ext <<_ACEOF
41349 cat confdefs.h
>>conftest.
$ac_ext
41350 cat >>conftest.
$ac_ext <<_ACEOF
41351 /* end confdefs.h. */
41356 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41357 #error "Not GCC 3.2 or greater"
41364 rm -f conftest.
$ac_objext
41365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41366 (eval $ac_compile) 2>conftest.er1
41368 grep -v '^ *+' conftest.er1
>conftest.err
41370 cat conftest.err
>&5
41371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41372 (exit $ac_status); } &&
41373 { ac_try
='test -z "$ac_c_werror_flag"
41374 || test ! -s conftest.err'
41375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41376 (eval $ac_try) 2>&5
41378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41379 (exit $ac_status); }; } &&
41380 { ac_try
='test -s conftest.$ac_objext'
41381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41382 (eval $ac_try) 2>&5
41384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41385 (exit $ac_status); }; }; then
41386 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41387 echo "$as_me:$LINENO: result: yes" >&5
41388 echo "${ECHO_T}yes" >&6
41390 echo "$as_me: failed program was:" >&5
41391 sed 's/^/| /' conftest.
$ac_ext >&5
41393 echo "$as_me:$LINENO: result: no" >&5
41394 echo "${ECHO_T}no" >&6
41396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41401 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41404 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41468 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41469 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41470 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41471 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41472 echo $ECHO_N "(cached) $ECHO_C" >&6
41474 cat >conftest.
make <<\_ACEOF
41476 @
echo 'ac_maketemp="$(MAKE)"'
41478 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41479 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41480 if test -n "$ac_maketemp"; then
41481 eval ac_cv_prog_make_
${ac_make}_set
=yes
41483 eval ac_cv_prog_make_
${ac_make}_set
=no
41485 rm -f conftest.
make
41487 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41488 echo "$as_me:$LINENO: result: yes" >&5
41489 echo "${ECHO_T}yes" >&6
41492 echo "$as_me:$LINENO: result: no" >&5
41493 echo "${ECHO_T}no" >&6
41494 SET_MAKE
="MAKE=${MAKE-make}"
41499 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41502 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41505 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41508 ac_config_files
="$ac_config_files version-script Makefile"
41511 ac_config_commands
="$ac_config_commands wx-config
41517 if test "$wxUSE_GUI" = "yes"; then
41518 SUBDIRS
="samples demos utils contrib"
41519 else SUBDIRS
="samples utils"
41524 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41525 if test "${with_cppunit_prefix+set}" = set; then
41526 withval
="$with_cppunit_prefix"
41527 cppunit_config_prefix
="$withval"
41529 cppunit_config_prefix
=""
41532 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41533 if test "${with_cppunit_exec_prefix+set}" = set; then
41534 withval
="$with_cppunit_exec_prefix"
41535 cppunit_config_exec_prefix
="$withval"
41537 cppunit_config_exec_prefix
=""
41540 if test x
$cppunit_config_exec_prefix != x
; then
41541 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41542 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41543 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41546 if test x
$cppunit_config_prefix != x
; then
41547 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41548 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41549 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41553 # Extract the first word of "cppunit-config", so it can be a program name with args.
41554 set dummy cppunit
-config; ac_word
=$2
41555 echo "$as_me:$LINENO: checking for $ac_word" >&5
41556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41557 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41558 echo $ECHO_N "(cached) $ECHO_C" >&6
41560 case $CPPUNIT_CONFIG in
41562 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41566 for as_dir
in $PATH
41569 test -z "$as_dir" && as_dir
=.
41570 for ac_exec_ext
in '' $ac_executable_extensions; do
41571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41572 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41579 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41583 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41585 if test -n "$CPPUNIT_CONFIG"; then
41586 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41587 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41589 echo "$as_me:$LINENO: result: no" >&5
41590 echo "${ECHO_T}no" >&6
41593 cppunit_version_min
=1.8.0
41595 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41596 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41598 if test "$CPPUNIT_CONFIG" = "no" ; then
41601 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41602 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41603 cppunit_version
=`$CPPUNIT_CONFIG --version`
41605 cppunit_major_version
=`echo $cppunit_version | \
41606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41607 cppunit_minor_version
=`echo $cppunit_version | \
41608 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41609 cppunit_micro_version
=`echo $cppunit_version | \
41610 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41612 cppunit_major_min
=`echo $cppunit_version_min | \
41613 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41614 cppunit_minor_min
=`echo $cppunit_version_min | \
41615 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41616 cppunit_micro_min
=`echo $cppunit_version_min | \
41617 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41619 cppunit_version_proper
=`expr \
41620 $cppunit_major_version \> $cppunit_major_min \| \
41621 $cppunit_major_version \= $cppunit_major_min \& \
41622 $cppunit_minor_version \> $cppunit_minor_min \| \
41623 $cppunit_major_version \= $cppunit_major_min \& \
41624 $cppunit_minor_version \= $cppunit_minor_min \& \
41625 $cppunit_micro_version \>= $cppunit_micro_min `
41627 if test "$cppunit_version_proper" = "1" ; then
41628 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41629 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41631 echo "$as_me:$LINENO: result: no" >&5
41632 echo "${ECHO_T}no" >&6
41637 if test "x$no_cppunit" = x
; then
41638 SUBDIRS
="$SUBDIRS tests"
41649 for subdir
in `echo $SUBDIRS`; do
41650 if test -d ${srcdir}/${subdir} ; then
41651 if test "$wxUSE_GUI" = "yes"; then
41652 if test ${subdir} = "samples"; then
41653 makefiles
="samples/Makefile.in $makefiles"
41654 for sample
in `echo $SAMPLES_SUBDIRS`; do
41655 if test -d $srcdir/samples
/$sample; then
41656 makefiles
="samples/$sample/Makefile.in $makefiles"
41659 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41661 else if test ${subdir} = "samples"; then
41662 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41663 elif test ${subdir} = "utils"; then
41665 for util
in HelpGen tex2rtf
; do
41666 if test -d $srcdir/utils
/$util ; then
41667 makefiles
="utils/$util/Makefile.in \
41668 utils/$util/src/Makefile.in \
41672 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41676 for mkin
in $makefiles ; do
41677 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41678 ac_config_files
="$ac_config_files $mk"
41685 cat >confcache
<<\_ACEOF
41686 # This file is a shell script that caches the results of configure
41687 # tests run on this system so they can be shared between configure
41688 # scripts and configure runs, see configure's option --config-cache.
41689 # It is not useful on other systems. If it contains results you don't
41690 # want to keep, you may remove or edit it.
41692 # config.status only pays attention to the cache file if you give it
41693 # the --recheck option to rerun configure.
41695 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41696 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41697 # following values.
41701 # The following way of writing the cache mishandles newlines in values,
41702 # but we know of no workaround that is simple, portable, and efficient.
41703 # So, don't put newlines in cache variables' values.
41704 # Ultrix sh set writes to stderr and can't be redirected directly,
41705 # and sets the high bit in the cache file unless we assign to the vars.
41708 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41710 # `set' does not quote correctly, so add quotes (double-quote
41711 # substitution turns \\\\ into \\, and sed turns \\ into \).
41714 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41717 # `set' quotes correctly as required by POSIX, so do not add quotes.
41719 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41726 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41728 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41730 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41731 if test -w $cache_file; then
41732 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41733 cat confcache
>$cache_file
41735 echo "not updating unwritable cache $cache_file"
41740 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41741 # Let make expand exec_prefix.
41742 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41744 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41745 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41746 # trailing colons and then remove the whole line if VPATH becomes empty
41747 # (actually we leave an empty line to preserve line numbers).
41748 if test "x$srcdir" = x.
; then
41749 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41750 s/:*\$(srcdir):*/:/;
41751 s/:*\${srcdir}:*/:/;
41753 s/^\([^=]*=[ ]*\):*/\1/;
41759 DEFS
=-DHAVE_CONFIG_H
41763 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41764 # 1. Remove the extension, and $U if already installed.
41765 ac_i
=`echo "$ac_i" |
41766 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41768 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41769 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41771 LIBOBJS
=$ac_libobjs
41773 LTLIBOBJS
=$ac_ltlibobjs
41777 : ${CONFIG_STATUS=./config.status}
41778 ac_clean_files_save
=$ac_clean_files
41779 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41780 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41781 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41782 cat >$CONFIG_STATUS <<_ACEOF
41784 # Generated by $as_me.
41785 # Run this file to recreate the current configuration.
41786 # Compiler output produced by configure, useful for debugging
41787 # configure, is in config.log if it exists.
41790 ac_cs_recheck=false
41792 SHELL=\${CONFIG_SHELL-$SHELL}
41795 cat >>$CONFIG_STATUS <<\_ACEOF
41796 ## --------------------- ##
41797 ## M4sh Initialization. ##
41798 ## --------------------- ##
41800 # Be Bourne compatible
41801 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41804 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41805 # is contrary to our usage. Disable this feature.
41806 alias -g '${1+"$@"}'='"$@"'
41807 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41810 DUALCASE
=1; export DUALCASE
# for MKS sh
41812 # Support unset when possible.
41813 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41820 # Work around bugs in pre-3.0 UWIN ksh.
41821 $as_unset ENV MAIL MAILPATH
41828 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41829 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41830 LC_TELEPHONE LC_TIME
41832 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41833 eval $as_var=C
; export $as_var
41839 # Required to use basename.
41840 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41846 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41847 as_basename
=basename
41853 # Name of the executable.
41854 as_me
=`$as_basename "$0" ||
41855 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41856 X"$0" : 'X\(//\)$' \| \
41857 X"$0" : 'X\(/\)$' \| \
41858 . : '\(.\)' 2>/dev/null ||
41860 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41861 /^X\/\(\/\/\)$/{ s//\1/; q; }
41862 /^X\/\(\/\).*/{ s//\1/; q; }
41866 # PATH needs CR, and LINENO needs CR and PATH.
41867 # Avoid depending upon Character Ranges.
41868 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41869 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41870 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41871 as_cr_digits
='0123456789'
41872 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41874 # The user is always right.
41875 if test "${PATH_SEPARATOR+set}" != set; then
41876 echo "#! /bin/sh" >conf$$.sh
41877 echo "exit 0" >>conf$$.sh
41879 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41888 as_lineno_1
=$LINENO
41889 as_lineno_2
=$LINENO
41890 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41891 test "x$as_lineno_1" != "x$as_lineno_2" &&
41892 test "x$as_lineno_3" = "x$as_lineno_2" || {
41893 # Find who we are. Look in the path if we contain no path at all
41896 *[\\/]* ) as_myself
=$0 ;;
41897 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41898 for as_dir
in $PATH
41901 test -z "$as_dir" && as_dir
=.
41902 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41907 # We did not find ourselves, most probably we were run as `sh COMMAND'
41908 # in which case we are not to be found in the path.
41909 if test "x$as_myself" = x
; then
41912 if test ! -f "$as_myself"; then
41913 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41914 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41915 { (exit 1); exit 1; }; }
41917 case $CONFIG_SHELL in
41919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41920 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41923 test -z "$as_dir" && as_dir
=.
41924 for as_base
in sh bash ksh sh5
; do
41927 if ("$as_dir/$as_base" -c '
41928 as_lineno_1=$LINENO
41929 as_lineno_2=$LINENO
41930 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41931 test "x$as_lineno_1" != "x$as_lineno_2" &&
41932 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41933 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41934 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41935 CONFIG_SHELL
=$as_dir/$as_base
41936 export CONFIG_SHELL
41937 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41945 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41946 # uniformly replaced by the line number. The first 'sed' inserts a
41947 # line-number line before each line; the second 'sed' does the real
41948 # work. The second script uses 'N' to pair each line-number line
41949 # with the numbered line, and appends trailing '-' during
41950 # substitution so that $LINENO is not a special case at line end.
41951 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41952 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41953 sed '=' <$as_myself |
41958 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41961 s,^['$as_cr_digits']*\n,,
41962 ' >$as_me.lineno
&&
41963 chmod +x
$as_me.lineno
||
41964 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41965 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41966 { (exit 1); exit 1; }; }
41968 # Don't try to exec as it changes $[0], causing all sort of problems
41969 # (the dirname of $[0] is not the place where we might find the
41970 # original and so on. Autoconf is especially sensible to this).
41972 # Exit status is that of the last command.
41977 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41978 *c
*,-n*) ECHO_N
= ECHO_C
='
41980 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41981 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41984 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41990 rm -f conf$$ conf$$.exe conf$$.
file
41992 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41993 # We could just check for DJGPP; but this test a) works b) is more generic
41994 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41995 if test -f conf$$.exe
; then
41996 # Don't use ln at all; we don't have any links
42001 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42006 rm -f conf$$ conf$$.exe conf$$.
file
42008 if mkdir -p .
2>/dev
/null
; then
42011 test -d .
/-p && rmdir .
/-p
42015 as_executable_p
="test -f"
42017 # Sed expression to map a string onto a valid CPP name.
42018 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42020 # Sed expression to map a string onto a valid variable name.
42021 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42025 # We need space, tab and new line, in precisely that order.
42035 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42036 # report actual input values of CONFIG_FILES etc. instead of their
42037 # values after options handling. Logging --version etc. is OK.
42041 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42042 ## Running $as_me. ##
42047 This file was extended by wxWidgets $as_me 2.5.3, which was
42048 generated by GNU Autoconf 2.59. Invocation command line was
42050 CONFIG_FILES = $CONFIG_FILES
42051 CONFIG_HEADERS = $CONFIG_HEADERS
42052 CONFIG_LINKS = $CONFIG_LINKS
42053 CONFIG_COMMANDS = $CONFIG_COMMANDS
42057 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42061 # Files that config.status was made for.
42062 if test -n "$ac_config_files"; then
42063 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42066 if test -n "$ac_config_headers"; then
42067 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42070 if test -n "$ac_config_links"; then
42071 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42074 if test -n "$ac_config_commands"; then
42075 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42078 cat >>$CONFIG_STATUS <<\_ACEOF
42081 \`$as_me' instantiates files from templates according to the
42082 current configuration.
42084 Usage: $0 [OPTIONS] [FILE]...
42086 -h, --help print this help, then exit
42087 -V, --version print version number, then exit
42088 -q, --quiet do not print progress messages
42089 -d, --debug don't remove temporary files
42090 --recheck update $as_me by reconfiguring in the same conditions
42091 --file=FILE[:TEMPLATE]
42092 instantiate the configuration file FILE
42093 --header=FILE[:TEMPLATE]
42094 instantiate the configuration header FILE
42096 Configuration files:
42099 Configuration headers:
42102 Configuration commands:
42105 Report bugs to <bug-autoconf@gnu.org>."
42108 cat >>$CONFIG_STATUS <<_ACEOF
42110 wxWidgets config.status 2.5.3
42111 configured by $0, generated by GNU Autoconf 2.59,
42112 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42114 Copyright (C) 2003 Free Software Foundation, Inc.
42115 This config.status script is free software; the Free Software Foundation
42116 gives unlimited permission to copy, distribute and modify it."
42121 cat >>$CONFIG_STATUS <<\_ACEOF
42122 # If no file are specified by the user, then we need to provide default
42123 # value. By we need to know if files were specified by the user.
42129 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42130 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42138 *) # This is not an option, so the user has probably given explicit
42141 ac_need_defaults
=false
;;
42145 # Handling of the options.
42147 cat >>$CONFIG_STATUS <<\_ACEOF
42148 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42150 --version | --vers* | -V )
42151 echo "$ac_cs_version"; exit 0 ;;
42153 # Conflict between --help and --header
42154 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42155 Try \`$0 --help' for more information." >&5
42156 echo "$as_me: error: ambiguous option: $1
42157 Try \`$0 --help' for more information." >&2;}
42158 { (exit 1); exit 1; }; };;
42159 --help | --hel | -h )
42160 echo "$ac_cs_usage"; exit 0 ;;
42161 --debug | --d* | -d )
42163 --file | --fil | --fi | --f )
42165 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42166 ac_need_defaults
=false
;;
42167 --header | --heade | --head | --hea )
42169 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42170 ac_need_defaults
=false
;;
42171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42172 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42175 # This is an error.
42176 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42177 Try \`$0 --help' for more information." >&5
42178 echo "$as_me: error: unrecognized option: $1
42179 Try \`$0 --help' for more information." >&2;}
42180 { (exit 1); exit 1; }; } ;;
42182 *) ac_config_targets
="$ac_config_targets $1" ;;
42188 ac_configure_extra_args
=
42190 if $ac_cs_silent; then
42192 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42196 cat >>$CONFIG_STATUS <<_ACEOF
42197 if \$ac_cs_recheck; then
42198 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42199 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42204 cat >>$CONFIG_STATUS <<_ACEOF
42206 # INIT-COMMANDS section.
42209 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42210 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42211 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42219 cat >>$CONFIG_STATUS <<\_ACEOF
42220 for ac_config_target
in $ac_config_targets
42222 case "$ac_config_target" in
42223 # Handling of arguments.
42224 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42225 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42226 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42227 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42228 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42229 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42230 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42231 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42232 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42233 { (exit 1); exit 1; }; };;
42237 # If the user did not use the arguments to specify the items to instantiate,
42238 # then the envvar interface is used. Set only those that are not.
42239 # We use the long form for the default assignment because of an extremely
42240 # bizarre bug on SunOS 4.1.3.
42241 if $ac_need_defaults; then
42242 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42243 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42244 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42247 # Have a temporary directory for convenience. Make it in the build tree
42248 # simply because there is no reason to put it here, and in addition,
42249 # creating and moving files from /tmp can sometimes cause problems.
42250 # Create a temporary directory, and hook for its removal unless debugging.
42253 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42254 trap '{ (exit 1); exit 1; }' 1 2 13 15
42257 # Create a (secure) tmp directory for tmp files.
42260 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42261 test -n "$tmp" && test -d "$tmp"
42264 tmp
=.
/confstat$$
-$RANDOM
42265 (umask 077 && mkdir $tmp)
42268 echo "$me: cannot create a temporary directory in ." >&2
42269 { (exit 1); exit 1; }
42274 cat >>$CONFIG_STATUS <<_ACEOF
42277 # CONFIG_FILES section.
42280 # No need to generate the scripts if there are no CONFIG_FILES.
42281 # This happens for instance when ./config.status config.h
42282 if test -n "\$CONFIG_FILES"; then
42283 # Protect against being on the right side of a sed subst in config.status.
42284 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42285 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42286 s,@SHELL@,$SHELL,;t t
42287 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42288 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42289 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42290 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42291 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42292 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42293 s,@exec_prefix@,$exec_prefix,;t t
42294 s,@prefix@,$prefix,;t t
42295 s,@program_transform_name@,$program_transform_name,;t t
42296 s,@bindir@,$bindir,;t t
42297 s,@sbindir@,$sbindir,;t t
42298 s,@libexecdir@,$libexecdir,;t t
42299 s,@datadir@,$datadir,;t t
42300 s,@sysconfdir@,$sysconfdir,;t t
42301 s,@sharedstatedir@,$sharedstatedir,;t t
42302 s,@localstatedir@,$localstatedir,;t t
42303 s,@libdir@,$libdir,;t t
42304 s,@includedir@,$includedir,;t t
42305 s,@oldincludedir@,$oldincludedir,;t t
42306 s,@infodir@,$infodir,;t t
42307 s,@mandir@,$mandir,;t t
42308 s,@build_alias@,$build_alias,;t t
42309 s,@host_alias@,$host_alias,;t t
42310 s,@target_alias@,$target_alias,;t t
42311 s,@DEFS@,$DEFS,;t t
42312 s,@ECHO_C@,$ECHO_C,;t t
42313 s,@ECHO_N@,$ECHO_N,;t t
42314 s,@ECHO_T@,$ECHO_T,;t t
42315 s,@LIBS@,$LIBS,;t t
42316 s,@build@,$build,;t t
42317 s,@build_cpu@,$build_cpu,;t t
42318 s,@build_vendor@,$build_vendor,;t t
42319 s,@build_os@,$build_os,;t t
42320 s,@host@,$host,;t t
42321 s,@host_cpu@,$host_cpu,;t t
42322 s,@host_vendor@,$host_vendor,;t t
42323 s,@host_os@,$host_os,;t t
42324 s,@target@,$target,;t t
42325 s,@target_cpu@,$target_cpu,;t t
42326 s,@target_vendor@,$target_vendor,;t t
42327 s,@target_os@,$target_os,;t t
42329 s,@CFLAGS@,$CFLAGS,;t t
42330 s,@LDFLAGS@,$LDFLAGS,;t t
42331 s,@CPPFLAGS@,$CPPFLAGS,;t t
42332 s,@ac_ct_CC@,$ac_ct_CC,;t t
42333 s,@EXEEXT@,$EXEEXT,;t t
42334 s,@OBJEXT@,$OBJEXT,;t t
42336 s,@EGREP@,$EGREP,;t t
42338 s,@CXXFLAGS@,$CXXFLAGS,;t t
42339 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42340 s,@RANLIB@,$RANLIB,;t t
42341 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42343 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42344 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42345 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42346 s,@STRIP@,$STRIP,;t t
42347 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42348 s,@LN_S@,$LN_S,;t t
42349 s,@CXXCPP@,$CXXCPP,;t t
42350 s,@subdirs@,$subdirs,;t t
42351 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42352 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42353 s,@GTK_LIBS@,$GTK_LIBS,;t t
42354 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42355 s,@X_CFLAGS@,$X_CFLAGS,;t t
42356 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42357 s,@X_LIBS@,$X_LIBS,;t t
42358 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42359 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42360 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42361 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42362 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42363 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42364 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42365 s,@RESCOMP@,$RESCOMP,;t t
42366 s,@DEREZ@,$DEREZ,;t t
42367 s,@SETFILE@,$SETFILE,;t t
42368 s,@LIBICONV@,$LIBICONV,;t t
42369 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42370 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42371 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42372 s,@SDL_LIBS@,$SDL_LIBS,;t t
42373 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42374 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42375 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42376 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42377 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42378 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42379 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42380 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42381 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42382 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42383 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42384 s,@VENDOR@,$VENDOR,;t t
42385 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42386 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42387 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42388 s,@WXUNIV@,$WXUNIV,;t t
42389 s,@MONOLITHIC@,$MONOLITHIC,;t t
42390 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42391 s,@EXTRALIBS@,$EXTRALIBS,;t t
42392 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42393 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42394 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42395 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42396 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42397 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42398 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42399 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42400 s,@UNICODE@,$UNICODE,;t t
42401 s,@BUILD@,$BUILD,;t t
42402 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42403 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42404 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42405 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42406 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42407 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42408 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42409 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42410 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42411 s,@SET_MAKE@,$SET_MAKE,;t t
42412 s,@MAKE_SET@,$MAKE_SET,;t t
42413 s,@ac_ct_AR@,$ac_ct_AR,;t t
42414 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42416 s,@ac_ct_NM@,$ac_ct_NM,;t t
42417 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42418 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42419 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42420 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42421 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42422 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42423 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42424 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42425 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42426 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42427 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42428 s,@LIBPREFIX@,$LIBPREFIX,;t t
42429 s,@LIBEXT@,$LIBEXT,;t t
42430 s,@DLLPREFIX@,$DLLPREFIX,;t t
42431 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42432 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42433 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42434 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42435 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42436 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42437 s,@PIC_FLAG@,$PIC_FLAG,;t t
42438 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42439 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42440 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42441 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42442 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42443 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42444 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42445 s,@GCC_PCH@,$GCC_PCH,;t t
42446 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42447 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42448 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42449 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42450 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42451 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42452 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42453 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42454 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42455 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42456 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42457 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42458 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42459 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42460 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42461 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42462 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42463 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42464 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
42465 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42466 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42467 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42468 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42469 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42470 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
42471 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42472 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42473 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42474 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42475 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42476 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42477 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42478 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42479 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42480 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42481 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42482 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42483 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42484 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42485 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42486 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42487 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42488 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42489 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42490 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42491 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42492 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42493 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42494 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42495 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42496 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42497 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42498 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42499 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42500 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42501 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42502 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42503 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42504 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42505 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42506 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42507 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42508 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42509 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42510 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42511 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42512 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42513 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42514 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42515 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42516 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42517 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42518 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42519 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42520 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42521 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42522 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42523 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42524 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42525 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42526 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42527 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42528 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42529 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42530 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42531 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42532 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42533 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42534 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42535 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42536 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42537 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42538 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42539 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42540 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42541 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42542 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42543 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42544 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42545 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42546 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42547 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42548 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42549 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42550 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42551 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42552 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42553 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42554 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42555 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42556 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42557 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42558 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42559 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42560 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42561 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42562 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42563 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42564 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42565 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42566 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42567 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42568 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42569 s,@SHARED@,$SHARED,;t t
42570 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42571 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42572 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42573 s,@USE_GUI@,$USE_GUI,;t t
42574 s,@AFMINSTALL@,$AFMINSTALL,;t t
42575 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42576 s,@TOOLKIT@,$TOOLKIT,;t t
42577 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42578 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42579 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42580 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42581 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42582 s,@cross_compiling@,$cross_compiling,;t t
42583 s,@WIDGET_SET@,$WIDGET_SET,;t t
42584 s,@WX_RELEASE@,$WX_RELEASE,;t t
42585 s,@WX_VERSION@,$WX_VERSION,;t t
42586 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42587 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42588 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42589 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42590 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42591 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42592 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42593 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42594 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42595 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42596 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42597 s,@EXE_LINKER@,$EXE_LINKER,;t t
42598 s,@GUIDIST@,$GUIDIST,;t t
42599 s,@DISTDIR@,$DISTDIR,;t t
42600 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42601 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42602 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42603 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42604 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42605 s,@RESFLAGS@,$RESFLAGS,;t t
42606 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42607 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42608 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42609 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42610 s,@MACRESCOMP@,$MACRESCOMP,;t t
42611 s,@MACSETFILE@,$MACSETFILE,;t t
42612 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42614 s,@DLLTOOL@,$DLLTOOL,;t t
42615 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42616 s,@LIBOBJS@,$LIBOBJS,;t t
42617 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42622 cat >>$CONFIG_STATUS <<\_ACEOF
42623 # Split the substitutions into bite-sized pieces for seds with
42624 # small command number limits, like on Digital OSF/1 and HP-UX.
42625 ac_max_sed_lines
=48
42626 ac_sed_frag
=1 # Number of current file.
42627 ac_beg
=1 # First line for current file.
42628 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42631 while $ac_more_lines; do
42632 if test $ac_beg -gt 1; then
42633 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42635 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42637 if test ! -s $tmp/subs.frag
; then
42638 ac_more_lines
=false
42640 # The purpose of the label and of the branching condition is to
42641 # speed up the sed processing (if there are no `@' at all, there
42642 # is no need to browse any of the substitutions).
42643 # These are the two extra sed commands mentioned above.
42645 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42646 if test -z "$ac_sed_cmds"; then
42647 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42649 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42651 ac_sed_frag
=`expr $ac_sed_frag + 1`
42653 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42656 if test -z "$ac_sed_cmds"; then
42659 fi # test -n "$CONFIG_FILES"
42662 cat >>$CONFIG_STATUS <<\_ACEOF
42663 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42664 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42666 - | *:- | *:-:* ) # input from stdin
42668 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42669 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42670 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42671 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42672 * ) ac_file_in
=$ac_file.
in ;;
42675 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42676 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42677 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42678 X"$ac_file" : 'X\(//\)[^/]' \| \
42679 X"$ac_file" : 'X\(//\)$' \| \
42680 X"$ac_file" : 'X\(/\)' \| \
42681 . : '\(.\)' 2>/dev/null ||
42683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42684 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42685 /^X\(\/\/\)$/{ s//\1/; q; }
42686 /^X\(\/\).*/{ s//\1/; q; }
42688 { if $as_mkdir_p; then
42693 while test ! -d "$as_dir"; do
42694 as_dirs
="$as_dir $as_dirs"
42695 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42697 X"$as_dir" : 'X\(//\)[^/]' \| \
42698 X"$as_dir" : 'X\(//\)$' \| \
42699 X"$as_dir" : 'X\(/\)' \| \
42700 . : '\(.\)' 2>/dev/null ||
42702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42704 /^X\(\/\/\)$/{ s//\1/; q; }
42705 /^X\(\/\).*/{ s//\1/; q; }
42708 test ! -n "$as_dirs" || mkdir $as_dirs
42709 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42710 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42711 { (exit 1); exit 1; }; }; }
42715 if test "$ac_dir" != .
; then
42716 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42717 # A "../" for each directory in $ac_dir_suffix.
42718 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42720 ac_dir_suffix
= ac_top_builddir
=
42724 .
) # No --srcdir option. We are building in place.
42726 if test -z "$ac_top_builddir"; then
42729 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42731 [\\/]* | ?
:[\\/]* ) # Absolute path.
42732 ac_srcdir
=$srcdir$ac_dir_suffix;
42733 ac_top_srcdir
=$srcdir ;;
42734 *) # Relative path.
42735 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42736 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42739 # Do not use `cd foo && pwd` to compute absolute paths, because
42740 # the directories may not exist.
42742 .
) ac_abs_builddir
="$ac_dir";;
42745 .
) ac_abs_builddir
=`pwd`;;
42746 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42747 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42750 case $ac_abs_builddir in
42751 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42753 case ${ac_top_builddir}.
in
42754 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42755 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42756 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42759 case $ac_abs_builddir in
42760 .
) ac_abs_srcdir
=$ac_srcdir;;
42763 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42764 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42765 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42768 case $ac_abs_builddir in
42769 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42771 case $ac_top_srcdir in
42772 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42773 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42774 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42780 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42781 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42784 if test x
"$ac_file" != x
-; then
42785 { echo "$as_me:$LINENO: creating $ac_file" >&5
42786 echo "$as_me: creating $ac_file" >&6;}
42789 # Let's still pretend it is `configure' which instantiates (i.e., don't
42790 # use $as_me), people would be surprised to read:
42791 # /* config.h. Generated by config.status. */
42792 if test x
"$ac_file" = x
-; then
42795 configure_input
="$ac_file. "
42797 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42798 sed 's,.*/,,'` by configure."
42800 # First look for the input files in the build tree, otherwise in the
42802 ac_file_inputs
=`IFS=:
42803 for f in $ac_file_in; do
42805 -) echo $tmp/stdin ;;
42807 # Absolute (can't be DOS-style, as IFS=:)
42808 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42809 echo "$as_me: error: cannot find input file: $f" >&2;}
42810 { (exit 1); exit 1; }; }
42813 if test -f "$f"; then
42816 elif test -f "$srcdir/$f"; then
42821 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42822 echo "$as_me: error: cannot find input file: $f" >&2;}
42823 { (exit 1); exit 1; }; }
42826 done` || { (exit 1); exit 1; }
42828 cat >>$CONFIG_STATUS <<_ACEOF
42832 cat >>$CONFIG_STATUS <<\_ACEOF
42834 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42835 s
,@configure_input@
,$configure_input,;t t
42836 s
,@srcdir@
,$ac_srcdir,;t t
42837 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42838 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42839 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42840 s
,@builddir@
,$ac_builddir,;t t
42841 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42842 s
,@top_builddir@
,$ac_top_builddir,;t t
42843 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42844 s
,@INSTALL@
,$ac_INSTALL,;t t
42845 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42847 if test x"$ac_file" != x-; then
42848 mv $tmp/out $ac_file
42854 # Run the commands associated with the file.
42856 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42857 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42861 cat >>$CONFIG_STATUS <<\_ACEOF
42864 # CONFIG_HEADER section.
42867 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42868 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42870 # ac_d sets the value in "#define NAME VALUE" lines.
42871 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42872 ac_dB
='[ ].*$,\1#\2'
42875 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42876 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42877 ac_uB
='$,\1#\2define\3'
42881 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42882 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42884 - | *:- | *:-:* ) # input from stdin
42886 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42887 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42888 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42889 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42890 * ) ac_file_in
=$ac_file.
in ;;
42893 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42894 echo "$as_me: creating $ac_file" >&6;}
42896 # First look for the input files in the build tree, otherwise in the
42898 ac_file_inputs
=`IFS=:
42899 for f in $ac_file_in; do
42901 -) echo $tmp/stdin ;;
42903 # Absolute (can't be DOS-style, as IFS=:)
42904 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42905 echo "$as_me: error: cannot find input file: $f" >&2;}
42906 { (exit 1); exit 1; }; }
42907 # Do quote $f, to prevent DOS paths from being IFS'd.
42910 if test -f "$f"; then
42913 elif test -f "$srcdir/$f"; then
42918 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42919 echo "$as_me: error: cannot find input file: $f" >&2;}
42920 { (exit 1); exit 1; }; }
42923 done` || { (exit 1); exit 1; }
42924 # Remove the trailing spaces.
42925 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42929 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42930 # `conftest.undefs', that substitutes the proper values into
42931 # config.h.in to produce config.h. The first handles `#define'
42932 # templates, and the second `#undef' templates.
42933 # And first: Protect against being on the right side of a sed subst in
42934 # config.status. Protect against being in an unquoted here document
42935 # in config.status.
42936 rm -f conftest.defines conftest.undefs
42937 # Using a here document instead of a string reduces the quoting nightmare.
42938 # Putting comments in sed scripts is not portable.
42940 # `end' is used to avoid that the second main sed command (meant for
42941 # 0-ary CPP macros) applies to n-ary macro definitions.
42942 # See the Autoconf documentation for `clear'.
42943 cat >confdef2sed.
sed <<\_ACEOF
42948 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42950 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42953 # If some macros were called several times there might be several times
42954 # the same #defines, which is useless. Nevertheless, we may not want to
42955 # sort them, since we want the *last* AC-DEFINE to be honored.
42956 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42957 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42958 rm -f confdef2sed.sed
42960 # This sed command replaces #undef with comments. This is necessary, for
42961 # example, in the case of _POSIX_SOURCE, which is predefined and required
42962 # on some systems where configure will not decide to define it.
42963 cat >>conftest.undefs <<\_ACEOF
42964 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42967 # Break up conftest.defines because some shells have a limit on the size
42968 # of here documents, and old seds have small limits too (100 cmds).
42969 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42970 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42971 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42972 echo ' :' >>$CONFIG_STATUS
42973 rm -f conftest.tail
42974 while grep . conftest.defines >/dev/null
42976 # Write a limited-size here document to $tmp/defines.sed.
42977 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42978 # Speed up: don't consider the non `#define' lines.
42979 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42980 # Work around the forget-to-reset-the-flag bug.
42981 echo 't clr' >>$CONFIG_STATUS
42982 echo ': clr' >>$CONFIG_STATUS
42983 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42985 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42987 mv $tmp/out $tmp/in
42989 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42990 rm -f conftest.defines
42991 mv conftest.
tail conftest.defines
42993 rm -f conftest.defines
42994 echo ' fi # grep' >>$CONFIG_STATUS
42995 echo >>$CONFIG_STATUS
42997 # Break up conftest.undefs because some shells have a limit on the size
42998 # of here documents, and old seds have small limits too (100 cmds).
42999 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43000 rm -f conftest.
tail
43001 while grep . conftest.undefs
>/dev
/null
43003 # Write a limited-size here document to $tmp/undefs.sed.
43004 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43005 # Speed up: don't consider the non
`#undef'
43006 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43007 # Work around the forget-to-reset-the-flag bug.
43008 echo 't clr' >>$CONFIG_STATUS
43009 echo ': clr' >>$CONFIG_STATUS
43010 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43012 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43014 mv $tmp/out $tmp/in
43016 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43017 rm -f conftest.undefs
43018 mv conftest.tail conftest.undefs
43020 rm -f conftest.undefs
43022 cat >>$CONFIG_STATUS <<\_ACEOF
43023 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43024 # use $as_me), people would be surprised to read:
43025 # /* config.h. Generated by config.status. */
43026 if test x
"$ac_file" = x
-; then
43027 echo "/* Generated by configure. */" >$tmp/config.h
43029 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43031 cat $tmp/in >>$tmp/config.h
43033 if test x
"$ac_file" != x
-; then
43034 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43035 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43036 echo "$as_me: $ac_file is unchanged" >&6;}
43038 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43039 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43040 X"$ac_file" : 'X\(//\)[^/]' \| \
43041 X"$ac_file" : 'X\(//\)$' \| \
43042 X"$ac_file" : 'X\(/\)' \| \
43043 . : '\(.\)' 2>/dev/null ||
43045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43046 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43047 /^X\(\/\/\)$/{ s//\1/; q; }
43048 /^X\(\/\).*/{ s//\1/; q; }
43050 { if $as_mkdir_p; then
43055 while test ! -d "$as_dir"; do
43056 as_dirs
="$as_dir $as_dirs"
43057 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43058 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43059 X"$as_dir" : 'X\(//\)[^/]' \| \
43060 X"$as_dir" : 'X\(//\)$' \| \
43061 X"$as_dir" : 'X\(/\)' \| \
43062 . : '\(.\)' 2>/dev/null ||
43064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43065 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43066 /^X\(\/\/\)$/{ s//\1/; q; }
43067 /^X\(\/\).*/{ s//\1/; q; }
43070 test ! -n "$as_dirs" || mkdir $as_dirs
43071 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43072 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43073 { (exit 1); exit 1; }; }; }
43076 mv $tmp/config.h
$ac_file
43080 rm -f $tmp/config.h
43084 cat >>$CONFIG_STATUS <<\_ACEOF
43087 # CONFIG_COMMANDS section.
43089 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43090 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43091 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43092 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43093 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43094 X"$ac_dest" : 'X\(//\)[^/]' \| \
43095 X"$ac_dest" : 'X\(//\)$' \| \
43096 X"$ac_dest" : 'X\(/\)' \| \
43097 . : '\(.\)' 2>/dev/null ||
43099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43100 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43101 /^X\(\/\/\)$/{ s//\1/; q; }
43102 /^X\(\/\).*/{ s//\1/; q; }
43104 { if $as_mkdir_p; then
43109 while test ! -d "$as_dir"; do
43110 as_dirs
="$as_dir $as_dirs"
43111 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43112 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43113 X"$as_dir" : 'X\(//\)[^/]' \| \
43114 X"$as_dir" : 'X\(//\)$' \| \
43115 X"$as_dir" : 'X\(/\)' \| \
43116 . : '\(.\)' 2>/dev/null ||
43118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43119 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43120 /^X\(\/\/\)$/{ s//\1/; q; }
43121 /^X\(\/\).*/{ s//\1/; q; }
43124 test ! -n "$as_dirs" || mkdir $as_dirs
43125 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43126 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43127 { (exit 1); exit 1; }; }; }
43131 if test "$ac_dir" != .
; then
43132 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43133 # A "../" for each directory in $ac_dir_suffix.
43134 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43136 ac_dir_suffix
= ac_top_builddir
=
43140 .
) # No --srcdir option. We are building in place.
43142 if test -z "$ac_top_builddir"; then
43145 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43147 [\\/]* | ?
:[\\/]* ) # Absolute path.
43148 ac_srcdir
=$srcdir$ac_dir_suffix;
43149 ac_top_srcdir
=$srcdir ;;
43150 *) # Relative path.
43151 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43152 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43155 # Do not use `cd foo && pwd` to compute absolute paths, because
43156 # the directories may not exist.
43158 .
) ac_abs_builddir
="$ac_dir";;
43161 .
) ac_abs_builddir
=`pwd`;;
43162 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43163 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43166 case $ac_abs_builddir in
43167 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43169 case ${ac_top_builddir}.
in
43170 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43171 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43172 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43175 case $ac_abs_builddir in
43176 .
) ac_abs_srcdir
=$ac_srcdir;;
43179 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43180 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43181 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43184 case $ac_abs_builddir in
43185 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43187 case $ac_top_srcdir in
43188 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43189 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43190 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43195 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43196 echo "$as_me: executing $ac_dest commands" >&6;}
43198 wx
-config ) rm -f wx
-config
43199 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43205 cat >>$CONFIG_STATUS <<\_ACEOF
43207 { (exit 0); exit 0; }
43209 chmod +x
$CONFIG_STATUS
43210 ac_clean_files
=$ac_clean_files_save
43213 # configure is writing to config.log, and then calls config.status.
43214 # config.status does its own redirection, appending to config.log.
43215 # Unfortunately, on DOS this fails, as config.log is still kept open
43216 # by configure, so config.status won't be able to write to it; its
43217 # output is simply discarded. So we exec the FD to /dev/null,
43218 # effectively closing config.log, so it can be properly (re)opened and
43219 # appended to by config.status. When coming back to configure, we
43220 # need to make the FD available again.
43221 if test "$no_create" != yes; then
43223 ac_config_status_args
=
43224 test "$silent" = yes &&
43225 ac_config_status_args
="$ac_config_status_args --quiet"
43227 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43229 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43230 # would make configure fail if this is the last instruction.
43231 $ac_cs_success || { (exit 1); exit 1; }
43235 # CONFIG_SUBDIRS section.
43237 if test "$no_recursion" != yes; then
43239 # Remove --cache-file and --srcdir arguments so they do not pile up.
43240 ac_sub_configure_args
=
43242 for ac_arg
in $ac_configure_args; do
43243 if test -n "$ac_prev"; then
43248 -cache-file | --cache-file | --cache-fil | --cache-fi \
43249 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43250 ac_prev
=cache_file
;;
43251 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43252 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43255 --config-cache | -C)
43257 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43259 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43261 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43263 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43265 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43269 # Always prepend --prefix to ensure using the same prefix
43270 # in subdir configurations.
43271 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43274 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43276 # Do not complain, so a configure script can configure whichever
43277 # parts of a large source tree are present.
43278 test -d $srcdir/$ac_dir || continue
43280 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43281 echo "$as_me: configuring in $ac_dir" >&6;}
43282 { if $as_mkdir_p; then
43287 while test ! -d "$as_dir"; do
43288 as_dirs
="$as_dir $as_dirs"
43289 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43291 X"$as_dir" : 'X\(//\)[^/]' \| \
43292 X"$as_dir" : 'X\(//\)$' \| \
43293 X"$as_dir" : 'X\(/\)' \| \
43294 . : '\(.\)' 2>/dev/null ||
43296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43297 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43298 /^X\(\/\/\)$/{ s//\1/; q; }
43299 /^X\(\/\).*/{ s//\1/; q; }
43302 test ! -n "$as_dirs" || mkdir $as_dirs
43303 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43304 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43305 { (exit 1); exit 1; }; }; }
43309 if test "$ac_dir" != .
; then
43310 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43311 # A "../" for each directory in $ac_dir_suffix.
43312 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43314 ac_dir_suffix
= ac_top_builddir
=
43318 .
) # No --srcdir option. We are building in place.
43320 if test -z "$ac_top_builddir"; then
43323 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43325 [\\/]* | ?
:[\\/]* ) # Absolute path.
43326 ac_srcdir
=$srcdir$ac_dir_suffix;
43327 ac_top_srcdir
=$srcdir ;;
43328 *) # Relative path.
43329 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43330 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43333 # Do not use `cd foo && pwd` to compute absolute paths, because
43334 # the directories may not exist.
43336 .
) ac_abs_builddir
="$ac_dir";;
43339 .
) ac_abs_builddir
=`pwd`;;
43340 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43341 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43344 case $ac_abs_builddir in
43345 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43347 case ${ac_top_builddir}.
in
43348 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43349 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43350 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43353 case $ac_abs_builddir in
43354 .
) ac_abs_srcdir
=$ac_srcdir;;
43357 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43358 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43359 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43362 case $ac_abs_builddir in
43363 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43365 case $ac_top_srcdir in
43366 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43367 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43368 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43375 # Check for guested configure; otherwise get Cygnus style configure.
43376 if test -f $ac_srcdir/configure.gnu
; then
43377 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43378 elif test -f $ac_srcdir/configure
; then
43379 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43380 elif test -f $ac_srcdir/configure.
in; then
43381 ac_sub_configure
=$ac_configure
43383 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43384 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43388 # The recursion is here.
43389 if test -n "$ac_sub_configure"; then
43390 # Make the cache file name correct relative to the subdirectory.
43391 case $cache_file in
43392 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43393 *) # Relative path.
43394 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43397 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43398 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43399 # The eval makes quoting arguments work.
43400 eval $ac_sub_configure $ac_sub_configure_args \
43401 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43402 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43403 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43404 { (exit 1); exit 1; }; }
43413 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43415 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43416 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43418 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43419 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43420 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43422 echo " What level of wxWidgets compatibility should be enabled?"
43423 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43424 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43426 echo " Which libraries should wxWidgets use?"
43427 echo " jpeg ${wxUSE_LIBJPEG-none}"
43428 echo " png ${wxUSE_LIBPNG-none}"
43429 echo " regex ${wxUSE_REGEX}"
43430 echo " tiff ${wxUSE_LIBTIFF-none}"
43431 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43432 echo " xpm ${wxUSE_LIBXPM-none}"
43434 echo " zlib ${wxUSE_ZLIB}"
43435 echo " odbc ${wxUSE_ODBC}"
43436 echo " expat ${wxUSE_EXPAT}"
43437 echo " libmspack ${wxUSE_LIBMSPACK}"
43438 echo " sdl ${wxUSE_LIBSDL}"
43439 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT}"