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 PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_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 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_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_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_COCOA 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_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 --enable-rpath=DIR output the rpath flag from wx
-config
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-opengl use OpenGL (or Mesa)
1065 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1066 --with-regex enable support for wxRegEx class
1067 --with-zlib use zlib for LZW compression
1068 --with-odbc use the IODBC and wxODBC classes
1069 --with-expat enable XML support using expat parser
1070 --with-flavour=NAME specify a name to identify this build
1071 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1072 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1073 --with-x use the X Window System
1074 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1075 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1076 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1077 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1078 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1080 Some influential environment variables:
1081 CC C compiler command
1082 CFLAGS C compiler flags
1083 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1084 nonstandard directory <lib dir>
1085 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1086 headers in a nonstandard directory <include dir>
1088 CXX C++ compiler command
1089 CXXFLAGS C++ compiler flags
1090 CXXCPP C++ preprocessor
1092 Use these variables to override the choices made by `configure' or to
help
1093 it to
find libraries and programs with nonstandard names
/locations.
1095 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1099 if test "$ac_init_help" = "recursive"; then
1100 # If there are subdirs, report their specific --help.
1102 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1103 test -d $ac_dir || continue
1106 if test "$ac_dir" != .
; then
1107 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1111 ac_dir_suffix
= ac_top_builddir
=
1115 .
) # No --srcdir option. We are building in place.
1117 if test -z "$ac_top_builddir"; then
1120 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1122 [\\/]* | ?
:[\\/]* ) # Absolute path.
1123 ac_srcdir
=$srcdir$ac_dir_suffix;
1124 ac_top_srcdir
=$srcdir ;;
1126 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1127 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1133 .
) ac_abs_builddir
="$ac_dir";;
1136 .
) ac_abs_builddir
=`pwd`;;
1137 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1138 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1141 case $ac_abs_builddir in
1142 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1144 case ${ac_top_builddir}.
in
1145 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1146 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1147 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1150 case $ac_abs_builddir in
1151 .
) ac_abs_srcdir
=$ac_srcdir;;
1154 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1155 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1156 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1159 case $ac_abs_builddir in
1160 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1162 case $ac_top_srcdir in
1163 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1164 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1165 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1170 # Check for guested configure; otherwise get Cygnus style configure.
1171 if test -f $ac_srcdir/configure.gnu
; then
1173 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1174 elif test -f $ac_srcdir/configure
; then
1176 $SHELL $ac_srcdir/configure
--help=recursive
1177 elif test -f $ac_srcdir/configure.ac
||
1178 test -f $ac_srcdir/configure.
in; then
1180 $ac_configure --help
1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1191 wxWidgets configure
2.5.3
1192 generated by GNU Autoconf
2.59
1194 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1195 This configure
script is free software
; the Free Software Foundation
1196 gives unlimited permission to copy
, distribute and modify it.
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1205 It was created by wxWidgets $as_me 2.5.3, which was
1206 generated by GNU Autoconf 2.59. Invocation command line was
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1240 test -z "$as_dir" && as_dir
=.
1241 echo "PATH: $as_dir"
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1265 ac_must_keep_next
=false
1271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273 | -silent | --silent | --silen | --sile | --sil)
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1279 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1281 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1282 if test $ac_must_keep_next = true
; then
1283 ac_must_keep_next
=false
# Got value, back to normal.
1286 *=* | --config-cache | -C | -disable-* | --disable-* \
1287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289 | -with-* | --with-* | -without-* | --without-* | --x)
1290 case "$ac_configure_args0 " in
1291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1294 -* ) ac_must_keep_next
=true
;;
1297 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1298 # Get rid of the leading space.
1304 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1305 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log. We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313 # Save into config.log some information that might help in debugging.
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1323 # The following way of writing the cache mishandles newlines in values,
1326 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1329 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1346 for ac_var in $ac_subst_vars
1348 eval ac_val=$`echo $ac_var`
1349 echo "$ac_var='"'"'$ac_val'"'"'"
1353 if test -n "$ac_subst_files"; then
1360 for ac_var in $ac_subst_files
1362 eval ac_val=$`echo $ac_var`
1363 echo "$ac_var='"'"'$ac_val'"'"'"
1368 if test -s confdefs.h; then
1375 sed "/^$/d" confdefs.h | sort
1378 test "$ac_signal" != 0 &&
1379 echo "$as_me: caught signal $ac_signal"
1380 echo "$as_me: exit $exit_status"
1382 rm -f core *.core &&
1383 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1386 for ac_signal
in 1 2 13 15; do
1387 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest
* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1396 # Predefined preprocessor variables.
1398 cat >>confdefs.h
<<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1403 cat >>confdefs.h
<<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1418 cat >>confdefs.h
<<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426 if test "x$prefix" != xNONE
; then
1427 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1429 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1432 for ac_site_file
in $CONFIG_SITE; do
1433 if test -r "$ac_site_file"; then
1434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436 sed 's/^/| /' "$ac_site_file" >&5
1441 if test -r "$cache_file"; then
1442 # Some versions of bash will fail to source /dev/null (special
1443 # files actually), so we avoid doing that.
1444 if test -f "$cache_file"; then
1445 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1448 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1449 *) . .
/$cache_file;;
1453 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1458 # Check that the precious variables saved in the cache have kept the same
1460 ac_cache_corrupted
=false
1461 for ac_var
in `(set) 2>&1 |
1462 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1464 eval ac_new_set
=\
$ac_env_${ac_var}_set
1465 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1466 eval ac_new_val
="\$ac_env_${ac_var}_value"
1467 case $ac_old_set,$ac_new_set in
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471 ac_cache_corrupted
=: ;;
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475 ac_cache_corrupted
=: ;;
1478 if test "x$ac_old_val" != "x$ac_new_val"; then
1479 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1482 echo "$as_me: former value: $ac_old_val" >&2;}
1483 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1484 echo "$as_me: current value: $ac_new_val" >&2;}
1485 ac_cache_corrupted
=:
1488 # Pass precious variables to config.status.
1489 if test "$ac_new_set" = set; then
1491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493 *) ac_arg
=$ac_var=$ac_new_val ;;
1495 case " $ac_configure_args " in
1496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1497 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1501 if $ac_cache_corrupted; then
1502 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506 { (exit 1); exit 1; }; }
1510 ac_cpp
='$CPP $CPPFLAGS'
1511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1545 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1546 if test -f $ac_dir/install-sh; then
1548 ac_install_sh
="$ac_aux_dir/install-sh -c"
1550 elif test -f $ac_dir/install.sh
; then
1552 ac_install_sh
="$ac_aux_dir/install.sh -c"
1554 elif test -f $ac_dir/shtool
; then
1556 ac_install_sh
="$ac_aux_dir/shtool install -c"
1560 if test -z "$ac_aux_dir"; then
1561 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1562 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1563 { (exit 1); exit 1; }; }
1565 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1566 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1567 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1569 # Make sure we can run config.sub.
1570 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1571 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1572 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1573 { (exit 1); exit 1; }; }
1575 echo "$as_me:$LINENO: checking build system type" >&5
1576 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1577 if test "${ac_cv_build+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 ac_cv_build_alias
=$build_alias
1581 test -z "$ac_cv_build_alias" &&
1582 ac_cv_build_alias
=`$ac_config_guess`
1583 test -z "$ac_cv_build_alias" &&
1584 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1585 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1586 { (exit 1); exit 1; }; }
1587 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1588 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1589 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1590 { (exit 1); exit 1; }; }
1593 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1594 echo "${ECHO_T}$ac_cv_build" >&6
1596 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1597 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1598 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1601 echo "$as_me:$LINENO: checking host system type" >&5
1602 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1603 if test "${ac_cv_host+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 ac_cv_host_alias
=$host_alias
1607 test -z "$ac_cv_host_alias" &&
1608 ac_cv_host_alias
=$ac_cv_build_alias
1609 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1615 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1616 echo "${ECHO_T}$ac_cv_host" >&6
1618 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1623 echo "$as_me:$LINENO: checking target system type" >&5
1624 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1625 if test "${ac_cv_target+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 ac_cv_target_alias
=$target_alias
1629 test "x$ac_cv_target_alias" = "x" &&
1630 ac_cv_target_alias
=$ac_cv_host_alias
1631 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1632 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1633 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1634 { (exit 1); exit 1; }; }
1637 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1638 echo "${ECHO_T}$ac_cv_target" >&6
1639 target
=$ac_cv_target
1640 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1641 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1642 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1645 # The aliases save the names the user supplied, while $host etc.
1646 # will get canonicalized.
1647 test -n "$target_alias" &&
1648 test "$program_prefix$program_suffix$program_transform_name" = \
1650 program_prefix
=${target_alias}-
1654 wx_major_version_number
=2
1655 wx_minor_version_number
=5
1657 wx_subrelease_number
=0
1659 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1660 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1661 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1663 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1679 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1685 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1691 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1693 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1695 DEFAULT_wxUSE_COCOA
=0
1699 DEFAULT_wxUSE_MICROWIN
=0
1700 DEFAULT_wxUSE_MOTIF
=0
1705 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1706 DEFAULT_DEFAULT_wxUSE_GTK
=0
1707 DEFAULT_DEFAULT_wxUSE_MAC
=0
1708 DEFAULT_DEFAULT_wxUSE_MGL
=0
1709 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1710 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1711 DEFAULT_DEFAULT_wxUSE_MSW
=0
1712 DEFAULT_DEFAULT_wxUSE_PM
=0
1713 DEFAULT_DEFAULT_wxUSE_X11
=0
1718 SAMPLES_RPATH_POSTLINK
=
1723 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1724 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1726 cat >>confdefs.h
<<\_ACEOF
1733 cat >>confdefs.h
<<\_ACEOF
1738 if test "x$TMP" = "xalpha"; then
1740 cat >>confdefs.h
<<\_ACEOF
1745 DEFAULT_DEFAULT_wxUSE_GTK
=1
1747 *-*-gnu* | *-*-k*bsd
*-gnu )
1750 if test "x$TMP" = "xalpha"; then
1752 cat >>confdefs.h
<<\_ACEOF
1757 DEFAULT_DEFAULT_wxUSE_GTK
=1
1759 *-*-irix5* | *-*-irix6* )
1762 cat >>confdefs.h
<<\_ACEOF
1766 cat >>confdefs.h
<<\_ACEOF
1770 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1776 cat >>confdefs.h
<<\_ACEOF
1780 cat >>confdefs.h
<<\_ACEOF
1781 #define __SOLARIS__ 1
1784 cat >>confdefs.h
<<\_ACEOF
1788 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1789 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1795 cat >>confdefs.h
<<\_ACEOF
1799 cat >>confdefs.h
<<\_ACEOF
1803 cat >>confdefs.h
<<\_ACEOF
1807 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1812 cat >>confdefs.h
<<\_ACEOF
1813 #define __FREEBSD__ 1
1816 cat >>confdefs.h
<<\_ACEOF
1820 DEFAULT_DEFAULT_wxUSE_GTK
=1
1825 cat >>confdefs.h
<<\_ACEOF
1826 #define __OPENBSD__ 1
1829 cat >>confdefs.h
<<\_ACEOF
1833 DEFAULT_DEFAULT_wxUSE_GTK
=1
1838 cat >>confdefs.h
<<\_ACEOF
1839 #define __NETBSD__ 1
1842 cat >>confdefs.h
<<\_ACEOF
1846 DEFAULT_DEFAULT_wxUSE_GTK
=1
1851 cat >>confdefs.h
<<\_ACEOF
1855 cat >>confdefs.h
<<\_ACEOF
1859 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1860 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1865 cat >>confdefs.h
<<\_ACEOF
1869 cat >>confdefs.h
<<\_ACEOF
1873 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1878 cat >>confdefs.h
<<\_ACEOF
1882 cat >>confdefs.h
<<\_ACEOF
1886 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1893 cat >>confdefs.h
<<\_ACEOF
1897 cat >>confdefs.h
<<\_ACEOF
1901 cat >>confdefs.h
<<\_ACEOF
1905 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1912 cat >>confdefs.h
<<\_ACEOF
1913 #define __UNIXWARE__ 1
1918 *-*-cygwin* | *-*-mingw32* )
1922 DEFAULT_DEFAULT_wxUSE_MSW
=1
1928 cat >>confdefs.h
<<\_ACEOF
1933 DEFAULT_DEFAULT_wxUSE_MGL
=1
1934 LIBS
="$LIBS -lstdc++"
1937 *-pc-os2_emx | *-pc-os2-emx )
1938 cat >>confdefs.h
<<\_ACEOF
1943 cat >>confdefs.h
<<\_ACEOF
1948 DEFAULT_DEFAULT_wxUSE_PM
=1
1950 LDFLAGS
="$LDFLAGS -Zcrtdll"
1951 ac_executable_extensions
=".exe"
1952 export ac_executable_extensions
1956 for ac_dir
in $PATH; do
1958 if test -z "$ac_TEMP_PATH"; then
1959 ac_TEMP_PATH
="$ac_dir"
1961 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1964 export PATH
="$ac_TEMP_PATH"
1972 cat >>confdefs.h
<<\_ACEOF
1976 cat >>confdefs.h
<<\_ACEOF
1977 #define __DARWIN__ 1
1980 cat >>confdefs.h
<<\_ACEOF
1981 #define __POWERPC__ 1
1984 cat >>confdefs.h
<<\_ACEOF
1985 #define TARGET_CARBON 1
1988 DEFAULT_DEFAULT_wxUSE_MAC
=1
1993 cat >>confdefs.h
<<\_ACEOF
2000 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2001 echo "$as_me: error: unknown system type ${host}." >&2;}
2002 { (exit 1); exit 1; }; }
2008 wx_arg_cache_file
="configarg.cache"
2009 echo "loading argument cache $wx_arg_cache_file"
2010 rm -f ${wx_arg_cache_file}.tmp
2011 touch ${wx_arg_cache_file}.tmp
2012 touch ${wx_arg_cache_file}
2016 if test $DEBUG_CONFIGURE = 1; then
2017 DEFAULT_wxUSE_UNIVERSAL
=no
2018 DEFAULT_wxUSE_STL
=no
2020 DEFAULT_wxUSE_NANOX
=no
2022 DEFAULT_wxUSE_THREADS
=yes
2024 DEFAULT_wxUSE_SHARED
=yes
2025 DEFAULT_wxUSE_OPTIMISE
=no
2026 DEFAULT_wxUSE_PROFILE
=no
2027 DEFAULT_wxUSE_NO_DEPS
=no
2028 DEFAULT_wxUSE_NO_RTTI
=no
2029 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2030 DEFAULT_wxUSE_PERMISSIVE
=no
2031 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2032 DEFAULT_wxUSE_DEBUG_INFO
=yes
2033 DEFAULT_wxUSE_DEBUG_GDB
=yes
2034 DEFAULT_wxUSE_MEM_TRACING
=no
2035 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2036 DEFAULT_wxUSE_DMALLOC
=no
2037 DEFAULT_wxUSE_APPLE_IEEE
=no
2039 DEFAULT_wxUSE_EXCEPTIONS
=no
2040 DEFAULT_wxUSE_LOG
=yes
2041 DEFAULT_wxUSE_LOGWINDOW
=no
2042 DEFAULT_wxUSE_LOGGUI
=no
2043 DEFAULT_wxUSE_LOGDIALOG
=no
2045 DEFAULT_wxUSE_GUI
=yes
2046 DEFAULT_wxUSE_CONTROLS
=no
2048 DEFAULT_wxUSE_REGEX
=no
2049 DEFAULT_wxUSE_XML
=no
2050 DEFAULT_wxUSE_EXPAT
=no
2051 DEFAULT_wxUSE_ZLIB
=no
2052 DEFAULT_wxUSE_LIBPNG
=no
2053 DEFAULT_wxUSE_LIBJPEG
=no
2054 DEFAULT_wxUSE_LIBTIFF
=no
2055 DEFAULT_wxUSE_LIBXPM
=no
2056 DEFAULT_wxUSE_LIBMSPACK
=no
2057 DEFAULT_wxUSE_LIBSDL
=no
2058 DEFAULT_wxUSE_ODBC
=no
2059 DEFAULT_wxUSE_OPENGL
=no
2061 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2062 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2063 DEFAULT_wxUSE_STD_IOSTREAM
=no
2064 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2065 DEFAULT_wxUSE_DATETIME
=no
2066 DEFAULT_wxUSE_TIMER
=no
2067 DEFAULT_wxUSE_STOPWATCH
=no
2068 DEFAULT_wxUSE_FILE
=no
2069 DEFAULT_wxUSE_FFILE
=no
2070 DEFAULT_wxUSE_TEXTBUFFER
=no
2071 DEFAULT_wxUSE_TEXTFILE
=no
2072 DEFAULT_wxUSE_SOUND
=no
2073 DEFAULT_wxUSE_INTL
=no
2074 DEFAULT_wxUSE_CONFIG
=no
2075 DEFAULT_wxUSE_FONTMAP
=no
2076 DEFAULT_wxUSE_STREAMS
=no
2077 DEFAULT_wxUSE_SOCKETS
=no
2078 DEFAULT_wxUSE_OLE
=no
2079 DEFAULT_wxUSE_DATAOBJ
=no
2080 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2081 DEFAULT_wxUSE_JOYSTICK
=no
2082 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2083 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2084 DEFAULT_wxUSE_LONGLONG
=no
2085 DEFAULT_wxUSE_GEOMETRY
=no
2087 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2088 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2089 DEFAULT_wxUSE_POSTSCRIPT
=no
2091 DEFAULT_wxUSE_CLIPBOARD
=no
2092 DEFAULT_wxUSE_TOOLTIPS
=no
2093 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2094 DEFAULT_wxUSE_DRAGIMAGE
=no
2095 DEFAULT_wxUSE_SPLINES
=no
2097 DEFAULT_wxUSE_MDI
=no
2098 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2099 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2100 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2102 DEFAULT_wxUSE_RESOURCES
=no
2103 DEFAULT_wxUSE_CONSTRAINTS
=no
2104 DEFAULT_wxUSE_IPC
=no
2105 DEFAULT_wxUSE_HELP
=no
2106 DEFAULT_wxUSE_MS_HTML_HELP
=no
2107 DEFAULT_wxUSE_WXHTML_HELP
=no
2108 DEFAULT_wxUSE_TREELAYOUT
=no
2109 DEFAULT_wxUSE_METAFILE
=no
2110 DEFAULT_wxUSE_MIMETYPE
=no
2111 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2112 DEFAULT_wxUSE_PROTOCOL
=no
2113 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2114 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2115 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2116 DEFAULT_wxUSE_URL
=no
2118 DEFAULT_wxUSE_COMMONDLGS
=no
2119 DEFAULT_wxUSE_CHOICEDLG
=no
2120 DEFAULT_wxUSE_COLOURDLG
=no
2121 DEFAULT_wxUSE_DIRDLG
=no
2122 DEFAULT_wxUSE_FILEDLG
=no
2123 DEFAULT_wxUSE_FINDREPLDLG
=no
2124 DEFAULT_wxUSE_FONTDLG
=no
2125 DEFAULT_wxUSE_MSGDLG
=no
2126 DEFAULT_wxUSE_NUMBERDLG
=no
2127 DEFAULT_wxUSE_TEXTDLG
=no
2128 DEFAULT_wxUSE_SPLASH
=no
2129 DEFAULT_wxUSE_STARTUP_TIPS
=no
2130 DEFAULT_wxUSE_PROGRESSDLG
=no
2131 DEFAULT_wxUSE_WIZARDDLG
=no
2133 DEFAULT_wxUSE_MENUS
=no
2134 DEFAULT_wxUSE_MINIFRAME
=no
2135 DEFAULT_wxUSE_HTML
=no
2136 DEFAULT_wxUSE_XRC
=no
2137 DEFAULT_wxUSE_WEBKIT
=no
2138 DEFAULT_wxUSE_FILESYSTEM
=no
2139 DEFAULT_wxUSE_FS_INET
=no
2140 DEFAULT_wxUSE_FS_ZIP
=no
2141 DEFAULT_wxUSE_BUSYINFO
=no
2142 DEFAULT_wxUSE_ZIPSTREAM
=no
2143 DEFAULT_wxUSE_VALIDATORS
=no
2145 DEFAULT_wxUSE_ACCEL
=no
2146 DEFAULT_wxUSE_BUTTON
=no
2147 DEFAULT_wxUSE_BMPBUTTON
=no
2148 DEFAULT_wxUSE_CALCTRL
=no
2149 DEFAULT_wxUSE_CARET
=no
2150 DEFAULT_wxUSE_CHECKBOX
=no
2151 DEFAULT_wxUSE_CHECKLST
=no
2152 DEFAULT_wxUSE_CHOICE
=no
2153 DEFAULT_wxUSE_CHOICEBOOK
=no
2154 DEFAULT_wxUSE_COMBOBOX
=no
2155 DEFAULT_wxUSE_DISPLAY
=no
2156 DEFAULT_wxUSE_GAUGE
=no
2157 DEFAULT_wxUSE_GRID
=no
2158 DEFAULT_wxUSE_IMAGLIST
=no
2159 DEFAULT_wxUSE_LISTBOOK
=no
2160 DEFAULT_wxUSE_LISTBOX
=no
2161 DEFAULT_wxUSE_LISTCTRL
=no
2162 DEFAULT_wxUSE_NOTEBOOK
=no
2163 DEFAULT_wxUSE_RADIOBOX
=no
2164 DEFAULT_wxUSE_RADIOBTN
=no
2165 DEFAULT_wxUSE_SASH
=no
2166 DEFAULT_wxUSE_SCROLLBAR
=no
2167 DEFAULT_wxUSE_SLIDER
=no
2168 DEFAULT_wxUSE_SPINBTN
=no
2169 DEFAULT_wxUSE_SPINCTRL
=no
2170 DEFAULT_wxUSE_SPLITTER
=no
2171 DEFAULT_wxUSE_STATBMP
=no
2172 DEFAULT_wxUSE_STATBOX
=no
2173 DEFAULT_wxUSE_STATLINE
=no
2174 DEFAULT_wxUSE_STATTEXT
=no
2175 DEFAULT_wxUSE_STATUSBAR
=yes
2176 DEFAULT_wxUSE_TABDIALOG
=no
2177 DEFAULT_wxUSE_TEXTCTRL
=no
2178 DEFAULT_wxUSE_TOGGLEBTN
=no
2179 DEFAULT_wxUSE_TOOLBAR
=no
2180 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2181 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2182 DEFAULT_wxUSE_TREECTRL
=no
2183 DEFAULT_wxUSE_POPUPWIN
=no
2184 DEFAULT_wxUSE_TIPWINDOW
=no
2186 DEFAULT_wxUSE_UNICODE
=no
2187 DEFAULT_wxUSE_UNICODE_MSLU
=no
2188 DEFAULT_wxUSE_WCSRTOMBS
=no
2190 DEFAULT_wxUSE_PALETTE
=no
2191 DEFAULT_wxUSE_IMAGE
=no
2192 DEFAULT_wxUSE_GIF
=no
2193 DEFAULT_wxUSE_PCX
=no
2194 DEFAULT_wxUSE_PNM
=no
2195 DEFAULT_wxUSE_IFF
=no
2196 DEFAULT_wxUSE_XPM
=no
2197 DEFAULT_wxUSE_ICO_CUR
=no
2198 DEFAULT_wxUSE_ACCESSIBILITY
=no
2200 DEFAULT_wxUSE_MONOLITHIC
=no
2201 DEFAULT_wxUSE_PLUGINS
=no
2202 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2204 DEFAULT_wxUSE_UNIVERSAL
=no
2205 DEFAULT_wxUSE_STL
=no
2207 DEFAULT_wxUSE_NANOX
=no
2209 DEFAULT_wxUSE_THREADS
=yes
2211 DEFAULT_wxUSE_SHARED
=yes
2212 DEFAULT_wxUSE_OPTIMISE
=yes
2213 DEFAULT_wxUSE_PROFILE
=no
2214 DEFAULT_wxUSE_NO_DEPS
=no
2215 DEFAULT_wxUSE_NO_RTTI
=no
2216 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2217 DEFAULT_wxUSE_PERMISSIVE
=no
2218 DEFAULT_wxUSE_DEBUG_FLAG
=no
2219 DEFAULT_wxUSE_DEBUG_INFO
=no
2220 DEFAULT_wxUSE_DEBUG_GDB
=no
2221 DEFAULT_wxUSE_MEM_TRACING
=no
2222 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2223 DEFAULT_wxUSE_DMALLOC
=no
2224 DEFAULT_wxUSE_APPLE_IEEE
=yes
2226 DEFAULT_wxUSE_EXCEPTIONS
=yes
2227 DEFAULT_wxUSE_LOG
=yes
2228 DEFAULT_wxUSE_LOGWINDOW
=yes
2229 DEFAULT_wxUSE_LOGGUI
=yes
2230 DEFAULT_wxUSE_LOGDIALOG
=yes
2232 DEFAULT_wxUSE_GUI
=yes
2234 DEFAULT_wxUSE_REGEX
=yes
2235 DEFAULT_wxUSE_XML
=yes
2236 DEFAULT_wxUSE_EXPAT
=yes
2237 DEFAULT_wxUSE_ZLIB
=yes
2238 DEFAULT_wxUSE_LIBPNG
=yes
2239 DEFAULT_wxUSE_LIBJPEG
=yes
2240 DEFAULT_wxUSE_LIBTIFF
=yes
2241 DEFAULT_wxUSE_LIBXPM
=yes
2242 DEFAULT_wxUSE_LIBMSPACK
=yes
2243 DEFAULT_wxUSE_LIBSDL
=no
2244 DEFAULT_wxUSE_ODBC
=no
2245 DEFAULT_wxUSE_OPENGL
=no
2247 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2248 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2249 DEFAULT_wxUSE_STD_IOSTREAM
=no
2250 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2251 DEFAULT_wxUSE_DATETIME
=yes
2252 DEFAULT_wxUSE_TIMER
=yes
2253 DEFAULT_wxUSE_STOPWATCH
=yes
2254 DEFAULT_wxUSE_FILE
=yes
2255 DEFAULT_wxUSE_FFILE
=yes
2256 DEFAULT_wxUSE_TEXTBUFFER
=yes
2257 DEFAULT_wxUSE_TEXTFILE
=yes
2258 DEFAULT_wxUSE_SOUND
=yes
2259 DEFAULT_wxUSE_INTL
=yes
2260 DEFAULT_wxUSE_CONFIG
=yes
2261 DEFAULT_wxUSE_FONTMAP
=yes
2262 DEFAULT_wxUSE_STREAMS
=yes
2263 DEFAULT_wxUSE_SOCKETS
=yes
2264 DEFAULT_wxUSE_OLE
=yes
2265 DEFAULT_wxUSE_DATAOBJ
=yes
2266 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2267 DEFAULT_wxUSE_JOYSTICK
=yes
2268 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2269 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2270 DEFAULT_wxUSE_LONGLONG
=yes
2271 DEFAULT_wxUSE_GEOMETRY
=yes
2273 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2274 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2275 DEFAULT_wxUSE_POSTSCRIPT
=yes
2277 DEFAULT_wxUSE_CLIPBOARD
=yes
2278 DEFAULT_wxUSE_TOOLTIPS
=yes
2279 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2280 DEFAULT_wxUSE_DRAGIMAGE
=yes
2281 DEFAULT_wxUSE_SPLINES
=yes
2283 DEFAULT_wxUSE_MDI
=yes
2284 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2285 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2286 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2288 DEFAULT_wxUSE_RESOURCES
=no
2289 DEFAULT_wxUSE_CONSTRAINTS
=yes
2290 DEFAULT_wxUSE_IPC
=yes
2291 DEFAULT_wxUSE_HELP
=yes
2292 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2293 DEFAULT_wxUSE_WXHTML_HELP
=yes
2294 DEFAULT_wxUSE_TREELAYOUT
=yes
2295 DEFAULT_wxUSE_METAFILE
=yes
2296 DEFAULT_wxUSE_MIMETYPE
=yes
2297 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2298 DEFAULT_wxUSE_PROTOCOL
=yes
2299 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2300 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2301 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2302 DEFAULT_wxUSE_URL
=yes
2304 DEFAULT_wxUSE_COMMONDLGS
=yes
2305 DEFAULT_wxUSE_CHOICEDLG
=yes
2306 DEFAULT_wxUSE_COLOURDLG
=yes
2307 DEFAULT_wxUSE_DIRDLG
=yes
2308 DEFAULT_wxUSE_FILEDLG
=yes
2309 DEFAULT_wxUSE_FINDREPLDLG
=yes
2310 DEFAULT_wxUSE_FONTDLG
=yes
2311 DEFAULT_wxUSE_MSGDLG
=yes
2312 DEFAULT_wxUSE_NUMBERDLG
=yes
2313 DEFAULT_wxUSE_TEXTDLG
=yes
2314 DEFAULT_wxUSE_SPLASH
=yes
2315 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2316 DEFAULT_wxUSE_PROGRESSDLG
=yes
2317 DEFAULT_wxUSE_WIZARDDLG
=yes
2319 DEFAULT_wxUSE_MENUS
=yes
2320 DEFAULT_wxUSE_MINIFRAME
=yes
2321 DEFAULT_wxUSE_HTML
=yes
2322 DEFAULT_wxUSE_XRC
=yes
2323 DEFAULT_wxUSE_WEBKIT
=yes
2324 DEFAULT_wxUSE_FILESYSTEM
=yes
2325 DEFAULT_wxUSE_FS_INET
=yes
2326 DEFAULT_wxUSE_FS_ZIP
=yes
2327 DEFAULT_wxUSE_BUSYINFO
=yes
2328 DEFAULT_wxUSE_ZIPSTREAM
=yes
2329 DEFAULT_wxUSE_VALIDATORS
=yes
2331 DEFAULT_wxUSE_ACCEL
=yes
2332 DEFAULT_wxUSE_BUTTON
=yes
2333 DEFAULT_wxUSE_BMPBUTTON
=yes
2334 DEFAULT_wxUSE_CALCTRL
=yes
2335 DEFAULT_wxUSE_CARET
=yes
2336 DEFAULT_wxUSE_CHECKBOX
=yes
2337 DEFAULT_wxUSE_CHECKLST
=yes
2338 DEFAULT_wxUSE_CHOICE
=yes
2339 DEFAULT_wxUSE_CHOICEBOOK
=yes
2340 DEFAULT_wxUSE_COMBOBOX
=yes
2341 DEFAULT_wxUSE_DISPLAY
=yes
2342 DEFAULT_wxUSE_GAUGE
=yes
2343 DEFAULT_wxUSE_GRID
=yes
2344 DEFAULT_wxUSE_IMAGLIST
=yes
2345 DEFAULT_wxUSE_LISTBOOK
=yes
2346 DEFAULT_wxUSE_LISTBOX
=yes
2347 DEFAULT_wxUSE_LISTCTRL
=yes
2348 DEFAULT_wxUSE_NOTEBOOK
=yes
2349 DEFAULT_wxUSE_RADIOBOX
=yes
2350 DEFAULT_wxUSE_RADIOBTN
=yes
2351 DEFAULT_wxUSE_SASH
=yes
2352 DEFAULT_wxUSE_SCROLLBAR
=yes
2353 DEFAULT_wxUSE_SLIDER
=yes
2354 DEFAULT_wxUSE_SPINBTN
=yes
2355 DEFAULT_wxUSE_SPINCTRL
=yes
2356 DEFAULT_wxUSE_SPLITTER
=yes
2357 DEFAULT_wxUSE_STATBMP
=yes
2358 DEFAULT_wxUSE_STATBOX
=yes
2359 DEFAULT_wxUSE_STATLINE
=yes
2360 DEFAULT_wxUSE_STATTEXT
=yes
2361 DEFAULT_wxUSE_STATUSBAR
=yes
2362 DEFAULT_wxUSE_TABDIALOG
=no
2363 DEFAULT_wxUSE_TEXTCTRL
=yes
2364 DEFAULT_wxUSE_TOGGLEBTN
=yes
2365 DEFAULT_wxUSE_TOOLBAR
=yes
2366 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2367 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2368 DEFAULT_wxUSE_TREECTRL
=yes
2369 DEFAULT_wxUSE_POPUPWIN
=yes
2370 DEFAULT_wxUSE_TIPWINDOW
=yes
2372 DEFAULT_wxUSE_UNICODE
=no
2373 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2374 DEFAULT_wxUSE_WCSRTOMBS
=no
2376 DEFAULT_wxUSE_PALETTE
=yes
2377 DEFAULT_wxUSE_IMAGE
=yes
2378 DEFAULT_wxUSE_GIF
=yes
2379 DEFAULT_wxUSE_PCX
=yes
2380 DEFAULT_wxUSE_IFF
=no
2381 DEFAULT_wxUSE_PNM
=yes
2382 DEFAULT_wxUSE_XPM
=yes
2383 DEFAULT_wxUSE_ICO_CUR
=yes
2384 DEFAULT_wxUSE_ACCESSIBILITY
=no
2386 DEFAULT_wxUSE_MONOLITHIC
=no
2387 DEFAULT_wxUSE_PLUGINS
=no
2388 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2390 DEFAULT_wxUSE_GTK2
=yes
2395 for toolkit
in `echo $ALL_TOOLKITS`; do
2396 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2397 if test "x$LINE" != "x" ; then
2398 has_toolkit_in_cache
=1
2399 eval "DEFAULT_$LINE"
2400 eval "CACHE_$toolkit=1"
2407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2408 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2410 # Check whether --enable-gui or --disable-gui was given.
2411 if test "${enable_gui+set}" = set; then
2412 enableval
="$enable_gui"
2414 if test "$enableval" = yes; then
2415 ac_cv_use_gui
='wxUSE_GUI=yes'
2417 ac_cv_use_gui
='wxUSE_GUI=no'
2422 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2423 if test "x$LINE" != x
; then
2424 eval "DEFAULT_$LINE"
2429 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2433 eval "$ac_cv_use_gui"
2434 if test "$no_cache" != 1; then
2435 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2438 if test "$wxUSE_GUI" = yes; then
2439 echo "$as_me:$LINENO: result: yes" >&5
2440 echo "${ECHO_T}yes" >&6
2442 echo "$as_me:$LINENO: result: no" >&5
2443 echo "${ECHO_T}no" >&6
2448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2449 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2451 # Check whether --enable-monolithic or --disable-monolithic was given.
2452 if test "${enable_monolithic+set}" = set; then
2453 enableval
="$enable_monolithic"
2455 if test "$enableval" = yes; then
2456 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2458 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2463 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2464 if test "x$LINE" != x
; then
2465 eval "DEFAULT_$LINE"
2470 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2474 eval "$ac_cv_use_monolithic"
2475 if test "$no_cache" != 1; then
2476 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2479 if test "$wxUSE_MONOLITHIC" = yes; then
2480 echo "$as_me:$LINENO: result: yes" >&5
2481 echo "${ECHO_T}yes" >&6
2483 echo "$as_me:$LINENO: result: no" >&5
2484 echo "${ECHO_T}no" >&6
2489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2490 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2492 # Check whether --enable-plugins or --disable-plugins was given.
2493 if test "${enable_plugins+set}" = set; then
2494 enableval
="$enable_plugins"
2496 if test "$enableval" = yes; then
2497 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2499 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2504 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2505 if test "x$LINE" != x
; then
2506 eval "DEFAULT_$LINE"
2511 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2515 eval "$ac_cv_use_plugins"
2516 if test "$no_cache" != 1; then
2517 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2520 if test "$wxUSE_PLUGINS" = yes; then
2521 echo "$as_me:$LINENO: result: yes" >&5
2522 echo "${ECHO_T}yes" >&6
2524 echo "$as_me:$LINENO: result: no" >&5
2525 echo "${ECHO_T}no" >&6
2529 if test "$wxUSE_GUI" = "yes"; then
2533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2534 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2536 # Check whether --enable-universal or --disable-universal was given.
2537 if test "${enable_universal+set}" = set; then
2538 enableval
="$enable_universal"
2540 if test "$enableval" = yes; then
2541 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2543 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2548 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2549 if test "x$LINE" != x
; then
2550 eval "DEFAULT_$LINE"
2555 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2559 eval "$ac_cv_use_universal"
2560 if test "$no_cache" != 1; then
2561 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2564 if test "$wxUSE_UNIVERSAL" = yes; then
2565 echo "$as_me:$LINENO: result: yes" >&5
2566 echo "${ECHO_T}yes" >&6
2568 echo "$as_me:$LINENO: result: no" >&5
2569 echo "${ECHO_T}no" >&6
2573 # Check whether --with-gtk or --without-gtk was given.
2574 if test "${with_gtk+set}" = set; then
2576 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2579 # Check whether --with-motif or --without-motif was given.
2580 if test "${with_motif+set}" = set; then
2581 withval
="$with_motif"
2582 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2585 # Check whether --with-mac or --without-mac was given.
2586 if test "${with_mac+set}" = set; then
2588 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2591 # Check whether --with-cocoa or --without-cocoa was given.
2592 if test "${with_cocoa+set}" = set; then
2593 withval
="$with_cocoa"
2594 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2597 # Check whether --with-wine or --without-wine was given.
2598 if test "${with_wine+set}" = set; then
2599 withval
="$with_wine"
2600 wxUSE_WINE
="$withval" CACHE_WINE
=1
2603 # Check whether --with-msw or --without-msw was given.
2604 if test "${with_msw+set}" = set; then
2606 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2609 # Check whether --with-pm or --without-pm was given.
2610 if test "${with_pm+set}" = set; then
2612 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2615 # Check whether --with-mgl or --without-mgl was given.
2616 if test "${with_mgl+set}" = set; then
2618 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2621 # Check whether --with-microwin or --without-microwin was given.
2622 if test "${with_microwin+set}" = set; then
2623 withval
="$with_microwin"
2624 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2627 # Check whether --with-x11 or --without-x11 was given.
2628 if test "${with_x11+set}" = set; then
2630 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2635 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2637 # Check whether --enable-nanox or --disable-nanox was given.
2638 if test "${enable_nanox+set}" = set; then
2639 enableval
="$enable_nanox"
2641 if test "$enableval" = yes; then
2642 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2644 ac_cv_use_nanox
='wxUSE_NANOX=no'
2649 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2650 if test "x$LINE" != x
; then
2651 eval "DEFAULT_$LINE"
2656 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2660 eval "$ac_cv_use_nanox"
2661 if test "$no_cache" != 1; then
2662 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2665 if test "$wxUSE_NANOX" = yes; then
2666 echo "$as_me:$LINENO: result: yes" >&5
2667 echo "${ECHO_T}yes" >&6
2669 echo "$as_me:$LINENO: result: no" >&5
2670 echo "${ECHO_T}no" >&6
2676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2677 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2679 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2680 if test "${enable_gtk2+set}" = set; then
2681 enableval
="$enable_gtk2"
2683 if test "$enableval" = yes; then
2684 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2686 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2691 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x
; then
2693 eval "DEFAULT_$LINE"
2698 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2702 eval "$ac_cv_use_gtk2"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2707 if test "$wxUSE_GTK2" = yes; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2718 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2720 # Check whether --enable-gpe or --disable-gpe was given.
2721 if test "${enable_gpe+set}" = set; then
2722 enableval
="$enable_gpe"
2724 if test "$enableval" = yes; then
2725 ac_cv_use_gpe
='wxUSE_GPE=yes'
2727 ac_cv_use_gpe
='wxUSE_GPE=no'
2732 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2733 if test "x$LINE" != x
; then
2734 eval "DEFAULT_$LINE"
2739 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2743 eval "$ac_cv_use_gpe"
2744 if test "$no_cache" != 1; then
2745 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2748 if test "$wxUSE_GPE" = yes; then
2749 echo "$as_me:$LINENO: result: yes" >&5
2750 echo "${ECHO_T}yes" >&6
2752 echo "$as_me:$LINENO: result: no" >&5
2753 echo "${ECHO_T}no" >&6
2758 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2759 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2762 # Check whether --with-libpng or --without-libpng was given.
2763 if test "${with_libpng+set}" = set; then
2764 withval
="$with_libpng"
2766 if test "$withval" = yes; then
2767 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2768 elif test "$withval" = no
; then
2769 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2770 elif test "$withval" = sys
; then
2771 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2772 elif test "$withval" = builtin; then
2773 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2775 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2776 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2777 { (exit 1); exit 1; }; }
2782 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2783 if test "x$LINE" != x
; then
2784 eval "DEFAULT_$LINE"
2789 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2793 eval "$ac_cv_use_libpng"
2794 if test "$no_cache" != 1; then
2795 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2798 if test "$wxUSE_LIBPNG" = yes; then
2799 echo "$as_me:$LINENO: result: yes" >&5
2800 echo "${ECHO_T}yes" >&6
2801 elif test "$wxUSE_LIBPNG" = no
; then
2802 echo "$as_me:$LINENO: result: no" >&5
2803 echo "${ECHO_T}no" >&6
2804 elif test "$wxUSE_LIBPNG" = sys
; then
2805 echo "$as_me:$LINENO: result: system version" >&5
2806 echo "${ECHO_T}system version" >&6
2807 elif test "$wxUSE_LIBPNG" = builtin; then
2808 echo "$as_me:$LINENO: result: builtin version" >&5
2809 echo "${ECHO_T}builtin version" >&6
2811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2812 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2813 { (exit 1); exit 1; }; }
2817 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2818 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2821 # Check whether --with-libjpeg or --without-libjpeg was given.
2822 if test "${with_libjpeg+set}" = set; then
2823 withval
="$with_libjpeg"
2825 if test "$withval" = yes; then
2826 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2827 elif test "$withval" = no
; then
2828 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2829 elif test "$withval" = sys
; then
2830 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2831 elif test "$withval" = builtin; then
2832 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2834 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2835 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2836 { (exit 1); exit 1; }; }
2841 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2842 if test "x$LINE" != x
; then
2843 eval "DEFAULT_$LINE"
2848 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2852 eval "$ac_cv_use_libjpeg"
2853 if test "$no_cache" != 1; then
2854 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2857 if test "$wxUSE_LIBJPEG" = yes; then
2858 echo "$as_me:$LINENO: result: yes" >&5
2859 echo "${ECHO_T}yes" >&6
2860 elif test "$wxUSE_LIBJPEG" = no
; then
2861 echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6
2863 elif test "$wxUSE_LIBJPEG" = sys
; then
2864 echo "$as_me:$LINENO: result: system version" >&5
2865 echo "${ECHO_T}system version" >&6
2866 elif test "$wxUSE_LIBJPEG" = builtin; then
2867 echo "$as_me:$LINENO: result: builtin version" >&5
2868 echo "${ECHO_T}builtin version" >&6
2870 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2871 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2872 { (exit 1); exit 1; }; }
2876 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2877 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2880 # Check whether --with-libtiff or --without-libtiff was given.
2881 if test "${with_libtiff+set}" = set; then
2882 withval
="$with_libtiff"
2884 if test "$withval" = yes; then
2885 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2886 elif test "$withval" = no
; then
2887 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2888 elif test "$withval" = sys
; then
2889 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2890 elif test "$withval" = builtin; then
2891 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2893 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2894 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2895 { (exit 1); exit 1; }; }
2900 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2901 if test "x$LINE" != x
; then
2902 eval "DEFAULT_$LINE"
2907 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2911 eval "$ac_cv_use_libtiff"
2912 if test "$no_cache" != 1; then
2913 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2916 if test "$wxUSE_LIBTIFF" = yes; then
2917 echo "$as_me:$LINENO: result: yes" >&5
2918 echo "${ECHO_T}yes" >&6
2919 elif test "$wxUSE_LIBTIFF" = no
; then
2920 echo "$as_me:$LINENO: result: no" >&5
2921 echo "${ECHO_T}no" >&6
2922 elif test "$wxUSE_LIBTIFF" = sys
; then
2923 echo "$as_me:$LINENO: result: system version" >&5
2924 echo "${ECHO_T}system version" >&6
2925 elif test "$wxUSE_LIBTIFF" = builtin; then
2926 echo "$as_me:$LINENO: result: builtin version" >&5
2927 echo "${ECHO_T}builtin version" >&6
2929 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2930 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2931 { (exit 1); exit 1; }; }
2935 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2936 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2939 # Check whether --with-libxpm or --without-libxpm was given.
2940 if test "${with_libxpm+set}" = set; then
2941 withval
="$with_libxpm"
2943 if test "$withval" = yes; then
2944 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2945 elif test "$withval" = no
; then
2946 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2947 elif test "$withval" = sys
; then
2948 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2949 elif test "$withval" = builtin; then
2950 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2952 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2953 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2954 { (exit 1); exit 1; }; }
2959 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2960 if test "x$LINE" != x
; then
2961 eval "DEFAULT_$LINE"
2966 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2970 eval "$ac_cv_use_libxpm"
2971 if test "$no_cache" != 1; then
2972 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2975 if test "$wxUSE_LIBXPM" = yes; then
2976 echo "$as_me:$LINENO: result: yes" >&5
2977 echo "${ECHO_T}yes" >&6
2978 elif test "$wxUSE_LIBXPM" = no
; then
2979 echo "$as_me:$LINENO: result: no" >&5
2980 echo "${ECHO_T}no" >&6
2981 elif test "$wxUSE_LIBXPM" = sys
; then
2982 echo "$as_me:$LINENO: result: system version" >&5
2983 echo "${ECHO_T}system version" >&6
2984 elif test "$wxUSE_LIBXPM" = builtin; then
2985 echo "$as_me:$LINENO: result: builtin version" >&5
2986 echo "${ECHO_T}builtin version" >&6
2988 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2989 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2990 { (exit 1); exit 1; }; }
2994 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2995 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2998 # Check whether --with-libmspack or --without-libmspack was given.
2999 if test "${with_libmspack+set}" = set; then
3000 withval
="$with_libmspack"
3002 if test "$withval" = yes; then
3003 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3005 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3010 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x
; then
3012 eval "DEFAULT_$LINE"
3017 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3021 eval "$ac_cv_use_libmspack"
3022 if test "$no_cache" != 1; then
3023 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3026 if test "$wxUSE_LIBMSPACK" = yes; then
3027 echo "$as_me:$LINENO: result: yes" >&5
3028 echo "${ECHO_T}yes" >&6
3030 echo "$as_me:$LINENO: result: no" >&5
3031 echo "${ECHO_T}no" >&6
3035 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3036 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3039 # Check whether --with-sdl or --without-sdl was given.
3040 if test "${with_sdl+set}" = set; then
3043 if test "$withval" = yes; then
3044 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3046 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3051 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x
; then
3053 eval "DEFAULT_$LINE"
3058 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3062 eval "$ac_cv_use_sdl"
3063 if test "$no_cache" != 1; then
3064 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3067 if test "$wxUSE_LIBSDL" = yes; then
3068 echo "$as_me:$LINENO: result: yes" >&5
3069 echo "${ECHO_T}yes" >&6
3071 echo "$as_me:$LINENO: result: no" >&5
3072 echo "${ECHO_T}no" >&6
3076 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3077 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3080 # Check whether --with-opengl or --without-opengl was given.
3081 if test "${with_opengl+set}" = set; then
3082 withval
="$with_opengl"
3084 if test "$withval" = yes; then
3085 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3087 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3092 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x
; then
3094 eval "DEFAULT_$LINE"
3099 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3103 eval "$ac_cv_use_opengl"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3108 if test "$wxUSE_OPENGL" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3120 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3121 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3124 # Check whether --with-dmalloc or --without-dmalloc was given.
3125 if test "${with_dmalloc+set}" = set; then
3126 withval
="$with_dmalloc"
3128 if test "$withval" = yes; then
3129 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3131 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3136 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3137 if test "x$LINE" != x
; then
3138 eval "DEFAULT_$LINE"
3143 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3147 eval "$ac_cv_use_dmalloc"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3152 if test "$wxUSE_DMALLOC" = yes; then
3153 echo "$as_me:$LINENO: result: yes" >&5
3154 echo "${ECHO_T}yes" >&6
3156 echo "$as_me:$LINENO: result: no" >&5
3157 echo "${ECHO_T}no" >&6
3161 echo "$as_me:$LINENO: checking for --with-regex" >&5
3162 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3165 # Check whether --with-regex or --without-regex was given.
3166 if test "${with_regex+set}" = set; then
3167 withval
="$with_regex"
3169 if test "$withval" = yes; then
3170 ac_cv_use_regex
='wxUSE_REGEX=yes'
3171 elif test "$withval" = no
; then
3172 ac_cv_use_regex
='wxUSE_REGEX=no'
3173 elif test "$withval" = sys
; then
3174 ac_cv_use_regex
='wxUSE_REGEX=sys'
3175 elif test "$withval" = builtin; then
3176 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3178 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3179 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3180 { (exit 1); exit 1; }; }
3185 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x
; then
3187 eval "DEFAULT_$LINE"
3192 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3196 eval "$ac_cv_use_regex"
3197 if test "$no_cache" != 1; then
3198 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3201 if test "$wxUSE_REGEX" = yes; then
3202 echo "$as_me:$LINENO: result: yes" >&5
3203 echo "${ECHO_T}yes" >&6
3204 elif test "$wxUSE_REGEX" = no
; then
3205 echo "$as_me:$LINENO: result: no" >&5
3206 echo "${ECHO_T}no" >&6
3207 elif test "$wxUSE_REGEX" = sys
; then
3208 echo "$as_me:$LINENO: result: system version" >&5
3209 echo "${ECHO_T}system version" >&6
3210 elif test "$wxUSE_REGEX" = builtin; then
3211 echo "$as_me:$LINENO: result: builtin version" >&5
3212 echo "${ECHO_T}builtin version" >&6
3214 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3215 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3216 { (exit 1); exit 1; }; }
3220 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3221 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3224 # Check whether --with-zlib or --without-zlib was given.
3225 if test "${with_zlib+set}" = set; then
3226 withval
="$with_zlib"
3228 if test "$withval" = yes; then
3229 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3230 elif test "$withval" = no
; then
3231 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3232 elif test "$withval" = sys
; then
3233 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3234 elif test "$withval" = builtin; then
3235 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3237 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3238 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3239 { (exit 1); exit 1; }; }
3244 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3245 if test "x$LINE" != x
; then
3246 eval "DEFAULT_$LINE"
3251 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3255 eval "$ac_cv_use_zlib"
3256 if test "$no_cache" != 1; then
3257 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3260 if test "$wxUSE_ZLIB" = yes; then
3261 echo "$as_me:$LINENO: result: yes" >&5
3262 echo "${ECHO_T}yes" >&6
3263 elif test "$wxUSE_ZLIB" = no
; then
3264 echo "$as_me:$LINENO: result: no" >&5
3265 echo "${ECHO_T}no" >&6
3266 elif test "$wxUSE_ZLIB" = sys
; then
3267 echo "$as_me:$LINENO: result: system version" >&5
3268 echo "${ECHO_T}system version" >&6
3269 elif test "$wxUSE_ZLIB" = builtin; then
3270 echo "$as_me:$LINENO: result: builtin version" >&5
3271 echo "${ECHO_T}builtin version" >&6
3273 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3274 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3275 { (exit 1); exit 1; }; }
3279 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3280 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3283 # Check whether --with-odbc or --without-odbc was given.
3284 if test "${with_odbc+set}" = set; then
3285 withval
="$with_odbc"
3287 if test "$withval" = yes; then
3288 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3289 elif test "$withval" = no
; then
3290 ac_cv_use_odbc
='wxUSE_ODBC=no'
3291 elif test "$withval" = sys
; then
3292 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3293 elif test "$withval" = builtin; then
3294 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3296 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3297 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3298 { (exit 1); exit 1; }; }
3303 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3304 if test "x$LINE" != x
; then
3305 eval "DEFAULT_$LINE"
3310 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3314 eval "$ac_cv_use_odbc"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3319 if test "$wxUSE_ODBC" = yes; then
3320 echo "$as_me:$LINENO: result: yes" >&5
3321 echo "${ECHO_T}yes" >&6
3322 elif test "$wxUSE_ODBC" = no
; then
3323 echo "$as_me:$LINENO: result: no" >&5
3324 echo "${ECHO_T}no" >&6
3325 elif test "$wxUSE_ODBC" = sys
; then
3326 echo "$as_me:$LINENO: result: system version" >&5
3327 echo "${ECHO_T}system version" >&6
3328 elif test "$wxUSE_ODBC" = builtin; then
3329 echo "$as_me:$LINENO: result: builtin version" >&5
3330 echo "${ECHO_T}builtin version" >&6
3332 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3333 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3334 { (exit 1); exit 1; }; }
3338 echo "$as_me:$LINENO: checking for --with-expat" >&5
3339 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3342 # Check whether --with-expat or --without-expat was given.
3343 if test "${with_expat+set}" = set; then
3344 withval
="$with_expat"
3346 if test "$withval" = yes; then
3347 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3348 elif test "$withval" = no
; then
3349 ac_cv_use_expat
='wxUSE_EXPAT=no'
3350 elif test "$withval" = sys
; then
3351 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3352 elif test "$withval" = builtin; then
3353 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3355 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3356 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3357 { (exit 1); exit 1; }; }
3362 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3363 if test "x$LINE" != x
; then
3364 eval "DEFAULT_$LINE"
3369 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3373 eval "$ac_cv_use_expat"
3374 if test "$no_cache" != 1; then
3375 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3378 if test "$wxUSE_EXPAT" = yes; then
3379 echo "$as_me:$LINENO: result: yes" >&5
3380 echo "${ECHO_T}yes" >&6
3381 elif test "$wxUSE_EXPAT" = no
; then
3382 echo "$as_me:$LINENO: result: no" >&5
3383 echo "${ECHO_T}no" >&6
3384 elif test "$wxUSE_EXPAT" = sys
; then
3385 echo "$as_me:$LINENO: result: system version" >&5
3386 echo "${ECHO_T}system version" >&6
3387 elif test "$wxUSE_EXPAT" = builtin; then
3388 echo "$as_me:$LINENO: result: builtin version" >&5
3389 echo "${ECHO_T}builtin version" >&6
3391 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3392 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3393 { (exit 1); exit 1; }; }
3400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3401 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3403 # Check whether --enable-shared or --disable-shared was given.
3404 if test "${enable_shared+set}" = set; then
3405 enableval
="$enable_shared"
3407 if test "$enableval" = yes; then
3408 ac_cv_use_shared
='wxUSE_SHARED=yes'
3410 ac_cv_use_shared
='wxUSE_SHARED=no'
3415 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x
; then
3417 eval "DEFAULT_$LINE"
3422 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3426 eval "$ac_cv_use_shared"
3427 if test "$no_cache" != 1; then
3428 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3431 if test "$wxUSE_SHARED" = yes; then
3432 echo "$as_me:$LINENO: result: yes" >&5
3433 echo "${ECHO_T}yes" >&6
3435 echo "$as_me:$LINENO: result: no" >&5
3436 echo "${ECHO_T}no" >&6
3441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3442 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3444 # Check whether --enable-optimise or --disable-optimise was given.
3445 if test "${enable_optimise+set}" = set; then
3446 enableval
="$enable_optimise"
3448 if test "$enableval" = yes; then
3449 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3451 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3456 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x
; then
3458 eval "DEFAULT_$LINE"
3463 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3467 eval "$ac_cv_use_optimise"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3472 if test "$wxUSE_OPTIMISE" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474 echo "${ECHO_T}yes" >&6
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3483 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3485 # Check whether --enable-debug or --disable-debug was given.
3486 if test "${enable_debug+set}" = set; then
3487 enableval
="$enable_debug"
3489 if test "$enableval" = yes; then
3490 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3492 ac_cv_use_debug
='wxUSE_DEBUG=no'
3497 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x
; then
3499 eval "DEFAULT_$LINE"
3504 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3508 eval "$ac_cv_use_debug"
3509 if test "$no_cache" != 1; then
3510 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3513 if test "$wxUSE_DEBUG" = yes; then
3514 echo "$as_me:$LINENO: result: yes" >&5
3515 echo "${ECHO_T}yes" >&6
3517 echo "$as_me:$LINENO: result: no" >&5
3518 echo "${ECHO_T}no" >&6
3523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3524 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3526 # Check whether --enable-stl or --disable-stl was given.
3527 if test "${enable_stl+set}" = set; then
3528 enableval
="$enable_stl"
3530 if test "$enableval" = yes; then
3531 ac_cv_use_stl
='wxUSE_STL=yes'
3533 ac_cv_use_stl
='wxUSE_STL=no'
3538 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x
; then
3540 eval "DEFAULT_$LINE"
3545 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3549 eval "$ac_cv_use_stl"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3554 if test "$wxUSE_STL" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3562 if test "$USE_OS2" = "1"; then
3565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3566 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3568 # Check whether --enable-omf or --disable-omf was given.
3569 if test "${enable_omf+set}" = set; then
3570 enableval
="$enable_omf"
3572 if test "$enableval" = yes; then
3573 ac_cv_use_omf
='wxUSE_OMF=yes'
3575 ac_cv_use_omf
='wxUSE_OMF=no'
3580 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3581 if test "x$LINE" != x
; then
3582 eval "DEFAULT_$LINE"
3587 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3591 eval "$ac_cv_use_omf"
3592 if test "$no_cache" != 1; then
3593 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3596 if test "$wxUSE_OMF" = yes; then
3597 echo "$as_me:$LINENO: result: yes" >&5
3598 echo "${ECHO_T}yes" >&6
3600 echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6
3606 if test "$wxUSE_DEBUG" = "yes"; then
3607 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3608 DEFAULT_wxUSE_DEBUG_INFO
=yes
3610 elif test "$wxUSE_DEBUG" = "no"; then
3611 DEFAULT_wxUSE_DEBUG_FLAG
=no
3612 DEFAULT_wxUSE_DEBUG_INFO
=no
3618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3619 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3621 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3622 if test "${enable_debug_flag+set}" = set; then
3623 enableval
="$enable_debug_flag"
3625 if test "$enableval" = yes; then
3626 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3628 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3633 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3634 if test "x$LINE" != x
; then
3635 eval "DEFAULT_$LINE"
3640 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3644 eval "$ac_cv_use_debug_flag"
3645 if test "$no_cache" != 1; then
3646 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3649 if test "$wxUSE_DEBUG_FLAG" = yes; then
3650 echo "$as_me:$LINENO: result: yes" >&5
3651 echo "${ECHO_T}yes" >&6
3653 echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3660 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3662 # Check whether --enable-debug_info or --disable-debug_info was given.
3663 if test "${enable_debug_info+set}" = set; then
3664 enableval
="$enable_debug_info"
3666 if test "$enableval" = yes; then
3667 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3669 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3674 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x
; then
3676 eval "DEFAULT_$LINE"
3681 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3685 eval "$ac_cv_use_debug_info"
3686 if test "$no_cache" != 1; then
3687 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3690 if test "$wxUSE_DEBUG_INFO" = yes; then
3691 echo "$as_me:$LINENO: result: yes" >&5
3692 echo "${ECHO_T}yes" >&6
3694 echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3701 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3703 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3704 if test "${enable_debug_gdb+set}" = set; then
3705 enableval
="$enable_debug_gdb"
3707 if test "$enableval" = yes; then
3708 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3710 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3715 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3716 if test "x$LINE" != x
; then
3717 eval "DEFAULT_$LINE"
3722 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3726 eval "$ac_cv_use_debug_gdb"
3727 if test "$no_cache" != 1; then
3728 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3731 if test "$wxUSE_DEBUG_GDB" = yes; then
3732 echo "$as_me:$LINENO: result: yes" >&5
3733 echo "${ECHO_T}yes" >&6
3735 echo "$as_me:$LINENO: result: no" >&5
3736 echo "${ECHO_T}no" >&6
3741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3742 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3744 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3745 if test "${enable_debug_cntxt+set}" = set; then
3746 enableval
="$enable_debug_cntxt"
3748 if test "$enableval" = yes; then
3749 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3751 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3756 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x
; then
3758 eval "DEFAULT_$LINE"
3763 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3767 eval "$ac_cv_use_debug_cntxt"
3768 if test "$no_cache" != 1; then
3769 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3772 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3773 echo "$as_me:$LINENO: result: yes" >&5
3774 echo "${ECHO_T}yes" >&6
3776 echo "$as_me:$LINENO: result: no" >&5
3777 echo "${ECHO_T}no" >&6
3782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3783 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3785 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3786 if test "${enable_mem_tracing+set}" = set; then
3787 enableval
="$enable_mem_tracing"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3792 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3797 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3808 eval "$ac_cv_use_mem_tracing"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3813 if test "$wxUSE_MEM_TRACING" = yes; then
3814 echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3824 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3826 # Check whether --enable-profile or --disable-profile was given.
3827 if test "${enable_profile+set}" = set; then
3828 enableval
="$enable_profile"
3830 if test "$enableval" = yes; then
3831 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3833 ac_cv_use_profile
='wxUSE_PROFILE=no'
3838 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x
; then
3840 eval "DEFAULT_$LINE"
3845 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3849 eval "$ac_cv_use_profile"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3854 if test "$wxUSE_PROFILE" = yes; then
3855 echo "$as_me:$LINENO: result: yes" >&5
3856 echo "${ECHO_T}yes" >&6
3858 echo "$as_me:$LINENO: result: no" >&5
3859 echo "${ECHO_T}no" >&6
3864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3865 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3867 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3868 if test "${enable_no_rtti+set}" = set; then
3869 enableval
="$enable_no_rtti"
3871 if test "$enableval" = yes; then
3872 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3874 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3879 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x
; then
3881 eval "DEFAULT_$LINE"
3886 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3890 eval "$ac_cv_use_no_rtti"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3895 if test "$wxUSE_NO_RTTI" = yes; then
3896 echo "$as_me:$LINENO: result: yes" >&5
3897 echo "${ECHO_T}yes" >&6
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3906 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3908 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3909 if test "${enable_no_exceptions+set}" = set; then
3910 enableval
="$enable_no_exceptions"
3912 if test "$enableval" = yes; then
3913 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3915 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3920 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3921 if test "x$LINE" != x
; then
3922 eval "DEFAULT_$LINE"
3927 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3931 eval "$ac_cv_use_no_exceptions"
3932 if test "$no_cache" != 1; then
3933 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3936 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3937 echo "$as_me:$LINENO: result: yes" >&5
3938 echo "${ECHO_T}yes" >&6
3940 echo "$as_me:$LINENO: result: no" >&5
3941 echo "${ECHO_T}no" >&6
3946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3947 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3949 # Check whether --enable-permissive or --disable-permissive was given.
3950 if test "${enable_permissive+set}" = set; then
3951 enableval
="$enable_permissive"
3953 if test "$enableval" = yes; then
3954 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3956 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3961 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x
; then
3963 eval "DEFAULT_$LINE"
3968 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3972 eval "$ac_cv_use_permissive"
3973 if test "$no_cache" != 1; then
3974 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3977 if test "$wxUSE_PERMISSIVE" = yes; then
3978 echo "$as_me:$LINENO: result: yes" >&5
3979 echo "${ECHO_T}yes" >&6
3981 echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6
3987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3988 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3990 # Check whether --enable-no_deps or --disable-no_deps was given.
3991 if test "${enable_no_deps+set}" = set; then
3992 enableval
="$enable_no_deps"
3994 if test "$enableval" = yes; then
3995 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3997 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4002 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4003 if test "x$LINE" != x
; then
4004 eval "DEFAULT_$LINE"
4009 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4013 eval "$ac_cv_use_no_deps"
4014 if test "$no_cache" != 1; then
4015 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4018 if test "$wxUSE_NO_DEPS" = yes; then
4019 echo "$as_me:$LINENO: result: yes" >&5
4020 echo "${ECHO_T}yes" >&6
4022 echo "$as_me:$LINENO: result: no" >&5
4023 echo "${ECHO_T}no" >&6
4029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4030 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4032 # Check whether --enable-compat22 or --disable-compat22 was given.
4033 if test "${enable_compat22+set}" = set; then
4034 enableval
="$enable_compat22"
4036 if test "$enableval" = yes; then
4037 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4039 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4044 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4045 if test "x$LINE" != x
; then
4046 eval "DEFAULT_$LINE"
4051 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4055 eval "$ac_cv_use_compat22"
4056 if test "$no_cache" != 1; then
4057 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4060 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4061 echo "$as_me:$LINENO: result: yes" >&5
4062 echo "${ECHO_T}yes" >&6
4064 echo "$as_me:$LINENO: result: no" >&5
4065 echo "${ECHO_T}no" >&6
4069 enablestring
=disable
4070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4071 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4073 # Check whether --enable-compat24 or --disable-compat24 was given.
4074 if test "${enable_compat24+set}" = set; then
4075 enableval
="$enable_compat24"
4077 if test "$enableval" = yes; then
4078 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4080 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4085 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4086 if test "x$LINE" != x
; then
4087 eval "DEFAULT_$LINE"
4092 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4096 eval "$ac_cv_use_compat24"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4101 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4102 echo "$as_me:$LINENO: result: yes" >&5
4103 echo "${ECHO_T}yes" >&6
4105 echo "$as_me:$LINENO: result: no" >&5
4106 echo "${ECHO_T}no" >&6
4110 # Check whether --enable-rpath or --disable-rpath was given.
4111 if test "${enable_rpath+set}" = set; then
4112 enableval
="$enable_rpath"
4113 wxRPATH_DIR
="$enableval"
4116 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4117 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4125 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4127 # Check whether --enable-intl or --disable-intl was given.
4128 if test "${enable_intl+set}" = set; then
4129 enableval
="$enable_intl"
4131 if test "$enableval" = yes; then
4132 ac_cv_use_intl
='wxUSE_INTL=yes'
4134 ac_cv_use_intl
='wxUSE_INTL=no'
4139 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4140 if test "x$LINE" != x
; then
4141 eval "DEFAULT_$LINE"
4146 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4150 eval "$ac_cv_use_intl"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4155 if test "$wxUSE_INTL" = yes; then
4156 echo "$as_me:$LINENO: result: yes" >&5
4157 echo "${ECHO_T}yes" >&6
4159 echo "$as_me:$LINENO: result: no" >&5
4160 echo "${ECHO_T}no" >&6
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4168 # Check whether --enable-config or --disable-config was given.
4169 if test "${enable_config+set}" = set; then
4170 enableval
="$enable_config"
4172 if test "$enableval" = yes; then
4173 ac_cv_use_config
='wxUSE_CONFIG=yes'
4175 ac_cv_use_config
='wxUSE_CONFIG=no'
4180 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x
; then
4182 eval "DEFAULT_$LINE"
4187 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4191 eval "$ac_cv_use_config"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4196 if test "$wxUSE_CONFIG" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4208 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4210 # Check whether --enable-protocols or --disable-protocols was given.
4211 if test "${enable_protocols+set}" = set; then
4212 enableval
="$enable_protocols"
4214 if test "$enableval" = yes; then
4215 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4217 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4222 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x
; then
4224 eval "DEFAULT_$LINE"
4229 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4233 eval "$ac_cv_use_protocols"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4238 if test "$wxUSE_PROTOCOL" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240 echo "${ECHO_T}yes" >&6
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4249 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4251 # Check whether --enable-ftp or --disable-ftp was given.
4252 if test "${enable_ftp+set}" = set; then
4253 enableval
="$enable_ftp"
4255 if test "$enableval" = yes; then
4256 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4258 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4263 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x
; then
4265 eval "DEFAULT_$LINE"
4270 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4274 eval "$ac_cv_use_ftp"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4279 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4280 echo "$as_me:$LINENO: result: yes" >&5
4281 echo "${ECHO_T}yes" >&6
4283 echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6
4289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4290 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4292 # Check whether --enable-http or --disable-http was given.
4293 if test "${enable_http+set}" = set; then
4294 enableval
="$enable_http"
4296 if test "$enableval" = yes; then
4297 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4299 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4304 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x
; then
4306 eval "DEFAULT_$LINE"
4311 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4315 eval "$ac_cv_use_http"
4316 if test "$no_cache" != 1; then
4317 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4320 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4321 echo "$as_me:$LINENO: result: yes" >&5
4322 echo "${ECHO_T}yes" >&6
4324 echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6
4330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4331 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4333 # Check whether --enable-fileproto or --disable-fileproto was given.
4334 if test "${enable_fileproto+set}" = set; then
4335 enableval
="$enable_fileproto"
4337 if test "$enableval" = yes; then
4338 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4340 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4345 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x
; then
4347 eval "DEFAULT_$LINE"
4352 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4356 eval "$ac_cv_use_fileproto"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4361 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4362 echo "$as_me:$LINENO: result: yes" >&5
4363 echo "${ECHO_T}yes" >&6
4365 echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6
4371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4374 # Check whether --enable-sockets or --disable-sockets was given.
4375 if test "${enable_sockets+set}" = set; then
4376 enableval
="$enable_sockets"
4378 if test "$enableval" = yes; then
4379 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4381 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4386 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x
; then
4388 eval "DEFAULT_$LINE"
4393 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4397 eval "$ac_cv_use_sockets"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4402 if test "$wxUSE_SOCKETS" = yes; then
4403 echo "$as_me:$LINENO: result: yes" >&5
4404 echo "${ECHO_T}yes" >&6
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4415 # Check whether --enable-ole or --disable-ole was given.
4416 if test "${enable_ole+set}" = set; then
4417 enableval
="$enable_ole"
4419 if test "$enableval" = yes; then
4420 ac_cv_use_ole
='wxUSE_OLE=yes'
4422 ac_cv_use_ole
='wxUSE_OLE=no'
4427 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x
; then
4429 eval "DEFAULT_$LINE"
4434 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4438 eval "$ac_cv_use_ole"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4443 if test "$wxUSE_OLE" = yes; then
4444 echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4454 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4456 # Check whether --enable-dataobj or --disable-dataobj was given.
4457 if test "${enable_dataobj+set}" = set; then
4458 enableval
="$enable_dataobj"
4460 if test "$enableval" = yes; then
4461 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4463 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4468 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x
; then
4470 eval "DEFAULT_$LINE"
4475 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4479 eval "$ac_cv_use_dataobj"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4484 if test "$wxUSE_DATAOBJ" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486 echo "${ECHO_T}yes" >&6
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4496 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4498 # Check whether --enable-ipc or --disable-ipc was given.
4499 if test "${enable_ipc+set}" = set; then
4500 enableval
="$enable_ipc"
4502 if test "$enableval" = yes; then
4503 ac_cv_use_ipc
='wxUSE_IPC=yes'
4505 ac_cv_use_ipc
='wxUSE_IPC=no'
4510 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x
; then
4512 eval "DEFAULT_$LINE"
4517 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4521 eval "$ac_cv_use_ipc"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4526 if test "$wxUSE_IPC" = yes; then
4527 echo "$as_me:$LINENO: result: yes" >&5
4528 echo "${ECHO_T}yes" >&6
4530 echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4538 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4540 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4541 if test "${enable_apple_ieee+set}" = set; then
4542 enableval
="$enable_apple_ieee"
4544 if test "$enableval" = yes; then
4545 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4547 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4552 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x
; then
4554 eval "DEFAULT_$LINE"
4559 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4563 eval "$ac_cv_use_apple_ieee"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4568 if test "$wxUSE_APPLE_IEEE" = yes; then
4569 echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4581 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4582 if test "${enable_catch_segvs+set}" = set; then
4583 enableval
="$enable_catch_segvs"
4585 if test "$enableval" = yes; then
4586 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4588 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4593 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x
; then
4595 eval "DEFAULT_$LINE"
4600 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4604 eval "$ac_cv_use_catch_segvs"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4609 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4622 # Check whether --enable-cmdline or --disable-cmdline was given.
4623 if test "${enable_cmdline+set}" = set; then
4624 enableval
="$enable_cmdline"
4626 if test "$enableval" = yes; then
4627 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4629 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4634 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x
; then
4636 eval "DEFAULT_$LINE"
4641 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4645 eval "$ac_cv_use_cmdline"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4650 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4651 echo "$as_me:$LINENO: result: yes" >&5
4652 echo "${ECHO_T}yes" >&6
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4663 # Check whether --enable-datetime or --disable-datetime was given.
4664 if test "${enable_datetime+set}" = set; then
4665 enableval
="$enable_datetime"
4667 if test "$enableval" = yes; then
4668 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4670 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4675 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x
; then
4677 eval "DEFAULT_$LINE"
4682 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4686 eval "$ac_cv_use_datetime"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4691 if test "$wxUSE_DATETIME" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4704 # Check whether --enable-dialupman or --disable-dialupman was given.
4705 if test "${enable_dialupman+set}" = set; then
4706 enableval
="$enable_dialupman"
4708 if test "$enableval" = yes; then
4709 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4711 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4716 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x
; then
4718 eval "DEFAULT_$LINE"
4723 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4727 eval "$ac_cv_use_dialupman"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4732 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4745 # Check whether --enable-dynlib or --disable-dynlib was given.
4746 if test "${enable_dynlib+set}" = set; then
4747 enableval
="$enable_dynlib"
4749 if test "$enableval" = yes; then
4750 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4752 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4757 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x
; then
4759 eval "DEFAULT_$LINE"
4764 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4768 eval "$ac_cv_use_dynlib"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4773 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4786 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4787 if test "${enable_dynamicloader+set}" = set; then
4788 enableval
="$enable_dynamicloader"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4793 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4798 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4809 eval "$ac_cv_use_dynamicloader"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4814 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4827 # Check whether --enable-exceptions or --disable-exceptions was given.
4828 if test "${enable_exceptions+set}" = set; then
4829 enableval
="$enable_exceptions"
4831 if test "$enableval" = yes; then
4832 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4834 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4839 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x
; then
4841 eval "DEFAULT_$LINE"
4846 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4850 eval "$ac_cv_use_exceptions"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4855 if test "$wxUSE_EXCEPTIONS" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4868 # Check whether --enable-ffile or --disable-ffile was given.
4869 if test "${enable_ffile+set}" = set; then
4870 enableval
="$enable_ffile"
4872 if test "$enableval" = yes; then
4873 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4875 ac_cv_use_ffile
='wxUSE_FFILE=no'
4880 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x
; then
4882 eval "DEFAULT_$LINE"
4887 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4891 eval "$ac_cv_use_ffile"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4896 if test "$wxUSE_FFILE" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4909 # Check whether --enable-file or --disable-file was given.
4910 if test "${enable_file+set}" = set; then
4911 enableval
="$enable_file"
4913 if test "$enableval" = yes; then
4914 ac_cv_use_file
='wxUSE_FILE=yes'
4916 ac_cv_use_file
='wxUSE_FILE=no'
4921 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x
; then
4923 eval "DEFAULT_$LINE"
4928 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4932 eval "$ac_cv_use_file"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4937 if test "$wxUSE_FILE" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4941 echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6
4947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4950 # Check whether --enable-filesystem or --disable-filesystem was given.
4951 if test "${enable_filesystem+set}" = set; then
4952 enableval
="$enable_filesystem"
4954 if test "$enableval" = yes; then
4955 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4957 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4962 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x
; then
4964 eval "DEFAULT_$LINE"
4969 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4973 eval "$ac_cv_use_filesystem"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4978 if test "$wxUSE_FILESYSTEM" = yes; then
4979 echo "$as_me:$LINENO: result: yes" >&5
4980 echo "${ECHO_T}yes" >&6
4982 echo "$as_me:$LINENO: result: no" >&5
4983 echo "${ECHO_T}no" >&6
4988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4991 # Check whether --enable-fontmap or --disable-fontmap was given.
4992 if test "${enable_fontmap+set}" = set; then
4993 enableval
="$enable_fontmap"
4995 if test "$enableval" = yes; then
4996 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4998 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5003 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x
; then
5005 eval "DEFAULT_$LINE"
5010 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5014 eval "$ac_cv_use_fontmap"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5019 if test "$wxUSE_FONTMAP" = yes; then
5020 echo "$as_me:$LINENO: result: yes" >&5
5021 echo "${ECHO_T}yes" >&6
5023 echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6
5029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5032 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5033 if test "${enable_fs_inet+set}" = set; then
5034 enableval
="$enable_fs_inet"
5036 if test "$enableval" = yes; then
5037 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5039 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5044 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5045 if test "x$LINE" != x
; then
5046 eval "DEFAULT_$LINE"
5051 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5055 eval "$ac_cv_use_fs_inet"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5060 if test "$wxUSE_FS_INET" = yes; then
5061 echo "$as_me:$LINENO: result: yes" >&5
5062 echo "${ECHO_T}yes" >&6
5064 echo "$as_me:$LINENO: result: no" >&5
5065 echo "${ECHO_T}no" >&6
5070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5073 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5074 if test "${enable_fs_zip+set}" = set; then
5075 enableval
="$enable_fs_zip"
5077 if test "$enableval" = yes; then
5078 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5080 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5085 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x
; then
5087 eval "DEFAULT_$LINE"
5092 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5096 eval "$ac_cv_use_fs_zip"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5101 if test "$wxUSE_FS_ZIP" = yes; then
5102 echo "$as_me:$LINENO: result: yes" >&5
5103 echo "${ECHO_T}yes" >&6
5105 echo "$as_me:$LINENO: result: no" >&5
5106 echo "${ECHO_T}no" >&6
5111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5114 # Check whether --enable-geometry or --disable-geometry was given.
5115 if test "${enable_geometry+set}" = set; then
5116 enableval
="$enable_geometry"
5118 if test "$enableval" = yes; then
5119 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5121 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5126 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5127 if test "x$LINE" != x
; then
5128 eval "DEFAULT_$LINE"
5133 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5137 eval "$ac_cv_use_geometry"
5138 if test "$no_cache" != 1; then
5139 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5142 if test "$wxUSE_GEOMETRY" = yes; then
5143 echo "$as_me:$LINENO: result: yes" >&5
5144 echo "${ECHO_T}yes" >&6
5146 echo "$as_me:$LINENO: result: no" >&5
5147 echo "${ECHO_T}no" >&6
5152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5153 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5155 # Check whether --enable-log or --disable-log was given.
5156 if test "${enable_log+set}" = set; then
5157 enableval
="$enable_log"
5159 if test "$enableval" = yes; then
5160 ac_cv_use_log
='wxUSE_LOG=yes'
5162 ac_cv_use_log
='wxUSE_LOG=no'
5167 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5168 if test "x$LINE" != x
; then
5169 eval "DEFAULT_$LINE"
5174 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5178 eval "$ac_cv_use_log"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5183 if test "$wxUSE_LOG" = yes; then
5184 echo "$as_me:$LINENO: result: yes" >&5
5185 echo "${ECHO_T}yes" >&6
5187 echo "$as_me:$LINENO: result: no" >&5
5188 echo "${ECHO_T}no" >&6
5193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5196 # Check whether --enable-longlong or --disable-longlong was given.
5197 if test "${enable_longlong+set}" = set; then
5198 enableval
="$enable_longlong"
5200 if test "$enableval" = yes; then
5201 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5203 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5208 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x
; then
5210 eval "DEFAULT_$LINE"
5215 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5219 eval "$ac_cv_use_longlong"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5224 if test "$wxUSE_LONGLONG" = yes; then
5225 echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6
5228 echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6
5234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5237 # Check whether --enable-mimetype or --disable-mimetype was given.
5238 if test "${enable_mimetype+set}" = set; then
5239 enableval
="$enable_mimetype"
5241 if test "$enableval" = yes; then
5242 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5244 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5249 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x
; then
5251 eval "DEFAULT_$LINE"
5256 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5260 eval "$ac_cv_use_mimetype"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5265 if test "$wxUSE_MIMETYPE" = yes; then
5266 echo "$as_me:$LINENO: result: yes" >&5
5267 echo "${ECHO_T}yes" >&6
5269 echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6
5275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5276 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5278 # Check whether --enable-mslu or --disable-mslu was given.
5279 if test "${enable_mslu+set}" = set; then
5280 enableval
="$enable_mslu"
5282 if test "$enableval" = yes; then
5283 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5285 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5290 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x
; then
5292 eval "DEFAULT_$LINE"
5297 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5301 eval "$ac_cv_use_mslu"
5302 if test "$no_cache" != 1; then
5303 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5306 if test "$wxUSE_UNICODE_MSLU" = yes; then
5307 echo "$as_me:$LINENO: result: yes" >&5
5308 echo "${ECHO_T}yes" >&6
5310 echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6
5316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5317 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5319 # Check whether --enable-snglinst or --disable-snglinst was given.
5320 if test "${enable_snglinst+set}" = set; then
5321 enableval
="$enable_snglinst"
5323 if test "$enableval" = yes; then
5324 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5326 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5331 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x
; then
5333 eval "DEFAULT_$LINE"
5338 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5342 eval "$ac_cv_use_snglinst"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5347 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5348 echo "$as_me:$LINENO: result: yes" >&5
5349 echo "${ECHO_T}yes" >&6
5351 echo "$as_me:$LINENO: result: no" >&5
5352 echo "${ECHO_T}no" >&6
5357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5358 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5360 # Check whether --enable-streams or --disable-streams was given.
5361 if test "${enable_streams+set}" = set; then
5362 enableval
="$enable_streams"
5364 if test "$enableval" = yes; then
5365 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5367 ac_cv_use_streams
='wxUSE_STREAMS=no'
5372 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5373 if test "x$LINE" != x
; then
5374 eval "DEFAULT_$LINE"
5379 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5383 eval "$ac_cv_use_streams"
5384 if test "$no_cache" != 1; then
5385 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5388 if test "$wxUSE_STREAMS" = yes; then
5389 echo "$as_me:$LINENO: result: yes" >&5
5390 echo "${ECHO_T}yes" >&6
5392 echo "$as_me:$LINENO: result: no" >&5
5393 echo "${ECHO_T}no" >&6
5398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5401 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5402 if test "${enable_std_iostreams+set}" = set; then
5403 enableval
="$enable_std_iostreams"
5405 if test "$enableval" = yes; then
5406 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5408 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5413 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x
; then
5415 eval "DEFAULT_$LINE"
5420 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5424 eval "$ac_cv_use_std_iostreams"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5429 if test "$wxUSE_STD_IOSTREAM" = yes; then
5430 echo "$as_me:$LINENO: result: yes" >&5
5431 echo "${ECHO_T}yes" >&6
5433 echo "$as_me:$LINENO: result: no" >&5
5434 echo "${ECHO_T}no" >&6
5439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5440 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5442 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5443 if test "${enable_stopwatch+set}" = set; then
5444 enableval
="$enable_stopwatch"
5446 if test "$enableval" = yes; then
5447 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5449 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5454 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x
; then
5456 eval "DEFAULT_$LINE"
5461 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5465 eval "$ac_cv_use_stopwatch"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5470 if test "$wxUSE_STOPWATCH" = yes; then
5471 echo "$as_me:$LINENO: result: yes" >&5
5472 echo "${ECHO_T}yes" >&6
5474 echo "$as_me:$LINENO: result: no" >&5
5475 echo "${ECHO_T}no" >&6
5480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5483 # Check whether --enable-system_options or --disable-system_options was given.
5484 if test "${enable_system_options+set}" = set; then
5485 enableval
="$enable_system_options"
5487 if test "$enableval" = yes; then
5488 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5490 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5495 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x
; then
5497 eval "DEFAULT_$LINE"
5502 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5506 eval "$ac_cv_use_system_options"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5511 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5512 echo "$as_me:$LINENO: result: yes" >&5
5513 echo "${ECHO_T}yes" >&6
5515 echo "$as_me:$LINENO: result: no" >&5
5516 echo "${ECHO_T}no" >&6
5521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5524 # Check whether --enable-textbuf or --disable-textbuf was given.
5525 if test "${enable_textbuf+set}" = set; then
5526 enableval
="$enable_textbuf"
5528 if test "$enableval" = yes; then
5529 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5531 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5536 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5537 if test "x$LINE" != x
; then
5538 eval "DEFAULT_$LINE"
5543 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5547 eval "$ac_cv_use_textbuf"
5548 if test "$no_cache" != 1; then
5549 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5552 if test "$wxUSE_TEXTBUFFER" = yes; then
5553 echo "$as_me:$LINENO: result: yes" >&5
5554 echo "${ECHO_T}yes" >&6
5556 echo "$as_me:$LINENO: result: no" >&5
5557 echo "${ECHO_T}no" >&6
5562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5563 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5565 # Check whether --enable-textfile or --disable-textfile was given.
5566 if test "${enable_textfile+set}" = set; then
5567 enableval
="$enable_textfile"
5569 if test "$enableval" = yes; then
5570 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5572 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5577 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5578 if test "x$LINE" != x
; then
5579 eval "DEFAULT_$LINE"
5584 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5588 eval "$ac_cv_use_textfile"
5589 if test "$no_cache" != 1; then
5590 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5593 if test "$wxUSE_TEXTFILE" = yes; then
5594 echo "$as_me:$LINENO: result: yes" >&5
5595 echo "${ECHO_T}yes" >&6
5597 echo "$as_me:$LINENO: result: no" >&5
5598 echo "${ECHO_T}no" >&6
5603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5604 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5606 # Check whether --enable-timer or --disable-timer was given.
5607 if test "${enable_timer+set}" = set; then
5608 enableval
="$enable_timer"
5610 if test "$enableval" = yes; then
5611 ac_cv_use_timer
='wxUSE_TIMER=yes'
5613 ac_cv_use_timer
='wxUSE_TIMER=no'
5618 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x
; then
5620 eval "DEFAULT_$LINE"
5625 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5629 eval "$ac_cv_use_timer"
5630 if test "$no_cache" != 1; then
5631 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5634 if test "$wxUSE_TIMER" = yes; then
5635 echo "$as_me:$LINENO: result: yes" >&5
5636 echo "${ECHO_T}yes" >&6
5638 echo "$as_me:$LINENO: result: no" >&5
5639 echo "${ECHO_T}no" >&6
5644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5645 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5647 # Check whether --enable-unicode or --disable-unicode was given.
5648 if test "${enable_unicode+set}" = set; then
5649 enableval
="$enable_unicode"
5651 if test "$enableval" = yes; then
5652 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5654 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5659 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5660 if test "x$LINE" != x
; then
5661 eval "DEFAULT_$LINE"
5666 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5670 eval "$ac_cv_use_unicode"
5671 if test "$no_cache" != 1; then
5672 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5675 if test "$wxUSE_UNICODE" = yes; then
5676 echo "$as_me:$LINENO: result: yes" >&5
5677 echo "${ECHO_T}yes" >&6
5679 echo "$as_me:$LINENO: result: no" >&5
5680 echo "${ECHO_T}no" >&6
5685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5686 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5688 # Check whether --enable-sound or --disable-sound was given.
5689 if test "${enable_sound+set}" = set; then
5690 enableval
="$enable_sound"
5692 if test "$enableval" = yes; then
5693 ac_cv_use_sound
='wxUSE_SOUND=yes'
5695 ac_cv_use_sound
='wxUSE_SOUND=no'
5700 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x
; then
5702 eval "DEFAULT_$LINE"
5707 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5711 eval "$ac_cv_use_sound"
5712 if test "$no_cache" != 1; then
5713 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5716 if test "$wxUSE_SOUND" = yes; then
5717 echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6
5720 echo "$as_me:$LINENO: result: no" >&5
5721 echo "${ECHO_T}no" >&6
5726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5727 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5729 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5730 if test "${enable_wxprintfv+set}" = set; then
5731 enableval
="$enable_wxprintfv"
5733 if test "$enableval" = yes; then
5734 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5736 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5741 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5742 if test "x$LINE" != x
; then
5743 eval "DEFAULT_$LINE"
5748 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5752 eval "$ac_cv_use_wxprintfv"
5753 if test "$no_cache" != 1; then
5754 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5757 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5758 echo "$as_me:$LINENO: result: yes" >&5
5759 echo "${ECHO_T}yes" >&6
5761 echo "$as_me:$LINENO: result: no" >&5
5762 echo "${ECHO_T}no" >&6
5767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5768 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5770 # Check whether --enable-zipstream or --disable-zipstream was given.
5771 if test "${enable_zipstream+set}" = set; then
5772 enableval
="$enable_zipstream"
5774 if test "$enableval" = yes; then
5775 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5777 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5782 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5783 if test "x$LINE" != x
; then
5784 eval "DEFAULT_$LINE"
5789 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5793 eval "$ac_cv_use_zipstream"
5794 if test "$no_cache" != 1; then
5795 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5798 if test "$wxUSE_ZIPSTREAM" = yes; then
5799 echo "$as_me:$LINENO: result: yes" >&5
5800 echo "${ECHO_T}yes" >&6
5802 echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6
5809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5812 # Check whether --enable-url or --disable-url was given.
5813 if test "${enable_url+set}" = set; then
5814 enableval
="$enable_url"
5816 if test "$enableval" = yes; then
5817 ac_cv_use_url
='wxUSE_URL=yes'
5819 ac_cv_use_url
='wxUSE_URL=no'
5824 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x
; then
5826 eval "DEFAULT_$LINE"
5831 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5835 eval "$ac_cv_use_url"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5840 if test "$wxUSE_URL" = yes; then
5841 echo "$as_me:$LINENO: result: yes" >&5
5842 echo "${ECHO_T}yes" >&6
5844 echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6
5850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5851 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5853 # Check whether --enable-protocol or --disable-protocol was given.
5854 if test "${enable_protocol+set}" = set; then
5855 enableval
="$enable_protocol"
5857 if test "$enableval" = yes; then
5858 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5860 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5865 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x
; then
5867 eval "DEFAULT_$LINE"
5872 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5876 eval "$ac_cv_use_protocol"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5881 if test "$wxUSE_PROTOCOL" = yes; then
5882 echo "$as_me:$LINENO: result: yes" >&5
5883 echo "${ECHO_T}yes" >&6
5885 echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6
5891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5894 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5895 if test "${enable_protocol_http+set}" = set; then
5896 enableval
="$enable_protocol_http"
5898 if test "$enableval" = yes; then
5899 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5901 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5906 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5907 if test "x$LINE" != x
; then
5908 eval "DEFAULT_$LINE"
5913 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5917 eval "$ac_cv_use_protocol_http"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5922 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5923 echo "$as_me:$LINENO: result: yes" >&5
5924 echo "${ECHO_T}yes" >&6
5926 echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6
5932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5935 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5936 if test "${enable_protocol_ftp+set}" = set; then
5937 enableval
="$enable_protocol_ftp"
5939 if test "$enableval" = yes; then
5940 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5942 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5947 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5948 if test "x$LINE" != x
; then
5949 eval "DEFAULT_$LINE"
5954 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5958 eval "$ac_cv_use_protocol_ftp"
5959 if test "$no_cache" != 1; then
5960 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5963 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5964 echo "$as_me:$LINENO: result: yes" >&5
5965 echo "${ECHO_T}yes" >&6
5967 echo "$as_me:$LINENO: result: no" >&5
5968 echo "${ECHO_T}no" >&6
5973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5974 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5976 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5977 if test "${enable_protocol_file+set}" = set; then
5978 enableval
="$enable_protocol_file"
5980 if test "$enableval" = yes; then
5981 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5983 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5988 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5989 if test "x$LINE" != x
; then
5990 eval "DEFAULT_$LINE"
5995 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5999 eval "$ac_cv_use_protocol_file"
6000 if test "$no_cache" != 1; then
6001 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6004 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6005 echo "$as_me:$LINENO: result: yes" >&5
6006 echo "${ECHO_T}yes" >&6
6008 echo "$as_me:$LINENO: result: no" >&5
6009 echo "${ECHO_T}no" >&6
6017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6020 # Check whether --enable-threads or --disable-threads was given.
6021 if test "${enable_threads+set}" = set; then
6022 enableval
="$enable_threads"
6024 if test "$enableval" = yes; then
6025 ac_cv_use_threads
='wxUSE_THREADS=yes'
6027 ac_cv_use_threads
='wxUSE_THREADS=no'
6032 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x
; then
6034 eval "DEFAULT_$LINE"
6039 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6043 eval "$ac_cv_use_threads"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6048 if test "$wxUSE_THREADS" = yes; then
6049 echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6
6052 echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6
6057 if test "$wxUSE_GUI" = "yes"; then
6062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6065 # Check whether --enable-docview or --disable-docview was given.
6066 if test "${enable_docview+set}" = set; then
6067 enableval
="$enable_docview"
6069 if test "$enableval" = yes; then
6070 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6072 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6077 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x
; then
6079 eval "DEFAULT_$LINE"
6084 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6088 eval "$ac_cv_use_docview"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6093 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6094 echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6
6097 echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6
6103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6106 # Check whether --enable-help or --disable-help was given.
6107 if test "${enable_help+set}" = set; then
6108 enableval
="$enable_help"
6110 if test "$enableval" = yes; then
6111 ac_cv_use_help
='wxUSE_HELP=yes'
6113 ac_cv_use_help
='wxUSE_HELP=no'
6118 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x
; then
6120 eval "DEFAULT_$LINE"
6125 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6129 eval "$ac_cv_use_help"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6134 if test "$wxUSE_HELP" = yes; then
6135 echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6
6138 echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6
6144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6147 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6148 if test "${enable_mshtmlhelp+set}" = set; then
6149 enableval
="$enable_mshtmlhelp"
6151 if test "$enableval" = yes; then
6152 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6154 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6159 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6160 if test "x$LINE" != x
; then
6161 eval "DEFAULT_$LINE"
6166 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6170 eval "$ac_cv_use_mshtmlhelp"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6175 if test "$wxUSE_MS_HTML_HELP" = yes; then
6176 echo "$as_me:$LINENO: result: yes" >&5
6177 echo "${ECHO_T}yes" >&6
6179 echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6
6185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6188 # Check whether --enable-html or --disable-html was given.
6189 if test "${enable_html+set}" = set; then
6190 enableval
="$enable_html"
6192 if test "$enableval" = yes; then
6193 ac_cv_use_html
='wxUSE_HTML=yes'
6195 ac_cv_use_html
='wxUSE_HTML=no'
6200 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x
; then
6202 eval "DEFAULT_$LINE"
6207 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6211 eval "$ac_cv_use_html"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6216 if test "$wxUSE_HTML" = yes; then
6217 echo "$as_me:$LINENO: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6
6220 echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6
6226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6229 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6230 if test "${enable_htmlhelp+set}" = set; then
6231 enableval
="$enable_htmlhelp"
6233 if test "$enableval" = yes; then
6234 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6236 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6241 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x
; then
6243 eval "DEFAULT_$LINE"
6248 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6252 eval "$ac_cv_use_htmlhelp"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6257 if test "$wxUSE_WXHTML_HELP" = yes; then
6258 echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6
6261 echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6
6267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6268 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6270 # Check whether --enable-xrc or --disable-xrc was given.
6271 if test "${enable_xrc+set}" = set; then
6272 enableval
="$enable_xrc"
6274 if test "$enableval" = yes; then
6275 ac_cv_use_xrc
='wxUSE_XRC=yes'
6277 ac_cv_use_xrc
='wxUSE_XRC=no'
6282 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6283 if test "x$LINE" != x
; then
6284 eval "DEFAULT_$LINE"
6289 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6293 eval "$ac_cv_use_xrc"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6298 if test "$wxUSE_XRC" = yes; then
6299 echo "$as_me:$LINENO: result: yes" >&5
6300 echo "${ECHO_T}yes" >&6
6302 echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6
6308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6309 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6311 # Check whether --enable-constraints or --disable-constraints was given.
6312 if test "${enable_constraints+set}" = set; then
6313 enableval
="$enable_constraints"
6315 if test "$enableval" = yes; then
6316 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6318 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6323 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6324 if test "x$LINE" != x
; then
6325 eval "DEFAULT_$LINE"
6330 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6334 eval "$ac_cv_use_constraints"
6335 if test "$no_cache" != 1; then
6336 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6339 if test "$wxUSE_CONSTRAINTS" = yes; then
6340 echo "$as_me:$LINENO: result: yes" >&5
6341 echo "${ECHO_T}yes" >&6
6343 echo "$as_me:$LINENO: result: no" >&5
6344 echo "${ECHO_T}no" >&6
6349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6350 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6352 # Check whether --enable-printarch or --disable-printarch was given.
6353 if test "${enable_printarch+set}" = set; then
6354 enableval
="$enable_printarch"
6356 if test "$enableval" = yes; then
6357 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6359 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6364 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6365 if test "x$LINE" != x
; then
6366 eval "DEFAULT_$LINE"
6371 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6375 eval "$ac_cv_use_printarch"
6376 if test "$no_cache" != 1; then
6377 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6380 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6381 echo "$as_me:$LINENO: result: yes" >&5
6382 echo "${ECHO_T}yes" >&6
6384 echo "$as_me:$LINENO: result: no" >&5
6385 echo "${ECHO_T}no" >&6
6390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6393 # Check whether --enable-mdi or --disable-mdi was given.
6394 if test "${enable_mdi+set}" = set; then
6395 enableval
="$enable_mdi"
6397 if test "$enableval" = yes; then
6398 ac_cv_use_mdi
='wxUSE_MDI=yes'
6400 ac_cv_use_mdi
='wxUSE_MDI=no'
6405 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6406 if test "x$LINE" != x
; then
6407 eval "DEFAULT_$LINE"
6412 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6416 eval "$ac_cv_use_mdi"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6421 if test "$wxUSE_MDI" = yes; then
6422 echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6
6425 echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6
6431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6434 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6435 if test "${enable_mdidoc+set}" = set; then
6436 enableval
="$enable_mdidoc"
6438 if test "$enableval" = yes; then
6439 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6441 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6446 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6447 if test "x$LINE" != x
; then
6448 eval "DEFAULT_$LINE"
6453 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6457 eval "$ac_cv_use_mdidoc"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6462 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6463 echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6
6466 echo "$as_me:$LINENO: result: no" >&5
6467 echo "${ECHO_T}no" >&6
6472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6475 # Check whether --enable-loggui or --disable-loggui was given.
6476 if test "${enable_loggui+set}" = set; then
6477 enableval
="$enable_loggui"
6479 if test "$enableval" = yes; then
6480 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6482 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6487 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6488 if test "x$LINE" != x
; then
6489 eval "DEFAULT_$LINE"
6494 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6498 eval "$ac_cv_use_loggui"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6503 if test "$wxUSE_LOGGUI" = yes; then
6504 echo "$as_me:$LINENO: result: yes" >&5
6505 echo "${ECHO_T}yes" >&6
6507 echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6
6513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6516 # Check whether --enable-logwin or --disable-logwin was given.
6517 if test "${enable_logwin+set}" = set; then
6518 enableval
="$enable_logwin"
6520 if test "$enableval" = yes; then
6521 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6523 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6528 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6529 if test "x$LINE" != x
; then
6530 eval "DEFAULT_$LINE"
6535 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6539 eval "$ac_cv_use_logwin"
6540 if test "$no_cache" != 1; then
6541 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6544 if test "$wxUSE_LOGWINDOW" = yes; then
6545 echo "$as_me:$LINENO: result: yes" >&5
6546 echo "${ECHO_T}yes" >&6
6548 echo "$as_me:$LINENO: result: no" >&5
6549 echo "${ECHO_T}no" >&6
6554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6557 # Check whether --enable-logdialog or --disable-logdialog was given.
6558 if test "${enable_logdialog+set}" = set; then
6559 enableval
="$enable_logdialog"
6561 if test "$enableval" = yes; then
6562 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6564 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6569 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x
; then
6571 eval "DEFAULT_$LINE"
6576 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6580 eval "$ac_cv_use_logdialog"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6585 if test "$wxUSE_LOGDIALOG" = yes; then
6586 echo "$as_me:$LINENO: result: yes" >&5
6587 echo "${ECHO_T}yes" >&6
6589 echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6
6595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6598 # Check whether --enable-webkit or --disable-webkit was given.
6599 if test "${enable_webkit+set}" = set; then
6600 enableval
="$enable_webkit"
6602 if test "$enableval" = yes; then
6603 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6605 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6610 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6611 if test "x$LINE" != x
; then
6612 eval "DEFAULT_$LINE"
6617 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6621 eval "$ac_cv_use_webkit"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6626 if test "$wxUSE_WEBKIT" = yes; then
6627 echo "$as_me:$LINENO: result: yes" >&5
6628 echo "${ECHO_T}yes" >&6
6630 echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6
6637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6640 # Check whether --enable-postscript or --disable-postscript was given.
6641 if test "${enable_postscript+set}" = set; then
6642 enableval
="$enable_postscript"
6644 if test "$enableval" = yes; then
6645 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6647 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6652 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x
; then
6654 eval "DEFAULT_$LINE"
6659 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6663 eval "$ac_cv_use_postscript"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6668 if test "$wxUSE_POSTSCRIPT" = yes; then
6669 echo "$as_me:$LINENO: result: yes" >&5
6670 echo "${ECHO_T}yes" >&6
6672 echo "$as_me:$LINENO: result: no" >&5
6673 echo "${ECHO_T}no" >&6
6681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6682 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6684 # Check whether --enable-prologio or --disable-prologio was given.
6685 if test "${enable_prologio+set}" = set; then
6686 enableval
="$enable_prologio"
6688 if test "$enableval" = yes; then
6689 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6691 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6696 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x
; then
6698 eval "DEFAULT_$LINE"
6703 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6707 eval "$ac_cv_use_prologio"
6708 if test "$no_cache" != 1; then
6709 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6712 if test "$wxUSE_PROLOGIO" = yes; then
6713 echo "$as_me:$LINENO: result: yes" >&5
6714 echo "${ECHO_T}yes" >&6
6716 echo "$as_me:$LINENO: result: no" >&5
6717 echo "${ECHO_T}no" >&6
6722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6723 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6725 # Check whether --enable-resources or --disable-resources was given.
6726 if test "${enable_resources+set}" = set; then
6727 enableval
="$enable_resources"
6729 if test "$enableval" = yes; then
6730 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6732 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6737 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x
; then
6739 eval "DEFAULT_$LINE"
6744 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6748 eval "$ac_cv_use_resources"
6749 if test "$no_cache" != 1; then
6750 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6753 if test "$wxUSE_RESOURCES" = yes; then
6754 echo "$as_me:$LINENO: result: yes" >&5
6755 echo "${ECHO_T}yes" >&6
6757 echo "$as_me:$LINENO: result: no" >&5
6758 echo "${ECHO_T}no" >&6
6765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6766 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6768 # Check whether --enable-clipboard or --disable-clipboard was given.
6769 if test "${enable_clipboard+set}" = set; then
6770 enableval
="$enable_clipboard"
6772 if test "$enableval" = yes; then
6773 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6775 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6780 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6781 if test "x$LINE" != x
; then
6782 eval "DEFAULT_$LINE"
6787 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6791 eval "$ac_cv_use_clipboard"
6792 if test "$no_cache" != 1; then
6793 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6796 if test "$wxUSE_CLIPBOARD" = yes; then
6797 echo "$as_me:$LINENO: result: yes" >&5
6798 echo "${ECHO_T}yes" >&6
6800 echo "$as_me:$LINENO: result: no" >&5
6801 echo "${ECHO_T}no" >&6
6806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6809 # Check whether --enable-dnd or --disable-dnd was given.
6810 if test "${enable_dnd+set}" = set; then
6811 enableval
="$enable_dnd"
6813 if test "$enableval" = yes; then
6814 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6816 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6821 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x
; then
6823 eval "DEFAULT_$LINE"
6828 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6832 eval "$ac_cv_use_dnd"
6833 if test "$no_cache" != 1; then
6834 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6837 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6838 echo "$as_me:$LINENO: result: yes" >&5
6839 echo "${ECHO_T}yes" >&6
6841 echo "$as_me:$LINENO: result: no" >&5
6842 echo "${ECHO_T}no" >&6
6847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6848 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6850 # Check whether --enable-metafile or --disable-metafile was given.
6851 if test "${enable_metafile+set}" = set; then
6852 enableval
="$enable_metafile"
6854 if test "$enableval" = yes; then
6855 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6857 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6862 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6863 if test "x$LINE" != x
; then
6864 eval "DEFAULT_$LINE"
6869 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6873 eval "$ac_cv_use_metafile"
6874 if test "$no_cache" != 1; then
6875 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6878 if test "$wxUSE_METAFILE" = yes; then
6879 echo "$as_me:$LINENO: result: yes" >&5
6880 echo "${ECHO_T}yes" >&6
6882 echo "$as_me:$LINENO: result: no" >&5
6883 echo "${ECHO_T}no" >&6
6891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6892 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6894 # Check whether --enable-controls or --disable-controls was given.
6895 if test "${enable_controls+set}" = set; then
6896 enableval
="$enable_controls"
6898 if test "$enableval" = yes; then
6899 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6901 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6906 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6907 if test "x$LINE" != x
; then
6908 eval "DEFAULT_$LINE"
6913 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6917 eval "$ac_cv_use_controls"
6918 if test "$no_cache" != 1; then
6919 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6922 if test "$wxUSE_CONTROLS" = yes; then
6923 echo "$as_me:$LINENO: result: yes" >&5
6924 echo "${ECHO_T}yes" >&6
6926 echo "$as_me:$LINENO: result: no" >&5
6927 echo "${ECHO_T}no" >&6
6931 if test "$wxUSE_CONTROLS" = "yes"; then
6932 DEFAULT_wxUSE_ACCEL
=yes
6933 DEFAULT_wxUSE_BMPBUTTON
=yes
6934 DEFAULT_wxUSE_BUTTON
=yes
6935 DEFAULT_wxUSE_CALCTRL
=no
6936 DEFAULT_wxUSE_CARET
=yes
6937 DEFAULT_wxUSE_COMBOBOX
=yes
6938 DEFAULT_wxUSE_CHECKBOX
=yes
6939 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6940 DEFAULT_wxUSE_CHOICE
=yes
6941 DEFAULT_wxUSE_CHOICEBOOK
=yes
6942 DEFAULT_wxUSE_GAUGE
=yes
6943 DEFAULT_wxUSE_GRID
=yes
6944 DEFAULT_wxUSE_IMAGLIST
=yes
6945 DEFAULT_wxUSE_LISTBOOK
=yes
6946 DEFAULT_wxUSE_LISTBOX
=yes
6947 DEFAULT_wxUSE_LISTCTRL
=yes
6948 DEFAULT_wxUSE_NOTEBOOK
=yes
6949 DEFAULT_wxUSE_RADIOBOX
=yes
6950 DEFAULT_wxUSE_RADIOBTN
=yes
6951 DEFAULT_wxUSE_SASH
=yes
6952 DEFAULT_wxUSE_SCROLLBAR
=yes
6953 DEFAULT_wxUSE_SLIDER
=yes
6954 DEFAULT_wxUSE_SPINBTN
=yes
6955 DEFAULT_wxUSE_SPINCTRL
=yes
6956 DEFAULT_wxUSE_SPLITTER
=yes
6957 DEFAULT_wxUSE_STATBMP
=yes
6958 DEFAULT_wxUSE_STATBOX
=yes
6959 DEFAULT_wxUSE_STATLINE
=yes
6960 DEFAULT_wxUSE_STATUSBAR
=yes
6961 DEFAULT_wxUSE_TAB_DIALOG
=yes
6962 DEFAULT_wxUSE_TOGGLEBTN
=yes
6963 DEFAULT_wxUSE_TOOLBAR
=yes
6964 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6965 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6966 DEFAULT_wxUSE_TOOLTIPS
=yes
6967 DEFAULT_wxUSE_TREECTRL
=yes
6968 DEFAULT_wxUSE_POPUPWIN
=yes
6969 DEFAULT_wxUSE_TIPWINDOW
=yes
6970 elif test "$wxUSE_CONTROLS" = "no"; then
6971 DEFAULT_wxUSE_ACCEL
=no
6972 DEFAULT_wxUSE_BMPBUTTON
=no
6973 DEFAULT_wxUSE_BUTTON
=no
6974 DEFAULT_wxUSE_CALCTRL
=no
6975 DEFAULT_wxUSE_CARET
=no
6976 DEFAULT_wxUSE_COMBOBOX
=no
6977 DEFAULT_wxUSE_CHECKBOX
=no
6978 DEFAULT_wxUSE_CHECKLISTBOX
=no
6979 DEFAULT_wxUSE_CHOICE
=no
6980 DEFAULT_wxUSE_CHOICEBOOK
=no
6981 DEFAULT_wxUSE_GAUGE
=no
6982 DEFAULT_wxUSE_GRID
=no
6983 DEFAULT_wxUSE_IMAGLIST
=no
6984 DEFAULT_wxUSE_LISTBOOK
=no
6985 DEFAULT_wxUSE_LISTBOX
=no
6986 DEFAULT_wxUSE_LISTCTRL
=no
6987 DEFAULT_wxUSE_NOTEBOOK
=no
6988 DEFAULT_wxUSE_RADIOBOX
=no
6989 DEFAULT_wxUSE_RADIOBTN
=no
6990 DEFAULT_wxUSE_SASH
=no
6991 DEFAULT_wxUSE_SCROLLBAR
=no
6992 DEFAULT_wxUSE_SLIDER
=no
6993 DEFAULT_wxUSE_SPINBTN
=no
6994 DEFAULT_wxUSE_SPINCTRL
=no
6995 DEFAULT_wxUSE_SPLITTER
=no
6996 DEFAULT_wxUSE_STATBMP
=no
6997 DEFAULT_wxUSE_STATBOX
=no
6998 DEFAULT_wxUSE_STATLINE
=no
6999 DEFAULT_wxUSE_STATUSBAR
=no
7000 DEFAULT_wxUSE_TAB_DIALOG
=no
7001 DEFAULT_wxUSE_TOGGLEBTN
=no
7002 DEFAULT_wxUSE_TOOLBAR
=no
7003 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7004 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7005 DEFAULT_wxUSE_TOOLTIPS
=no
7006 DEFAULT_wxUSE_TREECTRL
=no
7007 DEFAULT_wxUSE_POPUPWIN
=no
7008 DEFAULT_wxUSE_TIPWINDOW
=no
7011 ## FIXME: This is a blatant hack
7012 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
7013 wxUSE_PRINTING_ARCHITECTURE
=no
7014 wxUSE_DRAG_AND_DROP
=no
7015 DEFAULT_wxUSE_TOOLTIPS
=no
7016 DEFAULT_wxUSE_DRAGIMAGE
=no
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7024 # Check whether --enable-accel or --disable-accel was given.
7025 if test "${enable_accel+set}" = set; then
7026 enableval
="$enable_accel"
7028 if test "$enableval" = yes; then
7029 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7031 ac_cv_use_accel
='wxUSE_ACCEL=no'
7036 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x
; then
7038 eval "DEFAULT_$LINE"
7043 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7047 eval "$ac_cv_use_accel"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_ACCEL" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7065 # Check whether --enable-button or --disable-button was given.
7066 if test "${enable_button+set}" = set; then
7067 enableval
="$enable_button"
7069 if test "$enableval" = yes; then
7070 ac_cv_use_button
='wxUSE_BUTTON=yes'
7072 ac_cv_use_button
='wxUSE_BUTTON=no'
7077 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x
; then
7079 eval "DEFAULT_$LINE"
7084 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7088 eval "$ac_cv_use_button"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7093 if test "$wxUSE_BUTTON" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7097 echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7106 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7107 if test "${enable_bmpbutton+set}" = set; then
7108 enableval
="$enable_bmpbutton"
7110 if test "$enableval" = yes; then
7111 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7113 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7118 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x
; then
7120 eval "DEFAULT_$LINE"
7125 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7129 eval "$ac_cv_use_bmpbutton"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7134 if test "$wxUSE_BMPBUTTON" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7147 # Check whether --enable-calendar or --disable-calendar was given.
7148 if test "${enable_calendar+set}" = set; then
7149 enableval
="$enable_calendar"
7151 if test "$enableval" = yes; then
7152 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7154 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7159 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x
; then
7161 eval "DEFAULT_$LINE"
7166 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7170 eval "$ac_cv_use_calendar"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7175 if test "$wxUSE_CALCTRL" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7188 # Check whether --enable-caret or --disable-caret was given.
7189 if test "${enable_caret+set}" = set; then
7190 enableval
="$enable_caret"
7192 if test "$enableval" = yes; then
7193 ac_cv_use_caret
='wxUSE_CARET=yes'
7195 ac_cv_use_caret
='wxUSE_CARET=no'
7200 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x
; then
7202 eval "DEFAULT_$LINE"
7207 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7211 eval "$ac_cv_use_caret"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7216 if test "$wxUSE_CARET" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7229 # Check whether --enable-checkbox or --disable-checkbox was given.
7230 if test "${enable_checkbox+set}" = set; then
7231 enableval
="$enable_checkbox"
7233 if test "$enableval" = yes; then
7234 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7236 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7241 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x
; then
7243 eval "DEFAULT_$LINE"
7248 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7252 eval "$ac_cv_use_checkbox"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_CHECKBOX" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7270 # Check whether --enable-checklst or --disable-checklst was given.
7271 if test "${enable_checklst+set}" = set; then
7272 enableval
="$enable_checklst"
7274 if test "$enableval" = yes; then
7275 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7277 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7282 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x
; then
7284 eval "DEFAULT_$LINE"
7289 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7293 eval "$ac_cv_use_checklst"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_CHECKLST" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7311 # Check whether --enable-choice or --disable-choice was given.
7312 if test "${enable_choice+set}" = set; then
7313 enableval
="$enable_choice"
7315 if test "$enableval" = yes; then
7316 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7318 ac_cv_use_choice
='wxUSE_CHOICE=no'
7323 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x
; then
7325 eval "DEFAULT_$LINE"
7330 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7334 eval "$ac_cv_use_choice"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7339 if test "$wxUSE_CHOICE" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7352 # Check whether --enable-choicebook or --disable-choicebook was given.
7353 if test "${enable_choicebook+set}" = set; then
7354 enableval
="$enable_choicebook"
7356 if test "$enableval" = yes; then
7357 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7359 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7364 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x
; then
7366 eval "DEFAULT_$LINE"
7371 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7375 eval "$ac_cv_use_choicebook"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7380 if test "$wxUSE_CHOICEBOOK" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7393 # Check whether --enable-combobox or --disable-combobox was given.
7394 if test "${enable_combobox+set}" = set; then
7395 enableval
="$enable_combobox"
7397 if test "$enableval" = yes; then
7398 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7400 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7405 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x
; then
7407 eval "DEFAULT_$LINE"
7412 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7416 eval "$ac_cv_use_combobox"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7421 if test "$wxUSE_COMBOBOX" = yes; then
7422 echo "$as_me:$LINENO: result: yes" >&5
7423 echo "${ECHO_T}yes" >&6
7425 echo "$as_me:$LINENO: result: no" >&5
7426 echo "${ECHO_T}no" >&6
7431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7434 # Check whether --enable-display or --disable-display was given.
7435 if test "${enable_display+set}" = set; then
7436 enableval
="$enable_display"
7438 if test "$enableval" = yes; then
7439 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7441 ac_cv_use_display
='wxUSE_DISPLAY=no'
7446 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x
; then
7448 eval "DEFAULT_$LINE"
7453 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7457 eval "$ac_cv_use_display"
7458 if test "$no_cache" != 1; then
7459 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7462 if test "$wxUSE_DISPLAY" = yes; then
7463 echo "$as_me:$LINENO: result: yes" >&5
7464 echo "${ECHO_T}yes" >&6
7466 echo "$as_me:$LINENO: result: no" >&5
7467 echo "${ECHO_T}no" >&6
7472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7475 # Check whether --enable-gauge or --disable-gauge was given.
7476 if test "${enable_gauge+set}" = set; then
7477 enableval
="$enable_gauge"
7479 if test "$enableval" = yes; then
7480 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7482 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7487 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x
; then
7489 eval "DEFAULT_$LINE"
7494 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7498 eval "$ac_cv_use_gauge"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7503 if test "$wxUSE_GAUGE" = yes; then
7504 echo "$as_me:$LINENO: result: yes" >&5
7505 echo "${ECHO_T}yes" >&6
7507 echo "$as_me:$LINENO: result: no" >&5
7508 echo "${ECHO_T}no" >&6
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7516 # Check whether --enable-grid or --disable-grid was given.
7517 if test "${enable_grid+set}" = set; then
7518 enableval
="$enable_grid"
7520 if test "$enableval" = yes; then
7521 ac_cv_use_grid
='wxUSE_GRID=yes'
7523 ac_cv_use_grid
='wxUSE_GRID=no'
7528 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x
; then
7530 eval "DEFAULT_$LINE"
7535 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7539 eval "$ac_cv_use_grid"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7544 if test "$wxUSE_GRID" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546 echo "${ECHO_T}yes" >&6
7548 echo "$as_me:$LINENO: result: no" >&5
7549 echo "${ECHO_T}no" >&6
7554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7557 # Check whether --enable-imaglist or --disable-imaglist was given.
7558 if test "${enable_imaglist+set}" = set; then
7559 enableval
="$enable_imaglist"
7561 if test "$enableval" = yes; then
7562 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7564 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7569 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x
; then
7571 eval "DEFAULT_$LINE"
7576 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7580 eval "$ac_cv_use_imaglist"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7585 if test "$wxUSE_IMAGLIST" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587 echo "${ECHO_T}yes" >&6
7589 echo "$as_me:$LINENO: result: no" >&5
7590 echo "${ECHO_T}no" >&6
7595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7598 # Check whether --enable-listbook or --disable-listbook was given.
7599 if test "${enable_listbook+set}" = set; then
7600 enableval
="$enable_listbook"
7602 if test "$enableval" = yes; then
7603 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7605 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7610 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x
; then
7612 eval "DEFAULT_$LINE"
7617 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7621 eval "$ac_cv_use_listbook"
7622 if test "$no_cache" != 1; then
7623 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7626 if test "$wxUSE_LISTBOOK" = yes; then
7627 echo "$as_me:$LINENO: result: yes" >&5
7628 echo "${ECHO_T}yes" >&6
7630 echo "$as_me:$LINENO: result: no" >&5
7631 echo "${ECHO_T}no" >&6
7636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7637 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7639 # Check whether --enable-listbox or --disable-listbox was given.
7640 if test "${enable_listbox+set}" = set; then
7641 enableval
="$enable_listbox"
7643 if test "$enableval" = yes; then
7644 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7646 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7651 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x
; then
7653 eval "DEFAULT_$LINE"
7658 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7662 eval "$ac_cv_use_listbox"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7667 if test "$wxUSE_LISTBOX" = yes; then
7668 echo "$as_me:$LINENO: result: yes" >&5
7669 echo "${ECHO_T}yes" >&6
7671 echo "$as_me:$LINENO: result: no" >&5
7672 echo "${ECHO_T}no" >&6
7677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7680 # Check whether --enable-listctrl or --disable-listctrl was given.
7681 if test "${enable_listctrl+set}" = set; then
7682 enableval
="$enable_listctrl"
7684 if test "$enableval" = yes; then
7685 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7687 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7692 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x
; then
7694 eval "DEFAULT_$LINE"
7699 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7703 eval "$ac_cv_use_listctrl"
7704 if test "$no_cache" != 1; then
7705 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7708 if test "$wxUSE_LISTCTRL" = yes; then
7709 echo "$as_me:$LINENO: result: yes" >&5
7710 echo "${ECHO_T}yes" >&6
7712 echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6
7718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7719 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7721 # Check whether --enable-notebook or --disable-notebook was given.
7722 if test "${enable_notebook+set}" = set; then
7723 enableval
="$enable_notebook"
7725 if test "$enableval" = yes; then
7726 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7728 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7733 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7734 if test "x$LINE" != x
; then
7735 eval "DEFAULT_$LINE"
7740 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7744 eval "$ac_cv_use_notebook"
7745 if test "$no_cache" != 1; then
7746 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7749 if test "$wxUSE_NOTEBOOK" = yes; then
7750 echo "$as_me:$LINENO: result: yes" >&5
7751 echo "${ECHO_T}yes" >&6
7753 echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6
7759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7762 # Check whether --enable-radiobox or --disable-radiobox was given.
7763 if test "${enable_radiobox+set}" = set; then
7764 enableval
="$enable_radiobox"
7766 if test "$enableval" = yes; then
7767 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7769 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7774 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x
; then
7776 eval "DEFAULT_$LINE"
7781 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7785 eval "$ac_cv_use_radiobox"
7786 if test "$no_cache" != 1; then
7787 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7790 if test "$wxUSE_RADIOBOX" = yes; then
7791 echo "$as_me:$LINENO: result: yes" >&5
7792 echo "${ECHO_T}yes" >&6
7794 echo "$as_me:$LINENO: result: no" >&5
7795 echo "${ECHO_T}no" >&6
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7801 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7803 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7804 if test "${enable_radiobtn+set}" = set; then
7805 enableval
="$enable_radiobtn"
7807 if test "$enableval" = yes; then
7808 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7810 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7815 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x
; then
7817 eval "DEFAULT_$LINE"
7822 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7826 eval "$ac_cv_use_radiobtn"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7831 if test "$wxUSE_RADIOBTN" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833 echo "${ECHO_T}yes" >&6
7835 echo "$as_me:$LINENO: result: no" >&5
7836 echo "${ECHO_T}no" >&6
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7844 # Check whether --enable-sash or --disable-sash was given.
7845 if test "${enable_sash+set}" = set; then
7846 enableval
="$enable_sash"
7848 if test "$enableval" = yes; then
7849 ac_cv_use_sash
='wxUSE_SASH=yes'
7851 ac_cv_use_sash
='wxUSE_SASH=no'
7856 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x
; then
7858 eval "DEFAULT_$LINE"
7863 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7867 eval "$ac_cv_use_sash"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7872 if test "$wxUSE_SASH" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874 echo "${ECHO_T}yes" >&6
7876 echo "$as_me:$LINENO: result: no" >&5
7877 echo "${ECHO_T}no" >&6
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7885 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7886 if test "${enable_scrollbar+set}" = set; then
7887 enableval
="$enable_scrollbar"
7889 if test "$enableval" = yes; then
7890 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7892 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7897 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x
; then
7899 eval "DEFAULT_$LINE"
7904 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7908 eval "$ac_cv_use_scrollbar"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7913 if test "$wxUSE_SCROLLBAR" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7924 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7926 # Check whether --enable-slider or --disable-slider was given.
7927 if test "${enable_slider+set}" = set; then
7928 enableval
="$enable_slider"
7930 if test "$enableval" = yes; then
7931 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7933 ac_cv_use_slider
='wxUSE_SLIDER=no'
7938 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7939 if test "x$LINE" != x
; then
7940 eval "DEFAULT_$LINE"
7945 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7949 eval "$ac_cv_use_slider"
7950 if test "$no_cache" != 1; then
7951 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7954 if test "$wxUSE_SLIDER" = yes; then
7955 echo "$as_me:$LINENO: result: yes" >&5
7956 echo "${ECHO_T}yes" >&6
7958 echo "$as_me:$LINENO: result: no" >&5
7959 echo "${ECHO_T}no" >&6
7964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7965 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7967 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7968 if test "${enable_spinbtn+set}" = set; then
7969 enableval
="$enable_spinbtn"
7971 if test "$enableval" = yes; then
7972 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7974 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7979 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7980 if test "x$LINE" != x
; then
7981 eval "DEFAULT_$LINE"
7986 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7990 eval "$ac_cv_use_spinbtn"
7991 if test "$no_cache" != 1; then
7992 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7995 if test "$wxUSE_SPINBTN" = yes; then
7996 echo "$as_me:$LINENO: result: yes" >&5
7997 echo "${ECHO_T}yes" >&6
7999 echo "$as_me:$LINENO: result: no" >&5
8000 echo "${ECHO_T}no" >&6
8005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8006 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8008 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8009 if test "${enable_spinctrl+set}" = set; then
8010 enableval
="$enable_spinctrl"
8012 if test "$enableval" = yes; then
8013 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8015 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8020 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8021 if test "x$LINE" != x
; then
8022 eval "DEFAULT_$LINE"
8027 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8031 eval "$ac_cv_use_spinctrl"
8032 if test "$no_cache" != 1; then
8033 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8036 if test "$wxUSE_SPINCTRL" = yes; then
8037 echo "$as_me:$LINENO: result: yes" >&5
8038 echo "${ECHO_T}yes" >&6
8040 echo "$as_me:$LINENO: result: no" >&5
8041 echo "${ECHO_T}no" >&6
8046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8047 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8049 # Check whether --enable-splitter or --disable-splitter was given.
8050 if test "${enable_splitter+set}" = set; then
8051 enableval
="$enable_splitter"
8053 if test "$enableval" = yes; then
8054 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8056 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8061 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8062 if test "x$LINE" != x
; then
8063 eval "DEFAULT_$LINE"
8068 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8072 eval "$ac_cv_use_splitter"
8073 if test "$no_cache" != 1; then
8074 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8077 if test "$wxUSE_SPLITTER" = yes; then
8078 echo "$as_me:$LINENO: result: yes" >&5
8079 echo "${ECHO_T}yes" >&6
8081 echo "$as_me:$LINENO: result: no" >&5
8082 echo "${ECHO_T}no" >&6
8087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8088 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8090 # Check whether --enable-statbmp or --disable-statbmp was given.
8091 if test "${enable_statbmp+set}" = set; then
8092 enableval
="$enable_statbmp"
8094 if test "$enableval" = yes; then
8095 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8097 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8102 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8103 if test "x$LINE" != x
; then
8104 eval "DEFAULT_$LINE"
8109 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8113 eval "$ac_cv_use_statbmp"
8114 if test "$no_cache" != 1; then
8115 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8118 if test "$wxUSE_STATBMP" = yes; then
8119 echo "$as_me:$LINENO: result: yes" >&5
8120 echo "${ECHO_T}yes" >&6
8122 echo "$as_me:$LINENO: result: no" >&5
8123 echo "${ECHO_T}no" >&6
8128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8129 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8131 # Check whether --enable-statbox or --disable-statbox was given.
8132 if test "${enable_statbox+set}" = set; then
8133 enableval
="$enable_statbox"
8135 if test "$enableval" = yes; then
8136 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8138 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8143 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x
; then
8145 eval "DEFAULT_$LINE"
8150 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8154 eval "$ac_cv_use_statbox"
8155 if test "$no_cache" != 1; then
8156 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8159 if test "$wxUSE_STATBOX" = yes; then
8160 echo "$as_me:$LINENO: result: yes" >&5
8161 echo "${ECHO_T}yes" >&6
8163 echo "$as_me:$LINENO: result: no" >&5
8164 echo "${ECHO_T}no" >&6
8169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8170 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8172 # Check whether --enable-statline or --disable-statline was given.
8173 if test "${enable_statline+set}" = set; then
8174 enableval
="$enable_statline"
8176 if test "$enableval" = yes; then
8177 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8179 ac_cv_use_statline
='wxUSE_STATLINE=no'
8184 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8185 if test "x$LINE" != x
; then
8186 eval "DEFAULT_$LINE"
8191 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8195 eval "$ac_cv_use_statline"
8196 if test "$no_cache" != 1; then
8197 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8200 if test "$wxUSE_STATLINE" = yes; then
8201 echo "$as_me:$LINENO: result: yes" >&5
8202 echo "${ECHO_T}yes" >&6
8204 echo "$as_me:$LINENO: result: no" >&5
8205 echo "${ECHO_T}no" >&6
8210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8211 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8213 # Check whether --enable-stattext or --disable-stattext was given.
8214 if test "${enable_stattext+set}" = set; then
8215 enableval
="$enable_stattext"
8217 if test "$enableval" = yes; then
8218 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8220 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8225 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8226 if test "x$LINE" != x
; then
8227 eval "DEFAULT_$LINE"
8232 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8236 eval "$ac_cv_use_stattext"
8237 if test "$no_cache" != 1; then
8238 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8241 if test "$wxUSE_STATTEXT" = yes; then
8242 echo "$as_me:$LINENO: result: yes" >&5
8243 echo "${ECHO_T}yes" >&6
8245 echo "$as_me:$LINENO: result: no" >&5
8246 echo "${ECHO_T}no" >&6
8251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8252 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8254 # Check whether --enable-statusbar or --disable-statusbar was given.
8255 if test "${enable_statusbar+set}" = set; then
8256 enableval
="$enable_statusbar"
8258 if test "$enableval" = yes; then
8259 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8261 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8266 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8267 if test "x$LINE" != x
; then
8268 eval "DEFAULT_$LINE"
8273 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8277 eval "$ac_cv_use_statusbar"
8278 if test "$no_cache" != 1; then
8279 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8282 if test "$wxUSE_STATUSBAR" = yes; then
8283 echo "$as_me:$LINENO: result: yes" >&5
8284 echo "${ECHO_T}yes" >&6
8286 echo "$as_me:$LINENO: result: no" >&5
8287 echo "${ECHO_T}no" >&6
8292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8293 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8295 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8296 if test "${enable_tabdialog+set}" = set; then
8297 enableval
="$enable_tabdialog"
8299 if test "$enableval" = yes; then
8300 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8302 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8307 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8308 if test "x$LINE" != x
; then
8309 eval "DEFAULT_$LINE"
8314 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8318 eval "$ac_cv_use_tabdialog"
8319 if test "$no_cache" != 1; then
8320 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8323 if test "$wxUSE_TABDIALOG" = yes; then
8324 echo "$as_me:$LINENO: result: yes" >&5
8325 echo "${ECHO_T}yes" >&6
8327 echo "$as_me:$LINENO: result: no" >&5
8328 echo "${ECHO_T}no" >&6
8333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8334 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8336 # Check whether --enable-textctrl or --disable-textctrl was given.
8337 if test "${enable_textctrl+set}" = set; then
8338 enableval
="$enable_textctrl"
8340 if test "$enableval" = yes; then
8341 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8343 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8348 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8349 if test "x$LINE" != x
; then
8350 eval "DEFAULT_$LINE"
8355 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8359 eval "$ac_cv_use_textctrl"
8360 if test "$no_cache" != 1; then
8361 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8364 if test "$wxUSE_TEXTCTRL" = yes; then
8365 echo "$as_me:$LINENO: result: yes" >&5
8366 echo "${ECHO_T}yes" >&6
8368 echo "$as_me:$LINENO: result: no" >&5
8369 echo "${ECHO_T}no" >&6
8374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8375 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8377 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8378 if test "${enable_togglebtn+set}" = set; then
8379 enableval
="$enable_togglebtn"
8381 if test "$enableval" = yes; then
8382 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8384 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8389 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8390 if test "x$LINE" != x
; then
8391 eval "DEFAULT_$LINE"
8396 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8400 eval "$ac_cv_use_togglebtn"
8401 if test "$no_cache" != 1; then
8402 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8405 if test "$wxUSE_TOGGLEBTN" = yes; then
8406 echo "$as_me:$LINENO: result: yes" >&5
8407 echo "${ECHO_T}yes" >&6
8409 echo "$as_me:$LINENO: result: no" >&5
8410 echo "${ECHO_T}no" >&6
8415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8416 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8418 # Check whether --enable-toolbar or --disable-toolbar was given.
8419 if test "${enable_toolbar+set}" = set; then
8420 enableval
="$enable_toolbar"
8422 if test "$enableval" = yes; then
8423 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8425 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8430 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8431 if test "x$LINE" != x
; then
8432 eval "DEFAULT_$LINE"
8437 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8441 eval "$ac_cv_use_toolbar"
8442 if test "$no_cache" != 1; then
8443 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8446 if test "$wxUSE_TOOLBAR" = yes; then
8447 echo "$as_me:$LINENO: result: yes" >&5
8448 echo "${ECHO_T}yes" >&6
8450 echo "$as_me:$LINENO: result: no" >&5
8451 echo "${ECHO_T}no" >&6
8456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8457 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8459 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8460 if test "${enable_tbarnative+set}" = set; then
8461 enableval
="$enable_tbarnative"
8463 if test "$enableval" = yes; then
8464 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8466 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8471 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8472 if test "x$LINE" != x
; then
8473 eval "DEFAULT_$LINE"
8478 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8482 eval "$ac_cv_use_tbarnative"
8483 if test "$no_cache" != 1; then
8484 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8487 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8488 echo "$as_me:$LINENO: result: yes" >&5
8489 echo "${ECHO_T}yes" >&6
8491 echo "$as_me:$LINENO: result: no" >&5
8492 echo "${ECHO_T}no" >&6
8497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8498 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8500 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8501 if test "${enable_tbarsmpl+set}" = set; then
8502 enableval
="$enable_tbarsmpl"
8504 if test "$enableval" = yes; then
8505 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8507 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8512 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8513 if test "x$LINE" != x
; then
8514 eval "DEFAULT_$LINE"
8519 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8523 eval "$ac_cv_use_tbarsmpl"
8524 if test "$no_cache" != 1; then
8525 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8528 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8529 echo "$as_me:$LINENO: result: yes" >&5
8530 echo "${ECHO_T}yes" >&6
8532 echo "$as_me:$LINENO: result: no" >&5
8533 echo "${ECHO_T}no" >&6
8538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8539 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8541 # Check whether --enable-treectrl or --disable-treectrl was given.
8542 if test "${enable_treectrl+set}" = set; then
8543 enableval
="$enable_treectrl"
8545 if test "$enableval" = yes; then
8546 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8548 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8553 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8554 if test "x$LINE" != x
; then
8555 eval "DEFAULT_$LINE"
8560 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8564 eval "$ac_cv_use_treectrl"
8565 if test "$no_cache" != 1; then
8566 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8569 if test "$wxUSE_TREECTRL" = yes; then
8570 echo "$as_me:$LINENO: result: yes" >&5
8571 echo "${ECHO_T}yes" >&6
8573 echo "$as_me:$LINENO: result: no" >&5
8574 echo "${ECHO_T}no" >&6
8579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8582 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8583 if test "${enable_tipwindow+set}" = set; then
8584 enableval
="$enable_tipwindow"
8586 if test "$enableval" = yes; then
8587 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8589 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8594 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8595 if test "x$LINE" != x
; then
8596 eval "DEFAULT_$LINE"
8601 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8605 eval "$ac_cv_use_tipwindow"
8606 if test "$no_cache" != 1; then
8607 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8610 if test "$wxUSE_TIPWINDOW" = yes; then
8611 echo "$as_me:$LINENO: result: yes" >&5
8612 echo "${ECHO_T}yes" >&6
8614 echo "$as_me:$LINENO: result: no" >&5
8615 echo "${ECHO_T}no" >&6
8620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8621 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8623 # Check whether --enable-popupwin or --disable-popupwin was given.
8624 if test "${enable_popupwin+set}" = set; then
8625 enableval
="$enable_popupwin"
8627 if test "$enableval" = yes; then
8628 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8630 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8635 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8636 if test "x$LINE" != x
; then
8637 eval "DEFAULT_$LINE"
8642 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8646 eval "$ac_cv_use_popupwin"
8647 if test "$no_cache" != 1; then
8648 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8651 if test "$wxUSE_POPUPWIN" = yes; then
8652 echo "$as_me:$LINENO: result: yes" >&5
8653 echo "${ECHO_T}yes" >&6
8655 echo "$as_me:$LINENO: result: no" >&5
8656 echo "${ECHO_T}no" >&6
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8666 # Check whether --enable-commondlg or --disable-commondlg was given.
8667 if test "${enable_commondlg+set}" = set; then
8668 enableval
="$enable_commondlg"
8670 if test "$enableval" = yes; then
8671 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8673 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8678 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x
; then
8680 eval "DEFAULT_$LINE"
8685 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8689 eval "$ac_cv_use_commondlg"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8694 if test "$wxUSE_COMMONDLGS" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696 echo "${ECHO_T}yes" >&6
8698 echo "$as_me:$LINENO: result: no" >&5
8699 echo "${ECHO_T}no" >&6
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8705 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8707 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8708 if test "${enable_choicedlg+set}" = set; then
8709 enableval
="$enable_choicedlg"
8711 if test "$enableval" = yes; then
8712 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8714 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8719 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x
; then
8721 eval "DEFAULT_$LINE"
8726 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8730 eval "$ac_cv_use_choicedlg"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8735 if test "$wxUSE_CHOICEDLG" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737 echo "${ECHO_T}yes" >&6
8739 echo "$as_me:$LINENO: result: no" >&5
8740 echo "${ECHO_T}no" >&6
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8746 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8748 # Check whether --enable-coldlg or --disable-coldlg was given.
8749 if test "${enable_coldlg+set}" = set; then
8750 enableval
="$enable_coldlg"
8752 if test "$enableval" = yes; then
8753 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8755 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8760 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x
; then
8762 eval "DEFAULT_$LINE"
8767 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8771 eval "$ac_cv_use_coldlg"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8776 if test "$wxUSE_COLOURDLG" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778 echo "${ECHO_T}yes" >&6
8780 echo "$as_me:$LINENO: result: no" >&5
8781 echo "${ECHO_T}no" >&6
8786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8789 # Check whether --enable-filedlg or --disable-filedlg was given.
8790 if test "${enable_filedlg+set}" = set; then
8791 enableval
="$enable_filedlg"
8793 if test "$enableval" = yes; then
8794 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8796 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8801 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8802 if test "x$LINE" != x
; then
8803 eval "DEFAULT_$LINE"
8808 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8812 eval "$ac_cv_use_filedlg"
8813 if test "$no_cache" != 1; then
8814 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8817 if test "$wxUSE_FILEDLG" = yes; then
8818 echo "$as_me:$LINENO: result: yes" >&5
8819 echo "${ECHO_T}yes" >&6
8821 echo "$as_me:$LINENO: result: no" >&5
8822 echo "${ECHO_T}no" >&6
8827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8828 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8830 # Check whether --enable-finddlg or --disable-finddlg was given.
8831 if test "${enable_finddlg+set}" = set; then
8832 enableval
="$enable_finddlg"
8834 if test "$enableval" = yes; then
8835 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8837 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8842 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8843 if test "x$LINE" != x
; then
8844 eval "DEFAULT_$LINE"
8849 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8853 eval "$ac_cv_use_finddlg"
8854 if test "$no_cache" != 1; then
8855 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8858 if test "$wxUSE_FINDREPLDLG" = yes; then
8859 echo "$as_me:$LINENO: result: yes" >&5
8860 echo "${ECHO_T}yes" >&6
8862 echo "$as_me:$LINENO: result: no" >&5
8863 echo "${ECHO_T}no" >&6
8868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8869 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8871 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8872 if test "${enable_fontdlg+set}" = set; then
8873 enableval
="$enable_fontdlg"
8875 if test "$enableval" = yes; then
8876 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8878 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8883 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8884 if test "x$LINE" != x
; then
8885 eval "DEFAULT_$LINE"
8890 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8894 eval "$ac_cv_use_fontdlg"
8895 if test "$no_cache" != 1; then
8896 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8899 if test "$wxUSE_FONTDLG" = yes; then
8900 echo "$as_me:$LINENO: result: yes" >&5
8901 echo "${ECHO_T}yes" >&6
8903 echo "$as_me:$LINENO: result: no" >&5
8904 echo "${ECHO_T}no" >&6
8909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8910 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8912 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8913 if test "${enable_dirdlg+set}" = set; then
8914 enableval
="$enable_dirdlg"
8916 if test "$enableval" = yes; then
8917 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8919 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8924 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8925 if test "x$LINE" != x
; then
8926 eval "DEFAULT_$LINE"
8931 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8935 eval "$ac_cv_use_dirdlg"
8936 if test "$no_cache" != 1; then
8937 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8940 if test "$wxUSE_DIRDLG" = yes; then
8941 echo "$as_me:$LINENO: result: yes" >&5
8942 echo "${ECHO_T}yes" >&6
8944 echo "$as_me:$LINENO: result: no" >&5
8945 echo "${ECHO_T}no" >&6
8950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8951 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8953 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8954 if test "${enable_msgdlg+set}" = set; then
8955 enableval
="$enable_msgdlg"
8957 if test "$enableval" = yes; then
8958 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8960 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8965 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8966 if test "x$LINE" != x
; then
8967 eval "DEFAULT_$LINE"
8972 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8976 eval "$ac_cv_use_msgdlg"
8977 if test "$no_cache" != 1; then
8978 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8981 if test "$wxUSE_MSGDLG" = yes; then
8982 echo "$as_me:$LINENO: result: yes" >&5
8983 echo "${ECHO_T}yes" >&6
8985 echo "$as_me:$LINENO: result: no" >&5
8986 echo "${ECHO_T}no" >&6
8991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8992 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8994 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8995 if test "${enable_numberdlg+set}" = set; then
8996 enableval
="$enable_numberdlg"
8998 if test "$enableval" = yes; then
8999 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9001 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9006 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9007 if test "x$LINE" != x
; then
9008 eval "DEFAULT_$LINE"
9013 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9017 eval "$ac_cv_use_numberdlg"
9018 if test "$no_cache" != 1; then
9019 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9022 if test "$wxUSE_NUMBERDLG" = yes; then
9023 echo "$as_me:$LINENO: result: yes" >&5
9024 echo "${ECHO_T}yes" >&6
9026 echo "$as_me:$LINENO: result: no" >&5
9027 echo "${ECHO_T}no" >&6
9032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9033 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9035 # Check whether --enable-splash or --disable-splash was given.
9036 if test "${enable_splash+set}" = set; then
9037 enableval
="$enable_splash"
9039 if test "$enableval" = yes; then
9040 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9042 ac_cv_use_splash
='wxUSE_SPLASH=no'
9047 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9048 if test "x$LINE" != x
; then
9049 eval "DEFAULT_$LINE"
9054 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9058 eval "$ac_cv_use_splash"
9059 if test "$no_cache" != 1; then
9060 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9063 if test "$wxUSE_SPLASH" = yes; then
9064 echo "$as_me:$LINENO: result: yes" >&5
9065 echo "${ECHO_T}yes" >&6
9067 echo "$as_me:$LINENO: result: no" >&5
9068 echo "${ECHO_T}no" >&6
9073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9074 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9076 # Check whether --enable-textdlg or --disable-textdlg was given.
9077 if test "${enable_textdlg+set}" = set; then
9078 enableval
="$enable_textdlg"
9080 if test "$enableval" = yes; then
9081 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9083 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9088 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9089 if test "x$LINE" != x
; then
9090 eval "DEFAULT_$LINE"
9095 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9099 eval "$ac_cv_use_textdlg"
9100 if test "$no_cache" != 1; then
9101 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9104 if test "$wxUSE_TEXTDLG" = yes; then
9105 echo "$as_me:$LINENO: result: yes" >&5
9106 echo "${ECHO_T}yes" >&6
9108 echo "$as_me:$LINENO: result: no" >&5
9109 echo "${ECHO_T}no" >&6
9114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9115 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9117 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9118 if test "${enable_tipdlg+set}" = set; then
9119 enableval
="$enable_tipdlg"
9121 if test "$enableval" = yes; then
9122 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9124 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9129 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9130 if test "x$LINE" != x
; then
9131 eval "DEFAULT_$LINE"
9136 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9140 eval "$ac_cv_use_tipdlg"
9141 if test "$no_cache" != 1; then
9142 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9145 if test "$wxUSE_STARTUP_TIPS" = yes; then
9146 echo "$as_me:$LINENO: result: yes" >&5
9147 echo "${ECHO_T}yes" >&6
9149 echo "$as_me:$LINENO: result: no" >&5
9150 echo "${ECHO_T}no" >&6
9155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9158 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9159 if test "${enable_progressdlg+set}" = set; then
9160 enableval
="$enable_progressdlg"
9162 if test "$enableval" = yes; then
9163 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9165 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9170 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9171 if test "x$LINE" != x
; then
9172 eval "DEFAULT_$LINE"
9177 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9181 eval "$ac_cv_use_progressdlg"
9182 if test "$no_cache" != 1; then
9183 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9186 if test "$wxUSE_PROGRESSDLG" = yes; then
9187 echo "$as_me:$LINENO: result: yes" >&5
9188 echo "${ECHO_T}yes" >&6
9190 echo "$as_me:$LINENO: result: no" >&5
9191 echo "${ECHO_T}no" >&6
9196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9197 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9199 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9200 if test "${enable_wizarddlg+set}" = set; then
9201 enableval
="$enable_wizarddlg"
9203 if test "$enableval" = yes; then
9204 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9206 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9211 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9212 if test "x$LINE" != x
; then
9213 eval "DEFAULT_$LINE"
9218 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9222 eval "$ac_cv_use_wizarddlg"
9223 if test "$no_cache" != 1; then
9224 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9227 if test "$wxUSE_WIZARDDLG" = yes; then
9228 echo "$as_me:$LINENO: result: yes" >&5
9229 echo "${ECHO_T}yes" >&6
9231 echo "$as_me:$LINENO: result: no" >&5
9232 echo "${ECHO_T}no" >&6
9239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9240 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9242 # Check whether --enable-menus or --disable-menus was given.
9243 if test "${enable_menus+set}" = set; then
9244 enableval
="$enable_menus"
9246 if test "$enableval" = yes; then
9247 ac_cv_use_menus
='wxUSE_MENUS=yes'
9249 ac_cv_use_menus
='wxUSE_MENUS=no'
9254 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9255 if test "x$LINE" != x
; then
9256 eval "DEFAULT_$LINE"
9261 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9265 eval "$ac_cv_use_menus"
9266 if test "$no_cache" != 1; then
9267 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9270 if test "$wxUSE_MENUS" = yes; then
9271 echo "$as_me:$LINENO: result: yes" >&5
9272 echo "${ECHO_T}yes" >&6
9274 echo "$as_me:$LINENO: result: no" >&5
9275 echo "${ECHO_T}no" >&6
9280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9281 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9283 # Check whether --enable-miniframe or --disable-miniframe was given.
9284 if test "${enable_miniframe+set}" = set; then
9285 enableval
="$enable_miniframe"
9287 if test "$enableval" = yes; then
9288 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9290 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9295 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9296 if test "x$LINE" != x
; then
9297 eval "DEFAULT_$LINE"
9302 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9306 eval "$ac_cv_use_miniframe"
9307 if test "$no_cache" != 1; then
9308 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9311 if test "$wxUSE_MINIFRAME" = yes; then
9312 echo "$as_me:$LINENO: result: yes" >&5
9313 echo "${ECHO_T}yes" >&6
9315 echo "$as_me:$LINENO: result: no" >&5
9316 echo "${ECHO_T}no" >&6
9321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9322 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9324 # Check whether --enable-tooltips or --disable-tooltips was given.
9325 if test "${enable_tooltips+set}" = set; then
9326 enableval
="$enable_tooltips"
9328 if test "$enableval" = yes; then
9329 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9331 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9336 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9337 if test "x$LINE" != x
; then
9338 eval "DEFAULT_$LINE"
9343 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9347 eval "$ac_cv_use_tooltips"
9348 if test "$no_cache" != 1; then
9349 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9352 if test "$wxUSE_TOOLTIPS" = yes; then
9353 echo "$as_me:$LINENO: result: yes" >&5
9354 echo "${ECHO_T}yes" >&6
9356 echo "$as_me:$LINENO: result: no" >&5
9357 echo "${ECHO_T}no" >&6
9362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9363 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9365 # Check whether --enable-splines or --disable-splines was given.
9366 if test "${enable_splines+set}" = set; then
9367 enableval
="$enable_splines"
9369 if test "$enableval" = yes; then
9370 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9372 ac_cv_use_splines
='wxUSE_SPLINES=no'
9377 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9378 if test "x$LINE" != x
; then
9379 eval "DEFAULT_$LINE"
9384 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9388 eval "$ac_cv_use_splines"
9389 if test "$no_cache" != 1; then
9390 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9393 if test "$wxUSE_SPLINES" = yes; then
9394 echo "$as_me:$LINENO: result: yes" >&5
9395 echo "${ECHO_T}yes" >&6
9397 echo "$as_me:$LINENO: result: no" >&5
9398 echo "${ECHO_T}no" >&6
9403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9404 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9406 # Check whether --enable-validators or --disable-validators was given.
9407 if test "${enable_validators+set}" = set; then
9408 enableval
="$enable_validators"
9410 if test "$enableval" = yes; then
9411 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9413 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9418 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9419 if test "x$LINE" != x
; then
9420 eval "DEFAULT_$LINE"
9425 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9429 eval "$ac_cv_use_validators"
9430 if test "$no_cache" != 1; then
9431 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9434 if test "$wxUSE_VALIDATORS" = yes; then
9435 echo "$as_me:$LINENO: result: yes" >&5
9436 echo "${ECHO_T}yes" >&6
9438 echo "$as_me:$LINENO: result: no" >&5
9439 echo "${ECHO_T}no" >&6
9444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9445 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9447 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9448 if test "${enable_busyinfo+set}" = set; then
9449 enableval
="$enable_busyinfo"
9451 if test "$enableval" = yes; then
9452 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9454 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9459 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9460 if test "x$LINE" != x
; then
9461 eval "DEFAULT_$LINE"
9466 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9470 eval "$ac_cv_use_busyinfo"
9471 if test "$no_cache" != 1; then
9472 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9475 if test "$wxUSE_BUSYINFO" = yes; then
9476 echo "$as_me:$LINENO: result: yes" >&5
9477 echo "${ECHO_T}yes" >&6
9479 echo "$as_me:$LINENO: result: no" >&5
9480 echo "${ECHO_T}no" >&6
9485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9486 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9488 # Check whether --enable-joystick or --disable-joystick was given.
9489 if test "${enable_joystick+set}" = set; then
9490 enableval
="$enable_joystick"
9492 if test "$enableval" = yes; then
9493 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9495 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9500 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9501 if test "x$LINE" != x
; then
9502 eval "DEFAULT_$LINE"
9507 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9511 eval "$ac_cv_use_joystick"
9512 if test "$no_cache" != 1; then
9513 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9516 if test "$wxUSE_JOYSTICK" = yes; then
9517 echo "$as_me:$LINENO: result: yes" >&5
9518 echo "${ECHO_T}yes" >&6
9520 echo "$as_me:$LINENO: result: no" >&5
9521 echo "${ECHO_T}no" >&6
9526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9527 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9529 # Check whether --enable-metafile or --disable-metafile was given.
9530 if test "${enable_metafile+set}" = set; then
9531 enableval
="$enable_metafile"
9533 if test "$enableval" = yes; then
9534 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9536 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9541 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9542 if test "x$LINE" != x
; then
9543 eval "DEFAULT_$LINE"
9548 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9552 eval "$ac_cv_use_metafile"
9553 if test "$no_cache" != 1; then
9554 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9557 if test "$wxUSE_METAFILE" = yes; then
9558 echo "$as_me:$LINENO: result: yes" >&5
9559 echo "${ECHO_T}yes" >&6
9561 echo "$as_me:$LINENO: result: no" >&5
9562 echo "${ECHO_T}no" >&6
9567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9568 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9570 # Check whether --enable-dragimage or --disable-dragimage was given.
9571 if test "${enable_dragimage+set}" = set; then
9572 enableval
="$enable_dragimage"
9574 if test "$enableval" = yes; then
9575 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9577 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9582 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9583 if test "x$LINE" != x
; then
9584 eval "DEFAULT_$LINE"
9589 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9593 eval "$ac_cv_use_dragimage"
9594 if test "$no_cache" != 1; then
9595 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9598 if test "$wxUSE_DRAGIMAGE" = yes; then
9599 echo "$as_me:$LINENO: result: yes" >&5
9600 echo "${ECHO_T}yes" >&6
9602 echo "$as_me:$LINENO: result: no" >&5
9603 echo "${ECHO_T}no" >&6
9608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9609 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9611 # Check whether --enable-accessibility or --disable-accessibility was given.
9612 if test "${enable_accessibility+set}" = set; then
9613 enableval
="$enable_accessibility"
9615 if test "$enableval" = yes; then
9616 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9618 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9623 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9624 if test "x$LINE" != x
; then
9625 eval "DEFAULT_$LINE"
9630 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9634 eval "$ac_cv_use_accessibility"
9635 if test "$no_cache" != 1; then
9636 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9639 if test "$wxUSE_ACCESSIBILITY" = yes; then
9640 echo "$as_me:$LINENO: result: yes" >&5
9641 echo "${ECHO_T}yes" >&6
9643 echo "$as_me:$LINENO: result: no" >&5
9644 echo "${ECHO_T}no" >&6
9651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9652 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9654 # Check whether --enable-palette or --disable-palette was given.
9655 if test "${enable_palette+set}" = set; then
9656 enableval
="$enable_palette"
9658 if test "$enableval" = yes; then
9659 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9661 ac_cv_use_palette
='wxUSE_PALETTE=no'
9666 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9667 if test "x$LINE" != x
; then
9668 eval "DEFAULT_$LINE"
9673 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9677 eval "$ac_cv_use_palette"
9678 if test "$no_cache" != 1; then
9679 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9682 if test "$wxUSE_PALETTE" = yes; then
9683 echo "$as_me:$LINENO: result: yes" >&5
9684 echo "${ECHO_T}yes" >&6
9686 echo "$as_me:$LINENO: result: no" >&5
9687 echo "${ECHO_T}no" >&6
9692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9693 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9695 # Check whether --enable-image or --disable-image was given.
9696 if test "${enable_image+set}" = set; then
9697 enableval
="$enable_image"
9699 if test "$enableval" = yes; then
9700 ac_cv_use_image
='wxUSE_IMAGE=yes'
9702 ac_cv_use_image
='wxUSE_IMAGE=no'
9707 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9708 if test "x$LINE" != x
; then
9709 eval "DEFAULT_$LINE"
9714 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9718 eval "$ac_cv_use_image"
9719 if test "$no_cache" != 1; then
9720 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9723 if test "$wxUSE_IMAGE" = yes; then
9724 echo "$as_me:$LINENO: result: yes" >&5
9725 echo "${ECHO_T}yes" >&6
9727 echo "$as_me:$LINENO: result: no" >&5
9728 echo "${ECHO_T}no" >&6
9733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9734 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9736 # Check whether --enable-gif or --disable-gif was given.
9737 if test "${enable_gif+set}" = set; then
9738 enableval
="$enable_gif"
9740 if test "$enableval" = yes; then
9741 ac_cv_use_gif
='wxUSE_GIF=yes'
9743 ac_cv_use_gif
='wxUSE_GIF=no'
9748 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9749 if test "x$LINE" != x
; then
9750 eval "DEFAULT_$LINE"
9755 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9759 eval "$ac_cv_use_gif"
9760 if test "$no_cache" != 1; then
9761 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9764 if test "$wxUSE_GIF" = yes; then
9765 echo "$as_me:$LINENO: result: yes" >&5
9766 echo "${ECHO_T}yes" >&6
9768 echo "$as_me:$LINENO: result: no" >&5
9769 echo "${ECHO_T}no" >&6
9774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9775 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9777 # Check whether --enable-pcx or --disable-pcx was given.
9778 if test "${enable_pcx+set}" = set; then
9779 enableval
="$enable_pcx"
9781 if test "$enableval" = yes; then
9782 ac_cv_use_pcx
='wxUSE_PCX=yes'
9784 ac_cv_use_pcx
='wxUSE_PCX=no'
9789 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9790 if test "x$LINE" != x
; then
9791 eval "DEFAULT_$LINE"
9796 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9800 eval "$ac_cv_use_pcx"
9801 if test "$no_cache" != 1; then
9802 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9805 if test "$wxUSE_PCX" = yes; then
9806 echo "$as_me:$LINENO: result: yes" >&5
9807 echo "${ECHO_T}yes" >&6
9809 echo "$as_me:$LINENO: result: no" >&5
9810 echo "${ECHO_T}no" >&6
9815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9816 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9818 # Check whether --enable-iff or --disable-iff was given.
9819 if test "${enable_iff+set}" = set; then
9820 enableval
="$enable_iff"
9822 if test "$enableval" = yes; then
9823 ac_cv_use_iff
='wxUSE_IFF=yes'
9825 ac_cv_use_iff
='wxUSE_IFF=no'
9830 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9831 if test "x$LINE" != x
; then
9832 eval "DEFAULT_$LINE"
9837 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9841 eval "$ac_cv_use_iff"
9842 if test "$no_cache" != 1; then
9843 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9846 if test "$wxUSE_IFF" = yes; then
9847 echo "$as_me:$LINENO: result: yes" >&5
9848 echo "${ECHO_T}yes" >&6
9850 echo "$as_me:$LINENO: result: no" >&5
9851 echo "${ECHO_T}no" >&6
9856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9857 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9859 # Check whether --enable-pnm or --disable-pnm was given.
9860 if test "${enable_pnm+set}" = set; then
9861 enableval
="$enable_pnm"
9863 if test "$enableval" = yes; then
9864 ac_cv_use_pnm
='wxUSE_PNM=yes'
9866 ac_cv_use_pnm
='wxUSE_PNM=no'
9871 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9872 if test "x$LINE" != x
; then
9873 eval "DEFAULT_$LINE"
9878 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9882 eval "$ac_cv_use_pnm"
9883 if test "$no_cache" != 1; then
9884 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9887 if test "$wxUSE_PNM" = yes; then
9888 echo "$as_me:$LINENO: result: yes" >&5
9889 echo "${ECHO_T}yes" >&6
9891 echo "$as_me:$LINENO: result: no" >&5
9892 echo "${ECHO_T}no" >&6
9897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9898 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9900 # Check whether --enable-xpm or --disable-xpm was given.
9901 if test "${enable_xpm+set}" = set; then
9902 enableval
="$enable_xpm"
9904 if test "$enableval" = yes; then
9905 ac_cv_use_xpm
='wxUSE_XPM=yes'
9907 ac_cv_use_xpm
='wxUSE_XPM=no'
9912 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9913 if test "x$LINE" != x
; then
9914 eval "DEFAULT_$LINE"
9919 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9923 eval "$ac_cv_use_xpm"
9924 if test "$no_cache" != 1; then
9925 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9928 if test "$wxUSE_XPM" = yes; then
9929 echo "$as_me:$LINENO: result: yes" >&5
9930 echo "${ECHO_T}yes" >&6
9932 echo "$as_me:$LINENO: result: no" >&5
9933 echo "${ECHO_T}no" >&6
9938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9941 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9942 if test "${enable_ico_cur+set}" = set; then
9943 enableval
="$enable_ico_cur"
9945 if test "$enableval" = yes; then
9946 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9948 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9953 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9954 if test "x$LINE" != x
; then
9955 eval "DEFAULT_$LINE"
9960 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9964 eval "$ac_cv_use_ico_cur"
9965 if test "$no_cache" != 1; then
9966 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9969 if test "$wxUSE_ICO_CUR" = yes; then
9970 echo "$as_me:$LINENO: result: yes" >&5
9971 echo "${ECHO_T}yes" >&6
9973 echo "$as_me:$LINENO: result: no" >&5
9974 echo "${ECHO_T}no" >&6
9982 # Check whether --with-flavour or --without-flavour was given.
9983 if test "${with_flavour+set}" = set; then
9984 withval
="$with_flavour"
9985 WX_FLAVOUR
="$withval"
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9994 # Check whether --enable-official_build or --disable-official_build was given.
9995 if test "${enable_official_build+set}" = set; then
9996 enableval
="$enable_official_build"
9998 if test "$enableval" = yes; then
9999 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10001 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10006 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x
; then
10008 eval "DEFAULT_$LINE"
10013 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10017 eval "$ac_cv_use_official_build"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10022 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10030 # Check whether --enable-vendor or --disable-vendor was given.
10031 if test "${enable_vendor+set}" = set; then
10032 enableval
="$enable_vendor"
10033 VENDOR
="$enableval"
10035 if test "x$VENDOR" = "x"; then
10042 echo "saving argument cache $wx_arg_cache_file"
10043 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10047 echo "$as_me:$LINENO: checking for toolkit" >&5
10048 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10050 # In Wine, we need to default to MSW, not GTK or MOTIF
10051 if test "$wxUSE_WINE" = "yes"; then
10052 DEFAULT_DEFAULT_wxUSE_GTK
=0
10053 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10054 DEFAULT_DEFAULT_wxUSE_MSW
=1
10058 if test "$wxUSE_GUI" = "yes"; then
10060 if test "$USE_BEOS" = 1; then
10061 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10062 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10063 { (exit 1); exit 1; }; }
10066 if test "$TOOLKIT_GIVEN" = 1; then
10067 for toolkit
in `echo $ALL_TOOLKITS`; do
10069 eval "value=\$${var}"
10070 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10073 for toolkit
in `echo $ALL_TOOLKITS`; do
10074 if test "$has_toolkit_in_cache" != 1; then
10075 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10077 var
=DEFAULT_wxUSE_
$toolkit
10079 eval "wxUSE_$toolkit=\$${var}"
10083 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10084 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10085 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10088 *-pc-os2_emx | *-pc-os2-emx )
10089 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10092 case "$NUM_TOOLKITS" in
10096 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10097 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10098 { (exit 1); exit 1; }; }
10101 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10102 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10103 { (exit 1); exit 1; }; }
10106 for toolkit
in `echo $ALL_TOOLKITS`; do
10108 eval "value=\$${var}"
10109 if test "x$value" != x
; then
10110 cache_var
=CACHE_
$toolkit
10111 eval "cache=\$${cache_var}"
10112 if test "$cache" = 1; then
10113 echo "$var=$value" >> ${wx_arg_cache_file}
10115 if test "$value" = 1; then
10116 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10117 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10118 echo "${ECHO_T}$toolkit_echo" >&6
10123 if test "x$host_alias" != "x"; then
10124 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10125 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10127 echo "$as_me:$LINENO: result: base only" >&5
10128 echo "${ECHO_T}base only" >&6
10133 doesnt_want_win32
=0
10136 if test "$wxUSE_MSW" = 1 ; then
10139 doesnt_want_win32
=1
10147 if test "$wxUSE_WINE" = "yes"; then
10152 LDFLAGS_GUI
="-mwindows"
10155 if test "$wants_win32" = 1 ; then
10158 cat >>confdefs.h
<<\_ACEOF
10159 #define __WIN32__ 1
10162 cat >>confdefs.h
<<\_ACEOF
10163 #define __WIN95__ 1
10166 cat >>confdefs.h
<<\_ACEOF
10167 #define __WINDOWS__ 1
10170 cat >>confdefs.h
<<\_ACEOF
10171 #define __GNUWIN32__ 1
10174 cat >>confdefs.h
<<\_ACEOF
10178 cat >>confdefs.h
<<\_ACEOF
10179 #define WINVER 0x0400
10183 if test "$doesnt_want_win32" = 1 ; then
10188 if test "$USE_UNIX" = 1 ; then
10190 cat >>confdefs.h
<<\_ACEOF
10197 cat >confcache
<<\_ACEOF
10198 # This file is a shell script that caches the results of configure
10199 # tests run on this system so they can be shared between configure
10200 # scripts and configure runs, see configure's option --config-cache.
10201 # It is not useful on other systems. If it contains results you don't
10202 # want to keep, you may remove or edit it.
10204 # config.status only pays attention to the cache file if you give it
10205 # the --recheck option to rerun configure.
10207 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10208 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10209 # following values.
10213 # The following way of writing the cache mishandles newlines in values,
10214 # but we know of no workaround that is simple, portable, and efficient.
10215 # So, don't put newlines in cache variables' values.
10216 # Ultrix sh set writes to stderr and can't be redirected directly,
10217 # and sets the high bit in the cache file unless we assign to the vars.
10220 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10222 # `set' does not quote correctly, so add quotes (double-quote
10223 # substitution turns \\\\ into \\, and sed turns \\ into \).
10226 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10229 # `set' quotes correctly as required by POSIX, so do not add quotes.
10231 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10238 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10240 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10242 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10243 if test -w $cache_file; then
10244 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10245 cat confcache
>$cache_file
10247 echo "not updating unwritable cache $cache_file"
10252 if test "$build" != "$host" ; then
10253 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10255 CXX
=$host_alias-c++
10257 RANLIB
=$host_alias-ranlib
10258 DLLTOOL
=$host_alias-dlltool
10259 RESCOMP
=$host_alias-windres
10260 STRIP
=$host_alias-strip
10262 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10263 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10264 { (exit 1); exit 1; }; }
10270 ac_cpp
='$CPP $CPPFLAGS'
10271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10274 if test -n "$ac_tool_prefix"; then
10275 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10276 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10277 echo "$as_me:$LINENO: checking for $ac_word" >&5
10278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10279 if test "${ac_cv_prog_CC+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10282 if test -n "$CC"; then
10283 ac_cv_prog_CC
="$CC" # Let the user override the test.
10285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10286 for as_dir
in $PATH
10289 test -z "$as_dir" && as_dir
=.
10290 for ac_exec_ext
in '' $ac_executable_extensions; do
10291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10292 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10302 if test -n "$CC"; then
10303 echo "$as_me:$LINENO: result: $CC" >&5
10304 echo "${ECHO_T}$CC" >&6
10306 echo "$as_me:$LINENO: result: no" >&5
10307 echo "${ECHO_T}no" >&6
10311 if test -z "$ac_cv_prog_CC"; then
10313 # Extract the first word of "gcc", so it can be a program name with args.
10314 set dummy gcc
; ac_word
=$2
10315 echo "$as_me:$LINENO: checking for $ac_word" >&5
10316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10318 echo $ECHO_N "(cached) $ECHO_C" >&6
10320 if test -n "$ac_ct_CC"; then
10321 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10324 for as_dir
in $PATH
10327 test -z "$as_dir" && as_dir
=.
10328 for ac_exec_ext
in '' $ac_executable_extensions; do
10329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10330 ac_cv_prog_ac_ct_CC
="gcc"
10331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10339 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10340 if test -n "$ac_ct_CC"; then
10341 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10342 echo "${ECHO_T}$ac_ct_CC" >&6
10344 echo "$as_me:$LINENO: result: no" >&5
10345 echo "${ECHO_T}no" >&6
10350 CC
="$ac_cv_prog_CC"
10353 if test -z "$CC"; then
10354 if test -n "$ac_tool_prefix"; then
10355 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10356 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10357 echo "$as_me:$LINENO: checking for $ac_word" >&5
10358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10359 if test "${ac_cv_prog_CC+set}" = set; then
10360 echo $ECHO_N "(cached) $ECHO_C" >&6
10362 if test -n "$CC"; then
10363 ac_cv_prog_CC
="$CC" # Let the user override the test.
10365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10366 for as_dir
in $PATH
10369 test -z "$as_dir" && as_dir
=.
10370 for ac_exec_ext
in '' $ac_executable_extensions; do
10371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10372 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10382 if test -n "$CC"; then
10383 echo "$as_me:$LINENO: result: $CC" >&5
10384 echo "${ECHO_T}$CC" >&6
10386 echo "$as_me:$LINENO: result: no" >&5
10387 echo "${ECHO_T}no" >&6
10391 if test -z "$ac_cv_prog_CC"; then
10393 # Extract the first word of "cc", so it can be a program name with args.
10394 set dummy cc
; ac_word
=$2
10395 echo "$as_me:$LINENO: checking for $ac_word" >&5
10396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10397 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10398 echo $ECHO_N "(cached) $ECHO_C" >&6
10400 if test -n "$ac_ct_CC"; then
10401 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10404 for as_dir
in $PATH
10407 test -z "$as_dir" && as_dir
=.
10408 for ac_exec_ext
in '' $ac_executable_extensions; do
10409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10410 ac_cv_prog_ac_ct_CC
="cc"
10411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10419 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10420 if test -n "$ac_ct_CC"; then
10421 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10422 echo "${ECHO_T}$ac_ct_CC" >&6
10424 echo "$as_me:$LINENO: result: no" >&5
10425 echo "${ECHO_T}no" >&6
10430 CC
="$ac_cv_prog_CC"
10434 if test -z "$CC"; then
10435 # Extract the first word of "cc", so it can be a program name with args.
10436 set dummy cc
; ac_word
=$2
10437 echo "$as_me:$LINENO: checking for $ac_word" >&5
10438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10439 if test "${ac_cv_prog_CC+set}" = set; then
10440 echo $ECHO_N "(cached) $ECHO_C" >&6
10442 if test -n "$CC"; then
10443 ac_cv_prog_CC
="$CC" # Let the user override the test.
10445 ac_prog_rejected
=no
10446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10447 for as_dir
in $PATH
10450 test -z "$as_dir" && as_dir
=.
10451 for ac_exec_ext
in '' $ac_executable_extensions; do
10452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10453 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10454 ac_prog_rejected
=yes
10458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10464 if test $ac_prog_rejected = yes; then
10465 # We found a bogon in the path, so make sure we never use it.
10466 set dummy
$ac_cv_prog_CC
10468 if test $# != 0; then
10469 # We chose a different compiler from the bogus one.
10470 # However, it has the same basename, so the bogon will be chosen
10471 # first if we set CC to just the basename; use the full file name.
10473 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10479 if test -n "$CC"; then
10480 echo "$as_me:$LINENO: result: $CC" >&5
10481 echo "${ECHO_T}$CC" >&6
10483 echo "$as_me:$LINENO: result: no" >&5
10484 echo "${ECHO_T}no" >&6
10488 if test -z "$CC"; then
10489 if test -n "$ac_tool_prefix"; then
10492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10493 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10494 echo "$as_me:$LINENO: checking for $ac_word" >&5
10495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10496 if test "${ac_cv_prog_CC+set}" = set; then
10497 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 if test -n "$CC"; then
10500 ac_cv_prog_CC
="$CC" # Let the user override the test.
10502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10503 for as_dir
in $PATH
10506 test -z "$as_dir" && as_dir
=.
10507 for ac_exec_ext
in '' $ac_executable_extensions; do
10508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10509 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10519 if test -n "$CC"; then
10520 echo "$as_me:$LINENO: result: $CC" >&5
10521 echo "${ECHO_T}$CC" >&6
10523 echo "$as_me:$LINENO: result: no" >&5
10524 echo "${ECHO_T}no" >&6
10527 test -n "$CC" && break
10530 if test -z "$CC"; then
10534 # Extract the first word of "$ac_prog", so it can be a program name with args.
10535 set dummy
$ac_prog; ac_word
=$2
10536 echo "$as_me:$LINENO: checking for $ac_word" >&5
10537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10538 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10539 echo $ECHO_N "(cached) $ECHO_C" >&6
10541 if test -n "$ac_ct_CC"; then
10542 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10545 for as_dir
in $PATH
10548 test -z "$as_dir" && as_dir
=.
10549 for ac_exec_ext
in '' $ac_executable_extensions; do
10550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10551 ac_cv_prog_ac_ct_CC
="$ac_prog"
10552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10560 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10561 if test -n "$ac_ct_CC"; then
10562 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10563 echo "${ECHO_T}$ac_ct_CC" >&6
10565 echo "$as_me:$LINENO: result: no" >&5
10566 echo "${ECHO_T}no" >&6
10569 test -n "$ac_ct_CC" && break
10578 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10579 See \`config.log' for more details." >&5
10580 echo "$as_me: error: no acceptable C compiler found in \$PATH
10581 See \`config.log' for more details." >&2;}
10582 { (exit 1); exit 1; }; }
10584 # Provide some information about the compiler.
10585 echo "$as_me:$LINENO:" \
10586 "checking for C compiler version" >&5
10587 ac_compiler
=`set X $ac_compile; echo $2`
10588 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10589 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }
10593 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10594 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); }
10598 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10599 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }
10604 cat >conftest.
$ac_ext <<_ACEOF
10607 cat confdefs.h
>>conftest.
$ac_ext
10608 cat >>conftest.
$ac_ext <<_ACEOF
10609 /* end confdefs.h. */
10619 ac_clean_files_save
=$ac_clean_files
10620 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10621 # Try to create an executable without -o first, disregard a.out.
10622 # It will help us diagnose broken compilers, and finding out an intuition
10624 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10625 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10626 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10627 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10628 (eval $ac_link_default) 2>&5
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); }; then
10632 # Find the output, starting from the most likely. This scheme is
10633 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10636 # Be careful to initialize this variable, since it used to be cached.
10637 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10639 # b.out is created by i960 compilers.
10640 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10642 test -f "$ac_file" || continue
10644 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10647 # This is the source file.
10650 # We found the default executable, but exeext='' is most
10654 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10655 # FIXME: I believe we export ac_cv_exeext for Libtool,
10656 # but it would be cool to find out if it's true. Does anybody
10657 # maintain Libtool? --akim.
10658 export ac_cv_exeext
10665 echo "$as_me: failed program was:" >&5
10666 sed 's/^/| /' conftest.
$ac_ext >&5
10668 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10669 See \`config.log' for more details." >&5
10670 echo "$as_me: error: C compiler cannot create executables
10671 See \`config.log' for more details." >&2;}
10672 { (exit 77); exit 77; }; }
10675 ac_exeext
=$ac_cv_exeext
10676 echo "$as_me:$LINENO: result: $ac_file" >&5
10677 echo "${ECHO_T}$ac_file" >&6
10679 # Check the compiler produces executables we can run. If not, either
10680 # the compiler is broken, or we cross compile.
10681 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10682 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10683 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10684 # If not cross compiling, check that we can run a simple program.
10685 if test "$cross_compiling" != yes; then
10686 if { ac_try
='./$ac_file'
10687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10688 (eval $ac_try) 2>&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); }; }; then
10694 if test "$cross_compiling" = maybe
; then
10695 cross_compiling
=yes
10697 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10698 If you meant to cross compile, use \`--host'.
10699 See \`config.log' for more details." >&5
10700 echo "$as_me: error: cannot run C compiled programs.
10701 If you meant to cross compile, use \`--host'.
10702 See \`config.log' for more details." >&2;}
10703 { (exit 1); exit 1; }; }
10707 echo "$as_me:$LINENO: result: yes" >&5
10708 echo "${ECHO_T}yes" >&6
10710 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10711 ac_clean_files
=$ac_clean_files_save
10712 # Check the compiler produces executables we can run. If not, either
10713 # the compiler is broken, or we cross compile.
10714 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10715 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10716 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10717 echo "${ECHO_T}$cross_compiling" >&6
10719 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10720 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10722 (eval $ac_link) 2>&5
10724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725 (exit $ac_status); }; then
10726 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10727 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10728 # work properly (i.e., refer to `conftest.exe'), while it won't with
10730 for ac_file
in conftest.exe conftest conftest.
*; do
10731 test -f "$ac_file" || continue
10733 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10734 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10735 export ac_cv_exeext
10741 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10742 See \`config.log' for more details." >&5
10743 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10744 See \`config.log' for more details." >&2;}
10745 { (exit 1); exit 1; }; }
10748 rm -f conftest
$ac_cv_exeext
10749 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10750 echo "${ECHO_T}$ac_cv_exeext" >&6
10752 rm -f conftest.
$ac_ext
10753 EXEEXT
=$ac_cv_exeext
10755 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10756 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10757 if test "${ac_cv_objext+set}" = set; then
10758 echo $ECHO_N "(cached) $ECHO_C" >&6
10760 cat >conftest.
$ac_ext <<_ACEOF
10763 cat confdefs.h
>>conftest.
$ac_ext
10764 cat >>conftest.
$ac_ext <<_ACEOF
10765 /* end confdefs.h. */
10775 rm -f conftest.o conftest.obj
10776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10777 (eval $ac_compile) 2>&5
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; then
10781 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10783 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10784 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.
$ac_ext >&5
10792 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10793 See \`config.log' for more details." >&5
10794 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10795 See \`config.log' for more details." >&2;}
10796 { (exit 1); exit 1; }; }
10799 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10801 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10802 echo "${ECHO_T}$ac_cv_objext" >&6
10803 OBJEXT
=$ac_cv_objext
10805 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10806 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10807 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10808 echo $ECHO_N "(cached) $ECHO_C" >&6
10810 cat >conftest.
$ac_ext <<_ACEOF
10813 cat confdefs.h
>>conftest.
$ac_ext
10814 cat >>conftest.
$ac_ext <<_ACEOF
10815 /* end confdefs.h. */
10828 rm -f conftest.
$ac_objext
10829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10830 (eval $ac_compile) 2>conftest.er1
10832 grep -v '^ *+' conftest.er1
>conftest.err
10834 cat conftest.err
>&5
10835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10836 (exit $ac_status); } &&
10837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10839 (eval $ac_try) 2>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); }; } &&
10843 { ac_try
='test -s conftest.$ac_objext'
10844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; }; then
10849 ac_compiler_gnu
=yes
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.
$ac_ext >&5
10856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10857 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10860 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10861 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10862 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10863 ac_test_CFLAGS
=${CFLAGS+set}
10864 ac_save_CFLAGS
=$CFLAGS
10866 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10867 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10868 if test "${ac_cv_prog_cc_g+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 cat >conftest.
$ac_ext <<_ACEOF
10874 cat confdefs.h
>>conftest.
$ac_ext
10875 cat >>conftest.
$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10886 rm -f conftest.
$ac_objext
10887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10888 (eval $ac_compile) 2>conftest.er1
10890 grep -v '^ *+' conftest.er1
>conftest.err
10892 cat conftest.err
>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); } &&
10895 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10897 (eval $ac_try) 2>&5
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); }; } &&
10901 { ac_try
='test -s conftest.$ac_objext'
10902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10903 (eval $ac_try) 2>&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; }; then
10907 ac_cv_prog_cc_g
=yes
10909 echo "$as_me: failed program was:" >&5
10910 sed 's/^/| /' conftest.
$ac_ext >&5
10914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10916 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10917 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10918 if test "$ac_test_CFLAGS" = set; then
10919 CFLAGS
=$ac_save_CFLAGS
10920 elif test $ac_cv_prog_cc_g = yes; then
10921 if test "$GCC" = yes; then
10927 if test "$GCC" = yes; then
10933 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10934 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10935 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10936 echo $ECHO_N "(cached) $ECHO_C" >&6
10938 ac_cv_prog_cc_stdc
=no
10940 cat >conftest.
$ac_ext <<_ACEOF
10943 cat confdefs.h
>>conftest.
$ac_ext
10944 cat >>conftest.
$ac_ext <<_ACEOF
10945 /* end confdefs.h. */
10946 #include <stdarg.h>
10948 #include <sys/types.h>
10949 #include <sys/stat.h>
10950 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10951 struct buf { int x; };
10952 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10953 static char *e (p, i)
10959 static char *f (char * (*g) (char **, int), char **p, ...)
10964 s = g (p, va_arg (v,int));
10969 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10970 function prototypes and stuff, but not '\xHH' hex character constants.
10971 These don't provoke an error unfortunately, instead are silently treated
10972 as 'x'. The following induces an error, until -std1 is added to get
10973 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10974 array size at least. It's necessary to write '\x00'==0 to get something
10975 that's true only with -std1. */
10976 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10978 int test (int i, double x);
10979 struct s1 {int (*f) (int a);};
10980 struct s2 {int (*f) (double a);};
10981 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10987 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10992 # Don't try gcc -ansi; that turns off useful extensions and
10993 # breaks some systems' header files.
10994 # AIX -qlanglvl=ansi
10995 # Ultrix and OSF/1 -std1
10996 # HP-UX 10.20 and later -Ae
10997 # HP-UX older versions -Aa -D_HPUX_SOURCE
10998 # SVR4 -Xc -D__EXTENSIONS__
10999 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11001 CC
="$ac_save_CC $ac_arg"
11002 rm -f conftest.
$ac_objext
11003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11004 (eval $ac_compile) 2>conftest.er1
11006 grep -v '^ *+' conftest.er1
>conftest.err
11008 cat conftest.err
>&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } &&
11011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; } &&
11017 { ac_try
='test -s conftest.$ac_objext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 ac_cv_prog_cc_stdc
=$ac_arg
11026 echo "$as_me: failed program was:" >&5
11027 sed 's/^/| /' conftest.
$ac_ext >&5
11030 rm -f conftest.err conftest.
$ac_objext
11032 rm -f conftest.
$ac_ext conftest.
$ac_objext
11037 case "x$ac_cv_prog_cc_stdc" in
11039 echo "$as_me:$LINENO: result: none needed" >&5
11040 echo "${ECHO_T}none needed" >&6 ;;
11042 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11043 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11044 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11047 # Some people use a C++ compiler to compile C. Since we use `exit',
11048 # in C++ we need to declare it. In case someone uses the same compiler
11049 # for both compiling C and C++ we need to have the C++ compiler decide
11050 # the declaration of exit, since it's the most demanding environment.
11051 cat >conftest.
$ac_ext <<_ACEOF
11052 #ifndef __cplusplus
11056 rm -f conftest.
$ac_objext
11057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11058 (eval $ac_compile) 2>conftest.er1
11060 grep -v '^ *+' conftest.er1
>conftest.err
11062 cat conftest.err
>&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } &&
11065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; } &&
11071 { ac_try
='test -s conftest.$ac_objext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 for ac_declaration
in \
11079 'extern "C" void std::exit (int) throw (); using std::exit;' \
11080 'extern "C" void std::exit (int); using std::exit;' \
11081 'extern "C" void exit (int) throw ();' \
11082 'extern "C" void exit (int);' \
11085 cat >conftest.
$ac_ext <<_ACEOF
11088 cat confdefs.h
>>conftest.
$ac_ext
11089 cat >>conftest.
$ac_ext <<_ACEOF
11090 /* end confdefs.h. */
11092 #include <stdlib.h>
11101 rm -f conftest.
$ac_objext
11102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11103 (eval $ac_compile) 2>conftest.er1
11105 grep -v '^ *+' conftest.er1
>conftest.err
11107 cat conftest.err
>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); } &&
11110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11112 (eval $ac_try) 2>&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }; } &&
11116 { ac_try
='test -s conftest.$ac_objext'
11117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11118 (eval $ac_try) 2>&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); }; }; then
11124 echo "$as_me: failed program was:" >&5
11125 sed 's/^/| /' conftest.
$ac_ext >&5
11129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11130 cat >conftest.
$ac_ext <<_ACEOF
11133 cat confdefs.h
>>conftest.
$ac_ext
11134 cat >>conftest.
$ac_ext <<_ACEOF
11135 /* end confdefs.h. */
11145 rm -f conftest.
$ac_objext
11146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11147 (eval $ac_compile) 2>conftest.er1
11149 grep -v '^ *+' conftest.er1
>conftest.err
11151 cat conftest.err
>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } &&
11154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11156 (eval $ac_try) 2>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; } &&
11160 { ac_try
='test -s conftest.$ac_objext'
11161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11162 (eval $ac_try) 2>&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); }; }; then
11168 echo "$as_me: failed program was:" >&5
11169 sed 's/^/| /' conftest.
$ac_ext >&5
11172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11175 if test -n "$ac_declaration"; then
11176 echo '#ifdef __cplusplus' >>confdefs.h
11177 echo $ac_declaration >>confdefs.h
11178 echo '#endif' >>confdefs.h
11182 echo "$as_me: failed program was:" >&5
11183 sed 's/^/| /' conftest.
$ac_ext >&5
11186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11188 ac_cpp
='$CPP $CPPFLAGS'
11189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11196 ac_cpp
='$CPP $CPPFLAGS'
11197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11200 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11201 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11202 # On Suns, sometimes $CPP names a directory.
11203 if test -n "$CPP" && test -d "$CPP"; then
11206 if test -z "$CPP"; then
11207 if test "${ac_cv_prog_CPP+set}" = set; then
11208 echo $ECHO_N "(cached) $ECHO_C" >&6
11210 # Double quotes because CPP needs to be expanded
11211 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11213 ac_preproc_ok
=false
11214 for ac_c_preproc_warn_flag
in '' yes
11216 # Use a header file that comes with gcc, so configuring glibc
11217 # with a fresh cross-compiler works.
11218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11219 # <limits.h> exists even on freestanding compilers.
11220 # On the NeXT, cc -E runs the code through the compiler's parser,
11221 # not just through cpp. "Syntax error" is here to catch this case.
11222 cat >conftest.
$ac_ext <<_ACEOF
11225 cat confdefs.h
>>conftest.
$ac_ext
11226 cat >>conftest.
$ac_ext <<_ACEOF
11227 /* end confdefs.h. */
11229 # include <limits.h>
11231 # include <assert.h>
11235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11236 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11238 grep -v '^ *+' conftest.er1
>conftest.err
11240 cat conftest.err
>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); } >/dev
/null
; then
11243 if test -s conftest.err
; then
11244 ac_cpp_err
=$ac_c_preproc_warn_flag
11245 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11252 if test -z "$ac_cpp_err"; then
11255 echo "$as_me: failed program was:" >&5
11256 sed 's/^/| /' conftest.
$ac_ext >&5
11258 # Broken: fails on valid input.
11261 rm -f conftest.err conftest.
$ac_ext
11263 # OK, works on sane cases. Now check whether non-existent headers
11264 # can be detected and how.
11265 cat >conftest.
$ac_ext <<_ACEOF
11268 cat confdefs.h
>>conftest.
$ac_ext
11269 cat >>conftest.
$ac_ext <<_ACEOF
11270 /* end confdefs.h. */
11271 #include <ac_nonexistent.h>
11273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11274 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11276 grep -v '^ *+' conftest.er1
>conftest.err
11278 cat conftest.err
>&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); } >/dev
/null
; then
11281 if test -s conftest.err
; then
11282 ac_cpp_err
=$ac_c_preproc_warn_flag
11283 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11290 if test -z "$ac_cpp_err"; then
11291 # Broken: success on invalid input.
11294 echo "$as_me: failed program was:" >&5
11295 sed 's/^/| /' conftest.
$ac_ext >&5
11297 # Passes both tests.
11301 rm -f conftest.err conftest.
$ac_ext
11304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11305 rm -f conftest.err conftest.
$ac_ext
11306 if $ac_preproc_ok; then
11311 ac_cv_prog_CPP
=$CPP
11314 CPP
=$ac_cv_prog_CPP
11316 ac_cv_prog_CPP
=$CPP
11318 echo "$as_me:$LINENO: result: $CPP" >&5
11319 echo "${ECHO_T}$CPP" >&6
11320 ac_preproc_ok
=false
11321 for ac_c_preproc_warn_flag
in '' yes
11323 # Use a header file that comes with gcc, so configuring glibc
11324 # with a fresh cross-compiler works.
11325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11326 # <limits.h> exists even on freestanding compilers.
11327 # On the NeXT, cc -E runs the code through the compiler's parser,
11328 # not just through cpp. "Syntax error" is here to catch this case.
11329 cat >conftest.
$ac_ext <<_ACEOF
11332 cat confdefs.h
>>conftest.
$ac_ext
11333 cat >>conftest.
$ac_ext <<_ACEOF
11334 /* end confdefs.h. */
11336 # include <limits.h>
11338 # include <assert.h>
11342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11343 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11345 grep -v '^ *+' conftest.er1
>conftest.err
11347 cat conftest.err
>&5
11348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11349 (exit $ac_status); } >/dev
/null
; then
11350 if test -s conftest.err
; then
11351 ac_cpp_err
=$ac_c_preproc_warn_flag
11352 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11359 if test -z "$ac_cpp_err"; then
11362 echo "$as_me: failed program was:" >&5
11363 sed 's/^/| /' conftest.
$ac_ext >&5
11365 # Broken: fails on valid input.
11368 rm -f conftest.err conftest.
$ac_ext
11370 # OK, works on sane cases. Now check whether non-existent headers
11371 # can be detected and how.
11372 cat >conftest.
$ac_ext <<_ACEOF
11375 cat confdefs.h
>>conftest.
$ac_ext
11376 cat >>conftest.
$ac_ext <<_ACEOF
11377 /* end confdefs.h. */
11378 #include <ac_nonexistent.h>
11380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11381 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11383 grep -v '^ *+' conftest.er1
>conftest.err
11385 cat conftest.err
>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } >/dev
/null
; then
11388 if test -s conftest.err
; then
11389 ac_cpp_err
=$ac_c_preproc_warn_flag
11390 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11397 if test -z "$ac_cpp_err"; then
11398 # Broken: success on invalid input.
11401 echo "$as_me: failed program was:" >&5
11402 sed 's/^/| /' conftest.
$ac_ext >&5
11404 # Passes both tests.
11408 rm -f conftest.err conftest.
$ac_ext
11411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11412 rm -f conftest.err conftest.
$ac_ext
11413 if $ac_preproc_ok; then
11416 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11417 See \`config.log' for more details." >&5
11418 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11419 See \`config.log' for more details." >&2;}
11420 { (exit 1); exit 1; }; }
11424 ac_cpp
='$CPP $CPPFLAGS'
11425 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11426 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11427 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11430 echo "$as_me:$LINENO: checking for egrep" >&5
11431 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11432 if test "${ac_cv_prog_egrep+set}" = set; then
11433 echo $ECHO_N "(cached) $ECHO_C" >&6
11435 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11436 then ac_cv_prog_egrep
='grep -E'
11437 else ac_cv_prog_egrep
='egrep'
11440 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11441 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11442 EGREP
=$ac_cv_prog_egrep
11445 if test $ac_cv_c_compiler_gnu = yes; then
11446 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11447 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11448 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11449 echo $ECHO_N "(cached) $ECHO_C" >&6
11451 ac_pattern
="Autoconf.*'x'"
11452 cat >conftest.
$ac_ext <<_ACEOF
11455 cat confdefs.h
>>conftest.
$ac_ext
11456 cat >>conftest.
$ac_ext <<_ACEOF
11457 /* end confdefs.h. */
11461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11462 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11463 ac_cv_prog_gcc_traditional
=yes
11465 ac_cv_prog_gcc_traditional
=no
11470 if test $ac_cv_prog_gcc_traditional = no
; then
11471 cat >conftest.
$ac_ext <<_ACEOF
11474 cat confdefs.h
>>conftest.
$ac_ext
11475 cat >>conftest.
$ac_ext <<_ACEOF
11476 /* end confdefs.h. */
11477 #include <termio.h>
11480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11481 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11482 ac_cv_prog_gcc_traditional
=yes
11488 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11489 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11490 if test $ac_cv_prog_gcc_traditional = yes; then
11491 CC
="$CC -traditional"
11499 ac_cpp
='$CXXCPP $CPPFLAGS'
11500 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11501 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11502 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11505 CXXFLAGS
=${CXXFLAGS:=}
11507 ac_cpp
='$CXXCPP $CPPFLAGS'
11508 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11509 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11510 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11511 if test -n "$ac_tool_prefix"; then
11512 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11514 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11515 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11516 echo "$as_me:$LINENO: checking for $ac_word" >&5
11517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11518 if test "${ac_cv_prog_CXX+set}" = set; then
11519 echo $ECHO_N "(cached) $ECHO_C" >&6
11521 if test -n "$CXX"; then
11522 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11525 for as_dir
in $PATH
11528 test -z "$as_dir" && as_dir
=.
11529 for ac_exec_ext
in '' $ac_executable_extensions; do
11530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11531 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11540 CXX
=$ac_cv_prog_CXX
11541 if test -n "$CXX"; then
11542 echo "$as_me:$LINENO: result: $CXX" >&5
11543 echo "${ECHO_T}$CXX" >&6
11545 echo "$as_me:$LINENO: result: no" >&5
11546 echo "${ECHO_T}no" >&6
11549 test -n "$CXX" && break
11552 if test -z "$CXX"; then
11554 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11556 # Extract the first word of "$ac_prog", so it can be a program name with args.
11557 set dummy
$ac_prog; ac_word
=$2
11558 echo "$as_me:$LINENO: checking for $ac_word" >&5
11559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11560 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11561 echo $ECHO_N "(cached) $ECHO_C" >&6
11563 if test -n "$ac_ct_CXX"; then
11564 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11567 for as_dir
in $PATH
11570 test -z "$as_dir" && as_dir
=.
11571 for ac_exec_ext
in '' $ac_executable_extensions; do
11572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11573 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11582 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11583 if test -n "$ac_ct_CXX"; then
11584 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11585 echo "${ECHO_T}$ac_ct_CXX" >&6
11587 echo "$as_me:$LINENO: result: no" >&5
11588 echo "${ECHO_T}no" >&6
11591 test -n "$ac_ct_CXX" && break
11593 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11599 # Provide some information about the compiler.
11600 echo "$as_me:$LINENO:" \
11601 "checking for C++ compiler version" >&5
11602 ac_compiler
=`set X $ac_compile; echo $2`
11603 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11604 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); }
11608 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11609 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }
11613 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11614 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }
11619 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11620 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11621 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11624 cat >conftest.
$ac_ext <<_ACEOF
11627 cat confdefs.h
>>conftest.
$ac_ext
11628 cat >>conftest.
$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11642 rm -f conftest.
$ac_objext
11643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11644 (eval $ac_compile) 2>conftest.er1
11646 grep -v '^ *+' conftest.er1
>conftest.err
11648 cat conftest.err
>&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); } &&
11651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; } &&
11657 { ac_try
='test -s conftest.$ac_objext'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; }; then
11663 ac_compiler_gnu
=yes
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.
$ac_ext >&5
11670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11671 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11674 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11675 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11676 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11677 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11678 ac_save_CXXFLAGS
=$CXXFLAGS
11680 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11681 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11682 if test "${ac_cv_prog_cxx_g+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11685 cat >conftest.
$ac_ext <<_ACEOF
11688 cat confdefs.h
>>conftest.
$ac_ext
11689 cat >>conftest.
$ac_ext <<_ACEOF
11690 /* end confdefs.h. */
11700 rm -f conftest.
$ac_objext
11701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11702 (eval $ac_compile) 2>conftest.er1
11704 grep -v '^ *+' conftest.er1
>conftest.err
11706 cat conftest.err
>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); } &&
11709 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711 (eval $ac_try) 2>&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); }; } &&
11715 { ac_try
='test -s conftest.$ac_objext'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; }; then
11721 ac_cv_prog_cxx_g
=yes
11723 echo "$as_me: failed program was:" >&5
11724 sed 's/^/| /' conftest.
$ac_ext >&5
11726 ac_cv_prog_cxx_g
=no
11728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11730 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11731 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11732 if test "$ac_test_CXXFLAGS" = set; then
11733 CXXFLAGS
=$ac_save_CXXFLAGS
11734 elif test $ac_cv_prog_cxx_g = yes; then
11735 if test "$GXX" = yes; then
11741 if test "$GXX" = yes; then
11747 for ac_declaration
in \
11749 'extern "C" void std::exit (int) throw (); using std::exit;' \
11750 'extern "C" void std::exit (int); using std::exit;' \
11751 'extern "C" void exit (int) throw ();' \
11752 'extern "C" void exit (int);' \
11755 cat >conftest.
$ac_ext <<_ACEOF
11758 cat confdefs.h
>>conftest.
$ac_ext
11759 cat >>conftest.
$ac_ext <<_ACEOF
11760 /* end confdefs.h. */
11762 #include <stdlib.h>
11771 rm -f conftest.
$ac_objext
11772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11773 (eval $ac_compile) 2>conftest.er1
11775 grep -v '^ *+' conftest.er1
>conftest.err
11777 cat conftest.err
>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } &&
11780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; } &&
11786 { ac_try
='test -s conftest.$ac_objext'
11787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11788 (eval $ac_try) 2>&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); }; }; then
11794 echo "$as_me: failed program was:" >&5
11795 sed 's/^/| /' conftest.
$ac_ext >&5
11799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11800 cat >conftest.
$ac_ext <<_ACEOF
11803 cat confdefs.h
>>conftest.
$ac_ext
11804 cat >>conftest.
$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11815 rm -f conftest.
$ac_objext
11816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11817 (eval $ac_compile) 2>conftest.er1
11819 grep -v '^ *+' conftest.er1
>conftest.err
11821 cat conftest.err
>&5
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); } &&
11824 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11826 (eval $ac_try) 2>&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); }; } &&
11830 { ac_try
='test -s conftest.$ac_objext'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; }; then
11838 echo "$as_me: failed program was:" >&5
11839 sed 's/^/| /' conftest.
$ac_ext >&5
11842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11845 if test -n "$ac_declaration"; then
11846 echo '#ifdef __cplusplus' >>confdefs.h
11847 echo $ac_declaration >>confdefs.h
11848 echo '#endif' >>confdefs.h
11852 ac_cpp
='$CXXCPP $CPPFLAGS'
11853 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11854 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11855 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11859 ac_cpp
='$CPP $CPPFLAGS'
11860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11865 if test -n "$ac_tool_prefix"; then
11866 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11867 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11868 echo "$as_me:$LINENO: checking for $ac_word" >&5
11869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11870 if test "${ac_cv_prog_RANLIB+set}" = set; then
11871 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 if test -n "$RANLIB"; then
11874 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11877 for as_dir
in $PATH
11880 test -z "$as_dir" && as_dir
=.
11881 for ac_exec_ext
in '' $ac_executable_extensions; do
11882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11883 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11892 RANLIB
=$ac_cv_prog_RANLIB
11893 if test -n "$RANLIB"; then
11894 echo "$as_me:$LINENO: result: $RANLIB" >&5
11895 echo "${ECHO_T}$RANLIB" >&6
11897 echo "$as_me:$LINENO: result: no" >&5
11898 echo "${ECHO_T}no" >&6
11902 if test -z "$ac_cv_prog_RANLIB"; then
11903 ac_ct_RANLIB
=$RANLIB
11904 # Extract the first word of "ranlib", so it can be a program name with args.
11905 set dummy ranlib
; ac_word
=$2
11906 echo "$as_me:$LINENO: checking for $ac_word" >&5
11907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11908 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11909 echo $ECHO_N "(cached) $ECHO_C" >&6
11911 if test -n "$ac_ct_RANLIB"; then
11912 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11915 for as_dir
in $PATH
11918 test -z "$as_dir" && as_dir
=.
11919 for ac_exec_ext
in '' $ac_executable_extensions; do
11920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11921 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11928 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11931 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11932 if test -n "$ac_ct_RANLIB"; then
11933 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11934 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11936 echo "$as_me:$LINENO: result: no" >&5
11937 echo "${ECHO_T}no" >&6
11940 RANLIB
=$ac_ct_RANLIB
11942 RANLIB
="$ac_cv_prog_RANLIB"
11946 # Extract the first word of "ar", so it can be a program name with args.
11947 set dummy
ar; 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_AR+set}" = set; then
11951 echo $ECHO_N "(cached) $ECHO_C" >&6
11953 if test -n "$AR"; then
11954 ac_cv_prog_AR
="$AR" # 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
11964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11973 if test -n "$AR"; then
11974 echo "$as_me:$LINENO: result: $AR" >&5
11975 echo "${ECHO_T}$AR" >&6
11977 echo "$as_me:$LINENO: result: no" >&5
11978 echo "${ECHO_T}no" >&6
11981 if test "x$AR" = "x" ; then
11982 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11983 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11984 { (exit 1); exit 1; }; }
11987 # Find a good install program. We prefer a C program (faster),
11988 # so one script is as good as another. But avoid the broken or
11989 # incompatible versions:
11990 # SysV /etc/install, /usr/sbin/install
11991 # SunOS /usr/etc/install
11992 # IRIX /sbin/install
11994 # AmigaOS /C/install, which installs bootblocks on floppy discs
11995 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11996 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11997 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11998 # OS/2's system install, which has a completely different semantic
11999 # ./install, which can be erroneously created by make from ./install.sh.
12000 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12001 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12002 if test -z "$INSTALL"; then
12003 if test "${ac_cv_path_install+set}" = set; then
12004 echo $ECHO_N "(cached) $ECHO_C" >&6
12006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12007 for as_dir
in $PATH
12010 test -z "$as_dir" && as_dir
=.
12011 # Account for people who put trailing slashes in PATH elements.
12013 .
/ | .
// | /cC
/* | \
12014 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12015 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12018 # OSF1 and SCO ODT 3.0 have their own names for install.
12019 # Don't use installbsd from OSF since it installs stuff as root
12021 for ac_prog
in ginstall scoinst
install; do
12022 for ac_exec_ext
in '' $ac_executable_extensions; do
12023 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12024 if test $ac_prog = install &&
12025 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12026 # AIX install. It has an incompatible calling convention.
12028 elif test $ac_prog = install &&
12029 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12030 # program-specific install script used by HP pwplus--don't use.
12033 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12045 if test "${ac_cv_path_install+set}" = set; then
12046 INSTALL
=$ac_cv_path_install
12048 # As a last resort, use the slow shell script. We don't cache a
12049 # path for INSTALL within a source directory, because that will
12050 # break other packages using the cache if that directory is
12051 # removed, or if the path is relative.
12052 INSTALL
=$ac_install_sh
12055 echo "$as_me:$LINENO: result: $INSTALL" >&5
12056 echo "${ECHO_T}$INSTALL" >&6
12058 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12059 # It thinks the first close brace ends the variable substitution.
12060 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12062 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12064 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12070 ?
:* ) # Drive letter, considered as absolute.
12073 INSTALL
=`pwd`/${INSTALL} ;;
12079 powerpc
-*-darwin* )
12080 INSTALL_PROGRAM
="cp -fp"
12081 INSTALL_DATA
="cp -fp"
12087 # Extract the first word of "strip", so it can be a program name with args.
12088 set dummy strip
; ac_word
=$2
12089 echo "$as_me:$LINENO: checking for $ac_word" >&5
12090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12091 if test "${ac_cv_prog_STRIP+set}" = set; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 if test -n "$STRIP"; then
12095 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12098 for as_dir
in $PATH
12101 test -z "$as_dir" && as_dir
=.
12102 for ac_exec_ext
in '' $ac_executable_extensions; do
12103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12104 ac_cv_prog_STRIP
="strip"
12105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12111 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12114 STRIP
=$ac_cv_prog_STRIP
12115 if test -n "$STRIP"; then
12116 echo "$as_me:$LINENO: result: $STRIP" >&5
12117 echo "${ECHO_T}$STRIP" >&6
12119 echo "$as_me:$LINENO: result: no" >&5
12120 echo "${ECHO_T}no" >&6
12124 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12125 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12126 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12130 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12131 egrep -s GNU
> /dev
/null
); then
12132 wx_cv_prog_makeisgnu
="yes"
12134 wx_cv_prog_makeisgnu
="no"
12138 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12139 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12141 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12149 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12150 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12151 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12152 if test "${wx_cv_prog_makevpath+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 cat - << EOF > confMake
12162 if test ! -d sub
; then
12165 echo dummy
> sub
/file
12166 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12168 rm -f sub
/file check final_file confMake
12170 if test "$RESULT" = 0; then
12171 wx_cv_prog_makevpath
="yes"
12173 wx_cv_prog_makevpath
="no"
12177 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12178 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12180 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12181 { { echo "$as_me:$LINENO: error:
12182 You need a make-utility that is able to use the variable
12184 If your version of make does not support VPATH correctly,
12185 please install GNU-make (possibly as gmake), and start
12186 configure with the following command:
12187 export MAKE=gmake; ./configure for sh-type shells
12188 setenv MAKE gmake; ./configure for csh-type shells
12189 Also please do remember to use gmake in this case every time
12190 you are trying to compile.
12192 echo "$as_me: error:
12193 You need a make-utility that is able to use the variable
12195 If your version of make does not support VPATH correctly,
12196 please install GNU-make (possibly as gmake), and start
12197 configure with the following command:
12198 export MAKE=gmake; ./configure for sh-type shells
12199 setenv MAKE gmake; ./configure for csh-type shells
12200 Also please do remember to use gmake in this case every time
12201 you are trying to compile.
12203 { (exit 1); exit 1; }; }
12205 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12206 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12208 if test "$LN_S" = "ln -s"; then
12209 echo "$as_me:$LINENO: result: yes" >&5
12210 echo "${ECHO_T}yes" >&6
12212 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12213 echo "${ECHO_T}no, using $LN_S" >&6
12219 *-pc-os2_emx | *-pc-os2-emx )
12220 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12221 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12222 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12223 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6
12226 ac_check_lib_save_LIBS
=$LIBS
12227 LIBS
="-lcExt $LIBS"
12228 cat >conftest.
$ac_ext <<_ACEOF
12231 cat confdefs.h
>>conftest.
$ac_ext
12232 cat >>conftest.
$ac_ext <<_ACEOF
12233 /* end confdefs.h. */
12235 /* Override any gcc2 internal prototype to avoid an error. */
12239 /* We use char because int might match the return type of a gcc2
12240 builtin and then its argument prototype would still apply. */
12250 rm -f conftest.
$ac_objext conftest
$ac_exeext
12251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12252 (eval $ac_link) 2>conftest.er1
12254 grep -v '^ *+' conftest.er1
>conftest.err
12256 cat conftest.err
>&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); } &&
12259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12261 (eval $ac_try) 2>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; } &&
12265 { ac_try
='test -s conftest$ac_exeext'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; }; then
12271 ac_cv_lib_cExt_drand48
=yes
12273 echo "$as_me: failed program was:" >&5
12274 sed 's/^/| /' conftest.
$ac_ext >&5
12276 ac_cv_lib_cExt_drand48
=no
12278 rm -f conftest.err conftest.
$ac_objext \
12279 conftest
$ac_exeext conftest.
$ac_ext
12280 LIBS
=$ac_check_lib_save_LIBS
12282 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12283 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12284 if test $ac_cv_lib_cExt_drand48 = yes; then
12285 LIBS
="$LIBS -lcExt"
12289 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12291 echo "$as_me:$LINENO: checking for gcc version" >&5
12292 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12293 if test "${wx_cv_gccversion+set}" = set; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12297 cat >conftest.
$ac_ext <<_ACEOF
12300 cat confdefs.h
>>conftest.
$ac_ext
12301 cat >>conftest.
$ac_ext <<_ACEOF
12302 /* end confdefs.h. */
12316 rm -f conftest.
$ac_objext
12317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12318 (eval $ac_compile) 2>conftest.er1
12320 grep -v '^ *+' conftest.er1
>conftest.err
12322 cat conftest.err
>&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); } &&
12325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327 (eval $ac_try) 2>&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); }; } &&
12331 { ac_try
='test -s conftest.$ac_objext'
12332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12333 (eval $ac_try) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }; }; then
12338 cat >conftest.
$ac_ext <<_ACEOF
12341 cat confdefs.h
>>conftest.
$ac_ext
12342 cat >>conftest.
$ac_ext <<_ACEOF
12343 /* end confdefs.h. */
12349 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12350 #error intermediate gcc
12357 rm -f conftest.
$ac_objext
12358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12359 (eval $ac_compile) 2>conftest.er1
12361 grep -v '^ *+' conftest.er1
>conftest.err
12363 cat conftest.err
>&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } &&
12366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368 (eval $ac_try) 2>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; } &&
12372 { ac_try
='test -s conftest.$ac_objext'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; }; then
12379 wx_cv_gccversion
=Innotek
12382 echo "$as_me: failed program was:" >&5
12383 sed 's/^/| /' conftest.
$ac_ext >&5
12390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12393 echo "$as_me: failed program was:" >&5
12394 sed 's/^/| /' conftest.
$ac_ext >&5
12401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12404 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12405 echo "${ECHO_T}$wx_cv_gccversion" >&6
12406 if test "$wx_cv_gccversion" = "2"; then
12407 LIBS
="$LIBS -lstdcpp"
12408 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12410 if test "$wx_cv_gccversion" = "3"; then
12411 LIBS
="$LIBS -lstdcxx"
12412 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12414 LIBS
="$LIBS -lstdc++"
12417 if test "$wxUSE_OMF" = "yes"; then
12418 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12426 ac_cpp
='$CXXCPP $CPPFLAGS'
12427 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12428 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12429 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12433 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12434 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12435 if test "${ac_cv_string_strcasecmp+set}" = set; then
12436 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 cat >conftest.
$ac_ext <<_ACEOF
12442 cat confdefs.h
>>conftest.
$ac_ext
12443 cat >>conftest.
$ac_ext <<_ACEOF
12444 /* end confdefs.h. */
12446 #include <string.h>
12452 strcasecmp("foo", "bar");
12458 rm -f conftest.
$ac_objext conftest
$ac_exeext
12459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12460 (eval $ac_link) 2>conftest.er1
12462 grep -v '^ *+' conftest.er1
>conftest.err
12464 cat conftest.err
>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); } &&
12467 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12469 (eval $ac_try) 2>&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); }; } &&
12473 { ac_try
='test -s conftest$ac_exeext'
12474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12475 (eval $ac_try) 2>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; }; then
12479 ac_cv_string_strcasecmp
=yes
12481 echo "$as_me: failed program was:" >&5
12482 sed 's/^/| /' conftest.
$ac_ext >&5
12484 ac_cv_string_strcasecmp
=no
12487 rm -f conftest.err conftest.
$ac_objext \
12488 conftest
$ac_exeext conftest.
$ac_ext
12491 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12492 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12494 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12495 cat >>confdefs.h
<<\_ACEOF
12496 #define HAVE_STRCASECMP_IN_STRING_H 1
12500 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12501 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12502 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12503 echo $ECHO_N "(cached) $ECHO_C" >&6
12506 cat >conftest.
$ac_ext <<_ACEOF
12509 cat confdefs.h
>>conftest.
$ac_ext
12510 cat >>conftest.
$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12513 #include <strings.h>
12519 strcasecmp("foo", "bar");
12525 rm -f conftest.
$ac_objext conftest
$ac_exeext
12526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12527 (eval $ac_link) 2>conftest.er1
12529 grep -v '^ *+' conftest.er1
>conftest.err
12531 cat conftest.err
>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } &&
12534 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; } &&
12540 { ac_try
='test -s conftest$ac_exeext'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; }; then
12546 ac_cv_strings_strcasecmp
=yes
12548 echo "$as_me: failed program was:" >&5
12549 sed 's/^/| /' conftest.
$ac_ext >&5
12551 ac_cv_strings_strcasecmp
=no
12554 rm -f conftest.err conftest.
$ac_objext \
12555 conftest
$ac_exeext conftest.
$ac_ext
12558 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12559 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12561 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12562 cat >>confdefs.h
<<\_ACEOF
12563 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12567 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12568 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12569 { (exit 1); exit 1; }; }
12574 ac_cpp
='$CPP $CPPFLAGS'
12575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12583 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12584 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12585 if test "${ac_cv_header_stdc+set}" = set; then
12586 echo $ECHO_N "(cached) $ECHO_C" >&6
12588 cat >conftest.
$ac_ext <<_ACEOF
12591 cat confdefs.h
>>conftest.
$ac_ext
12592 cat >>conftest.
$ac_ext <<_ACEOF
12593 /* end confdefs.h. */
12594 #include <stdlib.h>
12595 #include <stdarg.h>
12596 #include <string.h>
12607 rm -f conftest.
$ac_objext
12608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12609 (eval $ac_compile) 2>conftest.er1
12611 grep -v '^ *+' conftest.er1
>conftest.err
12613 cat conftest.err
>&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); } &&
12616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618 (eval $ac_try) 2>&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; } &&
12622 { ac_try
='test -s conftest.$ac_objext'
12623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624 (eval $ac_try) 2>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; }; then
12628 ac_cv_header_stdc
=yes
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.
$ac_ext >&5
12633 ac_cv_header_stdc
=no
12635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12637 if test $ac_cv_header_stdc = yes; then
12638 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12639 cat >conftest.
$ac_ext <<_ACEOF
12642 cat confdefs.h
>>conftest.
$ac_ext
12643 cat >>conftest.
$ac_ext <<_ACEOF
12644 /* end confdefs.h. */
12645 #include <string.h>
12648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12649 $EGREP "memchr" >/dev
/null
2>&1; then
12652 ac_cv_header_stdc
=no
12658 if test $ac_cv_header_stdc = yes; then
12659 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12660 cat >conftest.
$ac_ext <<_ACEOF
12663 cat confdefs.h
>>conftest.
$ac_ext
12664 cat >>conftest.
$ac_ext <<_ACEOF
12665 /* end confdefs.h. */
12666 #include <stdlib.h>
12669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12670 $EGREP "free" >/dev
/null
2>&1; then
12673 ac_cv_header_stdc
=no
12679 if test $ac_cv_header_stdc = yes; then
12680 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12681 if test "$cross_compiling" = yes; then
12684 cat >conftest.
$ac_ext <<_ACEOF
12687 cat confdefs.h
>>conftest.
$ac_ext
12688 cat >>conftest.
$ac_ext <<_ACEOF
12689 /* end confdefs.h. */
12691 #if ((' ' & 0x0FF) == 0x020)
12692 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12693 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12695 # define ISLOWER(c) \
12696 (('a' <= (c) && (c) <= 'i') \
12697 || ('j' <= (c) && (c) <= 'r') \
12698 || ('s' <= (c) && (c) <= 'z'))
12699 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12702 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12707 for (i = 0; i < 256; i++)
12708 if (XOR (islower (i), ISLOWER (i))
12709 || toupper (i) != TOUPPER (i))
12714 rm -f conftest
$ac_exeext
12715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12716 (eval $ac_link) 2>&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; }; then
12727 echo "$as_me: program exited with status $ac_status" >&5
12728 echo "$as_me: failed program was:" >&5
12729 sed 's/^/| /' conftest.
$ac_ext >&5
12731 ( exit $ac_status )
12732 ac_cv_header_stdc
=no
12734 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12738 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12739 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12740 if test $ac_cv_header_stdc = yes; then
12742 cat >>confdefs.h
<<\_ACEOF
12743 #define STDC_HEADERS 1
12748 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12758 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12759 inttypes.h stdint.h unistd.h
12761 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12762 echo "$as_me:$LINENO: checking for $ac_header" >&5
12763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12767 cat >conftest.
$ac_ext <<_ACEOF
12770 cat confdefs.h
>>conftest.
$ac_ext
12771 cat >>conftest.
$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12773 $ac_includes_default
12775 #include <$ac_header>
12777 rm -f conftest.
$ac_objext
12778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12779 (eval $ac_compile) 2>conftest.er1
12781 grep -v '^ *+' conftest.er1
>conftest.err
12783 cat conftest.err
>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); } &&
12786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; } &&
12792 { ac_try
='test -s conftest.$ac_objext'
12793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12794 (eval $ac_try) 2>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); }; }; then
12798 eval "$as_ac_Header=yes"
12800 echo "$as_me: failed program was:" >&5
12801 sed 's/^/| /' conftest.
$ac_ext >&5
12803 eval "$as_ac_Header=no"
12805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12810 cat >>confdefs.h
<<_ACEOF
12811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12820 for ac_header
in stdlib.h
12822 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12824 echo "$as_me:$LINENO: checking for $ac_header" >&5
12825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12827 echo $ECHO_N "(cached) $ECHO_C" >&6
12829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12832 # Is the header compilable?
12833 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12834 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12835 cat >conftest.
$ac_ext <<_ACEOF
12838 cat confdefs.h
>>conftest.
$ac_ext
12839 cat >>conftest.
$ac_ext <<_ACEOF
12840 /* end confdefs.h. */
12841 $ac_includes_default
12842 #include <$ac_header>
12844 rm -f conftest.
$ac_objext
12845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12846 (eval $ac_compile) 2>conftest.er1
12848 grep -v '^ *+' conftest.er1
>conftest.err
12850 cat conftest.err
>&5
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); } &&
12853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12855 (eval $ac_try) 2>&5
12857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12858 (exit $ac_status); }; } &&
12859 { ac_try
='test -s conftest.$ac_objext'
12860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12861 (eval $ac_try) 2>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); }; }; then
12865 ac_header_compiler
=yes
12867 echo "$as_me: failed program was:" >&5
12868 sed 's/^/| /' conftest.
$ac_ext >&5
12870 ac_header_compiler
=no
12872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12873 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12874 echo "${ECHO_T}$ac_header_compiler" >&6
12876 # Is the header present?
12877 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12878 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12879 cat >conftest.
$ac_ext <<_ACEOF
12882 cat confdefs.h
>>conftest.
$ac_ext
12883 cat >>conftest.
$ac_ext <<_ACEOF
12884 /* end confdefs.h. */
12885 #include <$ac_header>
12887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12888 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12890 grep -v '^ *+' conftest.er1
>conftest.err
12892 cat conftest.err
>&5
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); } >/dev
/null
; then
12895 if test -s conftest.err
; then
12896 ac_cpp_err
=$ac_c_preproc_warn_flag
12897 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12904 if test -z "$ac_cpp_err"; then
12905 ac_header_preproc
=yes
12907 echo "$as_me: failed program was:" >&5
12908 sed 's/^/| /' conftest.
$ac_ext >&5
12910 ac_header_preproc
=no
12912 rm -f conftest.err conftest.
$ac_ext
12913 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12914 echo "${ECHO_T}$ac_header_preproc" >&6
12916 # So? What about this header?
12917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12920 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12922 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12923 ac_header_preproc
=yes
12926 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12927 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12928 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12929 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12930 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12931 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12932 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12933 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12935 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12936 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12937 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12940 ## ----------------------------------------- ##
12941 ## Report this to wx-dev@lists.wxwidgets.org ##
12942 ## ----------------------------------------- ##
12945 sed "s/^/$as_me: WARNING: /" >&2
12948 echo "$as_me:$LINENO: checking for $ac_header" >&5
12949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 eval "$as_ac_Header=\$ac_header_preproc"
12955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12960 cat >>confdefs.h
<<_ACEOF
12961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12969 for ac_header
in malloc.h
12971 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12973 echo "$as_me:$LINENO: checking for $ac_header" >&5
12974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12981 # Is the header compilable?
12982 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12983 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12984 cat >conftest.
$ac_ext <<_ACEOF
12987 cat confdefs.h
>>conftest.
$ac_ext
12988 cat >>conftest.
$ac_ext <<_ACEOF
12989 /* end confdefs.h. */
12990 $ac_includes_default
12991 #include <$ac_header>
12993 rm -f conftest.
$ac_objext
12994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12995 (eval $ac_compile) 2>conftest.er1
12997 grep -v '^ *+' conftest.er1
>conftest.err
12999 cat conftest.err
>&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); } &&
13002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13004 (eval $ac_try) 2>&5
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); }; } &&
13008 { ac_try
='test -s conftest.$ac_objext'
13009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13010 (eval $ac_try) 2>&5
13012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13013 (exit $ac_status); }; }; then
13014 ac_header_compiler
=yes
13016 echo "$as_me: failed program was:" >&5
13017 sed 's/^/| /' conftest.
$ac_ext >&5
13019 ac_header_compiler
=no
13021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13022 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13023 echo "${ECHO_T}$ac_header_compiler" >&6
13025 # Is the header present?
13026 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13027 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13028 cat >conftest.
$ac_ext <<_ACEOF
13031 cat confdefs.h
>>conftest.
$ac_ext
13032 cat >>conftest.
$ac_ext <<_ACEOF
13033 /* end confdefs.h. */
13034 #include <$ac_header>
13036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13037 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13039 grep -v '^ *+' conftest.er1
>conftest.err
13041 cat conftest.err
>&5
13042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13043 (exit $ac_status); } >/dev
/null
; then
13044 if test -s conftest.err
; then
13045 ac_cpp_err
=$ac_c_preproc_warn_flag
13046 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13053 if test -z "$ac_cpp_err"; then
13054 ac_header_preproc
=yes
13056 echo "$as_me: failed program was:" >&5
13057 sed 's/^/| /' conftest.
$ac_ext >&5
13059 ac_header_preproc
=no
13061 rm -f conftest.err conftest.
$ac_ext
13062 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13063 echo "${ECHO_T}$ac_header_preproc" >&6
13065 # So? What about this header?
13066 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13069 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13071 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13072 ac_header_preproc
=yes
13075 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13076 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13077 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13078 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13079 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13080 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13081 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13082 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13084 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13085 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13086 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13089 ## ----------------------------------------- ##
13090 ## Report this to wx-dev@lists.wxwidgets.org ##
13091 ## ----------------------------------------- ##
13094 sed "s/^/$as_me: WARNING: /" >&2
13097 echo "$as_me:$LINENO: checking for $ac_header" >&5
13098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13102 eval "$as_ac_Header=\$ac_header_preproc"
13104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13108 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13109 cat >>confdefs.h
<<_ACEOF
13110 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13118 for ac_header
in unistd.h
13120 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13122 echo "$as_me:$LINENO: checking for $ac_header" >&5
13123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13125 echo $ECHO_N "(cached) $ECHO_C" >&6
13127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13130 # Is the header compilable?
13131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13133 cat >conftest.
$ac_ext <<_ACEOF
13136 cat confdefs.h
>>conftest.
$ac_ext
13137 cat >>conftest.
$ac_ext <<_ACEOF
13138 /* end confdefs.h. */
13139 $ac_includes_default
13140 #include <$ac_header>
13142 rm -f conftest.
$ac_objext
13143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13144 (eval $ac_compile) 2>conftest.er1
13146 grep -v '^ *+' conftest.er1
>conftest.err
13148 cat conftest.err
>&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); } &&
13151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; } &&
13157 { ac_try
='test -s conftest.$ac_objext'
13158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13159 (eval $ac_try) 2>&5
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; }; then
13163 ac_header_compiler
=yes
13165 echo "$as_me: failed program was:" >&5
13166 sed 's/^/| /' conftest.
$ac_ext >&5
13168 ac_header_compiler
=no
13170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13172 echo "${ECHO_T}$ac_header_compiler" >&6
13174 # Is the header present?
13175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13177 cat >conftest.
$ac_ext <<_ACEOF
13180 cat confdefs.h
>>conftest.
$ac_ext
13181 cat >>conftest.
$ac_ext <<_ACEOF
13182 /* end confdefs.h. */
13183 #include <$ac_header>
13185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13186 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13188 grep -v '^ *+' conftest.er1
>conftest.err
13190 cat conftest.err
>&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } >/dev
/null
; then
13193 if test -s conftest.err
; then
13194 ac_cpp_err
=$ac_c_preproc_warn_flag
13195 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13202 if test -z "$ac_cpp_err"; then
13203 ac_header_preproc
=yes
13205 echo "$as_me: failed program was:" >&5
13206 sed 's/^/| /' conftest.
$ac_ext >&5
13208 ac_header_preproc
=no
13210 rm -f conftest.err conftest.
$ac_ext
13211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13212 echo "${ECHO_T}$ac_header_preproc" >&6
13214 # So? What about this header?
13215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13221 ac_header_preproc
=yes
13224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13238 ## ----------------------------------------- ##
13239 ## Report this to wx-dev@lists.wxwidgets.org ##
13240 ## ----------------------------------------- ##
13243 sed "s/^/$as_me: WARNING: /" >&2
13246 echo "$as_me:$LINENO: checking for $ac_header" >&5
13247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13251 eval "$as_ac_Header=\$ac_header_preproc"
13253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13258 cat >>confdefs.h
<<_ACEOF
13259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13267 for ac_header
in wchar.h
13269 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13271 echo "$as_me:$LINENO: checking for $ac_header" >&5
13272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13274 echo $ECHO_N "(cached) $ECHO_C" >&6
13276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13279 # Is the header compilable?
13280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13282 cat >conftest.
$ac_ext <<_ACEOF
13285 cat confdefs.h
>>conftest.
$ac_ext
13286 cat >>conftest.
$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13288 $ac_includes_default
13289 #include <$ac_header>
13291 rm -f conftest.
$ac_objext
13292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13293 (eval $ac_compile) 2>conftest.er1
13295 grep -v '^ *+' conftest.er1
>conftest.err
13297 cat conftest.err
>&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); } &&
13300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13302 (eval $ac_try) 2>&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; } &&
13306 { ac_try
='test -s conftest.$ac_objext'
13307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13308 (eval $ac_try) 2>&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); }; }; then
13312 ac_header_compiler
=yes
13314 echo "$as_me: failed program was:" >&5
13315 sed 's/^/| /' conftest.
$ac_ext >&5
13317 ac_header_compiler
=no
13319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13321 echo "${ECHO_T}$ac_header_compiler" >&6
13323 # Is the header present?
13324 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13326 cat >conftest.
$ac_ext <<_ACEOF
13329 cat confdefs.h
>>conftest.
$ac_ext
13330 cat >>conftest.
$ac_ext <<_ACEOF
13331 /* end confdefs.h. */
13332 #include <$ac_header>
13334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13335 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13337 grep -v '^ *+' conftest.er1
>conftest.err
13339 cat conftest.err
>&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); } >/dev
/null
; then
13342 if test -s conftest.err
; then
13343 ac_cpp_err
=$ac_c_preproc_warn_flag
13344 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13351 if test -z "$ac_cpp_err"; then
13352 ac_header_preproc
=yes
13354 echo "$as_me: failed program was:" >&5
13355 sed 's/^/| /' conftest.
$ac_ext >&5
13357 ac_header_preproc
=no
13359 rm -f conftest.err conftest.
$ac_ext
13360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13361 echo "${ECHO_T}$ac_header_preproc" >&6
13363 # So? What about this header?
13364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13366 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13370 ac_header_preproc
=yes
13373 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13375 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13376 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13377 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13379 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13380 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13383 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13387 ## ----------------------------------------- ##
13388 ## Report this to wx-dev@lists.wxwidgets.org ##
13389 ## ----------------------------------------- ##
13392 sed "s/^/$as_me: WARNING: /" >&2
13395 echo "$as_me:$LINENO: checking for $ac_header" >&5
13396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13400 eval "$as_ac_Header=\$ac_header_preproc"
13402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13407 cat >>confdefs.h
<<_ACEOF
13408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13416 if test "$ac_cv_header_wchar_h" != "yes"; then
13418 for ac_header
in wcstr.h
13420 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13422 echo "$as_me:$LINENO: checking for $ac_header" >&5
13423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13425 echo $ECHO_N "(cached) $ECHO_C" >&6
13427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13430 # Is the header compilable?
13431 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13432 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13433 cat >conftest.
$ac_ext <<_ACEOF
13436 cat confdefs.h
>>conftest.
$ac_ext
13437 cat >>conftest.
$ac_ext <<_ACEOF
13438 /* end confdefs.h. */
13439 $ac_includes_default
13440 #include <$ac_header>
13442 rm -f conftest.
$ac_objext
13443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13444 (eval $ac_compile) 2>conftest.er1
13446 grep -v '^ *+' conftest.er1
>conftest.err
13448 cat conftest.err
>&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } &&
13451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; } &&
13457 { ac_try
='test -s conftest.$ac_objext'
13458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13459 (eval $ac_try) 2>&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); }; }; then
13463 ac_header_compiler
=yes
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.
$ac_ext >&5
13468 ac_header_compiler
=no
13470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13472 echo "${ECHO_T}$ac_header_compiler" >&6
13474 # Is the header present?
13475 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13477 cat >conftest.
$ac_ext <<_ACEOF
13480 cat confdefs.h
>>conftest.
$ac_ext
13481 cat >>conftest.
$ac_ext <<_ACEOF
13482 /* end confdefs.h. */
13483 #include <$ac_header>
13485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13486 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13488 grep -v '^ *+' conftest.er1
>conftest.err
13490 cat conftest.err
>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); } >/dev
/null
; then
13493 if test -s conftest.err
; then
13494 ac_cpp_err
=$ac_c_preproc_warn_flag
13495 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13502 if test -z "$ac_cpp_err"; then
13503 ac_header_preproc
=yes
13505 echo "$as_me: failed program was:" >&5
13506 sed 's/^/| /' conftest.
$ac_ext >&5
13508 ac_header_preproc
=no
13510 rm -f conftest.err conftest.
$ac_ext
13511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13512 echo "${ECHO_T}$ac_header_preproc" >&6
13514 # So? What about this header?
13515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13517 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13518 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13520 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13521 ac_header_preproc
=yes
13524 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13525 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13526 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13527 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13528 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13529 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13530 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13531 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13534 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13535 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13538 ## ----------------------------------------- ##
13539 ## Report this to wx-dev@lists.wxwidgets.org ##
13540 ## ----------------------------------------- ##
13543 sed "s/^/$as_me: WARNING: /" >&2
13546 echo "$as_me:$LINENO: checking for $ac_header" >&5
13547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13551 eval "$as_ac_Header=\$ac_header_preproc"
13553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13558 cat >>confdefs.h
<<_ACEOF
13559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13569 for ac_header
in fnmatch.h
13571 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13573 echo "$as_me:$LINENO: checking for $ac_header" >&5
13574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13576 echo $ECHO_N "(cached) $ECHO_C" >&6
13578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13581 # Is the header compilable?
13582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13584 cat >conftest.
$ac_ext <<_ACEOF
13587 cat confdefs.h
>>conftest.
$ac_ext
13588 cat >>conftest.
$ac_ext <<_ACEOF
13589 /* end confdefs.h. */
13590 $ac_includes_default
13591 #include <$ac_header>
13593 rm -f conftest.
$ac_objext
13594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13595 (eval $ac_compile) 2>conftest.er1
13597 grep -v '^ *+' conftest.er1
>conftest.err
13599 cat conftest.err
>&5
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); } &&
13602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13604 (eval $ac_try) 2>&5
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); }; } &&
13608 { ac_try
='test -s conftest.$ac_objext'
13609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13610 (eval $ac_try) 2>&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); }; }; then
13614 ac_header_compiler
=yes
13616 echo "$as_me: failed program was:" >&5
13617 sed 's/^/| /' conftest.
$ac_ext >&5
13619 ac_header_compiler
=no
13621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13623 echo "${ECHO_T}$ac_header_compiler" >&6
13625 # Is the header present?
13626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13628 cat >conftest.
$ac_ext <<_ACEOF
13631 cat confdefs.h
>>conftest.
$ac_ext
13632 cat >>conftest.
$ac_ext <<_ACEOF
13633 /* end confdefs.h. */
13634 #include <$ac_header>
13636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13639 grep -v '^ *+' conftest.er1
>conftest.err
13641 cat conftest.err
>&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); } >/dev
/null
; then
13644 if test -s conftest.err
; then
13645 ac_cpp_err
=$ac_c_preproc_warn_flag
13646 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13653 if test -z "$ac_cpp_err"; then
13654 ac_header_preproc
=yes
13656 echo "$as_me: failed program was:" >&5
13657 sed 's/^/| /' conftest.
$ac_ext >&5
13659 ac_header_preproc
=no
13661 rm -f conftest.err conftest.
$ac_ext
13662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13663 echo "${ECHO_T}$ac_header_preproc" >&6
13665 # So? What about this header?
13666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13672 ac_header_preproc
=yes
13675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13689 ## ----------------------------------------- ##
13690 ## Report this to wx-dev@lists.wxwidgets.org ##
13691 ## ----------------------------------------- ##
13694 sed "s/^/$as_me: WARNING: /" >&2
13697 echo "$as_me:$LINENO: checking for $ac_header" >&5
13698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13700 echo $ECHO_N "(cached) $ECHO_C" >&6
13702 eval "$as_ac_Header=\$ac_header_preproc"
13704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13709 cat >>confdefs.h
<<_ACEOF
13710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13718 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13720 for ac_func
in fnmatch
13722 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13723 echo "$as_me:$LINENO: checking for $ac_func" >&5
13724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13725 if eval "test \"\${$as_ac_var+set}\" = set"; then
13726 echo $ECHO_N "(cached) $ECHO_C" >&6
13728 cat >conftest.
$ac_ext <<_ACEOF
13731 cat confdefs.h
>>conftest.
$ac_ext
13732 cat >>conftest.
$ac_ext <<_ACEOF
13733 /* end confdefs.h. */
13734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13736 #define $ac_func innocuous_$ac_func
13738 /* System header to define __stub macros and hopefully few prototypes,
13739 which can conflict with char $ac_func (); below.
13740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13741 <limits.h> exists even on freestanding compilers. */
13744 # include <limits.h>
13746 # include <assert.h>
13751 /* Override any gcc2 internal prototype to avoid an error. */
13756 /* We use char because int might match the return type of a gcc2
13757 builtin and then its argument prototype would still apply. */
13759 /* The GNU C library defines this for functions which it implements
13760 to always fail with ENOSYS. Some functions are actually named
13761 something starting with __ and the normal name is an alias. */
13762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13765 char (*f) () = $ac_func;
13774 return f != $ac_func;
13779 rm -f conftest.
$ac_objext conftest
$ac_exeext
13780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13781 (eval $ac_link) 2>conftest.er1
13783 grep -v '^ *+' conftest.er1
>conftest.err
13785 cat conftest.err
>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } &&
13788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790 (eval $ac_try) 2>&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; } &&
13794 { ac_try
='test -s conftest$ac_exeext'
13795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13796 (eval $ac_try) 2>&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); }; }; then
13800 eval "$as_ac_var=yes"
13802 echo "$as_me: failed program was:" >&5
13803 sed 's/^/| /' conftest.
$ac_ext >&5
13805 eval "$as_ac_var=no"
13807 rm -f conftest.err conftest.
$ac_objext \
13808 conftest
$ac_exeext conftest.
$ac_ext
13810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13812 if test `eval echo '${'$as_ac_var'}'` = yes; then
13813 cat >>confdefs.h
<<_ACEOF
13814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13823 for ac_header
in langinfo.h
13825 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13827 echo "$as_me:$LINENO: checking for $ac_header" >&5
13828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13833 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13835 # Is the header compilable?
13836 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13837 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13838 cat >conftest.
$ac_ext <<_ACEOF
13841 cat confdefs.h
>>conftest.
$ac_ext
13842 cat >>conftest.
$ac_ext <<_ACEOF
13843 /* end confdefs.h. */
13844 $ac_includes_default
13845 #include <$ac_header>
13847 rm -f conftest.
$ac_objext
13848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13849 (eval $ac_compile) 2>conftest.er1
13851 grep -v '^ *+' conftest.er1
>conftest.err
13853 cat conftest.err
>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); } &&
13856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13858 (eval $ac_try) 2>&5
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); }; } &&
13862 { ac_try
='test -s conftest.$ac_objext'
13863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13864 (eval $ac_try) 2>&5
13866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13867 (exit $ac_status); }; }; then
13868 ac_header_compiler
=yes
13870 echo "$as_me: failed program was:" >&5
13871 sed 's/^/| /' conftest.
$ac_ext >&5
13873 ac_header_compiler
=no
13875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13877 echo "${ECHO_T}$ac_header_compiler" >&6
13879 # Is the header present?
13880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13882 cat >conftest.
$ac_ext <<_ACEOF
13885 cat confdefs.h
>>conftest.
$ac_ext
13886 cat >>conftest.
$ac_ext <<_ACEOF
13887 /* end confdefs.h. */
13888 #include <$ac_header>
13890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13893 grep -v '^ *+' conftest.er1
>conftest.err
13895 cat conftest.err
>&5
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); } >/dev
/null
; then
13898 if test -s conftest.err
; then
13899 ac_cpp_err
=$ac_c_preproc_warn_flag
13900 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13907 if test -z "$ac_cpp_err"; then
13908 ac_header_preproc
=yes
13910 echo "$as_me: failed program was:" >&5
13911 sed 's/^/| /' conftest.
$ac_ext >&5
13913 ac_header_preproc
=no
13915 rm -f conftest.err conftest.
$ac_ext
13916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13917 echo "${ECHO_T}$ac_header_preproc" >&6
13919 # So? What about this header?
13920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13922 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13925 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13926 ac_header_preproc
=yes
13929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13933 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13934 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13935 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13936 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13939 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13940 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13943 ## ----------------------------------------- ##
13944 ## Report this to wx-dev@lists.wxwidgets.org ##
13945 ## ----------------------------------------- ##
13948 sed "s/^/$as_me: WARNING: /" >&2
13951 echo "$as_me:$LINENO: checking for $ac_header" >&5
13952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13954 echo $ECHO_N "(cached) $ECHO_C" >&6
13956 eval "$as_ac_Header=\$ac_header_preproc"
13958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13963 cat >>confdefs.h
<<_ACEOF
13964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13973 *-pc-os2_emx | *-pc-os2-emx )
13974 if test $ac_cv_header_langinfo_h = "yes"; then
13975 LIBS
="$LIBS -lintl"
13980 if test "$wxUSE_GUI" = "yes"; then
13981 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13983 for ac_header
in X
11/Xlib.h
13985 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13987 echo "$as_me:$LINENO: checking for $ac_header" >&5
13988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13990 echo $ECHO_N "(cached) $ECHO_C" >&6
13992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13995 # Is the header compilable?
13996 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13997 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13998 cat >conftest.
$ac_ext <<_ACEOF
14001 cat confdefs.h
>>conftest.
$ac_ext
14002 cat >>conftest.
$ac_ext <<_ACEOF
14003 /* end confdefs.h. */
14004 $ac_includes_default
14005 #include <$ac_header>
14007 rm -f conftest.
$ac_objext
14008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14009 (eval $ac_compile) 2>conftest.er1
14011 grep -v '^ *+' conftest.er1
>conftest.err
14013 cat conftest.err
>&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } &&
14016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14018 (eval $ac_try) 2>&5
14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 (exit $ac_status); }; } &&
14022 { ac_try
='test -s conftest.$ac_objext'
14023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14024 (eval $ac_try) 2>&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); }; }; then
14028 ac_header_compiler
=yes
14030 echo "$as_me: failed program was:" >&5
14031 sed 's/^/| /' conftest.
$ac_ext >&5
14033 ac_header_compiler
=no
14035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14037 echo "${ECHO_T}$ac_header_compiler" >&6
14039 # Is the header present?
14040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14042 cat >conftest.
$ac_ext <<_ACEOF
14045 cat confdefs.h
>>conftest.
$ac_ext
14046 cat >>conftest.
$ac_ext <<_ACEOF
14047 /* end confdefs.h. */
14048 #include <$ac_header>
14050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14051 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14053 grep -v '^ *+' conftest.er1
>conftest.err
14055 cat conftest.err
>&5
14056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057 (exit $ac_status); } >/dev
/null
; then
14058 if test -s conftest.err
; then
14059 ac_cpp_err
=$ac_c_preproc_warn_flag
14060 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14067 if test -z "$ac_cpp_err"; then
14068 ac_header_preproc
=yes
14070 echo "$as_me: failed program was:" >&5
14071 sed 's/^/| /' conftest.
$ac_ext >&5
14073 ac_header_preproc
=no
14075 rm -f conftest.err conftest.
$ac_ext
14076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14077 echo "${ECHO_T}$ac_header_preproc" >&6
14079 # So? What about this header?
14080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14086 ac_header_preproc
=yes
14089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14103 ## ----------------------------------------- ##
14104 ## Report this to wx-dev@lists.wxwidgets.org ##
14105 ## ----------------------------------------- ##
14108 sed "s/^/$as_me: WARNING: /" >&2
14111 echo "$as_me:$LINENO: checking for $ac_header" >&5
14112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14116 eval "$as_ac_Header=\$ac_header_preproc"
14118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14123 cat >>confdefs.h
<<_ACEOF
14124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14132 for ac_header
in X
11/XKBlib.h
14134 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14135 echo "$as_me:$LINENO: checking for $ac_header" >&5
14136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14138 echo $ECHO_N "(cached) $ECHO_C" >&6
14140 cat >conftest.
$ac_ext <<_ACEOF
14143 cat confdefs.h
>>conftest.
$ac_ext
14144 cat >>conftest.
$ac_ext <<_ACEOF
14145 /* end confdefs.h. */
14147 #if HAVE_X11_XLIB_H
14148 #include <X11/Xlib.h>
14152 #include <$ac_header>
14154 rm -f conftest.
$ac_objext
14155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14156 (eval $ac_compile) 2>conftest.er1
14158 grep -v '^ *+' conftest.er1
>conftest.err
14160 cat conftest.err
>&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); } &&
14163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try
='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 eval "$as_ac_Header=yes"
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.
$ac_ext >&5
14180 eval "$as_ac_Header=no"
14182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14187 cat >>confdefs.h
<<_ACEOF
14188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14199 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14200 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14201 if test "${ac_cv_c_const+set}" = set; then
14202 echo $ECHO_N "(cached) $ECHO_C" >&6
14204 cat >conftest.
$ac_ext <<_ACEOF
14207 cat confdefs.h
>>conftest.
$ac_ext
14208 cat >>conftest.
$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14214 /* FIXME: Include the comments suggested by Paul. */
14215 #ifndef __cplusplus
14216 /* Ultrix mips cc rejects this. */
14217 typedef int charset[2];
14219 /* SunOS 4.1.1 cc rejects this. */
14220 char const *const *ccp;
14222 /* NEC SVR4.0.2 mips cc rejects this. */
14223 struct point {int x, y;};
14224 static struct point const zero = {0,0};
14225 /* AIX XL C 1.02.0.0 rejects this.
14226 It does not let you subtract one const X* pointer from another in
14227 an arm of an if-expression whose if-part is not a constant
14229 const char *g = "string";
14230 ccp = &g + (g ? g-g : 0);
14231 /* HPUX 7.0 cc rejects these. */
14234 ccp = (char const *const *) p;
14235 { /* SCO 3.2v4 cc rejects this. */
14237 char const *s = 0 ? (char *) 0 : (char const *) 0;
14241 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14242 int x[] = {25, 17};
14243 const int *foo = &x[0];
14246 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14247 typedef const int *iptr;
14251 { /* AIX XL C 1.02.0.0 rejects this saying
14252 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14253 struct s { int j; const int *ap[3]; };
14254 struct s *b; b->j = 5;
14256 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14257 const int foo = 10;
14265 rm -f conftest.
$ac_objext
14266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14267 (eval $ac_compile) 2>conftest.er1
14269 grep -v '^ *+' conftest.er1
>conftest.err
14271 cat conftest.err
>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); } &&
14274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 (eval $ac_try) 2>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); }; } &&
14280 { ac_try
='test -s conftest.$ac_objext'
14281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 (eval $ac_try) 2>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; }; then
14288 echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.
$ac_ext >&5
14293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14295 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14296 echo "${ECHO_T}$ac_cv_c_const" >&6
14297 if test $ac_cv_c_const = no
; then
14299 cat >>confdefs.h
<<\_ACEOF
14305 echo "$as_me:$LINENO: checking for inline" >&5
14306 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14307 if test "${ac_cv_c_inline+set}" = set; then
14308 echo $ECHO_N "(cached) $ECHO_C" >&6
14311 for ac_kw
in inline __inline__ __inline
; do
14312 cat >conftest.
$ac_ext <<_ACEOF
14315 cat confdefs.h
>>conftest.
$ac_ext
14316 cat >>conftest.
$ac_ext <<_ACEOF
14317 /* end confdefs.h. */
14318 #ifndef __cplusplus
14320 static $ac_kw foo_t static_foo () {return 0; }
14321 $ac_kw foo_t foo () {return 0; }
14325 rm -f conftest.
$ac_objext
14326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14327 (eval $ac_compile) 2>conftest.er1
14329 grep -v '^ *+' conftest.er1
>conftest.err
14331 cat conftest.err
>&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); } &&
14334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; } &&
14340 { ac_try
='test -s conftest.$ac_objext'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; }; then
14346 ac_cv_c_inline
=$ac_kw; break
14348 echo "$as_me: failed program was:" >&5
14349 sed 's/^/| /' conftest.
$ac_ext >&5
14352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14356 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14357 echo "${ECHO_T}$ac_cv_c_inline" >&6
14360 case $ac_cv_c_inline in
14363 case $ac_cv_c_inline in
14365 *) ac_val
=$ac_cv_c_inline;;
14367 cat >>confdefs.h
<<_ACEOF
14368 #ifndef __cplusplus
14369 #define inline $ac_val
14376 echo "$as_me:$LINENO: checking for char" >&5
14377 echo $ECHO_N "checking for char... $ECHO_C" >&6
14378 if test "${ac_cv_type_char+set}" = set; then
14379 echo $ECHO_N "(cached) $ECHO_C" >&6
14381 cat >conftest.
$ac_ext <<_ACEOF
14384 cat confdefs.h
>>conftest.
$ac_ext
14385 cat >>conftest.
$ac_ext <<_ACEOF
14386 /* end confdefs.h. */
14387 $ac_includes_default
14399 rm -f conftest.
$ac_objext
14400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14401 (eval $ac_compile) 2>conftest.er1
14403 grep -v '^ *+' conftest.er1
>conftest.err
14405 cat conftest.err
>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; } &&
14414 { ac_try
='test -s conftest.$ac_objext'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; }; then
14420 ac_cv_type_char
=yes
14422 echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.
$ac_ext >&5
14427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14429 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14430 echo "${ECHO_T}$ac_cv_type_char" >&6
14432 echo "$as_me:$LINENO: checking size of char" >&5
14433 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14434 if test "${ac_cv_sizeof_char+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14437 if test "$ac_cv_type_char" = yes; then
14438 # The cast to unsigned long works around a bug in the HP C Compiler
14439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14441 # This bug is HP SR number 8606223364.
14442 if test "$cross_compiling" = yes; then
14443 # Depending upon the size, compute the lo and hi bounds.
14444 cat >conftest.
$ac_ext <<_ACEOF
14447 cat confdefs.h
>>conftest.
$ac_ext
14448 cat >>conftest.
$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450 $ac_includes_default
14454 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14461 rm -f conftest.
$ac_objext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14463 (eval $ac_compile) 2>conftest.er1
14465 grep -v '^ *+' conftest.er1
>conftest.err
14467 cat conftest.err
>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); } &&
14470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; } &&
14476 { ac_try
='test -s conftest.$ac_objext'
14477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478 (eval $ac_try) 2>&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; }; then
14484 cat >conftest.
$ac_ext <<_ACEOF
14487 cat confdefs.h
>>conftest.
$ac_ext
14488 cat >>conftest.
$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14490 $ac_includes_default
14494 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14501 rm -f conftest.
$ac_objext
14502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14503 (eval $ac_compile) 2>conftest.er1
14505 grep -v '^ *+' conftest.er1
>conftest.err
14507 cat conftest.err
>&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); } &&
14510 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14512 (eval $ac_try) 2>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); }; } &&
14516 { ac_try
='test -s conftest.$ac_objext'
14517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14518 (eval $ac_try) 2>&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); }; }; then
14522 ac_hi
=$ac_mid; break
14524 echo "$as_me: failed program was:" >&5
14525 sed 's/^/| /' conftest.
$ac_ext >&5
14527 ac_lo
=`expr $ac_mid + 1`
14528 if test $ac_lo -le $ac_mid; then
14532 ac_mid
=`expr 2 '*' $ac_mid + 1`
14534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14537 echo "$as_me: failed program was:" >&5
14538 sed 's/^/| /' conftest.
$ac_ext >&5
14540 cat >conftest.
$ac_ext <<_ACEOF
14543 cat confdefs.h
>>conftest.
$ac_ext
14544 cat >>conftest.
$ac_ext <<_ACEOF
14545 /* end confdefs.h. */
14546 $ac_includes_default
14550 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14557 rm -f conftest.
$ac_objext
14558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14559 (eval $ac_compile) 2>conftest.er1
14561 grep -v '^ *+' conftest.er1
>conftest.err
14563 cat conftest.err
>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); } &&
14566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14568 (eval $ac_try) 2>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; } &&
14572 { ac_try
='test -s conftest.$ac_objext'
14573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14574 (eval $ac_try) 2>&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; }; then
14580 cat >conftest.
$ac_ext <<_ACEOF
14583 cat confdefs.h
>>conftest.
$ac_ext
14584 cat >>conftest.
$ac_ext <<_ACEOF
14585 /* end confdefs.h. */
14586 $ac_includes_default
14590 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14597 rm -f conftest.
$ac_objext
14598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14599 (eval $ac_compile) 2>conftest.er1
14601 grep -v '^ *+' conftest.er1
>conftest.err
14603 cat conftest.err
>&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); } &&
14606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14608 (eval $ac_try) 2>&5
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; } &&
14612 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14618 ac_lo
=$ac_mid; break
14620 echo "$as_me: failed program was:" >&5
14621 sed 's/^/| /' conftest.
$ac_ext >&5
14623 ac_hi
=`expr '(' $ac_mid ')' - 1`
14624 if test $ac_mid -le $ac_hi; then
14628 ac_mid
=`expr 2 '*' $ac_mid`
14630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14633 echo "$as_me: failed program was:" >&5
14634 sed 's/^/| /' conftest.
$ac_ext >&5
14638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14641 # Binary search between lo and hi bounds.
14642 while test "x$ac_lo" != "x$ac_hi"; do
14643 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14644 cat >conftest.
$ac_ext <<_ACEOF
14647 cat confdefs.h
>>conftest.
$ac_ext
14648 cat >>conftest.
$ac_ext <<_ACEOF
14649 /* end confdefs.h. */
14650 $ac_includes_default
14654 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14661 rm -f conftest.
$ac_objext
14662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14663 (eval $ac_compile) 2>conftest.er1
14665 grep -v '^ *+' conftest.er1
>conftest.err
14667 cat conftest.err
>&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); } &&
14670 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14672 (eval $ac_try) 2>&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); }; } &&
14676 { ac_try
='test -s conftest.$ac_objext'
14677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14678 (eval $ac_try) 2>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; }; then
14684 echo "$as_me: failed program was:" >&5
14685 sed 's/^/| /' conftest.
$ac_ext >&5
14687 ac_lo
=`expr '(' $ac_mid ')' + 1`
14689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14692 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14693 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14694 See \`config.log' for more details." >&5
14695 echo "$as_me: error: cannot compute sizeof (char), 77
14696 See \`config.log' for more details." >&2;}
14697 { (exit 1); exit 1; }; } ;;
14700 if test "$cross_compiling" = yes; then
14701 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14702 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14703 { (exit 1); exit 1; }; }
14705 cat >conftest.
$ac_ext <<_ACEOF
14708 cat confdefs.h
>>conftest.
$ac_ext
14709 cat >>conftest.
$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14711 $ac_includes_default
14712 long longval () { return (long) (sizeof (char)); }
14713 unsigned long ulongval () { return (long) (sizeof (char)); }
14715 #include <stdlib.h>
14720 FILE *f = fopen ("conftest.val", "w");
14723 if (((long) (sizeof (char))) < 0)
14725 long i = longval ();
14726 if (i != ((long) (sizeof (char))))
14728 fprintf (f, "%ld\n", i);
14732 unsigned long i = ulongval ();
14733 if (i != ((long) (sizeof (char))))
14735 fprintf (f, "%lu\n", i);
14737 exit (ferror (f) || fclose (f) != 0);
14743 rm -f conftest
$ac_exeext
14744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14745 (eval $ac_link) 2>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750 (eval $ac_try) 2>&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); }; }; then
14754 ac_cv_sizeof_char
=`cat conftest.val`
14756 echo "$as_me: program exited with status $ac_status" >&5
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.
$ac_ext >&5
14760 ( exit $ac_status )
14761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14762 See \`config.log' for more details." >&5
14763 echo "$as_me: error: cannot compute sizeof (char), 77
14764 See \`config.log' for more details." >&2;}
14765 { (exit 1); exit 1; }; }
14767 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14772 ac_cv_sizeof_char
=0
14775 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14776 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14777 cat >>confdefs.h
<<_ACEOF
14778 #define SIZEOF_CHAR $ac_cv_sizeof_char
14782 echo "$as_me:$LINENO: checking for short" >&5
14783 echo $ECHO_N "checking for short... $ECHO_C" >&6
14784 if test "${ac_cv_type_short+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14787 cat >conftest.
$ac_ext <<_ACEOF
14790 cat confdefs.h
>>conftest.
$ac_ext
14791 cat >>conftest.
$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14793 $ac_includes_default
14799 if (sizeof (short))
14805 rm -f conftest.
$ac_objext
14806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14807 (eval $ac_compile) 2>conftest.er1
14809 grep -v '^ *+' conftest.er1
>conftest.err
14811 cat conftest.err
>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); } &&
14814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; } &&
14820 { ac_try
='test -s conftest.$ac_objext'
14821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14822 (eval $ac_try) 2>&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); }; }; then
14826 ac_cv_type_short
=yes
14828 echo "$as_me: failed program was:" >&5
14829 sed 's/^/| /' conftest.
$ac_ext >&5
14831 ac_cv_type_short
=no
14833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14835 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14836 echo "${ECHO_T}$ac_cv_type_short" >&6
14838 echo "$as_me:$LINENO: checking size of short" >&5
14839 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14840 if test "${ac_cv_sizeof_short+set}" = set; then
14841 echo $ECHO_N "(cached) $ECHO_C" >&6
14843 if test "$ac_cv_type_short" = yes; then
14844 # The cast to unsigned long works around a bug in the HP C Compiler
14845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14847 # This bug is HP SR number 8606223364.
14848 if test "$cross_compiling" = yes; then
14849 # Depending upon the size, compute the lo and hi bounds.
14850 cat >conftest.
$ac_ext <<_ACEOF
14853 cat confdefs.h
>>conftest.
$ac_ext
14854 cat >>conftest.
$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14856 $ac_includes_default
14860 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14867 rm -f conftest.
$ac_objext
14868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14869 (eval $ac_compile) 2>conftest.er1
14871 grep -v '^ *+' conftest.er1
>conftest.err
14873 cat conftest.err
>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); } &&
14876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14878 (eval $ac_try) 2>&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); }; } &&
14882 { ac_try
='test -s conftest.$ac_objext'
14883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14884 (eval $ac_try) 2>&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); }; }; then
14890 cat >conftest.
$ac_ext <<_ACEOF
14893 cat confdefs.h
>>conftest.
$ac_ext
14894 cat >>conftest.
$ac_ext <<_ACEOF
14895 /* end confdefs.h. */
14896 $ac_includes_default
14900 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14907 rm -f conftest.
$ac_objext
14908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14909 (eval $ac_compile) 2>conftest.er1
14911 grep -v '^ *+' conftest.er1
>conftest.err
14913 cat conftest.err
>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); } &&
14916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; } &&
14922 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14928 ac_hi
=$ac_mid; break
14930 echo "$as_me: failed program was:" >&5
14931 sed 's/^/| /' conftest.
$ac_ext >&5
14933 ac_lo
=`expr $ac_mid + 1`
14934 if test $ac_lo -le $ac_mid; then
14938 ac_mid
=`expr 2 '*' $ac_mid + 1`
14940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.
$ac_ext >&5
14946 cat >conftest.
$ac_ext <<_ACEOF
14949 cat confdefs.h
>>conftest.
$ac_ext
14950 cat >>conftest.
$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14952 $ac_includes_default
14956 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14963 rm -f conftest.
$ac_objext
14964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14965 (eval $ac_compile) 2>conftest.er1
14967 grep -v '^ *+' conftest.er1
>conftest.err
14969 cat conftest.err
>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); } &&
14972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14974 (eval $ac_try) 2>&5
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); }; } &&
14978 { ac_try
='test -s conftest.$ac_objext'
14979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14980 (eval $ac_try) 2>&5
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); }; }; then
14986 cat >conftest.
$ac_ext <<_ACEOF
14989 cat confdefs.h
>>conftest.
$ac_ext
14990 cat >>conftest.
$ac_ext <<_ACEOF
14991 /* end confdefs.h. */
14992 $ac_includes_default
14996 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15003 rm -f conftest.
$ac_objext
15004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15005 (eval $ac_compile) 2>conftest.er1
15007 grep -v '^ *+' conftest.er1
>conftest.err
15009 cat conftest.err
>&5
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); } &&
15012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15014 (eval $ac_try) 2>&5
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); }; } &&
15018 { ac_try
='test -s conftest.$ac_objext'
15019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020 (eval $ac_try) 2>&5
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; }; then
15024 ac_lo
=$ac_mid; break
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.
$ac_ext >&5
15029 ac_hi
=`expr '(' $ac_mid ')' - 1`
15030 if test $ac_mid -le $ac_hi; then
15034 ac_mid
=`expr 2 '*' $ac_mid`
15036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15039 echo "$as_me: failed program was:" >&5
15040 sed 's/^/| /' conftest.
$ac_ext >&5
15044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15047 # Binary search between lo and hi bounds.
15048 while test "x$ac_lo" != "x$ac_hi"; do
15049 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15050 cat >conftest.
$ac_ext <<_ACEOF
15053 cat confdefs.h
>>conftest.
$ac_ext
15054 cat >>conftest.
$ac_ext <<_ACEOF
15055 /* end confdefs.h. */
15056 $ac_includes_default
15060 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15067 rm -f conftest.
$ac_objext
15068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15069 (eval $ac_compile) 2>conftest.er1
15071 grep -v '^ *+' conftest.er1
>conftest.err
15073 cat conftest.err
>&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); } &&
15076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15078 (eval $ac_try) 2>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); }; } &&
15082 { ac_try
='test -s conftest.$ac_objext'
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; }; then
15090 echo "$as_me: failed program was:" >&5
15091 sed 's/^/| /' conftest.
$ac_ext >&5
15093 ac_lo
=`expr '(' $ac_mid ')' + 1`
15095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15098 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15099 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15100 See \`config.log' for more details." >&5
15101 echo "$as_me: error: cannot compute sizeof (short), 77
15102 See \`config.log' for more details." >&2;}
15103 { (exit 1); exit 1; }; } ;;
15106 if test "$cross_compiling" = yes; then
15107 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15108 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15109 { (exit 1); exit 1; }; }
15111 cat >conftest.
$ac_ext <<_ACEOF
15114 cat confdefs.h
>>conftest.
$ac_ext
15115 cat >>conftest.
$ac_ext <<_ACEOF
15116 /* end confdefs.h. */
15117 $ac_includes_default
15118 long longval () { return (long) (sizeof (short)); }
15119 unsigned long ulongval () { return (long) (sizeof (short)); }
15121 #include <stdlib.h>
15126 FILE *f = fopen ("conftest.val", "w");
15129 if (((long) (sizeof (short))) < 0)
15131 long i = longval ();
15132 if (i != ((long) (sizeof (short))))
15134 fprintf (f, "%ld\n", i);
15138 unsigned long i = ulongval ();
15139 if (i != ((long) (sizeof (short))))
15141 fprintf (f, "%lu\n", i);
15143 exit (ferror (f) || fclose (f) != 0);
15149 rm -f conftest
$ac_exeext
15150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15151 (eval $ac_link) 2>&5
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15160 ac_cv_sizeof_short
=`cat conftest.val`
15162 echo "$as_me: program exited with status $ac_status" >&5
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.
$ac_ext >&5
15166 ( exit $ac_status )
15167 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15168 See \`config.log' for more details." >&5
15169 echo "$as_me: error: cannot compute sizeof (short), 77
15170 See \`config.log' for more details." >&2;}
15171 { (exit 1); exit 1; }; }
15173 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15178 ac_cv_sizeof_short
=0
15181 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15182 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15183 cat >>confdefs.h
<<_ACEOF
15184 #define SIZEOF_SHORT $ac_cv_sizeof_short
15188 echo "$as_me:$LINENO: checking for void *" >&5
15189 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15190 if test "${ac_cv_type_void_p+set}" = set; then
15191 echo $ECHO_N "(cached) $ECHO_C" >&6
15193 cat >conftest.
$ac_ext <<_ACEOF
15196 cat confdefs.h
>>conftest.
$ac_ext
15197 cat >>conftest.
$ac_ext <<_ACEOF
15198 /* end confdefs.h. */
15199 $ac_includes_default
15205 if (sizeof (void *))
15211 rm -f conftest.
$ac_objext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213 (eval $ac_compile) 2>conftest.er1
15215 grep -v '^ *+' conftest.er1
>conftest.err
15217 cat conftest.err
>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; } &&
15226 { ac_try
='test -s conftest.$ac_objext'
15227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228 (eval $ac_try) 2>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; }; then
15232 ac_cv_type_void_p
=yes
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.
$ac_ext >&5
15237 ac_cv_type_void_p
=no
15239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15241 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15242 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15244 echo "$as_me:$LINENO: checking size of void *" >&5
15245 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15246 if test "${ac_cv_sizeof_void_p+set}" = set; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15249 if test "$ac_cv_type_void_p" = yes; then
15250 # The cast to unsigned long works around a bug in the HP C Compiler
15251 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15252 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15253 # This bug is HP SR number 8606223364.
15254 if test "$cross_compiling" = yes; then
15255 # Depending upon the size, compute the lo and hi bounds.
15256 cat >conftest.
$ac_ext <<_ACEOF
15259 cat confdefs.h
>>conftest.
$ac_ext
15260 cat >>conftest.
$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15262 $ac_includes_default
15266 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15273 rm -f conftest.
$ac_objext
15274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15275 (eval $ac_compile) 2>conftest.er1
15277 grep -v '^ *+' conftest.er1
>conftest.err
15279 cat conftest.err
>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); } &&
15282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; } &&
15288 { ac_try
='test -s conftest.$ac_objext'
15289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15290 (eval $ac_try) 2>&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; }; then
15296 cat >conftest.
$ac_ext <<_ACEOF
15299 cat confdefs.h
>>conftest.
$ac_ext
15300 cat >>conftest.
$ac_ext <<_ACEOF
15301 /* end confdefs.h. */
15302 $ac_includes_default
15306 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15313 rm -f conftest.
$ac_objext
15314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15315 (eval $ac_compile) 2>conftest.er1
15317 grep -v '^ *+' conftest.er1
>conftest.err
15319 cat conftest.err
>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } &&
15322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; } &&
15328 { ac_try
='test -s conftest.$ac_objext'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; }; then
15334 ac_hi
=$ac_mid; break
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.
$ac_ext >&5
15339 ac_lo
=`expr $ac_mid + 1`
15340 if test $ac_lo -le $ac_mid; then
15344 ac_mid
=`expr 2 '*' $ac_mid + 1`
15346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15349 echo "$as_me: failed program was:" >&5
15350 sed 's/^/| /' conftest.
$ac_ext >&5
15352 cat >conftest.
$ac_ext <<_ACEOF
15355 cat confdefs.h
>>conftest.
$ac_ext
15356 cat >>conftest.
$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15358 $ac_includes_default
15362 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15369 rm -f conftest.
$ac_objext
15370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15371 (eval $ac_compile) 2>conftest.er1
15373 grep -v '^ *+' conftest.er1
>conftest.err
15375 cat conftest.err
>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } &&
15378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; } &&
15384 { ac_try
='test -s conftest.$ac_objext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15392 cat >conftest.
$ac_ext <<_ACEOF
15395 cat confdefs.h
>>conftest.
$ac_ext
15396 cat >>conftest.
$ac_ext <<_ACEOF
15397 /* end confdefs.h. */
15398 $ac_includes_default
15402 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15409 rm -f conftest.
$ac_objext
15410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15411 (eval $ac_compile) 2>conftest.er1
15413 grep -v '^ *+' conftest.er1
>conftest.err
15415 cat conftest.err
>&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } &&
15418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15420 (eval $ac_try) 2>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; } &&
15424 { ac_try
='test -s conftest.$ac_objext'
15425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15426 (eval $ac_try) 2>&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); }; }; then
15430 ac_lo
=$ac_mid; break
15432 echo "$as_me: failed program was:" >&5
15433 sed 's/^/| /' conftest.
$ac_ext >&5
15435 ac_hi
=`expr '(' $ac_mid ')' - 1`
15436 if test $ac_mid -le $ac_hi; then
15440 ac_mid
=`expr 2 '*' $ac_mid`
15442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15445 echo "$as_me: failed program was:" >&5
15446 sed 's/^/| /' conftest.
$ac_ext >&5
15450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15453 # Binary search between lo and hi bounds.
15454 while test "x$ac_lo" != "x$ac_hi"; do
15455 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15456 cat >conftest.
$ac_ext <<_ACEOF
15459 cat confdefs.h
>>conftest.
$ac_ext
15460 cat >>conftest.
$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462 $ac_includes_default
15466 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15473 rm -f conftest.
$ac_objext
15474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15475 (eval $ac_compile) 2>conftest.er1
15477 grep -v '^ *+' conftest.er1
>conftest.err
15479 cat conftest.err
>&5
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); } &&
15482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484 (eval $ac_try) 2>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; } &&
15488 { ac_try
='test -s conftest.$ac_objext'
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; }; then
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.
$ac_ext >&5
15499 ac_lo
=`expr '(' $ac_mid ')' + 1`
15501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15504 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15505 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15506 See \`config.log' for more details." >&5
15507 echo "$as_me: error: cannot compute sizeof (void *), 77
15508 See \`config.log' for more details." >&2;}
15509 { (exit 1); exit 1; }; } ;;
15512 if test "$cross_compiling" = yes; then
15513 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15514 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15515 { (exit 1); exit 1; }; }
15517 cat >conftest.
$ac_ext <<_ACEOF
15520 cat confdefs.h
>>conftest.
$ac_ext
15521 cat >>conftest.
$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15523 $ac_includes_default
15524 long longval () { return (long) (sizeof (void *)); }
15525 unsigned long ulongval () { return (long) (sizeof (void *)); }
15527 #include <stdlib.h>
15532 FILE *f = fopen ("conftest.val", "w");
15535 if (((long) (sizeof (void *))) < 0)
15537 long i = longval ();
15538 if (i != ((long) (sizeof (void *))))
15540 fprintf (f, "%ld\n", i);
15544 unsigned long i = ulongval ();
15545 if (i != ((long) (sizeof (void *))))
15547 fprintf (f, "%lu\n", i);
15549 exit (ferror (f) || fclose (f) != 0);
15555 rm -f conftest
$ac_exeext
15556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15557 (eval $ac_link) 2>&5
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15562 (eval $ac_try) 2>&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; }; then
15566 ac_cv_sizeof_void_p
=`cat conftest.val`
15568 echo "$as_me: program exited with status $ac_status" >&5
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.
$ac_ext >&5
15572 ( exit $ac_status )
15573 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15574 See \`config.log' for more details." >&5
15575 echo "$as_me: error: cannot compute sizeof (void *), 77
15576 See \`config.log' for more details." >&2;}
15577 { (exit 1); exit 1; }; }
15579 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15584 ac_cv_sizeof_void_p
=0
15587 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15588 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15589 cat >>confdefs.h
<<_ACEOF
15590 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15594 echo "$as_me:$LINENO: checking for int" >&5
15595 echo $ECHO_N "checking for int... $ECHO_C" >&6
15596 if test "${ac_cv_type_int+set}" = set; then
15597 echo $ECHO_N "(cached) $ECHO_C" >&6
15599 cat >conftest.
$ac_ext <<_ACEOF
15602 cat confdefs.h
>>conftest.
$ac_ext
15603 cat >>conftest.
$ac_ext <<_ACEOF
15604 /* end confdefs.h. */
15605 $ac_includes_default
15617 rm -f conftest.
$ac_objext
15618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15619 (eval $ac_compile) 2>conftest.er1
15621 grep -v '^ *+' conftest.er1
>conftest.err
15623 cat conftest.err
>&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); } &&
15626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; } &&
15632 { ac_try
='test -s conftest.$ac_objext'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; }; then
15640 echo "$as_me: failed program was:" >&5
15641 sed 's/^/| /' conftest.
$ac_ext >&5
15645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15647 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15648 echo "${ECHO_T}$ac_cv_type_int" >&6
15650 echo "$as_me:$LINENO: checking size of int" >&5
15651 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15652 if test "${ac_cv_sizeof_int+set}" = set; then
15653 echo $ECHO_N "(cached) $ECHO_C" >&6
15655 if test "$ac_cv_type_int" = yes; then
15656 # The cast to unsigned long works around a bug in the HP C Compiler
15657 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15658 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15659 # This bug is HP SR number 8606223364.
15660 if test "$cross_compiling" = yes; then
15661 # Depending upon the size, compute the lo and hi bounds.
15662 cat >conftest.
$ac_ext <<_ACEOF
15665 cat confdefs.h
>>conftest.
$ac_ext
15666 cat >>conftest.
$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15668 $ac_includes_default
15672 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15679 rm -f conftest.
$ac_objext
15680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15681 (eval $ac_compile) 2>conftest.er1
15683 grep -v '^ *+' conftest.er1
>conftest.err
15685 cat conftest.err
>&5
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); } &&
15688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15690 (eval $ac_try) 2>&5
15692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15693 (exit $ac_status); }; } &&
15694 { ac_try
='test -s conftest.$ac_objext'
15695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15696 (eval $ac_try) 2>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); }; }; then
15702 cat >conftest.
$ac_ext <<_ACEOF
15705 cat confdefs.h
>>conftest.
$ac_ext
15706 cat >>conftest.
$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15708 $ac_includes_default
15712 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15719 rm -f conftest.
$ac_objext
15720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15721 (eval $ac_compile) 2>conftest.er1
15723 grep -v '^ *+' conftest.er1
>conftest.err
15725 cat conftest.err
>&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } &&
15728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; } &&
15734 { ac_try
='test -s conftest.$ac_objext'
15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15736 (eval $ac_try) 2>&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); }; }; then
15740 ac_hi
=$ac_mid; break
15742 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.
$ac_ext >&5
15745 ac_lo
=`expr $ac_mid + 1`
15746 if test $ac_lo -le $ac_mid; then
15750 ac_mid
=`expr 2 '*' $ac_mid + 1`
15752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15755 echo "$as_me: failed program was:" >&5
15756 sed 's/^/| /' conftest.
$ac_ext >&5
15758 cat >conftest.
$ac_ext <<_ACEOF
15761 cat confdefs.h
>>conftest.
$ac_ext
15762 cat >>conftest.
$ac_ext <<_ACEOF
15763 /* end confdefs.h. */
15764 $ac_includes_default
15768 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15775 rm -f conftest.
$ac_objext
15776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15777 (eval $ac_compile) 2>conftest.er1
15779 grep -v '^ *+' conftest.er1
>conftest.err
15781 cat conftest.err
>&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); } &&
15784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15786 (eval $ac_try) 2>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }; } &&
15790 { ac_try
='test -s conftest.$ac_objext'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; }; then
15798 cat >conftest.
$ac_ext <<_ACEOF
15801 cat confdefs.h
>>conftest.
$ac_ext
15802 cat >>conftest.
$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15804 $ac_includes_default
15808 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15815 rm -f conftest.
$ac_objext
15816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15817 (eval $ac_compile) 2>conftest.er1
15819 grep -v '^ *+' conftest.er1
>conftest.err
15821 cat conftest.err
>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); } &&
15824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; } &&
15830 { ac_try
='test -s conftest.$ac_objext'
15831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15832 (eval $ac_try) 2>&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); }; }; then
15836 ac_lo
=$ac_mid; break
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.
$ac_ext >&5
15841 ac_hi
=`expr '(' $ac_mid ')' - 1`
15842 if test $ac_mid -le $ac_hi; then
15846 ac_mid
=`expr 2 '*' $ac_mid`
15848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.
$ac_ext >&5
15856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15859 # Binary search between lo and hi bounds.
15860 while test "x$ac_lo" != "x$ac_hi"; do
15861 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15862 cat >conftest.
$ac_ext <<_ACEOF
15865 cat confdefs.h
>>conftest.
$ac_ext
15866 cat >>conftest.
$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15868 $ac_includes_default
15872 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15879 rm -f conftest.
$ac_objext
15880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15881 (eval $ac_compile) 2>conftest.er1
15883 grep -v '^ *+' conftest.er1
>conftest.err
15885 cat conftest.err
>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); } &&
15888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890 (eval $ac_try) 2>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; } &&
15894 { ac_try
='test -s conftest.$ac_objext'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; }; then
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.
$ac_ext >&5
15905 ac_lo
=`expr '(' $ac_mid ')' + 1`
15907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15910 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15911 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15912 See \`config.log' for more details." >&5
15913 echo "$as_me: error: cannot compute sizeof (int), 77
15914 See \`config.log' for more details." >&2;}
15915 { (exit 1); exit 1; }; } ;;
15918 if test "$cross_compiling" = yes; then
15919 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15920 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15921 { (exit 1); exit 1; }; }
15923 cat >conftest.
$ac_ext <<_ACEOF
15926 cat confdefs.h
>>conftest.
$ac_ext
15927 cat >>conftest.
$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929 $ac_includes_default
15930 long longval () { return (long) (sizeof (int)); }
15931 unsigned long ulongval () { return (long) (sizeof (int)); }
15933 #include <stdlib.h>
15938 FILE *f = fopen ("conftest.val", "w");
15941 if (((long) (sizeof (int))) < 0)
15943 long i = longval ();
15944 if (i != ((long) (sizeof (int))))
15946 fprintf (f, "%ld\n", i);
15950 unsigned long i = ulongval ();
15951 if (i != ((long) (sizeof (int))))
15953 fprintf (f, "%lu\n", i);
15955 exit (ferror (f) || fclose (f) != 0);
15961 rm -f conftest
$ac_exeext
15962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15963 (eval $ac_link) 2>&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15968 (eval $ac_try) 2>&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); }; }; then
15972 ac_cv_sizeof_int
=`cat conftest.val`
15974 echo "$as_me: program exited with status $ac_status" >&5
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.
$ac_ext >&5
15978 ( exit $ac_status )
15979 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15980 See \`config.log' for more details." >&5
15981 echo "$as_me: error: cannot compute sizeof (int), 77
15982 See \`config.log' for more details." >&2;}
15983 { (exit 1); exit 1; }; }
15985 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15993 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15994 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15995 cat >>confdefs.h
<<_ACEOF
15996 #define SIZEOF_INT $ac_cv_sizeof_int
16000 echo "$as_me:$LINENO: checking for long" >&5
16001 echo $ECHO_N "checking for long... $ECHO_C" >&6
16002 if test "${ac_cv_type_long+set}" = set; then
16003 echo $ECHO_N "(cached) $ECHO_C" >&6
16005 cat >conftest.
$ac_ext <<_ACEOF
16008 cat confdefs.h
>>conftest.
$ac_ext
16009 cat >>conftest.
$ac_ext <<_ACEOF
16010 /* end confdefs.h. */
16011 $ac_includes_default
16023 rm -f conftest.
$ac_objext
16024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16025 (eval $ac_compile) 2>conftest.er1
16027 grep -v '^ *+' conftest.er1
>conftest.err
16029 cat conftest.err
>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); } &&
16032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try
='test -s conftest.$ac_objext'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; }; then
16044 ac_cv_type_long
=yes
16046 echo "$as_me: failed program was:" >&5
16047 sed 's/^/| /' conftest.
$ac_ext >&5
16051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16053 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16054 echo "${ECHO_T}$ac_cv_type_long" >&6
16056 echo "$as_me:$LINENO: checking size of long" >&5
16057 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16058 if test "${ac_cv_sizeof_long+set}" = set; then
16059 echo $ECHO_N "(cached) $ECHO_C" >&6
16061 if test "$ac_cv_type_long" = yes; then
16062 # The cast to unsigned long works around a bug in the HP C Compiler
16063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16065 # This bug is HP SR number 8606223364.
16066 if test "$cross_compiling" = yes; then
16067 # Depending upon the size, compute the lo and hi bounds.
16068 cat >conftest.
$ac_ext <<_ACEOF
16071 cat confdefs.h
>>conftest.
$ac_ext
16072 cat >>conftest.
$ac_ext <<_ACEOF
16073 /* end confdefs.h. */
16074 $ac_includes_default
16078 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16085 rm -f conftest.
$ac_objext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16087 (eval $ac_compile) 2>conftest.er1
16089 grep -v '^ *+' conftest.er1
>conftest.err
16091 cat conftest.err
>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; } &&
16100 { ac_try
='test -s conftest.$ac_objext'
16101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16102 (eval $ac_try) 2>&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); }; }; then
16108 cat >conftest.
$ac_ext <<_ACEOF
16111 cat confdefs.h
>>conftest.
$ac_ext
16112 cat >>conftest.
$ac_ext <<_ACEOF
16113 /* end confdefs.h. */
16114 $ac_includes_default
16118 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16125 rm -f conftest.
$ac_objext
16126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16127 (eval $ac_compile) 2>conftest.er1
16129 grep -v '^ *+' conftest.er1
>conftest.err
16131 cat conftest.err
>&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); } &&
16134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; } &&
16140 { ac_try
='test -s conftest.$ac_objext'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; }; then
16146 ac_hi
=$ac_mid; break
16148 echo "$as_me: failed program was:" >&5
16149 sed 's/^/| /' conftest.
$ac_ext >&5
16151 ac_lo
=`expr $ac_mid + 1`
16152 if test $ac_lo -le $ac_mid; then
16156 ac_mid
=`expr 2 '*' $ac_mid + 1`
16158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16161 echo "$as_me: failed program was:" >&5
16162 sed 's/^/| /' conftest.
$ac_ext >&5
16164 cat >conftest.
$ac_ext <<_ACEOF
16167 cat confdefs.h
>>conftest.
$ac_ext
16168 cat >>conftest.
$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16170 $ac_includes_default
16174 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16181 rm -f conftest.
$ac_objext
16182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16183 (eval $ac_compile) 2>conftest.er1
16185 grep -v '^ *+' conftest.er1
>conftest.err
16187 cat conftest.err
>&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); } &&
16190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16192 (eval $ac_try) 2>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); }; } &&
16196 { ac_try
='test -s conftest.$ac_objext'
16197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16198 (eval $ac_try) 2>&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); }; }; then
16204 cat >conftest.
$ac_ext <<_ACEOF
16207 cat confdefs.h
>>conftest.
$ac_ext
16208 cat >>conftest.
$ac_ext <<_ACEOF
16209 /* end confdefs.h. */
16210 $ac_includes_default
16214 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16221 rm -f conftest.
$ac_objext
16222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16223 (eval $ac_compile) 2>conftest.er1
16225 grep -v '^ *+' conftest.er1
>conftest.err
16227 cat conftest.err
>&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } &&
16230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; } &&
16236 { ac_try
='test -s conftest.$ac_objext'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; }; then
16242 ac_lo
=$ac_mid; break
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.
$ac_ext >&5
16247 ac_hi
=`expr '(' $ac_mid ')' - 1`
16248 if test $ac_mid -le $ac_hi; then
16252 ac_mid
=`expr 2 '*' $ac_mid`
16254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.
$ac_ext >&5
16262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16265 # Binary search between lo and hi bounds.
16266 while test "x$ac_lo" != "x$ac_hi"; do
16267 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16268 cat >conftest.
$ac_ext <<_ACEOF
16271 cat confdefs.h
>>conftest.
$ac_ext
16272 cat >>conftest.
$ac_ext <<_ACEOF
16273 /* end confdefs.h. */
16274 $ac_includes_default
16278 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16285 rm -f conftest.
$ac_objext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16287 (eval $ac_compile) 2>conftest.er1
16289 grep -v '^ *+' conftest.er1
>conftest.err
16291 cat conftest.err
>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } &&
16294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; } &&
16300 { ac_try
='test -s conftest.$ac_objext'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; }; then
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.
$ac_ext >&5
16311 ac_lo
=`expr '(' $ac_mid ')' + 1`
16313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16316 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16317 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16318 See \`config.log' for more details." >&5
16319 echo "$as_me: error: cannot compute sizeof (long), 77
16320 See \`config.log' for more details." >&2;}
16321 { (exit 1); exit 1; }; } ;;
16324 if test "$cross_compiling" = yes; then
16325 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16326 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16327 { (exit 1); exit 1; }; }
16329 cat >conftest.
$ac_ext <<_ACEOF
16332 cat confdefs.h
>>conftest.
$ac_ext
16333 cat >>conftest.
$ac_ext <<_ACEOF
16334 /* end confdefs.h. */
16335 $ac_includes_default
16336 long longval () { return (long) (sizeof (long)); }
16337 unsigned long ulongval () { return (long) (sizeof (long)); }
16339 #include <stdlib.h>
16344 FILE *f = fopen ("conftest.val", "w");
16347 if (((long) (sizeof (long))) < 0)
16349 long i = longval ();
16350 if (i != ((long) (sizeof (long))))
16352 fprintf (f, "%ld\n", i);
16356 unsigned long i = ulongval ();
16357 if (i != ((long) (sizeof (long))))
16359 fprintf (f, "%lu\n", i);
16361 exit (ferror (f) || fclose (f) != 0);
16367 rm -f conftest
$ac_exeext
16368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16369 (eval $ac_link) 2>&5
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_cv_sizeof_long
=`cat conftest.val`
16380 echo "$as_me: program exited with status $ac_status" >&5
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.
$ac_ext >&5
16384 ( exit $ac_status )
16385 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16386 See \`config.log' for more details." >&5
16387 echo "$as_me: error: cannot compute sizeof (long), 77
16388 See \`config.log' for more details." >&2;}
16389 { (exit 1); exit 1; }; }
16391 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16396 ac_cv_sizeof_long
=0
16399 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16400 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16401 cat >>confdefs.h
<<_ACEOF
16402 #define SIZEOF_LONG $ac_cv_sizeof_long
16406 echo "$as_me:$LINENO: checking for size_t" >&5
16407 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16408 if test "${ac_cv_type_size_t+set}" = set; then
16409 echo $ECHO_N "(cached) $ECHO_C" >&6
16411 cat >conftest.
$ac_ext <<_ACEOF
16414 cat confdefs.h
>>conftest.
$ac_ext
16415 cat >>conftest.
$ac_ext <<_ACEOF
16416 /* end confdefs.h. */
16417 $ac_includes_default
16423 if (sizeof (size_t))
16429 rm -f conftest.
$ac_objext
16430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16431 (eval $ac_compile) 2>conftest.er1
16433 grep -v '^ *+' conftest.er1
>conftest.err
16435 cat conftest.err
>&5
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); } &&
16438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16440 (eval $ac_try) 2>&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); }; } &&
16444 { ac_try
='test -s conftest.$ac_objext'
16445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16446 (eval $ac_try) 2>&5
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); }; }; then
16450 ac_cv_type_size_t
=yes
16452 echo "$as_me: failed program was:" >&5
16453 sed 's/^/| /' conftest.
$ac_ext >&5
16455 ac_cv_type_size_t
=no
16457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16459 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16460 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16462 echo "$as_me:$LINENO: checking size of size_t" >&5
16463 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16464 if test "${ac_cv_sizeof_size_t+set}" = set; then
16465 echo $ECHO_N "(cached) $ECHO_C" >&6
16467 if test "$ac_cv_type_size_t" = yes; then
16468 # The cast to unsigned long works around a bug in the HP C Compiler
16469 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16470 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16471 # This bug is HP SR number 8606223364.
16472 if test "$cross_compiling" = yes; then
16473 # Depending upon the size, compute the lo and hi bounds.
16474 cat >conftest.
$ac_ext <<_ACEOF
16477 cat confdefs.h
>>conftest.
$ac_ext
16478 cat >>conftest.
$ac_ext <<_ACEOF
16479 /* end confdefs.h. */
16480 $ac_includes_default
16484 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16491 rm -f conftest.
$ac_objext
16492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16493 (eval $ac_compile) 2>conftest.er1
16495 grep -v '^ *+' conftest.er1
>conftest.err
16497 cat conftest.err
>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } &&
16500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502 (eval $ac_try) 2>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); }; } &&
16506 { ac_try
='test -s conftest.$ac_objext'
16507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }; }; then
16514 cat >conftest.
$ac_ext <<_ACEOF
16517 cat confdefs.h
>>conftest.
$ac_ext
16518 cat >>conftest.
$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 $ac_includes_default
16524 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16531 rm -f conftest.
$ac_objext
16532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16533 (eval $ac_compile) 2>conftest.er1
16535 grep -v '^ *+' conftest.er1
>conftest.err
16537 cat conftest.err
>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); } &&
16540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; } &&
16546 { ac_try
='test -s conftest.$ac_objext'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; }; then
16552 ac_hi
=$ac_mid; break
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.
$ac_ext >&5
16557 ac_lo
=`expr $ac_mid + 1`
16558 if test $ac_lo -le $ac_mid; then
16562 ac_mid
=`expr 2 '*' $ac_mid + 1`
16564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.
$ac_ext >&5
16570 cat >conftest.
$ac_ext <<_ACEOF
16573 cat confdefs.h
>>conftest.
$ac_ext
16574 cat >>conftest.
$ac_ext <<_ACEOF
16575 /* end confdefs.h. */
16576 $ac_includes_default
16580 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16587 rm -f conftest.
$ac_objext
16588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16589 (eval $ac_compile) 2>conftest.er1
16591 grep -v '^ *+' conftest.er1
>conftest.err
16593 cat conftest.err
>&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } &&
16596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; } &&
16602 { ac_try
='test -s conftest.$ac_objext'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; }; then
16610 cat >conftest.
$ac_ext <<_ACEOF
16613 cat confdefs.h
>>conftest.
$ac_ext
16614 cat >>conftest.
$ac_ext <<_ACEOF
16615 /* end confdefs.h. */
16616 $ac_includes_default
16620 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16627 rm -f conftest.
$ac_objext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16629 (eval $ac_compile) 2>conftest.er1
16631 grep -v '^ *+' conftest.er1
>conftest.err
16633 cat conftest.err
>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } &&
16636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16638 (eval $ac_try) 2>&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); }; } &&
16642 { ac_try
='test -s conftest.$ac_objext'
16643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16644 (eval $ac_try) 2>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); }; }; then
16648 ac_lo
=$ac_mid; break
16650 echo "$as_me: failed program was:" >&5
16651 sed 's/^/| /' conftest.
$ac_ext >&5
16653 ac_hi
=`expr '(' $ac_mid ')' - 1`
16654 if test $ac_mid -le $ac_hi; then
16658 ac_mid
=`expr 2 '*' $ac_mid`
16660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16663 echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.
$ac_ext >&5
16668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16671 # Binary search between lo and hi bounds.
16672 while test "x$ac_lo" != "x$ac_hi"; do
16673 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16674 cat >conftest.
$ac_ext <<_ACEOF
16677 cat confdefs.h
>>conftest.
$ac_ext
16678 cat >>conftest.
$ac_ext <<_ACEOF
16679 /* end confdefs.h. */
16680 $ac_includes_default
16684 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16691 rm -f conftest.
$ac_objext
16692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16693 (eval $ac_compile) 2>conftest.er1
16695 grep -v '^ *+' conftest.er1
>conftest.err
16697 cat conftest.err
>&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); } &&
16700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16702 (eval $ac_try) 2>&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); }; } &&
16706 { ac_try
='test -s conftest.$ac_objext'
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; }; then
16714 echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.
$ac_ext >&5
16717 ac_lo
=`expr '(' $ac_mid ')' + 1`
16719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16722 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16723 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16724 See \`config.log' for more details." >&5
16725 echo "$as_me: error: cannot compute sizeof (size_t), 77
16726 See \`config.log' for more details." >&2;}
16727 { (exit 1); exit 1; }; } ;;
16730 if test "$cross_compiling" = yes; then
16731 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16732 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16733 { (exit 1); exit 1; }; }
16735 cat >conftest.
$ac_ext <<_ACEOF
16738 cat confdefs.h
>>conftest.
$ac_ext
16739 cat >>conftest.
$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 $ac_includes_default
16742 long longval () { return (long) (sizeof (size_t)); }
16743 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16745 #include <stdlib.h>
16750 FILE *f = fopen ("conftest.val", "w");
16753 if (((long) (sizeof (size_t))) < 0)
16755 long i = longval ();
16756 if (i != ((long) (sizeof (size_t))))
16758 fprintf (f, "%ld\n", i);
16762 unsigned long i = ulongval ();
16763 if (i != ((long) (sizeof (size_t))))
16765 fprintf (f, "%lu\n", i);
16767 exit (ferror (f) || fclose (f) != 0);
16773 rm -f conftest
$ac_exeext
16774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16775 (eval $ac_link) 2>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16780 (eval $ac_try) 2>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); }; }; then
16784 ac_cv_sizeof_size_t
=`cat conftest.val`
16786 echo "$as_me: program exited with status $ac_status" >&5
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.
$ac_ext >&5
16790 ( exit $ac_status )
16791 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16792 See \`config.log' for more details." >&5
16793 echo "$as_me: error: cannot compute sizeof (size_t), 77
16794 See \`config.log' for more details." >&2;}
16795 { (exit 1); exit 1; }; }
16797 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16802 ac_cv_sizeof_size_t
=0
16805 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16806 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16807 cat >>confdefs.h
<<_ACEOF
16808 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16815 echo "$as_me:$LINENO: checking for long long" >&5
16816 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16817 if test "${ac_cv_type_long_long+set}" = set; then
16818 echo $ECHO_N "(cached) $ECHO_C" >&6
16820 cat >conftest.
$ac_ext <<_ACEOF
16823 cat confdefs.h
>>conftest.
$ac_ext
16824 cat >>conftest.
$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 $ac_includes_default
16830 if ((long long *) 0)
16832 if (sizeof (long long))
16838 rm -f conftest.
$ac_objext
16839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16840 (eval $ac_compile) 2>conftest.er1
16842 grep -v '^ *+' conftest.er1
>conftest.err
16844 cat conftest.err
>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } &&
16847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; } &&
16853 { ac_try
='test -s conftest.$ac_objext'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; }; then
16859 ac_cv_type_long_long
=yes
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.
$ac_ext >&5
16864 ac_cv_type_long_long
=no
16866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16868 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16869 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16871 echo "$as_me:$LINENO: checking size of long long" >&5
16872 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16873 if test "${ac_cv_sizeof_long_long+set}" = set; then
16874 echo $ECHO_N "(cached) $ECHO_C" >&6
16876 if test "$ac_cv_type_long_long" = yes; then
16877 # The cast to unsigned long works around a bug in the HP C Compiler
16878 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16879 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16880 # This bug is HP SR number 8606223364.
16881 if test "$cross_compiling" = yes; then
16882 # Depending upon the size, compute the lo and hi bounds.
16883 cat >conftest.
$ac_ext <<_ACEOF
16886 cat confdefs.h
>>conftest.
$ac_ext
16887 cat >>conftest.
$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16889 $ac_includes_default
16893 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16900 rm -f conftest.
$ac_objext
16901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16902 (eval $ac_compile) 2>conftest.er1
16904 grep -v '^ *+' conftest.er1
>conftest.err
16906 cat conftest.err
>&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); } &&
16909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16911 (eval $ac_try) 2>&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); }; } &&
16915 { ac_try
='test -s conftest.$ac_objext'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; }; then
16923 cat >conftest.
$ac_ext <<_ACEOF
16926 cat confdefs.h
>>conftest.
$ac_ext
16927 cat >>conftest.
$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 $ac_includes_default
16933 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16940 rm -f conftest.
$ac_objext
16941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16942 (eval $ac_compile) 2>conftest.er1
16944 grep -v '^ *+' conftest.er1
>conftest.err
16946 cat conftest.err
>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } &&
16949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16951 (eval $ac_try) 2>&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; } &&
16955 { ac_try
='test -s conftest.$ac_objext'
16956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16957 (eval $ac_try) 2>&5
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); }; }; then
16961 ac_hi
=$ac_mid; break
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.
$ac_ext >&5
16966 ac_lo
=`expr $ac_mid + 1`
16967 if test $ac_lo -le $ac_mid; then
16971 ac_mid
=`expr 2 '*' $ac_mid + 1`
16973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16976 echo "$as_me: failed program was:" >&5
16977 sed 's/^/| /' conftest.
$ac_ext >&5
16979 cat >conftest.
$ac_ext <<_ACEOF
16982 cat confdefs.h
>>conftest.
$ac_ext
16983 cat >>conftest.
$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16985 $ac_includes_default
16989 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16996 rm -f conftest.
$ac_objext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16998 (eval $ac_compile) 2>conftest.er1
17000 grep -v '^ *+' conftest.er1
>conftest.err
17002 cat conftest.err
>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } &&
17005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17007 (eval $ac_try) 2>&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); }; } &&
17011 { ac_try
='test -s conftest.$ac_objext'
17012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17013 (eval $ac_try) 2>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }; }; then
17019 cat >conftest.
$ac_ext <<_ACEOF
17022 cat confdefs.h
>>conftest.
$ac_ext
17023 cat >>conftest.
$ac_ext <<_ACEOF
17024 /* end confdefs.h. */
17025 $ac_includes_default
17029 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17036 rm -f conftest.
$ac_objext
17037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17038 (eval $ac_compile) 2>conftest.er1
17040 grep -v '^ *+' conftest.er1
>conftest.err
17042 cat conftest.err
>&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); } &&
17045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17047 (eval $ac_try) 2>&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); }; } &&
17051 { ac_try
='test -s conftest.$ac_objext'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; }; then
17057 ac_lo
=$ac_mid; break
17059 echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.
$ac_ext >&5
17062 ac_hi
=`expr '(' $ac_mid ')' - 1`
17063 if test $ac_mid -le $ac_hi; then
17067 ac_mid
=`expr 2 '*' $ac_mid`
17069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.
$ac_ext >&5
17077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17080 # Binary search between lo and hi bounds.
17081 while test "x$ac_lo" != "x$ac_hi"; do
17082 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17083 cat >conftest.
$ac_ext <<_ACEOF
17086 cat confdefs.h
>>conftest.
$ac_ext
17087 cat >>conftest.
$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 $ac_includes_default
17093 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17100 rm -f conftest.
$ac_objext
17101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17102 (eval $ac_compile) 2>conftest.er1
17104 grep -v '^ *+' conftest.er1
>conftest.err
17106 cat conftest.err
>&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); } &&
17109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17111 (eval $ac_try) 2>&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); }; } &&
17115 { ac_try
='test -s conftest.$ac_objext'
17116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17117 (eval $ac_try) 2>&5
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); }; }; then
17123 echo "$as_me: failed program was:" >&5
17124 sed 's/^/| /' conftest.
$ac_ext >&5
17126 ac_lo
=`expr '(' $ac_mid ')' + 1`
17128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17131 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17132 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17133 See \`config.log' for more details." >&5
17134 echo "$as_me: error: cannot compute sizeof (long long), 77
17135 See \`config.log' for more details." >&2;}
17136 { (exit 1); exit 1; }; } ;;
17139 if test "$cross_compiling" = yes; then
17140 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17141 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17142 { (exit 1); exit 1; }; }
17144 cat >conftest.
$ac_ext <<_ACEOF
17147 cat confdefs.h
>>conftest.
$ac_ext
17148 cat >>conftest.
$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17150 $ac_includes_default
17151 long longval () { return (long) (sizeof (long long)); }
17152 unsigned long ulongval () { return (long) (sizeof (long long)); }
17154 #include <stdlib.h>
17159 FILE *f = fopen ("conftest.val", "w");
17162 if (((long) (sizeof (long long))) < 0)
17164 long i = longval ();
17165 if (i != ((long) (sizeof (long long))))
17167 fprintf (f, "%ld\n", i);
17171 unsigned long i = ulongval ();
17172 if (i != ((long) (sizeof (long long))))
17174 fprintf (f, "%lu\n", i);
17176 exit (ferror (f) || fclose (f) != 0);
17182 rm -f conftest
$ac_exeext
17183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17184 (eval $ac_link) 2>&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17189 (eval $ac_try) 2>&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); }; }; then
17193 ac_cv_sizeof_long_long
=`cat conftest.val`
17195 echo "$as_me: program exited with status $ac_status" >&5
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.
$ac_ext >&5
17199 ( exit $ac_status )
17200 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17201 See \`config.log' for more details." >&5
17202 echo "$as_me: error: cannot compute sizeof (long long), 77
17203 See \`config.log' for more details." >&2;}
17204 { (exit 1); exit 1; }; }
17206 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17211 ac_cv_sizeof_long_long
=0
17214 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17215 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17216 cat >>confdefs.h
<<_ACEOF
17217 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17223 echo "$as_me:$LINENO: checking for long long" >&5
17224 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17225 if test "${ac_cv_type_long_long+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 cat >conftest.
$ac_ext <<_ACEOF
17231 cat confdefs.h
>>conftest.
$ac_ext
17232 cat >>conftest.
$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 $ac_includes_default
17238 if ((long long *) 0)
17240 if (sizeof (long long))
17246 rm -f conftest.
$ac_objext
17247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17248 (eval $ac_compile) 2>conftest.er1
17250 grep -v '^ *+' conftest.er1
>conftest.err
17252 cat conftest.err
>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } &&
17255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17257 (eval $ac_try) 2>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); }; } &&
17261 { ac_try
='test -s conftest.$ac_objext'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; }; then
17267 ac_cv_type_long_long
=yes
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.
$ac_ext >&5
17272 ac_cv_type_long_long
=no
17274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17276 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17277 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17279 echo "$as_me:$LINENO: checking size of long long" >&5
17280 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17281 if test "${ac_cv_sizeof_long_long+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 if test "$ac_cv_type_long_long" = yes; then
17285 # The cast to unsigned long works around a bug in the HP C Compiler
17286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17288 # This bug is HP SR number 8606223364.
17289 if test "$cross_compiling" = yes; then
17290 # Depending upon the size, compute the lo and hi bounds.
17291 cat >conftest.
$ac_ext <<_ACEOF
17294 cat confdefs.h
>>conftest.
$ac_ext
17295 cat >>conftest.
$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297 $ac_includes_default
17301 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17308 rm -f conftest.
$ac_objext
17309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17310 (eval $ac_compile) 2>conftest.er1
17312 grep -v '^ *+' conftest.er1
>conftest.err
17314 cat conftest.err
>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } &&
17317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17319 (eval $ac_try) 2>&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); }; } &&
17323 { ac_try
='test -s conftest.$ac_objext'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; }; then
17331 cat >conftest.
$ac_ext <<_ACEOF
17334 cat confdefs.h
>>conftest.
$ac_ext
17335 cat >>conftest.
$ac_ext <<_ACEOF
17336 /* end confdefs.h. */
17337 $ac_includes_default
17341 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17348 rm -f conftest.
$ac_objext
17349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17350 (eval $ac_compile) 2>conftest.er1
17352 grep -v '^ *+' conftest.er1
>conftest.err
17354 cat conftest.err
>&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); } &&
17357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; } &&
17363 { ac_try
='test -s conftest.$ac_objext'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; }; then
17369 ac_hi
=$ac_mid; break
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.
$ac_ext >&5
17374 ac_lo
=`expr $ac_mid + 1`
17375 if test $ac_lo -le $ac_mid; then
17379 ac_mid
=`expr 2 '*' $ac_mid + 1`
17381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17384 echo "$as_me: failed program was:" >&5
17385 sed 's/^/| /' conftest.
$ac_ext >&5
17387 cat >conftest.
$ac_ext <<_ACEOF
17390 cat confdefs.h
>>conftest.
$ac_ext
17391 cat >>conftest.
$ac_ext <<_ACEOF
17392 /* end confdefs.h. */
17393 $ac_includes_default
17397 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17404 rm -f conftest.
$ac_objext
17405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17406 (eval $ac_compile) 2>conftest.er1
17408 grep -v '^ *+' conftest.er1
>conftest.err
17410 cat conftest.err
>&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); } &&
17413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17415 (eval $ac_try) 2>&5
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); }; } &&
17419 { ac_try
='test -s conftest.$ac_objext'
17420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17421 (eval $ac_try) 2>&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); }; }; then
17427 cat >conftest.
$ac_ext <<_ACEOF
17430 cat confdefs.h
>>conftest.
$ac_ext
17431 cat >>conftest.
$ac_ext <<_ACEOF
17432 /* end confdefs.h. */
17433 $ac_includes_default
17437 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17444 rm -f conftest.
$ac_objext
17445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17446 (eval $ac_compile) 2>conftest.er1
17448 grep -v '^ *+' conftest.er1
>conftest.err
17450 cat conftest.err
>&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } &&
17453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17455 (eval $ac_try) 2>&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); }; } &&
17459 { ac_try
='test -s conftest.$ac_objext'
17460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17461 (eval $ac_try) 2>&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }; }; then
17465 ac_lo
=$ac_mid; break
17467 echo "$as_me: failed program was:" >&5
17468 sed 's/^/| /' conftest.
$ac_ext >&5
17470 ac_hi
=`expr '(' $ac_mid ')' - 1`
17471 if test $ac_mid -le $ac_hi; then
17475 ac_mid
=`expr 2 '*' $ac_mid`
17477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17480 echo "$as_me: failed program was:" >&5
17481 sed 's/^/| /' conftest.
$ac_ext >&5
17485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17488 # Binary search between lo and hi bounds.
17489 while test "x$ac_lo" != "x$ac_hi"; do
17490 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17491 cat >conftest.
$ac_ext <<_ACEOF
17494 cat confdefs.h
>>conftest.
$ac_ext
17495 cat >>conftest.
$ac_ext <<_ACEOF
17496 /* end confdefs.h. */
17497 $ac_includes_default
17501 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17508 rm -f conftest.
$ac_objext
17509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17510 (eval $ac_compile) 2>conftest.er1
17512 grep -v '^ *+' conftest.er1
>conftest.err
17514 cat conftest.err
>&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } &&
17517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17519 (eval $ac_try) 2>&5
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); }; } &&
17523 { ac_try
='test -s conftest.$ac_objext'
17524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17525 (eval $ac_try) 2>&5
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); }; }; then
17531 echo "$as_me: failed program was:" >&5
17532 sed 's/^/| /' conftest.
$ac_ext >&5
17534 ac_lo
=`expr '(' $ac_mid ')' + 1`
17536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17539 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17540 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17541 See \`config.log' for more details." >&5
17542 echo "$as_me: error: cannot compute sizeof (long long), 77
17543 See \`config.log' for more details." >&2;}
17544 { (exit 1); exit 1; }; } ;;
17547 if test "$cross_compiling" = yes; then
17548 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17549 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17550 { (exit 1); exit 1; }; }
17552 cat >conftest.
$ac_ext <<_ACEOF
17555 cat confdefs.h
>>conftest.
$ac_ext
17556 cat >>conftest.
$ac_ext <<_ACEOF
17557 /* end confdefs.h. */
17558 $ac_includes_default
17559 long longval () { return (long) (sizeof (long long)); }
17560 unsigned long ulongval () { return (long) (sizeof (long long)); }
17562 #include <stdlib.h>
17567 FILE *f = fopen ("conftest.val", "w");
17570 if (((long) (sizeof (long long))) < 0)
17572 long i = longval ();
17573 if (i != ((long) (sizeof (long long))))
17575 fprintf (f, "%ld\n", i);
17579 unsigned long i = ulongval ();
17580 if (i != ((long) (sizeof (long long))))
17582 fprintf (f, "%lu\n", i);
17584 exit (ferror (f) || fclose (f) != 0);
17590 rm -f conftest
$ac_exeext
17591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17592 (eval $ac_link) 2>&5
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597 (eval $ac_try) 2>&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); }; }; then
17601 ac_cv_sizeof_long_long
=`cat conftest.val`
17603 echo "$as_me: program exited with status $ac_status" >&5
17604 echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.
$ac_ext >&5
17607 ( exit $ac_status )
17608 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17609 See \`config.log' for more details." >&5
17610 echo "$as_me: error: cannot compute sizeof (long long), 77
17611 See \`config.log' for more details." >&2;}
17612 { (exit 1); exit 1; }; }
17614 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17619 ac_cv_sizeof_long_long
=0
17622 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17623 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17624 cat >>confdefs.h
<<_ACEOF
17625 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17629 if test "$ac_cv_sizeof_long_long" != "0"; then
17630 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17634 echo "$as_me:$LINENO: checking for long long" >&5
17635 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17636 if test "${ac_cv_type_long_long+set}" = set; then
17637 echo $ECHO_N "(cached) $ECHO_C" >&6
17639 cat >conftest.
$ac_ext <<_ACEOF
17642 cat confdefs.h
>>conftest.
$ac_ext
17643 cat >>conftest.
$ac_ext <<_ACEOF
17644 /* end confdefs.h. */
17645 $ac_includes_default
17649 if ((long long *) 0)
17651 if (sizeof (long long))
17657 rm -f conftest.
$ac_objext
17658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17659 (eval $ac_compile) 2>conftest.er1
17661 grep -v '^ *+' conftest.er1
>conftest.err
17663 cat conftest.err
>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } &&
17666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668 (eval $ac_try) 2>&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); }; } &&
17672 { ac_try
='test -s conftest.$ac_objext'
17673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17674 (eval $ac_try) 2>&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); }; }; then
17678 ac_cv_type_long_long
=yes
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.
$ac_ext >&5
17683 ac_cv_type_long_long
=no
17685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17687 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17688 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17690 echo "$as_me:$LINENO: checking size of long long" >&5
17691 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17692 if test "${ac_cv_sizeof_long_long+set}" = set; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17695 if test "$ac_cv_type_long_long" = yes; then
17696 # The cast to unsigned long works around a bug in the HP C Compiler
17697 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17698 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17699 # This bug is HP SR number 8606223364.
17700 if test "$cross_compiling" = yes; then
17701 # Depending upon the size, compute the lo and hi bounds.
17702 cat >conftest.
$ac_ext <<_ACEOF
17705 cat confdefs.h
>>conftest.
$ac_ext
17706 cat >>conftest.
$ac_ext <<_ACEOF
17707 /* end confdefs.h. */
17708 $ac_includes_default
17712 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17719 rm -f conftest.
$ac_objext
17720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17721 (eval $ac_compile) 2>conftest.er1
17723 grep -v '^ *+' conftest.er1
>conftest.err
17725 cat conftest.err
>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); } &&
17728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; } &&
17734 { ac_try
='test -s conftest.$ac_objext'
17735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17736 (eval $ac_try) 2>&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); }; }; then
17742 cat >conftest.
$ac_ext <<_ACEOF
17745 cat confdefs.h
>>conftest.
$ac_ext
17746 cat >>conftest.
$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17748 $ac_includes_default
17752 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17759 rm -f conftest.
$ac_objext
17760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17761 (eval $ac_compile) 2>conftest.er1
17763 grep -v '^ *+' conftest.er1
>conftest.err
17765 cat conftest.err
>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } &&
17768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; } &&
17774 { ac_try
='test -s conftest.$ac_objext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17780 ac_hi
=$ac_mid; break
17782 echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.
$ac_ext >&5
17785 ac_lo
=`expr $ac_mid + 1`
17786 if test $ac_lo -le $ac_mid; then
17790 ac_mid
=`expr 2 '*' $ac_mid + 1`
17792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.
$ac_ext >&5
17798 cat >conftest.
$ac_ext <<_ACEOF
17801 cat confdefs.h
>>conftest.
$ac_ext
17802 cat >>conftest.
$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17804 $ac_includes_default
17808 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17815 rm -f conftest.
$ac_objext
17816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17817 (eval $ac_compile) 2>conftest.er1
17819 grep -v '^ *+' conftest.er1
>conftest.err
17821 cat conftest.err
>&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } &&
17824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17826 (eval $ac_try) 2>&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); }; } &&
17830 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17838 cat >conftest.
$ac_ext <<_ACEOF
17841 cat confdefs.h
>>conftest.
$ac_ext
17842 cat >>conftest.
$ac_ext <<_ACEOF
17843 /* end confdefs.h. */
17844 $ac_includes_default
17848 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17855 rm -f conftest.
$ac_objext
17856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17857 (eval $ac_compile) 2>conftest.er1
17859 grep -v '^ *+' conftest.er1
>conftest.err
17861 cat conftest.err
>&5
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); } &&
17864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17866 (eval $ac_try) 2>&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); }; } &&
17870 { ac_try
='test -s conftest.$ac_objext'
17871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17872 (eval $ac_try) 2>&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); }; }; then
17876 ac_lo
=$ac_mid; break
17878 echo "$as_me: failed program was:" >&5
17879 sed 's/^/| /' conftest.
$ac_ext >&5
17881 ac_hi
=`expr '(' $ac_mid ')' - 1`
17882 if test $ac_mid -le $ac_hi; then
17886 ac_mid
=`expr 2 '*' $ac_mid`
17888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17891 echo "$as_me: failed program was:" >&5
17892 sed 's/^/| /' conftest.
$ac_ext >&5
17896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17899 # Binary search between lo and hi bounds.
17900 while test "x$ac_lo" != "x$ac_hi"; do
17901 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17902 cat >conftest.
$ac_ext <<_ACEOF
17905 cat confdefs.h
>>conftest.
$ac_ext
17906 cat >>conftest.
$ac_ext <<_ACEOF
17907 /* end confdefs.h. */
17908 $ac_includes_default
17912 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17919 rm -f conftest.
$ac_objext
17920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17921 (eval $ac_compile) 2>conftest.er1
17923 grep -v '^ *+' conftest.er1
>conftest.err
17925 cat conftest.err
>&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); } &&
17928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930 (eval $ac_try) 2>&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; } &&
17934 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17942 echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.
$ac_ext >&5
17945 ac_lo
=`expr '(' $ac_mid ')' + 1`
17947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17950 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17951 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17952 See \`config.log' for more details." >&5
17953 echo "$as_me: error: cannot compute sizeof (long long), 77
17954 See \`config.log' for more details." >&2;}
17955 { (exit 1); exit 1; }; } ;;
17958 if test "$cross_compiling" = yes; then
17959 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17960 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17961 { (exit 1); exit 1; }; }
17963 cat >conftest.
$ac_ext <<_ACEOF
17966 cat confdefs.h
>>conftest.
$ac_ext
17967 cat >>conftest.
$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969 $ac_includes_default
17970 long longval () { return (long) (sizeof (long long)); }
17971 unsigned long ulongval () { return (long) (sizeof (long long)); }
17973 #include <stdlib.h>
17978 FILE *f = fopen ("conftest.val", "w");
17981 if (((long) (sizeof (long long))) < 0)
17983 long i = longval ();
17984 if (i != ((long) (sizeof (long long))))
17986 fprintf (f, "%ld\n", i);
17990 unsigned long i = ulongval ();
17991 if (i != ((long) (sizeof (long long))))
17993 fprintf (f, "%lu\n", i);
17995 exit (ferror (f) || fclose (f) != 0);
18001 rm -f conftest
$ac_exeext
18002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18003 (eval $ac_link) 2>&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; }; then
18012 ac_cv_sizeof_long_long
=`cat conftest.val`
18014 echo "$as_me: program exited with status $ac_status" >&5
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.
$ac_ext >&5
18018 ( exit $ac_status )
18019 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18020 See \`config.log' for more details." >&5
18021 echo "$as_me: error: cannot compute sizeof (long long), 77
18022 See \`config.log' for more details." >&2;}
18023 { (exit 1); exit 1; }; }
18025 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18030 ac_cv_sizeof_long_long
=0
18033 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18034 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18035 cat >>confdefs.h
<<_ACEOF
18036 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18042 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18043 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18044 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18045 echo $ECHO_N "(cached) $ECHO_C" >&6
18048 if test "$cross_compiling" = yes; then
18052 wx_cv_sizeof_wchar_t
=0
18055 wx_cv_sizeof_wchar_t
=4
18061 cat >conftest.
$ac_ext <<_ACEOF
18064 cat confdefs.h
>>conftest.
$ac_ext
18065 cat >>conftest.
$ac_ext <<_ACEOF
18066 /* end confdefs.h. */
18068 /* DJGPP only has fake wchar_t: */
18070 # error "fake wchar_t"
18072 #ifdef HAVE_WCHAR_H
18074 # include <stddef.h>
18076 # include <wchar.h>
18078 #ifdef HAVE_STDLIB_H
18079 # include <stdlib.h>
18084 FILE *f=fopen("conftestval", "w");
18086 fprintf(f, "%i", sizeof(wchar_t));
18091 rm -f conftest
$ac_exeext
18092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18093 (eval $ac_link) 2>&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 wx_cv_sizeof_wchar_t
=`cat conftestval`
18104 echo "$as_me: program exited with status $ac_status" >&5
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.
$ac_ext >&5
18108 ( exit $ac_status )
18109 wx_cv_sizeof_wchar_t
=0
18111 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18115 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18116 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18118 cat >>confdefs.h
<<_ACEOF
18119 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18123 echo "$as_me:$LINENO: checking for va_copy" >&5
18124 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18125 if test "${wx_cv_func_va_copy+set}" = set; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6
18129 cat >conftest.
$ac_ext <<_ACEOF
18131 #include <stdarg.h>
18132 void foo(char *f, ...)
18141 rm -f conftest.
$ac_objext conftest
$ac_exeext
18142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18143 (eval $ac_link) 2>conftest.er1
18145 grep -v '^ *+' conftest.er1
>conftest.err
18147 cat conftest.err
>&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } &&
18150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18152 (eval $ac_try) 2>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); }; } &&
18156 { ac_try
='test -s conftest$ac_exeext'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; }; then
18162 wx_cv_func_va_copy
=yes
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.
$ac_ext >&5
18167 wx_cv_func_va_copy
=no
18170 rm -f conftest.err conftest.
$ac_objext \
18171 conftest
$ac_exeext conftest.
$ac_ext
18175 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18176 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18178 if test $wx_cv_func_va_copy = "yes"; then
18179 cat >>confdefs.h
<<\_ACEOF
18180 #define HAVE_VA_COPY 1
18184 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18185 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18186 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18190 if test "$cross_compiling" = yes; then
18191 wx_cv_type_va_list_lvalue
=yes
18194 cat >conftest.
$ac_ext <<_ACEOF
18196 #include <stdarg.h>
18197 int foo(char *f, ...)
18202 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18210 return foo("hi", 17);
18213 rm -f conftest
$ac_exeext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18215 (eval $ac_link) 2>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 wx_cv_type_va_list_lvalue
=yes
18226 echo "$as_me: program exited with status $ac_status" >&5
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.
$ac_ext >&5
18230 ( exit $ac_status )
18231 wx_cv_type_va_list_lvalue
=no
18233 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18238 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18239 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18241 if test $wx_cv_type_va_list_lvalue != "yes"; then
18242 cat >>confdefs.h
<<\_ACEOF
18243 #define VA_LIST_IS_ARRAY 1
18249 # Check whether --enable-largefile or --disable-largefile was given.
18250 if test "${enable_largefile+set}" = set; then
18251 enableval
="$enable_largefile"
18254 if test "$enable_largefile" != no
; then
18257 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18258 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18259 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18263 cat >conftest.
$ac_ext <<_ACEOF
18266 cat confdefs.h
>>conftest.
$ac_ext
18267 cat >>conftest.
$ac_ext <<_ACEOF
18268 /* end confdefs.h. */
18269 #define _FILE_OFFSET_BITS 64
18270 #include <sys/types.h>
18275 unsigned int field: sizeof(off_t) == 8;
18282 rm -f conftest.
$ac_objext
18283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18284 (eval $ac_compile) 2>conftest.er1
18286 grep -v '^ *+' conftest.er1
>conftest.err
18288 cat conftest.err
>&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); } &&
18291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; } &&
18297 { ac_try
='test -s conftest.$ac_objext'
18298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18299 (eval $ac_try) 2>&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); }; }; then
18303 ac_cv_sys_file_offset_bits
=64
18305 echo "$as_me: failed program was:" >&5
18306 sed 's/^/| /' conftest.
$ac_ext >&5
18308 ac_cv_sys_file_offset_bits
=no
18310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18314 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18315 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18317 if test "$ac_cv_sys_file_offset_bits" != no
; then
18319 cat >>confdefs.h
<<_ACEOF
18320 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18325 if test "x$wx_largefile" != "xyes"; then
18327 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18328 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18329 if test "${ac_cv_sys_large_files+set}" = set; then
18330 echo $ECHO_N "(cached) $ECHO_C" >&6
18333 cat >conftest.
$ac_ext <<_ACEOF
18336 cat confdefs.h
>>conftest.
$ac_ext
18337 cat >>conftest.
$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18339 #define _LARGE_FILES 1
18340 #include <sys/types.h>
18345 unsigned int field: sizeof(off_t) == 8;
18352 rm -f conftest.
$ac_objext
18353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18354 (eval $ac_compile) 2>conftest.er1
18356 grep -v '^ *+' conftest.er1
>conftest.err
18358 cat conftest.err
>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } &&
18361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; } &&
18367 { ac_try
='test -s conftest.$ac_objext'
18368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18369 (eval $ac_try) 2>&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; }; then
18373 ac_cv_sys_large_files
=1
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.
$ac_ext >&5
18378 ac_cv_sys_large_files
=no
18380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18384 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18385 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18387 if test "$ac_cv_sys_large_files" != no
; then
18389 cat >>confdefs.h
<<_ACEOF
18390 #define _LARGE_FILES $ac_cv_sys_large_files
18397 echo "$as_me:$LINENO: checking if large file support is available" >&5
18398 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18399 if test "x$wx_largefile" = "xyes"; then
18400 cat >>confdefs.h
<<\_ACEOF
18401 #define HAVE_LARGEFILE_SUPPORT 1
18405 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18406 echo "${ECHO_T}$wx_largefile" >&6
18410 if test "x$wx_largefile" = "xyes"; then
18411 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18412 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18414 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18416 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18419 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18420 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18421 if test "${ac_cv_c_bigendian+set}" = set; then
18422 echo $ECHO_N "(cached) $ECHO_C" >&6
18424 ac_cv_c_bigendian
=unknown
18425 # See if sys/param.h defines the BYTE_ORDER macro.
18426 cat >conftest.
$ac_ext <<_ACEOF
18429 cat confdefs.h
>>conftest.
$ac_ext
18430 cat >>conftest.
$ac_ext <<_ACEOF
18431 /* end confdefs.h. */
18432 #include <sys/types.h>
18433 #include <sys/param.h>
18438 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18439 bogus endian macros
18445 rm -f conftest.
$ac_objext
18446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18447 (eval $ac_compile) 2>conftest.er1
18449 grep -v '^ *+' conftest.er1
>conftest.err
18451 cat conftest.err
>&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } &&
18454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18456 (eval $ac_try) 2>&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); }; } &&
18460 { ac_try
='test -s conftest.$ac_objext'
18461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462 (eval $ac_try) 2>&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; }; then
18466 # It does; now see whether it defined to BIG_ENDIAN or not.
18467 cat >conftest.
$ac_ext <<_ACEOF
18470 cat confdefs.h
>>conftest.
$ac_ext
18471 cat >>conftest.
$ac_ext <<_ACEOF
18472 /* end confdefs.h. */
18473 #include <sys/types.h>
18474 #include <sys/param.h>
18479 #if BYTE_ORDER != BIG_ENDIAN
18486 rm -f conftest.
$ac_objext
18487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18488 (eval $ac_compile) 2>conftest.er1
18490 grep -v '^ *+' conftest.er1
>conftest.err
18492 cat conftest.err
>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); } &&
18495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; } &&
18501 { ac_try
='test -s conftest.$ac_objext'
18502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18503 (eval $ac_try) 2>&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); }; }; then
18507 ac_cv_c_bigendian
=yes
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.
$ac_ext >&5
18512 ac_cv_c_bigendian
=no
18514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18516 echo "$as_me: failed program was:" >&5
18517 sed 's/^/| /' conftest.
$ac_ext >&5
18520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18521 if test $ac_cv_c_bigendian = unknown
; then
18522 if test "$cross_compiling" = yes; then
18523 ac_cv_c_bigendian
=unknown
18525 cat >conftest.
$ac_ext <<_ACEOF
18528 cat confdefs.h
>>conftest.
$ac_ext
18529 cat >>conftest.
$ac_ext <<_ACEOF
18530 /* end confdefs.h. */
18532 /* Are we little or big endian? From Harbison&Steele. */
18536 char c[sizeof (long)];
18539 exit (u.c[sizeof (long) - 1] == 1);
18542 rm -f conftest
$ac_exeext
18543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18544 (eval $ac_link) 2>&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549 (eval $ac_try) 2>&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }; }; then
18553 ac_cv_c_bigendian
=no
18555 echo "$as_me: program exited with status $ac_status" >&5
18556 echo "$as_me: failed program was:" >&5
18557 sed 's/^/| /' conftest.
$ac_ext >&5
18559 ( exit $ac_status )
18560 ac_cv_c_bigendian
=yes
18562 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18566 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18567 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18568 if test $ac_cv_c_bigendian = unknown
; then
18569 { 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
18570 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;}
18572 if test $ac_cv_c_bigendian = yes; then
18573 cat >>confdefs.h
<<\_ACEOF
18574 #define WORDS_BIGENDIAN 1
18581 ac_cpp
='$CXXCPP $CPPFLAGS'
18582 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18583 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18584 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18585 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18586 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18587 if test -z "$CXXCPP"; then
18588 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18589 echo $ECHO_N "(cached) $ECHO_C" >&6
18591 # Double quotes because CXXCPP needs to be expanded
18592 for CXXCPP
in "$CXX -E" "/lib/cpp"
18594 ac_preproc_ok
=false
18595 for ac_cxx_preproc_warn_flag
in '' yes
18597 # Use a header file that comes with gcc, so configuring glibc
18598 # with a fresh cross-compiler works.
18599 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18600 # <limits.h> exists even on freestanding compilers.
18601 # On the NeXT, cc -E runs the code through the compiler's parser,
18602 # not just through cpp. "Syntax error" is here to catch this case.
18603 cat >conftest.
$ac_ext <<_ACEOF
18606 cat confdefs.h
>>conftest.
$ac_ext
18607 cat >>conftest.
$ac_ext <<_ACEOF
18608 /* end confdefs.h. */
18610 # include <limits.h>
18612 # include <assert.h>
18616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18617 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18619 grep -v '^ *+' conftest.er1
>conftest.err
18621 cat conftest.err
>&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } >/dev
/null
; then
18624 if test -s conftest.err
; then
18625 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18626 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18633 if test -z "$ac_cpp_err"; then
18636 echo "$as_me: failed program was:" >&5
18637 sed 's/^/| /' conftest.
$ac_ext >&5
18639 # Broken: fails on valid input.
18642 rm -f conftest.err conftest.
$ac_ext
18644 # OK, works on sane cases. Now check whether non-existent headers
18645 # can be detected and how.
18646 cat >conftest.
$ac_ext <<_ACEOF
18649 cat confdefs.h
>>conftest.
$ac_ext
18650 cat >>conftest.
$ac_ext <<_ACEOF
18651 /* end confdefs.h. */
18652 #include <ac_nonexistent.h>
18654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18655 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18657 grep -v '^ *+' conftest.er1
>conftest.err
18659 cat conftest.err
>&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } >/dev
/null
; then
18662 if test -s conftest.err
; then
18663 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18664 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18671 if test -z "$ac_cpp_err"; then
18672 # Broken: success on invalid input.
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.
$ac_ext >&5
18678 # Passes both tests.
18682 rm -f conftest.err conftest.
$ac_ext
18685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18686 rm -f conftest.err conftest.
$ac_ext
18687 if $ac_preproc_ok; then
18692 ac_cv_prog_CXXCPP
=$CXXCPP
18695 CXXCPP
=$ac_cv_prog_CXXCPP
18697 ac_cv_prog_CXXCPP
=$CXXCPP
18699 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18700 echo "${ECHO_T}$CXXCPP" >&6
18701 ac_preproc_ok
=false
18702 for ac_cxx_preproc_warn_flag
in '' yes
18704 # Use a header file that comes with gcc, so configuring glibc
18705 # with a fresh cross-compiler works.
18706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18707 # <limits.h> exists even on freestanding compilers.
18708 # On the NeXT, cc -E runs the code through the compiler's parser,
18709 # not just through cpp. "Syntax error" is here to catch this case.
18710 cat >conftest.
$ac_ext <<_ACEOF
18713 cat confdefs.h
>>conftest.
$ac_ext
18714 cat >>conftest.
$ac_ext <<_ACEOF
18715 /* end confdefs.h. */
18717 # include <limits.h>
18719 # include <assert.h>
18723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18724 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18726 grep -v '^ *+' conftest.er1
>conftest.err
18728 cat conftest.err
>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } >/dev
/null
; then
18731 if test -s conftest.err
; then
18732 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18733 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18740 if test -z "$ac_cpp_err"; then
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.
$ac_ext >&5
18746 # Broken: fails on valid input.
18749 rm -f conftest.err conftest.
$ac_ext
18751 # OK, works on sane cases. Now check whether non-existent headers
18752 # can be detected and how.
18753 cat >conftest.
$ac_ext <<_ACEOF
18756 cat confdefs.h
>>conftest.
$ac_ext
18757 cat >>conftest.
$ac_ext <<_ACEOF
18758 /* end confdefs.h. */
18759 #include <ac_nonexistent.h>
18761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18764 grep -v '^ *+' conftest.er1
>conftest.err
18766 cat conftest.err
>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); } >/dev
/null
; then
18769 if test -s conftest.err
; then
18770 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18771 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18778 if test -z "$ac_cpp_err"; then
18779 # Broken: success on invalid input.
18782 echo "$as_me: failed program was:" >&5
18783 sed 's/^/| /' conftest.
$ac_ext >&5
18785 # Passes both tests.
18789 rm -f conftest.err conftest.
$ac_ext
18792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18793 rm -f conftest.err conftest.
$ac_ext
18794 if $ac_preproc_ok; then
18797 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18798 See \`config.log' for more details." >&5
18799 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18800 See \`config.log' for more details." >&2;}
18801 { (exit 1); exit 1; }; }
18805 ac_cpp
='$CXXCPP $CPPFLAGS'
18806 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18807 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18808 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18815 ac_cpp
='$CXXCPP $CPPFLAGS'
18816 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18817 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18822 for ac_header
in iostream
18824 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18826 echo "$as_me:$LINENO: checking for $ac_header" >&5
18827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18829 echo $ECHO_N "(cached) $ECHO_C" >&6
18831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18834 # Is the header compilable?
18835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18837 cat >conftest.
$ac_ext <<_ACEOF
18840 cat confdefs.h
>>conftest.
$ac_ext
18841 cat >>conftest.
$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18843 $ac_includes_default
18844 #include <$ac_header>
18846 rm -f conftest.
$ac_objext
18847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18848 (eval $ac_compile) 2>conftest.er1
18850 grep -v '^ *+' conftest.er1
>conftest.err
18852 cat conftest.err
>&5
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); } &&
18855 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18857 (eval $ac_try) 2>&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); }; } &&
18861 { ac_try
='test -s conftest.$ac_objext'
18862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18863 (eval $ac_try) 2>&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); }; }; then
18867 ac_header_compiler
=yes
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.
$ac_ext >&5
18872 ac_header_compiler
=no
18874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18876 echo "${ECHO_T}$ac_header_compiler" >&6
18878 # Is the header present?
18879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18881 cat >conftest.
$ac_ext <<_ACEOF
18884 cat confdefs.h
>>conftest.
$ac_ext
18885 cat >>conftest.
$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18887 #include <$ac_header>
18889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18890 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18892 grep -v '^ *+' conftest.er1
>conftest.err
18894 cat conftest.err
>&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } >/dev
/null
; then
18897 if test -s conftest.err
; then
18898 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18899 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18906 if test -z "$ac_cpp_err"; then
18907 ac_header_preproc
=yes
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.
$ac_ext >&5
18912 ac_header_preproc
=no
18914 rm -f conftest.err conftest.
$ac_ext
18915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18916 echo "${ECHO_T}$ac_header_preproc" >&6
18918 # So? What about this header?
18919 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18925 ac_header_preproc
=yes
18928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18942 ## ----------------------------------------- ##
18943 ## Report this to wx-dev@lists.wxwidgets.org ##
18944 ## ----------------------------------------- ##
18947 sed "s/^/$as_me: WARNING: /" >&2
18950 echo "$as_me:$LINENO: checking for $ac_header" >&5
18951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18953 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 eval "$as_ac_Header=\$ac_header_preproc"
18957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18962 cat >>confdefs.h
<<_ACEOF
18963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18971 if test "$ac_cv_header_iostream" = "yes" ; then
18974 cat >>confdefs.h
<<\_ACEOF
18975 #define wxUSE_IOSTREAMH 1
18981 ac_cpp
='$CPP $CPPFLAGS'
18982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18989 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18990 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18991 if test "${wx_cv_cpp_bool+set}" = set; then
18992 echo $ECHO_N "(cached) $ECHO_C" >&6
18998 ac_cpp
='$CXXCPP $CPPFLAGS'
18999 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19000 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19001 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19004 cat >conftest.
$ac_ext <<_ACEOF
19007 cat confdefs.h
>>conftest.
$ac_ext
19008 cat >>conftest.
$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19024 rm -f conftest.
$ac_objext
19025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19026 (eval $ac_compile) 2>conftest.er1
19028 grep -v '^ *+' conftest.er1
>conftest.err
19030 cat conftest.err
>&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } &&
19033 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; } &&
19039 { ac_try
='test -s conftest.$ac_objext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19049 echo "$as_me: failed program was:" >&5
19050 sed 's/^/| /' conftest.
$ac_ext >&5
19057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19060 ac_cpp
='$CPP $CPPFLAGS'
19061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19067 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19068 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19070 if test "$wx_cv_cpp_bool" = "yes"; then
19071 cat >>confdefs.h
<<\_ACEOF
19072 #define HAVE_BOOL 1
19079 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19080 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19081 if test "${wx_cv_explicit+set}" = set; then
19082 echo $ECHO_N "(cached) $ECHO_C" >&6
19088 ac_cpp
='$CXXCPP $CPPFLAGS'
19089 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19090 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19091 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19094 cat >conftest.
$ac_ext <<_ACEOF
19097 cat confdefs.h
>>conftest.
$ac_ext
19098 cat >>conftest.
$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19101 class Foo { public: explicit Foo(int) {} };
19113 rm -f conftest.
$ac_objext
19114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19115 (eval $ac_compile) 2>conftest.er1
19117 grep -v '^ *+' conftest.er1
>conftest.err
19119 cat conftest.err
>&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); } &&
19122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19124 (eval $ac_try) 2>&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); }; } &&
19128 { ac_try
='test -s conftest.$ac_objext'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; }; then
19135 cat >conftest.
$ac_ext <<_ACEOF
19138 cat confdefs.h
>>conftest.
$ac_ext
19139 cat >>conftest.
$ac_ext <<_ACEOF
19140 /* end confdefs.h. */
19142 class Foo { public: explicit Foo(int) {} };
19143 static void TakeFoo(const Foo& foo) { }
19156 rm -f conftest.
$ac_objext
19157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19158 (eval $ac_compile) 2>conftest.er1
19160 grep -v '^ *+' conftest.er1
>conftest.err
19162 cat conftest.err
>&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); } &&
19165 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19167 (eval $ac_try) 2>&5
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); }; } &&
19171 { ac_try
='test -s conftest.$ac_objext'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; }; then
19179 echo "$as_me: failed program was:" >&5
19180 sed 's/^/| /' conftest.
$ac_ext >&5
19185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19188 echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.
$ac_ext >&5
19194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19197 ac_cpp
='$CPP $CPPFLAGS'
19198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19204 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19205 echo "${ECHO_T}$wx_cv_explicit" >&6
19207 if test "$wx_cv_explicit" = "yes"; then
19208 cat >>confdefs.h
<<\_ACEOF
19209 #define HAVE_EXPLICIT 1
19215 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19216 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19217 if test "${ac_cv_cxx_const_cast+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19223 ac_cpp
='$CXXCPP $CPPFLAGS'
19224 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19225 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19226 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19228 cat >conftest.
$ac_ext <<_ACEOF
19231 cat confdefs.h
>>conftest.
$ac_ext
19232 cat >>conftest.
$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19238 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19243 rm -f conftest.
$ac_objext
19244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19245 (eval $ac_compile) 2>conftest.er1
19247 grep -v '^ *+' conftest.er1
>conftest.err
19249 cat conftest.err
>&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); } &&
19252 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19254 (eval $ac_try) 2>&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); }; } &&
19258 { ac_try
='test -s conftest.$ac_objext'
19259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19260 (eval $ac_try) 2>&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); }; }; then
19264 ac_cv_cxx_const_cast
=yes
19266 echo "$as_me: failed program was:" >&5
19267 sed 's/^/| /' conftest.
$ac_ext >&5
19269 ac_cv_cxx_const_cast
=no
19271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19273 ac_cpp
='$CPP $CPPFLAGS'
19274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19280 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19281 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19282 if test "$ac_cv_cxx_const_cast" = yes; then
19284 cat >>confdefs.h
<<\_ACEOF
19285 #define HAVE_CONST_CAST
19290 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19291 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19292 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19293 echo $ECHO_N "(cached) $ECHO_C" >&6
19298 ac_cpp
='$CXXCPP $CPPFLAGS'
19299 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19300 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19301 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19303 cat >conftest.
$ac_ext <<_ACEOF
19306 cat confdefs.h
>>conftest.
$ac_ext
19307 cat >>conftest.
$ac_ext <<_ACEOF
19308 /* end confdefs.h. */
19309 #include <typeinfo>
19310 class Base { public : Base () {} virtual void f () = 0;};
19311 class Derived : public Base { public : Derived () {} virtual void f () {} };
19312 class Unrelated { public : Unrelated () {} };
19313 int g (Unrelated&) { return 0; }
19318 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19323 rm -f conftest.
$ac_objext
19324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19325 (eval $ac_compile) 2>conftest.er1
19327 grep -v '^ *+' conftest.er1
>conftest.err
19329 cat conftest.err
>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); } &&
19332 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19334 (eval $ac_try) 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; } &&
19338 { ac_try
='test -s conftest.$ac_objext'
19339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19340 (eval $ac_try) 2>&5
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); }; }; then
19344 ac_cv_cxx_reinterpret_cast
=yes
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.
$ac_ext >&5
19349 ac_cv_cxx_reinterpret_cast
=no
19351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19353 ac_cpp
='$CPP $CPPFLAGS'
19354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19360 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19361 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19362 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19364 cat >>confdefs.h
<<\_ACEOF
19365 #define HAVE_REINTERPRET_CAST
19370 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19371 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19372 if test "${ac_cv_cxx_static_cast+set}" = set; then
19373 echo $ECHO_N "(cached) $ECHO_C" >&6
19378 ac_cpp
='$CXXCPP $CPPFLAGS'
19379 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19380 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19381 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19383 cat >conftest.
$ac_ext <<_ACEOF
19386 cat confdefs.h
>>conftest.
$ac_ext
19387 cat >>conftest.
$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19389 #include <typeinfo>
19390 class Base { public : Base () {} virtual void f () = 0; };
19391 class Derived : public Base { public : Derived () {} virtual void f () {} };
19392 int g (Derived&) { return 0; }
19397 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19402 rm -f conftest.
$ac_objext
19403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19404 (eval $ac_compile) 2>conftest.er1
19406 grep -v '^ *+' conftest.er1
>conftest.err
19408 cat conftest.err
>&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } &&
19411 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); }; } &&
19417 { ac_try
='test -s conftest.$ac_objext'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; }; then
19423 ac_cv_cxx_static_cast
=yes
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.
$ac_ext >&5
19428 ac_cv_cxx_static_cast
=no
19430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19432 ac_cpp
='$CPP $CPPFLAGS'
19433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19439 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19440 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19441 if test "$ac_cv_cxx_static_cast" = yes; then
19443 cat >>confdefs.h
<<\_ACEOF
19444 #define HAVE_STATIC_CAST
19450 if test "$wxUSE_STL" = "yes"; then
19452 ac_cpp
='$CXXCPP $CPPFLAGS'
19453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19458 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19459 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19460 cat >conftest.
$ac_ext <<_ACEOF
19463 cat confdefs.h
>>conftest.
$ac_ext
19464 cat >>conftest.
$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19467 #include <functional>
19468 #include <algorithm>
19474 std::vector<int> moo;
19475 std::list<int> foo;
19476 std::vector<int>::iterator it =
19477 std::find_if(moo.begin(), moo.end(),
19478 std::bind2nd(std::less<int>(), 3));
19483 rm -f conftest.
$ac_objext
19484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19485 (eval $ac_compile) 2>conftest.er1
19487 grep -v '^ *+' conftest.er1
>conftest.err
19489 cat conftest.err
>&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); } &&
19492 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19494 (eval $ac_try) 2>&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); }; } &&
19498 { ac_try
='test -s conftest.$ac_objext'
19499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19500 (eval $ac_try) 2>&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); }; }; then
19504 echo "$as_me:$LINENO: result: yes" >&5
19505 echo "${ECHO_T}yes" >&6
19507 echo "$as_me: failed program was:" >&5
19508 sed 's/^/| /' conftest.
$ac_ext >&5
19510 echo "$as_me:$LINENO: result: no" >&5
19511 echo "${ECHO_T}no" >&6
19512 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19513 echo "$as_me: error: Basic STL functionality missing" >&2;}
19514 { (exit 1); exit 1; }; }
19516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19518 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19519 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19520 cat >conftest.
$ac_ext <<_ACEOF
19523 cat confdefs.h
>>conftest.
$ac_ext
19524 cat >>conftest.
$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19535 rm -f conftest.
$ac_objext
19536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19537 (eval $ac_compile) 2>conftest.er1
19539 grep -v '^ *+' conftest.er1
>conftest.err
19541 cat conftest.err
>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); } &&
19544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; } &&
19550 { ac_try
='test -s conftest.$ac_objext'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; }; then
19556 echo "$as_me:$LINENO: result: yes" >&5
19557 echo "${ECHO_T}yes" >&6
19558 cat >>confdefs.h
<<\_ACEOF
19559 #define HAVE_STD_WSTRING 1
19563 echo "$as_me: failed program was:" >&5
19564 sed 's/^/| /' conftest.
$ac_ext >&5
19566 echo "$as_me:$LINENO: result: no" >&5
19567 echo "${ECHO_T}no" >&6
19569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19571 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19572 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19573 cat >conftest.
$ac_ext <<_ACEOF
19576 cat confdefs.h
>>conftest.
$ac_ext
19577 cat >>conftest.
$ac_ext <<_ACEOF
19578 /* end confdefs.h. */
19583 std::string foo, bar;
19585 foo.compare(1, 1, bar);
19586 foo.compare(1, 1, bar, 1, 1);
19588 foo.compare(1, 1, "");
19589 foo.compare(1, 1, "", 2);
19594 rm -f conftest.
$ac_objext
19595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19596 (eval $ac_compile) 2>conftest.er1
19598 grep -v '^ *+' conftest.er1
>conftest.err
19600 cat conftest.err
>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } &&
19603 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19605 (eval $ac_try) 2>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); }; } &&
19609 { ac_try
='test -s conftest.$ac_objext'
19610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19611 (eval $ac_try) 2>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); }; }; then
19615 echo "$as_me:$LINENO: result: yes" >&5
19616 echo "${ECHO_T}yes" >&6
19617 cat >>confdefs.h
<<\_ACEOF
19618 #define HAVE_STD_STRING_COMPARE 1
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.
$ac_ext >&5
19625 echo "$as_me:$LINENO: result: no" >&5
19626 echo "${ECHO_T}no" >&6
19628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19630 if test "${ac_cv_header_hash_map+set}" = set; then
19631 echo "$as_me:$LINENO: checking for hash_map" >&5
19632 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19633 if test "${ac_cv_header_hash_map+set}" = set; then
19634 echo $ECHO_N "(cached) $ECHO_C" >&6
19636 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19637 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19639 # Is the header compilable?
19640 echo "$as_me:$LINENO: checking hash_map usability" >&5
19641 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19642 cat >conftest.
$ac_ext <<_ACEOF
19645 cat confdefs.h
>>conftest.
$ac_ext
19646 cat >>conftest.
$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 $ac_includes_default
19649 #include <hash_map>
19651 rm -f conftest.
$ac_objext
19652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19653 (eval $ac_compile) 2>conftest.er1
19655 grep -v '^ *+' conftest.er1
>conftest.err
19657 cat conftest.err
>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19662 (eval $ac_try) 2>&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); }; } &&
19666 { ac_try
='test -s conftest.$ac_objext'
19667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19668 (eval $ac_try) 2>&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); }; }; then
19672 ac_header_compiler
=yes
19674 echo "$as_me: failed program was:" >&5
19675 sed 's/^/| /' conftest.
$ac_ext >&5
19677 ac_header_compiler
=no
19679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19681 echo "${ECHO_T}$ac_header_compiler" >&6
19683 # Is the header present?
19684 echo "$as_me:$LINENO: checking hash_map presence" >&5
19685 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19686 cat >conftest.
$ac_ext <<_ACEOF
19689 cat confdefs.h
>>conftest.
$ac_ext
19690 cat >>conftest.
$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 #include <hash_map>
19694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19695 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19697 grep -v '^ *+' conftest.er1
>conftest.err
19699 cat conftest.err
>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } >/dev
/null
; then
19702 if test -s conftest.err
; then
19703 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19704 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19711 if test -z "$ac_cpp_err"; then
19712 ac_header_preproc
=yes
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.
$ac_ext >&5
19717 ac_header_preproc
=no
19719 rm -f conftest.err conftest.
$ac_ext
19720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19721 echo "${ECHO_T}$ac_header_preproc" >&6
19723 # So? What about this header?
19724 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19726 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19727 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19728 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19729 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19730 ac_header_preproc
=yes
19733 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19734 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19735 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19736 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19737 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19738 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19739 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19740 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19741 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19742 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19743 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19744 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19747 ## ----------------------------------------- ##
19748 ## Report this to wx-dev@lists.wxwidgets.org ##
19749 ## ----------------------------------------- ##
19752 sed "s/^/$as_me: WARNING: /" >&2
19755 echo "$as_me:$LINENO: checking for hash_map" >&5
19756 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19757 if test "${ac_cv_header_hash_map+set}" = set; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19760 ac_cv_header_hash_map
=$ac_header_preproc
19762 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19763 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19766 if test $ac_cv_header_hash_map = yes; then
19767 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19768 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19769 cat >conftest.
$ac_ext <<_ACEOF
19772 cat confdefs.h
>>conftest.
$ac_ext
19773 cat >>conftest.
$ac_ext <<_ACEOF
19774 /* end confdefs.h. */
19775 #include <hash_map>
19776 #include <hash_set>
19780 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19781 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19786 rm -f conftest.
$ac_objext
19787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19788 (eval $ac_compile) 2>conftest.er1
19790 grep -v '^ *+' conftest.er1
>conftest.err
19792 cat conftest.err
>&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); } &&
19795 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19801 { ac_try
='test -s conftest.$ac_objext'
19802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19803 (eval $ac_try) 2>&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); }; }; then
19807 echo "$as_me:$LINENO: result: yes" >&5
19808 echo "${ECHO_T}yes" >&6
19809 cat >>confdefs.h
<<\_ACEOF
19810 #define HAVE_HASH_MAP 1
19813 cat >>confdefs.h
<<\_ACEOF
19814 #define HAVE_STD_HASH_MAP 1
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.
$ac_ext >&5
19821 echo "$as_me:$LINENO: result: no" >&5
19822 echo "${ECHO_T}no" >&6
19824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19830 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19831 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19832 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19833 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19834 echo $ECHO_N "(cached) $ECHO_C" >&6
19836 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19837 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19839 # Is the header compilable?
19840 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19841 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19842 cat >conftest.
$ac_ext <<_ACEOF
19845 cat confdefs.h
>>conftest.
$ac_ext
19846 cat >>conftest.
$ac_ext <<_ACEOF
19847 /* end confdefs.h. */
19848 $ac_includes_default
19849 #include <ext/hash_map>
19851 rm -f conftest.
$ac_objext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19853 (eval $ac_compile) 2>conftest.er1
19855 grep -v '^ *+' conftest.er1
>conftest.err
19857 cat conftest.err
>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19862 (eval $ac_try) 2>&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); }; } &&
19866 { ac_try
='test -s conftest.$ac_objext'
19867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19868 (eval $ac_try) 2>&5
19870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19871 (exit $ac_status); }; }; then
19872 ac_header_compiler
=yes
19874 echo "$as_me: failed program was:" >&5
19875 sed 's/^/| /' conftest.
$ac_ext >&5
19877 ac_header_compiler
=no
19879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19880 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19881 echo "${ECHO_T}$ac_header_compiler" >&6
19883 # Is the header present?
19884 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19885 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19886 cat >conftest.
$ac_ext <<_ACEOF
19889 cat confdefs.h
>>conftest.
$ac_ext
19890 cat >>conftest.
$ac_ext <<_ACEOF
19891 /* end confdefs.h. */
19892 #include <ext/hash_map>
19894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19895 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19897 grep -v '^ *+' conftest.er1
>conftest.err
19899 cat conftest.err
>&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); } >/dev
/null
; then
19902 if test -s conftest.err
; then
19903 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19904 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19911 if test -z "$ac_cpp_err"; then
19912 ac_header_preproc
=yes
19914 echo "$as_me: failed program was:" >&5
19915 sed 's/^/| /' conftest.
$ac_ext >&5
19917 ac_header_preproc
=no
19919 rm -f conftest.err conftest.
$ac_ext
19920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19921 echo "${ECHO_T}$ac_header_preproc" >&6
19923 # So? What about this header?
19924 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19926 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19927 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19928 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19929 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19930 ac_header_preproc
=yes
19933 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19934 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19935 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19936 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19937 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19938 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19939 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19940 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19941 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19942 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19943 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19944 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19947 ## ----------------------------------------- ##
19948 ## Report this to wx-dev@lists.wxwidgets.org ##
19949 ## ----------------------------------------- ##
19952 sed "s/^/$as_me: WARNING: /" >&2
19955 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19956 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19957 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19958 echo $ECHO_N "(cached) $ECHO_C" >&6
19960 ac_cv_header_ext_hash_map
=$ac_header_preproc
19962 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19963 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19966 if test $ac_cv_header_ext_hash_map = yes; then
19967 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19968 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19969 cat >conftest.
$ac_ext <<_ACEOF
19972 cat confdefs.h
>>conftest.
$ac_ext
19973 cat >>conftest.
$ac_ext <<_ACEOF
19974 /* end confdefs.h. */
19975 #include <ext/hash_map>
19976 #include <ext/hash_set>
19980 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19981 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19986 rm -f conftest.
$ac_objext
19987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19988 (eval $ac_compile) 2>conftest.er1
19990 grep -v '^ *+' conftest.er1
>conftest.err
19992 cat conftest.err
>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); } &&
19995 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; } &&
20001 { ac_try
='test -s conftest.$ac_objext'
20002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003 (eval $ac_try) 2>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; }; then
20007 echo "$as_me:$LINENO: result: yes" >&5
20008 echo "${ECHO_T}yes" >&6
20009 cat >>confdefs.h
<<\_ACEOF
20010 #define HAVE_EXT_HASH_MAP 1
20013 cat >>confdefs.h
<<\_ACEOF
20014 #define HAVE_GNU_CXX_HASH_MAP 1
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.
$ac_ext >&5
20021 echo "$as_me:$LINENO: result: no" >&5
20022 echo "${ECHO_T}no" >&6
20024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20031 ac_cpp
='$CPP $CPPFLAGS'
20032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20040 /usr/local/include \
20042 /usr/Motif-2.1/include \
20043 /usr/Motif-1.2/include \
20044 /usr/include/Motif1.2 \
20045 /opt/xpm/include/X11 \
20046 /opt/GBxpm/include/ \
20047 /opt/GBxpm/X11/include/ \
20050 /usr/openwin/include \
20054 /usr/X11R6/include \
20055 /usr/X11R6.4/include \
20056 /usr/X11R5/include \
20057 /usr/X11R4/include \
20059 /usr/include/X11R6 \
20060 /usr/include/X11R5 \
20061 /usr/include/X11R4 \
20063 /usr/local/X11R6/include \
20064 /usr/local/X11R5/include \
20065 /usr/local/X11R4/include \
20067 /usr/local/include/X11R6 \
20068 /usr/local/include/X11R5 \
20069 /usr/local/include/X11R4 \
20073 /usr/local/X11/include \
20074 /usr/local/include/X11 \
20076 /usr/X386/include \
20077 /usr/x386/include \
20078 /usr/XFree86/include/X11 \
20080 X:/XFree86/include \
20081 X:/XFree86/include/X11 \
20084 /usr/local/include/gtk \
20085 /usr/include/glib \
20086 /usr/local/include/glib \
20089 /usr/local/include/qt \
20091 /usr/local/arm/3.3.2/include \
20093 /usr/include/windows \
20094 /usr/include/wine \
20095 /usr/local/include/wine \
20097 /usr/unsupported/include \
20098 /usr/athena/include \
20099 /usr/local/x11r5/include \
20100 /usr/lpp/Xamples/include \
20102 /usr/openwin/share/include"
20104 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20107 cat >confcache
<<\_ACEOF
20108 # This file is a shell script that caches the results of configure
20109 # tests run on this system so they can be shared between configure
20110 # scripts and configure runs, see configure's option --config-cache.
20111 # It is not useful on other systems. If it contains results you don't
20112 # want to keep, you may remove or edit it.
20114 # config.status only pays attention to the cache file if you give it
20115 # the --recheck option to rerun configure.
20117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20119 # following values.
20123 # The following way of writing the cache mishandles newlines in values,
20124 # but we know of no workaround that is simple, portable, and efficient.
20125 # So, don't put newlines in cache variables' values.
20126 # Ultrix sh set writes to stderr and can't be redirected directly,
20127 # and sets the high bit in the cache file unless we assign to the vars.
20130 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20132 # `set' does not quote correctly, so add quotes (double-quote
20133 # substitution turns \\\\ into \\, and sed turns \\ into \).
20136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20139 # `set' quotes correctly as required by POSIX, so do not add quotes.
20141 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20148 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20150 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20152 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20153 if test -w $cache_file; then
20154 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20155 cat confcache
>$cache_file
20157 echo "not updating unwritable cache $cache_file"
20162 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20163 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20164 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20165 if test "${wx_cv_lib_glibc21+set}" = set; then
20166 echo $ECHO_N "(cached) $ECHO_C" >&6
20169 cat >conftest.
$ac_ext <<_ACEOF
20172 cat confdefs.h
>>conftest.
$ac_ext
20173 cat >>conftest.
$ac_ext <<_ACEOF
20174 /* end confdefs.h. */
20175 #include <features.h>
20180 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20181 #error not glibc2.1
20188 rm -f conftest.
$ac_objext
20189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20190 (eval $ac_compile) 2>conftest.er1
20192 grep -v '^ *+' conftest.er1
>conftest.err
20194 cat conftest.err
>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } &&
20197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; } &&
20203 { ac_try
='test -s conftest.$ac_objext'
20204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20205 (eval $ac_try) 2>&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); }; }; then
20210 wx_cv_lib_glibc21
=yes
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.
$ac_ext >&5
20217 wx_cv_lib_glibc21
=no
20221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20224 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20225 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20226 if test "$wx_cv_lib_glibc21" = "yes"; then
20227 cat >>confdefs.h
<<\_ACEOF
20228 #define wxHAVE_GLIBC2 1
20234 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20235 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20236 cat >>confdefs.h
<<\_ACEOF
20237 #define _GNU_SOURCE 1
20245 if test "$wxUSE_REGEX" != "no"; then
20246 cat >>confdefs.h
<<\_ACEOF
20247 #define wxUSE_REGEX 1
20251 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20252 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20253 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20254 wxUSE_REGEX
=builtin
20257 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20258 if test "${ac_cv_header_regex_h+set}" = set; then
20259 echo "$as_me:$LINENO: checking for regex.h" >&5
20260 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20261 if test "${ac_cv_header_regex_h+set}" = set; then
20262 echo $ECHO_N "(cached) $ECHO_C" >&6
20264 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20265 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20267 # Is the header compilable?
20268 echo "$as_me:$LINENO: checking regex.h usability" >&5
20269 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20270 cat >conftest.
$ac_ext <<_ACEOF
20273 cat confdefs.h
>>conftest.
$ac_ext
20274 cat >>conftest.
$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20276 $ac_includes_default
20279 rm -f conftest.
$ac_objext
20280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20281 (eval $ac_compile) 2>conftest.er1
20283 grep -v '^ *+' conftest.er1
>conftest.err
20285 cat conftest.err
>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); } &&
20288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 (eval $ac_try) 2>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; } &&
20294 { ac_try
='test -s conftest.$ac_objext'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; }; then
20300 ac_header_compiler
=yes
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.
$ac_ext >&5
20305 ac_header_compiler
=no
20307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20309 echo "${ECHO_T}$ac_header_compiler" >&6
20311 # Is the header present?
20312 echo "$as_me:$LINENO: checking regex.h presence" >&5
20313 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20314 cat >conftest.
$ac_ext <<_ACEOF
20317 cat confdefs.h
>>conftest.
$ac_ext
20318 cat >>conftest.
$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20323 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20325 grep -v '^ *+' conftest.er1
>conftest.err
20327 cat conftest.err
>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); } >/dev
/null
; then
20330 if test -s conftest.err
; then
20331 ac_cpp_err
=$ac_c_preproc_warn_flag
20332 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20339 if test -z "$ac_cpp_err"; then
20340 ac_header_preproc
=yes
20342 echo "$as_me: failed program was:" >&5
20343 sed 's/^/| /' conftest.
$ac_ext >&5
20345 ac_header_preproc
=no
20347 rm -f conftest.err conftest.
$ac_ext
20348 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20349 echo "${ECHO_T}$ac_header_preproc" >&6
20351 # So? What about this header?
20352 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20354 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20355 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20356 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20357 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20358 ac_header_preproc
=yes
20361 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20362 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20363 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20364 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20365 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20366 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20367 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20368 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20369 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20370 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20371 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20372 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20375 ## ----------------------------------------- ##
20376 ## Report this to wx-dev@lists.wxwidgets.org ##
20377 ## ----------------------------------------- ##
20380 sed "s/^/$as_me: WARNING: /" >&2
20383 echo "$as_me:$LINENO: checking for regex.h" >&5
20384 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20385 if test "${ac_cv_header_regex_h+set}" = set; then
20386 echo $ECHO_N "(cached) $ECHO_C" >&6
20388 ac_cv_header_regex_h
=$ac_header_preproc
20390 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20391 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20394 if test $ac_cv_header_regex_h = yes; then
20396 for ac_func
in regcomp
20398 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20399 echo "$as_me:$LINENO: checking for $ac_func" >&5
20400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20401 if eval "test \"\${$as_ac_var+set}\" = set"; then
20402 echo $ECHO_N "(cached) $ECHO_C" >&6
20404 cat >conftest.
$ac_ext <<_ACEOF
20407 cat confdefs.h
>>conftest.
$ac_ext
20408 cat >>conftest.
$ac_ext <<_ACEOF
20409 /* end confdefs.h. */
20410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20412 #define $ac_func innocuous_$ac_func
20414 /* System header to define __stub macros and hopefully few prototypes,
20415 which can conflict with char $ac_func (); below.
20416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20417 <limits.h> exists even on freestanding compilers. */
20420 # include <limits.h>
20422 # include <assert.h>
20427 /* Override any gcc2 internal prototype to avoid an error. */
20432 /* We use char because int might match the return type of a gcc2
20433 builtin and then its argument prototype would still apply. */
20435 /* The GNU C library defines this for functions which it implements
20436 to always fail with ENOSYS. Some functions are actually named
20437 something starting with __ and the normal name is an alias. */
20438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20441 char (*f) () = $ac_func;
20450 return f != $ac_func;
20455 rm -f conftest.
$ac_objext conftest
$ac_exeext
20456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20457 (eval $ac_link) 2>conftest.er1
20459 grep -v '^ *+' conftest.er1
>conftest.err
20461 cat conftest.err
>&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); } &&
20464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; } &&
20470 { ac_try
='test -s conftest$ac_exeext'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20476 eval "$as_ac_var=yes"
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.
$ac_ext >&5
20481 eval "$as_ac_var=no"
20483 rm -f conftest.err conftest.
$ac_objext \
20484 conftest
$ac_exeext conftest.
$ac_ext
20486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20488 if test `eval echo '${'$as_ac_var'}'` = yes; then
20489 cat >>confdefs.h
<<_ACEOF
20490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20500 if test "x$ac_cv_func_regcomp" != "xyes"; then
20501 if test "$wxUSE_REGEX" = "sys" ; then
20502 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20503 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20504 { (exit 1); exit 1; }; }
20506 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20507 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20508 wxUSE_REGEX
=builtin
20512 cat >>confdefs.h
<<\_ACEOF
20513 #define WX_NO_REGEX_ADVANCED 1
20522 if test "$wxUSE_ZLIB" != "no" ; then
20523 cat >>confdefs.h
<<\_ACEOF
20524 #define wxUSE_ZLIB 1
20528 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20529 if test "$USE_DARWIN" = 1; then
20530 system_zlib_h_ok
="yes"
20532 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20533 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20534 if test "${ac_cv_header_zlib_h+set}" = set; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 if test "$cross_compiling" = yes; then
20538 unset ac_cv_header_zlib_h
20541 cat >conftest.
$ac_ext <<_ACEOF
20544 cat confdefs.h
>>conftest.
$ac_ext
20545 cat >>conftest.
$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20553 FILE *f=fopen("conftestval", "w");
20556 ZLIB_VERSION[0] == '1' &&
20557 (ZLIB_VERSION[2] > '1' ||
20558 (ZLIB_VERSION[2] == '1' &&
20559 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20564 rm -f conftest
$ac_exeext
20565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20566 (eval $ac_link) 2>&5
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20571 (eval $ac_try) 2>&5
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); }; }; then
20575 ac_cv_header_zlib_h
=`cat conftestval`
20577 echo "$as_me: program exited with status $ac_status" >&5
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.
$ac_ext >&5
20581 ( exit $ac_status )
20582 ac_cv_header_zlib_h
=no
20584 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20588 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20589 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20590 if test "${ac_cv_header_zlib_h+set}" = set; then
20591 echo "$as_me:$LINENO: checking for zlib.h" >&5
20592 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20593 if test "${ac_cv_header_zlib_h+set}" = set; then
20594 echo $ECHO_N "(cached) $ECHO_C" >&6
20596 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20597 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20599 # Is the header compilable?
20600 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20601 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20602 cat >conftest.
$ac_ext <<_ACEOF
20605 cat confdefs.h
>>conftest.
$ac_ext
20606 cat >>conftest.
$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608 $ac_includes_default
20611 rm -f conftest.
$ac_objext
20612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20613 (eval $ac_compile) 2>conftest.er1
20615 grep -v '^ *+' conftest.er1
>conftest.err
20617 cat conftest.err
>&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } &&
20620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20622 (eval $ac_try) 2>&5
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); }; } &&
20626 { ac_try
='test -s conftest.$ac_objext'
20627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20628 (eval $ac_try) 2>&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); }; }; then
20632 ac_header_compiler
=yes
20634 echo "$as_me: failed program was:" >&5
20635 sed 's/^/| /' conftest.
$ac_ext >&5
20637 ac_header_compiler
=no
20639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20641 echo "${ECHO_T}$ac_header_compiler" >&6
20643 # Is the header present?
20644 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20645 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20646 cat >conftest.
$ac_ext <<_ACEOF
20649 cat confdefs.h
>>conftest.
$ac_ext
20650 cat >>conftest.
$ac_ext <<_ACEOF
20651 /* end confdefs.h. */
20654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20655 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20657 grep -v '^ *+' conftest.er1
>conftest.err
20659 cat conftest.err
>&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); } >/dev
/null
; then
20662 if test -s conftest.err
; then
20663 ac_cpp_err
=$ac_c_preproc_warn_flag
20664 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20671 if test -z "$ac_cpp_err"; then
20672 ac_header_preproc
=yes
20674 echo "$as_me: failed program was:" >&5
20675 sed 's/^/| /' conftest.
$ac_ext >&5
20677 ac_header_preproc
=no
20679 rm -f conftest.err conftest.
$ac_ext
20680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20681 echo "${ECHO_T}$ac_header_preproc" >&6
20683 # So? What about this header?
20684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20686 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20687 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20688 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20689 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20690 ac_header_preproc
=yes
20693 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20694 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20695 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20696 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20697 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20698 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20699 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20700 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20701 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20702 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20703 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20704 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20707 ## ----------------------------------------- ##
20708 ## Report this to wx-dev@lists.wxwidgets.org ##
20709 ## ----------------------------------------- ##
20712 sed "s/^/$as_me: WARNING: /" >&2
20715 echo "$as_me:$LINENO: checking for zlib.h" >&5
20716 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20717 if test "${ac_cv_header_zlib_h+set}" = set; then
20718 echo $ECHO_N "(cached) $ECHO_C" >&6
20720 ac_cv_header_zlib_h
=$ac_header_preproc
20722 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20723 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20729 system_zlib_h_ok
=$ac_cv_header_zlib_h
20732 if test "$system_zlib_h_ok" = "yes"; then
20733 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20734 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20735 if test "${ac_cv_lib_z_deflate+set}" = set; then
20736 echo $ECHO_N "(cached) $ECHO_C" >&6
20738 ac_check_lib_save_LIBS
=$LIBS
20740 cat >conftest.
$ac_ext <<_ACEOF
20743 cat confdefs.h
>>conftest.
$ac_ext
20744 cat >>conftest.
$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20747 /* Override any gcc2 internal prototype to avoid an error. */
20751 /* We use char because int might match the return type of a gcc2
20752 builtin and then its argument prototype would still apply. */
20762 rm -f conftest.
$ac_objext conftest
$ac_exeext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20764 (eval $ac_link) 2>conftest.er1
20766 grep -v '^ *+' conftest.er1
>conftest.err
20768 cat conftest.err
>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } &&
20771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773 (eval $ac_try) 2>&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); }; } &&
20777 { ac_try
='test -s conftest$ac_exeext'
20778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20779 (eval $ac_try) 2>&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; }; then
20783 ac_cv_lib_z_deflate
=yes
20785 echo "$as_me: failed program was:" >&5
20786 sed 's/^/| /' conftest.
$ac_ext >&5
20788 ac_cv_lib_z_deflate
=no
20790 rm -f conftest.err conftest.
$ac_objext \
20791 conftest
$ac_exeext conftest.
$ac_ext
20792 LIBS
=$ac_check_lib_save_LIBS
20794 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20795 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20796 if test $ac_cv_lib_z_deflate = yes; then
20802 if test "x$ZLIB_LINK" = "x" ; then
20803 if test "$wxUSE_ZLIB" = "sys" ; then
20804 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20805 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20806 { (exit 1); exit 1; }; }
20808 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20809 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20820 if test "$wxUSE_LIBPNG" != "no" ; then
20821 cat >>confdefs.h
<<\_ACEOF
20822 #define wxUSE_LIBPNG 1
20826 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20827 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20828 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20832 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20833 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20834 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20835 wxUSE_LIBPNG
=builtin
20838 if test "$wxUSE_MGL" != 1 ; then
20839 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20840 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20841 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20842 if test "${ac_cv_header_png_h+set}" = set; then
20843 echo $ECHO_N "(cached) $ECHO_C" >&6
20845 if test "$cross_compiling" = yes; then
20846 unset ac_cv_header_png_h
20849 cat >conftest.
$ac_ext <<_ACEOF
20852 cat confdefs.h
>>conftest.
$ac_ext
20853 cat >>conftest.
$ac_ext <<_ACEOF
20854 /* end confdefs.h. */
20861 FILE *f=fopen("conftestval", "w");
20864 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20869 rm -f conftest
$ac_exeext
20870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20871 (eval $ac_link) 2>&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20876 (eval $ac_try) 2>&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; }; then
20880 ac_cv_header_png_h
=`cat conftestval`
20882 echo "$as_me: program exited with status $ac_status" >&5
20883 echo "$as_me: failed program was:" >&5
20884 sed 's/^/| /' conftest.
$ac_ext >&5
20886 ( exit $ac_status )
20887 ac_cv_header_png_h
=no
20889 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20893 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20894 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20895 if test "${ac_cv_header_png_h+set}" = set; then
20896 echo "$as_me:$LINENO: checking for png.h" >&5
20897 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20898 if test "${ac_cv_header_png_h+set}" = set; then
20899 echo $ECHO_N "(cached) $ECHO_C" >&6
20901 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20902 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20904 # Is the header compilable?
20905 echo "$as_me:$LINENO: checking png.h usability" >&5
20906 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20907 cat >conftest.
$ac_ext <<_ACEOF
20910 cat confdefs.h
>>conftest.
$ac_ext
20911 cat >>conftest.
$ac_ext <<_ACEOF
20912 /* end confdefs.h. */
20913 $ac_includes_default
20916 rm -f conftest.
$ac_objext
20917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20918 (eval $ac_compile) 2>conftest.er1
20920 grep -v '^ *+' conftest.er1
>conftest.err
20922 cat conftest.err
>&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); } &&
20925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20927 (eval $ac_try) 2>&5
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); }; } &&
20931 { ac_try
='test -s conftest.$ac_objext'
20932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20933 (eval $ac_try) 2>&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); }; }; then
20937 ac_header_compiler
=yes
20939 echo "$as_me: failed program was:" >&5
20940 sed 's/^/| /' conftest.
$ac_ext >&5
20942 ac_header_compiler
=no
20944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20945 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20946 echo "${ECHO_T}$ac_header_compiler" >&6
20948 # Is the header present?
20949 echo "$as_me:$LINENO: checking png.h presence" >&5
20950 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20951 cat >conftest.
$ac_ext <<_ACEOF
20954 cat confdefs.h
>>conftest.
$ac_ext
20955 cat >>conftest.
$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20960 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20962 grep -v '^ *+' conftest.er1
>conftest.err
20964 cat conftest.err
>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); } >/dev
/null
; then
20967 if test -s conftest.err
; then
20968 ac_cpp_err
=$ac_c_preproc_warn_flag
20969 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20976 if test -z "$ac_cpp_err"; then
20977 ac_header_preproc
=yes
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.
$ac_ext >&5
20982 ac_header_preproc
=no
20984 rm -f conftest.err conftest.
$ac_ext
20985 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20986 echo "${ECHO_T}$ac_header_preproc" >&6
20988 # So? What about this header?
20989 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20991 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20992 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20993 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20994 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20995 ac_header_preproc
=yes
20998 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20999 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21000 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21001 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21002 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21003 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21004 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21005 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21006 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21007 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21008 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21009 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21012 ## ----------------------------------------- ##
21013 ## Report this to wx-dev@lists.wxwidgets.org ##
21014 ## ----------------------------------------- ##
21017 sed "s/^/$as_me: WARNING: /" >&2
21020 echo "$as_me:$LINENO: checking for png.h" >&5
21021 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21022 if test "${ac_cv_header_png_h+set}" = set; then
21023 echo $ECHO_N "(cached) $ECHO_C" >&6
21025 ac_cv_header_png_h
=$ac_header_preproc
21027 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21028 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21034 if test "$ac_cv_header_png_h" = "yes"; then
21035 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21036 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21037 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21040 ac_check_lib_save_LIBS
=$LIBS
21041 LIBS
="-lpng -lz -lm $LIBS"
21042 cat >conftest.
$ac_ext <<_ACEOF
21045 cat confdefs.h
>>conftest.
$ac_ext
21046 cat >>conftest.
$ac_ext <<_ACEOF
21047 /* end confdefs.h. */
21049 /* Override any gcc2 internal prototype to avoid an error. */
21053 /* We use char because int might match the return type of a gcc2
21054 builtin and then its argument prototype would still apply. */
21055 char png_check_sig ();
21064 rm -f conftest.
$ac_objext conftest
$ac_exeext
21065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21066 (eval $ac_link) 2>conftest.er1
21068 grep -v '^ *+' conftest.er1
>conftest.err
21070 cat conftest.err
>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } &&
21073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21075 (eval $ac_try) 2>&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); }; } &&
21079 { ac_try
='test -s conftest$ac_exeext'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; }; then
21085 ac_cv_lib_png_png_check_sig
=yes
21087 echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.
$ac_ext >&5
21090 ac_cv_lib_png_png_check_sig
=no
21092 rm -f conftest.err conftest.
$ac_objext \
21093 conftest
$ac_exeext conftest.
$ac_ext
21094 LIBS
=$ac_check_lib_save_LIBS
21096 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21097 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21098 if test $ac_cv_lib_png_png_check_sig = yes; then
21099 PNG_LINK
=" -lpng -lz"
21104 if test "x$PNG_LINK" = "x" ; then
21105 if test "$wxUSE_LIBPNG" = "sys" ; then
21106 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21107 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21108 { (exit 1); exit 1; }; }
21110 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21111 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21112 wxUSE_LIBPNG
=builtin
21120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21125 if test "$wxUSE_LIBJPEG" != "no" ; then
21126 cat >>confdefs.h
<<\_ACEOF
21127 #define wxUSE_LIBJPEG 1
21131 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21132 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21133 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21137 if test "$wxUSE_MGL" != 1 ; then
21138 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21139 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21140 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21141 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21142 echo $ECHO_N "(cached) $ECHO_C" >&6
21144 cat >conftest.
$ac_ext <<_ACEOF
21147 cat confdefs.h
>>conftest.
$ac_ext
21148 cat >>conftest.
$ac_ext <<_ACEOF
21149 /* end confdefs.h. */
21151 #undef HAVE_STDLIB_H
21153 #include <jpeglib.h>
21164 rm -f conftest.
$ac_objext
21165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21166 (eval $ac_compile) 2>conftest.er1
21168 grep -v '^ *+' conftest.er1
>conftest.err
21170 cat conftest.err
>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); } &&
21173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; } &&
21179 { ac_try
='test -s conftest.$ac_objext'
21180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21181 (eval $ac_try) 2>&5
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); }; }; then
21185 ac_cv_header_jpeglib_h
=yes
21187 echo "$as_me: failed program was:" >&5
21188 sed 's/^/| /' conftest.
$ac_ext >&5
21190 ac_cv_header_jpeglib_h
=no
21193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21197 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21198 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21200 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21201 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21202 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21203 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21204 echo $ECHO_N "(cached) $ECHO_C" >&6
21206 ac_check_lib_save_LIBS
=$LIBS
21207 LIBS
="-ljpeg $LIBS"
21208 cat >conftest.
$ac_ext <<_ACEOF
21211 cat confdefs.h
>>conftest.
$ac_ext
21212 cat >>conftest.
$ac_ext <<_ACEOF
21213 /* end confdefs.h. */
21215 /* Override any gcc2 internal prototype to avoid an error. */
21219 /* We use char because int might match the return type of a gcc2
21220 builtin and then its argument prototype would still apply. */
21221 char jpeg_read_header ();
21225 jpeg_read_header ();
21230 rm -f conftest.
$ac_objext conftest
$ac_exeext
21231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21232 (eval $ac_link) 2>conftest.er1
21234 grep -v '^ *+' conftest.er1
>conftest.err
21236 cat conftest.err
>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } &&
21239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241 (eval $ac_try) 2>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; } &&
21245 { ac_try
='test -s conftest$ac_exeext'
21246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247 (eval $ac_try) 2>&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); }; }; then
21251 ac_cv_lib_jpeg_jpeg_read_header
=yes
21253 echo "$as_me: failed program was:" >&5
21254 sed 's/^/| /' conftest.
$ac_ext >&5
21256 ac_cv_lib_jpeg_jpeg_read_header
=no
21258 rm -f conftest.err conftest.
$ac_objext \
21259 conftest
$ac_exeext conftest.
$ac_ext
21260 LIBS
=$ac_check_lib_save_LIBS
21262 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21263 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21264 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21265 JPEG_LINK
=" -ljpeg"
21270 if test "x$JPEG_LINK" = "x" ; then
21271 if test "$wxUSE_LIBJPEG" = "sys" ; then
21272 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21273 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21274 { (exit 1); exit 1; }; }
21276 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21277 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21278 wxUSE_LIBJPEG
=builtin
21289 TIFF_PREREQ_LINKS
=-lm
21290 if test "$wxUSE_LIBTIFF" != "no" ; then
21291 cat >>confdefs.h
<<\_ACEOF
21292 #define wxUSE_LIBTIFF 1
21296 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21297 if test "$wxUSE_LIBJPEG" = "sys"; then
21298 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21300 if test "$wxUSE_ZLIB" = "sys"; then
21301 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21303 if test "${ac_cv_header_tiffio_h+set}" = set; then
21304 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21305 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21306 if test "${ac_cv_header_tiffio_h+set}" = set; then
21307 echo $ECHO_N "(cached) $ECHO_C" >&6
21309 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21310 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21312 # Is the header compilable?
21313 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21314 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21315 cat >conftest.
$ac_ext <<_ACEOF
21318 cat confdefs.h
>>conftest.
$ac_ext
21319 cat >>conftest.
$ac_ext <<_ACEOF
21320 /* end confdefs.h. */
21321 $ac_includes_default
21322 #include <tiffio.h>
21324 rm -f conftest.
$ac_objext
21325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21326 (eval $ac_compile) 2>conftest.er1
21328 grep -v '^ *+' conftest.er1
>conftest.err
21330 cat conftest.err
>&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); } &&
21333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21335 (eval $ac_try) 2>&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); }; } &&
21339 { ac_try
='test -s conftest.$ac_objext'
21340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341 (eval $ac_try) 2>&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; }; then
21345 ac_header_compiler
=yes
21347 echo "$as_me: failed program was:" >&5
21348 sed 's/^/| /' conftest.
$ac_ext >&5
21350 ac_header_compiler
=no
21352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21353 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21354 echo "${ECHO_T}$ac_header_compiler" >&6
21356 # Is the header present?
21357 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21358 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21359 cat >conftest.
$ac_ext <<_ACEOF
21362 cat confdefs.h
>>conftest.
$ac_ext
21363 cat >>conftest.
$ac_ext <<_ACEOF
21364 /* end confdefs.h. */
21365 #include <tiffio.h>
21367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21368 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21370 grep -v '^ *+' conftest.er1
>conftest.err
21372 cat conftest.err
>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } >/dev
/null
; then
21375 if test -s conftest.err
; then
21376 ac_cpp_err
=$ac_c_preproc_warn_flag
21377 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21384 if test -z "$ac_cpp_err"; then
21385 ac_header_preproc
=yes
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.
$ac_ext >&5
21390 ac_header_preproc
=no
21392 rm -f conftest.err conftest.
$ac_ext
21393 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21394 echo "${ECHO_T}$ac_header_preproc" >&6
21396 # So? What about this header?
21397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21399 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21400 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21401 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21402 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21403 ac_header_preproc
=yes
21406 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21407 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21408 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21409 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21410 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21411 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21412 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21413 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21414 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21415 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21416 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21417 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21420 ## ----------------------------------------- ##
21421 ## Report this to wx-dev@lists.wxwidgets.org ##
21422 ## ----------------------------------------- ##
21425 sed "s/^/$as_me: WARNING: /" >&2
21428 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21429 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21430 if test "${ac_cv_header_tiffio_h+set}" = set; then
21431 echo $ECHO_N "(cached) $ECHO_C" >&6
21433 ac_cv_header_tiffio_h
=$ac_header_preproc
21435 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21436 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21439 if test $ac_cv_header_tiffio_h = yes; then
21441 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21442 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21443 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21444 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 ac_check_lib_save_LIBS
=$LIBS
21447 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21448 cat >conftest.
$ac_ext <<_ACEOF
21451 cat confdefs.h
>>conftest.
$ac_ext
21452 cat >>conftest.
$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21455 /* Override any gcc2 internal prototype to avoid an error. */
21459 /* We use char because int might match the return type of a gcc2
21460 builtin and then its argument prototype would still apply. */
21470 rm -f conftest.
$ac_objext conftest
$ac_exeext
21471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21472 (eval $ac_link) 2>conftest.er1
21474 grep -v '^ *+' conftest.er1
>conftest.err
21476 cat conftest.err
>&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); } &&
21479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21481 (eval $ac_try) 2>&5
21483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21484 (exit $ac_status); }; } &&
21485 { ac_try
='test -s conftest$ac_exeext'
21486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21487 (eval $ac_try) 2>&5
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); }; }; then
21491 ac_cv_lib_tiff_TIFFError
=yes
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.
$ac_ext >&5
21496 ac_cv_lib_tiff_TIFFError
=no
21498 rm -f conftest.err conftest.
$ac_objext \
21499 conftest
$ac_exeext conftest.
$ac_ext
21500 LIBS
=$ac_check_lib_save_LIBS
21502 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21503 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21504 if test $ac_cv_lib_tiff_TIFFError = yes; then
21505 TIFF_LINK
=" -ltiff"
21514 if test "x$TIFF_LINK" = "x" ; then
21515 if test "$wxUSE_LIBTIFF" = "sys" ; then
21516 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21517 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21518 { (exit 1); exit 1; }; }
21520 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21521 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21522 wxUSE_LIBTIFF
=builtin
21531 if test "$wxUSE_EXPAT" != "no"; then
21533 cat >>confdefs.h
<<\_ACEOF
21534 #define wxUSE_EXPAT 1
21537 cat >>confdefs.h
<<\_ACEOF
21538 #define wxUSE_XML 1
21542 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21543 if test "${ac_cv_header_expat_h+set}" = set; then
21544 echo "$as_me:$LINENO: checking for expat.h" >&5
21545 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21546 if test "${ac_cv_header_expat_h+set}" = set; then
21547 echo $ECHO_N "(cached) $ECHO_C" >&6
21549 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21550 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21552 # Is the header compilable?
21553 echo "$as_me:$LINENO: checking expat.h usability" >&5
21554 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21555 cat >conftest.
$ac_ext <<_ACEOF
21558 cat confdefs.h
>>conftest.
$ac_ext
21559 cat >>conftest.
$ac_ext <<_ACEOF
21560 /* end confdefs.h. */
21561 $ac_includes_default
21564 rm -f conftest.
$ac_objext
21565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21566 (eval $ac_compile) 2>conftest.er1
21568 grep -v '^ *+' conftest.er1
>conftest.err
21570 cat conftest.err
>&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); } &&
21573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575 (eval $ac_try) 2>&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; } &&
21579 { ac_try
='test -s conftest.$ac_objext'
21580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21581 (eval $ac_try) 2>&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); }; }; then
21585 ac_header_compiler
=yes
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.
$ac_ext >&5
21590 ac_header_compiler
=no
21592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21594 echo "${ECHO_T}$ac_header_compiler" >&6
21596 # Is the header present?
21597 echo "$as_me:$LINENO: checking expat.h presence" >&5
21598 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21599 cat >conftest.
$ac_ext <<_ACEOF
21602 cat confdefs.h
>>conftest.
$ac_ext
21603 cat >>conftest.
$ac_ext <<_ACEOF
21604 /* end confdefs.h. */
21607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21608 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21610 grep -v '^ *+' conftest.er1
>conftest.err
21612 cat conftest.err
>&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); } >/dev
/null
; then
21615 if test -s conftest.err
; then
21616 ac_cpp_err
=$ac_c_preproc_warn_flag
21617 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21624 if test -z "$ac_cpp_err"; then
21625 ac_header_preproc
=yes
21627 echo "$as_me: failed program was:" >&5
21628 sed 's/^/| /' conftest.
$ac_ext >&5
21630 ac_header_preproc
=no
21632 rm -f conftest.err conftest.
$ac_ext
21633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21634 echo "${ECHO_T}$ac_header_preproc" >&6
21636 # So? What about this header?
21637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21639 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21640 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21641 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21642 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21643 ac_header_preproc
=yes
21646 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21647 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21648 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21649 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21650 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21651 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21652 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21653 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21654 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21655 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21656 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21657 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21660 ## ----------------------------------------- ##
21661 ## Report this to wx-dev@lists.wxwidgets.org ##
21662 ## ----------------------------------------- ##
21665 sed "s/^/$as_me: WARNING: /" >&2
21668 echo "$as_me:$LINENO: checking for expat.h" >&5
21669 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21670 if test "${ac_cv_header_expat_h+set}" = set; then
21671 echo $ECHO_N "(cached) $ECHO_C" >&6
21673 ac_cv_header_expat_h
=$ac_header_preproc
21675 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21676 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21679 if test $ac_cv_header_expat_h = yes; then
21684 if test "x$found_expat_h" = "x1"; then
21685 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21686 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21687 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21688 echo $ECHO_N "(cached) $ECHO_C" >&6
21694 ac_cpp
='$CXXCPP $CPPFLAGS'
21695 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21696 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21697 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21699 cat >conftest.
$ac_ext <<_ACEOF
21702 cat confdefs.h
>>conftest.
$ac_ext
21703 cat >>conftest.
$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21714 rm -f conftest.
$ac_objext
21715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21716 (eval $ac_compile) 2>conftest.er1
21718 grep -v '^ *+' conftest.er1
>conftest.err
21720 cat conftest.err
>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); } &&
21723 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21725 (eval $ac_try) 2>&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); }; } &&
21729 { ac_try
='test -s conftest.$ac_objext'
21730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21731 (eval $ac_try) 2>&5
21733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734 (exit $ac_status); }; }; then
21735 wx_cv_expat_is_not_broken
=yes
21737 echo "$as_me: failed program was:" >&5
21738 sed 's/^/| /' conftest.
$ac_ext >&5
21740 wx_cv_expat_is_not_broken
=no
21743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21745 ac_cpp
='$CPP $CPPFLAGS'
21746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21753 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21754 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21755 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21756 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21757 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21758 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21759 echo $ECHO_N "(cached) $ECHO_C" >&6
21761 ac_check_lib_save_LIBS
=$LIBS
21762 LIBS
="-lexpat $LIBS"
21763 cat >conftest.
$ac_ext <<_ACEOF
21766 cat confdefs.h
>>conftest.
$ac_ext
21767 cat >>conftest.
$ac_ext <<_ACEOF
21768 /* end confdefs.h. */
21770 /* Override any gcc2 internal prototype to avoid an error. */
21774 /* We use char because int might match the return type of a gcc2
21775 builtin and then its argument prototype would still apply. */
21776 char XML_ParserCreate ();
21780 XML_ParserCreate ();
21785 rm -f conftest.
$ac_objext conftest
$ac_exeext
21786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21787 (eval $ac_link) 2>conftest.er1
21789 grep -v '^ *+' conftest.er1
>conftest.err
21791 cat conftest.err
>&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } &&
21794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21796 (eval $ac_try) 2>&5
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); }; } &&
21800 { ac_try
='test -s conftest$ac_exeext'
21801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21802 (eval $ac_try) 2>&5
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); }; }; then
21806 ac_cv_lib_expat_XML_ParserCreate
=yes
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.
$ac_ext >&5
21811 ac_cv_lib_expat_XML_ParserCreate
=no
21813 rm -f conftest.err conftest.
$ac_objext \
21814 conftest
$ac_exeext conftest.
$ac_ext
21815 LIBS
=$ac_check_lib_save_LIBS
21817 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21818 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21819 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21820 EXPAT_LINK
=" -lexpat"
21825 if test "x$EXPAT_LINK" = "x" ; then
21826 if test "$wxUSE_EXPAT" = "sys" ; then
21827 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21828 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21829 { (exit 1); exit 1; }; }
21831 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21832 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21833 wxUSE_EXPAT
=builtin
21839 if test "$wxUSE_EXPAT" = "builtin" ; then
21842 subdirs
="$subdirs src/expat"
21849 if test "$wxUSE_LIBMSPACK" != "no"; then
21851 if test "${ac_cv_header_mspack_h+set}" = set; then
21852 echo "$as_me:$LINENO: checking for mspack.h" >&5
21853 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21854 if test "${ac_cv_header_mspack_h+set}" = set; then
21855 echo $ECHO_N "(cached) $ECHO_C" >&6
21857 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21858 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21860 # Is the header compilable?
21861 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21862 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21863 cat >conftest.
$ac_ext <<_ACEOF
21866 cat confdefs.h
>>conftest.
$ac_ext
21867 cat >>conftest.
$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 $ac_includes_default
21870 #include <mspack.h>
21872 rm -f conftest.
$ac_objext
21873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21874 (eval $ac_compile) 2>conftest.er1
21876 grep -v '^ *+' conftest.er1
>conftest.err
21878 cat conftest.err
>&5
21879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880 (exit $ac_status); } &&
21881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21883 (eval $ac_try) 2>&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); }; } &&
21887 { ac_try
='test -s conftest.$ac_objext'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; }; then
21893 ac_header_compiler
=yes
21895 echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.
$ac_ext >&5
21898 ac_header_compiler
=no
21900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21902 echo "${ECHO_T}$ac_header_compiler" >&6
21904 # Is the header present?
21905 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21906 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21907 cat >conftest.
$ac_ext <<_ACEOF
21910 cat confdefs.h
>>conftest.
$ac_ext
21911 cat >>conftest.
$ac_ext <<_ACEOF
21912 /* end confdefs.h. */
21913 #include <mspack.h>
21915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21916 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21918 grep -v '^ *+' conftest.er1
>conftest.err
21920 cat conftest.err
>&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } >/dev
/null
; then
21923 if test -s conftest.err
; then
21924 ac_cpp_err
=$ac_c_preproc_warn_flag
21925 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21932 if test -z "$ac_cpp_err"; then
21933 ac_header_preproc
=yes
21935 echo "$as_me: failed program was:" >&5
21936 sed 's/^/| /' conftest.
$ac_ext >&5
21938 ac_header_preproc
=no
21940 rm -f conftest.err conftest.
$ac_ext
21941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21942 echo "${ECHO_T}$ac_header_preproc" >&6
21944 # So? What about this header?
21945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21947 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21948 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21949 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21950 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21951 ac_header_preproc
=yes
21954 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21955 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21956 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21957 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21958 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21959 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21960 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21961 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21962 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21963 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21964 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21965 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21968 ## ----------------------------------------- ##
21969 ## Report this to wx-dev@lists.wxwidgets.org ##
21970 ## ----------------------------------------- ##
21973 sed "s/^/$as_me: WARNING: /" >&2
21976 echo "$as_me:$LINENO: checking for mspack.h" >&5
21977 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21978 if test "${ac_cv_header_mspack_h+set}" = set; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21981 ac_cv_header_mspack_h
=$ac_header_preproc
21983 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21984 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21987 if test $ac_cv_header_mspack_h = yes; then
21992 if test "x$found_mspack_h" = "x1"; then
21993 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21994 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21995 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21996 echo $ECHO_N "(cached) $ECHO_C" >&6
21998 ac_check_lib_save_LIBS
=$LIBS
21999 LIBS
="-lmspack $LIBS"
22000 cat >conftest.
$ac_ext <<_ACEOF
22003 cat confdefs.h
>>conftest.
$ac_ext
22004 cat >>conftest.
$ac_ext <<_ACEOF
22005 /* end confdefs.h. */
22007 /* Override any gcc2 internal prototype to avoid an error. */
22011 /* We use char because int might match the return type of a gcc2
22012 builtin and then its argument prototype would still apply. */
22013 char mspack_create_chm_decompressor ();
22017 mspack_create_chm_decompressor ();
22022 rm -f conftest.
$ac_objext conftest
$ac_exeext
22023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22024 (eval $ac_link) 2>conftest.er1
22026 grep -v '^ *+' conftest.er1
>conftest.err
22028 cat conftest.err
>&5
22029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030 (exit $ac_status); } &&
22031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22033 (eval $ac_try) 2>&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); }; } &&
22037 { ac_try
='test -s conftest$ac_exeext'
22038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22039 (eval $ac_try) 2>&5
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); }; }; then
22043 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22045 echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.
$ac_ext >&5
22048 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22050 rm -f conftest.err conftest.
$ac_objext \
22051 conftest
$ac_exeext conftest.
$ac_ext
22052 LIBS
=$ac_check_lib_save_LIBS
22054 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22055 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22056 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22057 MSPACK_LINK
=" -lmspack"
22061 if test "x$MSPACK_LINK" = "x" ; then
22064 cat >>confdefs.h
<<\_ACEOF
22065 #define wxUSE_LIBMSPACK 1
22080 if test "$USE_WIN32" = 1 ; then
22082 for ac_header
in w32api.h
22084 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22086 echo "$as_me:$LINENO: checking for $ac_header" >&5
22087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22094 # Is the header compilable?
22095 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22097 cat >conftest.
$ac_ext <<_ACEOF
22100 cat confdefs.h
>>conftest.
$ac_ext
22101 cat >>conftest.
$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103 $ac_includes_default
22104 #include <$ac_header>
22106 rm -f conftest.
$ac_objext
22107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22108 (eval $ac_compile) 2>conftest.er1
22110 grep -v '^ *+' conftest.er1
>conftest.err
22112 cat conftest.err
>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; } &&
22121 { ac_try
='test -s conftest.$ac_objext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 ac_header_compiler
=yes
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.
$ac_ext >&5
22132 ac_header_compiler
=no
22134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22136 echo "${ECHO_T}$ac_header_compiler" >&6
22138 # Is the header present?
22139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22141 cat >conftest.
$ac_ext <<_ACEOF
22144 cat confdefs.h
>>conftest.
$ac_ext
22145 cat >>conftest.
$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 #include <$ac_header>
22149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22152 grep -v '^ *+' conftest.er1
>conftest.err
22154 cat conftest.err
>&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); } >/dev
/null
; then
22157 if test -s conftest.err
; then
22158 ac_cpp_err
=$ac_c_preproc_warn_flag
22159 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22166 if test -z "$ac_cpp_err"; then
22167 ac_header_preproc
=yes
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.
$ac_ext >&5
22172 ac_header_preproc
=no
22174 rm -f conftest.err conftest.
$ac_ext
22175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22176 echo "${ECHO_T}$ac_header_preproc" >&6
22178 # So? What about this header?
22179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22184 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22185 ac_header_preproc
=yes
22188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22192 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22193 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22194 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22195 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22198 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22199 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22202 ## ----------------------------------------- ##
22203 ## Report this to wx-dev@lists.wxwidgets.org ##
22204 ## ----------------------------------------- ##
22207 sed "s/^/$as_me: WARNING: /" >&2
22210 echo "$as_me:$LINENO: checking for $ac_header" >&5
22211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22213 echo $ECHO_N "(cached) $ECHO_C" >&6
22215 eval "$as_ac_Header=\$ac_header_preproc"
22217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22222 cat >>confdefs.h
<<_ACEOF
22223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22230 if test "${ac_cv_header_windows_h+set}" = set; then
22231 echo "$as_me:$LINENO: checking for windows.h" >&5
22232 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22233 if test "${ac_cv_header_windows_h+set}" = set; then
22234 echo $ECHO_N "(cached) $ECHO_C" >&6
22236 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22237 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22239 # Is the header compilable?
22240 echo "$as_me:$LINENO: checking windows.h usability" >&5
22241 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22242 cat >conftest.
$ac_ext <<_ACEOF
22245 cat confdefs.h
>>conftest.
$ac_ext
22246 cat >>conftest.
$ac_ext <<_ACEOF
22247 /* end confdefs.h. */
22248 $ac_includes_default
22249 #include <windows.h>
22251 rm -f conftest.
$ac_objext
22252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22253 (eval $ac_compile) 2>conftest.er1
22255 grep -v '^ *+' conftest.er1
>conftest.err
22257 cat conftest.err
>&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); } &&
22260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22262 (eval $ac_try) 2>&5
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); }; } &&
22266 { ac_try
='test -s conftest.$ac_objext'
22267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22268 (eval $ac_try) 2>&5
22270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271 (exit $ac_status); }; }; then
22272 ac_header_compiler
=yes
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.
$ac_ext >&5
22277 ac_header_compiler
=no
22279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22281 echo "${ECHO_T}$ac_header_compiler" >&6
22283 # Is the header present?
22284 echo "$as_me:$LINENO: checking windows.h presence" >&5
22285 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22286 cat >conftest.
$ac_ext <<_ACEOF
22289 cat confdefs.h
>>conftest.
$ac_ext
22290 cat >>conftest.
$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22292 #include <windows.h>
22294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22297 grep -v '^ *+' conftest.er1
>conftest.err
22299 cat conftest.err
>&5
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); } >/dev
/null
; then
22302 if test -s conftest.err
; then
22303 ac_cpp_err
=$ac_c_preproc_warn_flag
22304 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22311 if test -z "$ac_cpp_err"; then
22312 ac_header_preproc
=yes
22314 echo "$as_me: failed program was:" >&5
22315 sed 's/^/| /' conftest.
$ac_ext >&5
22317 ac_header_preproc
=no
22319 rm -f conftest.err conftest.
$ac_ext
22320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22321 echo "${ECHO_T}$ac_header_preproc" >&6
22323 # So? What about this header?
22324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22326 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22327 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22328 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22329 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22330 ac_header_preproc
=yes
22333 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22334 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22335 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22336 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22337 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22338 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22339 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22340 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22341 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22342 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22343 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22344 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22347 ## ----------------------------------------- ##
22348 ## Report this to wx-dev@lists.wxwidgets.org ##
22349 ## ----------------------------------------- ##
22352 sed "s/^/$as_me: WARNING: /" >&2
22355 echo "$as_me:$LINENO: checking for windows.h" >&5
22356 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22357 if test "${ac_cv_header_windows_h+set}" = set; then
22358 echo $ECHO_N "(cached) $ECHO_C" >&6
22360 ac_cv_header_windows_h
=$ac_header_preproc
22362 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22363 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22366 if test $ac_cv_header_windows_h = yes; then
22370 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22371 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22372 { (exit 1); exit 1; }; }
22378 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22380 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22381 LIBS
="$LIBS -loleacc"
22386 LIBS
="$LIBS -lkernel32 -luser32"
22387 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22390 if test "$wxUSE_ODBC" = "sys" ; then
22393 if test "$wxUSE_ODBC" = "yes" ; then
22394 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22395 cat >>confdefs.h
<<\_ACEOF
22396 #define wxUSE_ODBC 1
22401 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22402 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22404 WIN32INSTALL
=win32install
22407 if test "$wxUSE_GUI" = "yes"; then
22417 if test "$wxUSE_MSW" = 1 ; then
22423 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22427 if test "$wxUSE_GTK" = 1; then
22428 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22429 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22431 gtk_version_cached
=1
22432 if test "${wx_cv_lib_gtk+set}" = set; then
22433 echo $ECHO_N "(cached) $ECHO_C" >&6
22436 gtk_version_cached
=0
22437 echo "$as_me:$LINENO: result: " >&5
22438 echo "${ECHO_T}" >&6
22441 if test "$wxUSE_THREADS" = "yes"; then
22442 GTK_MODULES
=gthread
22446 if test "x$wxUSE_GTK2" = "xyes"; then
22447 # Check whether --enable-gtktest or --disable-gtktest was given.
22448 if test "${enable_gtktest+set}" = set; then
22449 enableval
="$enable_gtktest"
22455 pkg_config_args
=gtk
+-2.0
22456 for module
in .
$GTK_MODULES
22460 pkg_config_args
="$pkg_config_args gthread-2.0"
22467 # Extract the first word of "pkg-config", so it can be a program name with args.
22468 set dummy pkg
-config; ac_word
=$2
22469 echo "$as_me:$LINENO: checking for $ac_word" >&5
22470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22471 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22472 echo $ECHO_N "(cached) $ECHO_C" >&6
22474 case $PKG_CONFIG in
22476 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22480 for as_dir
in $PATH
22483 test -z "$as_dir" && as_dir
=.
22484 for ac_exec_ext
in '' $ac_executable_extensions; do
22485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22486 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22493 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22497 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22499 if test -n "$PKG_CONFIG"; then
22500 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22501 echo "${ECHO_T}$PKG_CONFIG" >&6
22503 echo "$as_me:$LINENO: result: no" >&5
22504 echo "${ECHO_T}no" >&6
22508 if test x
$PKG_CONFIG != xno
; then
22509 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22512 echo "*** pkg-config too old; version 0.7 or better required."
22520 min_gtk_version
=2.0.0
22521 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22522 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22524 if test x
$PKG_CONFIG != xno
; then
22525 ## don't try to run the test against uninstalled libtool libs
22526 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22527 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22531 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22538 if test x
"$no_gtk" = x
; then
22539 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22540 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22541 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22542 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22543 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22544 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22545 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22547 if test "x$enable_gtktest" = "xyes" ; then
22548 ac_save_CFLAGS
="$CFLAGS"
22549 ac_save_LIBS
="$LIBS"
22550 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22551 LIBS
="$GTK_LIBS $LIBS"
22553 if test "$cross_compiling" = yes; then
22554 echo $ac_n "cross compiling; assumed OK... $ac_c"
22556 cat >conftest.
$ac_ext <<_ACEOF
22559 cat confdefs.h
>>conftest.
$ac_ext
22560 cat >>conftest.
$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22563 #include <gtk/gtk.h>
22565 #include <stdlib.h>
22570 int major, minor, micro;
22573 system ("touch conf.gtktest");
22575 /* HP/UX 9 (%@#!) writes to sscanf strings */
22576 tmp_version = g_strdup("$min_gtk_version");
22577 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22578 printf("%s, bad version string\n", "$min_gtk_version");
22582 if ((gtk_major_version != $gtk_config_major_version) ||
22583 (gtk_minor_version != $gtk_config_minor_version) ||
22584 (gtk_micro_version != $gtk_config_micro_version))
22586 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22587 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22588 gtk_major_version, gtk_minor_version, gtk_micro_version);
22589 printf ("*** was found! If pkg-config was correct, then it is best\n");
22590 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22591 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22592 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22593 printf("*** required on your system.\n");
22594 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22595 printf("*** to point to the correct configuration files\n");
22597 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22598 (gtk_minor_version != GTK_MINOR_VERSION) ||
22599 (gtk_micro_version != GTK_MICRO_VERSION))
22601 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22602 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22603 printf("*** library (version %d.%d.%d)\n",
22604 gtk_major_version, gtk_minor_version, gtk_micro_version);
22608 if ((gtk_major_version > major) ||
22609 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22610 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22616 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22617 gtk_major_version, gtk_minor_version, gtk_micro_version);
22618 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22619 major, minor, micro);
22620 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22622 printf("*** If you have already installed a sufficiently new version, this error\n");
22623 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22624 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22625 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22626 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22627 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22628 printf("*** so that the correct libraries are found at run-time))\n");
22635 rm -f conftest
$ac_exeext
22636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22637 (eval $ac_link) 2>&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22642 (eval $ac_try) 2>&5
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); }; }; then
22648 echo "$as_me: program exited with status $ac_status" >&5
22649 echo "$as_me: failed program was:" >&5
22650 sed 's/^/| /' conftest.
$ac_ext >&5
22652 ( exit $ac_status )
22655 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22657 CFLAGS
="$ac_save_CFLAGS"
22658 LIBS
="$ac_save_LIBS"
22661 if test "x$no_gtk" = x
; then
22662 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22663 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22666 echo "$as_me:$LINENO: result: no" >&5
22667 echo "${ECHO_T}no" >&6
22668 if test "$PKG_CONFIG" = "no" ; then
22669 echo "*** A new enough version of pkg-config was not found."
22670 echo "*** See http://pkgconfig.sourceforge.net"
22672 if test -f conf.gtktest
; then
22675 echo "*** Could not run GTK+ test program, checking why..."
22676 ac_save_CFLAGS
="$CFLAGS"
22677 ac_save_LIBS
="$LIBS"
22678 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22679 LIBS
="$LIBS $GTK_LIBS"
22680 cat >conftest.
$ac_ext <<_ACEOF
22683 cat confdefs.h
>>conftest.
$ac_ext
22684 cat >>conftest.
$ac_ext <<_ACEOF
22685 /* end confdefs.h. */
22687 #include <gtk/gtk.h>
22693 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22698 rm -f conftest.
$ac_objext conftest
$ac_exeext
22699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22700 (eval $ac_link) 2>conftest.er1
22702 grep -v '^ *+' conftest.er1
>conftest.err
22704 cat conftest.err
>&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); } &&
22707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709 (eval $ac_try) 2>&5
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); }; } &&
22713 { ac_try
='test -s conftest$ac_exeext'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; }; then
22719 echo "*** The test program compiled, but did not run. This usually means"
22720 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22721 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22722 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22723 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22724 echo "*** is required on your system"
22726 echo "*** If you have an old version installed, it is best to remove it, although"
22727 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22729 echo "$as_me: failed program was:" >&5
22730 sed 's/^/| /' conftest.
$ac_ext >&5
22732 echo "*** The test program failed to compile or link. See the file config.log for the"
22733 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22735 rm -f conftest.err conftest.
$ac_objext \
22736 conftest
$ac_exeext conftest.
$ac_ext
22737 CFLAGS
="$ac_save_CFLAGS"
22738 LIBS
="$ac_save_LIBS"
22751 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22752 if test "${with_gtk_prefix+set}" = set; then
22753 withval
="$with_gtk_prefix"
22754 gtk_config_prefix
="$withval"
22756 gtk_config_prefix
=""
22759 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22760 if test "${with_gtk_exec_prefix+set}" = set; then
22761 withval
="$with_gtk_exec_prefix"
22762 gtk_config_exec_prefix
="$withval"
22764 gtk_config_exec_prefix
=""
22766 # Check whether --enable-gtktest or --disable-gtktest was given.
22767 if test "${enable_gtktest+set}" = set; then
22768 enableval
="$enable_gtktest"
22774 for module
in .
$GTK_MODULES
22778 gtk_config_args
="$gtk_config_args gthread"
22783 if test x
$gtk_config_exec_prefix != x
; then
22784 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22785 if test x
${GTK_CONFIG+set} != xset
; then
22786 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22789 if test x
$gtk_config_prefix != x
; then
22790 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22791 if test x
${GTK_CONFIG+set} != xset
; then
22792 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22796 # Extract the first word of "gtk-config", so it can be a program name with args.
22797 set dummy gtk
-config; ac_word
=$2
22798 echo "$as_me:$LINENO: checking for $ac_word" >&5
22799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22800 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22801 echo $ECHO_N "(cached) $ECHO_C" >&6
22803 case $GTK_CONFIG in
22805 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22809 for as_dir
in $PATH
22812 test -z "$as_dir" && as_dir
=.
22813 for ac_exec_ext
in '' $ac_executable_extensions; do
22814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22815 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22822 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22826 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22828 if test -n "$GTK_CONFIG"; then
22829 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22830 echo "${ECHO_T}$GTK_CONFIG" >&6
22832 echo "$as_me:$LINENO: result: no" >&5
22833 echo "${ECHO_T}no" >&6
22836 min_gtk_version
=1.2.7
22837 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22838 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22840 if test "$GTK_CONFIG" = "no" ; then
22843 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22844 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22845 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22846 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22847 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22848 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22849 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22850 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22851 if test "x$enable_gtktest" = "xyes" ; then
22852 ac_save_CFLAGS
="$CFLAGS"
22853 ac_save_LIBS
="$LIBS"
22854 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22855 LIBS
="$GTK_LIBS $LIBS"
22857 if test "$cross_compiling" = yes; then
22858 echo $ac_n "cross compiling; assumed OK... $ac_c"
22860 cat >conftest.
$ac_ext <<_ACEOF
22863 cat confdefs.h
>>conftest.
$ac_ext
22864 cat >>conftest.
$ac_ext <<_ACEOF
22865 /* end confdefs.h. */
22867 #include <gtk/gtk.h>
22869 #include <stdlib.h>
22874 int major, minor, micro;
22877 system ("touch conf.gtktest");
22879 /* HP/UX 9 (%@#!) writes to sscanf strings */
22880 tmp_version = g_strdup("$min_gtk_version");
22881 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22882 printf("%s, bad version string\n", "$min_gtk_version");
22886 if ((gtk_major_version != $gtk_config_major_version) ||
22887 (gtk_minor_version != $gtk_config_minor_version) ||
22888 (gtk_micro_version != $gtk_config_micro_version))
22890 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22891 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22892 gtk_major_version, gtk_minor_version, gtk_micro_version);
22893 printf ("*** was found! If gtk-config was correct, then it is best\n");
22894 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22895 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22896 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22897 printf("*** required on your system.\n");
22898 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22899 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22900 printf("*** before re-running configure\n");
22902 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22903 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22904 (gtk_minor_version != GTK_MINOR_VERSION) ||
22905 (gtk_micro_version != GTK_MICRO_VERSION))
22907 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22908 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22909 printf("*** library (version %d.%d.%d)\n",
22910 gtk_major_version, gtk_minor_version, gtk_micro_version);
22912 #endif /* defined (GTK_MAJOR_VERSION) ... */
22915 if ((gtk_major_version > major) ||
22916 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22917 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22923 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22924 gtk_major_version, gtk_minor_version, gtk_micro_version);
22925 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22926 major, minor, micro);
22927 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22929 printf("*** If you have already installed a sufficiently new version, this error\n");
22930 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22931 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22932 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22933 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22934 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22935 printf("*** so that the correct libraries are found at run-time))\n");
22942 rm -f conftest
$ac_exeext
22943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22944 (eval $ac_link) 2>&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22949 (eval $ac_try) 2>&5
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); }; }; then
22955 echo "$as_me: program exited with status $ac_status" >&5
22956 echo "$as_me: failed program was:" >&5
22957 sed 's/^/| /' conftest.
$ac_ext >&5
22959 ( exit $ac_status )
22962 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22964 CFLAGS
="$ac_save_CFLAGS"
22965 LIBS
="$ac_save_LIBS"
22968 if test "x$no_gtk" = x
; then
22969 echo "$as_me:$LINENO: result: yes" >&5
22970 echo "${ECHO_T}yes" >&6
22971 wx_cv_lib_gtk
=1.2.7
22973 echo "$as_me:$LINENO: result: no" >&5
22974 echo "${ECHO_T}no" >&6
22975 if test "$GTK_CONFIG" = "no" ; then
22976 echo "*** The gtk-config script installed by GTK could not be found"
22977 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22978 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22979 echo "*** full path to gtk-config."
22981 if test -f conf.gtktest
; then
22984 echo "*** Could not run GTK test program, checking why..."
22985 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22986 LIBS
="$LIBS $GTK_LIBS"
22987 cat >conftest.
$ac_ext <<_ACEOF
22990 cat confdefs.h
>>conftest.
$ac_ext
22991 cat >>conftest.
$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22994 #include <gtk/gtk.h>
23000 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23005 rm -f conftest.
$ac_objext conftest
$ac_exeext
23006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23007 (eval $ac_link) 2>conftest.er1
23009 grep -v '^ *+' conftest.er1
>conftest.err
23011 cat conftest.err
>&5
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } &&
23014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23016 (eval $ac_try) 2>&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); }; } &&
23020 { ac_try
='test -s conftest$ac_exeext'
23021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23022 (eval $ac_try) 2>&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); }; }; then
23026 echo "*** The test program compiled, but did not run. This usually means"
23027 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23028 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23029 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23030 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23031 echo "*** is required on your system"
23033 echo "*** If you have an old version installed, it is best to remove it, although"
23034 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23036 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23037 echo "*** came with the system with the command"
23039 echo "*** rpm --erase --nodeps gtk gtk-devel"
23041 echo "$as_me: failed program was:" >&5
23042 sed 's/^/| /' conftest.
$ac_ext >&5
23044 echo "*** The test program failed to compile or link. See the file config.log for the"
23045 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23046 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23047 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23049 rm -f conftest.err conftest.
$ac_objext \
23050 conftest
$ac_exeext conftest.
$ac_ext
23051 CFLAGS
="$ac_save_CFLAGS"
23052 LIBS
="$ac_save_LIBS"
23064 if test -z "$wx_cv_lib_gtk"; then
23066 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23067 if test "${with_gtk_prefix+set}" = set; then
23068 withval
="$with_gtk_prefix"
23069 gtk_config_prefix
="$withval"
23071 gtk_config_prefix
=""
23074 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23075 if test "${with_gtk_exec_prefix+set}" = set; then
23076 withval
="$with_gtk_exec_prefix"
23077 gtk_config_exec_prefix
="$withval"
23079 gtk_config_exec_prefix
=""
23081 # Check whether --enable-gtktest or --disable-gtktest was given.
23082 if test "${enable_gtktest+set}" = set; then
23083 enableval
="$enable_gtktest"
23089 for module
in .
$GTK_MODULES
23093 gtk_config_args
="$gtk_config_args gthread"
23098 if test x
$gtk_config_exec_prefix != x
; then
23099 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23100 if test x
${GTK_CONFIG+set} != xset
; then
23101 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23104 if test x
$gtk_config_prefix != x
; then
23105 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23106 if test x
${GTK_CONFIG+set} != xset
; then
23107 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23111 # Extract the first word of "gtk-config", so it can be a program name with args.
23112 set dummy gtk
-config; ac_word
=$2
23113 echo "$as_me:$LINENO: checking for $ac_word" >&5
23114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23115 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23116 echo $ECHO_N "(cached) $ECHO_C" >&6
23118 case $GTK_CONFIG in
23120 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23124 for as_dir
in $PATH
23127 test -z "$as_dir" && as_dir
=.
23128 for ac_exec_ext
in '' $ac_executable_extensions; do
23129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23130 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23137 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23141 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23143 if test -n "$GTK_CONFIG"; then
23144 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23145 echo "${ECHO_T}$GTK_CONFIG" >&6
23147 echo "$as_me:$LINENO: result: no" >&5
23148 echo "${ECHO_T}no" >&6
23151 min_gtk_version
=1.2.3
23152 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23153 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23155 if test "$GTK_CONFIG" = "no" ; then
23158 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23159 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23160 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23162 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23163 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23164 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23165 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23166 if test "x$enable_gtktest" = "xyes" ; then
23167 ac_save_CFLAGS
="$CFLAGS"
23168 ac_save_LIBS
="$LIBS"
23169 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23170 LIBS
="$GTK_LIBS $LIBS"
23172 if test "$cross_compiling" = yes; then
23173 echo $ac_n "cross compiling; assumed OK... $ac_c"
23175 cat >conftest.
$ac_ext <<_ACEOF
23178 cat confdefs.h
>>conftest.
$ac_ext
23179 cat >>conftest.
$ac_ext <<_ACEOF
23180 /* end confdefs.h. */
23182 #include <gtk/gtk.h>
23184 #include <stdlib.h>
23189 int major, minor, micro;
23192 system ("touch conf.gtktest");
23194 /* HP/UX 9 (%@#!) writes to sscanf strings */
23195 tmp_version = g_strdup("$min_gtk_version");
23196 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23197 printf("%s, bad version string\n", "$min_gtk_version");
23201 if ((gtk_major_version != $gtk_config_major_version) ||
23202 (gtk_minor_version != $gtk_config_minor_version) ||
23203 (gtk_micro_version != $gtk_config_micro_version))
23205 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23206 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23207 gtk_major_version, gtk_minor_version, gtk_micro_version);
23208 printf ("*** was found! If gtk-config was correct, then it is best\n");
23209 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23210 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23211 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23212 printf("*** required on your system.\n");
23213 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23214 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23215 printf("*** before re-running configure\n");
23217 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23218 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23219 (gtk_minor_version != GTK_MINOR_VERSION) ||
23220 (gtk_micro_version != GTK_MICRO_VERSION))
23222 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23223 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23224 printf("*** library (version %d.%d.%d)\n",
23225 gtk_major_version, gtk_minor_version, gtk_micro_version);
23227 #endif /* defined (GTK_MAJOR_VERSION) ... */
23230 if ((gtk_major_version > major) ||
23231 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23232 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23238 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23239 gtk_major_version, gtk_minor_version, gtk_micro_version);
23240 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23241 major, minor, micro);
23242 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23244 printf("*** If you have already installed a sufficiently new version, this error\n");
23245 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23246 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23247 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23248 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23249 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23250 printf("*** so that the correct libraries are found at run-time))\n");
23257 rm -f conftest
$ac_exeext
23258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23259 (eval $ac_link) 2>&5
23261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23264 (eval $ac_try) 2>&5
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); }; }; then
23270 echo "$as_me: program exited with status $ac_status" >&5
23271 echo "$as_me: failed program was:" >&5
23272 sed 's/^/| /' conftest.
$ac_ext >&5
23274 ( exit $ac_status )
23277 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23279 CFLAGS
="$ac_save_CFLAGS"
23280 LIBS
="$ac_save_LIBS"
23283 if test "x$no_gtk" = x
; then
23284 echo "$as_me:$LINENO: result: yes" >&5
23285 echo "${ECHO_T}yes" >&6
23286 wx_cv_lib_gtk
=1.2.3
23288 echo "$as_me:$LINENO: result: no" >&5
23289 echo "${ECHO_T}no" >&6
23290 if test "$GTK_CONFIG" = "no" ; then
23291 echo "*** The gtk-config script installed by GTK could not be found"
23292 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23293 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23294 echo "*** full path to gtk-config."
23296 if test -f conf.gtktest
; then
23299 echo "*** Could not run GTK test program, checking why..."
23300 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23301 LIBS
="$LIBS $GTK_LIBS"
23302 cat >conftest.
$ac_ext <<_ACEOF
23305 cat confdefs.h
>>conftest.
$ac_ext
23306 cat >>conftest.
$ac_ext <<_ACEOF
23307 /* end confdefs.h. */
23309 #include <gtk/gtk.h>
23315 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23320 rm -f conftest.
$ac_objext conftest
$ac_exeext
23321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23322 (eval $ac_link) 2>conftest.er1
23324 grep -v '^ *+' conftest.er1
>conftest.err
23326 cat conftest.err
>&5
23327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328 (exit $ac_status); } &&
23329 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23331 (eval $ac_try) 2>&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); }; } &&
23335 { ac_try
='test -s conftest$ac_exeext'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; }; then
23341 echo "*** The test program compiled, but did not run. This usually means"
23342 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23343 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23344 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23345 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23346 echo "*** is required on your system"
23348 echo "*** If you have an old version installed, it is best to remove it, although"
23349 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23351 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23352 echo "*** came with the system with the command"
23354 echo "*** rpm --erase --nodeps gtk gtk-devel"
23356 echo "$as_me: failed program was:" >&5
23357 sed 's/^/| /' conftest.
$ac_ext >&5
23359 echo "*** The test program failed to compile or link. See the file config.log for the"
23360 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23361 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23362 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23364 rm -f conftest.err conftest.
$ac_objext \
23365 conftest
$ac_exeext conftest.
$ac_ext
23366 CFLAGS
="$ac_save_CFLAGS"
23367 LIBS
="$ac_save_LIBS"
23381 if test -z "$wx_cv_lib_gtk"; then
23384 wx_cv_cflags_gtk
=$GTK_CFLAGS
23385 wx_cv_libs_gtk
=$GTK_LIBS
23392 if test "$gtk_version_cached" = 1; then
23393 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23394 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23397 case "$wx_cv_lib_gtk" in
23406 *) { { echo "$as_me:$LINENO: error:
23407 Please check that gtk-config is in path, the directory
23408 where GTK+ libraries are installed (returned by
23409 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23410 equivalent variable and GTK+ is version 1.2.3 or above.
23412 echo "$as_me: error:
23413 Please check that gtk-config is in path, the directory
23414 where GTK+ libraries are installed (returned by
23415 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23416 equivalent variable and GTK+ is version 1.2.3 or above.
23418 { (exit 1); exit 1; }; }
23422 if test "$WXGTK20" = 1; then
23423 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23427 if test -z "$PKG_CONFIG"; then
23428 # Extract the first word of "pkg-config", so it can be a program name with args.
23429 set dummy pkg
-config; ac_word
=$2
23430 echo "$as_me:$LINENO: checking for $ac_word" >&5
23431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23432 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23433 echo $ECHO_N "(cached) $ECHO_C" >&6
23435 case $PKG_CONFIG in
23437 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23441 for as_dir
in $PATH
23444 test -z "$as_dir" && as_dir
=.
23445 for ac_exec_ext
in '' $ac_executable_extensions; do
23446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23447 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23454 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23458 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23460 if test -n "$PKG_CONFIG"; then
23461 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23462 echo "${ECHO_T}$PKG_CONFIG" >&6
23464 echo "$as_me:$LINENO: result: no" >&5
23465 echo "${ECHO_T}no" >&6
23470 if test "$PKG_CONFIG" = "no" ; then
23471 echo "*** The pkg-config script could not be found. Make sure it is"
23472 echo "*** in your path, or set the PKG_CONFIG environment variable"
23473 echo "*** to the full path to pkg-config."
23474 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23476 PKG_CONFIG_MIN_VERSION
=0.9.0
23477 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23478 echo "$as_me:$LINENO: checking for pangoft2" >&5
23479 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23481 if $PKG_CONFIG --exists "pangoft2" ; then
23482 echo "$as_me:$LINENO: result: yes" >&5
23483 echo "${ECHO_T}yes" >&6
23486 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23487 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23488 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23489 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23490 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23492 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23493 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23494 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23495 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23496 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23500 ## If we have a custom action on failure, don't print errors, but
23501 ## do set a variable so people can do so.
23502 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23509 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23510 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23514 if test $succeeded = yes; then
23516 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23517 # FIXME: GTK_LIBS already has a lot of what this is
23518 # about to add, but we go ahead and just add
23519 # it all again anyway.
23520 # This is not a good way to manage things. And simply
23521 # uniq'ing the list later is hardly better.
23522 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23526 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23527 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23528 wxUSE_PRINTING_ARCHITECTURE
="no"
23535 save_CFLAGS
="$CFLAGS"
23537 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23538 LIBS
="$LIBS $GTK_LIBS"
23540 for ac_func
in pango_font_family_is_monospace
23542 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23543 echo "$as_me:$LINENO: checking for $ac_func" >&5
23544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23545 if eval "test \"\${$as_ac_var+set}\" = set"; then
23546 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 cat >conftest.
$ac_ext <<_ACEOF
23551 cat confdefs.h
>>conftest.
$ac_ext
23552 cat >>conftest.
$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23556 #define $ac_func innocuous_$ac_func
23558 /* System header to define __stub macros and hopefully few prototypes,
23559 which can conflict with char $ac_func (); below.
23560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23561 <limits.h> exists even on freestanding compilers. */
23564 # include <limits.h>
23566 # include <assert.h>
23571 /* Override any gcc2 internal prototype to avoid an error. */
23576 /* We use char because int might match the return type of a gcc2
23577 builtin and then its argument prototype would still apply. */
23579 /* The GNU C library defines this for functions which it implements
23580 to always fail with ENOSYS. Some functions are actually named
23581 something starting with __ and the normal name is an alias. */
23582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23585 char (*f) () = $ac_func;
23594 return f != $ac_func;
23599 rm -f conftest.
$ac_objext conftest
$ac_exeext
23600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23601 (eval $ac_link) 2>conftest.er1
23603 grep -v '^ *+' conftest.er1
>conftest.err
23605 cat conftest.err
>&5
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); } &&
23608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23610 (eval $ac_try) 2>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; } &&
23614 { ac_try
='test -s conftest$ac_exeext'
23615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23616 (eval $ac_try) 2>&5
23618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619 (exit $ac_status); }; }; then
23620 eval "$as_ac_var=yes"
23622 echo "$as_me: failed program was:" >&5
23623 sed 's/^/| /' conftest.
$ac_ext >&5
23625 eval "$as_ac_var=no"
23627 rm -f conftest.err conftest.
$ac_objext \
23628 conftest
$ac_exeext conftest.
$ac_ext
23630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23632 if test `eval echo '${'$as_ac_var'}'` = yes; then
23633 cat >>confdefs.h
<<_ACEOF
23634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23640 CFLAGS
="$save_CFLAGS"
23643 if test "$wxUSE_UNICODE" = "yes"; then
23644 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23645 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23650 if test "$USE_DARWIN" != 1; then
23652 for ac_func
in poll
23654 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23655 echo "$as_me:$LINENO: checking for $ac_func" >&5
23656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23657 if eval "test \"\${$as_ac_var+set}\" = set"; then
23658 echo $ECHO_N "(cached) $ECHO_C" >&6
23660 cat >conftest.
$ac_ext <<_ACEOF
23663 cat confdefs.h
>>conftest.
$ac_ext
23664 cat >>conftest.
$ac_ext <<_ACEOF
23665 /* end confdefs.h. */
23666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23668 #define $ac_func innocuous_$ac_func
23670 /* System header to define __stub macros and hopefully few prototypes,
23671 which can conflict with char $ac_func (); below.
23672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23673 <limits.h> exists even on freestanding compilers. */
23676 # include <limits.h>
23678 # include <assert.h>
23683 /* Override any gcc2 internal prototype to avoid an error. */
23688 /* We use char because int might match the return type of a gcc2
23689 builtin and then its argument prototype would still apply. */
23691 /* The GNU C library defines this for functions which it implements
23692 to always fail with ENOSYS. Some functions are actually named
23693 something starting with __ and the normal name is an alias. */
23694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23697 char (*f) () = $ac_func;
23706 return f != $ac_func;
23711 rm -f conftest.
$ac_objext conftest
$ac_exeext
23712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23713 (eval $ac_link) 2>conftest.er1
23715 grep -v '^ *+' conftest.er1
>conftest.err
23717 cat conftest.err
>&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); } &&
23720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23722 (eval $ac_try) 2>&5
23724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23725 (exit $ac_status); }; } &&
23726 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
23732 eval "$as_ac_var=yes"
23734 echo "$as_me: failed program was:" >&5
23735 sed 's/^/| /' conftest.
$ac_ext >&5
23737 eval "$as_ac_var=no"
23739 rm -f conftest.err conftest.
$ac_objext \
23740 conftest
$ac_exeext conftest.
$ac_ext
23742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23744 if test `eval echo '${'$as_ac_var'}'` = yes; then
23745 cat >>confdefs.h
<<_ACEOF
23746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23754 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23755 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23757 AFMINSTALL
=afminstall
23761 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23762 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23763 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23764 echo $ECHO_N "(cached) $ECHO_C" >&6
23766 ac_check_lib_save_LIBS
=$LIBS
23768 cat >conftest.
$ac_ext <<_ACEOF
23771 cat confdefs.h
>>conftest.
$ac_ext
23772 cat >>conftest.
$ac_ext <<_ACEOF
23773 /* end confdefs.h. */
23775 /* Override any gcc2 internal prototype to avoid an error. */
23779 /* We use char because int might match the return type of a gcc2
23780 builtin and then its argument prototype would still apply. */
23781 char gdk_im_open ();
23790 rm -f conftest.
$ac_objext conftest
$ac_exeext
23791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23792 (eval $ac_link) 2>conftest.er1
23794 grep -v '^ *+' conftest.er1
>conftest.err
23796 cat conftest.err
>&5
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); } &&
23799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; } &&
23805 { ac_try
='test -s conftest$ac_exeext'
23806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23807 (eval $ac_try) 2>&5
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); }; }; then
23811 ac_cv_lib_gdk_gdk_im_open
=yes
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.
$ac_ext >&5
23816 ac_cv_lib_gdk_gdk_im_open
=no
23818 rm -f conftest.err conftest.
$ac_objext \
23819 conftest
$ac_exeext conftest.
$ac_ext
23820 LIBS
=$ac_check_lib_save_LIBS
23822 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23823 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23824 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23825 cat >>confdefs.h
<<\_ACEOF
23833 if test "$wxUSE_GPE" = "yes"; then
23834 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23835 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23838 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23840 for ac_extension
in a so sl dylib
; do
23841 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23842 ac_find_libraries
=$ac_dir
23848 if test "$ac_find_libraries" != "" ; then
23850 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23852 if test $result = 0; then
23855 ac_path_to_link
=" -L$ac_find_libraries"
23858 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23860 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23861 echo "${ECHO_T}found at $ac_find_libraries" >&6
23863 echo "$as_me:$LINENO: result: not found" >&5
23864 echo "${ECHO_T}not found" >&6
23870 if test "$wxUSE_MGL" = 1; then
23871 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23872 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23873 if test "x$MGL_ROOT" = x
; then
23874 echo "$as_me:$LINENO: result: not found" >&5
23875 echo "${ECHO_T}not found" >&6
23876 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23877 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23878 { (exit 1); exit 1; }; }
23880 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23881 echo "${ECHO_T}$MGL_ROOT" >&6
23884 echo "$as_me:$LINENO: checking for libmgl location" >&5
23885 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23888 if test "x$wxUSE_SHARED" = xyes
; then
23889 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23891 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23895 mgl_os_candidates
="dos32/dj2"
23898 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23899 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23900 { (exit 1); exit 1; }; }
23906 for mgl_os_i
in $mgl_os_candidates ; do
23907 if test "x$mgl_os" = x
; then
23908 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23909 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23910 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23915 if test "x$mgl_lib_type" = x
; then
23916 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23917 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23918 mgl_lib_type
=release
23925 if test "x$mgl_os" = x
; then
23926 echo "$as_me:$LINENO: result: not found" >&5
23927 echo "${ECHO_T}not found" >&6
23928 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23929 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23930 { (exit 1); exit 1; }; }
23932 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23933 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23935 wxUSE_UNIVERSAL
="yes"
23937 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23938 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23940 AFMINSTALL
=afminstall
23945 if test "$wxUSE_MICROWIN" = 1; then
23946 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23947 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23948 if test "x$MICROWINDOWS" = x
; then
23949 echo "$as_me:$LINENO: result: not found" >&5
23950 echo "${ECHO_T}not found" >&6
23951 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23952 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23953 { (exit 1); exit 1; }; }
23955 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23956 echo "${ECHO_T}$MICROWINDOWS" >&6
23959 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23960 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23961 echo "${ECHO_T}MicroWindows' libraries found." >&6
23963 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23964 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23965 { (exit 1); exit 1; }; }
23968 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23969 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23971 wxUSE_UNIVERSAL
="yes"
23973 AFMINSTALL
=afminstall
23975 GUIDIST
=MICROWIN_DIST
23977 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23980 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
23982 if test "x$ac_path_x_has_been_run" != xyes
; then
23983 echo "$as_me:$LINENO: checking for X" >&5
23984 echo $ECHO_N "checking for X... $ECHO_C" >&6
23986 ac_path_x_has_been_run
=yes
23988 # Check whether --with-x or --without-x was given.
23989 if test "${with_x+set}" = set; then
23993 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23994 if test "x$with_x" = xno
; then
23995 # The user explicitly disabled X.
23998 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23999 # Both variables are already set.
24002 if test "${ac_cv_have_x+set}" = set; then
24003 echo $ECHO_N "(cached) $ECHO_C" >&6
24005 # One or both of the vars are not set, and there is no cached value.
24006 ac_x_includes
=no ac_x_libraries
=no
24007 rm -fr conftest.dir
24008 if mkdir conftest.dir
; then
24010 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24011 cat >Imakefile
<<'_ACEOF'
24013 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24015 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24016 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24017 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24018 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24019 for ac_extension
in a so sl
; do
24020 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24021 test -f $ac_im_libdir/libX11.
$ac_extension; then
24022 ac_im_usrlibdir
=$ac_im_libdir; break
24025 # Screen out bogus values from the imake configuration. They are
24026 # bogus both because they are the default anyway, and because
24027 # using them would break gcc on systems where it needs fixed includes.
24028 case $ac_im_incroot in
24030 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24032 case $ac_im_usrlibdir in
24033 /usr
/lib
| /lib
) ;;
24034 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24038 rm -fr conftest.dir
24041 # Standard set of common directories for X headers.
24042 # Check X11 before X11Rn because it is often a symlink to the current release.
24054 /usr/local/X11/include
24055 /usr/local/X11R6/include
24056 /usr/local/X11R5/include
24057 /usr/local/X11R4/include
24059 /usr/local/include/X11
24060 /usr/local/include/X11R6
24061 /usr/local/include/X11R5
24062 /usr/local/include/X11R4
24066 /usr/XFree86/include/X11
24070 /usr/unsupported/include
24071 /usr/athena/include
24072 /usr/local/x11r5/include
24073 /usr/lpp/Xamples/include
24075 /usr/openwin/include
24076 /usr/openwin/share/include'
24078 if test "$ac_x_includes" = no
; then
24079 # Guess where to find include files, by looking for a specified header file.
24080 # First, try using that file with no special directory specified.
24081 cat >conftest.
$ac_ext <<_ACEOF
24084 cat confdefs.h
>>conftest.
$ac_ext
24085 cat >>conftest.
$ac_ext <<_ACEOF
24086 /* end confdefs.h. */
24087 #include <X11/Intrinsic.h>
24089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24092 grep -v '^ *+' conftest.er1
>conftest.err
24094 cat conftest.err
>&5
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); } >/dev
/null
; then
24097 if test -s conftest.err
; then
24098 ac_cpp_err
=$ac_c_preproc_warn_flag
24099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24106 if test -z "$ac_cpp_err"; then
24107 # We can compile using X headers with no special include directory.
24110 echo "$as_me: failed program was:" >&5
24111 sed 's/^/| /' conftest.
$ac_ext >&5
24113 for ac_dir
in $ac_x_header_dirs; do
24114 if test -r "$ac_dir/X11/Intrinsic.h"; then
24115 ac_x_includes
=$ac_dir
24120 rm -f conftest.err conftest.
$ac_ext
24121 fi # $ac_x_includes = no
24123 if test "$ac_x_libraries" = no
; then
24124 # Check for the libraries.
24125 # See if we find them without any special options.
24126 # Don't add to $LIBS permanently.
24129 cat >conftest.
$ac_ext <<_ACEOF
24132 cat confdefs.h
>>conftest.
$ac_ext
24133 cat >>conftest.
$ac_ext <<_ACEOF
24134 /* end confdefs.h. */
24135 #include <X11/Intrinsic.h>
24144 rm -f conftest.
$ac_objext conftest
$ac_exeext
24145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24146 (eval $ac_link) 2>conftest.er1
24148 grep -v '^ *+' conftest.er1
>conftest.err
24150 cat conftest.err
>&5
24151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24152 (exit $ac_status); } &&
24153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24155 (eval $ac_try) 2>&5
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); }; } &&
24159 { ac_try
='test -s conftest$ac_exeext'
24160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24161 (eval $ac_try) 2>&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); }; }; then
24166 # We can link X programs with no special library path.
24169 echo "$as_me: failed program was:" >&5
24170 sed 's/^/| /' conftest.
$ac_ext >&5
24173 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24175 # Don't even attempt the hair of trying to link an X program!
24176 for ac_extension
in a so sl
; do
24177 if test -r $ac_dir/libXt.
$ac_extension; then
24178 ac_x_libraries
=$ac_dir
24184 rm -f conftest.err conftest.
$ac_objext \
24185 conftest
$ac_exeext conftest.
$ac_ext
24186 fi # $ac_x_libraries = no
24188 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24189 # Didn't find X anywhere. Cache the known absence of X.
24190 ac_cv_have_x
="have_x=no"
24192 # Record where we found X for the cache.
24193 ac_cv_have_x
="have_x=yes \
24194 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24199 eval "$ac_cv_have_x"
24202 if test "$have_x" != yes; then
24203 echo "$as_me:$LINENO: result: $have_x" >&5
24204 echo "${ECHO_T}$have_x" >&6
24207 # If each of the values was on the command line, it overrides each guess.
24208 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24209 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24210 # Update the cache value to reflect the command line values.
24211 ac_cv_have_x
="have_x=yes \
24212 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24213 # It might be that x_includes is empty (headers are found in the
24214 # standard search path. Then output the corresponding message
24215 ac_out_x_includes
=$x_includes
24216 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
24217 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24218 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24222 if test "$no_x" = yes; then
24223 # Not all programs may use this symbol, but it does not hurt to define it.
24225 cat >>confdefs.h
<<\_ACEOF
24226 #define X_DISPLAY_MISSING 1
24229 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24231 if test -n "$x_includes"; then
24232 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24235 # It would also be nice to do this for all -L options, not just this one.
24236 if test -n "$x_libraries"; then
24237 X_LIBS
="$X_LIBS -L$x_libraries"
24238 # For Solaris; some versions of Sun CC require a space after -R and
24239 # others require no space. Words are not sufficient . . . .
24240 case `(uname -sr) 2>/dev/null` in
24242 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24243 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24244 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24245 cat >conftest.
$ac_ext <<_ACEOF
24248 cat confdefs.h
>>conftest.
$ac_ext
24249 cat >>conftest.
$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24260 rm -f conftest.
$ac_objext conftest
$ac_exeext
24261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24262 (eval $ac_link) 2>conftest.er1
24264 grep -v '^ *+' conftest.er1
>conftest.err
24266 cat conftest.err
>&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); } &&
24269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24271 (eval $ac_try) 2>&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); }; } &&
24275 { ac_try
='test -s conftest$ac_exeext'
24276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24277 (eval $ac_try) 2>&5
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); }; }; then
24283 echo "$as_me: failed program was:" >&5
24284 sed 's/^/| /' conftest.
$ac_ext >&5
24288 rm -f conftest.err conftest.
$ac_objext \
24289 conftest
$ac_exeext conftest.
$ac_ext
24290 if test $ac_R_nospace = yes; then
24291 echo "$as_me:$LINENO: result: no" >&5
24292 echo "${ECHO_T}no" >&6
24293 X_LIBS
="$X_LIBS -R$x_libraries"
24295 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24296 cat >conftest.
$ac_ext <<_ACEOF
24299 cat confdefs.h
>>conftest.
$ac_ext
24300 cat >>conftest.
$ac_ext <<_ACEOF
24301 /* end confdefs.h. */
24311 rm -f conftest.
$ac_objext conftest
$ac_exeext
24312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24313 (eval $ac_link) 2>conftest.er1
24315 grep -v '^ *+' conftest.er1
>conftest.err
24317 cat conftest.err
>&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } &&
24320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24322 (eval $ac_try) 2>&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); }; } &&
24326 { ac_try
='test -s conftest$ac_exeext'
24327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24328 (eval $ac_try) 2>&5
24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331 (exit $ac_status); }; }; then
24334 echo "$as_me: failed program was:" >&5
24335 sed 's/^/| /' conftest.
$ac_ext >&5
24339 rm -f conftest.err conftest.
$ac_objext \
24340 conftest
$ac_exeext conftest.
$ac_ext
24341 if test $ac_R_space = yes; then
24342 echo "$as_me:$LINENO: result: yes" >&5
24343 echo "${ECHO_T}yes" >&6
24344 X_LIBS
="$X_LIBS -R $x_libraries"
24346 echo "$as_me:$LINENO: result: neither works" >&5
24347 echo "${ECHO_T}neither works" >&6
24350 LIBS
=$ac_xsave_LIBS
24354 # Check for system-dependent libraries X programs must link with.
24355 # Do this before checking for the system-independent R6 libraries
24356 # (-lICE), since we may need -lsocket or whatever for X linking.
24358 if test "$ISC" = yes; then
24359 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24361 # Martyn Johnson says this is needed for Ultrix, if the X
24362 # libraries were built with DECnet support. And Karl Berry says
24363 # the Alpha needs dnet_stub (dnet does not exist).
24364 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24365 cat >conftest.
$ac_ext <<_ACEOF
24368 cat confdefs.h
>>conftest.
$ac_ext
24369 cat >>conftest.
$ac_ext <<_ACEOF
24370 /* end confdefs.h. */
24372 /* Override any gcc2 internal prototype to avoid an error. */
24376 /* We use char because int might match the return type of a gcc2
24377 builtin and then its argument prototype would still apply. */
24378 char XOpenDisplay ();
24387 rm -f conftest.
$ac_objext conftest
$ac_exeext
24388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24389 (eval $ac_link) 2>conftest.er1
24391 grep -v '^ *+' conftest.er1
>conftest.err
24393 cat conftest.err
>&5
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); } &&
24396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24398 (eval $ac_try) 2>&5
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); }; } &&
24402 { ac_try
='test -s conftest$ac_exeext'
24403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24404 (eval $ac_try) 2>&5
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); }; }; then
24410 echo "$as_me: failed program was:" >&5
24411 sed 's/^/| /' conftest.
$ac_ext >&5
24413 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24414 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24415 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24416 echo $ECHO_N "(cached) $ECHO_C" >&6
24418 ac_check_lib_save_LIBS
=$LIBS
24419 LIBS
="-ldnet $LIBS"
24420 cat >conftest.
$ac_ext <<_ACEOF
24423 cat confdefs.h
>>conftest.
$ac_ext
24424 cat >>conftest.
$ac_ext <<_ACEOF
24425 /* end confdefs.h. */
24427 /* Override any gcc2 internal prototype to avoid an error. */
24431 /* We use char because int might match the return type of a gcc2
24432 builtin and then its argument prototype would still apply. */
24442 rm -f conftest.
$ac_objext conftest
$ac_exeext
24443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24444 (eval $ac_link) 2>conftest.er1
24446 grep -v '^ *+' conftest.er1
>conftest.err
24448 cat conftest.err
>&5
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); } &&
24451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; } &&
24457 { ac_try
='test -s conftest$ac_exeext'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; }; then
24463 ac_cv_lib_dnet_dnet_ntoa
=yes
24465 echo "$as_me: failed program was:" >&5
24466 sed 's/^/| /' conftest.
$ac_ext >&5
24468 ac_cv_lib_dnet_dnet_ntoa
=no
24470 rm -f conftest.err conftest.
$ac_objext \
24471 conftest
$ac_exeext conftest.
$ac_ext
24472 LIBS
=$ac_check_lib_save_LIBS
24474 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24475 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24476 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24477 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24480 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24481 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24482 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24483 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24484 echo $ECHO_N "(cached) $ECHO_C" >&6
24486 ac_check_lib_save_LIBS
=$LIBS
24487 LIBS
="-ldnet_stub $LIBS"
24488 cat >conftest.
$ac_ext <<_ACEOF
24491 cat confdefs.h
>>conftest.
$ac_ext
24492 cat >>conftest.
$ac_ext <<_ACEOF
24493 /* end confdefs.h. */
24495 /* Override any gcc2 internal prototype to avoid an error. */
24499 /* We use char because int might match the return type of a gcc2
24500 builtin and then its argument prototype would still apply. */
24510 rm -f conftest.
$ac_objext conftest
$ac_exeext
24511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24512 (eval $ac_link) 2>conftest.er1
24514 grep -v '^ *+' conftest.er1
>conftest.err
24516 cat conftest.err
>&5
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); } &&
24519 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24521 (eval $ac_try) 2>&5
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); }; } &&
24525 { ac_try
='test -s conftest$ac_exeext'
24526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24527 (eval $ac_try) 2>&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); }; }; then
24531 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24533 echo "$as_me: failed program was:" >&5
24534 sed 's/^/| /' conftest.
$ac_ext >&5
24536 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24538 rm -f conftest.err conftest.
$ac_objext \
24539 conftest
$ac_exeext conftest.
$ac_ext
24540 LIBS
=$ac_check_lib_save_LIBS
24542 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24543 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24544 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24545 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24550 rm -f conftest.err conftest.
$ac_objext \
24551 conftest
$ac_exeext conftest.
$ac_ext
24552 LIBS
="$ac_xsave_LIBS"
24554 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24555 # to get the SysV transport functions.
24556 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24558 # The nsl library prevents programs from opening the X display
24559 # on Irix 5.2, according to T.E. Dickey.
24560 # The functions gethostbyname, getservbyname, and inet_addr are
24561 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24562 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24563 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24564 if test "${ac_cv_func_gethostbyname+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24567 cat >conftest.
$ac_ext <<_ACEOF
24570 cat confdefs.h
>>conftest.
$ac_ext
24571 cat >>conftest.
$ac_ext <<_ACEOF
24572 /* end confdefs.h. */
24573 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24575 #define gethostbyname innocuous_gethostbyname
24577 /* System header to define __stub macros and hopefully few prototypes,
24578 which can conflict with char gethostbyname (); below.
24579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24580 <limits.h> exists even on freestanding compilers. */
24583 # include <limits.h>
24585 # include <assert.h>
24588 #undef gethostbyname
24590 /* Override any gcc2 internal prototype to avoid an error. */
24595 /* We use char because int might match the return type of a gcc2
24596 builtin and then its argument prototype would still apply. */
24597 char gethostbyname ();
24598 /* The GNU C library defines this for functions which it implements
24599 to always fail with ENOSYS. Some functions are actually named
24600 something starting with __ and the normal name is an alias. */
24601 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24604 char (*f) () = gethostbyname;
24613 return f != gethostbyname;
24618 rm -f conftest.
$ac_objext conftest
$ac_exeext
24619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24620 (eval $ac_link) 2>conftest.er1
24622 grep -v '^ *+' conftest.er1
>conftest.err
24624 cat conftest.err
>&5
24625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626 (exit $ac_status); } &&
24627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24629 (eval $ac_try) 2>&5
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); }; } &&
24633 { ac_try
='test -s conftest$ac_exeext'
24634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24635 (eval $ac_try) 2>&5
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); }; }; then
24639 ac_cv_func_gethostbyname
=yes
24641 echo "$as_me: failed program was:" >&5
24642 sed 's/^/| /' conftest.
$ac_ext >&5
24644 ac_cv_func_gethostbyname
=no
24646 rm -f conftest.err conftest.
$ac_objext \
24647 conftest
$ac_exeext conftest.
$ac_ext
24649 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24650 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24652 if test $ac_cv_func_gethostbyname = no
; then
24653 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24654 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24655 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24656 echo $ECHO_N "(cached) $ECHO_C" >&6
24658 ac_check_lib_save_LIBS
=$LIBS
24660 cat >conftest.
$ac_ext <<_ACEOF
24663 cat confdefs.h
>>conftest.
$ac_ext
24664 cat >>conftest.
$ac_ext <<_ACEOF
24665 /* end confdefs.h. */
24667 /* Override any gcc2 internal prototype to avoid an error. */
24671 /* We use char because int might match the return type of a gcc2
24672 builtin and then its argument prototype would still apply. */
24673 char gethostbyname ();
24682 rm -f conftest.
$ac_objext conftest
$ac_exeext
24683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24684 (eval $ac_link) 2>conftest.er1
24686 grep -v '^ *+' conftest.er1
>conftest.err
24688 cat conftest.err
>&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } &&
24691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24693 (eval $ac_try) 2>&5
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); }; } &&
24697 { ac_try
='test -s conftest$ac_exeext'
24698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24699 (eval $ac_try) 2>&5
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702 (exit $ac_status); }; }; then
24703 ac_cv_lib_nsl_gethostbyname
=yes
24705 echo "$as_me: failed program was:" >&5
24706 sed 's/^/| /' conftest.
$ac_ext >&5
24708 ac_cv_lib_nsl_gethostbyname
=no
24710 rm -f conftest.err conftest.
$ac_objext \
24711 conftest
$ac_exeext conftest.
$ac_ext
24712 LIBS
=$ac_check_lib_save_LIBS
24714 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24715 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24716 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24717 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24720 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24721 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24722 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24723 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24724 echo $ECHO_N "(cached) $ECHO_C" >&6
24726 ac_check_lib_save_LIBS
=$LIBS
24728 cat >conftest.
$ac_ext <<_ACEOF
24731 cat confdefs.h
>>conftest.
$ac_ext
24732 cat >>conftest.
$ac_ext <<_ACEOF
24733 /* end confdefs.h. */
24735 /* Override any gcc2 internal prototype to avoid an error. */
24739 /* We use char because int might match the return type of a gcc2
24740 builtin and then its argument prototype would still apply. */
24741 char gethostbyname ();
24750 rm -f conftest.
$ac_objext conftest
$ac_exeext
24751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24752 (eval $ac_link) 2>conftest.er1
24754 grep -v '^ *+' conftest.er1
>conftest.err
24756 cat conftest.err
>&5
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); } &&
24759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24761 (eval $ac_try) 2>&5
24763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764 (exit $ac_status); }; } &&
24765 { ac_try
='test -s conftest$ac_exeext'
24766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24767 (eval $ac_try) 2>&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); }; }; then
24771 ac_cv_lib_bsd_gethostbyname
=yes
24773 echo "$as_me: failed program was:" >&5
24774 sed 's/^/| /' conftest.
$ac_ext >&5
24776 ac_cv_lib_bsd_gethostbyname
=no
24778 rm -f conftest.err conftest.
$ac_objext \
24779 conftest
$ac_exeext conftest.
$ac_ext
24780 LIBS
=$ac_check_lib_save_LIBS
24782 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24783 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24784 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24785 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24791 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24792 # socket/setsockopt and other routines are undefined under SCO ODT
24793 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24794 # on later versions), says Simon Leinen: it contains gethostby*
24795 # variants that don't use the name server (or something). -lsocket
24796 # must be given before -lnsl if both are needed. We assume that
24797 # if connect needs -lnsl, so does gethostbyname.
24798 echo "$as_me:$LINENO: checking for connect" >&5
24799 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24800 if test "${ac_cv_func_connect+set}" = set; then
24801 echo $ECHO_N "(cached) $ECHO_C" >&6
24803 cat >conftest.
$ac_ext <<_ACEOF
24806 cat confdefs.h
>>conftest.
$ac_ext
24807 cat >>conftest.
$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24809 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24811 #define connect innocuous_connect
24813 /* System header to define __stub macros and hopefully few prototypes,
24814 which can conflict with char connect (); below.
24815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24816 <limits.h> exists even on freestanding compilers. */
24819 # include <limits.h>
24821 # include <assert.h>
24826 /* Override any gcc2 internal prototype to avoid an error. */
24831 /* We use char because int might match the return type of a gcc2
24832 builtin and then its argument prototype would still apply. */
24834 /* The GNU C library defines this for functions which it implements
24835 to always fail with ENOSYS. Some functions are actually named
24836 something starting with __ and the normal name is an alias. */
24837 #if defined (__stub_connect) || defined (__stub___connect)
24840 char (*f) () = connect;
24849 return f != connect;
24854 rm -f conftest.
$ac_objext conftest
$ac_exeext
24855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24856 (eval $ac_link) 2>conftest.er1
24858 grep -v '^ *+' conftest.er1
>conftest.err
24860 cat conftest.err
>&5
24861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862 (exit $ac_status); } &&
24863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24865 (eval $ac_try) 2>&5
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); }; } &&
24869 { ac_try
='test -s conftest$ac_exeext'
24870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24871 (eval $ac_try) 2>&5
24873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874 (exit $ac_status); }; }; then
24875 ac_cv_func_connect
=yes
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.
$ac_ext >&5
24880 ac_cv_func_connect
=no
24882 rm -f conftest.err conftest.
$ac_objext \
24883 conftest
$ac_exeext conftest.
$ac_ext
24885 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24886 echo "${ECHO_T}$ac_cv_func_connect" >&6
24888 if test $ac_cv_func_connect = no
; then
24889 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24890 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24891 if test "${ac_cv_lib_socket_connect+set}" = set; then
24892 echo $ECHO_N "(cached) $ECHO_C" >&6
24894 ac_check_lib_save_LIBS
=$LIBS
24895 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24896 cat >conftest.
$ac_ext <<_ACEOF
24899 cat confdefs.h
>>conftest.
$ac_ext
24900 cat >>conftest.
$ac_ext <<_ACEOF
24901 /* end confdefs.h. */
24903 /* Override any gcc2 internal prototype to avoid an error. */
24907 /* We use char because int might match the return type of a gcc2
24908 builtin and then its argument prototype would still apply. */
24918 rm -f conftest.
$ac_objext conftest
$ac_exeext
24919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24920 (eval $ac_link) 2>conftest.er1
24922 grep -v '^ *+' conftest.er1
>conftest.err
24924 cat conftest.err
>&5
24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 (exit $ac_status); } &&
24927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24929 (eval $ac_try) 2>&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); }; } &&
24933 { ac_try
='test -s conftest$ac_exeext'
24934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24935 (eval $ac_try) 2>&5
24937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24938 (exit $ac_status); }; }; then
24939 ac_cv_lib_socket_connect
=yes
24941 echo "$as_me: failed program was:" >&5
24942 sed 's/^/| /' conftest.
$ac_ext >&5
24944 ac_cv_lib_socket_connect
=no
24946 rm -f conftest.err conftest.
$ac_objext \
24947 conftest
$ac_exeext conftest.
$ac_ext
24948 LIBS
=$ac_check_lib_save_LIBS
24950 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24951 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24952 if test $ac_cv_lib_socket_connect = yes; then
24953 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24958 # Guillermo Gomez says -lposix is necessary on A/UX.
24959 echo "$as_me:$LINENO: checking for remove" >&5
24960 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24961 if test "${ac_cv_func_remove+set}" = set; then
24962 echo $ECHO_N "(cached) $ECHO_C" >&6
24964 cat >conftest.
$ac_ext <<_ACEOF
24967 cat confdefs.h
>>conftest.
$ac_ext
24968 cat >>conftest.
$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24970 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24972 #define remove innocuous_remove
24974 /* System header to define __stub macros and hopefully few prototypes,
24975 which can conflict with char remove (); below.
24976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24977 <limits.h> exists even on freestanding compilers. */
24980 # include <limits.h>
24982 # include <assert.h>
24987 /* Override any gcc2 internal prototype to avoid an error. */
24992 /* We use char because int might match the return type of a gcc2
24993 builtin and then its argument prototype would still apply. */
24995 /* The GNU C library defines this for functions which it implements
24996 to always fail with ENOSYS. Some functions are actually named
24997 something starting with __ and the normal name is an alias. */
24998 #if defined (__stub_remove) || defined (__stub___remove)
25001 char (*f) () = remove;
25010 return f != remove;
25015 rm -f conftest.
$ac_objext conftest
$ac_exeext
25016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25017 (eval $ac_link) 2>conftest.er1
25019 grep -v '^ *+' conftest.er1
>conftest.err
25021 cat conftest.err
>&5
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); } &&
25024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25026 (eval $ac_try) 2>&5
25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029 (exit $ac_status); }; } &&
25030 { ac_try
='test -s conftest$ac_exeext'
25031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25032 (eval $ac_try) 2>&5
25034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25035 (exit $ac_status); }; }; then
25036 ac_cv_func_remove
=yes
25038 echo "$as_me: failed program was:" >&5
25039 sed 's/^/| /' conftest.
$ac_ext >&5
25041 ac_cv_func_remove
=no
25043 rm -f conftest.err conftest.
$ac_objext \
25044 conftest
$ac_exeext conftest.
$ac_ext
25046 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25047 echo "${ECHO_T}$ac_cv_func_remove" >&6
25049 if test $ac_cv_func_remove = no
; then
25050 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25051 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25052 if test "${ac_cv_lib_posix_remove+set}" = set; then
25053 echo $ECHO_N "(cached) $ECHO_C" >&6
25055 ac_check_lib_save_LIBS
=$LIBS
25056 LIBS
="-lposix $LIBS"
25057 cat >conftest.
$ac_ext <<_ACEOF
25060 cat confdefs.h
>>conftest.
$ac_ext
25061 cat >>conftest.
$ac_ext <<_ACEOF
25062 /* end confdefs.h. */
25064 /* Override any gcc2 internal prototype to avoid an error. */
25068 /* We use char because int might match the return type of a gcc2
25069 builtin and then its argument prototype would still apply. */
25079 rm -f conftest.
$ac_objext conftest
$ac_exeext
25080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25081 (eval $ac_link) 2>conftest.er1
25083 grep -v '^ *+' conftest.er1
>conftest.err
25085 cat conftest.err
>&5
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); } &&
25088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25090 (eval $ac_try) 2>&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); }; } &&
25094 { ac_try
='test -s conftest$ac_exeext'
25095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25096 (eval $ac_try) 2>&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); }; }; then
25100 ac_cv_lib_posix_remove
=yes
25102 echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.
$ac_ext >&5
25105 ac_cv_lib_posix_remove
=no
25107 rm -f conftest.err conftest.
$ac_objext \
25108 conftest
$ac_exeext conftest.
$ac_ext
25109 LIBS
=$ac_check_lib_save_LIBS
25111 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25112 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25113 if test $ac_cv_lib_posix_remove = yes; then
25114 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25119 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25120 echo "$as_me:$LINENO: checking for shmat" >&5
25121 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25122 if test "${ac_cv_func_shmat+set}" = set; then
25123 echo $ECHO_N "(cached) $ECHO_C" >&6
25125 cat >conftest.
$ac_ext <<_ACEOF
25128 cat confdefs.h
>>conftest.
$ac_ext
25129 cat >>conftest.
$ac_ext <<_ACEOF
25130 /* end confdefs.h. */
25131 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25133 #define shmat innocuous_shmat
25135 /* System header to define __stub macros and hopefully few prototypes,
25136 which can conflict with char shmat (); below.
25137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25138 <limits.h> exists even on freestanding compilers. */
25141 # include <limits.h>
25143 # include <assert.h>
25148 /* Override any gcc2 internal prototype to avoid an error. */
25153 /* We use char because int might match the return type of a gcc2
25154 builtin and then its argument prototype would still apply. */
25156 /* The GNU C library defines this for functions which it implements
25157 to always fail with ENOSYS. Some functions are actually named
25158 something starting with __ and the normal name is an alias. */
25159 #if defined (__stub_shmat) || defined (__stub___shmat)
25162 char (*f) () = shmat;
25176 rm -f conftest.
$ac_objext conftest
$ac_exeext
25177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25178 (eval $ac_link) 2>conftest.er1
25180 grep -v '^ *+' conftest.er1
>conftest.err
25182 cat conftest.err
>&5
25183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25184 (exit $ac_status); } &&
25185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25187 (eval $ac_try) 2>&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); }; } &&
25191 { ac_try
='test -s conftest$ac_exeext'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; }; then
25197 ac_cv_func_shmat
=yes
25199 echo "$as_me: failed program was:" >&5
25200 sed 's/^/| /' conftest.
$ac_ext >&5
25202 ac_cv_func_shmat
=no
25204 rm -f conftest.err conftest.
$ac_objext \
25205 conftest
$ac_exeext conftest.
$ac_ext
25207 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25208 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25210 if test $ac_cv_func_shmat = no
; then
25211 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25212 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25213 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25214 echo $ECHO_N "(cached) $ECHO_C" >&6
25216 ac_check_lib_save_LIBS
=$LIBS
25218 cat >conftest.
$ac_ext <<_ACEOF
25221 cat confdefs.h
>>conftest.
$ac_ext
25222 cat >>conftest.
$ac_ext <<_ACEOF
25223 /* end confdefs.h. */
25225 /* Override any gcc2 internal prototype to avoid an error. */
25229 /* We use char because int might match the return type of a gcc2
25230 builtin and then its argument prototype would still apply. */
25240 rm -f conftest.
$ac_objext conftest
$ac_exeext
25241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25242 (eval $ac_link) 2>conftest.er1
25244 grep -v '^ *+' conftest.er1
>conftest.err
25246 cat conftest.err
>&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); } &&
25249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25251 (eval $ac_try) 2>&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); }; } &&
25255 { ac_try
='test -s conftest$ac_exeext'
25256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25257 (eval $ac_try) 2>&5
25259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25260 (exit $ac_status); }; }; then
25261 ac_cv_lib_ipc_shmat
=yes
25263 echo "$as_me: failed program was:" >&5
25264 sed 's/^/| /' conftest.
$ac_ext >&5
25266 ac_cv_lib_ipc_shmat
=no
25268 rm -f conftest.err conftest.
$ac_objext \
25269 conftest
$ac_exeext conftest.
$ac_ext
25270 LIBS
=$ac_check_lib_save_LIBS
25272 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25273 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25274 if test $ac_cv_lib_ipc_shmat = yes; then
25275 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25281 # Check for libraries that X11R6 Xt/Xaw programs need.
25282 ac_save_LDFLAGS
=$LDFLAGS
25283 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25284 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25285 # check for ICE first), but we must link in the order -lSM -lICE or
25286 # we get undefined symbols. So assume we have SM if we have ICE.
25287 # These have to be linked with before -lX11, unlike the other
25288 # libraries we check for below, so use a different variable.
25289 # John Interrante, Karl Berry
25290 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25291 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25292 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25293 echo $ECHO_N "(cached) $ECHO_C" >&6
25295 ac_check_lib_save_LIBS
=$LIBS
25296 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25297 cat >conftest.
$ac_ext <<_ACEOF
25300 cat confdefs.h
>>conftest.
$ac_ext
25301 cat >>conftest.
$ac_ext <<_ACEOF
25302 /* end confdefs.h. */
25304 /* Override any gcc2 internal prototype to avoid an error. */
25308 /* We use char because int might match the return type of a gcc2
25309 builtin and then its argument prototype would still apply. */
25310 char IceConnectionNumber ();
25314 IceConnectionNumber ();
25319 rm -f conftest.
$ac_objext conftest
$ac_exeext
25320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25321 (eval $ac_link) 2>conftest.er1
25323 grep -v '^ *+' conftest.er1
>conftest.err
25325 cat conftest.err
>&5
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); } &&
25328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25330 (eval $ac_try) 2>&5
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); }; } &&
25334 { ac_try
='test -s conftest$ac_exeext'
25335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25336 (eval $ac_try) 2>&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); }; }; then
25340 ac_cv_lib_ICE_IceConnectionNumber
=yes
25342 echo "$as_me: failed program was:" >&5
25343 sed 's/^/| /' conftest.
$ac_ext >&5
25345 ac_cv_lib_ICE_IceConnectionNumber
=no
25347 rm -f conftest.err conftest.
$ac_objext \
25348 conftest
$ac_exeext conftest.
$ac_ext
25349 LIBS
=$ac_check_lib_save_LIBS
25351 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25352 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25353 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25354 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25357 LDFLAGS
=$ac_save_LDFLAGS
25362 if test "$no_x" = "yes"; then
25363 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25364 echo "$as_me: error: X11 not found" >&2;}
25365 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25368 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25369 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25370 AFMINSTALL
=afminstall
25371 COMPILED_X_PROGRAM
=0
25375 if test "$wxUSE_X11" = 1; then
25376 if test "$wxUSE_NANOX" = "yes"; then
25377 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25378 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25379 if test "x$MICROWIN" = x
; then
25380 echo "$as_me:$LINENO: result: not found" >&5
25381 echo "${ECHO_T}not found" >&6
25382 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25383 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25384 { (exit 1); exit 1; }; }
25386 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25387 echo "${ECHO_T}$MICROWIN" >&6
25388 cat >>confdefs.h
<<\_ACEOF
25389 #define wxUSE_NANOX 1
25395 if test "$wxUSE_UNICODE" = "yes"; then
25399 if test -z "$PKG_CONFIG"; then
25400 # Extract the first word of "pkg-config", so it can be a program name with args.
25401 set dummy pkg
-config; ac_word
=$2
25402 echo "$as_me:$LINENO: checking for $ac_word" >&5
25403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25404 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25405 echo $ECHO_N "(cached) $ECHO_C" >&6
25407 case $PKG_CONFIG in
25409 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25413 for as_dir
in $PATH
25416 test -z "$as_dir" && as_dir
=.
25417 for ac_exec_ext
in '' $ac_executable_extensions; do
25418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25419 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25426 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25430 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25432 if test -n "$PKG_CONFIG"; then
25433 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25434 echo "${ECHO_T}$PKG_CONFIG" >&6
25436 echo "$as_me:$LINENO: result: no" >&5
25437 echo "${ECHO_T}no" >&6
25442 if test "$PKG_CONFIG" = "no" ; then
25443 echo "*** The pkg-config script could not be found. Make sure it is"
25444 echo "*** in your path, or set the PKG_CONFIG environment variable"
25445 echo "*** to the full path to pkg-config."
25446 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25448 PKG_CONFIG_MIN_VERSION
=0.9.0
25449 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25450 echo "$as_me:$LINENO: checking for pangox" >&5
25451 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25453 if $PKG_CONFIG --exists "pangox" ; then
25454 echo "$as_me:$LINENO: result: yes" >&5
25455 echo "${ECHO_T}yes" >&6
25458 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25459 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25460 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25461 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25462 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25464 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25465 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25466 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25467 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25468 echo "${ECHO_T}$PANGOX_LIBS" >&6
25472 ## If we have a custom action on failure, don't print errors, but
25473 ## do set a variable so people can do so.
25474 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25481 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25482 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25486 if test $succeeded = yes; then
25488 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25489 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25493 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25494 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25495 { (exit 1); exit 1; }; }
25503 if test -z "$PKG_CONFIG"; then
25504 # Extract the first word of "pkg-config", so it can be a program name with args.
25505 set dummy pkg
-config; ac_word
=$2
25506 echo "$as_me:$LINENO: checking for $ac_word" >&5
25507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25508 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25511 case $PKG_CONFIG in
25513 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25517 for as_dir
in $PATH
25520 test -z "$as_dir" && as_dir
=.
25521 for ac_exec_ext
in '' $ac_executable_extensions; do
25522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25523 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25530 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25534 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25536 if test -n "$PKG_CONFIG"; then
25537 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25538 echo "${ECHO_T}$PKG_CONFIG" >&6
25540 echo "$as_me:$LINENO: result: no" >&5
25541 echo "${ECHO_T}no" >&6
25546 if test "$PKG_CONFIG" = "no" ; then
25547 echo "*** The pkg-config script could not be found. Make sure it is"
25548 echo "*** in your path, or set the PKG_CONFIG environment variable"
25549 echo "*** to the full path to pkg-config."
25550 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25552 PKG_CONFIG_MIN_VERSION
=0.9.0
25553 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25554 echo "$as_me:$LINENO: checking for pangoft2" >&5
25555 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25557 if $PKG_CONFIG --exists "pangoft2" ; then
25558 echo "$as_me:$LINENO: result: yes" >&5
25559 echo "${ECHO_T}yes" >&6
25562 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25563 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25564 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25565 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25566 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25568 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25569 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25570 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25571 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25572 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25576 ## If we have a custom action on failure, don't print errors, but
25577 ## do set a variable so people can do so.
25578 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25585 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25586 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25590 if test $succeeded = yes; then
25592 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25593 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25597 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25598 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25599 wxUSE_PRINTING_ARCHITECTURE
="no"
25607 if test -z "$PKG_CONFIG"; then
25608 # Extract the first word of "pkg-config", so it can be a program name with args.
25609 set dummy pkg
-config; ac_word
=$2
25610 echo "$as_me:$LINENO: checking for $ac_word" >&5
25611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25612 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25613 echo $ECHO_N "(cached) $ECHO_C" >&6
25615 case $PKG_CONFIG in
25617 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25621 for as_dir
in $PATH
25624 test -z "$as_dir" && as_dir
=.
25625 for ac_exec_ext
in '' $ac_executable_extensions; do
25626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25627 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25634 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25638 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25640 if test -n "$PKG_CONFIG"; then
25641 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25642 echo "${ECHO_T}$PKG_CONFIG" >&6
25644 echo "$as_me:$LINENO: result: no" >&5
25645 echo "${ECHO_T}no" >&6
25650 if test "$PKG_CONFIG" = "no" ; then
25651 echo "*** The pkg-config script could not be found. Make sure it is"
25652 echo "*** in your path, or set the PKG_CONFIG environment variable"
25653 echo "*** to the full path to pkg-config."
25654 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25656 PKG_CONFIG_MIN_VERSION
=0.9.0
25657 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25658 echo "$as_me:$LINENO: checking for pangoxft" >&5
25659 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25661 if $PKG_CONFIG --exists "pangoxft" ; then
25662 echo "$as_me:$LINENO: result: yes" >&5
25663 echo "${ECHO_T}yes" >&6
25666 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25667 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25668 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25669 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25670 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25672 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25673 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25674 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25675 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25676 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25680 ## If we have a custom action on failure, don't print errors, but
25681 ## do set a variable so people can do so.
25682 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25689 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25690 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25694 if test $succeeded = yes; then
25696 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25697 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25701 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25702 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25707 save_CFLAGS
="$CFLAGS"
25709 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25710 LIBS
="$LIBS $PANGOX_LIBS"
25712 for ac_func
in pango_font_family_is_monospace
25714 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25715 echo "$as_me:$LINENO: checking for $ac_func" >&5
25716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25717 if eval "test \"\${$as_ac_var+set}\" = set"; then
25718 echo $ECHO_N "(cached) $ECHO_C" >&6
25720 cat >conftest.
$ac_ext <<_ACEOF
25723 cat confdefs.h
>>conftest.
$ac_ext
25724 cat >>conftest.
$ac_ext <<_ACEOF
25725 /* end confdefs.h. */
25726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25728 #define $ac_func innocuous_$ac_func
25730 /* System header to define __stub macros and hopefully few prototypes,
25731 which can conflict with char $ac_func (); below.
25732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25733 <limits.h> exists even on freestanding compilers. */
25736 # include <limits.h>
25738 # include <assert.h>
25743 /* Override any gcc2 internal prototype to avoid an error. */
25748 /* We use char because int might match the return type of a gcc2
25749 builtin and then its argument prototype would still apply. */
25751 /* The GNU C library defines this for functions which it implements
25752 to always fail with ENOSYS. Some functions are actually named
25753 something starting with __ and the normal name is an alias. */
25754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25757 char (*f) () = $ac_func;
25766 return f != $ac_func;
25771 rm -f conftest.
$ac_objext conftest
$ac_exeext
25772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25773 (eval $ac_link) 2>conftest.er1
25775 grep -v '^ *+' conftest.er1
>conftest.err
25777 cat conftest.err
>&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); } &&
25780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25782 (eval $ac_try) 2>&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); }; } &&
25786 { ac_try
='test -s conftest$ac_exeext'
25787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25788 (eval $ac_try) 2>&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); }; }; then
25792 eval "$as_ac_var=yes"
25794 echo "$as_me: failed program was:" >&5
25795 sed 's/^/| /' conftest.
$ac_ext >&5
25797 eval "$as_ac_var=no"
25799 rm -f conftest.err conftest.
$ac_objext \
25800 conftest
$ac_exeext conftest.
$ac_ext
25802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25804 if test `eval echo '${'$as_ac_var'}'` = yes; then
25805 cat >>confdefs.h
<<_ACEOF
25806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25812 CFLAGS
="$save_CFLAGS"
25816 wxUSE_UNIVERSAL
="yes"
25818 if test "$wxUSE_NANOX" = "yes"; then
25819 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25820 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"
25821 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25823 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25830 if test "$wxUSE_MOTIF" = 1; then
25831 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25832 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25835 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25837 if test -f "$ac_dir/Xm/Xm.h"; then
25838 ac_find_includes
=$ac_dir
25843 if test "$ac_find_includes" != "" ; then
25844 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25845 echo "${ECHO_T}found in $ac_find_includes" >&6
25847 if test "x$ac_find_includes" = "x/usr/include"; then
25848 ac_path_to_include
=""
25850 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25852 if test $result = 0; then
25853 ac_path_to_include
=""
25855 ac_path_to_include
=" -I$ac_find_includes"
25859 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25861 cat >conftest.
$ac_ext <<_ACEOF
25864 cat confdefs.h
>>conftest.
$ac_ext
25865 cat >>conftest.
$ac_ext <<_ACEOF
25866 /* end confdefs.h. */
25875 version = xmUseVersion;
25881 rm -f conftest.
$ac_objext
25882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25883 (eval $ac_compile) 2>conftest.er1
25885 grep -v '^ *+' conftest.er1
>conftest.err
25887 cat conftest.err
>&5
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); } &&
25890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25892 (eval $ac_try) 2>&5
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); }; } &&
25896 { ac_try
='test -s conftest.$ac_objext'
25897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25898 (eval $ac_try) 2>&5
25900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25901 (exit $ac_status); }; }; then
25903 echo "$as_me:$LINENO: result: found in default search path" >&5
25904 echo "${ECHO_T}found in default search path" >&6
25905 COMPILED_X_PROGRAM
=1
25908 echo "$as_me: failed program was:" >&5
25909 sed 's/^/| /' conftest.
$ac_ext >&5
25912 echo "$as_me:$LINENO: result: no" >&5
25913 echo "${ECHO_T}no" >&6
25914 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25915 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25916 { (exit 1); exit 1; }; }
25920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25923 if test "$COMPILED_X_PROGRAM" = 0; then
25924 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25925 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25928 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25930 for ac_extension
in a so sl dylib
; do
25931 if test -f "$ac_dir/libXm.$ac_extension"; then
25932 ac_find_libraries
=$ac_dir
25938 if test "$ac_find_libraries" != "" ; then
25939 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25940 echo "${ECHO_T}found at $ac_find_libraries" >&6
25943 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25945 if test $result = 0; then
25948 ac_path_to_link
=" -L$ac_find_libraries"
25951 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25953 save_CFLAGS
=$CFLAGS
25954 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25956 cat >conftest.
$ac_ext <<_ACEOF
25959 cat confdefs.h
>>conftest.
$ac_ext
25960 cat >>conftest.
$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25970 version = xmUseVersion;
25976 rm -f conftest.
$ac_objext
25977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25978 (eval $ac_compile) 2>conftest.er1
25980 grep -v '^ *+' conftest.er1
>conftest.err
25982 cat conftest.err
>&5
25983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25984 (exit $ac_status); } &&
25985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25987 (eval $ac_try) 2>&5
25989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25990 (exit $ac_status); }; } &&
25991 { ac_try
='test -s conftest.$ac_objext'
25992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25993 (eval $ac_try) 2>&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); }; }; then
25998 echo "$as_me:$LINENO: result: found in default search path" >&5
25999 echo "${ECHO_T}found in default search path" >&6
26000 COMPILED_X_PROGRAM
=1
26003 echo "$as_me: failed program was:" >&5
26004 sed 's/^/| /' conftest.
$ac_ext >&5
26007 echo "$as_me:$LINENO: result: no" >&5
26008 echo "${ECHO_T}no" >&6
26009 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26010 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26011 { (exit 1); exit 1; }; }
26015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26017 CFLAGS
=$save_CFLAGS
26021 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26022 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26026 for libp
in "" " -lXp"; do
26027 if test "$libs_found" = "0"; then
26028 for libsm_ice
in "" " -lSM -lICE"; do
26029 if test "$libs_found" = "0"; then
26031 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26032 save_CFLAGS
=$CFLAGS
26033 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26035 cat >conftest.
$ac_ext <<_ACEOF
26038 cat confdefs.h
>>conftest.
$ac_ext
26039 cat >>conftest.
$ac_ext <<_ACEOF
26040 /* end confdefs.h. */
26043 #include <Xm/List.h>
26049 XmString string = NULL;
26052 XmListAddItem(w, string, position);
26058 rm -f conftest.
$ac_objext conftest
$ac_exeext
26059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26060 (eval $ac_link) 2>conftest.er1
26062 grep -v '^ *+' conftest.er1
>conftest.err
26064 cat conftest.err
>&5
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); } &&
26067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26069 (eval $ac_try) 2>&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); }; } &&
26073 { ac_try
='test -s conftest$ac_exeext'
26074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26075 (eval $ac_try) 2>&5
26077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26078 (exit $ac_status); }; }; then
26081 libsm_ice_link
="$libsm_ice"
26082 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26083 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26087 echo "$as_me: failed program was:" >&5
26088 sed 's/^/| /' conftest.
$ac_ext >&5
26093 rm -f conftest.err conftest.
$ac_objext \
26094 conftest
$ac_exeext conftest.
$ac_ext
26097 CFLAGS
=$save_CFLAGS
26103 if test "$libs_found" = "0"; then
26104 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26105 echo "${ECHO_T}can't find the right libraries" >&6
26106 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26107 echo "$as_me: error: can't link a simple motif program" >&2;}
26108 { (exit 1); exit 1; }; }
26111 save_CFLAGS
=$CFLAGS
26112 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26113 echo "$as_me:$LINENO: checking for Motif 2" >&5
26114 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26115 cat >conftest.
$ac_ext <<_ACEOF
26118 cat confdefs.h
>>conftest.
$ac_ext
26119 cat >>conftest.
$ac_ext <<_ACEOF
26120 /* end confdefs.h. */
26128 #if XmVersion < 2000
26129 #error "Not Motif 2"
26136 rm -f conftest.
$ac_objext
26137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26138 (eval $ac_compile) 2>conftest.er1
26140 grep -v '^ *+' conftest.er1
>conftest.err
26142 cat conftest.err
>&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); } &&
26145 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; } &&
26151 { ac_try
='test -s conftest.$ac_objext'
26152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153 (eval $ac_try) 2>&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); }; }; then
26158 cat >>confdefs.h
<<\_ACEOF
26159 #define __WXMOTIF20__ 1
26162 echo "$as_me:$LINENO: result: found" >&5
26163 echo "${ECHO_T}found" >&6
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.
$ac_ext >&5
26170 cat >>confdefs.h
<<\_ACEOF
26171 #define __WXMOTIF20__ 0
26174 echo "$as_me:$LINENO: result: not found" >&5
26175 echo "${ECHO_T}not found" >&6
26178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26179 CFLAGS
=$save_CFLAGS
26181 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26186 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26187 if test "$wxUSE_LIBXPM" = "sys"; then
26188 echo "$as_me:$LINENO: checking for Xpm library" >&5
26189 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26192 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26194 for ac_extension
in a so sl dylib
; do
26195 if test -f "$ac_dir/libXpm.$ac_extension"; then
26196 ac_find_libraries
=$ac_dir
26202 if test "$ac_find_libraries" != "" ; then
26204 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26206 if test $result = 0; then
26209 ac_path_to_link
=" -L$ac_find_libraries"
26212 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26213 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26214 echo "${ECHO_T}found at $ac_find_libraries" >&6
26216 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26217 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26218 if test "${wx_cv_x11_xpm_h+set}" = set; then
26219 echo $ECHO_N "(cached) $ECHO_C" >&6
26222 save_CFLAGS
=$CFLAGS
26223 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26225 cat >conftest.
$ac_ext <<_ACEOF
26228 cat confdefs.h
>>conftest.
$ac_ext
26229 cat >>conftest.
$ac_ext <<_ACEOF
26230 /* end confdefs.h. */
26232 #include <X11/xpm.h>
26239 version = XpmLibraryVersion();
26245 rm -f conftest.
$ac_objext
26246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26247 (eval $ac_compile) 2>conftest.er1
26249 grep -v '^ *+' conftest.er1
>conftest.err
26251 cat conftest.err
>&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); } &&
26254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256 (eval $ac_try) 2>&5
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); }; } &&
26260 { ac_try
='test -s conftest.$ac_objext'
26261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26262 (eval $ac_try) 2>&5
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); }; }; then
26266 wx_cv_x11_xpm_h
=yes
26268 echo "$as_me: failed program was:" >&5
26269 sed 's/^/| /' conftest.
$ac_ext >&5
26274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26276 CFLAGS
=$save_CFLAGS
26280 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26281 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26283 if test $wx_cv_x11_xpm_h = "yes"; then
26284 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26285 cat >>confdefs.h
<<\_ACEOF
26286 #define wxHAVE_LIB_XPM 1
26290 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26291 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26297 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26298 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26299 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26300 echo $ECHO_N "(cached) $ECHO_C" >&6
26302 ac_check_lib_save_LIBS
=$LIBS
26303 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26304 cat >conftest.
$ac_ext <<_ACEOF
26307 cat confdefs.h
>>conftest.
$ac_ext
26308 cat >>conftest.
$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26311 /* Override any gcc2 internal prototype to avoid an error. */
26315 /* We use char because int might match the return type of a gcc2
26316 builtin and then its argument prototype would still apply. */
26317 char XShapeQueryExtension ();
26321 XShapeQueryExtension ();
26326 rm -f conftest.
$ac_objext conftest
$ac_exeext
26327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26328 (eval $ac_link) 2>conftest.er1
26330 grep -v '^ *+' conftest.er1
>conftest.err
26332 cat conftest.err
>&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } &&
26335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26337 (eval $ac_try) 2>&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); }; } &&
26341 { ac_try
='test -s conftest$ac_exeext'
26342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26343 (eval $ac_try) 2>&5
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); }; }; then
26347 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.
$ac_ext >&5
26352 ac_cv_lib_Xext_XShapeQueryExtension
=no
26354 rm -f conftest.err conftest.
$ac_objext \
26355 conftest
$ac_exeext conftest.
$ac_ext
26356 LIBS
=$ac_check_lib_save_LIBS
26358 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26359 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26360 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26362 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26368 if test "$wxHAVE_XEXT_LIB" = 1; then
26369 save_CFLAGS
="$CFLAGS"
26370 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26372 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26373 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26374 cat >conftest.
$ac_ext <<_ACEOF
26377 cat confdefs.h
>>conftest.
$ac_ext
26378 cat >>conftest.
$ac_ext <<_ACEOF
26379 /* end confdefs.h. */
26381 #include <X11/Xlib.h>
26382 #include <X11/extensions/shape.h>
26388 int dummy1, dummy2;
26389 XShapeQueryExtension((Display*)NULL,
26390 (int*)NULL, (int*)NULL);
26396 rm -f conftest.
$ac_objext
26397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26398 (eval $ac_compile) 2>conftest.er1
26400 grep -v '^ *+' conftest.er1
>conftest.err
26402 cat conftest.err
>&5
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); } &&
26405 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26407 (eval $ac_try) 2>&5
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); }; } &&
26411 { ac_try
='test -s conftest.$ac_objext'
26412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26413 (eval $ac_try) 2>&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); }; }; then
26418 cat >>confdefs.h
<<\_ACEOF
26419 #define HAVE_XSHAPE 1
26422 echo "$as_me:$LINENO: result: found" >&5
26423 echo "${ECHO_T}found" >&6
26426 echo "$as_me: failed program was:" >&5
26427 sed 's/^/| /' conftest.
$ac_ext >&5
26430 echo "$as_me:$LINENO: result: not found" >&5
26431 echo "${ECHO_T}not found" >&6
26434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26435 CFLAGS
="$save_CFLAGS"
26440 if test "$wxUSE_MAC" = 1; then
26441 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26442 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26443 if test "$GCC" = yes; then
26444 echo "$as_me:$LINENO: result: gcc" >&5
26445 echo "${ECHO_T}gcc" >&6
26446 CPPFLAGS_PASCAL
="-fpascal-strings"
26447 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26448 echo "$as_me:$LINENO: result: xlc" >&5
26449 echo "${ECHO_T}xlc" >&6
26450 CPPFLAGS_PASCAL
="-qmacpstr"
26452 echo "$as_me:$LINENO: result: none" >&5
26453 echo "${ECHO_T}none" >&6
26456 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26460 WXBASEPORT
="_carbon"
26463 if test "$wxUSE_COCOA" = 1; then
26468 if test "$wxUSE_PM" = 1; then
26471 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26472 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26473 if test "${wx_cv_spbcdata+set}" = set; then
26474 echo $ECHO_N "(cached) $ECHO_C" >&6
26477 cat >conftest.
$ac_ext <<_ACEOF
26480 cat confdefs.h
>>conftest.
$ac_ext
26481 cat >>conftest.
$ac_ext <<_ACEOF
26482 /* end confdefs.h. */
26497 rm -f conftest.
$ac_objext
26498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26499 (eval $ac_compile) 2>conftest.er1
26501 grep -v '^ *+' conftest.er1
>conftest.err
26503 cat conftest.err
>&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } &&
26506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26508 (eval $ac_try) 2>&5
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); }; } &&
26512 { ac_try
='test -s conftest.$ac_objext'
26513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514 (eval $ac_try) 2>&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; }; then
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.
$ac_ext >&5
26526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26530 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26531 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26533 if test $wx_cv_spbcdata = "yes"; then
26534 cat >>confdefs.h
<<\_ACEOF
26535 #define HAVE_SPBCDATA 1
26541 if test "$TOOLKIT" = "PM" ; then
26544 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26547 if test "$wxUSE_UNIVERSAL" = "yes"; then
26548 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26552 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26553 DISTDIR
="wx\$(TOOLKIT)"
26559 if test "$USE_WIN32" = 1 ; then
26563 GUIDIST
="BASE_DIST"
26573 if test "$TOOLKIT" != "MSW" ; then
26575 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26577 if test "${ac_cv_header_sql_h+set}" = set; then
26578 echo "$as_me:$LINENO: checking for sql.h" >&5
26579 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26580 if test "${ac_cv_header_sql_h+set}" = set; then
26581 echo $ECHO_N "(cached) $ECHO_C" >&6
26583 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26584 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26586 # Is the header compilable?
26587 echo "$as_me:$LINENO: checking sql.h usability" >&5
26588 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26589 cat >conftest.
$ac_ext <<_ACEOF
26592 cat confdefs.h
>>conftest.
$ac_ext
26593 cat >>conftest.
$ac_ext <<_ACEOF
26594 /* end confdefs.h. */
26595 $ac_includes_default
26598 rm -f conftest.
$ac_objext
26599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26600 (eval $ac_compile) 2>conftest.er1
26602 grep -v '^ *+' conftest.er1
>conftest.err
26604 cat conftest.err
>&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); } &&
26607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26609 (eval $ac_try) 2>&5
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); }; } &&
26613 { ac_try
='test -s conftest.$ac_objext'
26614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26615 (eval $ac_try) 2>&5
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); }; }; then
26619 ac_header_compiler
=yes
26621 echo "$as_me: failed program was:" >&5
26622 sed 's/^/| /' conftest.
$ac_ext >&5
26624 ac_header_compiler
=no
26626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26627 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26628 echo "${ECHO_T}$ac_header_compiler" >&6
26630 # Is the header present?
26631 echo "$as_me:$LINENO: checking sql.h presence" >&5
26632 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26633 cat >conftest.
$ac_ext <<_ACEOF
26636 cat confdefs.h
>>conftest.
$ac_ext
26637 cat >>conftest.
$ac_ext <<_ACEOF
26638 /* end confdefs.h. */
26641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26642 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26644 grep -v '^ *+' conftest.er1
>conftest.err
26646 cat conftest.err
>&5
26647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26648 (exit $ac_status); } >/dev
/null
; then
26649 if test -s conftest.err
; then
26650 ac_cpp_err
=$ac_c_preproc_warn_flag
26651 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26658 if test -z "$ac_cpp_err"; then
26659 ac_header_preproc
=yes
26661 echo "$as_me: failed program was:" >&5
26662 sed 's/^/| /' conftest.
$ac_ext >&5
26664 ac_header_preproc
=no
26666 rm -f conftest.err conftest.
$ac_ext
26667 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26668 echo "${ECHO_T}$ac_header_preproc" >&6
26670 # So? What about this header?
26671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26673 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26674 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26675 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26676 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26677 ac_header_preproc
=yes
26680 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26681 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26682 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26683 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26684 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26685 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26686 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26687 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26688 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26689 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26690 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26691 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26694 ## ----------------------------------------- ##
26695 ## Report this to wx-dev@lists.wxwidgets.org ##
26696 ## ----------------------------------------- ##
26699 sed "s/^/$as_me: WARNING: /" >&2
26702 echo "$as_me:$LINENO: checking for sql.h" >&5
26703 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26704 if test "${ac_cv_header_sql_h+set}" = set; then
26705 echo $ECHO_N "(cached) $ECHO_C" >&6
26707 ac_cv_header_sql_h
=$ac_header_preproc
26709 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26710 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26713 if test $ac_cv_header_sql_h = yes; then
26718 if test "x$found_sql_h" = "x1" ; then
26719 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26720 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26721 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26722 echo $ECHO_N "(cached) $ECHO_C" >&6
26724 ac_check_lib_save_LIBS
=$LIBS
26725 LIBS
="-liodbc $LIBS"
26726 cat >conftest.
$ac_ext <<_ACEOF
26729 cat confdefs.h
>>conftest.
$ac_ext
26730 cat >>conftest.
$ac_ext <<_ACEOF
26731 /* end confdefs.h. */
26733 /* Override any gcc2 internal prototype to avoid an error. */
26737 /* We use char because int might match the return type of a gcc2
26738 builtin and then its argument prototype would still apply. */
26739 char SQLAllocEnv ();
26748 rm -f conftest.
$ac_objext conftest
$ac_exeext
26749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26750 (eval $ac_link) 2>conftest.er1
26752 grep -v '^ *+' conftest.er1
>conftest.err
26754 cat conftest.err
>&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); } &&
26757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759 (eval $ac_try) 2>&5
26761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762 (exit $ac_status); }; } &&
26763 { ac_try
='test -s conftest$ac_exeext'
26764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765 (eval $ac_try) 2>&5
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); }; }; then
26769 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26771 echo "$as_me: failed program was:" >&5
26772 sed 's/^/| /' conftest.
$ac_ext >&5
26774 ac_cv_lib_iodbc_SQLAllocEnv
=no
26776 rm -f conftest.err conftest.
$ac_objext \
26777 conftest
$ac_exeext conftest.
$ac_ext
26778 LIBS
=$ac_check_lib_save_LIBS
26780 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26781 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26782 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26783 ODBC_LINK
=" -liodbc"
26786 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26787 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26788 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26789 echo $ECHO_N "(cached) $ECHO_C" >&6
26791 ac_check_lib_save_LIBS
=$LIBS
26792 LIBS
="-lunixodbc $LIBS"
26793 cat >conftest.
$ac_ext <<_ACEOF
26796 cat confdefs.h
>>conftest.
$ac_ext
26797 cat >>conftest.
$ac_ext <<_ACEOF
26798 /* end confdefs.h. */
26800 /* Override any gcc2 internal prototype to avoid an error. */
26804 /* We use char because int might match the return type of a gcc2
26805 builtin and then its argument prototype would still apply. */
26806 char SQLAllocEnv ();
26815 rm -f conftest.
$ac_objext conftest
$ac_exeext
26816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26817 (eval $ac_link) 2>conftest.er1
26819 grep -v '^ *+' conftest.er1
>conftest.err
26821 cat conftest.err
>&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); } &&
26824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26826 (eval $ac_try) 2>&5
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); }; } &&
26830 { ac_try
='test -s conftest$ac_exeext'
26831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832 (eval $ac_try) 2>&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); }; }; then
26836 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26838 echo "$as_me: failed program was:" >&5
26839 sed 's/^/| /' conftest.
$ac_ext >&5
26841 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26843 rm -f conftest.err conftest.
$ac_objext \
26844 conftest
$ac_exeext conftest.
$ac_ext
26845 LIBS
=$ac_check_lib_save_LIBS
26847 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26848 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26849 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26850 ODBC_LINK
=" -lunixodbc"
26853 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26854 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26855 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26856 echo $ECHO_N "(cached) $ECHO_C" >&6
26858 ac_check_lib_save_LIBS
=$LIBS
26859 LIBS
="-lodbc $LIBS"
26860 cat >conftest.
$ac_ext <<_ACEOF
26863 cat confdefs.h
>>conftest.
$ac_ext
26864 cat >>conftest.
$ac_ext <<_ACEOF
26865 /* end confdefs.h. */
26867 /* Override any gcc2 internal prototype to avoid an error. */
26871 /* We use char because int might match the return type of a gcc2
26872 builtin and then its argument prototype would still apply. */
26873 char SQLAllocEnv ();
26882 rm -f conftest.
$ac_objext conftest
$ac_exeext
26883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26884 (eval $ac_link) 2>conftest.er1
26886 grep -v '^ *+' conftest.er1
>conftest.err
26888 cat conftest.err
>&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); } &&
26891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26893 (eval $ac_try) 2>&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); }; } &&
26897 { ac_try
='test -s conftest$ac_exeext'
26898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26899 (eval $ac_try) 2>&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); }; }; then
26903 ac_cv_lib_odbc_SQLAllocEnv
=yes
26905 echo "$as_me: failed program was:" >&5
26906 sed 's/^/| /' conftest.
$ac_ext >&5
26908 ac_cv_lib_odbc_SQLAllocEnv
=no
26910 rm -f conftest.err conftest.
$ac_objext \
26911 conftest
$ac_exeext conftest.
$ac_ext
26912 LIBS
=$ac_check_lib_save_LIBS
26914 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26915 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26916 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26917 ODBC_LINK
=" -lodbc"
26927 if test "x$ODBC_LINK" = "x" ; then
26928 if test "$wxUSE_ODBC" = "sys" ; then
26929 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26930 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26931 { (exit 1); exit 1; }; }
26933 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26934 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26941 if test "$wxUSE_ODBC" != "no" ; then
26942 cat >>confdefs.h
<<\_ACEOF
26943 #define wxUSE_ODBC 1
26946 if test "$wxUSE_ODBC" = "builtin" ; then
26947 cat >>confdefs.h
<<\_ACEOF
26948 #define wxUSE_BUILTIN_IODBC 1
26952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
26954 WXODBCFLAG
="-D_IODBC_"
26960 if test "$wxUSE_DISPLAY" = "yes"; then
26961 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26962 echo "$as_me:$LINENO: checking for Xinerama" >&5
26963 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26966 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26968 for ac_extension
in a so sl dylib
; do
26969 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26970 ac_find_libraries
=$ac_dir
26976 if test "$ac_find_libraries" != "" ; then
26978 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26980 if test $result = 0; then
26983 ac_path_to_link
=" -L$ac_find_libraries"
26986 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26987 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26989 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26990 echo "$as_me:$LINENO: result: yes" >&5
26991 echo "${ECHO_T}yes" >&6
26993 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26994 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26997 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26999 for ac_extension
in a so sl dylib
; do
27000 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27001 ac_find_libraries
=$ac_dir
27007 if test "$ac_find_libraries" != "" ; then
27008 echo "$as_me:$LINENO: result: yes" >&5
27009 echo "${ECHO_T}yes" >&6
27011 for ac_header
in X
11/extensions
/xf86vmode.h
27013 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27014 echo "$as_me:$LINENO: checking for $ac_header" >&5
27015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27017 echo $ECHO_N "(cached) $ECHO_C" >&6
27019 cat >conftest.
$ac_ext <<_ACEOF
27022 cat confdefs.h
>>conftest.
$ac_ext
27023 cat >>conftest.
$ac_ext <<_ACEOF
27024 /* end confdefs.h. */
27026 #if HAVE_X11_XLIB_H
27027 #include <X11/Xlib.h>
27031 #include <$ac_header>
27033 rm -f conftest.
$ac_objext
27034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27035 (eval $ac_compile) 2>conftest.er1
27037 grep -v '^ *+' conftest.er1
>conftest.err
27039 cat conftest.err
>&5
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); } &&
27042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; } &&
27048 { ac_try
='test -s conftest.$ac_objext'
27049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27050 (eval $ac_try) 2>&5
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); }; }; then
27054 eval "$as_ac_Header=yes"
27056 echo "$as_me: failed program was:" >&5
27057 sed 's/^/| /' conftest.
$ac_ext >&5
27059 eval "$as_ac_Header=no"
27061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27066 cat >>confdefs.h
<<_ACEOF
27067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27070 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27077 echo "$as_me:$LINENO: result: no" >&5
27078 echo "${ECHO_T}no" >&6
27082 echo "$as_me:$LINENO: result: no" >&5
27083 echo "${ECHO_T}no" >&6
27084 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27085 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27088 elif test "$wxUSE_MSW" = 1; then
27091 for ac_header
in multimon.h ddraw.h
27093 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27095 echo "$as_me:$LINENO: checking for $ac_header" >&5
27096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27098 echo $ECHO_N "(cached) $ECHO_C" >&6
27100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27103 # Is the header compilable?
27104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27106 cat >conftest.
$ac_ext <<_ACEOF
27109 cat confdefs.h
>>conftest.
$ac_ext
27110 cat >>conftest.
$ac_ext <<_ACEOF
27111 /* end confdefs.h. */
27112 $ac_includes_default
27113 #include <$ac_header>
27115 rm -f conftest.
$ac_objext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27117 (eval $ac_compile) 2>conftest.er1
27119 grep -v '^ *+' conftest.er1
>conftest.err
27121 cat conftest.err
>&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27126 (eval $ac_try) 2>&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); }; } &&
27130 { ac_try
='test -s conftest.$ac_objext'
27131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27132 (eval $ac_try) 2>&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); }; }; then
27136 ac_header_compiler
=yes
27138 echo "$as_me: failed program was:" >&5
27139 sed 's/^/| /' conftest.
$ac_ext >&5
27141 ac_header_compiler
=no
27143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27144 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27145 echo "${ECHO_T}$ac_header_compiler" >&6
27147 # Is the header present?
27148 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27149 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27150 cat >conftest.
$ac_ext <<_ACEOF
27153 cat confdefs.h
>>conftest.
$ac_ext
27154 cat >>conftest.
$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 #include <$ac_header>
27158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27161 grep -v '^ *+' conftest.er1
>conftest.err
27163 cat conftest.err
>&5
27164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165 (exit $ac_status); } >/dev
/null
; then
27166 if test -s conftest.err
; then
27167 ac_cpp_err
=$ac_c_preproc_warn_flag
27168 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27175 if test -z "$ac_cpp_err"; then
27176 ac_header_preproc
=yes
27178 echo "$as_me: failed program was:" >&5
27179 sed 's/^/| /' conftest.
$ac_ext >&5
27181 ac_header_preproc
=no
27183 rm -f conftest.err conftest.
$ac_ext
27184 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27185 echo "${ECHO_T}$ac_header_preproc" >&6
27187 # So? What about this header?
27188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27190 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27191 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27193 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27194 ac_header_preproc
=yes
27197 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27198 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27199 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27200 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27201 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27202 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27203 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27204 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27207 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27208 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27211 ## ----------------------------------------- ##
27212 ## Report this to wx-dev@lists.wxwidgets.org ##
27213 ## ----------------------------------------- ##
27216 sed "s/^/$as_me: WARNING: /" >&2
27219 echo "$as_me:$LINENO: checking for $ac_header" >&5
27220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27222 echo $ECHO_N "(cached) $ECHO_C" >&6
27224 eval "$as_ac_Header=\$ac_header_preproc"
27226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27231 cat >>confdefs.h
<<_ACEOF
27232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27238 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27239 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27250 if test "$wxUSE_OPENGL" = "yes"; then
27251 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27252 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27253 elif test "$wxUSE_MSW" = 1; then
27254 OPENGL_LIBS
="-lopengl32 -lglu32"
27259 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27261 if test -f "$ac_dir/GL/gl.h"; then
27262 ac_find_includes
=$ac_dir
27267 if test "$ac_find_includes" != "" ; then
27268 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27269 echo "${ECHO_T}found in $ac_find_includes" >&6
27271 if test "x$ac_find_includes" = "x/usr/include"; then
27272 ac_path_to_include
=""
27274 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27276 if test $result = 0; then
27277 ac_path_to_include
=""
27279 ac_path_to_include
=" -I$ac_find_includes"
27283 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27286 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27287 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27288 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27289 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27290 echo $ECHO_N "(cached) $ECHO_C" >&6
27292 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27293 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27295 # Is the header compilable?
27296 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27297 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27298 cat >conftest.
$ac_ext <<_ACEOF
27301 cat confdefs.h
>>conftest.
$ac_ext
27302 cat >>conftest.
$ac_ext <<_ACEOF
27303 /* end confdefs.h. */
27304 $ac_includes_default
27307 rm -f conftest.
$ac_objext
27308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27309 (eval $ac_compile) 2>conftest.er1
27311 grep -v '^ *+' conftest.er1
>conftest.err
27313 cat conftest.err
>&5
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); } &&
27316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27318 (eval $ac_try) 2>&5
27320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27321 (exit $ac_status); }; } &&
27322 { ac_try
='test -s conftest.$ac_objext'
27323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27324 (eval $ac_try) 2>&5
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); }; }; then
27328 ac_header_compiler
=yes
27330 echo "$as_me: failed program was:" >&5
27331 sed 's/^/| /' conftest.
$ac_ext >&5
27333 ac_header_compiler
=no
27335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27337 echo "${ECHO_T}$ac_header_compiler" >&6
27339 # Is the header present?
27340 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27341 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27342 cat >conftest.
$ac_ext <<_ACEOF
27345 cat confdefs.h
>>conftest.
$ac_ext
27346 cat >>conftest.
$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27351 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27353 grep -v '^ *+' conftest.er1
>conftest.err
27355 cat conftest.err
>&5
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); } >/dev
/null
; then
27358 if test -s conftest.err
; then
27359 ac_cpp_err
=$ac_c_preproc_warn_flag
27360 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27367 if test -z "$ac_cpp_err"; then
27368 ac_header_preproc
=yes
27370 echo "$as_me: failed program was:" >&5
27371 sed 's/^/| /' conftest.
$ac_ext >&5
27373 ac_header_preproc
=no
27375 rm -f conftest.err conftest.
$ac_ext
27376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27377 echo "${ECHO_T}$ac_header_preproc" >&6
27379 # So? What about this header?
27380 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27382 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27383 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27384 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27385 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27386 ac_header_preproc
=yes
27389 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27390 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27391 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27392 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27393 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27394 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27395 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27396 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27397 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27398 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27399 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27400 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27403 ## ----------------------------------------- ##
27404 ## Report this to wx-dev@lists.wxwidgets.org ##
27405 ## ----------------------------------------- ##
27408 sed "s/^/$as_me: WARNING: /" >&2
27411 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27412 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27413 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27414 echo $ECHO_N "(cached) $ECHO_C" >&6
27416 ac_cv_header_GL_gl_h
=$ac_header_preproc
27418 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27419 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27422 if test $ac_cv_header_GL_gl_h = yes; then
27426 echo "$as_me:$LINENO: checking for -lGL" >&5
27427 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27430 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27432 for ac_extension
in a so sl dylib
; do
27433 if test -f "$ac_dir/libGL.$ac_extension"; then
27434 ac_find_libraries
=$ac_dir
27440 if test "$ac_find_libraries" != "" ; then
27442 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27444 if test $result = 0; then
27447 ac_path_to_link
=" -L$ac_find_libraries"
27450 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27451 LDFLAGS_GL
="$ac_path_to_link"
27456 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27458 for ac_extension
in a so sl dylib
; do
27459 if test -f "$ac_dir/libGLU.$ac_extension"; then
27460 ac_find_libraries
=$ac_dir
27466 if test "$ac_find_libraries" != "" ; then
27468 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27470 if test $result = 0; then
27473 ac_path_to_link
=" -L$ac_find_libraries"
27476 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27477 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27478 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27482 OPENGL_LIBS
="-lGL -lGLU"
27483 echo "$as_me:$LINENO: result: yes" >&5
27484 echo "${ECHO_T}yes" >&6
27488 if test "$found_gl" != 1; then
27489 echo "$as_me:$LINENO: result: no" >&5
27490 echo "${ECHO_T}no" >&6
27491 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27492 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27495 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27497 for ac_extension
in a so sl dylib
; do
27498 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27499 ac_find_libraries
=$ac_dir
27505 if test "$ac_find_libraries" != "" ; then
27507 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27509 if test $result = 0; then
27512 ac_path_to_link
=" -L$ac_find_libraries"
27515 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27516 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27517 echo "$as_me:$LINENO: result: yes" >&5
27518 echo "${ECHO_T}yes" >&6
27520 echo "$as_me:$LINENO: result: no" >&5
27521 echo "${ECHO_T}no" >&6
27529 if test "x$OPENGL_LIBS" = "x"; then
27530 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27531 echo "$as_me: error: OpenGL libraries not available" >&2;}
27532 { (exit 1); exit 1; }; }
27536 if test "$wxUSE_OPENGL" = "yes"; then
27538 cat >>confdefs.h
<<\_ACEOF
27539 #define wxUSE_OPENGL 1
27542 cat >>confdefs.h
<<\_ACEOF
27543 #define wxUSE_GLCANVAS 1
27546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27551 if test -n "$TOOLKIT" ; then
27552 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27557 if test "$wxUSE_SHARED" = "yes"; then
27561 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27562 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27567 if test "$wxUSE_SHARED" = "yes"; then
27570 found_versioning
=no
27573 if test $found_versioning = no
; then
27574 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27575 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27576 if test "${wx_cv_version_script+set}" = set; then
27577 echo $ECHO_N "(cached) $ECHO_C" >&6
27580 echo "VER_1 { *; };" >conftest.sym
27581 echo "int main() { return 0; }" >conftest.cpp
27584 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27585 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27587 (eval $ac_try) 2>&5
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); }; } ; then
27591 if test -s conftest.stderr
; then
27592 wx_cv_version_script
=no
27594 wx_cv_version_script
=yes
27597 wx_cv_version_script
=no
27599 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27602 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27603 echo "${ECHO_T}$wx_cv_version_script" >&6
27604 if test $wx_cv_version_script = yes ; then
27605 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27611 *-*-linux* | *-*-gnu* )
27612 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27616 if test "$GCC" = yes ; then
27617 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27619 saveLdflags
="$LDFLAGS"
27620 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27621 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27622 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27623 cat >conftest.
$ac_ext <<_ACEOF
27626 cat confdefs.h
>>conftest.
$ac_ext
27627 cat >>conftest.
$ac_ext <<_ACEOF
27628 /* end confdefs.h. */
27638 rm -f conftest.
$ac_objext conftest
$ac_exeext
27639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27640 (eval $ac_link) 2>conftest.er1
27642 grep -v '^ *+' conftest.er1
>conftest.err
27644 cat conftest.err
>&5
27645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646 (exit $ac_status); } &&
27647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27649 (eval $ac_try) 2>&5
27651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652 (exit $ac_status); }; } &&
27653 { ac_try
='test -s conftest$ac_exeext'
27654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27655 (eval $ac_try) 2>&5
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); }; }; then
27660 echo "$as_me:$LINENO: result: yes" >&5
27661 echo "${ECHO_T}yes" >&6
27662 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27665 echo "$as_me: failed program was:" >&5
27666 sed 's/^/| /' conftest.
$ac_ext >&5
27669 echo "$as_me:$LINENO: result: no" >&5
27670 echo "${ECHO_T}no" >&6
27671 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27672 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27673 LDFLAGS
="$saveLdflags -Wl,-R,/"
27674 cat >conftest.
$ac_ext <<_ACEOF
27677 cat confdefs.h
>>conftest.
$ac_ext
27678 cat >>conftest.
$ac_ext <<_ACEOF
27679 /* end confdefs.h. */
27689 rm -f conftest.
$ac_objext conftest
$ac_exeext
27690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27691 (eval $ac_link) 2>conftest.er1
27693 grep -v '^ *+' conftest.er1
>conftest.err
27695 cat conftest.err
>&5
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); } &&
27698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27700 (eval $ac_try) 2>&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; } &&
27704 { ac_try
='test -s conftest$ac_exeext'
27705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27706 (eval $ac_try) 2>&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); }; }; then
27711 echo "$as_me:$LINENO: result: yes" >&5
27712 echo "${ECHO_T}yes" >&6
27713 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27715 echo "$as_me: failed program was:" >&5
27716 sed 's/^/| /' conftest.
$ac_ext >&5
27719 echo "$as_me:$LINENO: result: no" >&5
27720 echo "${ECHO_T}no" >&6
27723 rm -f conftest.err conftest.
$ac_objext \
27724 conftest
$ac_exeext conftest.
$ac_ext
27727 rm -f conftest.err conftest.
$ac_objext \
27728 conftest
$ac_exeext conftest.
$ac_ext
27729 LDFLAGS
="$saveLdflags"
27731 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27735 powerpc
-*-darwin* )
27736 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27737 cat <<EOF >change-install-names
27739 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27740 inst_cmd="install_name_tool "
27741 for i in \${libnames} ; do
27742 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27746 chmod +x change
-install-names
27749 *-*-cygwin* | *-*-mingw32* )
27750 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27756 if test "$wxUSE_SHARED" = "no"; then
27757 config_linkage_component
="-static"
27765 lib_unicode_suffix
=
27767 if test "$wxUSE_UNICODE" = "yes"; then
27768 lib_unicode_suffix
=u
27769 WX_CHARTYPE
="unicode"
27774 WX_DEBUGTYPE
="release"
27776 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27778 WX_DEBUGTYPE
="debug"
27782 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
27783 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
27786 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27790 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27792 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
27794 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
27796 if test "$cross_compiling" = "yes"; then
27797 HOST_SUFFIX
="-$host_alias"
27798 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
27799 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
27802 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27803 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27807 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27808 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.r"
27809 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.rsrc"
27811 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27813 # Extract the first word of "Rez", so it can be a program name with args.
27814 set dummy Rez
; ac_word
=$2
27815 echo "$as_me:$LINENO: checking for $ac_word" >&5
27816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27817 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27818 echo $ECHO_N "(cached) $ECHO_C" >&6
27820 if test -n "$RESCOMP"; then
27821 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27824 for as_dir
in $PATH
27827 test -z "$as_dir" && as_dir
=.
27828 for ac_exec_ext
in '' $ac_executable_extensions; do
27829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27830 ac_cv_prog_RESCOMP
="Rez"
27831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27837 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27840 RESCOMP
=$ac_cv_prog_RESCOMP
27841 if test -n "$RESCOMP"; then
27842 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27843 echo "${ECHO_T}$RESCOMP" >&6
27845 echo "$as_me:$LINENO: result: no" >&5
27846 echo "${ECHO_T}no" >&6
27849 # Extract the first word of "DeRez", so it can be a program name with args.
27850 set dummy DeRez
; ac_word
=$2
27851 echo "$as_me:$LINENO: checking for $ac_word" >&5
27852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27853 if test "${ac_cv_prog_DEREZ+set}" = set; then
27854 echo $ECHO_N "(cached) $ECHO_C" >&6
27856 if test -n "$DEREZ"; then
27857 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27860 for as_dir
in $PATH
27863 test -z "$as_dir" && as_dir
=.
27864 for ac_exec_ext
in '' $ac_executable_extensions; do
27865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27866 ac_cv_prog_DEREZ
="DeRez"
27867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27873 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27876 DEREZ
=$ac_cv_prog_DEREZ
27877 if test -n "$DEREZ"; then
27878 echo "$as_me:$LINENO: result: $DEREZ" >&5
27879 echo "${ECHO_T}$DEREZ" >&6
27881 echo "$as_me:$LINENO: result: no" >&5
27882 echo "${ECHO_T}no" >&6
27885 # Extract the first word of "SetFile", so it can be a program name with args.
27886 set dummy SetFile
; ac_word
=$2
27887 echo "$as_me:$LINENO: checking for $ac_word" >&5
27888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27889 if test "${ac_cv_prog_SETFILE+set}" = set; then
27890 echo $ECHO_N "(cached) $ECHO_C" >&6
27892 if test -n "$SETFILE"; then
27893 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27896 for as_dir
in $PATH
27899 test -z "$as_dir" && as_dir
=.
27900 for ac_exec_ext
in '' $ac_executable_extensions; do
27901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27902 ac_cv_prog_SETFILE
="SetFile"
27903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27909 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27912 SETFILE
=$ac_cv_prog_SETFILE
27913 if test -n "$SETFILE"; then
27914 echo "$as_me:$LINENO: result: $SETFILE" >&5
27915 echo "${ECHO_T}$SETFILE" >&6
27917 echo "$as_me:$LINENO: result: no" >&5
27918 echo "${ECHO_T}no" >&6
27922 MACSETFILE
="\$(SETFILE)"
27924 if test "$wxUSE_MAC" = 1; then
27925 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27927 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27929 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27930 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27936 if test "$wxUSE_PM" = 1; then
27937 MACRESCOMP
="emxbind -ep"
27945 echo "$as_me:$LINENO: checking for mode_t" >&5
27946 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27947 if test "${ac_cv_type_mode_t+set}" = set; then
27948 echo $ECHO_N "(cached) $ECHO_C" >&6
27950 cat >conftest.
$ac_ext <<_ACEOF
27953 cat confdefs.h
>>conftest.
$ac_ext
27954 cat >>conftest.
$ac_ext <<_ACEOF
27955 /* end confdefs.h. */
27956 $ac_includes_default
27962 if (sizeof (mode_t))
27968 rm -f conftest.
$ac_objext
27969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27970 (eval $ac_compile) 2>conftest.er1
27972 grep -v '^ *+' conftest.er1
>conftest.err
27974 cat conftest.err
>&5
27975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976 (exit $ac_status); } &&
27977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27979 (eval $ac_try) 2>&5
27981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27982 (exit $ac_status); }; } &&
27983 { ac_try
='test -s conftest.$ac_objext'
27984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27985 (eval $ac_try) 2>&5
27987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27988 (exit $ac_status); }; }; then
27989 ac_cv_type_mode_t
=yes
27991 echo "$as_me: failed program was:" >&5
27992 sed 's/^/| /' conftest.
$ac_ext >&5
27994 ac_cv_type_mode_t
=no
27996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27998 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27999 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28000 if test $ac_cv_type_mode_t = yes; then
28004 cat >>confdefs.h
<<_ACEOF
28010 echo "$as_me:$LINENO: checking for off_t" >&5
28011 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28012 if test "${ac_cv_type_off_t+set}" = set; then
28013 echo $ECHO_N "(cached) $ECHO_C" >&6
28015 cat >conftest.
$ac_ext <<_ACEOF
28018 cat confdefs.h
>>conftest.
$ac_ext
28019 cat >>conftest.
$ac_ext <<_ACEOF
28020 /* end confdefs.h. */
28021 $ac_includes_default
28027 if (sizeof (off_t))
28033 rm -f conftest.
$ac_objext
28034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28035 (eval $ac_compile) 2>conftest.er1
28037 grep -v '^ *+' conftest.er1
>conftest.err
28039 cat conftest.err
>&5
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); } &&
28042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28044 (eval $ac_try) 2>&5
28046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 (exit $ac_status); }; } &&
28048 { ac_try
='test -s conftest.$ac_objext'
28049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28050 (eval $ac_try) 2>&5
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); }; }; then
28054 ac_cv_type_off_t
=yes
28056 echo "$as_me: failed program was:" >&5
28057 sed 's/^/| /' conftest.
$ac_ext >&5
28059 ac_cv_type_off_t
=no
28061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28063 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28064 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28065 if test $ac_cv_type_off_t = yes; then
28069 cat >>confdefs.h
<<_ACEOF
28075 echo "$as_me:$LINENO: checking for pid_t" >&5
28076 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28077 if test "${ac_cv_type_pid_t+set}" = set; then
28078 echo $ECHO_N "(cached) $ECHO_C" >&6
28080 cat >conftest.
$ac_ext <<_ACEOF
28083 cat confdefs.h
>>conftest.
$ac_ext
28084 cat >>conftest.
$ac_ext <<_ACEOF
28085 /* end confdefs.h. */
28086 $ac_includes_default
28092 if (sizeof (pid_t))
28098 rm -f conftest.
$ac_objext
28099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28100 (eval $ac_compile) 2>conftest.er1
28102 grep -v '^ *+' conftest.er1
>conftest.err
28104 cat conftest.err
>&5
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); } &&
28107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28109 (eval $ac_try) 2>&5
28111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28112 (exit $ac_status); }; } &&
28113 { ac_try
='test -s conftest.$ac_objext'
28114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28115 (eval $ac_try) 2>&5
28117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28118 (exit $ac_status); }; }; then
28119 ac_cv_type_pid_t
=yes
28121 echo "$as_me: failed program was:" >&5
28122 sed 's/^/| /' conftest.
$ac_ext >&5
28124 ac_cv_type_pid_t
=no
28126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28128 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28129 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28130 if test $ac_cv_type_pid_t = yes; then
28134 cat >>confdefs.h
<<_ACEOF
28140 echo "$as_me:$LINENO: checking for size_t" >&5
28141 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28142 if test "${ac_cv_type_size_t+set}" = set; then
28143 echo $ECHO_N "(cached) $ECHO_C" >&6
28145 cat >conftest.
$ac_ext <<_ACEOF
28148 cat confdefs.h
>>conftest.
$ac_ext
28149 cat >>conftest.
$ac_ext <<_ACEOF
28150 /* end confdefs.h. */
28151 $ac_includes_default
28157 if (sizeof (size_t))
28163 rm -f conftest.
$ac_objext
28164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28165 (eval $ac_compile) 2>conftest.er1
28167 grep -v '^ *+' conftest.er1
>conftest.err
28169 cat conftest.err
>&5
28170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28171 (exit $ac_status); } &&
28172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28174 (eval $ac_try) 2>&5
28176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28177 (exit $ac_status); }; } &&
28178 { ac_try
='test -s conftest.$ac_objext'
28179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28180 (eval $ac_try) 2>&5
28182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28183 (exit $ac_status); }; }; then
28184 ac_cv_type_size_t
=yes
28186 echo "$as_me: failed program was:" >&5
28187 sed 's/^/| /' conftest.
$ac_ext >&5
28189 ac_cv_type_size_t
=no
28191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28193 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28194 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28195 if test $ac_cv_type_size_t = yes; then
28199 cat >>confdefs.h
<<_ACEOF
28200 #define size_t unsigned
28205 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28206 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28207 if test "${ac_cv_type_uid_t+set}" = set; then
28208 echo $ECHO_N "(cached) $ECHO_C" >&6
28210 cat >conftest.
$ac_ext <<_ACEOF
28213 cat confdefs.h
>>conftest.
$ac_ext
28214 cat >>conftest.
$ac_ext <<_ACEOF
28215 /* end confdefs.h. */
28216 #include <sys/types.h>
28219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28220 $EGREP "uid_t" >/dev
/null
2>&1; then
28221 ac_cv_type_uid_t
=yes
28223 ac_cv_type_uid_t
=no
28228 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28229 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28230 if test $ac_cv_type_uid_t = no
; then
28232 cat >>confdefs.h
<<\_ACEOF
28237 cat >>confdefs.h
<<\_ACEOF
28247 ac_cpp
='$CXXCPP $CPPFLAGS'
28248 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28249 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28250 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28252 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28253 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28254 if test "${wx_cv_size_t_is_uint+set}" = set; then
28255 echo $ECHO_N "(cached) $ECHO_C" >&6
28258 cat >conftest.
$ac_ext <<_ACEOF
28261 cat confdefs.h
>>conftest.
$ac_ext
28262 cat >>conftest.
$ac_ext <<_ACEOF
28263 /* end confdefs.h. */
28264 #include <stddef.h>
28271 struct Foo { void foo(size_t); void foo(unsigned int); };
28279 rm -f conftest.
$ac_objext
28280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28281 (eval $ac_compile) 2>conftest.er1
28283 grep -v '^ *+' conftest.er1
>conftest.err
28285 cat conftest.err
>&5
28286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287 (exit $ac_status); } &&
28288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28290 (eval $ac_try) 2>&5
28292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293 (exit $ac_status); }; } &&
28294 { ac_try
='test -s conftest.$ac_objext'
28295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28296 (eval $ac_try) 2>&5
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); }; }; then
28300 wx_cv_size_t_is_uint
=no
28302 echo "$as_me: failed program was:" >&5
28303 sed 's/^/| /' conftest.
$ac_ext >&5
28305 wx_cv_size_t_is_uint
=yes
28308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28312 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28313 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28315 if test "$wx_cv_size_t_is_uint" = "yes"; then
28316 cat >>confdefs.h
<<\_ACEOF
28317 #define wxSIZE_T_IS_UINT 1
28321 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28322 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28323 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28324 echo $ECHO_N "(cached) $ECHO_C" >&6
28326 cat >conftest.
$ac_ext <<_ACEOF
28329 cat confdefs.h
>>conftest.
$ac_ext
28330 cat >>conftest.
$ac_ext <<_ACEOF
28331 /* end confdefs.h. */
28332 #include <stddef.h>
28339 struct Foo { void foo(size_t); void foo(unsigned long); };
28347 rm -f conftest.
$ac_objext
28348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28349 (eval $ac_compile) 2>conftest.er1
28351 grep -v '^ *+' conftest.er1
>conftest.err
28353 cat conftest.err
>&5
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); } &&
28356 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28358 (eval $ac_try) 2>&5
28360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361 (exit $ac_status); }; } &&
28362 { ac_try
='test -s conftest.$ac_objext'
28363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28364 (eval $ac_try) 2>&5
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); }; }; then
28368 wx_cv_size_t_is_ulong
=no
28370 echo "$as_me: failed program was:" >&5
28371 sed 's/^/| /' conftest.
$ac_ext >&5
28373 wx_cv_size_t_is_ulong
=yes
28376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28379 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28380 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28382 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28383 cat >>confdefs.h
<<\_ACEOF
28384 #define wxSIZE_T_IS_ULONG 1
28391 ac_cpp
='$CPP $CPPFLAGS'
28392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28398 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28399 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28400 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28401 echo $ECHO_N "(cached) $ECHO_C" >&6
28404 cat >conftest.
$ac_ext <<_ACEOF
28407 cat confdefs.h
>>conftest.
$ac_ext
28408 cat >>conftest.
$ac_ext <<_ACEOF
28409 /* end confdefs.h. */
28423 rm -f conftest.
$ac_objext
28424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28425 (eval $ac_compile) 2>conftest.er1
28427 grep -v '^ *+' conftest.er1
>conftest.err
28429 cat conftest.err
>&5
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); } &&
28432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28434 (eval $ac_try) 2>&5
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); }; } &&
28438 { ac_try
='test -s conftest.$ac_objext'
28439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28440 (eval $ac_try) 2>&5
28442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28443 (exit $ac_status); }; }; then
28445 wx_cv_struct_pw_gecos
=yes
28448 echo "$as_me: failed program was:" >&5
28449 sed 's/^/| /' conftest.
$ac_ext >&5
28452 wx_cv_struct_pw_gecos
=no
28456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28460 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28461 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28463 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28464 cat >>confdefs.h
<<\_ACEOF
28465 #define HAVE_PW_GECOS 1
28471 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28472 cat >>confdefs.h
<<\_ACEOF
28473 #define wxUSE_WCHAR_T 1
28480 for ac_func
in wcslen
28482 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28483 echo "$as_me:$LINENO: checking for $ac_func" >&5
28484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28485 if eval "test \"\${$as_ac_var+set}\" = set"; then
28486 echo $ECHO_N "(cached) $ECHO_C" >&6
28488 cat >conftest.
$ac_ext <<_ACEOF
28491 cat confdefs.h
>>conftest.
$ac_ext
28492 cat >>conftest.
$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28496 #define $ac_func innocuous_$ac_func
28498 /* System header to define __stub macros and hopefully few prototypes,
28499 which can conflict with char $ac_func (); below.
28500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28501 <limits.h> exists even on freestanding compilers. */
28504 # include <limits.h>
28506 # include <assert.h>
28511 /* Override any gcc2 internal prototype to avoid an error. */
28516 /* We use char because int might match the return type of a gcc2
28517 builtin and then its argument prototype would still apply. */
28519 /* The GNU C library defines this for functions which it implements
28520 to always fail with ENOSYS. Some functions are actually named
28521 something starting with __ and the normal name is an alias. */
28522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28525 char (*f) () = $ac_func;
28534 return f != $ac_func;
28539 rm -f conftest.
$ac_objext conftest
$ac_exeext
28540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28541 (eval $ac_link) 2>conftest.er1
28543 grep -v '^ *+' conftest.er1
>conftest.err
28545 cat conftest.err
>&5
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); } &&
28548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28550 (eval $ac_try) 2>&5
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); }; } &&
28554 { ac_try
='test -s conftest$ac_exeext'
28555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28556 (eval $ac_try) 2>&5
28558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28559 (exit $ac_status); }; }; then
28560 eval "$as_ac_var=yes"
28562 echo "$as_me: failed program was:" >&5
28563 sed 's/^/| /' conftest.
$ac_ext >&5
28565 eval "$as_ac_var=no"
28567 rm -f conftest.err conftest.
$ac_objext \
28568 conftest
$ac_exeext conftest.
$ac_ext
28570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28572 if test `eval echo '${'$as_ac_var'}'` = yes; then
28573 cat >>confdefs.h
<<_ACEOF
28574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28581 if test "$WCSLEN_FOUND" = 0; then
28582 if test "$TOOLKIT" = "MSW"; then
28583 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28584 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28585 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28586 echo $ECHO_N "(cached) $ECHO_C" >&6
28588 ac_check_lib_save_LIBS
=$LIBS
28589 LIBS
="-lmsvcrt $LIBS"
28590 cat >conftest.
$ac_ext <<_ACEOF
28593 cat confdefs.h
>>conftest.
$ac_ext
28594 cat >>conftest.
$ac_ext <<_ACEOF
28595 /* end confdefs.h. */
28597 /* Override any gcc2 internal prototype to avoid an error. */
28601 /* We use char because int might match the return type of a gcc2
28602 builtin and then its argument prototype would still apply. */
28612 rm -f conftest.
$ac_objext conftest
$ac_exeext
28613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28614 (eval $ac_link) 2>conftest.er1
28616 grep -v '^ *+' conftest.er1
>conftest.err
28618 cat conftest.err
>&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); } &&
28621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28623 (eval $ac_try) 2>&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); }; } &&
28627 { ac_try
='test -s conftest$ac_exeext'
28628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28629 (eval $ac_try) 2>&5
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); }; }; then
28633 ac_cv_lib_msvcrt_wcslen
=yes
28635 echo "$as_me: failed program was:" >&5
28636 sed 's/^/| /' conftest.
$ac_ext >&5
28638 ac_cv_lib_msvcrt_wcslen
=no
28640 rm -f conftest.err conftest.
$ac_objext \
28641 conftest
$ac_exeext conftest.
$ac_ext
28642 LIBS
=$ac_check_lib_save_LIBS
28644 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28645 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28646 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28651 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28652 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28653 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28654 echo $ECHO_N "(cached) $ECHO_C" >&6
28656 ac_check_lib_save_LIBS
=$LIBS
28658 cat >conftest.
$ac_ext <<_ACEOF
28661 cat confdefs.h
>>conftest.
$ac_ext
28662 cat >>conftest.
$ac_ext <<_ACEOF
28663 /* end confdefs.h. */
28665 /* Override any gcc2 internal prototype to avoid an error. */
28669 /* We use char because int might match the return type of a gcc2
28670 builtin and then its argument prototype would still apply. */
28680 rm -f conftest.
$ac_objext conftest
$ac_exeext
28681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28682 (eval $ac_link) 2>conftest.er1
28684 grep -v '^ *+' conftest.er1
>conftest.err
28686 cat conftest.err
>&5
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); } &&
28689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28691 (eval $ac_try) 2>&5
28693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 (exit $ac_status); }; } &&
28695 { ac_try
='test -s conftest$ac_exeext'
28696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28697 (eval $ac_try) 2>&5
28699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 (exit $ac_status); }; }; then
28701 ac_cv_lib_w_wcslen
=yes
28703 echo "$as_me: failed program was:" >&5
28704 sed 's/^/| /' conftest.
$ac_ext >&5
28706 ac_cv_lib_w_wcslen
=no
28708 rm -f conftest.err conftest.
$ac_objext \
28709 conftest
$ac_exeext conftest.
$ac_ext
28710 LIBS
=$ac_check_lib_save_LIBS
28712 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28713 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28714 if test $ac_cv_lib_w_wcslen = yes; then
28724 if test "$WCSLEN_FOUND" = 1; then
28725 cat >>confdefs.h
<<\_ACEOF
28726 #define HAVE_WCSLEN 1
28731 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28732 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28736 for ac_func
in wcsrtombs
28738 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28739 echo "$as_me:$LINENO: checking for $ac_func" >&5
28740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28741 if eval "test \"\${$as_ac_var+set}\" = set"; then
28742 echo $ECHO_N "(cached) $ECHO_C" >&6
28744 cat >conftest.
$ac_ext <<_ACEOF
28747 cat confdefs.h
>>conftest.
$ac_ext
28748 cat >>conftest.
$ac_ext <<_ACEOF
28749 /* end confdefs.h. */
28750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28752 #define $ac_func innocuous_$ac_func
28754 /* System header to define __stub macros and hopefully few prototypes,
28755 which can conflict with char $ac_func (); below.
28756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28757 <limits.h> exists even on freestanding compilers. */
28760 # include <limits.h>
28762 # include <assert.h>
28767 /* Override any gcc2 internal prototype to avoid an error. */
28772 /* We use char because int might match the return type of a gcc2
28773 builtin and then its argument prototype would still apply. */
28775 /* The GNU C library defines this for functions which it implements
28776 to always fail with ENOSYS. Some functions are actually named
28777 something starting with __ and the normal name is an alias. */
28778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28781 char (*f) () = $ac_func;
28790 return f != $ac_func;
28795 rm -f conftest.
$ac_objext conftest
$ac_exeext
28796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28797 (eval $ac_link) 2>conftest.er1
28799 grep -v '^ *+' conftest.er1
>conftest.err
28801 cat conftest.err
>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); } &&
28804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28806 (eval $ac_try) 2>&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); }; } &&
28810 { ac_try
='test -s conftest$ac_exeext'
28811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28812 (eval $ac_try) 2>&5
28814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28815 (exit $ac_status); }; }; then
28816 eval "$as_ac_var=yes"
28818 echo "$as_me: failed program was:" >&5
28819 sed 's/^/| /' conftest.
$ac_ext >&5
28821 eval "$as_ac_var=no"
28823 rm -f conftest.err conftest.
$ac_objext \
28824 conftest
$ac_exeext conftest.
$ac_ext
28826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28828 if test `eval echo '${'$as_ac_var'}'` = yes; then
28829 cat >>confdefs.h
<<_ACEOF
28830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28837 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28838 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28844 ac_cpp
='$CXXCPP $CPPFLAGS'
28845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28851 for ac_func
in vsnprintf
28853 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28854 echo "$as_me:$LINENO: checking for $ac_func" >&5
28855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28856 if eval "test \"\${$as_ac_var+set}\" = set"; then
28857 echo $ECHO_N "(cached) $ECHO_C" >&6
28859 cat >conftest.
$ac_ext <<_ACEOF
28862 cat confdefs.h
>>conftest.
$ac_ext
28863 cat >>conftest.
$ac_ext <<_ACEOF
28864 /* end confdefs.h. */
28865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28867 #define $ac_func innocuous_$ac_func
28869 /* System header to define __stub macros and hopefully few prototypes,
28870 which can conflict with char $ac_func (); below.
28871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28872 <limits.h> exists even on freestanding compilers. */
28875 # include <limits.h>
28877 # include <assert.h>
28882 /* Override any gcc2 internal prototype to avoid an error. */
28887 /* We use char because int might match the return type of a gcc2
28888 builtin and then its argument prototype would still apply. */
28890 /* The GNU C library defines this for functions which it implements
28891 to always fail with ENOSYS. Some functions are actually named
28892 something starting with __ and the normal name is an alias. */
28893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28896 char (*f) () = $ac_func;
28905 return f != $ac_func;
28910 rm -f conftest.
$ac_objext conftest
$ac_exeext
28911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28912 (eval $ac_link) 2>conftest.er1
28914 grep -v '^ *+' conftest.er1
>conftest.err
28916 cat conftest.err
>&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } &&
28919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28921 (eval $ac_try) 2>&5
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); }; } &&
28925 { ac_try
='test -s conftest$ac_exeext'
28926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28927 (eval $ac_try) 2>&5
28929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28930 (exit $ac_status); }; }; then
28931 eval "$as_ac_var=yes"
28933 echo "$as_me: failed program was:" >&5
28934 sed 's/^/| /' conftest.
$ac_ext >&5
28936 eval "$as_ac_var=no"
28938 rm -f conftest.err conftest.
$ac_objext \
28939 conftest
$ac_exeext conftest.
$ac_ext
28941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28943 if test `eval echo '${'$as_ac_var'}'` = yes; then
28944 cat >>confdefs.h
<<_ACEOF
28945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28952 if test "$ac_cv_func_vsnprintf" = "yes"; then
28953 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28954 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28955 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28956 echo $ECHO_N "(cached) $ECHO_C" >&6
28959 cat >conftest.
$ac_ext <<_ACEOF
28962 cat confdefs.h
>>conftest.
$ac_ext
28963 cat >>conftest.
$ac_ext <<_ACEOF
28964 /* end confdefs.h. */
28967 #include <stdarg.h>
28975 vsnprintf(buf, 10u, "%s", ap);
28981 rm -f conftest.
$ac_objext
28982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28983 (eval $ac_compile) 2>conftest.er1
28985 grep -v '^ *+' conftest.er1
>conftest.err
28987 cat conftest.err
>&5
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); } &&
28990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28992 (eval $ac_try) 2>&5
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); }; } &&
28996 { ac_try
='test -s conftest.$ac_objext'
28997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28998 (eval $ac_try) 2>&5
29000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29001 (exit $ac_status); }; }; then
29002 wx_cv_func_vsnprintf_decl
=yes
29004 echo "$as_me: failed program was:" >&5
29005 sed 's/^/| /' conftest.
$ac_ext >&5
29007 wx_cv_func_vsnprintf_decl
=no
29010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29014 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29015 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29017 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29018 cat >>confdefs.h
<<\_ACEOF
29019 #define HAVE_VSNPRINTF_DECL 1
29025 if test "$wxUSE_UNICODE" = yes; then
29032 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29034 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29035 echo "$as_me:$LINENO: checking for $ac_func" >&5
29036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29037 if eval "test \"\${$as_ac_var+set}\" = set"; then
29038 echo $ECHO_N "(cached) $ECHO_C" >&6
29040 cat >conftest.
$ac_ext <<_ACEOF
29043 cat confdefs.h
>>conftest.
$ac_ext
29044 cat >>conftest.
$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29048 #define $ac_func innocuous_$ac_func
29050 /* System header to define __stub macros and hopefully few prototypes,
29051 which can conflict with char $ac_func (); below.
29052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29053 <limits.h> exists even on freestanding compilers. */
29056 # include <limits.h>
29058 # include <assert.h>
29063 /* Override any gcc2 internal prototype to avoid an error. */
29068 /* We use char because int might match the return type of a gcc2
29069 builtin and then its argument prototype would still apply. */
29071 /* The GNU C library defines this for functions which it implements
29072 to always fail with ENOSYS. Some functions are actually named
29073 something starting with __ and the normal name is an alias. */
29074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29077 char (*f) () = $ac_func;
29086 return f != $ac_func;
29091 rm -f conftest.
$ac_objext conftest
$ac_exeext
29092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29093 (eval $ac_link) 2>conftest.er1
29095 grep -v '^ *+' conftest.er1
>conftest.err
29097 cat conftest.err
>&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); } &&
29100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29102 (eval $ac_try) 2>&5
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); }; } &&
29106 { ac_try
='test -s conftest$ac_exeext'
29107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29108 (eval $ac_try) 2>&5
29110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29111 (exit $ac_status); }; }; then
29112 eval "$as_ac_var=yes"
29114 echo "$as_me: failed program was:" >&5
29115 sed 's/^/| /' conftest.
$ac_ext >&5
29117 eval "$as_ac_var=no"
29119 rm -f conftest.err conftest.
$ac_objext \
29120 conftest
$ac_exeext conftest.
$ac_ext
29122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29124 if test `eval echo '${'$as_ac_var'}'` = yes; then
29125 cat >>confdefs.h
<<_ACEOF
29126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29133 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29134 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29135 cat >conftest.
$ac_ext <<_ACEOF
29138 cat confdefs.h
>>conftest.
$ac_ext
29139 cat >>conftest.
$ac_ext <<_ACEOF
29140 /* end confdefs.h. */
29150 rm -f conftest.
$ac_objext
29151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29152 (eval $ac_compile) 2>conftest.er1
29154 grep -v '^ *+' conftest.er1
>conftest.err
29156 cat conftest.err
>&5
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); } &&
29159 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29161 (eval $ac_try) 2>&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); }; } &&
29165 { ac_try
='test -s conftest.$ac_objext'
29166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167 (eval $ac_try) 2>&5
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); }; }; then
29171 echo "$as_me:$LINENO: result: yes" >&5
29172 echo "${ECHO_T}yes" >&6
29173 cat >>confdefs.h
<<\_ACEOF
29174 #define HAVE__VSNWPRINTF 1
29178 echo "$as_me: failed program was:" >&5
29179 sed 's/^/| /' conftest.
$ac_ext >&5
29181 echo "$as_me:$LINENO: result: no" >&5
29182 echo "${ECHO_T}no" >&6
29184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29188 ac_cpp
='$CPP $CPPFLAGS'
29189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29196 if test "$TOOLKIT" != "MSW"; then
29202 ac_cpp
='$CXXCPP $CPPFLAGS'
29203 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29204 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29205 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29210 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29211 if test "${with_libiconv_prefix+set}" = set; then
29212 withval
="$with_libiconv_prefix"
29214 for dir
in `echo "$withval" | tr : ' '`; do
29215 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29216 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29221 echo "$as_me:$LINENO: checking for iconv" >&5
29222 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29223 if test "${am_cv_func_iconv+set}" = set; then
29224 echo $ECHO_N "(cached) $ECHO_C" >&6
29227 am_cv_func_iconv
="no, consider installing GNU libiconv"
29229 cat >conftest.
$ac_ext <<_ACEOF
29232 cat confdefs.h
>>conftest.
$ac_ext
29233 cat >>conftest.
$ac_ext <<_ACEOF
29234 /* end confdefs.h. */
29235 #include <stdlib.h>
29240 iconv_t cd = iconv_open("","");
29241 iconv(cd,NULL,NULL,NULL,NULL);
29247 rm -f conftest.
$ac_objext conftest
$ac_exeext
29248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29249 (eval $ac_link) 2>conftest.er1
29251 grep -v '^ *+' conftest.er1
>conftest.err
29253 cat conftest.err
>&5
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); } &&
29256 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29258 (eval $ac_try) 2>&5
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); }; } &&
29262 { ac_try
='test -s conftest$ac_exeext'
29263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29264 (eval $ac_try) 2>&5
29266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267 (exit $ac_status); }; }; then
29268 am_cv_func_iconv
=yes
29270 echo "$as_me: failed program was:" >&5
29271 sed 's/^/| /' conftest.
$ac_ext >&5
29274 rm -f conftest.err conftest.
$ac_objext \
29275 conftest
$ac_exeext conftest.
$ac_ext
29276 if test "$am_cv_func_iconv" != yes; then
29277 am_save_LIBS
="$LIBS"
29278 LIBS
="$LIBS -liconv"
29279 cat >conftest.
$ac_ext <<_ACEOF
29282 cat confdefs.h
>>conftest.
$ac_ext
29283 cat >>conftest.
$ac_ext <<_ACEOF
29284 /* end confdefs.h. */
29285 #include <stdlib.h>
29290 iconv_t cd = iconv_open("","");
29291 iconv(cd,NULL,NULL,NULL,NULL);
29297 rm -f conftest.
$ac_objext conftest
$ac_exeext
29298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29299 (eval $ac_link) 2>conftest.er1
29301 grep -v '^ *+' conftest.er1
>conftest.err
29303 cat conftest.err
>&5
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); } &&
29306 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29308 (eval $ac_try) 2>&5
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); }; } &&
29312 { ac_try
='test -s conftest$ac_exeext'
29313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29314 (eval $ac_try) 2>&5
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); }; }; then
29318 am_cv_lib_iconv
=yes
29319 am_cv_func_iconv
=yes
29321 echo "$as_me: failed program was:" >&5
29322 sed 's/^/| /' conftest.
$ac_ext >&5
29325 rm -f conftest.err conftest.
$ac_objext \
29326 conftest
$ac_exeext conftest.
$ac_ext
29327 LIBS
="$am_save_LIBS"
29331 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29332 echo "${ECHO_T}$am_cv_func_iconv" >&6
29333 if test "$am_cv_func_iconv" = yes; then
29335 cat >>confdefs.h
<<\_ACEOF
29336 #define HAVE_ICONV 1
29339 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29340 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29341 if test "${wx_cv_func_iconv_const+set}" = set; then
29342 echo $ECHO_N "(cached) $ECHO_C" >&6
29344 cat >conftest.
$ac_ext <<_ACEOF
29347 cat confdefs.h
>>conftest.
$ac_ext
29348 cat >>conftest.
$ac_ext <<_ACEOF
29349 /* end confdefs.h. */
29351 #include <stdlib.h>
29357 #if defined(__STDC__) || defined(__cplusplus)
29358 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29371 rm -f conftest.
$ac_objext
29372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29373 (eval $ac_compile) 2>conftest.er1
29375 grep -v '^ *+' conftest.er1
>conftest.err
29377 cat conftest.err
>&5
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); } &&
29380 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29382 (eval $ac_try) 2>&5
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); }; } &&
29386 { ac_try
='test -s conftest.$ac_objext'
29387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29388 (eval $ac_try) 2>&5
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); }; }; then
29392 wx_cv_func_iconv_const
="no"
29394 echo "$as_me: failed program was:" >&5
29395 sed 's/^/| /' conftest.
$ac_ext >&5
29397 wx_cv_func_iconv_const
="yes"
29400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29403 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29404 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29407 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29408 iconv_const
="const"
29412 cat >>confdefs.h
<<_ACEOF
29413 #define ICONV_CONST $iconv_const
29418 if test "$am_cv_lib_iconv" = yes; then
29423 LIBS
="$LIBICONV $LIBS"
29425 ac_cpp
='$CPP $CPPFLAGS'
29426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29431 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29433 for ac_func
in sigaction
29435 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29436 echo "$as_me:$LINENO: checking for $ac_func" >&5
29437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29438 if eval "test \"\${$as_ac_var+set}\" = set"; then
29439 echo $ECHO_N "(cached) $ECHO_C" >&6
29441 cat >conftest.
$ac_ext <<_ACEOF
29444 cat confdefs.h
>>conftest.
$ac_ext
29445 cat >>conftest.
$ac_ext <<_ACEOF
29446 /* end confdefs.h. */
29447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29449 #define $ac_func innocuous_$ac_func
29451 /* System header to define __stub macros and hopefully few prototypes,
29452 which can conflict with char $ac_func (); below.
29453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29454 <limits.h> exists even on freestanding compilers. */
29457 # include <limits.h>
29459 # include <assert.h>
29464 /* Override any gcc2 internal prototype to avoid an error. */
29469 /* We use char because int might match the return type of a gcc2
29470 builtin and then its argument prototype would still apply. */
29472 /* The GNU C library defines this for functions which it implements
29473 to always fail with ENOSYS. Some functions are actually named
29474 something starting with __ and the normal name is an alias. */
29475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29478 char (*f) () = $ac_func;
29487 return f != $ac_func;
29492 rm -f conftest.
$ac_objext conftest
$ac_exeext
29493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29494 (eval $ac_link) 2>conftest.er1
29496 grep -v '^ *+' conftest.er1
>conftest.err
29498 cat conftest.err
>&5
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); } &&
29501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29503 (eval $ac_try) 2>&5
29505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29506 (exit $ac_status); }; } &&
29507 { ac_try
='test -s conftest$ac_exeext'
29508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29509 (eval $ac_try) 2>&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); }; }; then
29513 eval "$as_ac_var=yes"
29515 echo "$as_me: failed program was:" >&5
29516 sed 's/^/| /' conftest.
$ac_ext >&5
29518 eval "$as_ac_var=no"
29520 rm -f conftest.err conftest.
$ac_objext \
29521 conftest
$ac_exeext conftest.
$ac_ext
29523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29525 if test `eval echo '${'$as_ac_var'}'` = yes; then
29526 cat >>confdefs.h
<<_ACEOF
29527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29534 if test "$ac_cv_func_sigaction" = "no"; then
29535 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29536 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29537 wxUSE_ON_FATAL_EXCEPTION
=no
29540 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29544 ac_cpp
='$CXXCPP $CPPFLAGS'
29545 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29546 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29547 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29550 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29551 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29552 if test "${wx_cv_type_sa_handler+set}" = set; then
29553 echo $ECHO_N "(cached) $ECHO_C" >&6
29556 cat >conftest.
$ac_ext <<_ACEOF
29559 cat confdefs.h
>>conftest.
$ac_ext
29560 cat >>conftest.
$ac_ext <<_ACEOF
29561 /* end confdefs.h. */
29562 #include <signal.h>
29567 extern void testSigHandler(int);
29569 struct sigaction sa;
29570 sa.sa_handler = testSigHandler;
29576 rm -f conftest.
$ac_objext
29577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29578 (eval $ac_compile) 2>conftest.er1
29580 grep -v '^ *+' conftest.er1
>conftest.err
29582 cat conftest.err
>&5
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); } &&
29585 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29587 (eval $ac_try) 2>&5
29589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590 (exit $ac_status); }; } &&
29591 { ac_try
='test -s conftest.$ac_objext'
29592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29593 (eval $ac_try) 2>&5
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); }; }; then
29598 wx_cv_type_sa_handler
=int
29601 echo "$as_me: failed program was:" >&5
29602 sed 's/^/| /' conftest.
$ac_ext >&5
29605 wx_cv_type_sa_handler
=void
29608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29611 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29612 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29615 ac_cpp
='$CPP $CPPFLAGS'
29616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29621 cat >>confdefs.h
<<_ACEOF
29622 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29630 for ac_func
in mkstemp mktemp
29632 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29633 echo "$as_me:$LINENO: checking for $ac_func" >&5
29634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29635 if eval "test \"\${$as_ac_var+set}\" = set"; then
29636 echo $ECHO_N "(cached) $ECHO_C" >&6
29638 cat >conftest.
$ac_ext <<_ACEOF
29641 cat confdefs.h
>>conftest.
$ac_ext
29642 cat >>conftest.
$ac_ext <<_ACEOF
29643 /* end confdefs.h. */
29644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29646 #define $ac_func innocuous_$ac_func
29648 /* System header to define __stub macros and hopefully few prototypes,
29649 which can conflict with char $ac_func (); below.
29650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29651 <limits.h> exists even on freestanding compilers. */
29654 # include <limits.h>
29656 # include <assert.h>
29661 /* Override any gcc2 internal prototype to avoid an error. */
29666 /* We use char because int might match the return type of a gcc2
29667 builtin and then its argument prototype would still apply. */
29669 /* The GNU C library defines this for functions which it implements
29670 to always fail with ENOSYS. Some functions are actually named
29671 something starting with __ and the normal name is an alias. */
29672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29675 char (*f) () = $ac_func;
29684 return f != $ac_func;
29689 rm -f conftest.
$ac_objext conftest
$ac_exeext
29690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29691 (eval $ac_link) 2>conftest.er1
29693 grep -v '^ *+' conftest.er1
>conftest.err
29695 cat conftest.err
>&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); } &&
29698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29700 (eval $ac_try) 2>&5
29702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29703 (exit $ac_status); }; } &&
29704 { ac_try
='test -s conftest$ac_exeext'
29705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29706 (eval $ac_try) 2>&5
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; }; then
29710 eval "$as_ac_var=yes"
29712 echo "$as_me: failed program was:" >&5
29713 sed 's/^/| /' conftest.
$ac_ext >&5
29715 eval "$as_ac_var=no"
29717 rm -f conftest.err conftest.
$ac_objext \
29718 conftest
$ac_exeext conftest.
$ac_ext
29720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29722 if test `eval echo '${'$as_ac_var'}'` = yes; then
29723 cat >>confdefs.h
<<_ACEOF
29724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29731 echo "$as_me:$LINENO: checking for statfs" >&5
29732 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29733 if test "${wx_cv_func_statfs+set}" = set; then
29734 echo $ECHO_N "(cached) $ECHO_C" >&6
29736 cat >conftest.
$ac_ext <<_ACEOF
29739 cat confdefs.h
>>conftest.
$ac_ext
29740 cat >>conftest.
$ac_ext <<_ACEOF
29741 /* end confdefs.h. */
29743 #if defined(__BSD__)
29744 #include <sys/param.h>
29745 #include <sys/mount.h>
29747 #include <sys/vfs.h>
29765 rm -f conftest.
$ac_objext
29766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29767 (eval $ac_compile) 2>conftest.er1
29769 grep -v '^ *+' conftest.er1
>conftest.err
29771 cat conftest.err
>&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); } &&
29774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29776 (eval $ac_try) 2>&5
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); }; } &&
29780 { ac_try
='test -s conftest.$ac_objext'
29781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29782 (eval $ac_try) 2>&5
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); }; }; then
29787 wx_cv_func_statfs
=yes
29790 echo "$as_me: failed program was:" >&5
29791 sed 's/^/| /' conftest.
$ac_ext >&5
29794 wx_cv_func_statfs
=no
29798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29801 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29802 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29804 if test "$wx_cv_func_statfs" = "yes"; then
29805 wx_cv_type_statvfs_t
="struct statfs"
29806 cat >>confdefs.h
<<\_ACEOF
29807 #define HAVE_STATFS 1
29811 echo "$as_me:$LINENO: checking for statvfs" >&5
29812 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29813 if test "${wx_cv_func_statvfs+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. */
29823 #include <stddef.h>
29824 #include <sys/statvfs.h>
29830 statvfs("/", NULL);
29836 rm -f conftest.
$ac_objext
29837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29838 (eval $ac_compile) 2>conftest.er1
29840 grep -v '^ *+' conftest.er1
>conftest.err
29842 cat conftest.err
>&5
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); } &&
29845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29847 (eval $ac_try) 2>&5
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); }; } &&
29851 { ac_try
='test -s conftest.$ac_objext'
29852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29853 (eval $ac_try) 2>&5
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); }; }; then
29857 wx_cv_func_statvfs
=yes
29859 echo "$as_me: failed program was:" >&5
29860 sed 's/^/| /' conftest.
$ac_ext >&5
29862 wx_cv_func_statvfs
=no
29865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29868 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29869 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29871 if test "$wx_cv_func_statvfs" = "yes"; then
29875 ac_cpp
='$CXXCPP $CPPFLAGS'
29876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29881 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29882 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29883 if test "${wx_cv_type_statvfs_t+set}" = set; then
29884 echo $ECHO_N "(cached) $ECHO_C" >&6
29886 cat >conftest.
$ac_ext <<_ACEOF
29889 cat confdefs.h
>>conftest.
$ac_ext
29890 cat >>conftest.
$ac_ext <<_ACEOF
29891 /* end confdefs.h. */
29893 #include <sys/statvfs.h>
29910 rm -f conftest.
$ac_objext
29911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29912 (eval $ac_compile) 2>conftest.er1
29914 grep -v '^ *+' conftest.er1
>conftest.err
29916 cat conftest.err
>&5
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); } &&
29919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29921 (eval $ac_try) 2>&5
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); }; } &&
29925 { ac_try
='test -s conftest.$ac_objext'
29926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29927 (eval $ac_try) 2>&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); }; }; then
29931 wx_cv_type_statvfs_t
=statvfs_t
29933 echo "$as_me: failed program was:" >&5
29934 sed 's/^/| /' conftest.
$ac_ext >&5
29937 cat >conftest.
$ac_ext <<_ACEOF
29940 cat confdefs.h
>>conftest.
$ac_ext
29941 cat >>conftest.
$ac_ext <<_ACEOF
29942 /* end confdefs.h. */
29944 #include <sys/statvfs.h>
29961 rm -f conftest.
$ac_objext
29962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29963 (eval $ac_compile) 2>conftest.er1
29965 grep -v '^ *+' conftest.er1
>conftest.err
29967 cat conftest.err
>&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); } &&
29970 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972 (eval $ac_try) 2>&5
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); }; } &&
29976 { ac_try
='test -s conftest.$ac_objext'
29977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29978 (eval $ac_try) 2>&5
29980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29981 (exit $ac_status); }; }; then
29982 wx_cv_type_statvfs_t
="struct statvfs"
29984 echo "$as_me: failed program was:" >&5
29985 sed 's/^/| /' conftest.
$ac_ext >&5
29987 wx_cv_type_statvfs_t
="unknown"
29990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29997 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29998 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30001 ac_cpp
='$CPP $CPPFLAGS'
30002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30007 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30008 cat >>confdefs.h
<<\_ACEOF
30009 #define HAVE_STATVFS 1
30014 wx_cv_type_statvfs_t
="unknown"
30018 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30019 cat >>confdefs.h
<<_ACEOF
30020 #define WX_STATFS_T $wx_cv_type_statvfs_t
30024 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30025 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30028 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30031 for ac_func
in fcntl flock
30033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30034 echo "$as_me:$LINENO: checking for $ac_func" >&5
30035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30036 if eval "test \"\${$as_ac_var+set}\" = set"; then
30037 echo $ECHO_N "(cached) $ECHO_C" >&6
30039 cat >conftest.
$ac_ext <<_ACEOF
30042 cat confdefs.h
>>conftest.
$ac_ext
30043 cat >>conftest.
$ac_ext <<_ACEOF
30044 /* end confdefs.h. */
30045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30047 #define $ac_func innocuous_$ac_func
30049 /* System header to define __stub macros and hopefully few prototypes,
30050 which can conflict with char $ac_func (); below.
30051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30052 <limits.h> exists even on freestanding compilers. */
30055 # include <limits.h>
30057 # include <assert.h>
30062 /* Override any gcc2 internal prototype to avoid an error. */
30067 /* We use char because int might match the return type of a gcc2
30068 builtin and then its argument prototype would still apply. */
30070 /* The GNU C library defines this for functions which it implements
30071 to always fail with ENOSYS. Some functions are actually named
30072 something starting with __ and the normal name is an alias. */
30073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30076 char (*f) () = $ac_func;
30085 return f != $ac_func;
30090 rm -f conftest.
$ac_objext conftest
$ac_exeext
30091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30092 (eval $ac_link) 2>conftest.er1
30094 grep -v '^ *+' conftest.er1
>conftest.err
30096 cat conftest.err
>&5
30097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30098 (exit $ac_status); } &&
30099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30101 (eval $ac_try) 2>&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); }; } &&
30105 { ac_try
='test -s conftest$ac_exeext'
30106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30107 (eval $ac_try) 2>&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); }; }; then
30111 eval "$as_ac_var=yes"
30113 echo "$as_me: failed program was:" >&5
30114 sed 's/^/| /' conftest.
$ac_ext >&5
30116 eval "$as_ac_var=no"
30118 rm -f conftest.err conftest.
$ac_objext \
30119 conftest
$ac_exeext conftest.
$ac_ext
30121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30123 if test `eval echo '${'$as_ac_var'}'` = yes; then
30124 cat >>confdefs.h
<<_ACEOF
30125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30132 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30133 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30134 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30135 wxUSE_SNGLINST_CHECKER
=no
30140 for ac_func
in timegm
30142 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30143 echo "$as_me:$LINENO: checking for $ac_func" >&5
30144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30145 if eval "test \"\${$as_ac_var+set}\" = set"; then
30146 echo $ECHO_N "(cached) $ECHO_C" >&6
30148 cat >conftest.
$ac_ext <<_ACEOF
30151 cat confdefs.h
>>conftest.
$ac_ext
30152 cat >>conftest.
$ac_ext <<_ACEOF
30153 /* end confdefs.h. */
30154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30156 #define $ac_func innocuous_$ac_func
30158 /* System header to define __stub macros and hopefully few prototypes,
30159 which can conflict with char $ac_func (); below.
30160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30161 <limits.h> exists even on freestanding compilers. */
30164 # include <limits.h>
30166 # include <assert.h>
30171 /* Override any gcc2 internal prototype to avoid an error. */
30176 /* We use char because int might match the return type of a gcc2
30177 builtin and then its argument prototype would still apply. */
30179 /* The GNU C library defines this for functions which it implements
30180 to always fail with ENOSYS. Some functions are actually named
30181 something starting with __ and the normal name is an alias. */
30182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30185 char (*f) () = $ac_func;
30194 return f != $ac_func;
30199 rm -f conftest.
$ac_objext conftest
$ac_exeext
30200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30201 (eval $ac_link) 2>conftest.er1
30203 grep -v '^ *+' conftest.er1
>conftest.err
30205 cat conftest.err
>&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); } &&
30208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30210 (eval $ac_try) 2>&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; } &&
30214 { ac_try
='test -s conftest$ac_exeext'
30215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30216 (eval $ac_try) 2>&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); }; }; then
30220 eval "$as_ac_var=yes"
30222 echo "$as_me: failed program was:" >&5
30223 sed 's/^/| /' conftest.
$ac_ext >&5
30225 eval "$as_ac_var=no"
30227 rm -f conftest.err conftest.
$ac_objext \
30228 conftest
$ac_exeext conftest.
$ac_ext
30230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30232 if test `eval echo '${'$as_ac_var'}'` = yes; then
30233 cat >>confdefs.h
<<_ACEOF
30234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30243 for ac_func
in putenv setenv
30245 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30246 echo "$as_me:$LINENO: checking for $ac_func" >&5
30247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30248 if eval "test \"\${$as_ac_var+set}\" = set"; then
30249 echo $ECHO_N "(cached) $ECHO_C" >&6
30251 cat >conftest.
$ac_ext <<_ACEOF
30254 cat confdefs.h
>>conftest.
$ac_ext
30255 cat >>conftest.
$ac_ext <<_ACEOF
30256 /* end confdefs.h. */
30257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30259 #define $ac_func innocuous_$ac_func
30261 /* System header to define __stub macros and hopefully few prototypes,
30262 which can conflict with char $ac_func (); below.
30263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30264 <limits.h> exists even on freestanding compilers. */
30267 # include <limits.h>
30269 # include <assert.h>
30274 /* Override any gcc2 internal prototype to avoid an error. */
30279 /* We use char because int might match the return type of a gcc2
30280 builtin and then its argument prototype would still apply. */
30282 /* The GNU C library defines this for functions which it implements
30283 to always fail with ENOSYS. Some functions are actually named
30284 something starting with __ and the normal name is an alias. */
30285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30288 char (*f) () = $ac_func;
30297 return f != $ac_func;
30302 rm -f conftest.
$ac_objext conftest
$ac_exeext
30303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30304 (eval $ac_link) 2>conftest.er1
30306 grep -v '^ *+' conftest.er1
>conftest.err
30308 cat conftest.err
>&5
30309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30310 (exit $ac_status); } &&
30311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30313 (eval $ac_try) 2>&5
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); }; } &&
30317 { ac_try
='test -s conftest$ac_exeext'
30318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30319 (eval $ac_try) 2>&5
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); }; }; then
30323 eval "$as_ac_var=yes"
30325 echo "$as_me: failed program was:" >&5
30326 sed 's/^/| /' conftest.
$ac_ext >&5
30328 eval "$as_ac_var=no"
30330 rm -f conftest.err conftest.
$ac_objext \
30331 conftest
$ac_exeext conftest.
$ac_ext
30333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30335 if test `eval echo '${'$as_ac_var'}'` = yes; then
30336 cat >>confdefs.h
<<_ACEOF
30337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30344 HAVE_SOME_SLEEP_FUNC
=0
30345 if test "$USE_BEOS" = 1; then
30346 cat >>confdefs.h
<<\_ACEOF
30347 #define HAVE_SLEEP 1
30350 HAVE_SOME_SLEEP_FUNC
=1
30353 if test "$USE_DARWIN" = 1; then
30354 cat >>confdefs.h
<<\_ACEOF
30355 #define HAVE_USLEEP 1
30358 HAVE_SOME_SLEEP_FUNC
=1
30361 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30364 for ac_func
in nanosleep
30366 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30367 echo "$as_me:$LINENO: checking for $ac_func" >&5
30368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30369 if eval "test \"\${$as_ac_var+set}\" = set"; then
30370 echo $ECHO_N "(cached) $ECHO_C" >&6
30372 cat >conftest.
$ac_ext <<_ACEOF
30375 cat confdefs.h
>>conftest.
$ac_ext
30376 cat >>conftest.
$ac_ext <<_ACEOF
30377 /* end confdefs.h. */
30378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30380 #define $ac_func innocuous_$ac_func
30382 /* System header to define __stub macros and hopefully few prototypes,
30383 which can conflict with char $ac_func (); below.
30384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30385 <limits.h> exists even on freestanding compilers. */
30388 # include <limits.h>
30390 # include <assert.h>
30395 /* Override any gcc2 internal prototype to avoid an error. */
30400 /* We use char because int might match the return type of a gcc2
30401 builtin and then its argument prototype would still apply. */
30403 /* The GNU C library defines this for functions which it implements
30404 to always fail with ENOSYS. Some functions are actually named
30405 something starting with __ and the normal name is an alias. */
30406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30409 char (*f) () = $ac_func;
30418 return f != $ac_func;
30423 rm -f conftest.
$ac_objext conftest
$ac_exeext
30424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30425 (eval $ac_link) 2>conftest.er1
30427 grep -v '^ *+' conftest.er1
>conftest.err
30429 cat conftest.err
>&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); } &&
30432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30434 (eval $ac_try) 2>&5
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); }; } &&
30438 { ac_try
='test -s conftest$ac_exeext'
30439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30440 (eval $ac_try) 2>&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); }; }; then
30444 eval "$as_ac_var=yes"
30446 echo "$as_me: failed program was:" >&5
30447 sed 's/^/| /' conftest.
$ac_ext >&5
30449 eval "$as_ac_var=no"
30451 rm -f conftest.err conftest.
$ac_objext \
30452 conftest
$ac_exeext conftest.
$ac_ext
30454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30456 if test `eval echo '${'$as_ac_var'}'` = yes; then
30457 cat >>confdefs.h
<<_ACEOF
30458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30460 cat >>confdefs.h
<<\_ACEOF
30461 #define HAVE_NANOSLEEP 1
30466 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30467 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30468 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30469 echo $ECHO_N "(cached) $ECHO_C" >&6
30471 ac_check_lib_save_LIBS
=$LIBS
30472 LIBS
="-lposix4 $LIBS"
30473 cat >conftest.
$ac_ext <<_ACEOF
30476 cat confdefs.h
>>conftest.
$ac_ext
30477 cat >>conftest.
$ac_ext <<_ACEOF
30478 /* end confdefs.h. */
30480 /* Override any gcc2 internal prototype to avoid an error. */
30484 /* We use char because int might match the return type of a gcc2
30485 builtin and then its argument prototype would still apply. */
30495 rm -f conftest.
$ac_objext conftest
$ac_exeext
30496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30497 (eval $ac_link) 2>conftest.er1
30499 grep -v '^ *+' conftest.er1
>conftest.err
30501 cat conftest.err
>&5
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); } &&
30504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30506 (eval $ac_try) 2>&5
30508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509 (exit $ac_status); }; } &&
30510 { ac_try
='test -s conftest$ac_exeext'
30511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30512 (eval $ac_try) 2>&5
30514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30515 (exit $ac_status); }; }; then
30516 ac_cv_lib_posix4_nanosleep
=yes
30518 echo "$as_me: failed program was:" >&5
30519 sed 's/^/| /' conftest.
$ac_ext >&5
30521 ac_cv_lib_posix4_nanosleep
=no
30523 rm -f conftest.err conftest.
$ac_objext \
30524 conftest
$ac_exeext conftest.
$ac_ext
30525 LIBS
=$ac_check_lib_save_LIBS
30527 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30528 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30529 if test $ac_cv_lib_posix4_nanosleep = yes; then
30531 cat >>confdefs.h
<<\_ACEOF
30532 #define HAVE_NANOSLEEP 1
30535 POSIX4_LINK
=" -lposix4"
30540 for ac_func
in usleep
30542 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30543 echo "$as_me:$LINENO: checking for $ac_func" >&5
30544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30545 if eval "test \"\${$as_ac_var+set}\" = set"; then
30546 echo $ECHO_N "(cached) $ECHO_C" >&6
30548 cat >conftest.
$ac_ext <<_ACEOF
30551 cat confdefs.h
>>conftest.
$ac_ext
30552 cat >>conftest.
$ac_ext <<_ACEOF
30553 /* end confdefs.h. */
30554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30556 #define $ac_func innocuous_$ac_func
30558 /* System header to define __stub macros and hopefully few prototypes,
30559 which can conflict with char $ac_func (); below.
30560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30561 <limits.h> exists even on freestanding compilers. */
30564 # include <limits.h>
30566 # include <assert.h>
30571 /* Override any gcc2 internal prototype to avoid an error. */
30576 /* We use char because int might match the return type of a gcc2
30577 builtin and then its argument prototype would still apply. */
30579 /* The GNU C library defines this for functions which it implements
30580 to always fail with ENOSYS. Some functions are actually named
30581 something starting with __ and the normal name is an alias. */
30582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30585 char (*f) () = $ac_func;
30594 return f != $ac_func;
30599 rm -f conftest.
$ac_objext conftest
$ac_exeext
30600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30601 (eval $ac_link) 2>conftest.er1
30603 grep -v '^ *+' conftest.er1
>conftest.err
30605 cat conftest.err
>&5
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); } &&
30608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30610 (eval $ac_try) 2>&5
30612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30613 (exit $ac_status); }; } &&
30614 { ac_try
='test -s conftest$ac_exeext'
30615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30616 (eval $ac_try) 2>&5
30618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30619 (exit $ac_status); }; }; then
30620 eval "$as_ac_var=yes"
30622 echo "$as_me: failed program was:" >&5
30623 sed 's/^/| /' conftest.
$ac_ext >&5
30625 eval "$as_ac_var=no"
30627 rm -f conftest.err conftest.
$ac_objext \
30628 conftest
$ac_exeext conftest.
$ac_ext
30630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30632 if test `eval echo '${'$as_ac_var'}'` = yes; then
30633 cat >>confdefs.h
<<_ACEOF
30634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30636 cat >>confdefs.h
<<\_ACEOF
30637 #define HAVE_USLEEP 1
30641 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30642 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30660 for ac_func
in uname gethostname
30662 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30663 echo "$as_me:$LINENO: checking for $ac_func" >&5
30664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30665 if eval "test \"\${$as_ac_var+set}\" = set"; then
30666 echo $ECHO_N "(cached) $ECHO_C" >&6
30668 cat >conftest.
$ac_ext <<_ACEOF
30671 cat confdefs.h
>>conftest.
$ac_ext
30672 cat >>conftest.
$ac_ext <<_ACEOF
30673 /* end confdefs.h. */
30674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30676 #define $ac_func innocuous_$ac_func
30678 /* System header to define __stub macros and hopefully few prototypes,
30679 which can conflict with char $ac_func (); below.
30680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30681 <limits.h> exists even on freestanding compilers. */
30684 # include <limits.h>
30686 # include <assert.h>
30691 /* Override any gcc2 internal prototype to avoid an error. */
30696 /* We use char because int might match the return type of a gcc2
30697 builtin and then its argument prototype would still apply. */
30699 /* The GNU C library defines this for functions which it implements
30700 to always fail with ENOSYS. Some functions are actually named
30701 something starting with __ and the normal name is an alias. */
30702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30705 char (*f) () = $ac_func;
30714 return f != $ac_func;
30719 rm -f conftest.
$ac_objext conftest
$ac_exeext
30720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30721 (eval $ac_link) 2>conftest.er1
30723 grep -v '^ *+' conftest.er1
>conftest.err
30725 cat conftest.err
>&5
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 (exit $ac_status); } &&
30728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30730 (eval $ac_try) 2>&5
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); }; } &&
30734 { ac_try
='test -s conftest$ac_exeext'
30735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30736 (eval $ac_try) 2>&5
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); }; }; then
30740 eval "$as_ac_var=yes"
30742 echo "$as_me: failed program was:" >&5
30743 sed 's/^/| /' conftest.
$ac_ext >&5
30745 eval "$as_ac_var=no"
30747 rm -f conftest.err conftest.
$ac_objext \
30748 conftest
$ac_exeext conftest.
$ac_ext
30750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30752 if test `eval echo '${'$as_ac_var'}'` = yes; then
30753 cat >>confdefs.h
<<_ACEOF
30754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30764 ac_cpp
='$CXXCPP $CPPFLAGS'
30765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30771 for ac_func
in strtok_r
30773 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30774 echo "$as_me:$LINENO: checking for $ac_func" >&5
30775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30776 if eval "test \"\${$as_ac_var+set}\" = set"; then
30777 echo $ECHO_N "(cached) $ECHO_C" >&6
30779 cat >conftest.
$ac_ext <<_ACEOF
30782 cat confdefs.h
>>conftest.
$ac_ext
30783 cat >>conftest.
$ac_ext <<_ACEOF
30784 /* end confdefs.h. */
30785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30787 #define $ac_func innocuous_$ac_func
30789 /* System header to define __stub macros and hopefully few prototypes,
30790 which can conflict with char $ac_func (); below.
30791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30792 <limits.h> exists even on freestanding compilers. */
30795 # include <limits.h>
30797 # include <assert.h>
30802 /* Override any gcc2 internal prototype to avoid an error. */
30807 /* We use char because int might match the return type of a gcc2
30808 builtin and then its argument prototype would still apply. */
30810 /* The GNU C library defines this for functions which it implements
30811 to always fail with ENOSYS. Some functions are actually named
30812 something starting with __ and the normal name is an alias. */
30813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30816 char (*f) () = $ac_func;
30825 return f != $ac_func;
30830 rm -f conftest.
$ac_objext conftest
$ac_exeext
30831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30832 (eval $ac_link) 2>conftest.er1
30834 grep -v '^ *+' conftest.er1
>conftest.err
30836 cat conftest.err
>&5
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); } &&
30839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30841 (eval $ac_try) 2>&5
30843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844 (exit $ac_status); }; } &&
30845 { ac_try
='test -s conftest$ac_exeext'
30846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30847 (eval $ac_try) 2>&5
30849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850 (exit $ac_status); }; }; then
30851 eval "$as_ac_var=yes"
30853 echo "$as_me: failed program was:" >&5
30854 sed 's/^/| /' conftest.
$ac_ext >&5
30856 eval "$as_ac_var=no"
30858 rm -f conftest.err conftest.
$ac_objext \
30859 conftest
$ac_exeext conftest.
$ac_ext
30861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30863 if test `eval echo '${'$as_ac_var'}'` = yes; then
30864 cat >>confdefs.h
<<_ACEOF
30865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30873 ac_cpp
='$CPP $CPPFLAGS'
30874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30881 for ac_func
in inet_addr
30883 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30884 echo "$as_me:$LINENO: checking for $ac_func" >&5
30885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30886 if eval "test \"\${$as_ac_var+set}\" = set"; then
30887 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 cat >conftest.
$ac_ext <<_ACEOF
30892 cat confdefs.h
>>conftest.
$ac_ext
30893 cat >>conftest.
$ac_ext <<_ACEOF
30894 /* end confdefs.h. */
30895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30897 #define $ac_func innocuous_$ac_func
30899 /* System header to define __stub macros and hopefully few prototypes,
30900 which can conflict with char $ac_func (); below.
30901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30902 <limits.h> exists even on freestanding compilers. */
30905 # include <limits.h>
30907 # include <assert.h>
30912 /* Override any gcc2 internal prototype to avoid an error. */
30917 /* We use char because int might match the return type of a gcc2
30918 builtin and then its argument prototype would still apply. */
30920 /* The GNU C library defines this for functions which it implements
30921 to always fail with ENOSYS. Some functions are actually named
30922 something starting with __ and the normal name is an alias. */
30923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30926 char (*f) () = $ac_func;
30935 return f != $ac_func;
30940 rm -f conftest.
$ac_objext conftest
$ac_exeext
30941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30942 (eval $ac_link) 2>conftest.er1
30944 grep -v '^ *+' conftest.er1
>conftest.err
30946 cat conftest.err
>&5
30947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948 (exit $ac_status); } &&
30949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30951 (eval $ac_try) 2>&5
30953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30954 (exit $ac_status); }; } &&
30955 { ac_try
='test -s conftest$ac_exeext'
30956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30957 (eval $ac_try) 2>&5
30959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30960 (exit $ac_status); }; }; then
30961 eval "$as_ac_var=yes"
30963 echo "$as_me: failed program was:" >&5
30964 sed 's/^/| /' conftest.
$ac_ext >&5
30966 eval "$as_ac_var=no"
30968 rm -f conftest.err conftest.
$ac_objext \
30969 conftest
$ac_exeext conftest.
$ac_ext
30971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30973 if test `eval echo '${'$as_ac_var'}'` = yes; then
30974 cat >>confdefs.h
<<_ACEOF
30975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30977 cat >>confdefs.h
<<\_ACEOF
30978 #define HAVE_INET_ADDR 1
30983 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30984 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30985 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30986 echo $ECHO_N "(cached) $ECHO_C" >&6
30988 ac_check_lib_save_LIBS
=$LIBS
30990 cat >conftest.
$ac_ext <<_ACEOF
30993 cat confdefs.h
>>conftest.
$ac_ext
30994 cat >>conftest.
$ac_ext <<_ACEOF
30995 /* end confdefs.h. */
30997 /* Override any gcc2 internal prototype to avoid an error. */
31001 /* We use char because int might match the return type of a gcc2
31002 builtin and then its argument prototype would still apply. */
31012 rm -f conftest.
$ac_objext conftest
$ac_exeext
31013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31014 (eval $ac_link) 2>conftest.er1
31016 grep -v '^ *+' conftest.er1
>conftest.err
31018 cat conftest.err
>&5
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); } &&
31021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31023 (eval $ac_try) 2>&5
31025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31026 (exit $ac_status); }; } &&
31027 { ac_try
='test -s conftest$ac_exeext'
31028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31029 (eval $ac_try) 2>&5
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); }; }; then
31033 ac_cv_lib_nsl_inet_addr
=yes
31035 echo "$as_me: failed program was:" >&5
31036 sed 's/^/| /' conftest.
$ac_ext >&5
31038 ac_cv_lib_nsl_inet_addr
=no
31040 rm -f conftest.err conftest.
$ac_objext \
31041 conftest
$ac_exeext conftest.
$ac_ext
31042 LIBS
=$ac_check_lib_save_LIBS
31044 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31045 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31046 if test $ac_cv_lib_nsl_inet_addr = yes; then
31050 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31051 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31052 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31053 echo $ECHO_N "(cached) $ECHO_C" >&6
31055 ac_check_lib_save_LIBS
=$LIBS
31056 LIBS
="-lresolv $LIBS"
31057 cat >conftest.
$ac_ext <<_ACEOF
31060 cat confdefs.h
>>conftest.
$ac_ext
31061 cat >>conftest.
$ac_ext <<_ACEOF
31062 /* end confdefs.h. */
31064 /* Override any gcc2 internal prototype to avoid an error. */
31068 /* We use char because int might match the return type of a gcc2
31069 builtin and then its argument prototype would still apply. */
31079 rm -f conftest.
$ac_objext conftest
$ac_exeext
31080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31081 (eval $ac_link) 2>conftest.er1
31083 grep -v '^ *+' conftest.er1
>conftest.err
31085 cat conftest.err
>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); } &&
31088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31090 (eval $ac_try) 2>&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); }; } &&
31094 { ac_try
='test -s conftest$ac_exeext'
31095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31096 (eval $ac_try) 2>&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); }; }; then
31100 ac_cv_lib_resolv_inet_addr
=yes
31102 echo "$as_me: failed program was:" >&5
31103 sed 's/^/| /' conftest.
$ac_ext >&5
31105 ac_cv_lib_resolv_inet_addr
=no
31107 rm -f conftest.err conftest.
$ac_objext \
31108 conftest
$ac_exeext conftest.
$ac_ext
31109 LIBS
=$ac_check_lib_save_LIBS
31111 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31112 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31113 if test $ac_cv_lib_resolv_inet_addr = yes; then
31117 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31118 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31119 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31120 echo $ECHO_N "(cached) $ECHO_C" >&6
31122 ac_check_lib_save_LIBS
=$LIBS
31123 LIBS
="-lsocket $LIBS"
31124 cat >conftest.
$ac_ext <<_ACEOF
31127 cat confdefs.h
>>conftest.
$ac_ext
31128 cat >>conftest.
$ac_ext <<_ACEOF
31129 /* end confdefs.h. */
31131 /* Override any gcc2 internal prototype to avoid an error. */
31135 /* We use char because int might match the return type of a gcc2
31136 builtin and then its argument prototype would still apply. */
31146 rm -f conftest.
$ac_objext conftest
$ac_exeext
31147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31148 (eval $ac_link) 2>conftest.er1
31150 grep -v '^ *+' conftest.er1
>conftest.err
31152 cat conftest.err
>&5
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); } &&
31155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31157 (eval $ac_try) 2>&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); }; } &&
31161 { ac_try
='test -s conftest$ac_exeext'
31162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31163 (eval $ac_try) 2>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; }; then
31167 ac_cv_lib_socket_inet_addr
=yes
31169 echo "$as_me: failed program was:" >&5
31170 sed 's/^/| /' conftest.
$ac_ext >&5
31172 ac_cv_lib_socket_inet_addr
=no
31174 rm -f conftest.err conftest.
$ac_objext \
31175 conftest
$ac_exeext conftest.
$ac_ext
31176 LIBS
=$ac_check_lib_save_LIBS
31178 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31179 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31180 if test $ac_cv_lib_socket_inet_addr = yes; then
31200 for ac_func
in inet_aton
31202 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31203 echo "$as_me:$LINENO: checking for $ac_func" >&5
31204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31205 if eval "test \"\${$as_ac_var+set}\" = set"; then
31206 echo $ECHO_N "(cached) $ECHO_C" >&6
31208 cat >conftest.
$ac_ext <<_ACEOF
31211 cat confdefs.h
>>conftest.
$ac_ext
31212 cat >>conftest.
$ac_ext <<_ACEOF
31213 /* end confdefs.h. */
31214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31216 #define $ac_func innocuous_$ac_func
31218 /* System header to define __stub macros and hopefully few prototypes,
31219 which can conflict with char $ac_func (); below.
31220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31221 <limits.h> exists even on freestanding compilers. */
31224 # include <limits.h>
31226 # include <assert.h>
31231 /* Override any gcc2 internal prototype to avoid an error. */
31236 /* We use char because int might match the return type of a gcc2
31237 builtin and then its argument prototype would still apply. */
31239 /* The GNU C library defines this for functions which it implements
31240 to always fail with ENOSYS. Some functions are actually named
31241 something starting with __ and the normal name is an alias. */
31242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31245 char (*f) () = $ac_func;
31254 return f != $ac_func;
31259 rm -f conftest.
$ac_objext conftest
$ac_exeext
31260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31261 (eval $ac_link) 2>conftest.er1
31263 grep -v '^ *+' conftest.er1
>conftest.err
31265 cat conftest.err
>&5
31266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 (exit $ac_status); } &&
31268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31270 (eval $ac_try) 2>&5
31272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273 (exit $ac_status); }; } &&
31274 { ac_try
='test -s conftest$ac_exeext'
31275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31276 (eval $ac_try) 2>&5
31278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31279 (exit $ac_status); }; }; then
31280 eval "$as_ac_var=yes"
31282 echo "$as_me: failed program was:" >&5
31283 sed 's/^/| /' conftest.
$ac_ext >&5
31285 eval "$as_ac_var=no"
31287 rm -f conftest.err conftest.
$ac_objext \
31288 conftest
$ac_exeext conftest.
$ac_ext
31290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31292 if test `eval echo '${'$as_ac_var'}'` = yes; then
31293 cat >>confdefs.h
<<_ACEOF
31294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31296 cat >>confdefs.h
<<\_ACEOF
31297 #define HAVE_INET_ATON 1
31302 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31303 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31304 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31305 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31306 echo $ECHO_N "(cached) $ECHO_C" >&6
31308 ac_check_lib_save_LIBS
=$LIBS
31309 LIBS
="-l$INET_LINK $LIBS"
31310 cat >conftest.
$ac_ext <<_ACEOF
31313 cat confdefs.h
>>conftest.
$ac_ext
31314 cat >>conftest.
$ac_ext <<_ACEOF
31315 /* end confdefs.h. */
31317 /* Override any gcc2 internal prototype to avoid an error. */
31321 /* We use char because int might match the return type of a gcc2
31322 builtin and then its argument prototype would still apply. */
31332 rm -f conftest.
$ac_objext conftest
$ac_exeext
31333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31334 (eval $ac_link) 2>conftest.er1
31336 grep -v '^ *+' conftest.er1
>conftest.err
31338 cat conftest.err
>&5
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); } &&
31341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31343 (eval $ac_try) 2>&5
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); }; } &&
31347 { ac_try
='test -s conftest$ac_exeext'
31348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31349 (eval $ac_try) 2>&5
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); }; }; then
31353 eval "$as_ac_Lib=yes"
31355 echo "$as_me: failed program was:" >&5
31356 sed 's/^/| /' conftest.
$ac_ext >&5
31358 eval "$as_ac_Lib=no"
31360 rm -f conftest.err conftest.
$ac_objext \
31361 conftest
$ac_exeext conftest.
$ac_ext
31362 LIBS
=$ac_check_lib_save_LIBS
31364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31365 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31366 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31367 cat >>confdefs.h
<<\_ACEOF
31368 #define HAVE_INET_ATON 1
31378 if test "x$INET_LINK" != "x"; then
31379 cat >>confdefs.h
<<\_ACEOF
31380 #define HAVE_INET_ADDR 1
31383 INET_LINK
=" -l$INET_LINK"
31391 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31392 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31393 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31394 echo $ECHO_N "(cached) $ECHO_C" >&6
31396 ac_check_lib_save_LIBS
=$LIBS
31398 cat >conftest.
$ac_ext <<_ACEOF
31401 cat confdefs.h
>>conftest.
$ac_ext
31402 cat >>conftest.
$ac_ext <<_ACEOF
31403 /* end confdefs.h. */
31405 /* Override any gcc2 internal prototype to avoid an error. */
31409 /* We use char because int might match the return type of a gcc2
31410 builtin and then its argument prototype would still apply. */
31420 rm -f conftest.
$ac_objext conftest
$ac_exeext
31421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31422 (eval $ac_link) 2>conftest.er1
31424 grep -v '^ *+' conftest.er1
>conftest.err
31426 cat conftest.err
>&5
31427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428 (exit $ac_status); } &&
31429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31431 (eval $ac_try) 2>&5
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); }; } &&
31435 { ac_try
='test -s conftest$ac_exeext'
31436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31437 (eval $ac_try) 2>&5
31439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31440 (exit $ac_status); }; }; then
31441 ac_cv_lib_esd_esd_close
=yes
31443 echo "$as_me: failed program was:" >&5
31444 sed 's/^/| /' conftest.
$ac_ext >&5
31446 ac_cv_lib_esd_esd_close
=no
31448 rm -f conftest.err conftest.
$ac_objext \
31449 conftest
$ac_exeext conftest.
$ac_ext
31450 LIBS
=$ac_check_lib_save_LIBS
31452 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31453 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31454 if test $ac_cv_lib_esd_esd_close = yes; then
31457 for ac_header
in esd.h
31459 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31461 echo "$as_me:$LINENO: checking for $ac_header" >&5
31462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31464 echo $ECHO_N "(cached) $ECHO_C" >&6
31466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31469 # Is the header compilable?
31470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31472 cat >conftest.
$ac_ext <<_ACEOF
31475 cat confdefs.h
>>conftest.
$ac_ext
31476 cat >>conftest.
$ac_ext <<_ACEOF
31477 /* end confdefs.h. */
31478 $ac_includes_default
31479 #include <$ac_header>
31481 rm -f conftest.
$ac_objext
31482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31483 (eval $ac_compile) 2>conftest.er1
31485 grep -v '^ *+' conftest.er1
>conftest.err
31487 cat conftest.err
>&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); } &&
31490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31492 (eval $ac_try) 2>&5
31494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31495 (exit $ac_status); }; } &&
31496 { ac_try
='test -s conftest.$ac_objext'
31497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31498 (eval $ac_try) 2>&5
31500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501 (exit $ac_status); }; }; then
31502 ac_header_compiler
=yes
31504 echo "$as_me: failed program was:" >&5
31505 sed 's/^/| /' conftest.
$ac_ext >&5
31507 ac_header_compiler
=no
31509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31511 echo "${ECHO_T}$ac_header_compiler" >&6
31513 # Is the header present?
31514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31516 cat >conftest.
$ac_ext <<_ACEOF
31519 cat confdefs.h
>>conftest.
$ac_ext
31520 cat >>conftest.
$ac_ext <<_ACEOF
31521 /* end confdefs.h. */
31522 #include <$ac_header>
31524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31525 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31527 grep -v '^ *+' conftest.er1
>conftest.err
31529 cat conftest.err
>&5
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); } >/dev
/null
; then
31532 if test -s conftest.err
; then
31533 ac_cpp_err
=$ac_c_preproc_warn_flag
31534 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31541 if test -z "$ac_cpp_err"; then
31542 ac_header_preproc
=yes
31544 echo "$as_me: failed program was:" >&5
31545 sed 's/^/| /' conftest.
$ac_ext >&5
31547 ac_header_preproc
=no
31549 rm -f conftest.err conftest.
$ac_ext
31550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31551 echo "${ECHO_T}$ac_header_preproc" >&6
31553 # So? What about this header?
31554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31559 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31560 ac_header_preproc
=yes
31563 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31564 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31565 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31566 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31567 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31568 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31569 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31570 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31573 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31574 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31577 ## ----------------------------------------- ##
31578 ## Report this to wx-dev@lists.wxwidgets.org ##
31579 ## ----------------------------------------- ##
31582 sed "s/^/$as_me: WARNING: /" >&2
31585 echo "$as_me:$LINENO: checking for $ac_header" >&5
31586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31588 echo $ECHO_N "(cached) $ECHO_C" >&6
31590 eval "$as_ac_Header=\$ac_header_preproc"
31592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31597 cat >>confdefs.h
<<_ACEOF
31598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31601 EXTRALIBS_ESD
="-lesd"
31612 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31613 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31614 cat >conftest.
$ac_ext <<_ACEOF
31617 cat confdefs.h
>>conftest.
$ac_ext
31618 cat >>conftest.
$ac_ext <<_ACEOF
31619 /* end confdefs.h. */
31621 #include <linux/cdrom.h>
31624 #include <sys/cdio.h>
31630 struct cdrom_tocentry entry, old_entry;
31635 rm -f conftest.
$ac_objext
31636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31637 (eval $ac_compile) 2>conftest.er1
31639 grep -v '^ *+' conftest.er1
>conftest.err
31641 cat conftest.err
>&5
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); } &&
31644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646 (eval $ac_try) 2>&5
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); }; } &&
31650 { ac_try
='test -s conftest.$ac_objext'
31651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31652 (eval $ac_try) 2>&5
31654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655 (exit $ac_status); }; }; then
31656 echo "$as_me:$LINENO: result: yes" >&5
31657 echo "${ECHO_T}yes" >&6
31658 cat >>confdefs.h
<<\_ACEOF
31659 #define HAVE_KNOWN_CDROM_INTERFACE 1
31663 echo "$as_me: failed program was:" >&5
31664 sed 's/^/| /' conftest.
$ac_ext >&5
31666 echo "$as_me:$LINENO: result: no" >&5
31667 echo "${ECHO_T}no" >&6
31669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31672 cat >confcache
<<\_ACEOF
31673 # This file is a shell script that caches the results of configure
31674 # tests run on this system so they can be shared between configure
31675 # scripts and configure runs, see configure's option --config-cache.
31676 # It is not useful on other systems. If it contains results you don't
31677 # want to keep, you may remove or edit it.
31679 # config.status only pays attention to the cache file if you give it
31680 # the --recheck option to rerun configure.
31682 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31683 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31684 # following values.
31688 # The following way of writing the cache mishandles newlines in values,
31689 # but we know of no workaround that is simple, portable, and efficient.
31690 # So, don't put newlines in cache variables' values.
31691 # Ultrix sh set writes to stderr and can't be redirected directly,
31692 # and sets the high bit in the cache file unless we assign to the vars.
31695 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31697 # `set' does not quote correctly, so add quotes (double-quote
31698 # substitution turns \\\\ into \\, and sed turns \\ into \).
31701 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31704 # `set' quotes correctly as required by POSIX, so do not add quotes.
31706 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31713 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31715 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31717 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31718 if test -w $cache_file; then
31719 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31720 cat confcache
>$cache_file
31722 echo "not updating unwritable cache $cache_file"
31729 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31735 if test "$wxUSE_THREADS" = "yes" ; then
31736 if test "$USE_BEOS" = 1; then
31737 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31738 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31743 if test "$wxUSE_THREADS" = "yes" ; then
31746 THREAD_OPTS
="-pthread"
31748 *-*-solaris2* | *-*-sunos4* )
31749 if test "x$GCC" = "xyes"; then
31750 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31752 THREAD_OPTS
="-mt $THREAD_OPTS"
31756 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31758 *-*-darwin* | *-*-cygwin* )
31762 THREAD_OPTS
="pthreads"
31765 if test "x$GCC" != "xyes"; then
31771 if test "x$GCC" = "xyes"; then
31777 if test "x$GCC" != "xyes"; then
31778 THREAD_OPTS
="-Ethread"
31783 THREAD_OPTS
="$THREAD_OPTS pthread none"
31786 for flag
in $THREAD_OPTS; do
31789 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31790 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31794 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31795 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31796 THREADS_CFLAGS
="$flag"
31800 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31801 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31802 THREADS_LINK
="-l$flag"
31807 save_CFLAGS
="$CFLAGS"
31808 LIBS
="$THREADS_LINK $LIBS"
31809 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31811 cat >conftest.
$ac_ext <<_ACEOF
31814 cat confdefs.h
>>conftest.
$ac_ext
31815 cat >>conftest.
$ac_ext <<_ACEOF
31816 /* end confdefs.h. */
31817 #include <pthread.h>
31821 pthread_create(0,0,0,0);
31826 rm -f conftest.
$ac_objext conftest
$ac_exeext
31827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31828 (eval $ac_link) 2>conftest.er1
31830 grep -v '^ *+' conftest.er1
>conftest.err
31832 cat conftest.err
>&5
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); } &&
31835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31837 (eval $ac_try) 2>&5
31839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31840 (exit $ac_status); }; } &&
31841 { ac_try
='test -s conftest$ac_exeext'
31842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31843 (eval $ac_try) 2>&5
31845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31846 (exit $ac_status); }; }; then
31849 echo "$as_me: failed program was:" >&5
31850 sed 's/^/| /' conftest.
$ac_ext >&5
31853 rm -f conftest.err conftest.
$ac_objext \
31854 conftest
$ac_exeext conftest.
$ac_ext
31857 CFLAGS
="$save_CFLAGS"
31859 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31860 echo "${ECHO_T}$THREADS_OK" >&6
31861 if test "x$THREADS_OK" = "xyes"; then
31869 if test "x$THREADS_OK" != "xyes"; then
31871 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31872 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31874 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31875 LIBS
="$THREADS_LINK $LIBS"
31877 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31878 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31882 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31883 flag
="-D_THREAD_SAFE"
31886 flag
="-D_THREAD_SAFE"
31889 flag
="-D_REENTRANT"
31890 if test "x$GCC" != "xyes"; then
31891 flag
="$flag -D_RWSTD_MULTI_THREAD"
31896 *solaris
* | alpha
*-osf*)
31897 flag
="-D_REENTRANT"
31900 echo "$as_me:$LINENO: result: ${flag}" >&5
31901 echo "${ECHO_T}${flag}" >&6
31902 if test "x$flag" != xno
; then
31903 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31906 if test "x$THREADS_CFLAGS" != "x"; then
31907 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31908 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31913 if test "$wxUSE_THREADS" = "yes" ; then
31915 for ac_func
in thr_setconcurrency
31917 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31918 echo "$as_me:$LINENO: checking for $ac_func" >&5
31919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31920 if eval "test \"\${$as_ac_var+set}\" = set"; then
31921 echo $ECHO_N "(cached) $ECHO_C" >&6
31923 cat >conftest.
$ac_ext <<_ACEOF
31926 cat confdefs.h
>>conftest.
$ac_ext
31927 cat >>conftest.
$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31931 #define $ac_func innocuous_$ac_func
31933 /* System header to define __stub macros and hopefully few prototypes,
31934 which can conflict with char $ac_func (); below.
31935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31936 <limits.h> exists even on freestanding compilers. */
31939 # include <limits.h>
31941 # include <assert.h>
31946 /* Override any gcc2 internal prototype to avoid an error. */
31951 /* We use char because int might match the return type of a gcc2
31952 builtin and then its argument prototype would still apply. */
31954 /* The GNU C library defines this for functions which it implements
31955 to always fail with ENOSYS. Some functions are actually named
31956 something starting with __ and the normal name is an alias. */
31957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31960 char (*f) () = $ac_func;
31969 return f != $ac_func;
31974 rm -f conftest.
$ac_objext conftest
$ac_exeext
31975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31976 (eval $ac_link) 2>conftest.er1
31978 grep -v '^ *+' conftest.er1
>conftest.err
31980 cat conftest.err
>&5
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); } &&
31983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31985 (eval $ac_try) 2>&5
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); }; } &&
31989 { ac_try
='test -s conftest$ac_exeext'
31990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31991 (eval $ac_try) 2>&5
31993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31994 (exit $ac_status); }; }; then
31995 eval "$as_ac_var=yes"
31997 echo "$as_me: failed program was:" >&5
31998 sed 's/^/| /' conftest.
$ac_ext >&5
32000 eval "$as_ac_var=no"
32002 rm -f conftest.err conftest.
$ac_objext \
32003 conftest
$ac_exeext conftest.
$ac_ext
32005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32007 if test `eval echo '${'$as_ac_var'}'` = yes; then
32008 cat >>confdefs.h
<<_ACEOF
32009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32017 for ac_header
in sched.h
32019 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32021 echo "$as_me:$LINENO: checking for $ac_header" >&5
32022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32024 echo $ECHO_N "(cached) $ECHO_C" >&6
32026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32029 # Is the header compilable?
32030 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32031 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32032 cat >conftest.
$ac_ext <<_ACEOF
32035 cat confdefs.h
>>conftest.
$ac_ext
32036 cat >>conftest.
$ac_ext <<_ACEOF
32037 /* end confdefs.h. */
32038 $ac_includes_default
32039 #include <$ac_header>
32041 rm -f conftest.
$ac_objext
32042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32043 (eval $ac_compile) 2>conftest.er1
32045 grep -v '^ *+' conftest.er1
>conftest.err
32047 cat conftest.err
>&5
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); } &&
32050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32052 (eval $ac_try) 2>&5
32054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32055 (exit $ac_status); }; } &&
32056 { ac_try
='test -s conftest.$ac_objext'
32057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32058 (eval $ac_try) 2>&5
32060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32061 (exit $ac_status); }; }; then
32062 ac_header_compiler
=yes
32064 echo "$as_me: failed program was:" >&5
32065 sed 's/^/| /' conftest.
$ac_ext >&5
32067 ac_header_compiler
=no
32069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32071 echo "${ECHO_T}$ac_header_compiler" >&6
32073 # Is the header present?
32074 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32075 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32076 cat >conftest.
$ac_ext <<_ACEOF
32079 cat confdefs.h
>>conftest.
$ac_ext
32080 cat >>conftest.
$ac_ext <<_ACEOF
32081 /* end confdefs.h. */
32082 #include <$ac_header>
32084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32085 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32087 grep -v '^ *+' conftest.er1
>conftest.err
32089 cat conftest.err
>&5
32090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32091 (exit $ac_status); } >/dev
/null
; then
32092 if test -s conftest.err
; then
32093 ac_cpp_err
=$ac_c_preproc_warn_flag
32094 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32101 if test -z "$ac_cpp_err"; then
32102 ac_header_preproc
=yes
32104 echo "$as_me: failed program was:" >&5
32105 sed 's/^/| /' conftest.
$ac_ext >&5
32107 ac_header_preproc
=no
32109 rm -f conftest.err conftest.
$ac_ext
32110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32111 echo "${ECHO_T}$ac_header_preproc" >&6
32113 # So? What about this header?
32114 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32116 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32117 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32119 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32120 ac_header_preproc
=yes
32123 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32124 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32125 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32126 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32127 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32128 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32129 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32130 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32132 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32133 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32134 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32137 ## ----------------------------------------- ##
32138 ## Report this to wx-dev@lists.wxwidgets.org ##
32139 ## ----------------------------------------- ##
32142 sed "s/^/$as_me: WARNING: /" >&2
32145 echo "$as_me:$LINENO: checking for $ac_header" >&5
32146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32148 echo $ECHO_N "(cached) $ECHO_C" >&6
32150 eval "$as_ac_Header=\$ac_header_preproc"
32152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32157 cat >>confdefs.h
<<_ACEOF
32158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32165 if test "$ac_cv_header_sched_h" = "yes"; then
32166 echo "$as_me:$LINENO: checking for sched_yield" >&5
32167 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32168 if test "${ac_cv_func_sched_yield+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32171 cat >conftest.
$ac_ext <<_ACEOF
32174 cat confdefs.h
>>conftest.
$ac_ext
32175 cat >>conftest.
$ac_ext <<_ACEOF
32176 /* end confdefs.h. */
32177 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32179 #define sched_yield innocuous_sched_yield
32181 /* System header to define __stub macros and hopefully few prototypes,
32182 which can conflict with char sched_yield (); below.
32183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32184 <limits.h> exists even on freestanding compilers. */
32187 # include <limits.h>
32189 # include <assert.h>
32194 /* Override any gcc2 internal prototype to avoid an error. */
32199 /* We use char because int might match the return type of a gcc2
32200 builtin and then its argument prototype would still apply. */
32201 char sched_yield ();
32202 /* The GNU C library defines this for functions which it implements
32203 to always fail with ENOSYS. Some functions are actually named
32204 something starting with __ and the normal name is an alias. */
32205 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32208 char (*f) () = sched_yield;
32217 return f != sched_yield;
32222 rm -f conftest.
$ac_objext conftest
$ac_exeext
32223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32224 (eval $ac_link) 2>conftest.er1
32226 grep -v '^ *+' conftest.er1
>conftest.err
32228 cat conftest.err
>&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); } &&
32231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32233 (eval $ac_try) 2>&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); }; } &&
32237 { ac_try
='test -s conftest$ac_exeext'
32238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32239 (eval $ac_try) 2>&5
32241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242 (exit $ac_status); }; }; then
32243 ac_cv_func_sched_yield
=yes
32245 echo "$as_me: failed program was:" >&5
32246 sed 's/^/| /' conftest.
$ac_ext >&5
32248 ac_cv_func_sched_yield
=no
32250 rm -f conftest.err conftest.
$ac_objext \
32251 conftest
$ac_exeext conftest.
$ac_ext
32253 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32254 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32255 if test $ac_cv_func_sched_yield = yes; then
32256 cat >>confdefs.h
<<\_ACEOF
32257 #define HAVE_SCHED_YIELD 1
32262 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32263 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32264 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32265 echo $ECHO_N "(cached) $ECHO_C" >&6
32267 ac_check_lib_save_LIBS
=$LIBS
32268 LIBS
="-lposix4 $LIBS"
32269 cat >conftest.
$ac_ext <<_ACEOF
32272 cat confdefs.h
>>conftest.
$ac_ext
32273 cat >>conftest.
$ac_ext <<_ACEOF
32274 /* end confdefs.h. */
32276 /* Override any gcc2 internal prototype to avoid an error. */
32280 /* We use char because int might match the return type of a gcc2
32281 builtin and then its argument prototype would still apply. */
32282 char sched_yield ();
32291 rm -f conftest.
$ac_objext conftest
$ac_exeext
32292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32293 (eval $ac_link) 2>conftest.er1
32295 grep -v '^ *+' conftest.er1
>conftest.err
32297 cat conftest.err
>&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); } &&
32300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32302 (eval $ac_try) 2>&5
32304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32305 (exit $ac_status); }; } &&
32306 { ac_try
='test -s conftest$ac_exeext'
32307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32308 (eval $ac_try) 2>&5
32310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32311 (exit $ac_status); }; }; then
32312 ac_cv_lib_posix4_sched_yield
=yes
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.
$ac_ext >&5
32317 ac_cv_lib_posix4_sched_yield
=no
32319 rm -f conftest.err conftest.
$ac_objext \
32320 conftest
$ac_exeext conftest.
$ac_ext
32321 LIBS
=$ac_check_lib_save_LIBS
32323 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32324 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32325 if test $ac_cv_lib_posix4_sched_yield = yes; then
32326 cat >>confdefs.h
<<\_ACEOF
32327 #define HAVE_SCHED_YIELD 1
32329 POSIX4_LINK
=" -lposix4"
32331 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32332 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32343 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32344 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32345 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32346 echo $ECHO_N "(cached) $ECHO_C" >&6
32348 cat >conftest.
$ac_ext <<_ACEOF
32351 cat confdefs.h
>>conftest.
$ac_ext
32352 cat >>conftest.
$ac_ext <<_ACEOF
32353 /* end confdefs.h. */
32354 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32356 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32358 /* System header to define __stub macros and hopefully few prototypes,
32359 which can conflict with char pthread_attr_getschedpolicy (); below.
32360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32361 <limits.h> exists even on freestanding compilers. */
32364 # include <limits.h>
32366 # include <assert.h>
32369 #undef pthread_attr_getschedpolicy
32371 /* Override any gcc2 internal prototype to avoid an error. */
32376 /* We use char because int might match the return type of a gcc2
32377 builtin and then its argument prototype would still apply. */
32378 char pthread_attr_getschedpolicy ();
32379 /* The GNU C library defines this for functions which it implements
32380 to always fail with ENOSYS. Some functions are actually named
32381 something starting with __ and the normal name is an alias. */
32382 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32385 char (*f) () = pthread_attr_getschedpolicy;
32394 return f != pthread_attr_getschedpolicy;
32399 rm -f conftest.
$ac_objext conftest
$ac_exeext
32400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32401 (eval $ac_link) 2>conftest.er1
32403 grep -v '^ *+' conftest.er1
>conftest.err
32405 cat conftest.err
>&5
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); } &&
32408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32410 (eval $ac_try) 2>&5
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); }; } &&
32414 { ac_try
='test -s conftest$ac_exeext'
32415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32416 (eval $ac_try) 2>&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); }; }; then
32420 ac_cv_func_pthread_attr_getschedpolicy
=yes
32422 echo "$as_me: failed program was:" >&5
32423 sed 's/^/| /' conftest.
$ac_ext >&5
32425 ac_cv_func_pthread_attr_getschedpolicy
=no
32427 rm -f conftest.err conftest.
$ac_objext \
32428 conftest
$ac_exeext conftest.
$ac_ext
32430 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32431 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32432 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32433 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32434 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32435 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32438 cat >conftest.
$ac_ext <<_ACEOF
32441 cat confdefs.h
>>conftest.
$ac_ext
32442 cat >>conftest.
$ac_ext <<_ACEOF
32443 /* end confdefs.h. */
32444 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32446 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32448 /* System header to define __stub macros and hopefully few prototypes,
32449 which can conflict with char pthread_attr_setschedparam (); below.
32450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32451 <limits.h> exists even on freestanding compilers. */
32454 # include <limits.h>
32456 # include <assert.h>
32459 #undef pthread_attr_setschedparam
32461 /* Override any gcc2 internal prototype to avoid an error. */
32466 /* We use char because int might match the return type of a gcc2
32467 builtin and then its argument prototype would still apply. */
32468 char pthread_attr_setschedparam ();
32469 /* The GNU C library defines this for functions which it implements
32470 to always fail with ENOSYS. Some functions are actually named
32471 something starting with __ and the normal name is an alias. */
32472 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32475 char (*f) () = pthread_attr_setschedparam;
32484 return f != pthread_attr_setschedparam;
32489 rm -f conftest.
$ac_objext conftest
$ac_exeext
32490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32491 (eval $ac_link) 2>conftest.er1
32493 grep -v '^ *+' conftest.er1
>conftest.err
32495 cat conftest.err
>&5
32496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32497 (exit $ac_status); } &&
32498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32500 (eval $ac_try) 2>&5
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); }; } &&
32504 { ac_try
='test -s conftest$ac_exeext'
32505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32506 (eval $ac_try) 2>&5
32508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32509 (exit $ac_status); }; }; then
32510 ac_cv_func_pthread_attr_setschedparam
=yes
32512 echo "$as_me: failed program was:" >&5
32513 sed 's/^/| /' conftest.
$ac_ext >&5
32515 ac_cv_func_pthread_attr_setschedparam
=no
32517 rm -f conftest.err conftest.
$ac_objext \
32518 conftest
$ac_exeext conftest.
$ac_ext
32520 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32521 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32522 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32523 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32524 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32525 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32526 echo $ECHO_N "(cached) $ECHO_C" >&6
32528 cat >conftest.
$ac_ext <<_ACEOF
32531 cat confdefs.h
>>conftest.
$ac_ext
32532 cat >>conftest.
$ac_ext <<_ACEOF
32533 /* end confdefs.h. */
32534 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32536 #define sched_get_priority_max innocuous_sched_get_priority_max
32538 /* System header to define __stub macros and hopefully few prototypes,
32539 which can conflict with char sched_get_priority_max (); below.
32540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32541 <limits.h> exists even on freestanding compilers. */
32544 # include <limits.h>
32546 # include <assert.h>
32549 #undef sched_get_priority_max
32551 /* Override any gcc2 internal prototype to avoid an error. */
32556 /* We use char because int might match the return type of a gcc2
32557 builtin and then its argument prototype would still apply. */
32558 char sched_get_priority_max ();
32559 /* The GNU C library defines this for functions which it implements
32560 to always fail with ENOSYS. Some functions are actually named
32561 something starting with __ and the normal name is an alias. */
32562 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32565 char (*f) () = sched_get_priority_max;
32574 return f != sched_get_priority_max;
32579 rm -f conftest.
$ac_objext conftest
$ac_exeext
32580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32581 (eval $ac_link) 2>conftest.er1
32583 grep -v '^ *+' conftest.er1
>conftest.err
32585 cat conftest.err
>&5
32586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32587 (exit $ac_status); } &&
32588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32590 (eval $ac_try) 2>&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); }; } &&
32594 { ac_try
='test -s conftest$ac_exeext'
32595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32596 (eval $ac_try) 2>&5
32598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599 (exit $ac_status); }; }; then
32600 ac_cv_func_sched_get_priority_max
=yes
32602 echo "$as_me: failed program was:" >&5
32603 sed 's/^/| /' conftest.
$ac_ext >&5
32605 ac_cv_func_sched_get_priority_max
=no
32607 rm -f conftest.err conftest.
$ac_objext \
32608 conftest
$ac_exeext conftest.
$ac_ext
32610 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32611 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32612 if test $ac_cv_func_sched_get_priority_max = yes; then
32615 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32616 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32617 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32618 echo $ECHO_N "(cached) $ECHO_C" >&6
32620 ac_check_lib_save_LIBS
=$LIBS
32621 LIBS
="-lposix4 $LIBS"
32622 cat >conftest.
$ac_ext <<_ACEOF
32625 cat confdefs.h
>>conftest.
$ac_ext
32626 cat >>conftest.
$ac_ext <<_ACEOF
32627 /* end confdefs.h. */
32629 /* Override any gcc2 internal prototype to avoid an error. */
32633 /* We use char because int might match the return type of a gcc2
32634 builtin and then its argument prototype would still apply. */
32635 char sched_get_priority_max ();
32639 sched_get_priority_max ();
32644 rm -f conftest.
$ac_objext conftest
$ac_exeext
32645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32646 (eval $ac_link) 2>conftest.er1
32648 grep -v '^ *+' conftest.er1
>conftest.err
32650 cat conftest.err
>&5
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); } &&
32653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32655 (eval $ac_try) 2>&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); }; } &&
32659 { ac_try
='test -s conftest$ac_exeext'
32660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32661 (eval $ac_try) 2>&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); }; }; then
32665 ac_cv_lib_posix4_sched_get_priority_max
=yes
32667 echo "$as_me: failed program was:" >&5
32668 sed 's/^/| /' conftest.
$ac_ext >&5
32670 ac_cv_lib_posix4_sched_get_priority_max
=no
32672 rm -f conftest.err conftest.
$ac_objext \
32673 conftest
$ac_exeext conftest.
$ac_ext
32674 LIBS
=$ac_check_lib_save_LIBS
32676 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32677 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32678 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32681 POSIX4_LINK
=" -lposix4"
32695 if test "$HAVE_PRIOR_FUNCS" = 1; then
32696 cat >>confdefs.h
<<\_ACEOF
32697 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32701 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32702 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32705 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32706 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32707 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32708 echo $ECHO_N "(cached) $ECHO_C" >&6
32710 cat >conftest.
$ac_ext <<_ACEOF
32713 cat confdefs.h
>>conftest.
$ac_ext
32714 cat >>conftest.
$ac_ext <<_ACEOF
32715 /* end confdefs.h. */
32716 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32718 #define pthread_cancel innocuous_pthread_cancel
32720 /* System header to define __stub macros and hopefully few prototypes,
32721 which can conflict with char pthread_cancel (); below.
32722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32723 <limits.h> exists even on freestanding compilers. */
32726 # include <limits.h>
32728 # include <assert.h>
32731 #undef pthread_cancel
32733 /* Override any gcc2 internal prototype to avoid an error. */
32738 /* We use char because int might match the return type of a gcc2
32739 builtin and then its argument prototype would still apply. */
32740 char pthread_cancel ();
32741 /* The GNU C library defines this for functions which it implements
32742 to always fail with ENOSYS. Some functions are actually named
32743 something starting with __ and the normal name is an alias. */
32744 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32747 char (*f) () = pthread_cancel;
32756 return f != pthread_cancel;
32761 rm -f conftest.
$ac_objext conftest
$ac_exeext
32762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32763 (eval $ac_link) 2>conftest.er1
32765 grep -v '^ *+' conftest.er1
>conftest.err
32767 cat conftest.err
>&5
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); } &&
32770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32772 (eval $ac_try) 2>&5
32774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32775 (exit $ac_status); }; } &&
32776 { ac_try
='test -s conftest$ac_exeext'
32777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32778 (eval $ac_try) 2>&5
32780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32781 (exit $ac_status); }; }; then
32782 ac_cv_func_pthread_cancel
=yes
32784 echo "$as_me: failed program was:" >&5
32785 sed 's/^/| /' conftest.
$ac_ext >&5
32787 ac_cv_func_pthread_cancel
=no
32789 rm -f conftest.err conftest.
$ac_objext \
32790 conftest
$ac_exeext conftest.
$ac_ext
32792 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32793 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32794 if test $ac_cv_func_pthread_cancel = yes; then
32795 cat >>confdefs.h
<<\_ACEOF
32796 #define HAVE_PTHREAD_CANCEL 1
32800 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32801 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32807 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32808 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32809 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32810 echo $ECHO_N "(cached) $ECHO_C" >&6
32813 cat >conftest.
$ac_ext <<_ACEOF
32816 cat confdefs.h
>>conftest.
$ac_ext
32817 cat >>conftest.
$ac_ext <<_ACEOF
32818 /* end confdefs.h. */
32819 #include <pthread.h>
32824 pthread_mutexattr_t attr;
32825 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32831 rm -f conftest.
$ac_objext
32832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32833 (eval $ac_compile) 2>conftest.er1
32835 grep -v '^ *+' conftest.er1
>conftest.err
32837 cat conftest.err
>&5
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); } &&
32840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842 (eval $ac_try) 2>&5
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); }; } &&
32846 { ac_try
='test -s conftest.$ac_objext'
32847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32848 (eval $ac_try) 2>&5
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); }; }; then
32853 wx_cv_type_pthread_mutexattr_t
=yes
32856 echo "$as_me: failed program was:" >&5
32857 sed 's/^/| /' conftest.
$ac_ext >&5
32860 wx_cv_type_pthread_mutexattr_t
=no
32864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32867 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32868 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32870 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32871 cat >>confdefs.h
<<\_ACEOF
32872 #define HAVE_PTHREAD_MUTEXATTR_T 1
32876 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32877 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32878 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32879 echo $ECHO_N "(cached) $ECHO_C" >&6
32882 cat >conftest.
$ac_ext <<_ACEOF
32885 cat confdefs.h
>>conftest.
$ac_ext
32886 cat >>conftest.
$ac_ext <<_ACEOF
32887 /* end confdefs.h. */
32888 #include <pthread.h>
32893 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32899 rm -f conftest.
$ac_objext
32900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32901 (eval $ac_compile) 2>conftest.er1
32903 grep -v '^ *+' conftest.er1
>conftest.err
32905 cat conftest.err
>&5
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); } &&
32908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32910 (eval $ac_try) 2>&5
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); }; } &&
32914 { ac_try
='test -s conftest.$ac_objext'
32915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32916 (eval $ac_try) 2>&5
32918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 (exit $ac_status); }; }; then
32921 wx_cv_type_pthread_rec_mutex_init
=yes
32924 echo "$as_me: failed program was:" >&5
32925 sed 's/^/| /' conftest.
$ac_ext >&5
32928 wx_cv_type_pthread_rec_mutex_init
=no
32932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32935 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32936 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32937 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32938 cat >>confdefs.h
<<\_ACEOF
32939 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32943 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32944 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32950 if test "$wxUSE_THREADS" = "yes" ; then
32953 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32954 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32955 if test "${wx_cv_cflags_mthread+set}" = set; then
32956 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 CFLAGS_OLD
="$CFLAGS"
32960 CFLAGS
="$CFLAGS -mthreads"
32961 cat >conftest.
$ac_ext <<_ACEOF
32964 cat confdefs.h
>>conftest.
$ac_ext
32965 cat >>conftest.
$ac_ext <<_ACEOF
32966 /* end confdefs.h. */
32976 rm -f conftest.
$ac_objext
32977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32978 (eval $ac_compile) 2>conftest.er1
32980 grep -v '^ *+' conftest.er1
>conftest.err
32982 cat conftest.err
>&5
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); } &&
32985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } &&
32991 { ac_try
='test -s conftest.$ac_objext'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; }; then
32997 wx_cv_cflags_mthread
=yes
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.
$ac_ext >&5
33002 wx_cv_cflags_mthread
=no
33005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33009 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33010 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33012 if test "$wx_cv_cflags_mthread" = "yes"; then
33013 CXXFLAGS
="$CXXFLAGS -mthreads"
33014 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33015 LDFLAGS
="$LDFLAGS -mthreads"
33017 CFLAGS
="$CFLAGS_OLD"
33021 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33022 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33023 LDFLAGS
="$LDFLAGS -Zmt"
33029 if test "$wxUSE_THREADS" = "yes"; then
33030 cat >>confdefs.h
<<\_ACEOF
33031 #define wxUSE_THREADS 1
33035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33037 if test "$ac_cv_func_strtok_r" = "yes"; then
33038 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33039 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33040 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33041 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33042 echo "$as_me:$LINENO: result: yes" >&5
33043 echo "${ECHO_T}yes" >&6
33045 echo "$as_me:$LINENO: result: no" >&5
33046 echo "${ECHO_T}no" >&6
33051 if test "$WXGTK20" = 1 ; then
33052 cat >>confdefs.h
<<_ACEOF
33053 #define __WXGTK20__ $WXGTK20
33059 if test "$WXGTK12" = 1 ; then
33060 cat >>confdefs.h
<<_ACEOF
33061 #define __WXGTK12__ $WXGTK12
33066 if test "$WXGTK127" = 1 ; then
33067 cat >>confdefs.h
<<_ACEOF
33068 #define __WXGTK127__ $WXGTK127
33073 if test "$WXGPE" = 1 ; then
33074 cat >>confdefs.h
<<_ACEOF
33075 #define __WXGPE__ $WXGPE
33082 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33087 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33088 wxUSE_DEBUG_INFO
=yes
33092 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33093 cat >>confdefs.h
<<\_ACEOF
33097 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33099 if test "$wxUSE_GTK" = 1 ; then
33100 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33104 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33105 cat >>confdefs.h
<<\_ACEOF
33106 #define wxUSE_MEMORY_TRACING 1
33109 cat >>confdefs.h
<<\_ACEOF
33110 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33113 cat >>confdefs.h
<<\_ACEOF
33114 #define wxUSE_DEBUG_NEW_ALWAYS 1
33117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33120 if test "$wxUSE_DMALLOC" = "yes" ; then
33121 DMALLOC_LIBS
="-ldmalloc"
33125 if test "$wxUSE_PROFILE" = "yes" ; then
33130 CODE_GEN_FLAGS_CXX
=
33131 if test "$GCC" = "yes" ; then
33132 if test "$wxUSE_NO_RTTI" = "yes" ; then
33133 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33135 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33136 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33138 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33139 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33144 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33147 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33153 if test "$wxUSE_OPTIMISE" = "no" ; then
33154 if test "$GCC" = yes ; then
33158 if test "$GCC" = yes ; then
33162 i586
-*-*|i686
-*-* )
33163 OPTIMISE
="${OPTIMISE} "
33172 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33173 cat >>confdefs.h
<<\_ACEOF
33174 #define WXWIN_COMPATIBILITY_2_2 1
33178 WXWIN_COMPATIBILITY_2_4
="yes"
33181 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33182 cat >>confdefs.h
<<\_ACEOF
33183 #define WXWIN_COMPATIBILITY_2_4 1
33189 if test "$wxUSE_GUI" = "yes"; then
33190 cat >>confdefs.h
<<\_ACEOF
33191 #define wxUSE_GUI 1
33196 cat >>confdefs.h
<<\_ACEOF
33197 #define wxUSE_NOGUI 1
33203 if test "$wxUSE_UNIX" = "yes"; then
33204 cat >>confdefs.h
<<\_ACEOF
33205 #define wxUSE_UNIX 1
33211 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33215 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33216 if test "$USE_DARWIN" = 1; then
33220 for ac_func
in dlopen
33222 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33223 echo "$as_me:$LINENO: checking for $ac_func" >&5
33224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33225 if eval "test \"\${$as_ac_var+set}\" = set"; then
33226 echo $ECHO_N "(cached) $ECHO_C" >&6
33228 cat >conftest.
$ac_ext <<_ACEOF
33231 cat confdefs.h
>>conftest.
$ac_ext
33232 cat >>conftest.
$ac_ext <<_ACEOF
33233 /* end confdefs.h. */
33234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33236 #define $ac_func innocuous_$ac_func
33238 /* System header to define __stub macros and hopefully few prototypes,
33239 which can conflict with char $ac_func (); below.
33240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33241 <limits.h> exists even on freestanding compilers. */
33244 # include <limits.h>
33246 # include <assert.h>
33251 /* Override any gcc2 internal prototype to avoid an error. */
33256 /* We use char because int might match the return type of a gcc2
33257 builtin and then its argument prototype would still apply. */
33259 /* The GNU C library defines this for functions which it implements
33260 to always fail with ENOSYS. Some functions are actually named
33261 something starting with __ and the normal name is an alias. */
33262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33265 char (*f) () = $ac_func;
33274 return f != $ac_func;
33279 rm -f conftest.
$ac_objext conftest
$ac_exeext
33280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33281 (eval $ac_link) 2>conftest.er1
33283 grep -v '^ *+' conftest.er1
>conftest.err
33285 cat conftest.err
>&5
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); } &&
33288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33290 (eval $ac_try) 2>&5
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); }; } &&
33294 { ac_try
='test -s conftest$ac_exeext'
33295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33296 (eval $ac_try) 2>&5
33298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33299 (exit $ac_status); }; }; then
33300 eval "$as_ac_var=yes"
33302 echo "$as_me: failed program was:" >&5
33303 sed 's/^/| /' conftest.
$ac_ext >&5
33305 eval "$as_ac_var=no"
33307 rm -f conftest.err conftest.
$ac_objext \
33308 conftest
$ac_exeext conftest.
$ac_ext
33310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33312 if test `eval echo '${'$as_ac_var'}'` = yes; then
33313 cat >>confdefs.h
<<_ACEOF
33314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33317 cat >>confdefs.h
<<\_ACEOF
33318 #define HAVE_DLOPEN 1
33325 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33326 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33327 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33328 echo $ECHO_N "(cached) $ECHO_C" >&6
33330 ac_check_lib_save_LIBS
=$LIBS
33332 cat >conftest.
$ac_ext <<_ACEOF
33335 cat confdefs.h
>>conftest.
$ac_ext
33336 cat >>conftest.
$ac_ext <<_ACEOF
33337 /* end confdefs.h. */
33339 /* Override any gcc2 internal prototype to avoid an error. */
33343 /* We use char because int might match the return type of a gcc2
33344 builtin and then its argument prototype would still apply. */
33354 rm -f conftest.
$ac_objext conftest
$ac_exeext
33355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33356 (eval $ac_link) 2>conftest.er1
33358 grep -v '^ *+' conftest.er1
>conftest.err
33360 cat conftest.err
>&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); } &&
33363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33365 (eval $ac_try) 2>&5
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); }; } &&
33369 { ac_try
='test -s conftest$ac_exeext'
33370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33371 (eval $ac_try) 2>&5
33373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33374 (exit $ac_status); }; }; then
33375 ac_cv_lib_dl_dlopen
=yes
33377 echo "$as_me: failed program was:" >&5
33378 sed 's/^/| /' conftest.
$ac_ext >&5
33380 ac_cv_lib_dl_dlopen
=no
33382 rm -f conftest.err conftest.
$ac_objext \
33383 conftest
$ac_exeext conftest.
$ac_ext
33384 LIBS
=$ac_check_lib_save_LIBS
33386 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33387 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33388 if test $ac_cv_lib_dl_dlopen = yes; then
33390 cat >>confdefs.h
<<\_ACEOF
33391 #define HAVE_DLOPEN 1
33395 DL_LINK
=" -ldl$DL_LINK"
33400 for ac_func
in shl_load
33402 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33403 echo "$as_me:$LINENO: checking for $ac_func" >&5
33404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33405 if eval "test \"\${$as_ac_var+set}\" = set"; then
33406 echo $ECHO_N "(cached) $ECHO_C" >&6
33408 cat >conftest.
$ac_ext <<_ACEOF
33411 cat confdefs.h
>>conftest.
$ac_ext
33412 cat >>conftest.
$ac_ext <<_ACEOF
33413 /* end confdefs.h. */
33414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33416 #define $ac_func innocuous_$ac_func
33418 /* System header to define __stub macros and hopefully few prototypes,
33419 which can conflict with char $ac_func (); below.
33420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33421 <limits.h> exists even on freestanding compilers. */
33424 # include <limits.h>
33426 # include <assert.h>
33431 /* Override any gcc2 internal prototype to avoid an error. */
33436 /* We use char because int might match the return type of a gcc2
33437 builtin and then its argument prototype would still apply. */
33439 /* The GNU C library defines this for functions which it implements
33440 to always fail with ENOSYS. Some functions are actually named
33441 something starting with __ and the normal name is an alias. */
33442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33445 char (*f) () = $ac_func;
33454 return f != $ac_func;
33459 rm -f conftest.
$ac_objext conftest
$ac_exeext
33460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33461 (eval $ac_link) 2>conftest.er1
33463 grep -v '^ *+' conftest.er1
>conftest.err
33465 cat conftest.err
>&5
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); } &&
33468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33470 (eval $ac_try) 2>&5
33472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33473 (exit $ac_status); }; } &&
33474 { ac_try
='test -s conftest$ac_exeext'
33475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33476 (eval $ac_try) 2>&5
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; }; then
33480 eval "$as_ac_var=yes"
33482 echo "$as_me: failed program was:" >&5
33483 sed 's/^/| /' conftest.
$ac_ext >&5
33485 eval "$as_ac_var=no"
33487 rm -f conftest.err conftest.
$ac_objext \
33488 conftest
$ac_exeext conftest.
$ac_ext
33490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33492 if test `eval echo '${'$as_ac_var'}'` = yes; then
33493 cat >>confdefs.h
<<_ACEOF
33494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33497 cat >>confdefs.h
<<\_ACEOF
33498 #define HAVE_SHL_LOAD 1
33505 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33506 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33507 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33508 echo $ECHO_N "(cached) $ECHO_C" >&6
33510 ac_check_lib_save_LIBS
=$LIBS
33511 LIBS
="-lshl_load $LIBS"
33512 cat >conftest.
$ac_ext <<_ACEOF
33515 cat confdefs.h
>>conftest.
$ac_ext
33516 cat >>conftest.
$ac_ext <<_ACEOF
33517 /* end confdefs.h. */
33519 /* Override any gcc2 internal prototype to avoid an error. */
33523 /* We use char because int might match the return type of a gcc2
33524 builtin and then its argument prototype would still apply. */
33534 rm -f conftest.
$ac_objext conftest
$ac_exeext
33535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33536 (eval $ac_link) 2>conftest.er1
33538 grep -v '^ *+' conftest.er1
>conftest.err
33540 cat conftest.err
>&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); } &&
33543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33545 (eval $ac_try) 2>&5
33547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548 (exit $ac_status); }; } &&
33549 { ac_try
='test -s conftest$ac_exeext'
33550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33551 (eval $ac_try) 2>&5
33553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554 (exit $ac_status); }; }; then
33555 ac_cv_lib_shl_load_dld
=yes
33557 echo "$as_me: failed program was:" >&5
33558 sed 's/^/| /' conftest.
$ac_ext >&5
33560 ac_cv_lib_shl_load_dld
=no
33562 rm -f conftest.err conftest.
$ac_objext \
33563 conftest
$ac_exeext conftest.
$ac_ext
33564 LIBS
=$ac_check_lib_save_LIBS
33566 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33567 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33568 if test $ac_cv_lib_shl_load_dld = yes; then
33571 DL_LINK
=" -ldld$DL_LINK"
33587 if test "$HAVE_DL_FUNCS" = 1; then
33589 for ac_func
in dlerror
33591 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33592 echo "$as_me:$LINENO: checking for $ac_func" >&5
33593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33594 if eval "test \"\${$as_ac_var+set}\" = set"; then
33595 echo $ECHO_N "(cached) $ECHO_C" >&6
33597 cat >conftest.
$ac_ext <<_ACEOF
33600 cat confdefs.h
>>conftest.
$ac_ext
33601 cat >>conftest.
$ac_ext <<_ACEOF
33602 /* end confdefs.h. */
33603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33605 #define $ac_func innocuous_$ac_func
33607 /* System header to define __stub macros and hopefully few prototypes,
33608 which can conflict with char $ac_func (); below.
33609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33610 <limits.h> exists even on freestanding compilers. */
33613 # include <limits.h>
33615 # include <assert.h>
33620 /* Override any gcc2 internal prototype to avoid an error. */
33625 /* We use char because int might match the return type of a gcc2
33626 builtin and then its argument prototype would still apply. */
33628 /* The GNU C library defines this for functions which it implements
33629 to always fail with ENOSYS. Some functions are actually named
33630 something starting with __ and the normal name is an alias. */
33631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33634 char (*f) () = $ac_func;
33643 return f != $ac_func;
33648 rm -f conftest.
$ac_objext conftest
$ac_exeext
33649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33650 (eval $ac_link) 2>conftest.er1
33652 grep -v '^ *+' conftest.er1
>conftest.err
33654 cat conftest.err
>&5
33655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33656 (exit $ac_status); } &&
33657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33659 (eval $ac_try) 2>&5
33661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33662 (exit $ac_status); }; } &&
33663 { ac_try
='test -s conftest$ac_exeext'
33664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33665 (eval $ac_try) 2>&5
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); }; }; then
33669 eval "$as_ac_var=yes"
33671 echo "$as_me: failed program was:" >&5
33672 sed 's/^/| /' conftest.
$ac_ext >&5
33674 eval "$as_ac_var=no"
33676 rm -f conftest.err conftest.
$ac_objext \
33677 conftest
$ac_exeext conftest.
$ac_ext
33679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33681 if test `eval echo '${'$as_ac_var'}'` = yes; then
33682 cat >>confdefs.h
<<_ACEOF
33683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33685 cat >>confdefs.h
<<\_ACEOF
33686 #define HAVE_DLERROR 1
33691 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33692 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33693 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33694 echo $ECHO_N "(cached) $ECHO_C" >&6
33696 ac_check_lib_save_LIBS
=$LIBS
33698 cat >conftest.
$ac_ext <<_ACEOF
33701 cat confdefs.h
>>conftest.
$ac_ext
33702 cat >>conftest.
$ac_ext <<_ACEOF
33703 /* end confdefs.h. */
33705 /* Override any gcc2 internal prototype to avoid an error. */
33709 /* We use char because int might match the return type of a gcc2
33710 builtin and then its argument prototype would still apply. */
33720 rm -f conftest.
$ac_objext conftest
$ac_exeext
33721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33722 (eval $ac_link) 2>conftest.er1
33724 grep -v '^ *+' conftest.er1
>conftest.err
33726 cat conftest.err
>&5
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); } &&
33729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33731 (eval $ac_try) 2>&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); }; } &&
33735 { ac_try
='test -s conftest$ac_exeext'
33736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33737 (eval $ac_try) 2>&5
33739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33740 (exit $ac_status); }; }; then
33741 ac_cv_lib_dl_dlerror
=yes
33743 echo "$as_me: failed program was:" >&5
33744 sed 's/^/| /' conftest.
$ac_ext >&5
33746 ac_cv_lib_dl_dlerror
=no
33748 rm -f conftest.err conftest.
$ac_objext \
33749 conftest
$ac_exeext conftest.
$ac_ext
33750 LIBS
=$ac_check_lib_save_LIBS
33752 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33753 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33754 if test $ac_cv_lib_dl_dlerror = yes; then
33755 cat >>confdefs.h
<<\_ACEOF
33756 #define HAVE_DLERROR 1
33769 if test "$HAVE_DL_FUNCS" = 0; then
33770 if test "$HAVE_SHL_FUNCS" = 0; then
33771 if test "$USE_UNIX" = 1; then
33772 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33773 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33774 wxUSE_DYNAMIC_LOADER
=no
33775 wxUSE_DYNLIB_CLASS
=no
33777 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33778 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33785 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33786 cat >>confdefs.h
<<\_ACEOF
33787 #define wxUSE_DYNAMIC_LOADER 1
33791 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33792 cat >>confdefs.h
<<\_ACEOF
33793 #define wxUSE_DYNLIB_CLASS 1
33800 if test "$wxUSE_PLUGINS" = "yes" ; then
33801 if test "$wxUSE_SHARED" = "no" ; then
33802 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33803 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33806 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33807 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33808 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33811 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33812 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33813 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33816 if test "$wxUSE_PLUGINS" = "yes" ; then
33817 cat >>confdefs.h
<<\_ACEOF
33818 #define wxUSE_PLUGINS 1
33825 if test "$wxUSE_STL" = "yes"; then
33826 cat >>confdefs.h
<<\_ACEOF
33827 #define wxUSE_STL 1
33832 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33833 cat >>confdefs.h
<<\_ACEOF
33834 #define wxUSE_APPLE_IEEE 1
33839 if test "$wxUSE_TIMER" = "yes"; then
33840 cat >>confdefs.h
<<\_ACEOF
33841 #define wxUSE_TIMER 1
33847 if test "$wxUSE_SOUND" = "yes"; then
33848 if test "$USE_UNIX" = "1" ; then
33850 for ac_header
in sys
/soundcard.h
33852 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33854 echo "$as_me:$LINENO: checking for $ac_header" >&5
33855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33857 echo $ECHO_N "(cached) $ECHO_C" >&6
33859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33862 # Is the header compilable?
33863 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33864 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33865 cat >conftest.
$ac_ext <<_ACEOF
33868 cat confdefs.h
>>conftest.
$ac_ext
33869 cat >>conftest.
$ac_ext <<_ACEOF
33870 /* end confdefs.h. */
33871 $ac_includes_default
33872 #include <$ac_header>
33874 rm -f conftest.
$ac_objext
33875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33876 (eval $ac_compile) 2>conftest.er1
33878 grep -v '^ *+' conftest.er1
>conftest.err
33880 cat conftest.err
>&5
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); } &&
33883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33885 (eval $ac_try) 2>&5
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); }; } &&
33889 { ac_try
='test -s conftest.$ac_objext'
33890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33891 (eval $ac_try) 2>&5
33893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33894 (exit $ac_status); }; }; then
33895 ac_header_compiler
=yes
33897 echo "$as_me: failed program was:" >&5
33898 sed 's/^/| /' conftest.
$ac_ext >&5
33900 ac_header_compiler
=no
33902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33903 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33904 echo "${ECHO_T}$ac_header_compiler" >&6
33906 # Is the header present?
33907 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33908 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33909 cat >conftest.
$ac_ext <<_ACEOF
33912 cat confdefs.h
>>conftest.
$ac_ext
33913 cat >>conftest.
$ac_ext <<_ACEOF
33914 /* end confdefs.h. */
33915 #include <$ac_header>
33917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33918 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33920 grep -v '^ *+' conftest.er1
>conftest.err
33922 cat conftest.err
>&5
33923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33924 (exit $ac_status); } >/dev
/null
; then
33925 if test -s conftest.err
; then
33926 ac_cpp_err
=$ac_c_preproc_warn_flag
33927 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33934 if test -z "$ac_cpp_err"; then
33935 ac_header_preproc
=yes
33937 echo "$as_me: failed program was:" >&5
33938 sed 's/^/| /' conftest.
$ac_ext >&5
33940 ac_header_preproc
=no
33942 rm -f conftest.err conftest.
$ac_ext
33943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33944 echo "${ECHO_T}$ac_header_preproc" >&6
33946 # So? What about this header?
33947 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33949 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33950 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33952 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33953 ac_header_preproc
=yes
33956 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33957 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33958 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33959 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33960 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33961 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33962 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33963 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33965 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33966 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33967 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33970 ## ----------------------------------------- ##
33971 ## Report this to wx-dev@lists.wxwidgets.org ##
33972 ## ----------------------------------------- ##
33975 sed "s/^/$as_me: WARNING: /" >&2
33978 echo "$as_me:$LINENO: checking for $ac_header" >&5
33979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33981 echo $ECHO_N "(cached) $ECHO_C" >&6
33983 eval "$as_ac_Header=\$ac_header_preproc"
33985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33990 cat >>confdefs.h
<<_ACEOF
33991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33999 if test "$wxUSE_LIBSDL" != "no"; then
34001 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34002 if test "${with_sdl_prefix+set}" = set; then
34003 withval
="$with_sdl_prefix"
34004 sdl_prefix
="$withval"
34009 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34010 if test "${with_sdl_exec_prefix+set}" = set; then
34011 withval
="$with_sdl_exec_prefix"
34012 sdl_exec_prefix
="$withval"
34016 # Check whether --enable-sdltest or --disable-sdltest was given.
34017 if test "${enable_sdltest+set}" = set; then
34018 enableval
="$enable_sdltest"
34024 if test x
$sdl_exec_prefix != x
; then
34025 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34026 if test x
${SDL_CONFIG+set} != xset
; then
34027 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34030 if test x
$sdl_prefix != x
; then
34031 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34032 if test x
${SDL_CONFIG+set} != xset
; then
34033 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34038 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34039 # Extract the first word of "sdl-config", so it can be a program name with args.
34040 set dummy sdl
-config; ac_word
=$2
34041 echo "$as_me:$LINENO: checking for $ac_word" >&5
34042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34043 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34044 echo $ECHO_N "(cached) $ECHO_C" >&6
34046 case $SDL_CONFIG in
34048 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34052 for as_dir
in $PATH
34055 test -z "$as_dir" && as_dir
=.
34056 for ac_exec_ext
in '' $ac_executable_extensions; do
34057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34058 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34065 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34069 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34071 if test -n "$SDL_CONFIG"; then
34072 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34073 echo "${ECHO_T}$SDL_CONFIG" >&6
34075 echo "$as_me:$LINENO: result: no" >&5
34076 echo "${ECHO_T}no" >&6
34079 min_sdl_version
=1.2.0
34080 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34081 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34083 if test "$SDL_CONFIG" = "no" ; then
34086 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34087 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34089 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34091 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34093 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34094 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34095 if test "x$enable_sdltest" = "xyes" ; then
34096 ac_save_CFLAGS
="$CFLAGS"
34097 ac_save_LIBS
="$LIBS"
34098 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34099 LIBS
="$LIBS $SDL_LIBS"
34101 if test "$cross_compiling" = yes; then
34102 echo $ac_n "cross compiling; assumed OK... $ac_c"
34104 cat >conftest.
$ac_ext <<_ACEOF
34107 cat confdefs.h
>>conftest.
$ac_ext
34108 cat >>conftest.
$ac_ext <<_ACEOF
34109 /* end confdefs.h. */
34112 #include <stdlib.h>
34113 #include <string.h>
34117 my_strdup (char *str)
34123 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34124 strcpy (new_str, str);
34132 int main (int argc, char *argv[])
34134 int major, minor, micro;
34137 /* This hangs on some systems (?)
34138 system ("touch conf.sdltest");
34140 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34142 /* HP/UX 9 (%@#!) writes to sscanf strings */
34143 tmp_version = my_strdup("$min_sdl_version");
34144 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34145 printf("%s, bad version string\n", "$min_sdl_version");
34149 if (($sdl_major_version > major) ||
34150 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34151 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34157 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34158 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34159 printf("*** best to upgrade to the required version.\n");
34160 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34161 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34162 printf("*** config.cache before re-running configure\n");
34169 rm -f conftest
$ac_exeext
34170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34171 (eval $ac_link) 2>&5
34173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34174 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34176 (eval $ac_try) 2>&5
34178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34179 (exit $ac_status); }; }; then
34182 echo "$as_me: program exited with status $ac_status" >&5
34183 echo "$as_me: failed program was:" >&5
34184 sed 's/^/| /' conftest.
$ac_ext >&5
34186 ( exit $ac_status )
34189 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34191 CFLAGS
="$ac_save_CFLAGS"
34192 LIBS
="$ac_save_LIBS"
34195 if test "x$no_sdl" = x
; then
34196 echo "$as_me:$LINENO: result: yes" >&5
34197 echo "${ECHO_T}yes" >&6
34199 EXTRALIBS_SDL
="$SDL_LIBS"
34200 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34201 cat >>confdefs.h
<<\_ACEOF
34202 #define wxUSE_LIBSDL 1
34207 echo "$as_me:$LINENO: result: no" >&5
34208 echo "${ECHO_T}no" >&6
34209 if test "$SDL_CONFIG" = "no" ; then
34210 echo "*** The sdl-config script installed by SDL could not be found"
34211 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34212 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34213 echo "*** full path to sdl-config."
34215 if test -f conf.sdltest
; then
34218 echo "*** Could not run SDL test program, checking why..."
34219 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34220 LIBS
="$LIBS $SDL_LIBS"
34221 cat >conftest.
$ac_ext <<_ACEOF
34224 cat confdefs.h
>>conftest.
$ac_ext
34225 cat >>conftest.
$ac_ext <<_ACEOF
34226 /* end confdefs.h. */
34231 int main(int argc, char *argv[])
34234 #define main K_and_R_C_main
34244 rm -f conftest.
$ac_objext conftest
$ac_exeext
34245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34246 (eval $ac_link) 2>conftest.er1
34248 grep -v '^ *+' conftest.er1
>conftest.err
34250 cat conftest.err
>&5
34251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252 (exit $ac_status); } &&
34253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34255 (eval $ac_try) 2>&5
34257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34258 (exit $ac_status); }; } &&
34259 { ac_try
='test -s conftest$ac_exeext'
34260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34261 (eval $ac_try) 2>&5
34263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34264 (exit $ac_status); }; }; then
34265 echo "*** The test program compiled, but did not run. This usually means"
34266 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34267 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34268 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34269 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34270 echo "*** is required on your system"
34272 echo "*** If you have an old version installed, it is best to remove it, although"
34273 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34275 echo "$as_me: failed program was:" >&5
34276 sed 's/^/| /' conftest.
$ac_ext >&5
34278 echo "*** The test program failed to compile or link. See the file config.log for the"
34279 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34280 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34281 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34283 rm -f conftest.err conftest.
$ac_objext \
34284 conftest
$ac_exeext conftest.
$ac_ext
34285 CFLAGS
="$ac_save_CFLAGS"
34286 LIBS
="$ac_save_LIBS"
34297 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34303 cat >>confdefs.h
<<\_ACEOF
34304 #define wxUSE_SOUND 1
34307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34310 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34311 cat >>confdefs.h
<<\_ACEOF
34312 #define wxUSE_CMDLINE_PARSER 1
34317 if test "$wxUSE_STOPWATCH" = "yes"; then
34318 cat >>confdefs.h
<<\_ACEOF
34319 #define wxUSE_STOPWATCH 1
34324 if test "$wxUSE_DATETIME" = "yes"; then
34325 cat >>confdefs.h
<<\_ACEOF
34326 #define wxUSE_DATETIME 1
34331 if test "$wxUSE_FILE" = "yes"; then
34332 cat >>confdefs.h
<<\_ACEOF
34333 #define wxUSE_FILE 1
34338 if test "$wxUSE_FFILE" = "yes"; then
34339 cat >>confdefs.h
<<\_ACEOF
34340 #define wxUSE_FFILE 1
34345 if test "$wxUSE_FILESYSTEM" = "yes"; then
34346 cat >>confdefs.h
<<\_ACEOF
34347 #define wxUSE_FILESYSTEM 1
34352 if test "$wxUSE_FS_ZIP" = "yes"; then
34353 cat >>confdefs.h
<<\_ACEOF
34354 #define wxUSE_FS_ZIP 1
34359 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34360 cat >>confdefs.h
<<\_ACEOF
34361 #define wxUSE_ZIPSTREAM 1
34366 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34367 cat >>confdefs.h
<<\_ACEOF
34368 #define wxUSE_ON_FATAL_EXCEPTION 1
34373 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34374 cat >>confdefs.h
<<\_ACEOF
34375 #define wxUSE_SNGLINST_CHECKER 1
34380 if test "$wxUSE_BUSYINFO" = "yes"; then
34381 cat >>confdefs.h
<<\_ACEOF
34382 #define wxUSE_BUSYINFO 1
34387 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34388 cat >>confdefs.h
<<\_ACEOF
34389 #define wxUSE_STD_IOSTREAM 1
34394 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34395 cat >>confdefs.h
<<\_ACEOF
34396 #define wxUSE_TEXTBUFFER 1
34401 if test "$wxUSE_TEXTFILE" = "yes"; then
34402 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34403 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34404 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34406 cat >>confdefs.h
<<\_ACEOF
34407 #define wxUSE_TEXTFILE 1
34413 if test "$wxUSE_CONFIG" = "yes" ; then
34414 if test "$wxUSE_TEXTFILE" != "yes"; then
34415 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34416 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34418 cat >>confdefs.h
<<\_ACEOF
34419 #define wxUSE_CONFIG 1
34422 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34426 if test "$wxUSE_INTL" = "yes" ; then
34427 if test "$wxUSE_FILE" != "yes"; then
34428 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34429 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34431 cat >>confdefs.h
<<\_ACEOF
34432 #define wxUSE_INTL 1
34435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34436 GUIDIST
="$GUIDIST INTL_DIST"
34440 if test "$wxUSE_LOG" = "yes"; then
34441 cat >>confdefs.h
<<\_ACEOF
34442 #define wxUSE_LOG 1
34446 if test "$wxUSE_LOGGUI" = "yes"; then
34447 cat >>confdefs.h
<<\_ACEOF
34448 #define wxUSE_LOGGUI 1
34453 if test "$wxUSE_LOGWINDOW" = "yes"; then
34454 cat >>confdefs.h
<<\_ACEOF
34455 #define wxUSE_LOGWINDOW 1
34460 if test "$wxUSE_LOGDIALOG" = "yes"; then
34461 cat >>confdefs.h
<<\_ACEOF
34462 #define wxUSE_LOG_DIALOG 1
34468 if test "$wxUSE_LONGLONG" = "yes"; then
34469 cat >>confdefs.h
<<\_ACEOF
34470 #define wxUSE_LONGLONG 1
34475 if test "$wxUSE_GEOMETRY" = "yes"; then
34476 cat >>confdefs.h
<<\_ACEOF
34477 #define wxUSE_GEOMETRY 1
34482 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34483 cat >>confdefs.h
<<\_ACEOF
34484 #define wxUSE_DIALUP_MANAGER 1
34487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34490 if test "$wxUSE_STREAMS" = "yes" ; then
34491 cat >>confdefs.h
<<\_ACEOF
34492 #define wxUSE_STREAMS 1
34498 if test "$wxUSE_DATETIME" = "yes"; then
34500 for ac_func
in strptime
34502 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34503 echo "$as_me:$LINENO: checking for $ac_func" >&5
34504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34505 if eval "test \"\${$as_ac_var+set}\" = set"; then
34506 echo $ECHO_N "(cached) $ECHO_C" >&6
34508 cat >conftest.
$ac_ext <<_ACEOF
34511 cat confdefs.h
>>conftest.
$ac_ext
34512 cat >>conftest.
$ac_ext <<_ACEOF
34513 /* end confdefs.h. */
34514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34516 #define $ac_func innocuous_$ac_func
34518 /* System header to define __stub macros and hopefully few prototypes,
34519 which can conflict with char $ac_func (); below.
34520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34521 <limits.h> exists even on freestanding compilers. */
34524 # include <limits.h>
34526 # include <assert.h>
34531 /* Override any gcc2 internal prototype to avoid an error. */
34536 /* We use char because int might match the return type of a gcc2
34537 builtin and then its argument prototype would still apply. */
34539 /* The GNU C library defines this for functions which it implements
34540 to always fail with ENOSYS. Some functions are actually named
34541 something starting with __ and the normal name is an alias. */
34542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34545 char (*f) () = $ac_func;
34554 return f != $ac_func;
34559 rm -f conftest.
$ac_objext conftest
$ac_exeext
34560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34561 (eval $ac_link) 2>conftest.er1
34563 grep -v '^ *+' conftest.er1
>conftest.err
34565 cat conftest.err
>&5
34566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34567 (exit $ac_status); } &&
34568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34570 (eval $ac_try) 2>&5
34572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34573 (exit $ac_status); }; } &&
34574 { ac_try
='test -s conftest$ac_exeext'
34575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34576 (eval $ac_try) 2>&5
34578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34579 (exit $ac_status); }; }; then
34580 eval "$as_ac_var=yes"
34582 echo "$as_me: failed program was:" >&5
34583 sed 's/^/| /' conftest.
$ac_ext >&5
34585 eval "$as_ac_var=no"
34587 rm -f conftest.err conftest.
$ac_objext \
34588 conftest
$ac_exeext conftest.
$ac_ext
34590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34592 if test `eval echo '${'$as_ac_var'}'` = yes; then
34593 cat >>confdefs.h
<<_ACEOF
34594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34601 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34602 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34603 if test "${wx_cv_var_timezone+set}" = set; then
34604 echo $ECHO_N "(cached) $ECHO_C" >&6
34607 cat >conftest.
$ac_ext <<_ACEOF
34610 cat confdefs.h
>>conftest.
$ac_ext
34611 cat >>conftest.
$ac_ext <<_ACEOF
34612 /* end confdefs.h. */
34627 rm -f conftest.
$ac_objext
34628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34629 (eval $ac_compile) 2>conftest.er1
34631 grep -v '^ *+' conftest.er1
>conftest.err
34633 cat conftest.err
>&5
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); } &&
34636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34638 (eval $ac_try) 2>&5
34640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34641 (exit $ac_status); }; } &&
34642 { ac_try
='test -s conftest.$ac_objext'
34643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34644 (eval $ac_try) 2>&5
34646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34647 (exit $ac_status); }; }; then
34649 wx_cv_var_timezone
=timezone
34652 echo "$as_me: failed program was:" >&5
34653 sed 's/^/| /' conftest.
$ac_ext >&5
34656 cat >conftest.
$ac_ext <<_ACEOF
34659 cat confdefs.h
>>conftest.
$ac_ext
34660 cat >>conftest.
$ac_ext <<_ACEOF
34661 /* end confdefs.h. */
34676 rm -f conftest.
$ac_objext
34677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34678 (eval $ac_compile) 2>conftest.er1
34680 grep -v '^ *+' conftest.er1
>conftest.err
34682 cat conftest.err
>&5
34683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34684 (exit $ac_status); } &&
34685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34687 (eval $ac_try) 2>&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); }; } &&
34691 { ac_try
='test -s conftest.$ac_objext'
34692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34693 (eval $ac_try) 2>&5
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); }; }; then
34698 wx_cv_var_timezone
=_timezone
34701 echo "$as_me: failed program was:" >&5
34702 sed 's/^/| /' conftest.
$ac_ext >&5
34705 cat >conftest.
$ac_ext <<_ACEOF
34708 cat confdefs.h
>>conftest.
$ac_ext
34709 cat >>conftest.
$ac_ext <<_ACEOF
34710 /* end confdefs.h. */
34725 rm -f conftest.
$ac_objext
34726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34727 (eval $ac_compile) 2>conftest.er1
34729 grep -v '^ *+' conftest.er1
>conftest.err
34731 cat conftest.err
>&5
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); } &&
34734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34736 (eval $ac_try) 2>&5
34738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34739 (exit $ac_status); }; } &&
34740 { ac_try
='test -s conftest.$ac_objext'
34741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34742 (eval $ac_try) 2>&5
34744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34745 (exit $ac_status); }; }; then
34747 wx_cv_var_timezone
=__timezone
34750 echo "$as_me: failed program was:" >&5
34751 sed 's/^/| /' conftest.
$ac_ext >&5
34754 if test "$USE_DOS" = 0 ; then
34755 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34756 echo "$as_me: WARNING: no timezone variable" >&2;}
34761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34773 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34774 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34776 if test "x$wx_cv_var_timezone" != x
; then
34777 cat >>confdefs.h
<<_ACEOF
34778 #define WX_TIMEZONE $wx_cv_var_timezone
34784 for ac_func
in localtime
34786 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34787 echo "$as_me:$LINENO: checking for $ac_func" >&5
34788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34789 if eval "test \"\${$as_ac_var+set}\" = set"; then
34790 echo $ECHO_N "(cached) $ECHO_C" >&6
34792 cat >conftest.
$ac_ext <<_ACEOF
34795 cat confdefs.h
>>conftest.
$ac_ext
34796 cat >>conftest.
$ac_ext <<_ACEOF
34797 /* end confdefs.h. */
34798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34800 #define $ac_func innocuous_$ac_func
34802 /* System header to define __stub macros and hopefully few prototypes,
34803 which can conflict with char $ac_func (); below.
34804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34805 <limits.h> exists even on freestanding compilers. */
34808 # include <limits.h>
34810 # include <assert.h>
34815 /* Override any gcc2 internal prototype to avoid an error. */
34820 /* We use char because int might match the return type of a gcc2
34821 builtin and then its argument prototype would still apply. */
34823 /* The GNU C library defines this for functions which it implements
34824 to always fail with ENOSYS. Some functions are actually named
34825 something starting with __ and the normal name is an alias. */
34826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34829 char (*f) () = $ac_func;
34838 return f != $ac_func;
34843 rm -f conftest.
$ac_objext conftest
$ac_exeext
34844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34845 (eval $ac_link) 2>conftest.er1
34847 grep -v '^ *+' conftest.er1
>conftest.err
34849 cat conftest.err
>&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); } &&
34852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34854 (eval $ac_try) 2>&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); }; } &&
34858 { ac_try
='test -s conftest$ac_exeext'
34859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34860 (eval $ac_try) 2>&5
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); }; }; then
34864 eval "$as_ac_var=yes"
34866 echo "$as_me: failed program was:" >&5
34867 sed 's/^/| /' conftest.
$ac_ext >&5
34869 eval "$as_ac_var=no"
34871 rm -f conftest.err conftest.
$ac_objext \
34872 conftest
$ac_exeext conftest.
$ac_ext
34874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34876 if test `eval echo '${'$as_ac_var'}'` = yes; then
34877 cat >>confdefs.h
<<_ACEOF
34878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34885 if test "$ac_cv_func_localtime" = "yes"; then
34886 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34887 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34888 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34889 echo $ECHO_N "(cached) $ECHO_C" >&6
34892 cat >conftest.
$ac_ext <<_ACEOF
34895 cat confdefs.h
>>conftest.
$ac_ext
34896 cat >>conftest.
$ac_ext <<_ACEOF
34897 /* end confdefs.h. */
34912 rm -f conftest.
$ac_objext
34913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34914 (eval $ac_compile) 2>conftest.er1
34916 grep -v '^ *+' conftest.er1
>conftest.err
34918 cat conftest.err
>&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); } &&
34921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34927 { ac_try
='test -s conftest.$ac_objext'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; }; then
34934 wx_cv_struct_tm_has_gmtoff
=yes
34937 echo "$as_me: failed program was:" >&5
34938 sed 's/^/| /' conftest.
$ac_ext >&5
34940 wx_cv_struct_tm_has_gmtoff
=no
34943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34946 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
34947 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
34950 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34951 cat >>confdefs.h
<<\_ACEOF
34952 #define WX_GMTOFF_IN_TM 1
34959 for ac_func
in gettimeofday ftime
34961 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34962 echo "$as_me:$LINENO: checking for $ac_func" >&5
34963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34964 if eval "test \"\${$as_ac_var+set}\" = set"; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 cat >conftest.
$ac_ext <<_ACEOF
34970 cat confdefs.h
>>conftest.
$ac_ext
34971 cat >>conftest.
$ac_ext <<_ACEOF
34972 /* end confdefs.h. */
34973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34975 #define $ac_func innocuous_$ac_func
34977 /* System header to define __stub macros and hopefully few prototypes,
34978 which can conflict with char $ac_func (); below.
34979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34980 <limits.h> exists even on freestanding compilers. */
34983 # include <limits.h>
34985 # include <assert.h>
34990 /* Override any gcc2 internal prototype to avoid an error. */
34995 /* We use char because int might match the return type of a gcc2
34996 builtin and then its argument prototype would still apply. */
34998 /* The GNU C library defines this for functions which it implements
34999 to always fail with ENOSYS. Some functions are actually named
35000 something starting with __ and the normal name is an alias. */
35001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35004 char (*f) () = $ac_func;
35013 return f != $ac_func;
35018 rm -f conftest.
$ac_objext conftest
$ac_exeext
35019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35020 (eval $ac_link) 2>conftest.er1
35022 grep -v '^ *+' conftest.er1
>conftest.err
35024 cat conftest.err
>&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); } &&
35027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35029 (eval $ac_try) 2>&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); }; } &&
35033 { ac_try
='test -s conftest$ac_exeext'
35034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35035 (eval $ac_try) 2>&5
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); }; }; then
35039 eval "$as_ac_var=yes"
35041 echo "$as_me: failed program was:" >&5
35042 sed 's/^/| /' conftest.
$ac_ext >&5
35044 eval "$as_ac_var=no"
35046 rm -f conftest.err conftest.
$ac_objext \
35047 conftest
$ac_exeext conftest.
$ac_ext
35049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35051 if test `eval echo '${'$as_ac_var'}'` = yes; then
35052 cat >>confdefs.h
<<_ACEOF
35053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35060 if test "$ac_cv_func_gettimeofday" = "yes"; then
35061 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35062 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35063 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35064 echo $ECHO_N "(cached) $ECHO_C" >&6
35070 ac_cpp
='$CXXCPP $CPPFLAGS'
35071 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35072 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35073 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35076 cat >conftest.
$ac_ext <<_ACEOF
35079 cat confdefs.h
>>conftest.
$ac_ext
35080 cat >>conftest.
$ac_ext <<_ACEOF
35081 /* end confdefs.h. */
35083 #include <sys/time.h>
35084 #include <unistd.h>
35091 gettimeofday(&tv, NULL);
35097 rm -f conftest.
$ac_objext
35098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35099 (eval $ac_compile) 2>conftest.er1
35101 grep -v '^ *+' conftest.er1
>conftest.err
35103 cat conftest.err
>&5
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); } &&
35106 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; } &&
35112 { ac_try
='test -s conftest.$ac_objext'
35113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35114 (eval $ac_try) 2>&5
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); }; }; then
35118 wx_cv_func_gettimeofday_has_2_args
=yes
35120 echo "$as_me: failed program was:" >&5
35121 sed 's/^/| /' conftest.
$ac_ext >&5
35123 cat >conftest.
$ac_ext <<_ACEOF
35126 cat confdefs.h
>>conftest.
$ac_ext
35127 cat >>conftest.
$ac_ext <<_ACEOF
35128 /* end confdefs.h. */
35130 #include <sys/time.h>
35131 #include <unistd.h>
35144 rm -f conftest.
$ac_objext
35145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35146 (eval $ac_compile) 2>conftest.er1
35148 grep -v '^ *+' conftest.er1
>conftest.err
35150 cat conftest.err
>&5
35151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152 (exit $ac_status); } &&
35153 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35155 (eval $ac_try) 2>&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); }; } &&
35159 { ac_try
='test -s conftest.$ac_objext'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; }; then
35165 wx_cv_func_gettimeofday_has_2_args
=no
35167 echo "$as_me: failed program was:" >&5
35168 sed 's/^/| /' conftest.
$ac_ext >&5
35171 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35172 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35173 wx_cv_func_gettimeofday_has_2_args
=unknown
35177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35182 ac_cpp
='$CPP $CPPFLAGS'
35183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35189 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35190 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35192 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35193 cat >>confdefs.h
<<\_ACEOF
35194 #define WX_GETTIMEOFDAY_NO_TZ 1
35200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35204 if test "$wxUSE_SOCKETS" = "yes"; then
35205 if test "$wxUSE_MGL" = "1"; then
35206 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35207 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35212 if test "$wxUSE_SOCKETS" = "yes"; then
35213 if test "$TOOLKIT" != "MSW"; then
35214 echo "$as_me:$LINENO: checking for socket" >&5
35215 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35216 if test "${ac_cv_func_socket+set}" = set; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35219 cat >conftest.
$ac_ext <<_ACEOF
35222 cat confdefs.h
>>conftest.
$ac_ext
35223 cat >>conftest.
$ac_ext <<_ACEOF
35224 /* end confdefs.h. */
35225 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35227 #define socket innocuous_socket
35229 /* System header to define __stub macros and hopefully few prototypes,
35230 which can conflict with char socket (); below.
35231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35232 <limits.h> exists even on freestanding compilers. */
35235 # include <limits.h>
35237 # include <assert.h>
35242 /* Override any gcc2 internal prototype to avoid an error. */
35247 /* We use char because int might match the return type of a gcc2
35248 builtin and then its argument prototype would still apply. */
35250 /* The GNU C library defines this for functions which it implements
35251 to always fail with ENOSYS. Some functions are actually named
35252 something starting with __ and the normal name is an alias. */
35253 #if defined (__stub_socket) || defined (__stub___socket)
35256 char (*f) () = socket;
35265 return f != socket;
35270 rm -f conftest.
$ac_objext conftest
$ac_exeext
35271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35272 (eval $ac_link) 2>conftest.er1
35274 grep -v '^ *+' conftest.er1
>conftest.err
35276 cat conftest.err
>&5
35277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35278 (exit $ac_status); } &&
35279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35281 (eval $ac_try) 2>&5
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); }; } &&
35285 { ac_try
='test -s conftest$ac_exeext'
35286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35287 (eval $ac_try) 2>&5
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); }; }; then
35291 ac_cv_func_socket
=yes
35293 echo "$as_me: failed program was:" >&5
35294 sed 's/^/| /' conftest.
$ac_ext >&5
35296 ac_cv_func_socket
=no
35298 rm -f conftest.err conftest.
$ac_objext \
35299 conftest
$ac_exeext conftest.
$ac_ext
35301 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35302 echo "${ECHO_T}$ac_cv_func_socket" >&6
35303 if test $ac_cv_func_socket = yes; then
35307 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35308 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35309 if test "${ac_cv_lib_socket_socket+set}" = set; then
35310 echo $ECHO_N "(cached) $ECHO_C" >&6
35312 ac_check_lib_save_LIBS
=$LIBS
35313 LIBS
="-lsocket $LIBS"
35314 cat >conftest.
$ac_ext <<_ACEOF
35317 cat confdefs.h
>>conftest.
$ac_ext
35318 cat >>conftest.
$ac_ext <<_ACEOF
35319 /* end confdefs.h. */
35321 /* Override any gcc2 internal prototype to avoid an error. */
35325 /* We use char because int might match the return type of a gcc2
35326 builtin and then its argument prototype would still apply. */
35336 rm -f conftest.
$ac_objext conftest
$ac_exeext
35337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35338 (eval $ac_link) 2>conftest.er1
35340 grep -v '^ *+' conftest.er1
>conftest.err
35342 cat conftest.err
>&5
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); } &&
35345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35347 (eval $ac_try) 2>&5
35349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35350 (exit $ac_status); }; } &&
35351 { ac_try
='test -s conftest$ac_exeext'
35352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35353 (eval $ac_try) 2>&5
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); }; }; then
35357 ac_cv_lib_socket_socket
=yes
35359 echo "$as_me: failed program was:" >&5
35360 sed 's/^/| /' conftest.
$ac_ext >&5
35362 ac_cv_lib_socket_socket
=no
35364 rm -f conftest.err conftest.
$ac_objext \
35365 conftest
$ac_exeext conftest.
$ac_ext
35366 LIBS
=$ac_check_lib_save_LIBS
35368 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35369 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35370 if test $ac_cv_lib_socket_socket = yes; then
35371 if test "$INET_LINK" != " -lsocket"; then
35372 INET_LINK
="$INET_LINK -lsocket"
35376 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35377 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35390 if test "$wxUSE_SOCKETS" = "yes" ; then
35391 if test "$TOOLKIT" != "MSW"; then
35393 ac_cpp
='$CXXCPP $CPPFLAGS'
35394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35398 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35399 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35400 if test "${wx_cv_type_getsockname3+set}" = set; then
35401 echo $ECHO_N "(cached) $ECHO_C" >&6
35404 cat >conftest.
$ac_ext <<_ACEOF
35407 cat confdefs.h
>>conftest.
$ac_ext
35408 cat >>conftest.
$ac_ext <<_ACEOF
35409 /* end confdefs.h. */
35411 #include <sys/types.h>
35412 #include <sys/socket.h>
35419 getsockname(0, 0, &len);
35425 rm -f conftest.
$ac_objext
35426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35427 (eval $ac_compile) 2>conftest.er1
35429 grep -v '^ *+' conftest.er1
>conftest.err
35431 cat conftest.err
>&5
35432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35433 (exit $ac_status); } &&
35434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35436 (eval $ac_try) 2>&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); }; } &&
35440 { ac_try
='test -s conftest.$ac_objext'
35441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35442 (eval $ac_try) 2>&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; }; then
35446 wx_cv_type_getsockname3
=socklen_t
35448 echo "$as_me: failed program was:" >&5
35449 sed 's/^/| /' conftest.
$ac_ext >&5
35452 CFLAGS_OLD
="$CFLAGS"
35453 if test "$GCC" = yes ; then
35454 CFLAGS
="$CFLAGS -Werror"
35457 cat >conftest.
$ac_ext <<_ACEOF
35460 cat confdefs.h
>>conftest.
$ac_ext
35461 cat >>conftest.
$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35464 #include <sys/types.h>
35465 #include <sys/socket.h>
35472 getsockname(0, 0, &len);
35478 rm -f conftest.
$ac_objext
35479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35480 (eval $ac_compile) 2>conftest.er1
35482 grep -v '^ *+' conftest.er1
>conftest.err
35484 cat conftest.err
>&5
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); } &&
35487 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35489 (eval $ac_try) 2>&5
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); }; } &&
35493 { ac_try
='test -s conftest.$ac_objext'
35494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35495 (eval $ac_try) 2>&5
35497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498 (exit $ac_status); }; }; then
35499 wx_cv_type_getsockname3
=size_t
35501 echo "$as_me: failed program was:" >&5
35502 sed 's/^/| /' conftest.
$ac_ext >&5
35504 cat >conftest.
$ac_ext <<_ACEOF
35507 cat confdefs.h
>>conftest.
$ac_ext
35508 cat >>conftest.
$ac_ext <<_ACEOF
35509 /* end confdefs.h. */
35511 #include <sys/types.h>
35512 #include <sys/socket.h>
35519 getsockname(0, 0, &len);
35525 rm -f conftest.
$ac_objext
35526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35527 (eval $ac_compile) 2>conftest.er1
35529 grep -v '^ *+' conftest.er1
>conftest.err
35531 cat conftest.err
>&5
35532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35533 (exit $ac_status); } &&
35534 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35536 (eval $ac_try) 2>&5
35538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539 (exit $ac_status); }; } &&
35540 { ac_try
='test -s conftest.$ac_objext'
35541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35542 (eval $ac_try) 2>&5
35544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35545 (exit $ac_status); }; }; then
35546 wx_cv_type_getsockname3
=int
35548 echo "$as_me: failed program was:" >&5
35549 sed 's/^/| /' conftest.
$ac_ext >&5
35551 wx_cv_type_getsockname3
=unknown
35554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35559 CFLAGS
="$CFLAGS_OLD"
35563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35566 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35567 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35569 if test "$wx_cv_type_getsockname3" = "unknown"; then
35571 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35572 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35574 cat >>confdefs.h
<<_ACEOF
35575 #define SOCKLEN_T $wx_cv_type_getsockname3
35580 ac_cpp
='$CPP $CPPFLAGS'
35581 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35582 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35583 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35588 if test "$wxUSE_SOCKETS" = "yes" ; then
35589 cat >>confdefs.h
<<\_ACEOF
35590 #define wxUSE_SOCKETS 1
35593 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35596 if test "$wxUSE_PROTOCOL" = "yes"; then
35597 if test "$wxUSE_SOCKETS" != "yes"; then
35598 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35599 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35604 if test "$wxUSE_PROTOCOL" = "yes"; then
35605 cat >>confdefs.h
<<\_ACEOF
35606 #define wxUSE_PROTOCOL 1
35610 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35611 cat >>confdefs.h
<<\_ACEOF
35612 #define wxUSE_PROTOCOL_HTTP 1
35616 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35617 cat >>confdefs.h
<<\_ACEOF
35618 #define wxUSE_PROTOCOL_FTP 1
35622 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35623 cat >>confdefs.h
<<\_ACEOF
35624 #define wxUSE_PROTOCOL_FILE 1
35629 if test "$wxUSE_FS_INET" = "yes"; then
35630 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35631 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35636 if test "$wxUSE_URL" = "yes"; then
35637 if test "$wxUSE_PROTOCOL" != "yes"; then
35638 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35639 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35642 if test "$wxUSE_URL" = "yes"; then
35643 cat >>confdefs.h
<<\_ACEOF
35644 #define wxUSE_URL 1
35650 if test "$wxUSE_FS_INET" = "yes"; then
35651 cat >>confdefs.h
<<\_ACEOF
35652 #define wxUSE_FS_INET 1
35658 if test "$wxUSE_GUI" = "yes"; then
35660 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35661 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35662 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35666 if test "$TOOLKIT" != "MSW"; then
35667 if test "$wxUSE_JOYSTICK" = "yes"; then
35669 for ac_header
in linux
/joystick.h
35671 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35673 echo "$as_me:$LINENO: checking for $ac_header" >&5
35674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35676 echo $ECHO_N "(cached) $ECHO_C" >&6
35678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35681 # Is the header compilable?
35682 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35683 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35684 cat >conftest.
$ac_ext <<_ACEOF
35687 cat confdefs.h
>>conftest.
$ac_ext
35688 cat >>conftest.
$ac_ext <<_ACEOF
35689 /* end confdefs.h. */
35690 $ac_includes_default
35691 #include <$ac_header>
35693 rm -f conftest.
$ac_objext
35694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35695 (eval $ac_compile) 2>conftest.er1
35697 grep -v '^ *+' conftest.er1
>conftest.err
35699 cat conftest.err
>&5
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); } &&
35702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35704 (eval $ac_try) 2>&5
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); }; } &&
35708 { ac_try
='test -s conftest.$ac_objext'
35709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35710 (eval $ac_try) 2>&5
35712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35713 (exit $ac_status); }; }; then
35714 ac_header_compiler
=yes
35716 echo "$as_me: failed program was:" >&5
35717 sed 's/^/| /' conftest.
$ac_ext >&5
35719 ac_header_compiler
=no
35721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35722 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35723 echo "${ECHO_T}$ac_header_compiler" >&6
35725 # Is the header present?
35726 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35727 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35728 cat >conftest.
$ac_ext <<_ACEOF
35731 cat confdefs.h
>>conftest.
$ac_ext
35732 cat >>conftest.
$ac_ext <<_ACEOF
35733 /* end confdefs.h. */
35734 #include <$ac_header>
35736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35737 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35739 grep -v '^ *+' conftest.er1
>conftest.err
35741 cat conftest.err
>&5
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); } >/dev
/null
; then
35744 if test -s conftest.err
; then
35745 ac_cpp_err
=$ac_c_preproc_warn_flag
35746 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35753 if test -z "$ac_cpp_err"; then
35754 ac_header_preproc
=yes
35756 echo "$as_me: failed program was:" >&5
35757 sed 's/^/| /' conftest.
$ac_ext >&5
35759 ac_header_preproc
=no
35761 rm -f conftest.err conftest.
$ac_ext
35762 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35763 echo "${ECHO_T}$ac_header_preproc" >&6
35765 # So? What about this header?
35766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35768 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35769 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35771 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35772 ac_header_preproc
=yes
35775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35776 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35778 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35779 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35780 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35781 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35782 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35785 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35786 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35789 ## ----------------------------------------- ##
35790 ## Report this to wx-dev@lists.wxwidgets.org ##
35791 ## ----------------------------------------- ##
35794 sed "s/^/$as_me: WARNING: /" >&2
35797 echo "$as_me:$LINENO: checking for $ac_header" >&5
35798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35800 echo $ECHO_N "(cached) $ECHO_C" >&6
35802 eval "$as_ac_Header=\$ac_header_preproc"
35804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35809 cat >>confdefs.h
<<_ACEOF
35810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35817 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35819 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35820 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35825 if test "$wxUSE_JOYSTICK" = "yes"; then
35826 cat >>confdefs.h
<<\_ACEOF
35827 #define wxUSE_JOYSTICK 1
35830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35836 if test "$wxUSE_FONTMAP" = "yes" ; then
35837 cat >>confdefs.h
<<\_ACEOF
35838 #define wxUSE_FONTMAP 1
35843 if test "$wxUSE_UNICODE" = "yes" ; then
35844 cat >>confdefs.h
<<\_ACEOF
35845 #define wxUSE_UNICODE 1
35849 if test "$USE_WIN32" != 1; then
35850 wxUSE_UNICODE_MSLU
=no
35853 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35854 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35855 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35856 if test "${ac_cv_lib_unicows_main+set}" = set; then
35857 echo $ECHO_N "(cached) $ECHO_C" >&6
35859 ac_check_lib_save_LIBS
=$LIBS
35860 LIBS
="-lunicows $LIBS"
35861 cat >conftest.
$ac_ext <<_ACEOF
35864 cat confdefs.h
>>conftest.
$ac_ext
35865 cat >>conftest.
$ac_ext <<_ACEOF
35866 /* end confdefs.h. */
35877 rm -f conftest.
$ac_objext conftest
$ac_exeext
35878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35879 (eval $ac_link) 2>conftest.er1
35881 grep -v '^ *+' conftest.er1
>conftest.err
35883 cat conftest.err
>&5
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); } &&
35886 { ac_try
='test -z "$ac_c_werror_flag" || 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_exeext'
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 ac_cv_lib_unicows_main
=yes
35900 echo "$as_me: failed program was:" >&5
35901 sed 's/^/| /' conftest.
$ac_ext >&5
35903 ac_cv_lib_unicows_main
=no
35905 rm -f conftest.err conftest.
$ac_objext \
35906 conftest
$ac_exeext conftest.
$ac_ext
35907 LIBS
=$ac_check_lib_save_LIBS
35909 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35910 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35911 if test $ac_cv_lib_unicows_main = yes; then
35913 cat >>confdefs.h
<<\_ACEOF
35914 #define wxUSE_UNICODE_MSLU 1
35920 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35921 Applications will only run on Windows NT/2000/XP!" >&5
35922 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35923 Applications will only run on Windows NT/2000/XP!" >&2;}
35924 wxUSE_UNICODE_MSLU
=no
35931 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35932 cat >>confdefs.h
<<\_ACEOF
35933 #define wxUSE_EXPERIMENTAL_PRINTF 1
35939 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35940 cat >>confdefs.h
<<\_ACEOF
35941 #define wxUSE_POSTSCRIPT 1
35946 cat >>confdefs.h
<<\_ACEOF
35947 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35951 cat >>confdefs.h
<<\_ACEOF
35952 #define wxUSE_NORMALIZED_PS_FONTS 1
35957 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35958 cat >>confdefs.h
<<\_ACEOF
35959 #define wxUSE_CONSTRAINTS 1
35962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35965 if test "$wxUSE_MDI" = "yes"; then
35966 cat >>confdefs.h
<<\_ACEOF
35967 #define wxUSE_MDI 1
35971 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35972 cat >>confdefs.h
<<\_ACEOF
35973 #define wxUSE_MDI_ARCHITECTURE 1
35976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35980 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35981 cat >>confdefs.h
<<\_ACEOF
35982 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
35985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35986 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
35991 if test "$wxUSE_HELP" = "yes"; then
35992 cat >>confdefs.h
<<\_ACEOF
35993 #define wxUSE_HELP 1
35996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35998 if test "$wxUSE_MSW" = 1; then
35999 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36000 cat >>confdefs.h
<<\_ACEOF
36001 #define wxUSE_MS_HTML_HELP 1
36007 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36008 if test "$wxUSE_HTML" = "yes"; then
36009 cat >>confdefs.h
<<\_ACEOF
36010 #define wxUSE_WXHTML_HELP 1
36014 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36015 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36016 wxUSE_WXHTML_HELP
=no
36021 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36022 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36023 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36024 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36026 cat >>confdefs.h
<<\_ACEOF
36027 #define wxUSE_PRINTING_ARCHITECTURE 1
36031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36034 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36035 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36036 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36037 { (exit 1); exit 1; }; }
36041 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36042 -o "$wxUSE_CLIPBOARD" = "yes" \
36043 -o "$wxUSE_OLE" = "yes" \
36044 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36046 for ac_header
in ole2.h
36048 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36050 echo "$as_me:$LINENO: checking for $ac_header" >&5
36051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36053 echo $ECHO_N "(cached) $ECHO_C" >&6
36055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36058 # Is the header compilable?
36059 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36060 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36061 cat >conftest.
$ac_ext <<_ACEOF
36064 cat confdefs.h
>>conftest.
$ac_ext
36065 cat >>conftest.
$ac_ext <<_ACEOF
36066 /* end confdefs.h. */
36067 $ac_includes_default
36068 #include <$ac_header>
36070 rm -f conftest.
$ac_objext
36071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36072 (eval $ac_compile) 2>conftest.er1
36074 grep -v '^ *+' conftest.er1
>conftest.err
36076 cat conftest.err
>&5
36077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36078 (exit $ac_status); } &&
36079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36081 (eval $ac_try) 2>&5
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); }; } &&
36085 { ac_try
='test -s conftest.$ac_objext'
36086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36087 (eval $ac_try) 2>&5
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); }; }; then
36091 ac_header_compiler
=yes
36093 echo "$as_me: failed program was:" >&5
36094 sed 's/^/| /' conftest.
$ac_ext >&5
36096 ac_header_compiler
=no
36098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36100 echo "${ECHO_T}$ac_header_compiler" >&6
36102 # Is the header present?
36103 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36105 cat >conftest.
$ac_ext <<_ACEOF
36108 cat confdefs.h
>>conftest.
$ac_ext
36109 cat >>conftest.
$ac_ext <<_ACEOF
36110 /* end confdefs.h. */
36111 #include <$ac_header>
36113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36114 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36116 grep -v '^ *+' conftest.er1
>conftest.err
36118 cat conftest.err
>&5
36119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120 (exit $ac_status); } >/dev
/null
; then
36121 if test -s conftest.err
; then
36122 ac_cpp_err
=$ac_c_preproc_warn_flag
36123 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36130 if test -z "$ac_cpp_err"; then
36131 ac_header_preproc
=yes
36133 echo "$as_me: failed program was:" >&5
36134 sed 's/^/| /' conftest.
$ac_ext >&5
36136 ac_header_preproc
=no
36138 rm -f conftest.err conftest.
$ac_ext
36139 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36140 echo "${ECHO_T}$ac_header_preproc" >&6
36142 # So? What about this header?
36143 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36145 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36146 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36148 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36149 ac_header_preproc
=yes
36152 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36153 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36154 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36155 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36156 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36157 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36158 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36159 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36161 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36162 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36163 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36166 ## ----------------------------------------- ##
36167 ## Report this to wx-dev@lists.wxwidgets.org ##
36168 ## ----------------------------------------- ##
36171 sed "s/^/$as_me: WARNING: /" >&2
36174 echo "$as_me:$LINENO: checking for $ac_header" >&5
36175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36177 echo $ECHO_N "(cached) $ECHO_C" >&6
36179 eval "$as_ac_Header=\$ac_header_preproc"
36181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36186 cat >>confdefs.h
<<_ACEOF
36187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36195 if test "$ac_cv_header_ole2_h" = "yes" ; then
36196 if test "$GCC" = yes ; then
36200 ac_cpp
='$CXXCPP $CPPFLAGS'
36201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36206 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36207 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36208 cat >conftest.
$ac_ext <<_ACEOF
36211 cat confdefs.h
>>conftest.
$ac_ext
36212 cat >>conftest.
$ac_ext <<_ACEOF
36213 /* end confdefs.h. */
36214 #include <windows.h>
36224 rm -f conftest.
$ac_objext
36225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36226 (eval $ac_compile) 2>conftest.er1
36228 grep -v '^ *+' conftest.er1
>conftest.err
36230 cat conftest.err
>&5
36231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36232 (exit $ac_status); } &&
36233 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36235 (eval $ac_try) 2>&5
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); }; } &&
36239 { ac_try
='test -s conftest.$ac_objext'
36240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36241 (eval $ac_try) 2>&5
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); }; }; then
36245 echo "$as_me:$LINENO: result: no" >&5
36246 echo "${ECHO_T}no" >&6
36248 echo "$as_me: failed program was:" >&5
36249 sed 's/^/| /' conftest.
$ac_ext >&5
36251 echo "$as_me:$LINENO: result: yes" >&5
36252 echo "${ECHO_T}yes" >&6
36253 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36257 ac_cpp
='$CPP $CPPFLAGS'
36258 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36259 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36260 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36262 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36263 if test "$wxUSE_OLE" = "yes" ; then
36264 cat >>confdefs.h
<<\_ACEOF
36265 #define wxUSE_OLE 1
36271 if test "$wxUSE_DATAOBJ" = "yes" ; then
36272 cat >>confdefs.h
<<\_ACEOF
36273 #define wxUSE_DATAOBJ 1
36278 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36279 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36282 wxUSE_DRAG_AND_DROP
=no
36287 if test "$wxUSE_METAFILE" = "yes"; then
36288 cat >>confdefs.h
<<\_ACEOF
36289 #define wxUSE_METAFILE 1
36293 cat >>confdefs.h
<<\_ACEOF
36294 #define wxUSE_ENH_METAFILE 1
36300 if test "$wxUSE_IPC" = "yes"; then
36301 if test "$wxUSE_SOCKETS" != "yes"; then
36302 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36303 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36306 cat >>confdefs.h
<<\_ACEOF
36307 #define wxUSE_IPC 1
36312 if test "$wxUSE_CLIPBOARD" = "yes"; then
36313 if test "$wxUSE_MGL" = 1; then
36314 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36315 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36319 if test "$wxUSE_CLIPBOARD" = "yes"; then
36320 cat >>confdefs.h
<<\_ACEOF
36321 #define wxUSE_CLIPBOARD 1
36325 cat >>confdefs.h
<<\_ACEOF
36326 #define wxUSE_DATAOBJ 1
36332 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36333 if test "$wxUSE_GTK" = 1; then
36334 if test "$WXGTK12" != 1; then
36335 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36336 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36337 wxUSE_DRAG_AND_DROP
=no
36341 if test "$wxUSE_MOTIF" = 1; then
36342 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36343 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36344 wxUSE_DRAG_AND_DROP
=no
36347 if test "$wxUSE_X11" = 1; then
36348 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36349 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36350 wxUSE_DRAG_AND_DROP
=no
36353 if test "$wxUSE_MGL" = 1; then
36354 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36355 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36356 wxUSE_DRAG_AND_DROP
=no
36359 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36360 cat >>confdefs.h
<<\_ACEOF
36361 #define wxUSE_DRAG_AND_DROP 1
36368 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36372 if test "$wxUSE_SPLINES" = "yes" ; then
36373 cat >>confdefs.h
<<\_ACEOF
36374 #define wxUSE_SPLINES 1
36381 if test "$wxUSE_CONTROLS" = "yes"; then
36385 if test "$wxUSE_ACCEL" = "yes"; then
36386 cat >>confdefs.h
<<\_ACEOF
36387 #define wxUSE_ACCEL 1
36393 if test "$wxUSE_BUTTON" = "yes"; then
36394 cat >>confdefs.h
<<\_ACEOF
36395 #define wxUSE_BUTTON 1
36401 if test "$wxUSE_BMPBUTTON" = "yes"; then
36402 cat >>confdefs.h
<<\_ACEOF
36403 #define wxUSE_BMPBUTTON 1
36409 if test "$wxUSE_CALCTRL" = "yes"; then
36410 cat >>confdefs.h
<<\_ACEOF
36411 #define wxUSE_CALENDARCTRL 1
36415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36418 if test "$wxUSE_CARET" = "yes"; then
36419 cat >>confdefs.h
<<\_ACEOF
36420 #define wxUSE_CARET 1
36424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36427 if test "$wxUSE_COMBOBOX" = "yes"; then
36428 cat >>confdefs.h
<<\_ACEOF
36429 #define wxUSE_COMBOBOX 1
36435 if test "$wxUSE_CHOICE" = "yes"; then
36436 cat >>confdefs.h
<<\_ACEOF
36437 #define wxUSE_CHOICE 1
36443 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36444 cat >>confdefs.h
<<\_ACEOF
36445 #define wxUSE_CHOICEBOOK 1
36451 if test "$wxUSE_CHECKBOX" = "yes"; then
36452 cat >>confdefs.h
<<\_ACEOF
36453 #define wxUSE_CHECKBOX 1
36459 if test "$wxUSE_CHECKLST" = "yes"; then
36460 cat >>confdefs.h
<<\_ACEOF
36461 #define wxUSE_CHECKLISTBOX 1
36465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36468 if test "$wxUSE_DISPLAY" = "yes"; then
36469 cat >>confdefs.h
<<\_ACEOF
36470 #define wxUSE_DISPLAY 1
36473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36476 if test "$wxUSE_GAUGE" = "yes"; then
36477 cat >>confdefs.h
<<\_ACEOF
36478 #define wxUSE_GAUGE 1
36484 if test "$wxUSE_GRID" = "yes"; then
36485 cat >>confdefs.h
<<\_ACEOF
36486 #define wxUSE_GRID 1
36490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36493 if test "$wxUSE_IMAGLIST" = "yes"; then
36494 cat >>confdefs.h
<<\_ACEOF
36495 #define wxUSE_IMAGLIST 1
36500 if test "$wxUSE_LISTBOOK" = "yes"; then
36501 cat >>confdefs.h
<<\_ACEOF
36502 #define wxUSE_LISTBOOK 1
36508 if test "$wxUSE_LISTBOX" = "yes"; then
36509 cat >>confdefs.h
<<\_ACEOF
36510 #define wxUSE_LISTBOX 1
36516 if test "$wxUSE_LISTCTRL" = "yes"; then
36517 if test "$wxUSE_IMAGLIST" = "yes"; then
36518 cat >>confdefs.h
<<\_ACEOF
36519 #define wxUSE_LISTCTRL 1
36523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36525 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36526 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36530 if test "$wxUSE_NOTEBOOK" = "yes"; then
36531 cat >>confdefs.h
<<\_ACEOF
36532 #define wxUSE_NOTEBOOK 1
36536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36540 if test "$wxUSE_RADIOBOX" = "yes"; then
36541 cat >>confdefs.h
<<\_ACEOF
36542 #define wxUSE_RADIOBOX 1
36548 if test "$wxUSE_RADIOBTN" = "yes"; then
36549 cat >>confdefs.h
<<\_ACEOF
36550 #define wxUSE_RADIOBTN 1
36556 if test "$wxUSE_SASH" = "yes"; then
36557 cat >>confdefs.h
<<\_ACEOF
36558 #define wxUSE_SASH 1
36561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36564 if test "$wxUSE_SCROLLBAR" = "yes"; then
36565 cat >>confdefs.h
<<\_ACEOF
36566 #define wxUSE_SCROLLBAR 1
36570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36573 if test "$wxUSE_SLIDER" = "yes"; then
36574 cat >>confdefs.h
<<\_ACEOF
36575 #define wxUSE_SLIDER 1
36581 if test "$wxUSE_SPINBTN" = "yes"; then
36582 cat >>confdefs.h
<<\_ACEOF
36583 #define wxUSE_SPINBTN 1
36589 if test "$wxUSE_SPINCTRL" = "yes"; then
36590 cat >>confdefs.h
<<\_ACEOF
36591 #define wxUSE_SPINCTRL 1
36597 if test "$wxUSE_SPLITTER" = "yes"; then
36598 cat >>confdefs.h
<<\_ACEOF
36599 #define wxUSE_SPLITTER 1
36602 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36605 if test "$wxUSE_STATBMP" = "yes"; then
36606 cat >>confdefs.h
<<\_ACEOF
36607 #define wxUSE_STATBMP 1
36613 if test "$wxUSE_STATBOX" = "yes"; then
36614 cat >>confdefs.h
<<\_ACEOF
36615 #define wxUSE_STATBOX 1
36621 if test "$wxUSE_STATTEXT" = "yes"; then
36622 cat >>confdefs.h
<<\_ACEOF
36623 #define wxUSE_STATTEXT 1
36629 if test "$wxUSE_STATLINE" = "yes"; then
36630 cat >>confdefs.h
<<\_ACEOF
36631 #define wxUSE_STATLINE 1
36637 if test "$wxUSE_STATUSBAR" = "yes"; then
36638 cat >>confdefs.h
<<\_ACEOF
36639 #define wxUSE_STATUSBAR 1
36644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36647 if test "$wxUSE_TABDIALOG" = "yes"; then
36648 cat >>confdefs.h
<<\_ACEOF
36649 #define wxUSE_TAB_DIALOG 1
36652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36655 if test "$wxUSE_TEXTCTRL" = "yes"; then
36656 cat >>confdefs.h
<<\_ACEOF
36657 #define wxUSE_TEXTCTRL 1
36661 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36664 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36665 if test "$wxUSE_COCOA" = 1 ; then
36666 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36667 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36670 if test "$wxUSE_PM" = 1; then
36671 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36672 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36676 if test "$wxUSE_UNIVERSAL" = "yes"; then
36677 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36678 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36682 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36683 cat >>confdefs.h
<<\_ACEOF
36684 #define wxUSE_TOGGLEBTN 1
36691 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36692 cat >>confdefs.h
<<\_ACEOF
36693 #define wxUSE_TOOLBAR_SIMPLE 1
36696 wxUSE_TOOLBAR
="yes"
36700 if test "$wxUSE_TOOLBAR" = "yes"; then
36701 cat >>confdefs.h
<<\_ACEOF
36702 #define wxUSE_TOOLBAR 1
36707 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36708 wxUSE_TOOLBAR_NATIVE
="yes"
36711 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36712 cat >>confdefs.h
<<\_ACEOF
36713 #define wxUSE_TOOLBAR_NATIVE 1
36719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36722 if test "$wxUSE_TOOLTIPS" = "yes"; then
36723 if test "$wxUSE_MOTIF" = 1; then
36724 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36725 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36727 if test "$wxUSE_UNIVERSAL" = "yes"; then
36728 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36729 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36731 cat >>confdefs.h
<<\_ACEOF
36732 #define wxUSE_TOOLTIPS 1
36739 if test "$wxUSE_TREECTRL" = "yes"; then
36740 if test "$wxUSE_IMAGLIST" = "yes"; then
36741 cat >>confdefs.h
<<\_ACEOF
36742 #define wxUSE_TREECTRL 1
36746 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36748 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36749 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36753 if test "$wxUSE_POPUPWIN" = "yes"; then
36754 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36755 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36756 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36758 if test "$wxUSE_PM" = 1; then
36759 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36760 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36762 cat >>confdefs.h
<<\_ACEOF
36763 #define wxUSE_POPUPWIN 1
36772 if test "$wxUSE_TIPWINDOW" = "yes"; then
36773 if test "$wxUSE_PM" = 1; then
36774 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36775 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36777 cat >>confdefs.h
<<\_ACEOF
36778 #define wxUSE_TIPWINDOW 1
36784 if test "$USES_CONTROLS" = 1; then
36785 cat >>confdefs.h
<<\_ACEOF
36786 #define wxUSE_CONTROLS 1
36792 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36793 cat >>confdefs.h
<<\_ACEOF
36794 #define wxUSE_ACCESSIBILITY 1
36797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36800 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36801 cat >>confdefs.h
<<\_ACEOF
36802 #define wxUSE_DRAGIMAGE 1
36805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36808 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36809 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36810 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36811 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36813 cat >>confdefs.h
<<\_ACEOF
36814 #define wxUSE_EXCEPTIONS 1
36817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36822 if test "$wxUSE_HTML" = "yes"; then
36823 cat >>confdefs.h
<<\_ACEOF
36824 #define wxUSE_HTML 1
36828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36829 if test "$wxUSE_MAC" = 1; then
36830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36833 if test "$wxUSE_WEBKIT" = "yes"; then
36834 if test "$wxUSE_MAC" = 1; then
36835 old_CPPFLAGS
="$CPPFLAGS"
36836 CPPFLAGS
="$CPPFLAGS -x objective-c++"
36837 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36838 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36839 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36840 echo $ECHO_N "(cached) $ECHO_C" >&6
36842 cat >conftest.
$ac_ext <<_ACEOF
36845 cat confdefs.h
>>conftest.
$ac_ext
36846 cat >>conftest.
$ac_ext <<_ACEOF
36847 /* end confdefs.h. */
36848 #include <Carbon/Carbon.h>
36850 #include <WebKit/HIWebView.h>
36852 rm -f conftest.
$ac_objext
36853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36854 (eval $ac_compile) 2>conftest.er1
36856 grep -v '^ *+' conftest.er1
>conftest.err
36858 cat conftest.err
>&5
36859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36860 (exit $ac_status); } &&
36861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36863 (eval $ac_try) 2>&5
36865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866 (exit $ac_status); }; } &&
36867 { ac_try
='test -s conftest.$ac_objext'
36868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36869 (eval $ac_try) 2>&5
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); }; }; then
36873 ac_cv_header_WebKit_HIWebView_h
=yes
36875 echo "$as_me: failed program was:" >&5
36876 sed 's/^/| /' conftest.
$ac_ext >&5
36878 ac_cv_header_WebKit_HIWebView_h
=no
36880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36882 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36883 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36884 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36886 cat >>confdefs.h
<<\_ACEOF
36887 #define wxUSE_WEBKIT 1
36890 WEBKIT_LINK
="-framework WebKit"
36894 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36895 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36901 CPPFLAGS
="$old_CPPFLAGS"
36902 elif test "$wxUSE_COCOA" = 1; then
36903 cat >>confdefs.h
<<\_ACEOF
36904 #define wxUSE_WEBKIT 1
36913 if test "$wxUSE_XRC" = "yes"; then
36914 if test "$wxUSE_XML" != "yes"; then
36915 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
36916 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36919 cat >>confdefs.h
<<\_ACEOF
36920 #define wxUSE_XRC 1
36924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36928 if test "$wxUSE_MENUS" = "yes"; then
36929 cat >>confdefs.h
<<\_ACEOF
36930 #define wxUSE_MENUS 1
36933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36936 if test "$wxUSE_METAFILE" = "yes"; then
36937 cat >>confdefs.h
<<\_ACEOF
36938 #define wxUSE_METAFILE 1
36943 if test "$wxUSE_MIMETYPE" = "yes"; then
36944 cat >>confdefs.h
<<\_ACEOF
36945 #define wxUSE_MIMETYPE 1
36950 if test "$wxUSE_MINIFRAME" = "yes"; then
36951 cat >>confdefs.h
<<\_ACEOF
36952 #define wxUSE_MINIFRAME 1
36955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
36958 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36959 cat >>confdefs.h
<<\_ACEOF
36960 #define wxUSE_SYSTEM_OPTIONS 1
36963 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36964 "$TOOLKIT" = "MOTIF"; then
36965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36970 if test "$wxUSE_VALIDATORS" = "yes"; then
36971 cat >>confdefs.h
<<\_ACEOF
36972 #define wxUSE_VALIDATORS 1
36975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36978 if test "$wxUSE_PALETTE" = "yes" ; then
36979 cat >>confdefs.h
<<\_ACEOF
36980 #define wxUSE_PALETTE 1
36985 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36986 LIBS
=" -lunicows $LIBS"
36990 if test "$wxUSE_IMAGE" = "yes" ; then
36991 cat >>confdefs.h
<<\_ACEOF
36992 #define wxUSE_IMAGE 1
36996 if test "$wxUSE_GIF" = "yes" ; then
36997 cat >>confdefs.h
<<\_ACEOF
36998 #define wxUSE_GIF 1
37003 if test "$wxUSE_PCX" = "yes" ; then
37004 cat >>confdefs.h
<<\_ACEOF
37005 #define wxUSE_PCX 1
37010 if test "$wxUSE_IFF" = "yes" ; then
37011 cat >>confdefs.h
<<\_ACEOF
37012 #define wxUSE_IFF 1
37017 if test "$wxUSE_PNM" = "yes" ; then
37018 cat >>confdefs.h
<<\_ACEOF
37019 #define wxUSE_PNM 1
37024 if test "$wxUSE_XPM" = "yes" ; then
37025 cat >>confdefs.h
<<\_ACEOF
37026 #define wxUSE_XPM 1
37031 if test "$wxUSE_ICO_CUR" = "yes" ; then
37032 cat >>confdefs.h
<<\_ACEOF
37033 #define wxUSE_ICO_CUR 1
37040 if test "$wxUSE_CHOICEDLG" = "yes"; then
37041 cat >>confdefs.h
<<\_ACEOF
37042 #define wxUSE_CHOICEDLG 1
37047 if test "$wxUSE_COLOURDLG" = "yes"; then
37048 cat >>confdefs.h
<<\_ACEOF
37049 #define wxUSE_COLOURDLG 1
37054 if test "$wxUSE_FILEDLG" = "yes"; then
37055 cat >>confdefs.h
<<\_ACEOF
37056 #define wxUSE_FILEDLG 1
37061 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37062 cat >>confdefs.h
<<\_ACEOF
37063 #define wxUSE_FINDREPLDLG 1
37068 if test "$wxUSE_FONTDLG" = "yes"; then
37069 cat >>confdefs.h
<<\_ACEOF
37070 #define wxUSE_FONTDLG 1
37075 if test "$wxUSE_DIRDLG" = "yes"; then
37076 if test "$wxUSE_TREECTRL" != "yes"; then
37077 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37078 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37080 cat >>confdefs.h
<<\_ACEOF
37081 #define wxUSE_DIRDLG 1
37087 if test "$wxUSE_MSGDLG" = "yes"; then
37088 cat >>confdefs.h
<<\_ACEOF
37089 #define wxUSE_MSGDLG 1
37094 if test "$wxUSE_NUMBERDLG" = "yes"; then
37095 cat >>confdefs.h
<<\_ACEOF
37096 #define wxUSE_NUMBERDLG 1
37101 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37102 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37103 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37104 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37106 cat >>confdefs.h
<<\_ACEOF
37107 #define wxUSE_PROGRESSDLG 1
37113 if test "$wxUSE_SPLASH" = "yes"; then
37114 cat >>confdefs.h
<<\_ACEOF
37115 #define wxUSE_SPLASH 1
37118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37121 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37122 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37123 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37124 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37126 cat >>confdefs.h
<<\_ACEOF
37127 #define wxUSE_STARTUP_TIPS 1
37133 if test "$wxUSE_TEXTDLG" = "yes"; then
37134 cat >>confdefs.h
<<\_ACEOF
37135 #define wxUSE_TEXTDLG 1
37140 if test "$wxUSE_WIZARDDLG" = "yes"; then
37141 cat >>confdefs.h
<<\_ACEOF
37142 #define wxUSE_WIZARDDLG 1
37145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37149 if test "$cross_compiling" = "yes"; then
37152 OSINFO
=`uname -s -r -m`
37153 OSINFO
="\"$OSINFO\""
37156 cat >>confdefs.h
<<_ACEOF
37157 #define WXWIN_OS_DESCRIPTION $OSINFO
37162 if test "x$prefix" != "xNONE"; then
37165 wxPREFIX
=$ac_default_prefix
37168 cat >>confdefs.h
<<_ACEOF
37169 #define wxINSTALL_PREFIX "$wxPREFIX"
37175 CORE_BASE_LIBS
="net base"
37176 CORE_GUI_LIBS
="adv core"
37178 if test "$wxUSE_XML" = "yes" ; then
37179 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37181 if test "$wxUSE_ODBC" != "no" ; then
37182 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37183 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37185 if test "$wxUSE_HTML" = "yes" ; then
37186 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37188 if test "$wxUSE_XRC" = "yes" ; then
37189 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
37192 if test "$wxUSE_GUI" != "yes"; then
37203 if test "$wxUSE_MAC" = 1 ; then
37204 if test "$wxUSE_SOUND" = "yes"; then
37205 LDFLAGS
="$LDFLAGS -framework QuickTime"
37207 if test "$USE_DARWIN" = 1; then
37208 LDFLAGS
="$LDFLAGS -framework IOKit"
37210 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37212 if test "$wxUSE_COCOA" = 1 ; then
37213 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37217 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37225 echo "$as_me:$LINENO: checking for $ac_func" >&5
37226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37227 if eval "test \"\${$as_ac_var+set}\" = set"; then
37228 echo $ECHO_N "(cached) $ECHO_C" >&6
37230 cat >conftest.
$ac_ext <<_ACEOF
37233 cat confdefs.h
>>conftest.
$ac_ext
37234 cat >>conftest.
$ac_ext <<_ACEOF
37235 /* end confdefs.h. */
37236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37238 #define $ac_func innocuous_$ac_func
37240 /* System header to define __stub macros and hopefully few prototypes,
37241 which can conflict with char $ac_func (); below.
37242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37243 <limits.h> exists even on freestanding compilers. */
37246 # include <limits.h>
37248 # include <assert.h>
37253 /* Override any gcc2 internal prototype to avoid an error. */
37258 /* We use char because int might match the return type of a gcc2
37259 builtin and then its argument prototype would still apply. */
37261 /* The GNU C library defines this for functions which it implements
37262 to always fail with ENOSYS. Some functions are actually named
37263 something starting with __ and the normal name is an alias. */
37264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37267 char (*f) () = $ac_func;
37276 return f != $ac_func;
37281 rm -f conftest.
$ac_objext conftest
$ac_exeext
37282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37283 (eval $ac_link) 2>conftest.er1
37285 grep -v '^ *+' conftest.er1
>conftest.err
37287 cat conftest.err
>&5
37288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37289 (exit $ac_status); } &&
37290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37292 (eval $ac_try) 2>&5
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); }; } &&
37296 { ac_try
='test -s conftest$ac_exeext'
37297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37298 (eval $ac_try) 2>&5
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); }; }; then
37302 eval "$as_ac_var=yes"
37304 echo "$as_me: failed program was:" >&5
37305 sed 's/^/| /' conftest.
$ac_ext >&5
37307 eval "$as_ac_var=no"
37309 rm -f conftest.err conftest.
$ac_objext \
37310 conftest
$ac_exeext conftest.
$ac_ext
37312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37314 if test `eval echo '${'$as_ac_var'}'` = yes; then
37315 cat >>confdefs.h
<<_ACEOF
37316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37323 for ac_func
in floor
37325 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37326 echo "$as_me:$LINENO: checking for $ac_func" >&5
37327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37328 if eval "test \"\${$as_ac_var+set}\" = set"; then
37329 echo $ECHO_N "(cached) $ECHO_C" >&6
37331 cat >conftest.
$ac_ext <<_ACEOF
37334 cat confdefs.h
>>conftest.
$ac_ext
37335 cat >>conftest.
$ac_ext <<_ACEOF
37336 /* end confdefs.h. */
37337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37339 #define $ac_func innocuous_$ac_func
37341 /* System header to define __stub macros and hopefully few prototypes,
37342 which can conflict with char $ac_func (); below.
37343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37344 <limits.h> exists even on freestanding compilers. */
37347 # include <limits.h>
37349 # include <assert.h>
37354 /* Override any gcc2 internal prototype to avoid an error. */
37359 /* We use char because int might match the return type of a gcc2
37360 builtin and then its argument prototype would still apply. */
37362 /* The GNU C library defines this for functions which it implements
37363 to always fail with ENOSYS. Some functions are actually named
37364 something starting with __ and the normal name is an alias. */
37365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37368 char (*f) () = $ac_func;
37377 return f != $ac_func;
37382 rm -f conftest.
$ac_objext conftest
$ac_exeext
37383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37384 (eval $ac_link) 2>conftest.er1
37386 grep -v '^ *+' conftest.er1
>conftest.err
37388 cat conftest.err
>&5
37389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390 (exit $ac_status); } &&
37391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37393 (eval $ac_try) 2>&5
37395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37396 (exit $ac_status); }; } &&
37397 { ac_try
='test -s conftest$ac_exeext'
37398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37399 (eval $ac_try) 2>&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); }; }; then
37403 eval "$as_ac_var=yes"
37405 echo "$as_me: failed program was:" >&5
37406 sed 's/^/| /' conftest.
$ac_ext >&5
37408 eval "$as_ac_var=no"
37410 rm -f conftest.err conftest.
$ac_objext \
37411 conftest
$ac_exeext conftest.
$ac_ext
37413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37415 if test `eval echo '${'$as_ac_var'}'` = yes; then
37416 cat >>confdefs.h
<<_ACEOF
37417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37423 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37424 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37425 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37426 echo "$as_me:$LINENO: result: yes" >&5
37427 echo "${ECHO_T}yes" >&6
37429 echo "$as_me:$LINENO: result: no" >&5
37430 echo "${ECHO_T}no" >&6
37432 # use different functions to avoid configure caching
37438 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37439 echo "$as_me:$LINENO: checking for $ac_func" >&5
37440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37441 if eval "test \"\${$as_ac_var+set}\" = set"; then
37442 echo $ECHO_N "(cached) $ECHO_C" >&6
37444 cat >conftest.
$ac_ext <<_ACEOF
37447 cat confdefs.h
>>conftest.
$ac_ext
37448 cat >>conftest.
$ac_ext <<_ACEOF
37449 /* end confdefs.h. */
37450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37452 #define $ac_func innocuous_$ac_func
37454 /* System header to define __stub macros and hopefully few prototypes,
37455 which can conflict with char $ac_func (); below.
37456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37457 <limits.h> exists even on freestanding compilers. */
37460 # include <limits.h>
37462 # include <assert.h>
37467 /* Override any gcc2 internal prototype to avoid an error. */
37472 /* We use char because int might match the return type of a gcc2
37473 builtin and then its argument prototype would still apply. */
37475 /* The GNU C library defines this for functions which it implements
37476 to always fail with ENOSYS. Some functions are actually named
37477 something starting with __ and the normal name is an alias. */
37478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37481 char (*f) () = $ac_func;
37490 return f != $ac_func;
37495 rm -f conftest.
$ac_objext conftest
$ac_exeext
37496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37497 (eval $ac_link) 2>conftest.er1
37499 grep -v '^ *+' conftest.er1
>conftest.err
37501 cat conftest.err
>&5
37502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503 (exit $ac_status); } &&
37504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37506 (eval $ac_try) 2>&5
37508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37509 (exit $ac_status); }; } &&
37510 { ac_try
='test -s conftest$ac_exeext'
37511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37512 (eval $ac_try) 2>&5
37514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37515 (exit $ac_status); }; }; then
37516 eval "$as_ac_var=yes"
37518 echo "$as_me: failed program was:" >&5
37519 sed 's/^/| /' conftest.
$ac_ext >&5
37521 eval "$as_ac_var=no"
37523 rm -f conftest.err conftest.
$ac_objext \
37524 conftest
$ac_exeext conftest.
$ac_ext
37526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37528 if test `eval echo '${'$as_ac_var'}'` = yes; then
37529 cat >>confdefs.h
<<_ACEOF
37530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37537 for ac_func
in ceil
37539 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37540 echo "$as_me:$LINENO: checking for $ac_func" >&5
37541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37542 if eval "test \"\${$as_ac_var+set}\" = set"; then
37543 echo $ECHO_N "(cached) $ECHO_C" >&6
37545 cat >conftest.
$ac_ext <<_ACEOF
37548 cat confdefs.h
>>conftest.
$ac_ext
37549 cat >>conftest.
$ac_ext <<_ACEOF
37550 /* end confdefs.h. */
37551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37553 #define $ac_func innocuous_$ac_func
37555 /* System header to define __stub macros and hopefully few prototypes,
37556 which can conflict with char $ac_func (); below.
37557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37558 <limits.h> exists even on freestanding compilers. */
37561 # include <limits.h>
37563 # include <assert.h>
37568 /* Override any gcc2 internal prototype to avoid an error. */
37573 /* We use char because int might match the return type of a gcc2
37574 builtin and then its argument prototype would still apply. */
37576 /* The GNU C library defines this for functions which it implements
37577 to always fail with ENOSYS. Some functions are actually named
37578 something starting with __ and the normal name is an alias. */
37579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37582 char (*f) () = $ac_func;
37591 return f != $ac_func;
37596 rm -f conftest.
$ac_objext conftest
$ac_exeext
37597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37598 (eval $ac_link) 2>conftest.er1
37600 grep -v '^ *+' conftest.er1
>conftest.err
37602 cat conftest.err
>&5
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); } &&
37605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37607 (eval $ac_try) 2>&5
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); }; } &&
37611 { ac_try
='test -s conftest$ac_exeext'
37612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37613 (eval $ac_try) 2>&5
37615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616 (exit $ac_status); }; }; then
37617 eval "$as_ac_var=yes"
37619 echo "$as_me: failed program was:" >&5
37620 sed 's/^/| /' conftest.
$ac_ext >&5
37622 eval "$as_ac_var=no"
37624 rm -f conftest.err conftest.
$ac_objext \
37625 conftest
$ac_exeext conftest.
$ac_ext
37627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37629 if test `eval echo '${'$as_ac_var'}'` = yes; then
37630 cat >>confdefs.h
<<_ACEOF
37631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37637 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37638 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37639 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37640 echo "$as_me:$LINENO: result: yes" >&5
37641 echo "${ECHO_T}yes" >&6
37643 echo "$as_me:$LINENO: result: no" >&5
37644 echo "${ECHO_T}no" >&6
37645 # not sure we should warn the user, crash, etc.
37649 if test "$wxUSE_GUI" = "yes"; then
37652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37653 drawing dynamic erase event exec font image \
37654 minimal propsize rotate shaped widgets render"
37656 if test "$wxUSE_MONOLITHIC" != "yes"; then
37657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37660 SAMPLES_SUBDIRS
="console"
37664 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37665 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37667 if test "$GXX" = yes ; then
37668 CXXWARNINGS
="-Wall"
37671 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37673 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37674 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37675 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37679 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37680 EXTRALIBS_XML
="$EXPAT_LINK"
37681 EXTRALIBS_HTML
="$MSPACK_LINK"
37682 EXTRALIBS_ODBC
="$ODBC_LINK"
37683 if test "$wxUSE_GUI" = "yes"; then
37684 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37686 if test "$wxUSE_OPENGL" = "yes"; then
37687 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37690 LDFLAGS
="$LDFLAGS $PROFILE"
37692 if test "$wxUSE_GTK" = 1; then
37695 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37698 WXCONFIG_EXTRALIBS
="$LIBS"
37700 if test "$wxUSE_REGEX" = "builtin" ; then
37701 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37703 if test "$wxUSE_EXPAT" = "builtin" ; then
37704 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37706 if test "$wxUSE_ODBC" = "builtin" ; then
37707 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37709 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37710 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37712 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37713 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37715 if test "$wxUSE_LIBPNG" = "builtin" ; then
37716 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37718 if test "$wxUSE_ZLIB" = "builtin" ; then
37719 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37721 if test "$wxUSE_ODBC" = "builtin" ; then
37722 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37725 for i
in $wxconfig_3rdparty ; do
37726 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37730 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37744 if test $wxUSE_MONOLITHIC = "yes" ; then
37750 if test $wxUSE_PLUGINS = "yes" ; then
37756 if test $wxUSE_ODBC != "no" ; then
37762 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37789 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37800 TOOLKIT_USER
="GTK+"
37801 if test "$WXGTK20" = 1; then
37802 TOOLKIT_USER
="$TOOLKIT_USER 2"
37807 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
37812 if test "x$BAKEFILE_HOST" = "x"; then
37813 BAKEFILE_HOST
="${host}"
37816 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37818 if test -n "$ac_tool_prefix"; then
37819 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37820 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37821 echo "$as_me:$LINENO: checking for $ac_word" >&5
37822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37823 if test "${ac_cv_prog_RANLIB+set}" = set; then
37824 echo $ECHO_N "(cached) $ECHO_C" >&6
37826 if test -n "$RANLIB"; then
37827 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37830 for as_dir
in $PATH
37833 test -z "$as_dir" && as_dir
=.
37834 for ac_exec_ext
in '' $ac_executable_extensions; do
37835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37836 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37845 RANLIB
=$ac_cv_prog_RANLIB
37846 if test -n "$RANLIB"; then
37847 echo "$as_me:$LINENO: result: $RANLIB" >&5
37848 echo "${ECHO_T}$RANLIB" >&6
37850 echo "$as_me:$LINENO: result: no" >&5
37851 echo "${ECHO_T}no" >&6
37855 if test -z "$ac_cv_prog_RANLIB"; then
37856 ac_ct_RANLIB
=$RANLIB
37857 # Extract the first word of "ranlib", so it can be a program name with args.
37858 set dummy ranlib
; ac_word
=$2
37859 echo "$as_me:$LINENO: checking for $ac_word" >&5
37860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37861 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37862 echo $ECHO_N "(cached) $ECHO_C" >&6
37864 if test -n "$ac_ct_RANLIB"; then
37865 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37868 for as_dir
in $PATH
37871 test -z "$as_dir" && as_dir
=.
37872 for ac_exec_ext
in '' $ac_executable_extensions; do
37873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37874 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37881 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37884 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37885 if test -n "$ac_ct_RANLIB"; then
37886 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37887 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37889 echo "$as_me:$LINENO: result: no" >&5
37890 echo "${ECHO_T}no" >&6
37893 RANLIB
=$ac_ct_RANLIB
37895 RANLIB
="$ac_cv_prog_RANLIB"
37898 # Find a good install program. We prefer a C program (faster),
37899 # so one script is as good as another. But avoid the broken or
37900 # incompatible versions:
37901 # SysV /etc/install, /usr/sbin/install
37902 # SunOS /usr/etc/install
37903 # IRIX /sbin/install
37905 # AmigaOS /C/install, which installs bootblocks on floppy discs
37906 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37907 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37908 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37909 # OS/2's system install, which has a completely different semantic
37910 # ./install, which can be erroneously created by make from ./install.sh.
37911 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37912 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37913 if test -z "$INSTALL"; then
37914 if test "${ac_cv_path_install+set}" = set; then
37915 echo $ECHO_N "(cached) $ECHO_C" >&6
37917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37918 for as_dir
in $PATH
37921 test -z "$as_dir" && as_dir
=.
37922 # Account for people who put trailing slashes in PATH elements.
37924 .
/ | .
// | /cC
/* | \
37925 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37926 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
37929 # OSF1 and SCO ODT 3.0 have their own names for install.
37930 # Don't use installbsd from OSF since it installs stuff as root
37932 for ac_prog
in ginstall scoinst
install; do
37933 for ac_exec_ext
in '' $ac_executable_extensions; do
37934 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37935 if test $ac_prog = install &&
37936 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37937 # AIX install. It has an incompatible calling convention.
37939 elif test $ac_prog = install &&
37940 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37941 # program-specific install script used by HP pwplus--don't use.
37944 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37956 if test "${ac_cv_path_install+set}" = set; then
37957 INSTALL
=$ac_cv_path_install
37959 # As a last resort, use the slow shell script. We don't cache a
37960 # path for INSTALL within a source directory, because that will
37961 # break other packages using the cache if that directory is
37962 # removed, or if the path is relative.
37963 INSTALL
=$ac_install_sh
37966 echo "$as_me:$LINENO: result: $INSTALL" >&5
37967 echo "${ECHO_T}$INSTALL" >&6
37969 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37970 # It thinks the first close brace ends the variable substitution.
37971 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37973 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37975 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37977 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37978 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37980 if test "$LN_S" = "ln -s"; then
37981 echo "$as_me:$LINENO: result: yes" >&5
37982 echo "${ECHO_T}yes" >&6
37984 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37985 echo "${ECHO_T}no, using $LN_S" >&6
37989 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37990 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37991 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
37992 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37993 echo $ECHO_N "(cached) $ECHO_C" >&6
37995 cat >conftest.
make <<\_ACEOF
37997 @
echo 'ac_maketemp="$(MAKE)"'
37999 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38000 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38001 if test -n "$ac_maketemp"; then
38002 eval ac_cv_prog_make_
${ac_make}_set
=yes
38004 eval ac_cv_prog_make_
${ac_make}_set
=no
38006 rm -f conftest.
make
38008 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38009 echo "$as_me:$LINENO: result: yes" >&5
38010 echo "${ECHO_T}yes" >&6
38013 echo "$as_me:$LINENO: result: no" >&5
38014 echo "${ECHO_T}no" >&6
38015 SET_MAKE
="MAKE=${MAKE-make}"
38020 if test -n "$ac_tool_prefix"; then
38021 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38022 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38023 echo "$as_me:$LINENO: checking for $ac_word" >&5
38024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38025 if test "${ac_cv_prog_AR+set}" = set; then
38026 echo $ECHO_N "(cached) $ECHO_C" >&6
38028 if test -n "$AR"; then
38029 ac_cv_prog_AR
="$AR" # Let the user override the test.
38031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38032 for as_dir
in $PATH
38035 test -z "$as_dir" && as_dir
=.
38036 for ac_exec_ext
in '' $ac_executable_extensions; do
38037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38038 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38048 if test -n "$AR"; then
38049 echo "$as_me:$LINENO: result: $AR" >&5
38050 echo "${ECHO_T}$AR" >&6
38052 echo "$as_me:$LINENO: result: no" >&5
38053 echo "${ECHO_T}no" >&6
38057 if test -z "$ac_cv_prog_AR"; then
38059 # Extract the first word of "ar", so it can be a program name with args.
38060 set dummy
ar; ac_word
=$2
38061 echo "$as_me:$LINENO: checking for $ac_word" >&5
38062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38063 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38064 echo $ECHO_N "(cached) $ECHO_C" >&6
38066 if test -n "$ac_ct_AR"; then
38067 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38070 for as_dir
in $PATH
38073 test -z "$as_dir" && as_dir
=.
38074 for ac_exec_ext
in '' $ac_executable_extensions; do
38075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38076 ac_cv_prog_ac_ct_AR
="ar"
38077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38083 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38086 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38087 if test -n "$ac_ct_AR"; then
38088 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38089 echo "${ECHO_T}$ac_ct_AR" >&6
38091 echo "$as_me:$LINENO: result: no" >&5
38092 echo "${ECHO_T}no" >&6
38097 AR
="$ac_cv_prog_AR"
38100 if test -n "$ac_tool_prefix"; then
38101 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38102 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38103 echo "$as_me:$LINENO: checking for $ac_word" >&5
38104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38105 if test "${ac_cv_prog_STRIP+set}" = set; then
38106 echo $ECHO_N "(cached) $ECHO_C" >&6
38108 if test -n "$STRIP"; then
38109 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38112 for as_dir
in $PATH
38115 test -z "$as_dir" && as_dir
=.
38116 for ac_exec_ext
in '' $ac_executable_extensions; do
38117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38118 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38127 STRIP
=$ac_cv_prog_STRIP
38128 if test -n "$STRIP"; then
38129 echo "$as_me:$LINENO: result: $STRIP" >&5
38130 echo "${ECHO_T}$STRIP" >&6
38132 echo "$as_me:$LINENO: result: no" >&5
38133 echo "${ECHO_T}no" >&6
38137 if test -z "$ac_cv_prog_STRIP"; then
38139 # Extract the first word of "strip", so it can be a program name with args.
38140 set dummy strip
; ac_word
=$2
38141 echo "$as_me:$LINENO: checking for $ac_word" >&5
38142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38143 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38144 echo $ECHO_N "(cached) $ECHO_C" >&6
38146 if test -n "$ac_ct_STRIP"; then
38147 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38150 for as_dir
in $PATH
38153 test -z "$as_dir" && as_dir
=.
38154 for ac_exec_ext
in '' $ac_executable_extensions; do
38155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38156 ac_cv_prog_ac_ct_STRIP
="strip"
38157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38163 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38166 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38167 if test -n "$ac_ct_STRIP"; then
38168 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38169 echo "${ECHO_T}$ac_ct_STRIP" >&6
38171 echo "$as_me:$LINENO: result: no" >&5
38172 echo "${ECHO_T}no" >&6
38177 STRIP
="$ac_cv_prog_STRIP"
38180 if test -n "$ac_tool_prefix"; then
38181 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38182 set dummy
${ac_tool_prefix}nm
; 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_NM+set}" = set; then
38186 echo $ECHO_N "(cached) $ECHO_C" >&6
38188 if test -n "$NM"; then
38189 ac_cv_prog_NM
="$NM" # 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_NM
="${ac_tool_prefix}nm"
38199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38208 if test -n "$NM"; then
38209 echo "$as_me:$LINENO: result: $NM" >&5
38210 echo "${ECHO_T}$NM" >&6
38212 echo "$as_me:$LINENO: result: no" >&5
38213 echo "${ECHO_T}no" >&6
38217 if test -z "$ac_cv_prog_NM"; then
38219 # Extract the first word of "nm", so it can be a program name with args.
38220 set dummy nm
; 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_NM+set}" = set; then
38224 echo $ECHO_N "(cached) $ECHO_C" >&6
38226 if test -n "$ac_ct_NM"; then
38227 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # 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_NM
="nm"
38237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38243 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38246 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38247 if test -n "$ac_ct_NM"; then
38248 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38249 echo "${ECHO_T}$ac_ct_NM" >&6
38251 echo "$as_me:$LINENO: result: no" >&5
38252 echo "${ECHO_T}no" >&6
38257 NM
="$ac_cv_prog_NM"
38261 case ${BAKEFILE_HOST} in
38263 INSTALL_DIR
="mkdir -p"
38265 *) INSTALL_DIR
="$INSTALL -d"
38271 case ${BAKEFILE_HOST} in
38272 *-*-cygwin* | *-*-mingw32* )
38273 LDFLAGS_GUI
="-mwindows"
38279 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38280 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38281 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38282 echo $ECHO_N "(cached) $ECHO_C" >&6
38285 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38286 egrep -s GNU
> /dev
/null
); then
38287 bakefile_cv_prog_makeisgnu
="yes"
38289 bakefile_cv_prog_makeisgnu
="no"
38293 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38294 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38296 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38311 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38312 case "${BAKEFILE_HOST}" in
38313 *-*-cygwin* | *-*-mingw32* )
38319 *-pc-os2_emx | *-pc-os2-emx )
38322 powerpc
-*-darwin* )
38331 case "$BAKEFILE_FORCE_PLATFORM" in
38349 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38350 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38351 { (exit 1); exit 1; }; }
38364 # Check whether --enable-omf or --disable-omf was given.
38365 if test "${enable_omf+set}" = set; then
38366 enableval
="$enable_omf"
38367 bk_os2_use_omf
="$enableval"
38370 case "${BAKEFILE_HOST}" in
38372 CFLAGS
="$CFLAGS -fno-common"
38373 CXXFLAGS
="$CXXFLAGS -fno-common"
38376 *-pc-os2_emx | *-pc-os2-emx )
38377 if test "x$bk_os2_use_omf" = "xyes" ; then
38380 LDFLAGS
="-Zomf $LDFLAGS"
38381 CFLAGS
="-Zomf $CFLAGS"
38382 CXXFLAGS
="-Zomf $CXXFLAGS"
38392 SO_SUFFIX_MODULE
="so"
38397 DLLPREFIX_MODULE
=""
38400 case "${BAKEFILE_HOST}" in
38403 SO_SUFFIX_MODULE
="sl"
38407 SO_SUFFIX_MODULE
="a"
38409 *-*-cygwin* | *-*-mingw32* )
38411 SO_SUFFIX_MODULE
="dll"
38412 DLLIMP_SUFFIX
="dll.a"
38420 *-pc-os2_emx | *-pc-os2-emx )
38422 SO_SUFFIX_MODULE
="dll"
38423 DLLIMP_SUFFIX
=$OS2_LIBEXT
38427 LIBEXT
=".$OS2_LIBEXT"
38429 powerpc
-*-darwin* )
38431 SO_SUFFIX_MODULE
="bundle"
38435 if test "x$DLLIMP_SUFFIX" = "x" ; then
38436 DLLIMP_SUFFIX
="$SO_SUFFIX"
38449 SHARED_LD_CC
="\$(CC) -shared -o"
38450 SHARED_LD_CXX
="\$(CXX) -shared -o"
38452 if test "x$GCC" = "xyes"; then
38456 case "${BAKEFILE_HOST}" in
38458 if test "x$GCC" = "xyes"; then
38459 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38460 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38462 LDFLAGS
="$LDFLAGS -L/usr/lib"
38464 SHARED_LD_CC
="${CC} -b -o"
38465 SHARED_LD_CXX
="${CXX} -b -o"
38471 if test "x$GCC" != "xyes"; then
38472 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38473 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38474 if test "${bakefile_cv_prog_icc+set}" = set; then
38475 echo $ECHO_N "(cached) $ECHO_C" >&6
38478 cat >conftest.
$ac_ext <<_ACEOF
38481 cat confdefs.h
>>conftest.
$ac_ext
38482 cat >>conftest.
$ac_ext <<_ACEOF
38483 /* end confdefs.h. */
38489 #ifndef __INTEL_COMPILER
38497 rm -f conftest.
$ac_objext
38498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38499 (eval $ac_compile) 2>conftest.er1
38501 grep -v '^ *+' conftest.er1
>conftest.err
38503 cat conftest.err
>&5
38504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38505 (exit $ac_status); } &&
38506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38508 (eval $ac_try) 2>&5
38510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38511 (exit $ac_status); }; } &&
38512 { ac_try
='test -s conftest.$ac_objext'
38513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38514 (eval $ac_try) 2>&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); }; }; then
38518 bakefile_cv_prog_icc
=yes
38520 echo "$as_me: failed program was:" >&5
38521 sed 's/^/| /' conftest.
$ac_ext >&5
38523 bakefile_cv_prog_icc
=no
38526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38529 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38530 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38531 if test "$bakefile_cv_prog_icc" = "yes"; then
38538 if test "x$GCC" != xyes
; then
38539 SHARED_LD_CC
="${CC} -G -o"
38540 SHARED_LD_CXX
="${CXX} -G -o"
38547 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38548 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38549 if test "${wx_cv_gcc31+set}" = set; then
38550 echo $ECHO_N "(cached) $ECHO_C" >&6
38553 cat >conftest.
$ac_ext <<_ACEOF
38556 cat confdefs.h
>>conftest.
$ac_ext
38557 cat >>conftest.
$ac_ext <<_ACEOF
38558 /* end confdefs.h. */
38564 #if (__GNUC__ < 3) || \
38565 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38573 rm -f conftest.
$ac_objext
38574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38575 (eval $ac_compile) 2>conftest.er1
38577 grep -v '^ *+' conftest.er1
>conftest.err
38579 cat conftest.err
>&5
38580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38581 (exit $ac_status); } &&
38582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38584 (eval $ac_try) 2>&5
38586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38587 (exit $ac_status); }; } &&
38588 { ac_try
='test -s conftest.$ac_objext'
38589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38590 (eval $ac_try) 2>&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); }; }; then
38598 echo "$as_me: failed program was:" >&5
38599 sed 's/^/| /' conftest.
$ac_ext >&5
38606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38609 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38610 echo "${ECHO_T}$wx_cv_gcc31" >&6
38611 if test "$wx_cv_gcc31" = "no"; then
38614 cat <<EOF >shared-ld-sh
38616 #-----------------------------------------------------------------------------
38617 #-- Name: distrib/mac/shared-ld-sh
38618 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38619 #-- Author: Gilles Depeyrot
38620 #-- Copyright: (c) 2002 Gilles Depeyrot
38621 #-- Licence: any use permitted
38622 #-----------------------------------------------------------------------------
38627 linking_flag="-dynamiclib"
38629 while test ${D}# -gt 0; do
38636 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38637 # collect these options and values
38638 args="${D}{args} ${D}1 ${D}2"
38642 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38643 # collect these options
38644 args="${D}{args} ${D}1"
38647 -dynamiclib|-bundle)
38648 linking_flag="${D}1"
38652 echo "shared-ld: unhandled option '${D}1'"
38656 *.o | *.a | *.dylib)
38657 # collect object files
38658 objects="${D}{objects} ${D}1"
38662 echo "shared-ld: unhandled argument '${D}1'"
38671 # Link one module containing all the others
38673 if test ${D}{verbose} = 1; then
38674 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38676 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38678 if test ${D}{status} != 0; then
38683 # Link the shared library from the single module created
38685 if test ${D}{verbose} = 1; then
38686 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38688 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38690 if test ${D}{status} != 0; then
38695 # Remove intermediate module
38697 rm -f master.${D}${D}.o
38702 chmod +x shared
-ld-sh
38704 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38705 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38706 SHARED_LD_CXX
="$SHARED_LD_CC"
38707 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38709 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38710 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38711 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38712 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38715 PIC_FLAG
="-dynamic -fPIC"
38719 if test "x$GCC" != "xyes"; then
38720 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38721 set dummy makeC
++SharedLib
; ac_word
=$2
38722 echo "$as_me:$LINENO: checking for $ac_word" >&5
38723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38724 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38725 echo $ECHO_N "(cached) $ECHO_C" >&6
38727 if test -n "$AIX_CXX_LD"; then
38728 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38731 for as_dir
in $PATH
38734 test -z "$as_dir" && as_dir
=.
38735 for ac_exec_ext
in '' $ac_executable_extensions; do
38736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38737 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38744 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38747 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38748 if test -n "$AIX_CXX_LD"; then
38749 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38750 echo "${ECHO_T}$AIX_CXX_LD" >&6
38752 echo "$as_me:$LINENO: result: no" >&5
38753 echo "${ECHO_T}no" >&6
38756 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38757 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38762 SHARED_LD_CC
="${LD} -shared -o"
38763 SHARED_LD_CXX
="${LD} -shared -o"
38767 if test "x$GCC" != "xyes"; then
38772 *-*-cygwin* | *-*-mingw32* )
38776 *-pc-os2_emx | *-pc-os2-emx )
38777 SHARED_LD_CC
="`pwd`/dllar.sh -o"
38778 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
38782 cat <<EOF >dllar.sh
38785 # dllar - a tool to build both a .dll and an .a file
38786 # from a set of object (.o) files for EMX/OS2.
38788 # Written by Andrew Zabolotny, bit@freya.etu.ru
38789 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38791 # This script will accept a set of files on the command line.
38792 # All the public symbols from the .o files will be exported into
38793 # a .DEF file, then linker will be run (through gcc) against them to
38794 # build a shared library consisting of all given .o files. All libraries
38795 # (.a) will be first decompressed into component .o files then act as
38796 # described above. You can optionally give a description (-d "description")
38797 # which will be put into .DLL. To see the list of accepted options (as well
38798 # as command-line format) simply run this program without options. The .DLL
38799 # is built to be imported by name (there is no guarantee that new versions
38800 # of the library you build will have same ordinals for same symbols).
38802 # dllar is free software; you can redistribute it and/or modify
38803 # it under the terms of the GNU General Public License as published by
38804 # the Free Software Foundation; either version 2, or (at your option)
38805 # any later version.
38807 # dllar is distributed in the hope that it will be useful,
38808 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38809 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38810 # GNU General Public License for more details.
38812 # You should have received a copy of the GNU General Public License
38813 # along with dllar; see the file COPYING. If not, write to the Free
38814 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38817 # To successfuly run this program you will need:
38818 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38819 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38821 # (used to build the .dll)
38823 # (used to create .def file from .o files)
38825 # (used to create .a file from .def file)
38826 # - GNU text utilites (cat, sort, uniq)
38827 # used to process emxexp output
38828 # - GNU file utilities (mv, rm)
38830 # - lxlite (optional, see flag below)
38831 # (used for general .dll cleanup)
38838 # basnam, variant of basename, which does _not_ remove the path, _iff_
38839 # second argument (suffix to remove) is given
38843 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38846 echo ${D}1 | sed 's/'${D}2'${D}//'
38849 echo "error in basnam ${D}*"
38855 # Cleanup temporary files and output
38858 for i in ${D}inputFiles ; do
38861 rm -rf \`basnam ${D}i !\`
38868 # Kill result in case of failure as there is just to many stupid make/nmake
38869 # things out there which doesn't do this.
38870 if [] ${D}# -eq 0 []; then
38871 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38875 # Print usage and exit script with rc=1.
38877 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
38878 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
38879 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
38880 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
38881 echo ' []*.o[] []*.a[]'
38882 echo '*> "output_file" should have no extension.'
38883 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38884 echo ' The import library name is derived from this and is set to "name".a,'
38885 echo ' unless overridden by -import'
38886 echo '*> "importlib_name" should have no extension.'
38887 echo ' If it has the .o, or .a extension, it is automatically removed.'
38888 echo ' This name is used as the import library name and may be longer and'
38889 echo ' more descriptive than the DLL name which has to follow the old '
38890 echo ' 8.3 convention of FAT.'
38891 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38892 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38893 echo ' These flags will be put at the start of GCC command line.'
38894 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
38895 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
38896 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38897 echo ' If the last character of a symbol is "*", all symbols beginning'
38898 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38899 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
38900 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38901 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
38902 echo ' C runtime DLLs.'
38903 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
38904 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38905 echo ' unchanged to GCC at the end of command line.'
38906 echo '*> If you create a DLL from a library and you do not specify -o,'
38907 echo ' the basename for DLL and import library will be set to library name,'
38908 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38909 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38910 echo ' library will be renamed into gcc_s.a.'
38913 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38914 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38919 # Execute a command.
38920 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38921 # @Uses Whatever CleanUp() uses.
38927 if [] ${D}rcCmd -ne 0 []; then
38928 echo "command failed, exit code="${D}rcCmd
38942 CFLAGS="-s -Zcrtdll"
38944 EXPORT_BY_ORDINALS=0
38949 case ${D}curDirS in
38953 curDirS=${D}{curDirS}"/"
38956 # Parse commandline
38958 while [] ${D}1 []; do
38961 EXPORT_BY_ORDINALS=1;
38988 exclude_symbols=${D}{exclude_symbols}${D}1" "
38992 library_flags=${D}{library_flags}${D}1" "
39008 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39012 if [] ${D}libsToLink -ne 0 []; then
39013 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39015 for file in ${D}1 ; do
39016 if [] -f ${D}file []; then
39017 inputFiles="${D}{inputFiles} ${D}file"
39021 if [] ${D}found -eq 0 []; then
39022 echo "ERROR: No file(s) found: "${D}1
39029 done # iterate cmdline words
39032 if [] -z "${D}inputFiles" []; then
39033 echo "dllar: no input files"
39037 # Now extract all .o files from .a files
39039 for file in ${D}inputFiles ; do
39050 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39055 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39057 if [] ${D}? -ne 0 []; then
39058 echo "Failed to create subdirectory ./${D}dirname"
39062 # Append '!' to indicate archive
39063 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39064 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39067 for subfile in ${D}dirname/*.o* ; do
39068 if [] -f ${D}subfile []; then
39070 if [] -s ${D}subfile []; then
39071 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39072 newInputFiles="${D}newInputFiles ${D}subfile"
39076 if [] ${D}found -eq 0 []; then
39077 echo "WARNING: there are no files in archive \'${D}file\'"
39081 newInputFiles="${D}{newInputFiles} ${D}file"
39085 inputFiles="${D}newInputFiles"
39087 # Output filename(s).
39089 if [] -z ${D}outFile []; then
39091 set outFile ${D}inputFiles; outFile=${D}2
39094 # If it is an archive, remove the '!' and the '_%' suffixes
39095 case ${D}outFile in
39097 outFile=\`basnam ${D}outFile _%!\`
39102 case ${D}outFile in
39104 outFile=\`basnam ${D}outFile .dll\`
39107 outFile=\`basnam ${D}outFile .DLL\`
39110 outFile=\`basnam ${D}outFile .o\`
39113 outFile=\`basnam ${D}outFile .obj\`
39116 outFile=\`basnam ${D}outFile .a\`
39119 outFile=\`basnam ${D}outFile .lib\`
39124 case ${D}outimpFile in
39126 outimpFile=\`basnam ${D}outimpFile .a\`
39129 outimpFile=\`basnam ${D}outimpFile .lib\`
39134 if [] -z ${D}outimpFile []; then
39135 outimpFile=${D}outFile
39137 defFile="${D}{outFile}.def"
39138 arcFile="${D}{outimpFile}.a"
39139 arcFile2="${D}{outimpFile}.lib"
39140 dllFile="${D}outFile"
39141 # Add suffix to dllFile later, first we need a version to use as
39142 # name in .def file.
39144 if [] ${D}do_backup -ne 0 [] ; then
39145 if [] -f ${D}arcFile [] ; then
39146 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39148 if [] -f ${D}arcFile2 [] ; then
39149 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39153 # Extract public symbols from all the object files.
39154 tmpdefFile=${D}{defFile}_%
39155 rm -f ${D}tmpdefFile
39156 for file in ${D}inputFiles ; do
39161 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39166 # Create the def file.
39168 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39169 dllFile="${D}dllFile.dll"
39170 if [] -n ${D}description []; then
39171 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39173 echo "EXPORTS" >> ${D}defFile
39175 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39176 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39178 # Checks if the export is ok or not.
39179 for word in ${D}exclude_symbols; do
39180 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39181 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39185 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39186 sed "=" < ${D}tmpdefFile | \
39190 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39192 ' > ${D}{tmpdefFile}%
39193 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39195 rm -f ${D}{tmpdefFile}%
39197 cat ${D}tmpdefFile >> ${D}defFile
39198 rm -f ${D}tmpdefFile
39200 # Do linking, create implib, and apply lxlite.
39202 for file in ${D}inputFiles ; do
39207 gccCmdl="${D}gccCmdl ${D}file"
39211 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39212 touch "${D}{outFile}.dll"
39214 doCommand "emximp -o ${D}arcFile ${D}defFile"
39215 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39217 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39220 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39222 doCommand "emxomf -s -l ${D}arcFile"
39232 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39240 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39241 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39242 { (exit 1); exit 1; }; }
39245 if test "x$PIC_FLAG" != "x" ; then
39246 PIC_FLAG
="$PIC_FLAG -DPIC"
39249 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39250 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39252 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39253 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39270 case "${BAKEFILE_HOST}" in
39272 SONAME_FLAG
="-Wl,-soname,"
39300 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39301 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39304 if test "x$GCC" = "xyes"; then
39307 case "${BAKEFILE_HOST}" in
39308 powerpc
-*-darwin* )
39309 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39312 DEPSFLAG_GCC
="-MMD"
39315 echo "$as_me:$LINENO: result: gcc" >&5
39316 echo "${ECHO_T}gcc" >&6
39318 echo "$as_me:$LINENO: result: none" >&5
39319 echo "${ECHO_T}none" >&6
39322 if test $DEPS_TRACKING = 1 ; then
39328 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39329 # script. It is used to track C/C++ files dependencies in portable way.
39331 # Permission is given to use this file in any way.
39333 DEPSMODE=${DEPSMODE}
39335 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39337 mkdir -p ${D}DEPSDIR
39339 if test ${D}DEPSMODE = gcc ; then
39340 ${D}* ${D}{DEPSFLAG_GCC}
39342 if test ${D}{status} != 0 ; then
39345 # move created file to the location we want it in:
39346 while test ${D}# -gt 0; do
39360 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39361 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39362 if test -f ${D}depfile ; then
39363 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39366 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39367 if test -f ${D}depfile ; then
39368 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39388 case ${BAKEFILE_HOST} in
39389 *-*-cygwin* | *-*-mingw32* )
39390 if test "$build" != "$host" ; then
39391 RESCOMP
=$host_alias-windres
39393 # Extract the first word of "windres", so it can be a program name with args.
39394 set dummy windres
; ac_word
=$2
39395 echo "$as_me:$LINENO: checking for $ac_word" >&5
39396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39397 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39398 echo $ECHO_N "(cached) $ECHO_C" >&6
39400 if test -n "$RESCOMP"; then
39401 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39404 for as_dir
in $PATH
39407 test -z "$as_dir" && as_dir
=.
39408 for ac_exec_ext
in '' $ac_executable_extensions; do
39409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39410 ac_cv_prog_RESCOMP
="windres"
39411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39417 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39420 RESCOMP
=$ac_cv_prog_RESCOMP
39421 if test -n "$RESCOMP"; then
39422 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39423 echo "${ECHO_T}$RESCOMP" >&6
39425 echo "$as_me:$LINENO: result: no" >&5
39426 echo "${ECHO_T}no" >&6
39433 # Extract the first word of "Rez", so it can be a program name with args.
39434 set dummy Rez
; ac_word
=$2
39435 echo "$as_me:$LINENO: checking for $ac_word" >&5
39436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39437 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39438 echo $ECHO_N "(cached) $ECHO_C" >&6
39440 if test -n "$RESCOMP"; then
39441 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39444 for as_dir
in $PATH
39447 test -z "$as_dir" && as_dir
=.
39448 for ac_exec_ext
in '' $ac_executable_extensions; do
39449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39450 ac_cv_prog_RESCOMP
="Rez"
39451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39457 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39460 RESCOMP
=$ac_cv_prog_RESCOMP
39461 if test -n "$RESCOMP"; then
39462 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39463 echo "${ECHO_T}$RESCOMP" >&6
39465 echo "$as_me:$LINENO: result: no" >&5
39466 echo "${ECHO_T}no" >&6
39469 # Extract the first word of "SetFile", so it can be a program name with args.
39470 set dummy SetFile
; ac_word
=$2
39471 echo "$as_me:$LINENO: checking for $ac_word" >&5
39472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39473 if test "${ac_cv_prog_SETFILE+set}" = set; then
39474 echo $ECHO_N "(cached) $ECHO_C" >&6
39476 if test -n "$SETFILE"; then
39477 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39480 for as_dir
in $PATH
39483 test -z "$as_dir" && as_dir
=.
39484 for ac_exec_ext
in '' $ac_executable_extensions; do
39485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39486 ac_cv_prog_SETFILE
="SetFile"
39487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39493 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39496 SETFILE
=$ac_cv_prog_SETFILE
39497 if test -n "$SETFILE"; then
39498 echo "$as_me:$LINENO: result: $SETFILE" >&5
39499 echo "${ECHO_T}$SETFILE" >&6
39501 echo "$as_me:$LINENO: result: no" >&5
39502 echo "${ECHO_T}no" >&6
39512 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39516 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39520 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39521 if test "${enable_precomp_headers+set}" = set; then
39522 enableval
="$enable_precomp_headers"
39523 bk_use_pch
="$enableval"
39528 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39529 if test "x$GCC" = "xyes"; then
39530 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39531 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39532 cat >conftest.
$ac_ext <<_ACEOF
39535 cat confdefs.h
>>conftest.
$ac_ext
39536 cat >>conftest.
$ac_ext <<_ACEOF
39537 /* end confdefs.h. */
39543 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39544 #error "no pch support"
39547 #error "no pch support"
39549 #if (__GNUC__ == 3) && \
39550 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39551 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39552 #error "no pch support"
39559 rm -f conftest.
$ac_objext
39560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39561 (eval $ac_compile) 2>conftest.er1
39563 grep -v '^ *+' conftest.er1
>conftest.err
39565 cat conftest.err
>&5
39566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39567 (exit $ac_status); } &&
39568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39570 (eval $ac_try) 2>&5
39572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39573 (exit $ac_status); }; } &&
39574 { ac_try
='test -s conftest.$ac_objext'
39575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39576 (eval $ac_try) 2>&5
39578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39579 (exit $ac_status); }; }; then
39581 echo "$as_me:$LINENO: result: yes" >&5
39582 echo "${ECHO_T}yes" >&6
39586 echo "$as_me: failed program was:" >&5
39587 sed 's/^/| /' conftest.
$ac_ext >&5
39590 echo "$as_me:$LINENO: result: no" >&5
39591 echo "${ECHO_T}no" >&6
39594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39595 if test $GCC_PCH = 1 ; then
39596 cat <<EOF >bk-make-pch
39599 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39600 # script. It is used to generated precompiled headers.
39602 # Permission is given to use this file in any way.
39611 while test \${#} -gt 0; do
39614 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39615 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39616 headerfile="\${incdir}/\${header}"
39620 compiler="\${compiler} \${1}"
39624 if test "x\${headerfile}" = "x" ; then
39625 echo "error: can't find header \${header} in include paths" >2
39627 if test -f \${outfile} ; then
39630 mkdir -p \`dirname \${outfile}\`
39632 depsfile=".deps/\`basename \${outfile}\`.d"
39634 # can do this because gcc is >= 3.4:
39635 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39639 chmod +x bk
-make-pch
39650 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39651 if test "${enable_precomp_headers+set}" = set; then
39652 enableval
="$enable_precomp_headers"
39653 bk_use_pch
="$enableval"
39658 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39659 if test "x$GCC" = "xyes"; then
39660 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39661 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39662 cat >conftest.
$ac_ext <<_ACEOF
39665 cat confdefs.h
>>conftest.
$ac_ext
39666 cat >>conftest.
$ac_ext <<_ACEOF
39667 /* end confdefs.h. */
39673 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39674 #error "no pch support"
39677 #error "no pch support"
39679 #if (__GNUC__ == 3) && \
39680 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39681 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39682 #error "no pch support"
39689 rm -f conftest.
$ac_objext
39690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39691 (eval $ac_compile) 2>conftest.er1
39693 grep -v '^ *+' conftest.er1
>conftest.err
39695 cat conftest.err
>&5
39696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39697 (exit $ac_status); } &&
39698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39700 (eval $ac_try) 2>&5
39702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39703 (exit $ac_status); }; } &&
39704 { ac_try
='test -s conftest.$ac_objext'
39705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39706 (eval $ac_try) 2>&5
39708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39709 (exit $ac_status); }; }; then
39711 echo "$as_me:$LINENO: result: yes" >&5
39712 echo "${ECHO_T}yes" >&6
39716 echo "$as_me: failed program was:" >&5
39717 sed 's/^/| /' conftest.
$ac_ext >&5
39720 echo "$as_me:$LINENO: result: no" >&5
39721 echo "${ECHO_T}no" >&6
39724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39725 if test $GCC_PCH = 1 ; then
39726 cat <<EOF >bk-make-pch
39729 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39730 # script. It is used to generated precompiled headers.
39732 # Permission is given to use this file in any way.
39741 while test \${#} -gt 0; do
39744 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39745 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39746 headerfile="\${incdir}/\${header}"
39750 compiler="\${compiler} \${1}"
39754 if test "x\${headerfile}" = "x" ; then
39755 echo "error: can't find header \${header} in include paths" >2
39757 if test -f \${outfile} ; then
39760 mkdir -p \`dirname \${outfile}\`
39762 depsfile=".deps/\`basename \${outfile}\`.d"
39764 # can do this because gcc is >= 3.4:
39765 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39769 chmod +x bk
-make-pch
39776 COND_BUILD_DEBUG
="#"
39777 if test "x$BUILD" = "xdebug" ; then
39778 COND_BUILD_DEBUG
=""
39781 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39782 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39783 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39786 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39787 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39788 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39791 COND_BUILD_DEBUG_UNICODE_0
="#"
39792 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39793 COND_BUILD_DEBUG_UNICODE_0
=""
39796 COND_BUILD_DEBUG_UNICODE_1
="#"
39797 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39798 COND_BUILD_DEBUG_UNICODE_1
=""
39801 COND_BUILD_RELEASE
="#"
39802 if test "x$BUILD" = "xrelease" ; then
39803 COND_BUILD_RELEASE
=""
39806 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39807 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39808 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39811 COND_BUILD_RELEASE_UNICODE_0
="#"
39812 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39813 COND_BUILD_RELEASE_UNICODE_0
=""
39816 COND_BUILD_RELEASE_UNICODE_1
="#"
39817 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39818 COND_BUILD_RELEASE_UNICODE_1
=""
39821 COND_DEBUG_FLAG_1
="#"
39822 if test "x$DEBUG_FLAG" = "x1" ; then
39823 COND_DEBUG_FLAG_1
=""
39826 COND_DEBUG_INFO_0
="#"
39827 if test "x$DEBUG_INFO" = "x0" ; then
39828 COND_DEBUG_INFO_0
=""
39831 COND_DEBUG_INFO_1
="#"
39832 if test "x$DEBUG_INFO" = "x1" ; then
39833 COND_DEBUG_INFO_1
=""
39836 COND_DEPS_TRACKING_0
="#"
39837 if test "x$DEPS_TRACKING" = "x0" ; then
39838 COND_DEPS_TRACKING_0
=""
39841 COND_DEPS_TRACKING_1
="#"
39842 if test "x$DEPS_TRACKING" = "x1" ; then
39843 COND_DEPS_TRACKING_1
=""
39847 if test "x$GCC_PCH" = "x1" ; then
39851 COND_MONOLITHIC_0
="#"
39852 if test "x$MONOLITHIC" = "x0" ; then
39853 COND_MONOLITHIC_0
=""
39856 COND_MONOLITHIC_0_SHARED_0
="#"
39857 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39858 COND_MONOLITHIC_0_SHARED_0
=""
39861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39862 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39867 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39868 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39871 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39872 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39873 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39876 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39877 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39878 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39881 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
39882 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39883 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
39886 COND_MONOLITHIC_0_SHARED_1
="#"
39887 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39888 COND_MONOLITHIC_0_SHARED_1
=""
39891 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39892 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39893 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39896 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39897 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39898 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39901 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39902 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39903 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39906 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39907 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39908 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39911 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
39912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39913 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
39916 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39917 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39918 COND_MONOLITHIC_0_USE_ODBC_1
=""
39921 COND_MONOLITHIC_1
="#"
39922 if test "x$MONOLITHIC" = "x1" ; then
39923 COND_MONOLITHIC_1
=""
39926 COND_MONOLITHIC_1_SHARED_0
="#"
39927 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39928 COND_MONOLITHIC_1_SHARED_0
=""
39931 COND_MONOLITHIC_1_SHARED_1
="#"
39932 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39933 COND_MONOLITHIC_1_SHARED_1
=""
39936 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39937 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39938 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39941 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39942 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39943 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39946 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39947 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39948 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39951 COND_PLATFORM_MACOSX_1
="#"
39952 if test "x$PLATFORM_MACOSX" = "x1" ; then
39953 COND_PLATFORM_MACOSX_1
=""
39956 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39957 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39958 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39961 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39962 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39963 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39966 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39967 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39968 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39971 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
39972 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
39973 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
39976 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
39977 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
39978 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
39981 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39982 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39983 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39986 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39987 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39988 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39991 COND_PLATFORM_MAC_1
="#"
39992 if test "x$PLATFORM_MAC" = "x1" ; then
39993 COND_PLATFORM_MAC_1
=""
39996 COND_PLATFORM_OS2_1
="#"
39997 if test "x$PLATFORM_OS2" = "x1" ; then
39998 COND_PLATFORM_OS2_1
=""
40001 COND_PLATFORM_UNIX_0
="#"
40002 if test "x$PLATFORM_UNIX" = "x0" ; then
40003 COND_PLATFORM_UNIX_0
=""
40006 COND_PLATFORM_UNIX_1
="#"
40007 if test "x$PLATFORM_UNIX" = "x1" ; then
40008 COND_PLATFORM_UNIX_1
=""
40011 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40012 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40013 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40016 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40017 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40018 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40021 COND_PLATFORM_WIN32_0
="#"
40022 if test "x$PLATFORM_WIN32" = "x0" ; then
40023 COND_PLATFORM_WIN32_0
=""
40026 COND_PLATFORM_WIN32_1
="#"
40027 if test "x$PLATFORM_WIN32" = "x1" ; then
40028 COND_PLATFORM_WIN32_1
=""
40032 if test "x$SHARED" = "x0" ; then
40036 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40037 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40038 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40041 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40042 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40043 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40046 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40047 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40048 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40051 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40052 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40053 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40056 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40057 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40058 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40061 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40062 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40063 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40066 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40067 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40068 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40071 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40072 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40073 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40076 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40077 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40078 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40081 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40082 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40083 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40086 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40087 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40088 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40092 if test "x$SHARED" = "x1" ; then
40096 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40097 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40098 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40101 COND_TOOLKIT_COCOA
="#"
40102 if test "x$TOOLKIT" = "xCOCOA" ; then
40103 COND_TOOLKIT_COCOA
=""
40106 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40107 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40108 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40111 COND_TOOLKIT_GTK
="#"
40112 if test "x$TOOLKIT" = "xGTK" ; then
40113 COND_TOOLKIT_GTK
=""
40116 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40117 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40118 COND_TOOLKIT_GTK_USE_GUI_1
=""
40121 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40122 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40123 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40126 COND_TOOLKIT_MAC
="#"
40127 if test "x$TOOLKIT" = "xMAC" ; then
40128 COND_TOOLKIT_MAC
=""
40131 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40132 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40133 COND_TOOLKIT_MAC_USE_GUI_1
=""
40136 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40137 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40138 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40141 COND_TOOLKIT_MGL
="#"
40142 if test "x$TOOLKIT" = "xMGL" ; then
40143 COND_TOOLKIT_MGL
=""
40146 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40147 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40148 COND_TOOLKIT_MGL_USE_GUI_1
=""
40151 COND_TOOLKIT_MOTIF
="#"
40152 if test "x$TOOLKIT" = "xMOTIF" ; then
40153 COND_TOOLKIT_MOTIF
=""
40156 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40157 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40158 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40161 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40162 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40163 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40166 COND_TOOLKIT_MSW
="#"
40167 if test "x$TOOLKIT" = "xMSW" ; then
40168 COND_TOOLKIT_MSW
=""
40171 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40172 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40173 COND_TOOLKIT_MSW_USE_GUI_1
=""
40176 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40177 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40178 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40181 COND_TOOLKIT_PM
="#"
40182 if test "x$TOOLKIT" = "xPM" ; then
40186 COND_TOOLKIT_PM_USE_GUI_1
="#"
40187 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40188 COND_TOOLKIT_PM_USE_GUI_1
=""
40191 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40192 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40193 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40196 COND_TOOLKIT_WINCE
="#"
40197 if test "x$TOOLKIT" = "xWINCE" ; then
40198 COND_TOOLKIT_WINCE
=""
40201 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40202 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40203 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40206 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40207 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40208 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40211 COND_TOOLKIT_X11
="#"
40212 if test "x$TOOLKIT" = "xX11" ; then
40213 COND_TOOLKIT_X11
=""
40216 COND_TOOLKIT_X11_USE_GUI_1
="#"
40217 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40218 COND_TOOLKIT_X11_USE_GUI_1
=""
40222 if test "x$UNICODE" = "x1" ; then
40226 COND_USE_EXCEPTIONS_0
="#"
40227 if test "x$USE_EXCEPTIONS" = "x0" ; then
40228 COND_USE_EXCEPTIONS_0
=""
40231 COND_USE_EXCEPTIONS_1
="#"
40232 if test "x$USE_EXCEPTIONS" = "x1" ; then
40233 COND_USE_EXCEPTIONS_1
=""
40237 if test "x$USE_GUI" = "x0" ; then
40242 if test "x$USE_GUI" = "x1" ; then
40246 COND_USE_GUI_1_WXUNIV_0
="#"
40247 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40248 COND_USE_GUI_1_WXUNIV_0
=""
40251 COND_USE_GUI_1_WXUNIV_1
="#"
40252 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40253 COND_USE_GUI_1_WXUNIV_1
=""
40256 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40257 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40258 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40261 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40262 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40263 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40266 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40267 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40268 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40271 COND_USE_ODBC_1
="#"
40272 if test "x$USE_ODBC" = "x1" ; then
40276 COND_USE_PLUGINS_0
="#"
40277 if test "x$USE_PLUGINS" = "x0" ; then
40278 COND_USE_PLUGINS_0
=""
40281 COND_USE_SOSYMLINKS_1
="#"
40282 if test "x$USE_SOSYMLINKS" = "x1" ; then
40283 COND_USE_SOSYMLINKS_1
=""
40286 COND_USE_SOVERLINUX_1
="#"
40287 if test "x$USE_SOVERLINUX" = "x1" ; then
40288 COND_USE_SOVERLINUX_1
=""
40291 COND_USE_SOVERSION_0
="#"
40292 if test "x$USE_SOVERSION" = "x0" ; then
40293 COND_USE_SOVERSION_0
=""
40296 COND_USE_SOVERSOLARIS_1
="#"
40297 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40298 COND_USE_SOVERSOLARIS_1
=""
40302 if test "x$USE_XRC" = "x1" ; then
40306 COND_WITH_PLUGIN_SDL_1
="#"
40307 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40308 COND_WITH_PLUGIN_SDL_1
=""
40312 if test "x$WXUNIV" = "x1" ; then
40316 COND_WXUSE_EXPAT_BUILTIN
="#"
40317 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40318 COND_WXUSE_EXPAT_BUILTIN
=""
40321 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40322 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40323 COND_WXUSE_LIBJPEG_BUILTIN
=""
40326 COND_WXUSE_LIBPNG_BUILTIN
="#"
40327 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40328 COND_WXUSE_LIBPNG_BUILTIN
=""
40331 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40332 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40333 COND_WXUSE_LIBTIFF_BUILTIN
=""
40336 COND_WXUSE_ODBC_BUILTIN
="#"
40337 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40338 COND_WXUSE_ODBC_BUILTIN
=""
40341 COND_WXUSE_REGEX_BUILTIN
="#"
40342 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40343 COND_WXUSE_REGEX_BUILTIN
=""
40346 COND_WXUSE_ZLIB_BUILTIN
="#"
40347 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40348 COND_WXUSE_ZLIB_BUILTIN
=""
40351 COND_BUILD_DEBUG
="#"
40352 if test "x$BUILD" = "xdebug" ; then
40353 COND_BUILD_DEBUG
=""
40356 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40357 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40358 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40361 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40362 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40363 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40366 COND_BUILD_DEBUG_UNICODE_0
="#"
40367 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40368 COND_BUILD_DEBUG_UNICODE_0
=""
40371 COND_BUILD_DEBUG_UNICODE_1
="#"
40372 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40373 COND_BUILD_DEBUG_UNICODE_1
=""
40376 COND_BUILD_RELEASE
="#"
40377 if test "x$BUILD" = "xrelease" ; then
40378 COND_BUILD_RELEASE
=""
40381 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40382 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40383 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40386 COND_BUILD_RELEASE_UNICODE_0
="#"
40387 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40388 COND_BUILD_RELEASE_UNICODE_0
=""
40391 COND_BUILD_RELEASE_UNICODE_1
="#"
40392 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40393 COND_BUILD_RELEASE_UNICODE_1
=""
40396 COND_DEBUG_FLAG_1
="#"
40397 if test "x$DEBUG_FLAG" = "x1" ; then
40398 COND_DEBUG_FLAG_1
=""
40401 COND_DEBUG_INFO_0
="#"
40402 if test "x$DEBUG_INFO" = "x0" ; then
40403 COND_DEBUG_INFO_0
=""
40406 COND_DEBUG_INFO_1
="#"
40407 if test "x$DEBUG_INFO" = "x1" ; then
40408 COND_DEBUG_INFO_1
=""
40411 COND_DEPS_TRACKING_0
="#"
40412 if test "x$DEPS_TRACKING" = "x0" ; then
40413 COND_DEPS_TRACKING_0
=""
40416 COND_DEPS_TRACKING_1
="#"
40417 if test "x$DEPS_TRACKING" = "x1" ; then
40418 COND_DEPS_TRACKING_1
=""
40422 if test "x$GCC_PCH" = "x1" ; then
40426 COND_MONOLITHIC_0
="#"
40427 if test "x$MONOLITHIC" = "x0" ; then
40428 COND_MONOLITHIC_0
=""
40431 COND_MONOLITHIC_0_SHARED_0
="#"
40432 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40433 COND_MONOLITHIC_0_SHARED_0
=""
40436 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40437 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40438 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40441 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40442 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40443 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40446 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40447 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40448 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40451 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40452 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40453 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40456 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40457 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40458 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40461 COND_MONOLITHIC_0_SHARED_1
="#"
40462 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40463 COND_MONOLITHIC_0_SHARED_1
=""
40466 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40467 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40468 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40471 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40472 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40473 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40476 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40477 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40478 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40481 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40482 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40483 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40486 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40487 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40488 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40491 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40492 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40493 COND_MONOLITHIC_0_USE_ODBC_1
=""
40496 COND_MONOLITHIC_1
="#"
40497 if test "x$MONOLITHIC" = "x1" ; then
40498 COND_MONOLITHIC_1
=""
40501 COND_MONOLITHIC_1_SHARED_0
="#"
40502 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40503 COND_MONOLITHIC_1_SHARED_0
=""
40506 COND_MONOLITHIC_1_SHARED_1
="#"
40507 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40508 COND_MONOLITHIC_1_SHARED_1
=""
40511 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40512 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40513 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40516 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40517 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40518 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40521 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40522 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40523 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40526 COND_PLATFORM_MACOSX_1
="#"
40527 if test "x$PLATFORM_MACOSX" = "x1" ; then
40528 COND_PLATFORM_MACOSX_1
=""
40531 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40532 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40533 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40536 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40537 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40538 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40541 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40542 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40543 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40546 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40547 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40548 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40551 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40552 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40553 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40556 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40557 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40558 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40561 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40562 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40563 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40566 COND_PLATFORM_MAC_1
="#"
40567 if test "x$PLATFORM_MAC" = "x1" ; then
40568 COND_PLATFORM_MAC_1
=""
40571 COND_PLATFORM_OS2_1
="#"
40572 if test "x$PLATFORM_OS2" = "x1" ; then
40573 COND_PLATFORM_OS2_1
=""
40576 COND_PLATFORM_UNIX_0
="#"
40577 if test "x$PLATFORM_UNIX" = "x0" ; then
40578 COND_PLATFORM_UNIX_0
=""
40581 COND_PLATFORM_UNIX_1
="#"
40582 if test "x$PLATFORM_UNIX" = "x1" ; then
40583 COND_PLATFORM_UNIX_1
=""
40586 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40587 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40588 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40591 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40592 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40593 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40596 COND_PLATFORM_WIN32_0
="#"
40597 if test "x$PLATFORM_WIN32" = "x0" ; then
40598 COND_PLATFORM_WIN32_0
=""
40601 COND_PLATFORM_WIN32_1
="#"
40602 if test "x$PLATFORM_WIN32" = "x1" ; then
40603 COND_PLATFORM_WIN32_1
=""
40607 if test "x$SHARED" = "x0" ; then
40611 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40612 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40613 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40616 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40617 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40618 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40621 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40622 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40623 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40626 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40627 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40628 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40631 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40632 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40633 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40636 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40637 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40638 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40641 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40642 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40643 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40646 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40647 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40648 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40652 if test "x$SHARED" = "x1" ; then
40656 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40657 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40658 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40661 COND_TOOLKIT_COCOA
="#"
40662 if test "x$TOOLKIT" = "xCOCOA" ; then
40663 COND_TOOLKIT_COCOA
=""
40666 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40667 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40668 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40671 COND_TOOLKIT_GTK
="#"
40672 if test "x$TOOLKIT" = "xGTK" ; then
40673 COND_TOOLKIT_GTK
=""
40676 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40677 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40678 COND_TOOLKIT_GTK_USE_GUI_1
=""
40681 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40682 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40683 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40686 COND_TOOLKIT_MAC
="#"
40687 if test "x$TOOLKIT" = "xMAC" ; then
40688 COND_TOOLKIT_MAC
=""
40691 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40692 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40693 COND_TOOLKIT_MAC_USE_GUI_1
=""
40696 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40697 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40698 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40701 COND_TOOLKIT_MAC_WXUNIV_0
="#"
40702 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40703 COND_TOOLKIT_MAC_WXUNIV_0
=""
40706 COND_TOOLKIT_MGL
="#"
40707 if test "x$TOOLKIT" = "xMGL" ; then
40708 COND_TOOLKIT_MGL
=""
40711 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40712 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40713 COND_TOOLKIT_MGL_USE_GUI_1
=""
40716 COND_TOOLKIT_MOTIF
="#"
40717 if test "x$TOOLKIT" = "xMOTIF" ; then
40718 COND_TOOLKIT_MOTIF
=""
40721 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40722 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40723 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40726 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40727 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40728 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40731 COND_TOOLKIT_MSW
="#"
40732 if test "x$TOOLKIT" = "xMSW" ; then
40733 COND_TOOLKIT_MSW
=""
40736 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40737 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40738 COND_TOOLKIT_MSW_USE_GUI_1
=""
40741 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40742 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40743 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40746 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40747 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40748 COND_TOOLKIT_MSW_WXUNIV_0
=""
40751 COND_TOOLKIT_PM
="#"
40752 if test "x$TOOLKIT" = "xPM" ; then
40756 COND_TOOLKIT_PM_USE_GUI_1
="#"
40757 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40758 COND_TOOLKIT_PM_USE_GUI_1
=""
40761 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40762 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40763 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40766 COND_TOOLKIT_PM_WXUNIV_0
="#"
40767 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40768 COND_TOOLKIT_PM_WXUNIV_0
=""
40771 COND_TOOLKIT_WINCE
="#"
40772 if test "x$TOOLKIT" = "xWINCE" ; then
40773 COND_TOOLKIT_WINCE
=""
40776 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40777 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40778 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40781 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40782 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40783 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40786 COND_TOOLKIT_X11
="#"
40787 if test "x$TOOLKIT" = "xX11" ; then
40788 COND_TOOLKIT_X11
=""
40791 COND_TOOLKIT_X11_USE_GUI_1
="#"
40792 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40793 COND_TOOLKIT_X11_USE_GUI_1
=""
40797 if test "x$UNICODE" = "x1" ; then
40801 COND_USE_EXCEPTIONS_0
="#"
40802 if test "x$USE_EXCEPTIONS" = "x0" ; then
40803 COND_USE_EXCEPTIONS_0
=""
40806 COND_USE_EXCEPTIONS_1
="#"
40807 if test "x$USE_EXCEPTIONS" = "x1" ; then
40808 COND_USE_EXCEPTIONS_1
=""
40812 if test "x$USE_GUI" = "x0" ; then
40817 if test "x$USE_GUI" = "x1" ; then
40821 COND_USE_GUI_1_WXUNIV_0
="#"
40822 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40823 COND_USE_GUI_1_WXUNIV_0
=""
40826 COND_USE_GUI_1_WXUNIV_1
="#"
40827 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40828 COND_USE_GUI_1_WXUNIV_1
=""
40831 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40832 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40833 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40836 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40837 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40838 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40841 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40842 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40843 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40846 COND_USE_ODBC_1
="#"
40847 if test "x$USE_ODBC" = "x1" ; then
40851 COND_USE_PLUGINS_0
="#"
40852 if test "x$USE_PLUGINS" = "x0" ; then
40853 COND_USE_PLUGINS_0
=""
40856 COND_USE_SOSYMLINKS_1
="#"
40857 if test "x$USE_SOSYMLINKS" = "x1" ; then
40858 COND_USE_SOSYMLINKS_1
=""
40861 COND_USE_SOVERLINUX_1
="#"
40862 if test "x$USE_SOVERLINUX" = "x1" ; then
40863 COND_USE_SOVERLINUX_1
=""
40866 COND_USE_SOVERSION_0
="#"
40867 if test "x$USE_SOVERSION" = "x0" ; then
40868 COND_USE_SOVERSION_0
=""
40871 COND_USE_SOVERSOLARIS_1
="#"
40872 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40873 COND_USE_SOVERSOLARIS_1
=""
40876 COND_WITH_PLUGIN_SDL_1
="#"
40877 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40878 COND_WITH_PLUGIN_SDL_1
=""
40882 if test "x$WXUNIV" = "x1" ; then
40886 COND_WXUSE_EXPAT_BUILTIN
="#"
40887 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40888 COND_WXUSE_EXPAT_BUILTIN
=""
40891 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40892 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40893 COND_WXUSE_LIBJPEG_BUILTIN
=""
40896 COND_WXUSE_LIBPNG_BUILTIN
="#"
40897 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40898 COND_WXUSE_LIBPNG_BUILTIN
=""
40901 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40902 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40903 COND_WXUSE_LIBTIFF_BUILTIN
=""
40906 COND_WXUSE_ODBC_BUILTIN
="#"
40907 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40908 COND_WXUSE_ODBC_BUILTIN
=""
40911 COND_WXUSE_REGEX_BUILTIN
="#"
40912 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40913 COND_WXUSE_REGEX_BUILTIN
=""
40916 COND_WXUSE_ZLIB_BUILTIN
="#"
40917 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40918 COND_WXUSE_ZLIB_BUILTIN
=""
40923 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40924 { { 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
40925 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;}
40926 { (exit 1); exit 1; }; }
40930 if test "$wxUSE_SHARED" = "yes"; then
40932 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
40933 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
40937 EXE_LINKER
="$CXX -o"
40941 GCC_PRAGMA_FLAGS
=""
40942 if test $GCC_PCH = 1 ; then
40943 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
40946 powerpc
-*-darwin* )
40947 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40950 if test "$wxUSE_STL" = "yes" -o \
40951 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
40952 "$wxUSE_NO_RTTI" != "yes"; then
40953 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
40954 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
40955 cat >conftest.
$ac_ext <<_ACEOF
40958 cat confdefs.h
>>conftest.
$ac_ext
40959 cat >>conftest.
$ac_ext <<_ACEOF
40960 /* end confdefs.h. */
40965 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
40966 #error "Not GCC 3.2 or greater"
40973 rm -f conftest.
$ac_objext
40974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40975 (eval $ac_compile) 2>conftest.er1
40977 grep -v '^ *+' conftest.er1
>conftest.err
40979 cat conftest.err
>&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); } &&
40982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40984 (eval $ac_try) 2>&5
40986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40987 (exit $ac_status); }; } &&
40988 { ac_try
='test -s conftest.$ac_objext'
40989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40990 (eval $ac_try) 2>&5
40992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40993 (exit $ac_status); }; }; then
40994 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40995 echo "$as_me:$LINENO: result: yes" >&5
40996 echo "${ECHO_T}yes" >&6
40998 echo "$as_me: failed program was:" >&5
40999 sed 's/^/| /' conftest.
$ac_ext >&5
41001 echo "$as_me:$LINENO: result: no" >&5
41002 echo "${ECHO_T}no" >&6
41004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41009 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41012 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41076 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41077 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41078 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41079 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41080 echo $ECHO_N "(cached) $ECHO_C" >&6
41082 cat >conftest.
make <<\_ACEOF
41084 @
echo 'ac_maketemp="$(MAKE)"'
41086 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41087 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41088 if test -n "$ac_maketemp"; then
41089 eval ac_cv_prog_make_
${ac_make}_set
=yes
41091 eval ac_cv_prog_make_
${ac_make}_set
=no
41093 rm -f conftest.
make
41095 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41096 echo "$as_me:$LINENO: result: yes" >&5
41097 echo "${ECHO_T}yes" >&6
41100 echo "$as_me:$LINENO: result: no" >&5
41101 echo "${ECHO_T}no" >&6
41102 SET_MAKE
="MAKE=${MAKE-make}"
41107 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41110 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41113 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41116 ac_config_files
="$ac_config_files version-script Makefile"
41119 ac_config_commands
="$ac_config_commands wx-config
41125 if test "$wxUSE_GUI" = "yes"; then
41126 SUBDIRS
="samples demos utils contrib"
41127 else SUBDIRS
="samples utils"
41132 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41133 if test "${with_cppunit_prefix+set}" = set; then
41134 withval
="$with_cppunit_prefix"
41135 cppunit_config_prefix
="$withval"
41137 cppunit_config_prefix
=""
41140 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41141 if test "${with_cppunit_exec_prefix+set}" = set; then
41142 withval
="$with_cppunit_exec_prefix"
41143 cppunit_config_exec_prefix
="$withval"
41145 cppunit_config_exec_prefix
=""
41148 if test x
$cppunit_config_exec_prefix != x
; then
41149 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41150 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41151 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41154 if test x
$cppunit_config_prefix != x
; then
41155 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41156 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41157 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41161 # Extract the first word of "cppunit-config", so it can be a program name with args.
41162 set dummy cppunit
-config; ac_word
=$2
41163 echo "$as_me:$LINENO: checking for $ac_word" >&5
41164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41165 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41166 echo $ECHO_N "(cached) $ECHO_C" >&6
41168 case $CPPUNIT_CONFIG in
41170 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41174 for as_dir
in $PATH
41177 test -z "$as_dir" && as_dir
=.
41178 for ac_exec_ext
in '' $ac_executable_extensions; do
41179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41180 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41187 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41191 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41193 if test -n "$CPPUNIT_CONFIG"; then
41194 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41195 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41197 echo "$as_me:$LINENO: result: no" >&5
41198 echo "${ECHO_T}no" >&6
41201 cppunit_version_min
=1.8.0
41203 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41204 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41206 if test "$CPPUNIT_CONFIG" = "no" ; then
41209 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41210 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41211 cppunit_version
=`$CPPUNIT_CONFIG --version`
41213 cppunit_major_version
=`echo $cppunit_version | \
41214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41215 cppunit_minor_version
=`echo $cppunit_version | \
41216 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41217 cppunit_micro_version
=`echo $cppunit_version | \
41218 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41220 cppunit_major_min
=`echo $cppunit_version_min | \
41221 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41222 cppunit_minor_min
=`echo $cppunit_version_min | \
41223 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41224 cppunit_micro_min
=`echo $cppunit_version_min | \
41225 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41227 cppunit_version_proper
=`expr \
41228 $cppunit_major_version \> $cppunit_major_min \| \
41229 $cppunit_major_version \= $cppunit_major_min \& \
41230 $cppunit_minor_version \> $cppunit_minor_min \| \
41231 $cppunit_major_version \= $cppunit_major_min \& \
41232 $cppunit_minor_version \= $cppunit_minor_min \& \
41233 $cppunit_micro_version \>= $cppunit_micro_min `
41235 if test "$cppunit_version_proper" = "1" ; then
41236 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41237 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41239 echo "$as_me:$LINENO: result: no" >&5
41240 echo "${ECHO_T}no" >&6
41245 if test "x$no_cppunit" = x
; then
41246 SUBDIRS
="$SUBDIRS tests"
41257 for subdir
in `echo $SUBDIRS`; do
41258 if test -d ${srcdir}/${subdir} ; then
41259 if test "$wxUSE_GUI" = "yes"; then
41260 if test ${subdir} = "samples"; then
41261 makefiles
="samples/Makefile.in $makefiles"
41262 for sample
in `echo $SAMPLES_SUBDIRS`; do
41263 if test -d $srcdir/samples
/$sample; then
41264 makefiles
="samples/$sample/Makefile.in $makefiles"
41267 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41269 else if test ${subdir} = "samples"; then
41270 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41271 elif test ${subdir} = "utils"; then
41272 makefiles
="utils/HelpGen/Makefile.in \
41273 utils/HelpGen/src/Makefile.in \
41274 utils/tex2rtf/Makefile.in \
41275 utils/tex2rtf/src/Makefile.in"
41276 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41280 for mkin
in $makefiles ; do
41281 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41282 ac_config_files
="$ac_config_files $mk"
41289 cat >confcache
<<\_ACEOF
41290 # This file is a shell script that caches the results of configure
41291 # tests run on this system so they can be shared between configure
41292 # scripts and configure runs, see configure's option --config-cache.
41293 # It is not useful on other systems. If it contains results you don't
41294 # want to keep, you may remove or edit it.
41296 # config.status only pays attention to the cache file if you give it
41297 # the --recheck option to rerun configure.
41299 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41300 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41301 # following values.
41305 # The following way of writing the cache mishandles newlines in values,
41306 # but we know of no workaround that is simple, portable, and efficient.
41307 # So, don't put newlines in cache variables' values.
41308 # Ultrix sh set writes to stderr and can't be redirected directly,
41309 # and sets the high bit in the cache file unless we assign to the vars.
41312 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41314 # `set' does not quote correctly, so add quotes (double-quote
41315 # substitution turns \\\\ into \\, and sed turns \\ into \).
41318 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41321 # `set' quotes correctly as required by POSIX, so do not add quotes.
41323 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41330 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41332 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41334 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41335 if test -w $cache_file; then
41336 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41337 cat confcache
>$cache_file
41339 echo "not updating unwritable cache $cache_file"
41344 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41345 # Let make expand exec_prefix.
41346 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41348 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41349 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41350 # trailing colons and then remove the whole line if VPATH becomes empty
41351 # (actually we leave an empty line to preserve line numbers).
41352 if test "x$srcdir" = x.
; then
41353 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41354 s/:*\$(srcdir):*/:/;
41355 s/:*\${srcdir}:*/:/;
41357 s/^\([^=]*=[ ]*\):*/\1/;
41363 DEFS
=-DHAVE_CONFIG_H
41367 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41368 # 1. Remove the extension, and $U if already installed.
41369 ac_i
=`echo "$ac_i" |
41370 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41372 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41373 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41375 LIBOBJS
=$ac_libobjs
41377 LTLIBOBJS
=$ac_ltlibobjs
41381 : ${CONFIG_STATUS=./config.status}
41382 ac_clean_files_save
=$ac_clean_files
41383 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41384 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41385 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41386 cat >$CONFIG_STATUS <<_ACEOF
41388 # Generated by $as_me.
41389 # Run this file to recreate the current configuration.
41390 # Compiler output produced by configure, useful for debugging
41391 # configure, is in config.log if it exists.
41394 ac_cs_recheck=false
41396 SHELL=\${CONFIG_SHELL-$SHELL}
41399 cat >>$CONFIG_STATUS <<\_ACEOF
41400 ## --------------------- ##
41401 ## M4sh Initialization. ##
41402 ## --------------------- ##
41404 # Be Bourne compatible
41405 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41408 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41409 # is contrary to our usage. Disable this feature.
41410 alias -g '${1+"$@"}'='"$@"'
41411 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41414 DUALCASE
=1; export DUALCASE
# for MKS sh
41416 # Support unset when possible.
41417 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41424 # Work around bugs in pre-3.0 UWIN ksh.
41425 $as_unset ENV MAIL MAILPATH
41432 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41433 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41434 LC_TELEPHONE LC_TIME
41436 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41437 eval $as_var=C
; export $as_var
41443 # Required to use basename.
41444 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41450 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41451 as_basename
=basename
41457 # Name of the executable.
41458 as_me
=`$as_basename "$0" ||
41459 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41460 X"$0" : 'X\(//\)$' \| \
41461 X"$0" : 'X\(/\)$' \| \
41462 . : '\(.\)' 2>/dev/null ||
41464 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41465 /^X\/\(\/\/\)$/{ s//\1/; q; }
41466 /^X\/\(\/\).*/{ s//\1/; q; }
41470 # PATH needs CR, and LINENO needs CR and PATH.
41471 # Avoid depending upon Character Ranges.
41472 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41473 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41474 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41475 as_cr_digits
='0123456789'
41476 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41478 # The user is always right.
41479 if test "${PATH_SEPARATOR+set}" != set; then
41480 echo "#! /bin/sh" >conf$$.sh
41481 echo "exit 0" >>conf$$.sh
41483 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41492 as_lineno_1
=$LINENO
41493 as_lineno_2
=$LINENO
41494 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41495 test "x$as_lineno_1" != "x$as_lineno_2" &&
41496 test "x$as_lineno_3" = "x$as_lineno_2" || {
41497 # Find who we are. Look in the path if we contain no path at all
41500 *[\\/]* ) as_myself
=$0 ;;
41501 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41502 for as_dir
in $PATH
41505 test -z "$as_dir" && as_dir
=.
41506 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41511 # We did not find ourselves, most probably we were run as `sh COMMAND'
41512 # in which case we are not to be found in the path.
41513 if test "x$as_myself" = x
; then
41516 if test ! -f "$as_myself"; then
41517 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41518 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41519 { (exit 1); exit 1; }; }
41521 case $CONFIG_SHELL in
41523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41524 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41527 test -z "$as_dir" && as_dir
=.
41528 for as_base
in sh bash ksh sh5
; do
41531 if ("$as_dir/$as_base" -c '
41532 as_lineno_1=$LINENO
41533 as_lineno_2=$LINENO
41534 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41535 test "x$as_lineno_1" != "x$as_lineno_2" &&
41536 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41537 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41538 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41539 CONFIG_SHELL
=$as_dir/$as_base
41540 export CONFIG_SHELL
41541 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41549 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41550 # uniformly replaced by the line number. The first 'sed' inserts a
41551 # line-number line before each line; the second 'sed' does the real
41552 # work. The second script uses 'N' to pair each line-number line
41553 # with the numbered line, and appends trailing '-' during
41554 # substitution so that $LINENO is not a special case at line end.
41555 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41556 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41557 sed '=' <$as_myself |
41562 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41565 s,^['$as_cr_digits']*\n,,
41566 ' >$as_me.lineno
&&
41567 chmod +x
$as_me.lineno
||
41568 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41569 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41570 { (exit 1); exit 1; }; }
41572 # Don't try to exec as it changes $[0], causing all sort of problems
41573 # (the dirname of $[0] is not the place where we might find the
41574 # original and so on. Autoconf is especially sensible to this).
41576 # Exit status is that of the last command.
41581 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41582 *c
*,-n*) ECHO_N
= ECHO_C
='
41584 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41585 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41588 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41594 rm -f conf$$ conf$$.exe conf$$.
file
41596 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41597 # We could just check for DJGPP; but this test a) works b) is more generic
41598 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41599 if test -f conf$$.exe
; then
41600 # Don't use ln at all; we don't have any links
41605 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41610 rm -f conf$$ conf$$.exe conf$$.
file
41612 if mkdir -p .
2>/dev
/null
; then
41615 test -d .
/-p && rmdir .
/-p
41619 as_executable_p
="test -f"
41621 # Sed expression to map a string onto a valid CPP name.
41622 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41624 # Sed expression to map a string onto a valid variable name.
41625 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41629 # We need space, tab and new line, in precisely that order.
41639 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41640 # report actual input values of CONFIG_FILES etc. instead of their
41641 # values after options handling. Logging --version etc. is OK.
41645 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41646 ## Running $as_me. ##
41651 This file was extended by wxWidgets $as_me 2.5.3, which was
41652 generated by GNU Autoconf 2.59. Invocation command line was
41654 CONFIG_FILES = $CONFIG_FILES
41655 CONFIG_HEADERS = $CONFIG_HEADERS
41656 CONFIG_LINKS = $CONFIG_LINKS
41657 CONFIG_COMMANDS = $CONFIG_COMMANDS
41661 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41665 # Files that config.status was made for.
41666 if test -n "$ac_config_files"; then
41667 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41670 if test -n "$ac_config_headers"; then
41671 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41674 if test -n "$ac_config_links"; then
41675 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41678 if test -n "$ac_config_commands"; then
41679 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41682 cat >>$CONFIG_STATUS <<\_ACEOF
41685 \`$as_me' instantiates files from templates according to the
41686 current configuration.
41688 Usage: $0 [OPTIONS] [FILE]...
41690 -h, --help print this help, then exit
41691 -V, --version print version number, then exit
41692 -q, --quiet do not print progress messages
41693 -d, --debug don't remove temporary files
41694 --recheck update $as_me by reconfiguring in the same conditions
41695 --file=FILE[:TEMPLATE]
41696 instantiate the configuration file FILE
41697 --header=FILE[:TEMPLATE]
41698 instantiate the configuration header FILE
41700 Configuration files:
41703 Configuration headers:
41706 Configuration commands:
41709 Report bugs to <bug-autoconf@gnu.org>."
41712 cat >>$CONFIG_STATUS <<_ACEOF
41714 wxWidgets config.status 2.5.3
41715 configured by $0, generated by GNU Autoconf 2.59,
41716 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41718 Copyright (C) 2003 Free Software Foundation, Inc.
41719 This config.status script is free software; the Free Software Foundation
41720 gives unlimited permission to copy, distribute and modify it."
41725 cat >>$CONFIG_STATUS <<\_ACEOF
41726 # If no file are specified by the user, then we need to provide default
41727 # value. By we need to know if files were specified by the user.
41733 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41734 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
41742 *) # This is not an option, so the user has probably given explicit
41745 ac_need_defaults
=false
;;
41749 # Handling of the options.
41751 cat >>$CONFIG_STATUS <<\_ACEOF
41752 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41754 --version | --vers* | -V )
41755 echo "$ac_cs_version"; exit 0 ;;
41757 # Conflict between --help and --header
41758 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41759 Try \`$0 --help' for more information." >&5
41760 echo "$as_me: error: ambiguous option: $1
41761 Try \`$0 --help' for more information." >&2;}
41762 { (exit 1); exit 1; }; };;
41763 --help | --hel | -h )
41764 echo "$ac_cs_usage"; exit 0 ;;
41765 --debug | --d* | -d )
41767 --file | --fil | --fi | --f )
41769 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
41770 ac_need_defaults
=false
;;
41771 --header | --heade | --head | --hea )
41773 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
41774 ac_need_defaults
=false
;;
41775 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41776 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41779 # This is an error.
41780 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41781 Try \`$0 --help' for more information." >&5
41782 echo "$as_me: error: unrecognized option: $1
41783 Try \`$0 --help' for more information." >&2;}
41784 { (exit 1); exit 1; }; } ;;
41786 *) ac_config_targets
="$ac_config_targets $1" ;;
41792 ac_configure_extra_args
=
41794 if $ac_cs_silent; then
41796 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41800 cat >>$CONFIG_STATUS <<_ACEOF
41801 if \$ac_cs_recheck; then
41802 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41803 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41808 cat >>$CONFIG_STATUS <<_ACEOF
41810 # INIT-COMMANDS section.
41813 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41814 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41815 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41823 cat >>$CONFIG_STATUS <<\_ACEOF
41824 for ac_config_target
in $ac_config_targets
41826 case "$ac_config_target" in
41827 # Handling of arguments.
41828 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41829 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41830 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41831 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41832 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41833 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
41834 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41835 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41836 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41837 { (exit 1); exit 1; }; };;
41841 # If the user did not use the arguments to specify the items to instantiate,
41842 # then the envvar interface is used. Set only those that are not.
41843 # We use the long form for the default assignment because of an extremely
41844 # bizarre bug on SunOS 4.1.3.
41845 if $ac_need_defaults; then
41846 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41847 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41848 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41851 # Have a temporary directory for convenience. Make it in the build tree
41852 # simply because there is no reason to put it here, and in addition,
41853 # creating and moving files from /tmp can sometimes cause problems.
41854 # Create a temporary directory, and hook for its removal unless debugging.
41857 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41858 trap '{ (exit 1); exit 1; }' 1 2 13 15
41861 # Create a (secure) tmp directory for tmp files.
41864 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41865 test -n "$tmp" && test -d "$tmp"
41868 tmp
=.
/confstat$$
-$RANDOM
41869 (umask 077 && mkdir $tmp)
41872 echo "$me: cannot create a temporary directory in ." >&2
41873 { (exit 1); exit 1; }
41878 cat >>$CONFIG_STATUS <<_ACEOF
41881 # CONFIG_FILES section.
41884 # No need to generate the scripts if there are no CONFIG_FILES.
41885 # This happens for instance when ./config.status config.h
41886 if test -n "\$CONFIG_FILES"; then
41887 # Protect against being on the right side of a sed subst in config.status.
41888 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41889 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41890 s,@SHELL@,$SHELL,;t t
41891 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41892 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41893 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41894 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41895 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41896 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41897 s,@exec_prefix@,$exec_prefix,;t t
41898 s,@prefix@,$prefix,;t t
41899 s,@program_transform_name@,$program_transform_name,;t t
41900 s,@bindir@,$bindir,;t t
41901 s,@sbindir@,$sbindir,;t t
41902 s,@libexecdir@,$libexecdir,;t t
41903 s,@datadir@,$datadir,;t t
41904 s,@sysconfdir@,$sysconfdir,;t t
41905 s,@sharedstatedir@,$sharedstatedir,;t t
41906 s,@localstatedir@,$localstatedir,;t t
41907 s,@libdir@,$libdir,;t t
41908 s,@includedir@,$includedir,;t t
41909 s,@oldincludedir@,$oldincludedir,;t t
41910 s,@infodir@,$infodir,;t t
41911 s,@mandir@,$mandir,;t t
41912 s,@build_alias@,$build_alias,;t t
41913 s,@host_alias@,$host_alias,;t t
41914 s,@target_alias@,$target_alias,;t t
41915 s,@DEFS@,$DEFS,;t t
41916 s,@ECHO_C@,$ECHO_C,;t t
41917 s,@ECHO_N@,$ECHO_N,;t t
41918 s,@ECHO_T@,$ECHO_T,;t t
41919 s,@LIBS@,$LIBS,;t t
41920 s,@build@,$build,;t t
41921 s,@build_cpu@,$build_cpu,;t t
41922 s,@build_vendor@,$build_vendor,;t t
41923 s,@build_os@,$build_os,;t t
41924 s,@host@,$host,;t t
41925 s,@host_cpu@,$host_cpu,;t t
41926 s,@host_vendor@,$host_vendor,;t t
41927 s,@host_os@,$host_os,;t t
41928 s,@target@,$target,;t t
41929 s,@target_cpu@,$target_cpu,;t t
41930 s,@target_vendor@,$target_vendor,;t t
41931 s,@target_os@,$target_os,;t t
41933 s,@CFLAGS@,$CFLAGS,;t t
41934 s,@LDFLAGS@,$LDFLAGS,;t t
41935 s,@CPPFLAGS@,$CPPFLAGS,;t t
41936 s,@ac_ct_CC@,$ac_ct_CC,;t t
41937 s,@EXEEXT@,$EXEEXT,;t t
41938 s,@OBJEXT@,$OBJEXT,;t t
41940 s,@EGREP@,$EGREP,;t t
41942 s,@CXXFLAGS@,$CXXFLAGS,;t t
41943 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41944 s,@RANLIB@,$RANLIB,;t t
41945 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41947 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41948 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41949 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41950 s,@STRIP@,$STRIP,;t t
41951 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41952 s,@LN_S@,$LN_S,;t t
41953 s,@CXXCPP@,$CXXCPP,;t t
41954 s,@subdirs@,$subdirs,;t t
41955 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41956 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41957 s,@GTK_LIBS@,$GTK_LIBS,;t t
41958 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41959 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41960 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41961 s,@X_CFLAGS@,$X_CFLAGS,;t t
41962 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41963 s,@X_LIBS@,$X_LIBS,;t t
41964 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41965 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41966 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41967 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41968 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41969 s,@RESCOMP@,$RESCOMP,;t t
41970 s,@DEREZ@,$DEREZ,;t t
41971 s,@SETFILE@,$SETFILE,;t t
41972 s,@LIBICONV@,$LIBICONV,;t t
41973 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
41974 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
41975 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
41976 s,@SDL_LIBS@,$SDL_LIBS,;t t
41977 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
41978 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
41979 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
41980 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
41981 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
41982 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
41983 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
41984 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
41985 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
41986 s,@VENDOR@,$VENDOR,;t t
41987 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
41988 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
41989 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
41990 s,@WXUNIV@,$WXUNIV,;t t
41991 s,@MONOLITHIC@,$MONOLITHIC,;t t
41992 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
41993 s,@EXTRALIBS@,$EXTRALIBS,;t t
41994 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
41995 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
41996 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
41997 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
41998 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
41999 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42000 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42001 s,@UNICODE@,$UNICODE,;t t
42002 s,@BUILD@,$BUILD,;t t
42003 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42004 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42005 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42006 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42007 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42008 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42009 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42010 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42011 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42012 s,@SET_MAKE@,$SET_MAKE,;t t
42013 s,@MAKE_SET@,$MAKE_SET,;t t
42014 s,@ac_ct_AR@,$ac_ct_AR,;t t
42015 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42017 s,@ac_ct_NM@,$ac_ct_NM,;t t
42018 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42019 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42020 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42021 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42022 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42023 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42024 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42025 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42026 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42027 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42028 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42029 s,@LIBPREFIX@,$LIBPREFIX,;t t
42030 s,@LIBEXT@,$LIBEXT,;t t
42031 s,@DLLPREFIX@,$DLLPREFIX,;t t
42032 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42033 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42034 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42035 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42036 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42037 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42038 s,@PIC_FLAG@,$PIC_FLAG,;t t
42039 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42040 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42041 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42042 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42043 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42044 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42045 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42046 s,@GCC_PCH@,$GCC_PCH,;t t
42047 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42048 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42049 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42050 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42051 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42052 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42053 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42054 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42055 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42056 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42057 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42058 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42059 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42060 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42061 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42062 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42063 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42064 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42065 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
42066 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42067 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42068 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42069 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42070 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42071 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
42072 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42073 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42074 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42075 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42076 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42077 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42078 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42079 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42080 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42081 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42082 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42083 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42084 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42085 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42086 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42087 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42088 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42089 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42090 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42091 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42092 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42093 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42094 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42095 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42096 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42097 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42098 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42099 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42100 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42101 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42102 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42103 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42104 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42105 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42106 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42107 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42108 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42109 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42110 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42111 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42112 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42113 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42114 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42115 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42116 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42117 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42118 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42119 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42120 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42121 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42122 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42123 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42124 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42125 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42126 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42127 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42128 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42129 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42130 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42131 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42132 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42133 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42134 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42135 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42136 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42137 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42138 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42139 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42140 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42141 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42142 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42143 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42144 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42145 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42146 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42147 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42148 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42149 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42150 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42151 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42152 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42153 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42154 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42155 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42156 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42157 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42158 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42159 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42160 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42161 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42162 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42163 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42164 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42165 s,@SHARED@,$SHARED,;t t
42166 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42167 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42168 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42169 s,@USE_GUI@,$USE_GUI,;t t
42170 s,@AFMINSTALL@,$AFMINSTALL,;t t
42171 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42172 s,@TOOLKIT@,$TOOLKIT,;t t
42173 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42174 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42175 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42176 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42177 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42178 s,@cross_compiling@,$cross_compiling,;t t
42179 s,@WIDGET_SET@,$WIDGET_SET,;t t
42180 s,@WX_RELEASE@,$WX_RELEASE,;t t
42181 s,@WX_VERSION@,$WX_VERSION,;t t
42182 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42183 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42184 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42185 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42186 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42187 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42188 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42189 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42190 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42191 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42192 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42193 s,@EXE_LINKER@,$EXE_LINKER,;t t
42194 s,@GUIDIST@,$GUIDIST,;t t
42195 s,@DISTDIR@,$DISTDIR,;t t
42196 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42197 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42198 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42199 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42200 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42201 s,@RESFLAGS@,$RESFLAGS,;t t
42202 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42203 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42204 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42205 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42206 s,@MACRESCOMP@,$MACRESCOMP,;t t
42207 s,@MACSETFILE@,$MACSETFILE,;t t
42208 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42210 s,@DLLTOOL@,$DLLTOOL,;t t
42211 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42212 s,@LIBOBJS@,$LIBOBJS,;t t
42213 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42218 cat >>$CONFIG_STATUS <<\_ACEOF
42219 # Split the substitutions into bite-sized pieces for seds with
42220 # small command number limits, like on Digital OSF/1 and HP-UX.
42221 ac_max_sed_lines
=48
42222 ac_sed_frag
=1 # Number of current file.
42223 ac_beg
=1 # First line for current file.
42224 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42227 while $ac_more_lines; do
42228 if test $ac_beg -gt 1; then
42229 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42231 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42233 if test ! -s $tmp/subs.frag
; then
42234 ac_more_lines
=false
42236 # The purpose of the label and of the branching condition is to
42237 # speed up the sed processing (if there are no `@' at all, there
42238 # is no need to browse any of the substitutions).
42239 # These are the two extra sed commands mentioned above.
42241 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42242 if test -z "$ac_sed_cmds"; then
42243 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42245 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42247 ac_sed_frag
=`expr $ac_sed_frag + 1`
42249 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42252 if test -z "$ac_sed_cmds"; then
42255 fi # test -n "$CONFIG_FILES"
42258 cat >>$CONFIG_STATUS <<\_ACEOF
42259 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42260 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42262 - | *:- | *:-:* ) # input from stdin
42264 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42265 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42266 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42267 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42268 * ) ac_file_in
=$ac_file.
in ;;
42271 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42272 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42273 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42274 X"$ac_file" : 'X\(//\)[^/]' \| \
42275 X"$ac_file" : 'X\(//\)$' \| \
42276 X"$ac_file" : 'X\(/\)' \| \
42277 . : '\(.\)' 2>/dev/null ||
42279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42280 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42281 /^X\(\/\/\)$/{ s//\1/; q; }
42282 /^X\(\/\).*/{ s//\1/; q; }
42284 { if $as_mkdir_p; then
42289 while test ! -d "$as_dir"; do
42290 as_dirs
="$as_dir $as_dirs"
42291 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42293 X"$as_dir" : 'X\(//\)[^/]' \| \
42294 X"$as_dir" : 'X\(//\)$' \| \
42295 X"$as_dir" : 'X\(/\)' \| \
42296 . : '\(.\)' 2>/dev/null ||
42298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42299 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42300 /^X\(\/\/\)$/{ s//\1/; q; }
42301 /^X\(\/\).*/{ s//\1/; q; }
42304 test ! -n "$as_dirs" || mkdir $as_dirs
42305 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42306 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42307 { (exit 1); exit 1; }; }; }
42311 if test "$ac_dir" != .
; then
42312 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42313 # A "../" for each directory in $ac_dir_suffix.
42314 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42316 ac_dir_suffix
= ac_top_builddir
=
42320 .
) # No --srcdir option. We are building in place.
42322 if test -z "$ac_top_builddir"; then
42325 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42327 [\\/]* | ?
:[\\/]* ) # Absolute path.
42328 ac_srcdir
=$srcdir$ac_dir_suffix;
42329 ac_top_srcdir
=$srcdir ;;
42330 *) # Relative path.
42331 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42332 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42335 # Do not use `cd foo && pwd` to compute absolute paths, because
42336 # the directories may not exist.
42338 .
) ac_abs_builddir
="$ac_dir";;
42341 .
) ac_abs_builddir
=`pwd`;;
42342 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42343 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42346 case $ac_abs_builddir in
42347 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42349 case ${ac_top_builddir}.
in
42350 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42351 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42352 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42355 case $ac_abs_builddir in
42356 .
) ac_abs_srcdir
=$ac_srcdir;;
42359 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42360 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42361 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42364 case $ac_abs_builddir in
42365 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42367 case $ac_top_srcdir in
42368 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42369 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42370 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42376 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42377 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42380 # Let's still pretend it is `configure' which instantiates (i.e., don't
42381 # use $as_me), people would be surprised to read:
42382 # /* config.h. Generated by config.status. */
42383 if test x
"$ac_file" = x
-; then
42386 configure_input
="$ac_file. "
42388 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42389 sed 's,.*/,,'` by configure."
42391 # First look for the input files in the build tree, otherwise in the
42393 ac_file_inputs
=`IFS=:
42394 for f in $ac_file_in; do
42396 -) echo $tmp/stdin ;;
42398 # Absolute (can't be DOS-style, as IFS=:)
42399 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42400 echo "$as_me: error: cannot find input file: $f" >&2;}
42401 { (exit 1); exit 1; }; }
42404 if test -f "$f"; then
42407 elif test -f "$srcdir/$f"; then
42412 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42413 echo "$as_me: error: cannot find input file: $f" >&2;}
42414 { (exit 1); exit 1; }; }
42417 done` || { (exit 1); exit 1; }
42419 if test x
"$ac_file" != x
-; then
42420 { echo "$as_me:$LINENO: creating $ac_file" >&5
42421 echo "$as_me: creating $ac_file" >&6;}
42425 cat >>$CONFIG_STATUS <<_ACEOF
42429 cat >>$CONFIG_STATUS <<\_ACEOF
42431 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42432 s
,@configure_input@
,$configure_input,;t t
42433 s
,@srcdir@
,$ac_srcdir,;t t
42434 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42435 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42436 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42437 s
,@builddir@
,$ac_builddir,;t t
42438 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42439 s
,@top_builddir@
,$ac_top_builddir,;t t
42440 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42441 s
,@INSTALL@
,$ac_INSTALL,;t t
42442 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42444 if test x"$ac_file" != x-; then
42445 mv $tmp/out $ac_file
42451 # Run the commands associated with the file.
42453 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42454 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42458 cat >>$CONFIG_STATUS <<\_ACEOF
42461 # CONFIG_HEADER section.
42464 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42465 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42467 # ac_d sets the value in "#define NAME VALUE" lines.
42468 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42469 ac_dB
='[ ].*$,\1#\2'
42472 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42473 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42474 ac_uB
='$,\1#\2define\3'
42478 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42479 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42481 - | *:- | *:-:* ) # input from stdin
42483 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42484 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42485 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42486 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42487 * ) ac_file_in
=$ac_file.
in ;;
42490 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42491 echo "$as_me: creating $ac_file" >&6;}
42493 # First look for the input files in the build tree, otherwise in the
42495 ac_file_inputs
=`IFS=:
42496 for f in $ac_file_in; do
42498 -) echo $tmp/stdin ;;
42500 # Absolute (can't be DOS-style, as IFS=:)
42501 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42502 echo "$as_me: error: cannot find input file: $f" >&2;}
42503 { (exit 1); exit 1; }; }
42504 # Do quote $f, to prevent DOS paths from being IFS'd.
42507 if test -f "$f"; then
42510 elif test -f "$srcdir/$f"; then
42515 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42516 echo "$as_me: error: cannot find input file: $f" >&2;}
42517 { (exit 1); exit 1; }; }
42520 done` || { (exit 1); exit 1; }
42521 # Remove the trailing spaces.
42522 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42526 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42527 # `conftest.undefs', that substitutes the proper values into
42528 # config.h.in to produce config.h. The first handles `#define'
42529 # templates, and the second `#undef' templates.
42530 # And first: Protect against being on the right side of a sed subst in
42531 # config.status. Protect against being in an unquoted here document
42532 # in config.status.
42533 rm -f conftest.defines conftest.undefs
42534 # Using a here document instead of a string reduces the quoting nightmare.
42535 # Putting comments in sed scripts is not portable.
42537 # `end' is used to avoid that the second main sed command (meant for
42538 # 0-ary CPP macros) applies to n-ary macro definitions.
42539 # See the Autoconf documentation for `clear'.
42540 cat >confdef2sed.
sed <<\_ACEOF
42545 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42547 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42550 # If some macros were called several times there might be several times
42551 # the same #defines, which is useless. Nevertheless, we may not want to
42552 # sort them, since we want the *last* AC-DEFINE to be honored.
42553 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42554 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42555 rm -f confdef2sed.sed
42557 # This sed command replaces #undef with comments. This is necessary, for
42558 # example, in the case of _POSIX_SOURCE, which is predefined and required
42559 # on some systems where configure will not decide to define it.
42560 cat >>conftest.undefs <<\_ACEOF
42561 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42564 # Break up conftest.defines because some shells have a limit on the size
42565 # of here documents, and old seds have small limits too (100 cmds).
42566 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42567 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42568 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42569 echo ' :' >>$CONFIG_STATUS
42570 rm -f conftest.tail
42571 while grep . conftest.defines >/dev/null
42573 # Write a limited-size here document to $tmp/defines.sed.
42574 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42575 # Speed up: don't consider the non `#define' lines.
42576 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42577 # Work around the forget-to-reset-the-flag bug.
42578 echo 't clr' >>$CONFIG_STATUS
42579 echo ': clr' >>$CONFIG_STATUS
42580 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42582 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42584 mv $tmp/out $tmp/in
42586 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42587 rm -f conftest.defines
42588 mv conftest.
tail conftest.defines
42590 rm -f conftest.defines
42591 echo ' fi # grep' >>$CONFIG_STATUS
42592 echo >>$CONFIG_STATUS
42594 # Break up conftest.undefs because some shells have a limit on the size
42595 # of here documents, and old seds have small limits too (100 cmds).
42596 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42597 rm -f conftest.
tail
42598 while grep . conftest.undefs
>/dev
/null
42600 # Write a limited-size here document to $tmp/undefs.sed.
42601 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42602 # Speed up: don't consider the non
`#undef'
42603 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42604 # Work around the forget-to-reset-the-flag bug.
42605 echo 't clr' >>$CONFIG_STATUS
42606 echo ': clr' >>$CONFIG_STATUS
42607 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42609 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42611 mv $tmp/out $tmp/in
42613 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42614 rm -f conftest.undefs
42615 mv conftest.tail conftest.undefs
42617 rm -f conftest.undefs
42619 cat >>$CONFIG_STATUS <<\_ACEOF
42620 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42621 # use $as_me), people would be surprised to read:
42622 # /* config.h. Generated by config.status. */
42623 if test x
"$ac_file" = x
-; then
42624 echo "/* Generated by configure. */" >$tmp/config.h
42626 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42628 cat $tmp/in >>$tmp/config.h
42630 if test x
"$ac_file" != x
-; then
42631 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42632 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42633 echo "$as_me: $ac_file is unchanged" >&6;}
42635 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42636 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42637 X"$ac_file" : 'X\(//\)[^/]' \| \
42638 X"$ac_file" : 'X\(//\)$' \| \
42639 X"$ac_file" : 'X\(/\)' \| \
42640 . : '\(.\)' 2>/dev/null ||
42642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42643 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42644 /^X\(\/\/\)$/{ s//\1/; q; }
42645 /^X\(\/\).*/{ s//\1/; q; }
42647 { if $as_mkdir_p; then
42652 while test ! -d "$as_dir"; do
42653 as_dirs
="$as_dir $as_dirs"
42654 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42656 X"$as_dir" : 'X\(//\)[^/]' \| \
42657 X"$as_dir" : 'X\(//\)$' \| \
42658 X"$as_dir" : 'X\(/\)' \| \
42659 . : '\(.\)' 2>/dev/null ||
42661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42663 /^X\(\/\/\)$/{ s//\1/; q; }
42664 /^X\(\/\).*/{ s//\1/; q; }
42667 test ! -n "$as_dirs" || mkdir $as_dirs
42668 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42669 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42670 { (exit 1); exit 1; }; }; }
42673 mv $tmp/config.h
$ac_file
42677 rm -f $tmp/config.h
42681 cat >>$CONFIG_STATUS <<\_ACEOF
42684 # CONFIG_COMMANDS section.
42686 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42687 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42688 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42689 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42690 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42691 X"$ac_dest" : 'X\(//\)[^/]' \| \
42692 X"$ac_dest" : 'X\(//\)$' \| \
42693 X"$ac_dest" : 'X\(/\)' \| \
42694 . : '\(.\)' 2>/dev/null ||
42696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42697 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42698 /^X\(\/\/\)$/{ s//\1/; q; }
42699 /^X\(\/\).*/{ s//\1/; q; }
42701 { if $as_mkdir_p; then
42706 while test ! -d "$as_dir"; do
42707 as_dirs
="$as_dir $as_dirs"
42708 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42709 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42710 X"$as_dir" : 'X\(//\)[^/]' \| \
42711 X"$as_dir" : 'X\(//\)$' \| \
42712 X"$as_dir" : 'X\(/\)' \| \
42713 . : '\(.\)' 2>/dev/null ||
42715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42717 /^X\(\/\/\)$/{ s//\1/; q; }
42718 /^X\(\/\).*/{ s//\1/; q; }
42721 test ! -n "$as_dirs" || mkdir $as_dirs
42722 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42723 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42724 { (exit 1); exit 1; }; }; }
42728 if test "$ac_dir" != .
; then
42729 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42730 # A "../" for each directory in $ac_dir_suffix.
42731 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42733 ac_dir_suffix
= ac_top_builddir
=
42737 .
) # No --srcdir option. We are building in place.
42739 if test -z "$ac_top_builddir"; then
42742 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42744 [\\/]* | ?
:[\\/]* ) # Absolute path.
42745 ac_srcdir
=$srcdir$ac_dir_suffix;
42746 ac_top_srcdir
=$srcdir ;;
42747 *) # Relative path.
42748 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42749 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42752 # Do not use `cd foo && pwd` to compute absolute paths, because
42753 # the directories may not exist.
42755 .
) ac_abs_builddir
="$ac_dir";;
42758 .
) ac_abs_builddir
=`pwd`;;
42759 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42760 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42763 case $ac_abs_builddir in
42764 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42766 case ${ac_top_builddir}.
in
42767 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42768 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42769 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42772 case $ac_abs_builddir in
42773 .
) ac_abs_srcdir
=$ac_srcdir;;
42776 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42777 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42778 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42781 case $ac_abs_builddir in
42782 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42784 case $ac_top_srcdir in
42785 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42786 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42787 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42792 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42793 echo "$as_me: executing $ac_dest commands" >&6;}
42795 wx
-config ) rm -f wx
-config
42796 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42802 cat >>$CONFIG_STATUS <<\_ACEOF
42804 { (exit 0); exit 0; }
42806 chmod +x
$CONFIG_STATUS
42807 ac_clean_files
=$ac_clean_files_save
42810 # configure is writing to config.log, and then calls config.status.
42811 # config.status does its own redirection, appending to config.log.
42812 # Unfortunately, on DOS this fails, as config.log is still kept open
42813 # by configure, so config.status won't be able to write to it; its
42814 # output is simply discarded. So we exec the FD to /dev/null,
42815 # effectively closing config.log, so it can be properly (re)opened and
42816 # appended to by config.status. When coming back to configure, we
42817 # need to make the FD available again.
42818 if test "$no_create" != yes; then
42820 ac_config_status_args
=
42821 test "$silent" = yes &&
42822 ac_config_status_args
="$ac_config_status_args --quiet"
42824 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42826 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42827 # would make configure fail if this is the last instruction.
42828 $ac_cs_success || { (exit 1); exit 1; }
42832 # CONFIG_SUBDIRS section.
42834 if test "$no_recursion" != yes; then
42836 # Remove --cache-file and --srcdir arguments so they do not pile up.
42837 ac_sub_configure_args
=
42839 for ac_arg
in $ac_configure_args; do
42840 if test -n "$ac_prev"; then
42845 -cache-file | --cache-file | --cache-fil | --cache-fi \
42846 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42847 ac_prev
=cache_file
;;
42848 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42849 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42852 --config-cache | -C)
42854 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42856 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42858 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42860 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42862 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
42866 # Always prepend --prefix to ensure using the same prefix
42867 # in subdir configurations.
42868 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
42871 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42873 # Do not complain, so a configure script can configure whichever
42874 # parts of a large source tree are present.
42875 test -d $srcdir/$ac_dir || continue
42877 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42878 echo "$as_me: configuring in $ac_dir" >&6;}
42879 { if $as_mkdir_p; then
42884 while test ! -d "$as_dir"; do
42885 as_dirs
="$as_dir $as_dirs"
42886 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42887 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42888 X"$as_dir" : 'X\(//\)[^/]' \| \
42889 X"$as_dir" : 'X\(//\)$' \| \
42890 X"$as_dir" : 'X\(/\)' \| \
42891 . : '\(.\)' 2>/dev/null ||
42893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42894 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42895 /^X\(\/\/\)$/{ s//\1/; q; }
42896 /^X\(\/\).*/{ s//\1/; q; }
42899 test ! -n "$as_dirs" || mkdir $as_dirs
42900 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42901 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42902 { (exit 1); exit 1; }; }; }
42906 if test "$ac_dir" != .
; then
42907 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42908 # A "../" for each directory in $ac_dir_suffix.
42909 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42911 ac_dir_suffix
= ac_top_builddir
=
42915 .
) # No --srcdir option. We are building in place.
42917 if test -z "$ac_top_builddir"; then
42920 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42922 [\\/]* | ?
:[\\/]* ) # Absolute path.
42923 ac_srcdir
=$srcdir$ac_dir_suffix;
42924 ac_top_srcdir
=$srcdir ;;
42925 *) # Relative path.
42926 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42927 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42930 # Do not use `cd foo && pwd` to compute absolute paths, because
42931 # the directories may not exist.
42933 .
) ac_abs_builddir
="$ac_dir";;
42936 .
) ac_abs_builddir
=`pwd`;;
42937 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42938 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42941 case $ac_abs_builddir in
42942 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42944 case ${ac_top_builddir}.
in
42945 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42946 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42947 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42950 case $ac_abs_builddir in
42951 .
) ac_abs_srcdir
=$ac_srcdir;;
42954 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42955 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42956 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42959 case $ac_abs_builddir in
42960 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42962 case $ac_top_srcdir in
42963 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42964 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42965 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42972 # Check for guested configure; otherwise get Cygnus style configure.
42973 if test -f $ac_srcdir/configure.gnu
; then
42974 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
42975 elif test -f $ac_srcdir/configure
; then
42976 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
42977 elif test -f $ac_srcdir/configure.
in; then
42978 ac_sub_configure
=$ac_configure
42980 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
42981 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42985 # The recursion is here.
42986 if test -n "$ac_sub_configure"; then
42987 # Make the cache file name correct relative to the subdirectory.
42988 case $cache_file in
42989 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42990 *) # Relative path.
42991 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
42994 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42995 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42996 # The eval makes quoting arguments work.
42997 eval $ac_sub_configure $ac_sub_configure_args \
42998 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
42999 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43000 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43001 { (exit 1); exit 1; }; }
43010 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43012 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43013 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43015 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43016 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43017 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43019 echo " What level of wxWidgets compatibility should be enabled?"
43020 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43021 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43023 echo " Which libraries should wxWidgets use?"
43024 echo " jpeg ${wxUSE_LIBJPEG-none}"
43025 echo " png ${wxUSE_LIBPNG-none}"
43026 echo " regex ${wxUSE_REGEX}"
43027 echo " tiff ${wxUSE_LIBTIFF-none}"
43028 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43029 echo " xpm ${wxUSE_LIBXPM-none}"
43031 echo " zlib ${wxUSE_ZLIB}"
43032 echo " odbc ${wxUSE_ODBC}"
43033 echo " expat ${wxUSE_EXPAT}"
43034 echo " libmspack ${wxUSE_LIBMSPACK}"
43035 echo " sdl ${wxUSE_LIBSDL}"